@fanfare-io/fanfare-sdk-solid 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +632 -630
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createComponent as n, Dynamic as Qr, spread as he, mergeProps as ie, memo as Q, insert as i, effect as A, setAttribute as H, className as M, template as u, use as ft, setStyleProperty as bt, delegateEvents as Et } from "solid-js/web";
2
- import { createContext as Vt, useContext as Dt, createMemo as d, createSignal as D, createEffect as te, onCleanup as Se, untrack as Ye, Show as x, splitProps as Z, children as Xr, Switch as Re, Match as J, Index as st, onMount as en, For as At, on as xt } from "solid-js";
3
- import { createTranslateFunction as wr, en as tn, getLocaleMessages as rn, mergeTranslations as Kt, isRTLLocale as nn, resolveLocaleMapValue as an, normalizeLocale as on } from "@fanfare-io/fanfare-sdk-i18n";
2
+ import { createContext as Vt, useContext as Dt, createMemo as d, createSignal as D, createEffect as te, onCleanup as Se, untrack as Ye, Show as y, splitProps as Z, children as Xr, Switch as Re, Match as J, Index as st, onMount as en, For as At, on as xt } from "solid-js";
3
+ import { createTranslateFunction as br, en as tn, getLocaleMessages as rn, mergeTranslations as Ht, isRTLLocale as nn, resolveLocaleMapValue as an, normalizeLocale as on } from "@fanfare-io/fanfare-sdk-i18n";
4
4
  import { RTL_LOCALES as $f, isRTLLocale as Cf } from "@fanfare-io/fanfare-sdk-i18n";
5
5
  import { customElement as fn } from "solid-element";
6
6
  import sn from "@fanfare-io/fanfare-sdk-core";
@@ -13,18 +13,18 @@ import { atom as Pe } from "nanostores";
13
13
  import * as at from "valibot";
14
14
  import hn from "canvas-confetti";
15
15
  import { bucketI18nKey as mn, bucketFromEtaSeconds as vn } from "@fanfare-io/fanfare-sdk-core/queues";
16
- const br = tn, pn = wr(br, "en"), wn = {
16
+ const xr = tn, pn = br(xr, "en"), wn = {
17
17
  locale: () => "en",
18
- messages: () => br,
18
+ messages: () => xr,
19
19
  isRoot: !0,
20
20
  t: pn,
21
21
  dir: () => "ltr",
22
22
  experienceTranslations: () => null,
23
23
  setExperienceTranslations: () => {
24
24
  }
25
- }, xr = Vt(wn);
25
+ }, yr = Vt(wn);
26
26
  function Nt() {
27
- return Dt(xr);
27
+ return Dt(yr);
28
28
  }
29
29
  function fe() {
30
30
  const {
@@ -40,17 +40,17 @@ function fe() {
40
40
  }
41
41
  function bn(e, t, r, a, o) {
42
42
  const f = d(() => t() ?? e.locale()), s = d(() => {
43
- const y = t();
44
- return y && y !== e.locale() ? rn(y) : e.messages();
43
+ const x = t();
44
+ return x && x !== e.locale() ? rn(x) : e.messages();
45
45
  }), l = d(() => a() ?? e.experienceTranslations()), c = d(() => {
46
- const y = Kt(s(), l() ?? void 0);
47
- return Kt(y, r());
48
- }), v = d(() => wr(c(), f())), w = d(() => nn(f()) ? "rtl" : "ltr");
46
+ const x = Ht(s(), l() ?? void 0);
47
+ return Ht(x, r());
48
+ }), v = d(() => br(c(), f())), w = d(() => nn(f()) ? "rtl" : "ltr");
49
49
  return {
50
50
  locale: f,
51
51
  messages: c,
52
52
  isRoot: !1,
53
- t: (...y) => v()(...y),
53
+ t: (...x) => v()(...x),
54
54
  dir: w,
55
55
  experienceTranslations: l,
56
56
  setExperienceTranslations: o
@@ -58,16 +58,16 @@ function bn(e, t, r, a, o) {
58
58
  }
59
59
  function xn(e) {
60
60
  const t = Nt(), [r, a] = D(null), o = bn(t, () => e.locale, () => e.translations, r, a);
61
- return n(xr.Provider, {
61
+ return n(yr.Provider, {
62
62
  value: o,
63
63
  get children() {
64
64
  return e.children;
65
65
  }
66
66
  });
67
67
  }
68
- const yr = Vt();
68
+ const kr = Vt();
69
69
  function yn(e) {
70
- return n(yr.Provider, {
70
+ return n(kr.Provider, {
71
71
  get value() {
72
72
  return e.sdk;
73
73
  },
@@ -87,7 +87,7 @@ function yn(e) {
87
87
  });
88
88
  }
89
89
  function ct() {
90
- const e = Dt(yr);
90
+ const e = Dt(kr);
91
91
  if (!e)
92
92
  throw new Error("useFanfare must be used within FanfareProvider");
93
93
  return e;
@@ -128,14 +128,14 @@ function kn(e) {
128
128
  return typeof e == "function" ? e : () => e;
129
129
  }
130
130
  function _n(e, t) {
131
- const r = ct(), { locale: a, setExperienceTranslations: o } = Nt(), f = kn(e), [s, l] = D(null), [c, v] = D(null), [w, b] = D(null), [y, _] = D(null);
131
+ const r = ct(), { locale: a, setExperienceTranslations: o } = Nt(), f = kn(e), [s, l] = D(null), [c, v] = D(null), [w, b] = D(null), [x, _] = D(null);
132
132
  te(() => {
133
- const T = f();
134
- if (!T) {
133
+ const I = f();
134
+ if (!I) {
135
135
  l(null), v(null), b(null), _(null);
136
136
  return;
137
137
  }
138
- const m = r.journeys.get(T);
138
+ const m = r.journeys.get(I);
139
139
  l(m), v(m.snapshot$.get()), b(m.view$.get());
140
140
  const h = m.snapshot$.listen(v), k = m.view$.listen(b);
141
141
  Se(() => {
@@ -156,25 +156,25 @@ function _n(e, t) {
156
156
  m = !0, o(null);
157
157
  });
158
158
  });
159
- const V = async (T) => {
159
+ const V = async (I) => {
160
160
  const m = f();
161
161
  if (!m)
162
162
  throw new Error("experienceId is required to start an experience journey");
163
163
  const h = s(), k = h ?? r.journeys.get(m);
164
164
  h || (l(k), v(k.snapshot$.get()), b(k.view$.get())), _(null);
165
165
  const z = {
166
- accessCode: Ke(T?.accessCode) ?? Ke(t?.accessCode),
167
- autoEnterWaitlist: Ke(T?.autoEnterWaitlist) ?? Ke(t?.autoEnterWaitlist)
166
+ accessCode: Ke(I?.accessCode) ?? Ke(t?.accessCode),
167
+ autoEnterWaitlist: Ke(I?.autoEnterWaitlist) ?? Ke(t?.autoEnterWaitlist)
168
168
  };
169
169
  try {
170
170
  const C = k.view$.get();
171
171
  if (C.journeyStage === "ready") {
172
- const I = z.accessCode ? { accessCode: z.accessCode } : void 0;
173
- await C.start(I);
172
+ const L = z.accessCode ? { accessCode: z.accessCode } : void 0;
173
+ await C.start(L);
174
174
  }
175
175
  if (z.autoEnterWaitlist) {
176
- const I = k.view$.get();
177
- I.journeyStage === "routed" && I.sequence.phase === "scheduled" && I.sequence.waitlist?.status === "not_waitlisted" && await I.sequence.waitlist.join();
176
+ const L = k.view$.get();
177
+ L.journeyStage === "routed" && L.sequence.phase === "scheduled" && L.waitlist?.status === "not_waitlisted" && await L.waitlist.join();
178
178
  }
179
179
  return k.view$.get();
180
180
  } catch (C) {
@@ -187,7 +187,7 @@ function _n(e, t) {
187
187
  journey: s,
188
188
  view: w,
189
189
  snapshot: c,
190
- error: y,
190
+ error: x,
191
191
  start: V
192
192
  };
193
193
  }
@@ -210,9 +210,9 @@ const $n = {
210
210
  theme: () => un,
211
211
  variant: () => "default",
212
212
  isRoot: !0
213
- }, kr = Vt($n);
214
- function _r() {
215
- return Dt(kr);
213
+ }, _r = Vt($n);
214
+ function $r() {
215
+ return Dt(_r);
216
216
  }
217
217
  function Cn(e, t, r) {
218
218
  const a = d(() => {
@@ -299,11 +299,11 @@ function En(e) {
299
299
  return e.fontFamily !== void 0 && (t[ge.fontFamily] = e.fontFamily, e.fontHeading === void 0 && (t[ge.fontHeading] = e.fontFamily)), e.fontHeading !== void 0 && (t[ge.fontHeading] = e.fontHeading), t;
300
300
  }
301
301
  function yt(e) {
302
- const t = _r(), r = Cn(t, () => e.theme, () => e.variant), a = d(() => En(e.theme ?? {})), o = () => e.theme !== void 0 || e.variant !== void 0 || t.isRoot;
303
- return n(kr.Provider, {
302
+ const t = $r(), r = Cn(t, () => e.theme, () => e.variant), a = d(() => En(e.theme ?? {})), o = () => e.theme !== void 0 || e.variant !== void 0 || t.isRoot;
303
+ return n(_r.Provider, {
304
304
  value: r,
305
305
  get children() {
306
- return n(x, {
306
+ return n(y, {
307
307
  get when() {
308
308
  return o();
309
309
  },
@@ -335,10 +335,10 @@ function yt(e) {
335
335
  });
336
336
  }
337
337
  function $e() {
338
- return _r().variant;
338
+ return $r().variant;
339
339
  }
340
- var Ht = /* @__PURE__ */ u('<span data-slot=input-error class="ff:text-danger ff:pointer-events-none ff:absolute ff:right-2 ff:top-1/2 ff:z-10 ff:-translate-y-1/2 ff:select-none ff:text-xs"role=alert>'), Gt = /* @__PURE__ */ u('<p data-slot=input-error class="ff:text-danger ff:mt-1 ff:text-xs"role=alert>'), Vn = /* @__PURE__ */ u('<div data-slot=input-wrapper data-inline-label=true class="ff:group ff:relative"><input data-slot=input-field><label data-slot=input-label>'), Dn = /* @__PURE__ */ u("<label data-slot=input-label>"), An = /* @__PURE__ */ u("<div data-slot=input-wrapper class=ff:relative><div class=ff:relative><input data-slot=input-field>");
341
- const Jt = ["default", "rounded"], Nn = de(["ff:flex ff:w-full ff:rounded-md ff:px-3 ff:py-2", "ff:text-foreground ff:text-sm", "ff:bg-surface", "ff:border-border ff:border", "ff:placeholder:text-muted", "ff:outline-none ff:transition-all ff:duration-200", "ff:focus:border-primary", "ff:focus:ring-2 ff:focus:ring-primary/20", "ff:disabled:cursor-not-allowed ff:disabled:opacity-50"], {
340
+ var Gt = /* @__PURE__ */ u('<span data-slot=input-error class="ff:text-danger ff:pointer-events-none ff:absolute ff:right-2 ff:top-1/2 ff:z-10 ff:-translate-y-1/2 ff:select-none ff:text-xs"role=alert>'), Jt = /* @__PURE__ */ u('<p data-slot=input-error class="ff:text-danger ff:mt-1 ff:text-xs"role=alert>'), Vn = /* @__PURE__ */ u('<div data-slot=input-wrapper data-inline-label=true class="ff:group ff:relative"><input data-slot=input-field><label data-slot=input-label>'), Dn = /* @__PURE__ */ u("<label data-slot=input-label>"), An = /* @__PURE__ */ u("<div data-slot=input-wrapper class=ff:relative><div class=ff:relative><input data-slot=input-field>");
341
+ const Zt = ["default", "rounded"], Nn = de(["ff:flex ff:w-full ff:rounded-md ff:px-3 ff:py-2", "ff:text-foreground ff:text-sm", "ff:bg-surface", "ff:border-border ff:border", "ff:placeholder:text-muted", "ff:outline-none ff:transition-all ff:duration-200", "ff:focus:border-primary", "ff:focus:ring-2 ff:focus:ring-primary/20", "ff:disabled:cursor-not-allowed ff:disabled:opacity-50"], {
342
342
  variants: {
343
343
  styleVariant: {
344
344
  default: "",
@@ -350,7 +350,7 @@ const Jt = ["default", "rounded"], Nn = de(["ff:flex ff:w-full ff:rounded-md ff:
350
350
  defaultVariants: {
351
351
  styleVariant: "default"
352
352
  }
353
- }), Zt = de([], {
353
+ }), Yt = de([], {
354
354
  variants: {
355
355
  styleVariant: {
356
356
  default: "",
@@ -364,12 +364,12 @@ const Jt = ["default", "rounded"], Nn = de(["ff:flex ff:w-full ff:rounded-md ff:
364
364
  }
365
365
  });
366
366
  function lt(e) {
367
- const t = $e(), [r, a] = Z(e, ["class", "className", "type", "label", "error", "hasError", "inlineLabel", "inlineError", "id", "name", "placeholder"]), o = d(() => r.id ?? r.name), f = d(() => r.inlineLabel ?? Jt.includes(t())), s = d(() => r.inlineError ?? Jt.includes(t())), l = d(() => !!r.hasError || !!r.error), c = d(() => !!r.error && !r.hasError), v = d(() => !!(f() && r.label)), w = d(() => !!(!f() && r.label)), b = d(() => !!(s() && c())), y = d(() => !!(!s() && c())), _ = d(() => $(Nn({
367
+ const t = $e(), [r, a] = Z(e, ["class", "className", "type", "label", "error", "hasError", "inlineLabel", "inlineError", "id", "name", "placeholder"]), o = d(() => r.id ?? r.name), f = d(() => r.inlineLabel ?? Zt.includes(t())), s = d(() => r.inlineError ?? Zt.includes(t())), l = d(() => !!r.hasError || !!r.error), c = d(() => !!r.error && !r.hasError), v = d(() => !!(f() && r.label)), w = d(() => !!(!f() && r.label)), b = d(() => !!(s() && c())), x = d(() => !!(!s() && c())), _ = d(() => $(Nn({
368
368
  styleVariant: t()
369
369
  }), l() && "ff:border-danger ff:focus:border-danger ff:focus:ring-danger", v() && "ff:pt-5 ff:pb-1", r.class, r.className));
370
370
  return v() ? (() => {
371
- var V = Vn(), T = V.firstChild, m = T.nextSibling;
372
- return he(T, ie({
371
+ var V = Vn(), I = V.firstChild, m = I.nextSibling;
372
+ return he(I, ie({
373
373
  get type() {
374
374
  return r.type ?? "text";
375
375
  },
@@ -391,24 +391,24 @@ function lt(e) {
391
391
  get class() {
392
392
  return $(_(), "ff:peer ff:placeholder:opacity-0 ff:placeholder:transition-opacity ff:placeholder:duration-200", "ff:focus:placeholder:opacity-100");
393
393
  }
394
- }, a), !1, !1), i(m, () => r.label), i(V, n(x, {
394
+ }, a), !1, !1), i(m, () => r.label), i(V, n(y, {
395
395
  get when() {
396
396
  return b();
397
397
  },
398
398
  get children() {
399
- var h = Ht();
399
+ var h = Gt();
400
400
  return i(h, () => r.error), A(() => H(h, "id", `${o()}-error`)), h;
401
401
  }
402
- }), null), i(V, n(x, {
402
+ }), null), i(V, n(y, {
403
403
  get when() {
404
- return y();
404
+ return x();
405
405
  },
406
406
  get children() {
407
- var h = Gt();
407
+ var h = Jt();
408
408
  return i(h, () => r.error), A(() => H(h, "id", `${o()}-error`)), h;
409
409
  }
410
410
  }), null), A((h) => {
411
- var k = l() || void 0, z = o(), C = $("ff:absolute ff:left-3 ff:top-3 ff:z-10 ff:origin-top-left ff:select-none", "ff:text-sm ff:font-medium ff:transition-all ff:duration-150 ff:ease-out", "ff:pointer-events-none", "ff:text-muted ff:-translate-y-2 ff:scale-75", "ff:peer-placeholder-shown:text-muted ff:peer-placeholder-shown:translate-y-0 ff:peer-placeholder-shown:scale-100 ff:peer-placeholder-shown:font-normal", "ff:peer-focus:text-primary ff:peer-focus:-translate-y-2 ff:peer-focus:scale-75 ff:peer-focus:font-medium", "ff:peer-disabled:text-muted ff:peer-disabled:opacity-50", l() && "ff:text-danger ff:peer-focus:text-danger", Zt({
411
+ var k = l() || void 0, z = o(), C = $("ff:absolute ff:left-3 ff:top-3 ff:z-10 ff:origin-top-left ff:select-none", "ff:text-sm ff:font-medium ff:transition-all ff:duration-150 ff:ease-out", "ff:pointer-events-none", "ff:text-muted ff:-translate-y-2 ff:scale-75", "ff:peer-placeholder-shown:text-muted ff:peer-placeholder-shown:translate-y-0 ff:peer-placeholder-shown:scale-100 ff:peer-placeholder-shown:font-normal", "ff:peer-focus:text-primary ff:peer-focus:-translate-y-2 ff:peer-focus:scale-75 ff:peer-focus:font-medium", "ff:peer-disabled:text-muted ff:peer-disabled:opacity-50", l() && "ff:text-danger ff:peer-focus:text-danger", Yt({
412
412
  styleVariant: t()
413
413
  }));
414
414
  return k !== h.e && H(V, "data-error", h.e = k), z !== h.t && H(m, "for", h.t = z), C !== h.a && M(m, h.a = C), h;
@@ -418,15 +418,15 @@ function lt(e) {
418
418
  a: void 0
419
419
  }), V;
420
420
  })() : (() => {
421
- var V = An(), T = V.firstChild, m = T.firstChild;
422
- return i(V, n(x, {
421
+ var V = An(), I = V.firstChild, m = I.firstChild;
422
+ return i(V, n(y, {
423
423
  get when() {
424
424
  return w();
425
425
  },
426
426
  get children() {
427
427
  var h = Dn();
428
428
  return i(h, () => r.label), A((k) => {
429
- var z = o(), C = $("ff:text-foreground ff:mb-1.5 ff:block ff:text-sm ff:font-medium", Zt({
429
+ var z = o(), C = $("ff:text-foreground ff:mb-1.5 ff:block ff:text-sm ff:font-medium", Yt({
430
430
  styleVariant: t()
431
431
  }));
432
432
  return z !== k.e && H(h, "for", k.e = z), C !== k.t && M(h, k.t = C), k;
@@ -435,7 +435,7 @@ function lt(e) {
435
435
  t: void 0
436
436
  }), h;
437
437
  }
438
- }), T), he(m, ie({
438
+ }), I), he(m, ie({
439
439
  get type() {
440
440
  return r.type ?? "text";
441
441
  },
@@ -457,27 +457,27 @@ function lt(e) {
457
457
  get class() {
458
458
  return _();
459
459
  }
460
- }, a), !1, !1), i(T, n(x, {
460
+ }, a), !1, !1), i(I, n(y, {
461
461
  get when() {
462
462
  return b();
463
463
  },
464
464
  get children() {
465
- var h = Ht();
465
+ var h = Gt();
466
466
  return i(h, () => r.error), A(() => H(h, "id", `${o()}-error`)), h;
467
467
  }
468
- }), null), i(T, n(x, {
468
+ }), null), i(I, n(y, {
469
469
  get when() {
470
- return y();
470
+ return x();
471
471
  },
472
472
  get children() {
473
- var h = Gt();
473
+ var h = Jt();
474
474
  return i(h, () => r.error), A(() => H(h, "id", `${o()}-error`)), h;
475
475
  }
476
476
  }), null), A(() => H(V, "data-error", !!r.error || void 0)), V;
477
477
  })();
478
478
  }
479
479
  lt.displayName = "Input";
480
- function $r(e) {
480
+ function Cr(e) {
481
481
  const [t, r] = Z(e, ["autoFocus", "autofocus", "class", "className", "value", "onValueChange", "onSubmit", "error", "hasError", "placeholder", "autoUppercase"]);
482
482
  return n(lt, ie(r, {
483
483
  type: "text",
@@ -511,8 +511,8 @@ function $r(e) {
511
511
  "data-slot": "access-code-input"
512
512
  }));
513
513
  }
514
- $r.displayName = "AccessCodeInput";
515
- var Tn = /* @__PURE__ */ u('<svg aria-hidden=true class=ff:size-5 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2.5 stroke-linecap=round stroke-linejoin=round><line x1=12 y1=8 x2=12 y2=13></line><line x1=12 y1=17 x2=12.01 y2=17>'), In = /* @__PURE__ */ u('<svg aria-hidden=true class=ff:size-5 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2.5 stroke-linecap=round stroke-linejoin=round><path d="M5 13l4 4L19 7">'), Ln = /* @__PURE__ */ u("<p>"), Mn = /* @__PURE__ */ u('<p class="ff:text-xs ff:text-foreground/80">'), Rn = /* @__PURE__ */ u('<div data-slot=alert-panel><div aria-hidden=true></div><div class="ff:flex ff:flex-col ff:gap-1">');
514
+ Cr.displayName = "AccessCodeInput";
515
+ var In = /* @__PURE__ */ u('<svg aria-hidden=true class=ff:size-5 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2.5 stroke-linecap=round stroke-linejoin=round><line x1=12 y1=8 x2=12 y2=13></line><line x1=12 y1=17 x2=12.01 y2=17>'), Ln = /* @__PURE__ */ u('<svg aria-hidden=true class=ff:size-5 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2.5 stroke-linecap=round stroke-linejoin=round><path d="M5 13l4 4L19 7">'), Tn = /* @__PURE__ */ u("<p>"), Mn = /* @__PURE__ */ u('<p class="ff:text-xs ff:text-foreground/80">'), Rn = /* @__PURE__ */ u('<div data-slot=alert-panel><div aria-hidden=true></div><div class="ff:flex ff:flex-col ff:gap-1">');
516
516
  const zn = de(["ff:flex ff:items-start ff:gap-3", "ff:rounded-lg ff:p-4"], {
517
517
  variants: {
518
518
  tone: {
@@ -523,7 +523,7 @@ const zn = de(["ff:flex ff:items-start ff:gap-3", "ff:rounded-lg ff:p-4"], {
523
523
  defaultVariants: {
524
524
  tone: "danger"
525
525
  }
526
- }), qn = de(["ff:flex ff:size-8 ff:shrink-0 ff:items-center ff:justify-center ff:rounded-full"], {
526
+ }), Bn = de(["ff:flex ff:size-8 ff:shrink-0 ff:items-center ff:justify-center ff:rounded-full"], {
527
527
  variants: {
528
528
  tone: {
529
529
  danger: "ff:bg-danger ff:text-danger-foreground",
@@ -533,7 +533,7 @@ const zn = de(["ff:flex ff:items-start ff:gap-3", "ff:rounded-lg ff:p-4"], {
533
533
  defaultVariants: {
534
534
  tone: "danger"
535
535
  }
536
- }), Bn = de(["ff:text-xs ff:font-semibold ff:leading-tight"], {
536
+ }), qn = de(["ff:text-xs ff:font-semibold ff:leading-tight"], {
537
537
  variants: {
538
538
  tone: {
539
539
  danger: "ff:text-danger",
@@ -545,10 +545,10 @@ const zn = de(["ff:flex ff:items-start ff:gap-3", "ff:rounded-lg ff:p-4"], {
545
545
  }
546
546
  });
547
547
  function Fn() {
548
- return Tn();
548
+ return In();
549
549
  }
550
550
  function Pn() {
551
- return In();
551
+ return Ln();
552
552
  }
553
553
  function De(e) {
554
554
  const [t, r] = Z(e, ["tone", "icon", "title", "description", "class", "className"]), a = () => t.tone ?? "danger", o = () => a() === "success" ? n(Pn, {}) : n(Fn, {});
@@ -566,17 +566,17 @@ function De(e) {
566
566
  tone: a()
567
567
  }), t.class, t.className);
568
568
  }
569
- }, r), !1, !0), i(s, () => t.icon ?? o()), i(l, n(x, {
569
+ }, r), !1, !0), i(s, () => t.icon ?? o()), i(l, n(y, {
570
570
  get when() {
571
571
  return t.title;
572
572
  },
573
573
  get children() {
574
- var c = Ln();
575
- return i(c, () => t.title), A(() => M(c, $(Bn({
574
+ var c = Tn();
575
+ return i(c, () => t.title), A(() => M(c, $(qn({
576
576
  tone: a()
577
577
  })))), c;
578
578
  }
579
- }), null), i(l, n(x, {
579
+ }), null), i(l, n(y, {
580
580
  get when() {
581
581
  return t.description;
582
582
  },
@@ -584,7 +584,7 @@ function De(e) {
584
584
  var c = Mn();
585
585
  return i(c, () => t.description), c;
586
586
  }
587
- }), null), A(() => M(s, $(qn({
587
+ }), null), A(() => M(s, $(Bn({
588
588
  tone: a()
589
589
  })))), f;
590
590
  })();
@@ -619,7 +619,7 @@ const Un = {
619
619
  closed: "ended",
620
620
  unknown: "ended"
621
621
  };
622
- function Yt(e) {
622
+ function Qt(e) {
623
623
  return e ? Un[e] ?? "ended" : "ended";
624
624
  }
625
625
  var On = /* @__PURE__ */ u("<span aria-hidden=true>"), Wn = /* @__PURE__ */ u("<span data-slot=badge>");
@@ -793,7 +793,7 @@ const Kn = ["clean"], Hn = de(["ff:inline-flex ff:items-center", "ff:text-xs ff:
793
793
  solid: !0,
794
794
  styleVariant: "rounded"
795
795
  }
796
- }), Qt = {
796
+ }), Xt = {
797
797
  default: "ff:bg-primary",
798
798
  secondary: "ff:bg-foreground/40",
799
799
  success: "ff:bg-success",
@@ -801,8 +801,8 @@ const Kn = ["clean"], Hn = de(["ff:inline-flex ff:items-center", "ff:text-xs ff:
801
801
  danger: "ff:bg-danger",
802
802
  outline: "ff:bg-foreground/40"
803
803
  };
804
- function Cr(e) {
805
- const t = $e(), [r, a] = Z(e, ["class", "className", "variant", "solidBackground", "children"]), o = () => r.variant ?? "default", f = () => r.solidBackground ?? !Kn.includes(t()), s = () => !f() && !!Qt[o()];
804
+ function Sr(e) {
805
+ const t = $e(), [r, a] = Z(e, ["class", "className", "variant", "solidBackground", "children"]), o = () => r.variant ?? "default", f = () => r.solidBackground ?? !Kn.includes(t()), s = () => !f() && !!Xt[o()];
806
806
  return (() => {
807
807
  var l = Wn();
808
808
  return he(l, ie({
@@ -819,18 +819,18 @@ function Cr(e) {
819
819
  styleVariant: t()
820
820
  }), r.class, r.className);
821
821
  }
822
- }, a), !1, !0), i(l, n(x, {
822
+ }, a), !1, !0), i(l, n(y, {
823
823
  get when() {
824
824
  return s();
825
825
  },
826
826
  get children() {
827
827
  var c = On();
828
- return A(() => M(c, $("ff:size-1.5 ff:shrink-0 ff:rounded-full", Qt[o()]))), c;
828
+ return A(() => M(c, $("ff:size-1.5 ff:shrink-0 ff:rounded-full", Xt[o()]))), c;
829
829
  }
830
830
  }), null), i(l, () => r.children, null), l;
831
831
  })();
832
832
  }
833
- Cr.displayName = "Badge";
833
+ Sr.displayName = "Badge";
834
834
  var Gn = /* @__PURE__ */ u("<div class=ff:flex>"), Jn = /* @__PURE__ */ u('<h2 class="ff:text-xl ff:font-semibold ff:text-foreground">'), Zn = /* @__PURE__ */ u('<p class="ff:text-xs ff:text-muted-foreground">'), Yn = /* @__PURE__ */ u("<div>"), Qn = /* @__PURE__ */ u("<div data-slot=panel-header>");
835
835
  function ae(e) {
836
836
  const [t, r] = Z(e, ["variant", "label", "title", "description", "class", "className"]);
@@ -840,13 +840,13 @@ function ae(e) {
840
840
  get class() {
841
841
  return $("ff:flex ff:flex-col ff:gap-4", t.class, t.className);
842
842
  }
843
- }, r), !1, !0), i(a, n(x, {
843
+ }, r), !1, !0), i(a, n(y, {
844
844
  get when() {
845
845
  return t.label;
846
846
  },
847
847
  get children() {
848
848
  var o = Gn();
849
- return i(o, n(Cr, {
849
+ return i(o, n(Sr, {
850
850
  get variant() {
851
851
  return t.variant ?? "default";
852
852
  },
@@ -856,13 +856,13 @@ function ae(e) {
856
856
  }
857
857
  })), o;
858
858
  }
859
- }), null), i(a, n(x, {
859
+ }), null), i(a, n(y, {
860
860
  get when() {
861
861
  return t.title || t.description;
862
862
  },
863
863
  get children() {
864
864
  var o = Yn();
865
- return i(o, n(x, {
865
+ return i(o, n(y, {
866
866
  get when() {
867
867
  return t.title;
868
868
  },
@@ -870,7 +870,7 @@ function ae(e) {
870
870
  var f = Jn();
871
871
  return i(f, () => t.title), f;
872
872
  }
873
- }), null), i(o, n(x, {
873
+ }), null), i(o, n(y, {
874
874
  get when() {
875
875
  return t.description;
876
876
  },
@@ -904,7 +904,7 @@ const oa = de(["ff:rounded-lg ff:p-6", "ff:bg-surface", "ff:text-foreground"], {
904
904
  styleVariant: "default"
905
905
  }
906
906
  });
907
- function Sr(e) {
907
+ function Er(e) {
908
908
  const t = $e(), [r, a] = Z(e, ["class", "className", "variant", "children"]);
909
909
  return (() => {
910
910
  var o = Xn();
@@ -921,7 +921,7 @@ function Sr(e) {
921
921
  }, a), !1, !0), i(o, () => r.children), o;
922
922
  })();
923
923
  }
924
- Sr.displayName = "Card";
924
+ Er.displayName = "Card";
925
925
  function ia(e) {
926
926
  const [t, r] = Z(e, ["class", "className", "children"]);
927
927
  return (() => {
@@ -983,7 +983,7 @@ function ca(e) {
983
983
  }
984
984
  ca.displayName = "CardFooter";
985
985
  var da = /* @__PURE__ */ u('<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 5647 2166"data-slot=fanfare-logo><defs><radialGradient id=fanfare-logo-gradient cx=2869.02 cy=1169.24 r=2701.79 fx=2908.42 fy=1160.72 gradientUnits=userSpaceOnUse><stop offset=.29 stop-color=#a500ff></stop><stop offset=.36 stop-color=#9a00f8></stop><stop offset=.64 stop-color=#7100dd></stop><stop offset=.86 stop-color=#5800cd></stop><stop offset=1 stop-color=#4f00c7></stop></radialGradient></defs><path d="M974.37 1663.96c-109.75 0-211.76-36.8-287.23-103.62-38.77-34.33-69.2-75.07-90.42-121.1-21.91-47.5-33.01-98.47-33.01-151.49 0-71.73 15.83-133.47 51.31-200.19 19.33-36.35 52.95-60.27 90.28-68.48-17.07-47.91-25.69-98.21-25.69-150.05 0-57.31 10.56-113.11 31.39-165.87 21.29-53.92 52.32-102.17 92.24-143.39 41.67-43.04 91.32-76.62 147.56-99.82 57.99-23.91 121.43-36.04 188.55-36.04 88.13 0 165.48 21.12 233.61 46.46 63.03-30.87 133.07-46.46 209.12-46.46 217.32 0 314.6 128.12 314.6 255.08 0 33.69-6.55 66.15-19.48 96.5-14.49 34.01-36.24 63.69-64.67 88.21-28.16 24.29-62.08 42.69-100.81 54.68-13.82 4.28-28.32 7.74-43.43 10.39l-36.34 120.27c-17.22 56.98-69.71 95.96-129.23 95.96h-21.29l-26.1 85.18c-21.51 70.39-47.95 133-78.59 186.09-31.56 54.67-68.6 101.1-110.1 138-41.97 37.32-89.13 65.56-140.16 83.93-47.45 17.09-98.63 25.75-152.11 25.75Z"fill=url(#fanfare-logo-gradient)></path><path d="M1969.48 1556.41c-51.62 0-97.62-11.53-137.11-34.32-46.9 22.5-97.05 34.32-147.95 34.32-43.73 0-85.08-7.55-122.89-22.44-40.61-15.99-76.12-39.94-105.53-71.19-56.37-59.88-86.17-142.07-86.17-237.68 0-117.84 41.55-239.81 114-334.65 38.63-50.56 83.89-91.03 134.54-120.28 58.32-33.68 120.6-50.76 185.1-50.76 38.37 0 74.57 6.53 108.12 19.45 15.17-5.84 31.56-9.01 48.51-9.01h194.22a135 135 0 0 1 108.54 54.72 135.01 135.01 0 0 1 20.55 119.81l-22.22 72.56c46.78 14.39 92.26 42.88 119.68 77.16 31.74 39.67 38.51 93.81 17.53 140.08-46.95 103.54-101.63 186.13-162.52 245.47-36.9 35.95-76.75 64.05-118.45 83.51-47.26 22.06-97.03 33.24-147.93 33.24Z"fill=url(#fanfare-logo-gradient)></path><path d="M2585.55 1556.41c-42.79 0-82.12-8.03-116.9-23.86-23.11-10.52-43.84-24.22-61.99-40.92-24.97 33.49-64.74 54.33-108.26 54.33h-194.22a135.01 135.01 0 0 1-129.1-174.5l167.07-546.1c17.36-56.75 69.75-95.51 129.1-95.51h194.22c8.6 0 17.09.82 25.39 2.41 28.31-8.54 57.93-12.85 88.43-12.85 89.59 0 166.16 36.87 215.6 103.82 30.5 41.3 48.6 91.59 53.83 146.76 56.09 10 115.22 42.87 148.21 84.11 31.74 39.67 38.51 93.81 17.53 140.08-46.95 103.55-101.63 186.13-162.52 245.47-36.9 35.95-76.75 64.05-118.45 83.51-47.26 22.06-97.03 33.24-147.93 33.24Z"fill=url(#fanfare-logo-gradient)></path><path d="M2818.4 1914.56c-48.81 0-93.18-8.59-131.86-25.53-41.78-18.3-76.32-45.72-102.66-81.5-33.73-45.82-51.64-101.85-53.24-166.54-1.16-46.67 6.24-96.03 21.99-146.7l226.51-737.97c26.57-86.71 69.39-155.51 127.25-204.44 58.62-49.57 129.66-75.77 205.42-75.77 93.18 0 178.13 40.89 233.06 112.17 30.2 39.19 50.55 86.92 58.85 138.03 8.09 49.81 5.09 102.03-8.92 155.19-10.28 39.07-20.42 74.39-30.66 106.46 35.78 15.75 68.53 39.15 90.11 66.12 31.99 40 38.6 94.65 17.06 141.12-27.34 58.97-66.22 134.89-124.68 199.17-37.85 41.61-79.78 73.85-125.46 96.53-2.64 38.04-10.36 77.95-23.15 119.51-.04.12-.07.23-.11.35-25.98 83.62-65.2 151.39-116.58 201.42-33.55 32.67-72.33 57.96-115.27 75.17-45.03 18.05-94.71 27.2-147.68 27.2Z"fill=url(#fanfare-logo-gradient)></path><path d="M3697.58 1556.41c-51.62 0-97.62-11.53-137.11-34.32-46.9 22.5-97.05 34.32-147.95 34.32-43.73 0-85.08-7.55-122.9-22.44-40.61-15.99-76.11-39.94-105.53-71.19-56.38-59.88-86.17-142.07-86.17-237.68 0-117.84 41.55-239.81 114-334.65 38.63-50.56 83.89-91.03 134.54-120.28 58.32-33.68 120.6-50.76 185.1-50.76 38.37 0 74.57 6.53 108.12 19.45 15.17-5.84 31.56-9.01 48.51-9.01h194.22a135 135 0 0 1 108.54 54.72 135.01 135.01 0 0 1 20.55 119.81l-22.22 72.56c46.78 14.39 92.26 42.88 119.68 77.16 31.73 39.67 38.51 93.81 17.53 140.08-46.95 103.54-101.63 186.13-162.52 245.47-36.9 35.95-76.75 64.05-118.45 83.51-47.26 22.06-97.03 33.24-147.93 33.24Z"fill=url(#fanfare-logo-gradient)></path><path d="M4182.08 1556.41c-42.79 0-82.12-8.03-116.9-23.86-36.9-16.79-67.73-41.69-91.64-73.98-32.71-44.18-50.11-98.73-51.73-162.14-.33-13.02.03-26.39 1.08-39.98-39.56-15.63-76.42-40.8-99.96-70.23-32.28-40.35-38.69-95.58-16.53-142.26 9.51-20.03 17.81-38.35 25.21-55.72-.79-1.6-1.57-3.22-2.32-4.83-16.23-34.7-24.46-72.13-24.46-111.24 0-67.24 25.4-130.16 71.53-177.17 22.82-23.25 49.56-41.48 79.5-54.17 30.63-12.98 63.18-19.57 96.74-19.57 89.45 0 170.19 45.58 216 121.93a135.03 135.03 0 0 1 16.73 95.41c28.62 16.41 55.73 35.95 78.71 60.62 19.13 20.55 34.21 43.19 45.14 67.71 1.21-.03 2.43-.05 3.64-.05 1.81 0 3.61.04 5.43.11 63.17 2.53 136.85 39.16 175.2 87.11 31.74 39.68 38.51 93.81 17.53 140.08-46.95 103.54-101.63 186.13-162.52 245.47-36.9 35.95-76.75 64.05-118.45 83.51-47.26 22.06-97.03 33.24-147.93 33.24Z"fill=url(#fanfare-logo-gradient)></path><path d="M4651.95 1559.54c-115.66 0-215.33-34.36-288.24-99.37-38.81-34.6-68.72-76.67-88.91-125.04-19.47-46.65-29.34-98.07-29.34-152.84s10.3-112.77 30.61-166.92c20.37-54.31 49.69-103.6 87.15-146.5 84.15-96.38 200.04-149.45 326.32-149.45 45.64 0 89.29 6.93 129.74 20.59 41.19 13.91 78.12 34.43 109.76 60.99 32.89 27.6 58.77 60.56 76.94 97.95 12.42 25.57 20.81 52.32 25.1 79.91 44.65 14.91 87.44 42.43 113.69 75.24 31.74 39.67 38.51 93.81 17.53 140.08-49.3 108.74-113.56 194.94-190.97 256.21-44.45 35.18-93.48 62.27-145.74 80.53-54.35 18.99-112.77 28.62-173.64 28.62"fill=url(#fanfare-logo-gradient)></path><path d="M1121.6 864.86h102.33c16.71-50.12 38.63-99.2 67.87-143.05-31.33-8.35-63.69-14.62-98.15-14.62-110.68 0-184.82 55.34-184.82 150.36 0 51.16 20.88 88.75 54.3 131.56l-126.34 131.57c-87.71-75.18-122.17-164.98-122.17-251.65 0-160.8 120.08-310.12 324.74-310.12 90.84 0 171.25 30.28 245.38 61.61 51.17-37.59 115.9-61.61 197.35-61.61 119.04 0 179.6 50.12 179.6 120.08 0 58.47-42.81 121.12-170.2 121.12-45.94 0-86.67-7.31-125.3-18.79-14.62 22.97-27.15 51.16-39.68 83.53h120.08l-43.86 145.14h-121.12l-55.34 180.64c-76.22 249.56-204.66 338.31-351.89 338.31-159.76 0-275.66-105.46-275.66-241.2 0-46.99 9.4-87.71 35.5-136.79l181.69 93.98c-9.4 20.88-18.79 45.94-18.79 72.05 0 32.37 15.66 60.56 58.47 60.56 75.18 0 137.83-88.75 178.55-221.37l44.9-146.18h-101.29l43.86-145.14Zm429.15-177.51c21.93 5.22 43.85 8.35 65.78 8.35 39.68 0 42.81-11.49 42.81-17.75 0-16.71-22.97-17.75-31.33-17.75-21.93 0-49.08 8.35-77.27 27.15Z"fill=#fff></path><path d="m2154.3 864.86-113.81 371.73c-8.35 28.19-9.4 49.08 11.49 49.08 36.55 0 90.84-67.87 148.27-183.78 26.1 1.04 62.65 20.88 75.18 36.55-76.22 168.11-178.55 282.97-305.94 282.97-67.87 0-103.37-33.41-117.99-78.31-45.94 48.03-104.42 78.31-167.07 78.31-107.55 0-179.6-71-179.6-196.3 0-179.6 130.52-370.68 298.63-370.68 59.52 0 107.55 27.15 135.74 78.31l20.88-67.87h194.22Zm-328.91 169.16c-51.16 0-112.77 87.71-112.77 160.8 0 40.72 19.84 64.74 53.25 64.74 53.25 0 114.86-87.71 114.86-160.8 0-39.68-22.97-64.74-55.34-64.74"fill=#fff></path><path d="M2271.25 864.86h194.22l-13.57 43.86c39.68-36.55 79.36-54.3 127.39-54.3 121.12 0 159.76 113.81 122.17 235.98l-44.9 146.19c-8.35 28.19-9.4 49.08 11.49 49.08 36.55 0 90.84-67.87 148.27-183.78 26.1 1.04 62.65 20.88 75.18 36.55-76.22 168.11-178.55 282.97-305.94 282.97-133.65 0-140.96-127.39-110.68-226.59l30.28-99.2c13.57-44.9 10.44-79.36-29.24-79.36-28.19 0-49.08 17.75-68.92 38.63l-108.59 356.06h-194.22l167.07-546.1Z"fill=#fff></path><path d="M3077.35 1394.26c15.66 49.08 12.53 108.59-8.35 176.46-33.41 107.55-101.28 208.84-250.6 208.84-160.8 0-171.24-134.7-136.79-245.38l226.59-738.23c39.68-129.48 120.08-184.82 203.61-184.82 112.77 0 187.95 101.29 152.45 235.98-79.36 301.77-144.1 344.58-294.46 380.08l-12.53 42.81c33.41 17.75 66.83 25.06 97.11 25.06 102.33 0 169.16-92.93 219.28-193.17 26.1 1.04 62.65 20.88 75.18 36.55-53.25 114.86-128.43 240.16-271.49 255.82m-151.4-21.93-68.92 224.5c-10.44 32.37-1.04 53.25 24.02 53.25 38.63 0 66.83-36.55 89.8-107.55 25.06-79.36 21.93-132.61-10.44-158.71-11.49-3.13-22.97-7.31-34.46-11.49m80.4-262.09c72.05-21.93 100.24-80.4 158.71-282.97 12.53-43.86-2.09-64.74-25.06-64.74-15.66 0-29.24 9.4-39.68 42.81l-93.98 304.9Z"fill=#fff></path><path d="m3882.4 864.86-113.81 371.73c-8.35 28.19-9.4 49.08 11.49 49.08 36.55 0 90.84-67.87 148.27-183.78 26.1 1.04 62.65 20.88 75.18 36.55-76.22 168.11-178.55 282.97-305.94 282.97-67.87 0-103.37-33.41-117.99-78.31-45.94 48.03-104.42 78.31-167.07 78.31-107.55 0-179.6-71-179.6-196.3 0-179.6 130.52-370.68 298.63-370.68 59.52 0 107.55 27.15 135.74 78.31l20.88-67.87h194.22Zm-328.92 169.16c-51.16 0-112.77 87.71-112.77 160.8 0 40.72 19.84 64.74 53.25 64.74 53.25 0 114.86-87.71 114.86-160.8 0-39.68-22.97-64.74-55.34-64.74"fill=#fff></path><path d="M3928.35 1101.89c19.84-41.77 38.63-84.58 55.34-132.61-27.15-25.06-43.86-57.43-43.86-97.11 0-65.78 50.12-115.9 112.77-115.9 46.99 0 81.45 25.06 100.24 56.38l-37.59 96.06 12.53 5.22c115.9 48.03 198.39 84.58 156.63 220.32l-31.33 102.33c-8.35 28.19-9.4 49.08 11.49 49.08 36.55 0 90.84-67.87 148.27-183.78 26.1 1.04 62.65 20.88 75.18 36.55-76.22 168.11-178.55 282.97-305.94 282.97-133.65 0-140.96-127.39-110.68-226.59l26.1-85.62c14.62-48.03 17.75-66.83-8.35-79.36l-35.5-16.71c-14.62 41.77-31.33 83.53-50.12 125.3-26.1-1.04-62.65-20.88-75.18-36.55Z"fill=#fff></path><path d="M5039.34 1138.43c-76.22 168.11-199.44 286.1-387.39 286.1-167.07 0-271.49-92.93-271.49-242.25 0-161.85 122.17-327.87 309.08-327.87 127.39 0 209.88 77.27 209.88 168.11s-82.49 206.75-297.59 209.88c18.79 37.59 57.43 58.47 112.77 58.47 86.67 0 182.73-54.3 249.56-189 26.1 1.04 62.65 20.88 75.18 36.55Zm-450.04 4.18c92.93-6.27 134.7-50.12 134.7-86.67 0-18.79-10.44-36.55-37.59-36.55-46.99 0-89.8 53.25-97.11 123.21Z"fill=#fff>');
986
- function Er(e) {
986
+ function Vr(e) {
987
987
  const [t, r] = Z(e, ["class", "className"]);
988
988
  return (() => {
989
989
  var a = da();
@@ -994,7 +994,7 @@ function Er(e) {
994
994
  }, r), !0, !0), a;
995
995
  })();
996
996
  }
997
- Er.displayName = "FanfareLogo";
997
+ Vr.displayName = "FanfareLogo";
998
998
  var ua = /* @__PURE__ */ u("<div data-slot=panel-body>"), ga = /* @__PURE__ */ u("<div data-slot=panel-footer>"), ha = /* @__PURE__ */ u('<span class="ff:inline-flex ff:items-center">'), ma = /* @__PURE__ */ u('<div class="ff:flex ff:flex-1 ff:flex-col ff:gap-5 ff:p-5">');
999
999
  function re(e) {
1000
1000
  const [t, r] = Z(e, ["class", "className", "children"]);
@@ -1018,14 +1018,14 @@ function ee(e) {
1018
1018
  get class() {
1019
1019
  return $("ff:flex ff:items-center ff:justify-between ff:gap-2 ff:border-t ff:border-border-light ff:px-5 ff:py-2.5 ff:text-xxs ff:text-muted-foreground", f() && "ff:font-mono", a.class, a.className);
1020
1020
  }
1021
- }, o), !1, !0), i(s, n(x, {
1021
+ }, o), !1, !0), i(s, n(y, {
1022
1022
  get when() {
1023
1023
  return a.children;
1024
1024
  },
1025
1025
  get fallback() {
1026
1026
  return (() => {
1027
1027
  var l = ha();
1028
- return i(l, () => t("common.poweredBy"), null), i(l, n(Er, {
1028
+ return i(l, () => t("common.poweredBy"), null), i(l, n(Vr, {
1029
1029
  class: "ff:h-4.5 ff:w-auto",
1030
1030
  "aria-label": "Fanfare"
1031
1031
  }), null), l;
@@ -1038,18 +1038,18 @@ function ee(e) {
1038
1038
  })();
1039
1039
  }
1040
1040
  ee.displayName = "PanelFooter";
1041
- function Xt(e) {
1041
+ function er(e) {
1042
1042
  return !e || typeof e != "object" || !("getAttribute" in e) ? !1 : e.getAttribute?.("data-slot") === "panel-footer";
1043
1043
  }
1044
1044
  function ne(e) {
1045
1045
  const [t, r] = Z(e, ["class", "className", "children"]), a = Xr(() => t.children), o = () => {
1046
- const f = a(), s = Array.isArray(f) ? f : [f], l = s.filter(Xt);
1046
+ const f = a(), s = Array.isArray(f) ? f : [f], l = s.filter(er);
1047
1047
  return {
1048
- mainChildren: s.filter((v) => !Xt(v)),
1048
+ mainChildren: s.filter((v) => !er(v)),
1049
1049
  footerChildren: l
1050
1050
  };
1051
1051
  };
1052
- return n(Sr, ie({
1052
+ return n(Er, ie({
1053
1053
  "data-slot": "panel-layout",
1054
1054
  get class() {
1055
1055
  return $("ff:flex ff:flex-col ff:overflow-hidden ff:p-0 ff:max-h-[24rem]", t.class, t.className);
@@ -1059,7 +1059,7 @@ function ne(e) {
1059
1059
  return [(() => {
1060
1060
  var f = ma();
1061
1061
  return i(f, () => o().mainChildren), f;
1062
- })(), n(x, {
1062
+ })(), n(y, {
1063
1063
  get when() {
1064
1064
  return o().footerChildren.length > 0;
1065
1065
  },
@@ -1233,7 +1233,7 @@ function O(e) {
1233
1233
  get disabled() {
1234
1234
  return o();
1235
1235
  }
1236
- }, a), !1, !0), i(f, n(x, {
1236
+ }, a), !1, !0), i(f, n(y, {
1237
1237
  get when() {
1238
1238
  return r.loading;
1239
1239
  },
@@ -1309,7 +1309,7 @@ const Ea = de(["ff:relative ff:inline-block ff:h-10 ff:w-6 ff:overflow-hidden ff
1309
1309
  defaultVariants: {
1310
1310
  styleVariant: "default"
1311
1311
  }
1312
- }), Ta = de(["ff:flex ff:items-center ff:justify-center ff:font-heading"], {
1312
+ }), Ia = de(["ff:flex ff:items-center ff:justify-center ff:font-heading"], {
1313
1313
  variants: {
1314
1314
  styleVariant: {
1315
1315
  default: "",
@@ -1321,14 +1321,14 @@ const Ea = de(["ff:relative ff:inline-block ff:h-10 ff:w-6 ff:overflow-hidden ff
1321
1321
  defaultVariants: {
1322
1322
  styleVariant: "default"
1323
1323
  }
1324
- }), Ia = {
1324
+ }), La = {
1325
1325
  days: 0,
1326
1326
  hours: 0,
1327
1327
  minutes: 0,
1328
1328
  seconds: 0,
1329
1329
  total: 0
1330
1330
  };
1331
- function er(e) {
1331
+ function tr(e) {
1332
1332
  const t = typeof e == "object" ? e : new Date(e), r = /* @__PURE__ */ new Date(), a = t.getTime() - r.getTime(), o = Math.max(0, a);
1333
1333
  return {
1334
1334
  days: Math.floor(o / (1e3 * 60 * 60 * 24)),
@@ -1338,10 +1338,10 @@ function er(e) {
1338
1338
  total: a
1339
1339
  };
1340
1340
  }
1341
- function La(e) {
1341
+ function Ta(e) {
1342
1342
  return (() => {
1343
1343
  var t = xa();
1344
- return i(t, n(x, {
1344
+ return i(t, n(y, {
1345
1345
  get when() {
1346
1346
  return e.value;
1347
1347
  },
@@ -1365,7 +1365,7 @@ function Ma(e) {
1365
1365
  get each() {
1366
1366
  return r();
1367
1367
  },
1368
- children: (s) => n(La, {
1368
+ children: (s) => n(Ta, {
1369
1369
  get value() {
1370
1370
  return s();
1371
1371
  },
@@ -1395,12 +1395,12 @@ function Ra(e) {
1395
1395
  })();
1396
1396
  }
1397
1397
  function za(e, t) {
1398
- const [r, a] = D(Ia), [o, f] = D(!1), [s, l] = D(!1);
1398
+ const [r, a] = D(La), [o, f] = D(!1), [s, l] = D(!1);
1399
1399
  return te(() => {
1400
1400
  const c = e(), v = t();
1401
- f(!0), l(!1), a(er(c));
1401
+ f(!0), l(!1), a(tr(c));
1402
1402
  const w = setInterval(() => {
1403
- const b = er(c);
1403
+ const b = tr(c);
1404
1404
  a(b), b.total <= 0 && !s() && (l(!0), v?.(), clearInterval(w));
1405
1405
  }, 1e3);
1406
1406
  Se(() => clearInterval(w));
@@ -1417,31 +1417,31 @@ function ye(e) {
1417
1417
  timeRemaining: o,
1418
1418
  isClient: f,
1419
1419
  isPast: s
1420
- } = za(() => a.targetDate, () => a.onComplete), l = () => a.layout ?? "swiss", c = () => a.showDays ?? !0, v = () => a.showHours ?? !0, w = () => a.showMinutes ?? !0, b = () => a.showSeconds ?? !0, y = d(() => {
1420
+ } = za(() => a.targetDate, () => a.onComplete), l = () => a.layout ?? "swiss", c = () => a.showDays ?? !0, v = () => a.showHours ?? !0, w = () => a.showMinutes ?? !0, b = () => a.showSeconds ?? !0, x = d(() => {
1421
1421
  const m = o();
1422
1422
  return [{
1423
1423
  value: m.days,
1424
- label: t("countdown.days"),
1425
- shortLabel: t("countdown.daysShort"),
1424
+ label: t("duration.days"),
1425
+ shortLabel: t("duration.daysShort"),
1426
1426
  show: c() && m.days > 0
1427
1427
  }, {
1428
1428
  value: m.hours,
1429
- label: t("countdown.hours"),
1430
- shortLabel: t("countdown.hoursShort"),
1429
+ label: t("duration.hours"),
1430
+ shortLabel: t("duration.hoursShort"),
1431
1431
  show: v()
1432
1432
  }, {
1433
1433
  value: m.minutes,
1434
- label: t("countdown.minutes"),
1435
- shortLabel: t("countdown.minutesShort"),
1434
+ label: t("duration.minutes"),
1435
+ shortLabel: t("duration.minutesShort"),
1436
1436
  show: w()
1437
1437
  }, {
1438
1438
  value: m.seconds,
1439
- label: t("countdown.seconds"),
1440
- shortLabel: t("countdown.secondsShort"),
1439
+ label: t("duration.seconds"),
1440
+ shortLabel: t("duration.secondsShort"),
1441
1441
  show: b()
1442
1442
  }].filter((h) => h.show);
1443
- }), _ = d(() => l() === "swiss" ? y().slice(0, 3) : y()), V = d(() => s() ? "ff:opacity-50" : void 0), T = (m) => m.toString().padStart(2, "0");
1444
- return n(x, {
1443
+ }), _ = d(() => l() === "swiss" ? x().slice(0, 3) : x()), V = d(() => s() ? "ff:opacity-50" : void 0), I = (m) => m.toString().padStart(2, "0");
1444
+ return n(y, {
1445
1445
  get when() {
1446
1446
  return f();
1447
1447
  },
@@ -1467,7 +1467,7 @@ function ye(e) {
1467
1467
  get each() {
1468
1468
  return _();
1469
1469
  },
1470
- children: (h, k) => [Q(() => T(h().value)), Q(() => h().shortLabel), n(x, {
1470
+ children: (h, k) => [Q(() => I(h().value)), Q(() => h().shortLabel), n(y, {
1471
1471
  get when() {
1472
1472
  return k < _().length - 1;
1473
1473
  },
@@ -1500,7 +1500,7 @@ function ye(e) {
1500
1500
  return h().label;
1501
1501
  },
1502
1502
  styleVariant: r
1503
- }), n(x, {
1503
+ }), n(y, {
1504
1504
  get when() {
1505
1505
  return k < _().length - 1;
1506
1506
  },
@@ -1511,7 +1511,7 @@ function ye(e) {
1511
1511
  }
1512
1512
  })]
1513
1513
  })), A((h) => {
1514
- var k = $(Ta({
1514
+ var k = $(Ia({
1515
1515
  styleVariant: r()
1516
1516
  }), V(), a.class, a.className), z = s() || void 0, C = s() ? "off" : "polite";
1517
1517
  return k !== h.e && M(m, h.e = k), z !== h.t && H(m, "data-past", h.t = z), C !== h.a && H(m, "aria-live", h.a = C), h;
@@ -1528,7 +1528,7 @@ function ye(e) {
1528
1528
  });
1529
1529
  }
1530
1530
  ye.displayName = "Countdown";
1531
- const Xe = () => typeof window > "u" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches, qa = {
1531
+ const Xe = () => typeof window > "u" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches, Ba = {
1532
1532
  fadeIn: "ff:animate-fade-in",
1533
1533
  fadeOut: "ff:animate-fade-out",
1534
1534
  slideIn: "ff:animate-slide-in",
@@ -1542,8 +1542,8 @@ const Xe = () => typeof window > "u" ? !1 : window.matchMedia("(prefers-reduced-
1542
1542
  pulseSuccess: "ff:animate-pulse-success"
1543
1543
  }, se = (e, t = {}) => {
1544
1544
  const { respectMotionPreference: r = !0 } = t;
1545
- return r && Xe() ? "" : qa[e];
1546
- }, Vr = (e, t = {}) => {
1545
+ return r && Xe() ? "" : Ba[e];
1546
+ }, Dr = (e, t = {}) => {
1547
1547
  switch (e) {
1548
1548
  case "retro":
1549
1549
  return se("slideIn", t);
@@ -1555,15 +1555,15 @@ const Xe = () => typeof window > "u" ? !1 : window.matchMedia("(prefers-reduced-
1555
1555
  return se("scaleIn", t);
1556
1556
  }
1557
1557
  };
1558
- var Ba = /* @__PURE__ */ u("<div data-slot=fade-presence>");
1558
+ var qa = /* @__PURE__ */ u("<div data-slot=fade-presence>");
1559
1559
  function kt(e) {
1560
1560
  const t = d(() => Xe() ? "" : "ff:animate-fade-in");
1561
- return n(x, {
1561
+ return n(y, {
1562
1562
  get when() {
1563
1563
  return e.show;
1564
1564
  },
1565
1565
  get children() {
1566
- var r = Ba();
1566
+ var r = qa();
1567
1567
  return i(r, () => e.children), A(() => M(r, $(t(), e.class, e.className))), r;
1568
1568
  }
1569
1569
  });
@@ -1624,16 +1624,16 @@ function Qe(e) {
1624
1624
  fill: "forwards"
1625
1625
  });
1626
1626
  s = w;
1627
- const y = () => {
1627
+ const x = () => {
1628
1628
  c.style.height = "", c.style.overflow = "";
1629
1629
  };
1630
- b.finished.then(y).catch(() => {
1630
+ b.finished.then(x).catch(() => {
1631
1631
  }), Se(() => {
1632
- b.cancel(), y();
1632
+ b.cancel(), x();
1633
1633
  });
1634
1634
  }), (() => {
1635
1635
  var c = Fa();
1636
- return ft((v) => o = v, c), i(c, n(x, {
1636
+ return ft((v) => o = v, c), i(c, n(y, {
1637
1637
  get when() {
1638
1638
  return a();
1639
1639
  },
@@ -1641,8 +1641,8 @@ function Qe(e) {
1641
1641
  children: (v) => (() => {
1642
1642
  var w = Pa();
1643
1643
  return ft((b) => f = b, w), i(w, () => e.children), A((b) => {
1644
- var y = v.key, _ = $(l());
1645
- return y !== b.e && H(w, "data-transition-key", b.e = y), _ !== b.t && M(w, b.t = _), b;
1644
+ var x = v.key, _ = $(l());
1645
+ return x !== b.e && H(w, "data-transition-key", b.e = x), _ !== b.t && M(w, b.t = _), b;
1646
1646
  }, {
1647
1647
  e: void 0,
1648
1648
  t: void 0
@@ -1652,7 +1652,7 @@ function Qe(e) {
1652
1652
  })();
1653
1653
  }
1654
1654
  Qe.displayName = "Transition";
1655
- function Tt(e) {
1655
+ function It(e) {
1656
1656
  if (!e) return "";
1657
1657
  const t = e.trim();
1658
1658
  if (!t) return "";
@@ -1661,7 +1661,7 @@ function Tt(e) {
1661
1661
  }
1662
1662
  function ht(e) {
1663
1663
  if (!e) return "";
1664
- const t = Tt(e);
1664
+ const t = It(e);
1665
1665
  if (t.startsWith("+")) {
1666
1666
  const o = t.slice(1).replace(/\D/g, "");
1667
1667
  if (o.length === 0) return "+";
@@ -1679,7 +1679,7 @@ function ht(e) {
1679
1679
  }
1680
1680
  function Oa(e) {
1681
1681
  if (!e) return null;
1682
- const t = Tt(e), r = t.replace(/\D/g, "");
1682
+ const t = It(e), r = t.replace(/\D/g, "");
1683
1683
  return t.startsWith("+") ? r.length < 10 || r.length > 15 ? null : `+${r}` : r.length === 10 ? `+1${r}` : null;
1684
1684
  }
1685
1685
  function Wa(e) {
@@ -1688,29 +1688,29 @@ function Wa(e) {
1688
1688
  }
1689
1689
  var Ka = /* @__PURE__ */ u('<div data-slot=auth-input><div data-slot=auth-input-header class="ff:mb-1.5 ff:flex ff:items-center ff:justify-between">'), Ha = /* @__PURE__ */ u('<label data-slot=auth-input-label class="ff:text-foreground ff:block ff:text-sm ff:font-medium">');
1690
1690
  const Ga = at.pipe(at.string(), at.email());
1691
- function Dr(e) {
1691
+ function Ar(e) {
1692
1692
  if (!e) return "email";
1693
- const r = Tt(e).replace(/\D/g, "");
1693
+ const r = It(e).replace(/\D/g, "");
1694
1694
  return e.startsWith("+") || r.length > 0 && r.length === e.replace(/[^\d\s()-]/g, "").length ? "phone" : (e.includes("@") || /^[a-zA-Z]/.test(e), "email");
1695
1695
  }
1696
- function Ar(e) {
1696
+ function Nr(e) {
1697
1697
  const {
1698
1698
  t
1699
- } = fe(), [r, a] = Z(e, ["class", "className", "value", "onValueChange", "onValidChange", "onSubmit", "type", "error", "hasError", "label", "disabled", "placeholder"]), o = d(() => (r.type ?? "auto") === "auto"), [f, s] = D(o() ? Dr(r.value) : r.type), [l, c] = D(!1), [v, w] = D(null), [b, y] = D(!1), [_, V] = D(f() === "phone" ? ht(r.value) : r.value);
1699
+ } = fe(), [r, a] = Z(e, ["class", "className", "value", "onValueChange", "onValidChange", "onSubmit", "type", "error", "hasError", "label", "disabled", "placeholder"]), o = d(() => (r.type ?? "auto") === "auto"), [f, s] = D(o() ? Ar(r.value) : r.type), [l, c] = D(!1), [v, w] = D(null), [b, x] = D(!1), [_, V] = D(f() === "phone" ? ht(r.value) : r.value);
1700
1700
  te(() => {
1701
1701
  o() || s(r.type);
1702
1702
  }), te(() => {
1703
1703
  f() === "phone" ? V(ht(r.value)) : V(r.value);
1704
1704
  });
1705
- const T = (R, X) => {
1705
+ const I = (R, X) => {
1706
1706
  if (!R) {
1707
- w(null), y(!1), r.onValidChange?.(!1);
1707
+ w(null), x(!1), r.onValidChange?.(!1);
1708
1708
  return;
1709
1709
  }
1710
- X === "email" ? at.safeParse(Ga, R).success ? (w(null), y(!0), r.onValidChange?.(!0)) : (w(t("auth.invalidEmail")), y(!1), r.onValidChange?.(!1)) : Wa(R) ? (w(null), y(!0), r.onValidChange?.(!0)) : (w(t("auth.invalidPhone")), y(!1), r.onValidChange?.(!1));
1710
+ X === "email" ? at.safeParse(Ga, R).success ? (w(null), x(!0), r.onValidChange?.(!0)) : (w(t("auth.invalidEmail")), x(!1), r.onValidChange?.(!1)) : Wa(R) ? (w(null), x(!0), r.onValidChange?.(!0)) : (w(t("auth.invalidPhone")), x(!1), r.onValidChange?.(!1));
1711
1711
  };
1712
1712
  te(() => {
1713
- T(r.value, f());
1713
+ I(r.value, f());
1714
1714
  });
1715
1715
  const m = (R) => {
1716
1716
  const X = R.currentTarget.value;
@@ -1728,8 +1728,8 @@ function Ar(e) {
1728
1728
  R.key === "Enter" && r.onSubmit && (R.preventDefault(), r.onSubmit()), typeof a.onKeyDown == "function" && a.onKeyDown(R);
1729
1729
  }, z = () => {
1730
1730
  const R = f() === "email" ? "phone" : "email";
1731
- s(R), V(""), w(null), c(!1), y(!1), r.onValueChange("", R), r.onValidChange?.(!1);
1732
- }, C = d(() => r.error || (l() && !b() ? v() : null)), I = d(() => r.placeholder || (f() === "email" ? t("auth.emailPlaceholder") : t("auth.phonePlaceholder"))), U = () => o() ? n(O, {
1731
+ s(R), V(""), w(null), c(!1), x(!1), r.onValueChange("", R), r.onValidChange?.(!1);
1732
+ }, C = d(() => r.error || (l() && !b() ? v() : null)), L = d(() => r.placeholder || (f() === "email" ? t("auth.emailPlaceholder") : t("auth.phonePlaceholder"))), U = () => o() ? n(O, {
1733
1733
  type: "button",
1734
1734
  variant: "link",
1735
1735
  size: "xs",
@@ -1767,7 +1767,7 @@ function Ar(e) {
1767
1767
  onBlur: h,
1768
1768
  onKeyDown: k,
1769
1769
  get placeholder() {
1770
- return I();
1770
+ return L();
1771
1771
  },
1772
1772
  get disabled() {
1773
1773
  return r.disabled;
@@ -1782,8 +1782,8 @@ function Ar(e) {
1782
1782
  inlineError: !1,
1783
1783
  "data-slot": "auth-input-field"
1784
1784
  })), null), A((W) => {
1785
- var le = $("fanfare-auth-input", r.class, r.className), _e = f(), L = b() || void 0;
1786
- return le !== W.e && M(R, W.e = le), _e !== W.t && H(R, "data-mode", W.t = _e), L !== W.a && H(R, "data-valid", W.a = L), W;
1785
+ var le = $("fanfare-auth-input", r.class, r.className), _e = f(), T = b() || void 0;
1786
+ return le !== W.e && M(R, W.e = le), _e !== W.t && H(R, "data-mode", W.t = _e), T !== W.a && H(R, "data-valid", W.a = T), W;
1787
1787
  }, {
1788
1788
  e: void 0,
1789
1789
  t: void 0,
@@ -1806,7 +1806,7 @@ function Ar(e) {
1806
1806
  onBlur: h,
1807
1807
  onKeyDown: k,
1808
1808
  get placeholder() {
1809
- return I();
1809
+ return L();
1810
1810
  },
1811
1811
  get disabled() {
1812
1812
  return r.disabled;
@@ -1832,7 +1832,7 @@ function Ar(e) {
1832
1832
  }
1833
1833
  }));
1834
1834
  }
1835
- Ar.displayName = "AuthInput";
1835
+ Nr.displayName = "AuthInput";
1836
1836
  var Ja = /* @__PURE__ */ u('<p data-slot=otp-input-error class="ff:text-danger ff:text-xs"role=alert>'), Za = /* @__PURE__ */ u('<div data-slot=otp-input><div data-slot=otp-input-digits class="ff:grid ff:gap-2">'), Ya = /* @__PURE__ */ u("<input type=text inputmode=numeric maxlength=1 data-slot=otp-input-digit>");
1837
1837
  const Qa = de(["ff:h-12 ff:w-full ff:min-w-0 ff:text-center ff:text-lg ff:font-semibold", "ff:text-foreground", "ff:outline-none ff:transition-all ff:duration-200", "ff:disabled:cursor-not-allowed ff:disabled:opacity-50"], {
1838
1838
  variants: {
@@ -1869,7 +1869,7 @@ const Qa = de(["ff:h-12 ff:w-full ff:min-w-0 ff:text-center ff:text-lg ff:font-s
1869
1869
  hasError: !1
1870
1870
  }
1871
1871
  });
1872
- function Nr(e) {
1872
+ function Ir(e) {
1873
1873
  const t = $e(), r = () => e.length ?? 6, a = () => !!e.hasError || !!e.error, o = () => !!e.error && !e.hasError, f = (e.value ?? "").split("").slice(0, r()), [s, l] = D([...f, ...Array(Math.max(0, r() - f.length)).fill("")]);
1874
1874
  let c = [];
1875
1875
  const v = (m) => {
@@ -1886,11 +1886,11 @@ function Nr(e) {
1886
1886
  const b = (m) => {
1887
1887
  const h = m.join("");
1888
1888
  e.onChange?.(h), h.length === r() && !h.includes("") && e.onComplete?.(h);
1889
- }, y = (m, h) => {
1889
+ }, x = (m, h) => {
1890
1890
  const k = h.replace(/\D/g, "");
1891
1891
  if (k.length > 1) {
1892
- const I = k.slice(0, r()).split(""), U = [...I, ...Array(Math.max(0, r() - I.length)).fill("")];
1893
- l(U), b(U), U.length === r() && !U.includes("") ? v(r() - 1) : v(I.length);
1892
+ const L = k.slice(0, r()).split(""), U = [...L, ...Array(Math.max(0, r() - L.length)).fill("")];
1893
+ l(U), b(U), U.length === r() && !U.includes("") ? v(r() - 1) : v(L.length);
1894
1894
  return;
1895
1895
  }
1896
1896
  const z = k.slice(-1), C = [...s()];
@@ -1898,7 +1898,7 @@ function Nr(e) {
1898
1898
  }, _ = (m, h) => {
1899
1899
  switch (h.key) {
1900
1900
  case "Backspace":
1901
- h.preventDefault(), s()[m] ? y(m, "") : m > 0 && (v(m - 1), y(m - 1, ""));
1901
+ h.preventDefault(), s()[m] ? x(m, "") : m > 0 && (v(m - 1), x(m - 1, ""));
1902
1902
  break;
1903
1903
  case "ArrowLeft":
1904
1904
  h.preventDefault(), v(m - 1);
@@ -1907,7 +1907,7 @@ function Nr(e) {
1907
1907
  h.preventDefault(), v(m + 1);
1908
1908
  break;
1909
1909
  case "Delete":
1910
- h.preventDefault(), y(m, "");
1910
+ h.preventDefault(), x(m, "");
1911
1911
  break;
1912
1912
  }
1913
1913
  }, V = (m) => {
@@ -1918,7 +1918,7 @@ function Nr(e) {
1918
1918
  if (!k) return;
1919
1919
  const z = k.split(""), C = [...z, ...Array(Math.max(0, r() - z.length)).fill("")];
1920
1920
  l(C), b(C), C.length === r() && !C.includes("") ? v(r() - 1) : v(z.length);
1921
- }, T = (m) => {
1921
+ }, I = (m) => {
1922
1922
  m.currentTarget.select();
1923
1923
  };
1924
1924
  return (() => {
@@ -1931,14 +1931,14 @@ function Nr(e) {
1931
1931
  },
1932
1932
  children: (k, z) => (() => {
1933
1933
  var C = Ya();
1934
- return C.addEventListener("focus", T), C.$$keydown = (I) => _(z(), I), C.$$input = (I) => y(z(), I.currentTarget.value), ft((I) => {
1935
- c[z()] = I;
1936
- }, C), A((I) => {
1934
+ return C.addEventListener("focus", I), C.$$keydown = (L) => _(z(), L), C.$$input = (L) => x(z(), L.currentTarget.value), ft((L) => {
1935
+ c[z()] = L;
1936
+ }, C), A((L) => {
1937
1937
  var U = z() === 0 ? "one-time-code" : "off", R = e.disabled, X = `Digit ${z() + 1} of ${r()}`, W = a() || void 0, le = Qa({
1938
1938
  styleVariant: t(),
1939
1939
  hasError: a()
1940
1940
  });
1941
- return U !== I.e && H(C, "autocomplete", I.e = U), R !== I.t && (C.disabled = I.t = R), X !== I.a && H(C, "aria-label", I.a = X), W !== I.o && H(C, "aria-invalid", I.o = W), le !== I.i && M(C, I.i = le), I;
1941
+ return U !== L.e && H(C, "autocomplete", L.e = U), R !== L.t && (C.disabled = L.t = R), X !== L.a && H(C, "aria-label", L.a = X), W !== L.o && H(C, "aria-invalid", L.o = W), le !== L.i && M(C, L.i = le), L;
1942
1942
  }, {
1943
1943
  e: void 0,
1944
1944
  t: void 0,
@@ -1947,7 +1947,7 @@ function Nr(e) {
1947
1947
  i: void 0
1948
1948
  }), A(() => C.value = s()[z()]), C;
1949
1949
  })()
1950
- })), i(m, n(x, {
1950
+ })), i(m, n(y, {
1951
1951
  get when() {
1952
1952
  return o();
1953
1953
  },
@@ -1956,8 +1956,8 @@ function Nr(e) {
1956
1956
  return i(k, () => e.error), k;
1957
1957
  }
1958
1958
  }), null), A((k) => {
1959
- var z = $("fanfare-otp-input", "ff:space-y-1.5", e.class, e.className), C = a() || void 0, I = `repeat(${r()}, minmax(0, 1fr))`;
1960
- return z !== k.e && M(m, k.e = z), C !== k.t && H(m, "data-error", k.t = C), I !== k.a && bt(h, "grid-template-columns", k.a = I), k;
1959
+ var z = $("fanfare-otp-input", "ff:space-y-1.5", e.class, e.className), C = a() || void 0, L = `repeat(${r()}, minmax(0, 1fr))`;
1960
+ return z !== k.e && M(m, k.e = z), C !== k.t && H(m, "data-error", k.t = C), L !== k.a && bt(h, "grid-template-columns", k.a = L), k;
1961
1961
  }, {
1962
1962
  e: void 0,
1963
1963
  t: void 0,
@@ -1965,65 +1965,65 @@ function Nr(e) {
1965
1965
  }), m;
1966
1966
  })();
1967
1967
  }
1968
- Nr.displayName = "OTPInput";
1968
+ Ir.displayName = "OTPInput";
1969
1969
  Et(["input", "keydown"]);
1970
- var Xa = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-center ff:gap-3 ff:py-4"><div data-slot=auth-form-success-icon><svg class="ff:h-6 ff:w-6"fill=none viewBox="0 0 24 24"stroke=currentColor stroke-width=2><path stroke-linecap=round stroke-linejoin=round d="M5 13l4 4L19 7"></path></svg></div><h2 class="ff:text-foreground ff:text-lg ff:font-semibold">'), tr = /* @__PURE__ */ u('<h2 class="ff:text-foreground ff:text-xl ff:font-semibold">'), rr = /* @__PURE__ */ u('<p class="ff:text-muted-foreground ff:text-xs">'), eo = /* @__PURE__ */ u("<div data-slot=auth-form-heading>"), to = /* @__PURE__ */ u('<form class="ff:flex ff:flex-1 ff:flex-col ff:gap-5"><div class="ff:mt-auto ff:flex ff:flex-col ff:gap-2">'), ro = /* @__PURE__ */ u('<div data-slot=auth-form-countdown class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">'), no = /* @__PURE__ */ u('<p class="ff:text-muted-foreground ff:text-xxs"> <strong class="ff:text-foreground ff:font-semibold"></strong> · '), ao = /* @__PURE__ */ u('<span class="ff:text-muted-foreground ff:text-xxs ff:tabular-nums">'), oo = /* @__PURE__ */ u('<div data-slot=auth-form-resend class="ff:flex ff:items-center ff:justify-between"><span class="ff:text-muted-foreground ff:text-xxs">');
1970
+ var Xa = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-center ff:gap-3 ff:py-4"><div data-slot=auth-form-success-icon><svg class="ff:h-6 ff:w-6"fill=none viewBox="0 0 24 24"stroke=currentColor stroke-width=2><path stroke-linecap=round stroke-linejoin=round d="M5 13l4 4L19 7"></path></svg></div><h2 class="ff:text-foreground ff:text-lg ff:font-semibold">'), rr = /* @__PURE__ */ u('<h2 class="ff:text-foreground ff:text-xl ff:font-semibold">'), nr = /* @__PURE__ */ u('<p class="ff:text-muted-foreground ff:text-xs">'), eo = /* @__PURE__ */ u("<div data-slot=auth-form-heading>"), to = /* @__PURE__ */ u('<form class="ff:flex ff:flex-1 ff:flex-col ff:gap-5"><div class="ff:mt-auto ff:flex ff:flex-col ff:gap-2">'), ro = /* @__PURE__ */ u('<div data-slot=auth-form-countdown class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">'), no = /* @__PURE__ */ u('<p class="ff:text-muted-foreground ff:text-xxs"> <strong class="ff:text-foreground ff:font-semibold"></strong> · '), ao = /* @__PURE__ */ u('<span class="ff:text-muted-foreground ff:text-xxs ff:tabular-nums">'), oo = /* @__PURE__ */ u('<div data-slot=auth-form-resend class="ff:flex ff:items-center ff:justify-between"><span class="ff:text-muted-foreground ff:text-xxs">');
1971
1971
  const mt = 3e4, io = 3e3;
1972
1972
  function fo(e) {
1973
1973
  const t = Math.ceil(e / 1e3), r = Math.floor(t / 60), a = t % 60;
1974
1974
  return `${r.toString().padStart(2, "0")}:${a.toString().padStart(2, "0")}`;
1975
1975
  }
1976
- function Tr(e) {
1976
+ function Lr(e) {
1977
1977
  const {
1978
1978
  t
1979
- } = fe(), r = () => e.label ?? t("auth.badgeLabel"), a = () => e.variant ?? "default", o = () => e.title ?? t("auth.title"), f = () => e.description ?? t("auth.description"), s = () => e.submitLabel ?? t("auth.submit"), l = () => e.verifyLabel ?? t("auth.verify"), c = e.defaultStep ?? "credential", v = e.defaultCredential ?? "", [w, b] = D(c), [y, _] = D(v), [V, T] = D(e.defaultCredentialType ?? Dr(v)), [m, h] = D(!1), [k, z] = D(""), [C, I] = D(!1), [U, R] = D(e.defaultError ?? null), [X, W] = D(c === "verify" && v.length > 0 ? Date.now() + mt : null), [le, _e] = D(Date.now()), [L, P] = D(!1), [q, K] = D(!1), Ee = d(() => V() === "email" ? t("auth.email") : t("auth.phone"));
1979
+ } = fe(), r = () => e.label ?? t("auth.badgeLabel"), a = () => e.variant ?? "default", o = () => e.title ?? t("auth.title"), f = () => e.description ?? t("auth.description"), s = () => e.submitLabel ?? t("auth.submit"), l = () => e.verifyLabel ?? t("auth.verify"), c = e.defaultStep ?? "credential", v = e.defaultCredential ?? "", [w, b] = D(c), [x, _] = D(v), [V, I] = D(e.defaultCredentialType ?? Ar(v)), [m, h] = D(!1), [k, z] = D(""), [C, L] = D(!1), [U, R] = D(e.defaultError ?? null), [X, W] = D(c === "verify" && v.length > 0 ? Date.now() + mt : null), [le, _e] = D(Date.now()), [T, P] = D(!1), [B, K] = D(!1), Ee = d(() => V() === "email" ? t("auth.email") : t("auth.phone"));
1980
1980
  te(xt(w, (F) => {
1981
1981
  if (F !== "verify") return;
1982
- const B = setInterval(() => _e(Date.now()), 1e3);
1983
- Se(() => clearInterval(B));
1984
- })), te(xt(L, (F) => {
1982
+ const q = setInterval(() => _e(Date.now()), 1e3);
1983
+ Se(() => clearInterval(q));
1984
+ })), te(xt(T, (F) => {
1985
1985
  if (!F) return;
1986
- const B = setTimeout(() => P(!1), io);
1987
- Se(() => clearTimeout(B));
1986
+ const q = setTimeout(() => P(!1), io);
1987
+ Se(() => clearTimeout(q));
1988
1988
  }));
1989
1989
  const Ve = d(() => {
1990
1990
  const F = X();
1991
1991
  return F ? Math.max(0, F - le()) : 0;
1992
- }), ke = d(() => Ve() > 0), qe = (F, B) => {
1993
- _(F), T(B), R(null);
1992
+ }), ke = d(() => Ve() > 0), Be = (F, q) => {
1993
+ _(F), I(q), R(null);
1994
1994
  }, N = async (F) => {
1995
- if (F?.preventDefault(), !(!m() || !y())) {
1996
- I(!0), R(null);
1995
+ if (F?.preventDefault(), !(!m() || !x())) {
1996
+ L(!0), R(null);
1997
1997
  try {
1998
- await e.onSubmit?.(y(), V()), b("verify"), W(Date.now() + mt);
1999
- } catch (B) {
2000
- R(B instanceof Error ? B.message : t("auth.sendFailed"));
1998
+ await e.onSubmit?.(x(), V()), b("verify"), W(Date.now() + mt);
1999
+ } catch (q) {
2000
+ R(q instanceof Error ? q.message : t("auth.sendFailed"));
2001
2001
  } finally {
2002
- I(!1);
2002
+ L(!1);
2003
2003
  }
2004
2004
  }
2005
2005
  }, G = (F) => {
2006
2006
  z(F), R(null);
2007
- }, me = async (F, B) => {
2007
+ }, me = async (F, q) => {
2008
2008
  F?.preventDefault();
2009
- const ce = B || k();
2009
+ const ce = q || k();
2010
2010
  if (!(!ce || ce.length < 6)) {
2011
- I(!0), R(null);
2011
+ L(!0), R(null);
2012
2012
  try {
2013
2013
  await e.onVerify?.(ce), b("success"), e.onSuccess?.();
2014
2014
  } catch (Ce) {
2015
2015
  R(Ce instanceof Error ? Ce.message : t("auth.invalidCode"));
2016
2016
  } finally {
2017
- I(!1);
2017
+ L(!1);
2018
2018
  }
2019
2019
  }
2020
2020
  }, ue = () => {
2021
2021
  b("credential"), z(""), R(null), W(null), P(!1);
2022
2022
  }, ve = async () => {
2023
- if (!(!y() || q())) {
2023
+ if (!(!x() || B())) {
2024
2024
  K(!0), R(null), z("");
2025
2025
  try {
2026
- await e.onSubmit?.(y(), V()), W(Date.now() + mt), _e(Date.now()), P(!0);
2026
+ await e.onSubmit?.(x(), V()), W(Date.now() + mt), _e(Date.now()), P(!0);
2027
2027
  } catch (F) {
2028
2028
  R(F instanceof Error ? F.message : t("auth.sendFailed"));
2029
2029
  } finally {
@@ -2041,10 +2041,10 @@ function Tr(e) {
2041
2041
  get children() {
2042
2042
  return [n(re, {
2043
2043
  get children() {
2044
- var F = Xa(), B = F.firstChild, ce = B.nextSibling;
2045
- return i(ce, () => t("auth.success")), A(() => M(B, $("ff:flex ff:h-12 ff:w-12 ff:items-center ff:justify-center ff:rounded-full", "ff:bg-success/10 ff:text-success"))), F;
2044
+ var F = Xa(), q = F.firstChild, ce = q.nextSibling;
2045
+ return i(ce, () => t("auth.success")), A(() => M(q, $("ff:flex ff:h-12 ff:w-12 ff:items-center ff:justify-center ff:rounded-full", "ff:bg-success/10 ff:text-success"))), F;
2046
2046
  }
2047
- }), n(x, {
2047
+ }), n(y, {
2048
2048
  get when() {
2049
2049
  return Y();
2050
2050
  },
@@ -2056,7 +2056,7 @@ function Tr(e) {
2056
2056
  });
2057
2057
  const be = (F) => {
2058
2058
  F.preventDefault(), w() === "credential" ? N(F) : me(F);
2059
- }, Ne = d(() => w() === "credential" ? o() : t("auth.verifyTitle"));
2059
+ }, Ne = d(() => w() === "credential" ? o() : t("auth.verify.title"));
2060
2060
  return n(ne, {
2061
2061
  get class() {
2062
2062
  return $("fanfare-auth-form", e.className);
@@ -2075,18 +2075,18 @@ function Tr(e) {
2075
2075
  }
2076
2076
  }), n(re, {
2077
2077
  get children() {
2078
- return [n(x, {
2078
+ return [n(y, {
2079
2079
  get when() {
2080
2080
  return e.countdownTo;
2081
2081
  },
2082
2082
  children: (F) => (() => {
2083
- var B = ro(), ce = B.firstChild;
2084
- return i(ce, () => t("time.opensIn")), i(B, n(ye, {
2083
+ var q = ro(), ce = q.firstChild;
2084
+ return i(ce, () => t("duration.opensIn")), i(q, n(ye, {
2085
2085
  get targetDate() {
2086
2086
  return F();
2087
2087
  },
2088
2088
  showDays: !1
2089
- }), null), B;
2089
+ }), null), q;
2090
2090
  })()
2091
2091
  }), (() => {
2092
2092
  var F = eo();
@@ -2096,31 +2096,31 @@ function Tr(e) {
2096
2096
  },
2097
2097
  mode: "fade",
2098
2098
  get children() {
2099
- return n(x, {
2099
+ return n(y, {
2100
2100
  get when() {
2101
2101
  return w() === "credential";
2102
2102
  },
2103
2103
  get fallback() {
2104
2104
  return [(() => {
2105
- var B = tr();
2106
- return i(B, Ne), B;
2107
- })(), n(x, {
2105
+ var q = rr();
2106
+ return i(q, Ne), q;
2107
+ })(), n(y, {
2108
2108
  get when() {
2109
- return y();
2109
+ return x();
2110
2110
  },
2111
2111
  get fallback() {
2112
2112
  return (() => {
2113
- var B = rr();
2114
- return i(B, () => t("auth.verifyDescription", {
2113
+ var q = nr();
2114
+ return i(q, () => t("auth.verify.description", {
2115
2115
  values: {
2116
2116
  type: Ee()
2117
2117
  }
2118
- })), B;
2118
+ })), q;
2119
2119
  })();
2120
2120
  },
2121
2121
  get children() {
2122
- var B = no(), ce = B.firstChild, Ce = ce.nextSibling;
2123
- return Ce.nextSibling, i(B, () => t("auth.sentTo"), ce), i(Ce, y), i(B, n(O, {
2122
+ var q = no(), ce = q.firstChild, Ce = ce.nextSibling;
2123
+ return Ce.nextSibling, i(q, () => t("auth.sentTo"), ce), i(Ce, x), i(q, n(O, {
2124
2124
  type: "button",
2125
2125
  variant: "link",
2126
2126
  size: "xs",
@@ -2131,35 +2131,35 @@ function Tr(e) {
2131
2131
  get children() {
2132
2132
  return t("auth.change");
2133
2133
  }
2134
- }), null), B;
2134
+ }), null), q;
2135
2135
  }
2136
2136
  })];
2137
2137
  },
2138
2138
  get children() {
2139
2139
  return [(() => {
2140
- var B = tr();
2141
- return i(B, Ne), B;
2140
+ var q = rr();
2141
+ return i(q, Ne), q;
2142
2142
  })(), (() => {
2143
- var B = rr();
2144
- return i(B, f), B;
2143
+ var q = nr();
2144
+ return i(q, f), q;
2145
2145
  })()];
2146
2146
  }
2147
2147
  });
2148
2148
  }
2149
2149
  })), F;
2150
2150
  })(), (() => {
2151
- var F = to(), B = F.firstChild;
2151
+ var F = to(), q = F.firstChild;
2152
2152
  return F.addEventListener("submit", be), i(F, n(Qe, {
2153
2153
  get transitionKey() {
2154
2154
  return w();
2155
2155
  },
2156
2156
  get children() {
2157
- return n(x, {
2157
+ return n(y, {
2158
2158
  get when() {
2159
2159
  return w() === "credential";
2160
2160
  },
2161
2161
  get fallback() {
2162
- return n(Nr, {
2162
+ return n(Ir, {
2163
2163
  get value() {
2164
2164
  return k();
2165
2165
  },
@@ -2177,11 +2177,11 @@ function Tr(e) {
2177
2177
  });
2178
2178
  },
2179
2179
  get children() {
2180
- return n(Ar, {
2180
+ return n(Nr, {
2181
2181
  get value() {
2182
- return y();
2182
+ return x();
2183
2183
  },
2184
- onValueChange: qe,
2184
+ onValueChange: Be,
2185
2185
  onValidChange: h,
2186
2186
  onSubmit: () => {
2187
2187
  N();
@@ -2197,26 +2197,26 @@ function Tr(e) {
2197
2197
  }
2198
2198
  });
2199
2199
  }
2200
- }), B), i(F, n(kt, {
2200
+ }), q), i(F, n(kt, {
2201
2201
  get show() {
2202
2202
  return w() === "verify";
2203
2203
  },
2204
2204
  get children() {
2205
2205
  return n(Qe, {
2206
2206
  get transitionKey() {
2207
- return L() ? "success" : "cooldown";
2207
+ return T() ? "success" : "cooldown";
2208
2208
  },
2209
2209
  mode: "fade",
2210
2210
  layout: !1,
2211
2211
  get children() {
2212
- return n(x, {
2212
+ return n(y, {
2213
2213
  get when() {
2214
- return L();
2214
+ return T();
2215
2215
  },
2216
2216
  get fallback() {
2217
2217
  return (() => {
2218
2218
  var ce = oo(), Ce = ce.firstChild;
2219
- return i(Ce, () => t("auth.didntGetIt")), i(ce, n(x, {
2219
+ return i(Ce, () => t("auth.didntGetIt")), i(ce, n(y, {
2220
2220
  get when() {
2221
2221
  return ke();
2222
2222
  },
@@ -2229,7 +2229,7 @@ function Tr(e) {
2229
2229
  ve();
2230
2230
  },
2231
2231
  get disabled() {
2232
- return q() || !y();
2232
+ return B() || !x();
2233
2233
  },
2234
2234
  get children() {
2235
2235
  return t("auth.resendCode");
@@ -2255,7 +2255,7 @@ function Tr(e) {
2255
2255
  }
2256
2256
  });
2257
2257
  }
2258
- }), B), i(F, n(kt, {
2258
+ }), q), i(F, n(kt, {
2259
2259
  get show() {
2260
2260
  return !!U();
2261
2261
  },
@@ -2267,14 +2267,14 @@ function Tr(e) {
2267
2267
  }
2268
2268
  });
2269
2269
  }
2270
- }), B), i(B, n(O, {
2270
+ }), q), i(q, n(O, {
2271
2271
  type: "submit",
2272
2272
  class: "ff:w-full",
2273
2273
  get disabled() {
2274
- return C() || q() || (w() === "credential" ? !m() : k().length < 6);
2274
+ return C() || B() || (w() === "credential" ? !m() : k().length < 6);
2275
2275
  },
2276
2276
  get children() {
2277
- return n(x, {
2277
+ return n(y, {
2278
2278
  get when() {
2279
2279
  return C();
2280
2280
  },
@@ -2288,7 +2288,7 @@ function Tr(e) {
2288
2288
  }
2289
2289
  });
2290
2290
  }
2291
- }), null), i(B, n(x, {
2291
+ }), null), i(q, n(y, {
2292
2292
  get when() {
2293
2293
  return Q(() => !!e.allowSkip)() && w() === "credential";
2294
2294
  },
@@ -2304,14 +2304,14 @@ function Tr(e) {
2304
2304
  return C();
2305
2305
  },
2306
2306
  get children() {
2307
- return t("common.skip");
2307
+ return t("action.skip");
2308
2308
  }
2309
2309
  });
2310
2310
  }
2311
2311
  }), null), F;
2312
2312
  })()];
2313
2313
  }
2314
- }), n(x, {
2314
+ }), n(y, {
2315
2315
  get when() {
2316
2316
  return Y();
2317
2317
  },
@@ -2322,7 +2322,7 @@ function Tr(e) {
2322
2322
  }
2323
2323
  });
2324
2324
  }
2325
- Tr.displayName = "AuthForm";
2325
+ Lr.displayName = "AuthForm";
2326
2326
  var so = /* @__PURE__ */ u("<div data-slot=skeleton>");
2327
2327
  const lo = de(["ff:animate-pulse ff:rounded-md", "ff:bg-secondary"], {
2328
2328
  variants: {
@@ -2337,7 +2337,7 @@ const lo = de(["ff:animate-pulse ff:rounded-md", "ff:bg-secondary"], {
2337
2337
  styleVariant: "default"
2338
2338
  }
2339
2339
  });
2340
- function Ir(e) {
2340
+ function Tr(e) {
2341
2341
  const t = $e(), [r, a] = Z(e, ["class", "className"]);
2342
2342
  return (() => {
2343
2343
  var o = so();
@@ -2350,12 +2350,12 @@ function Ir(e) {
2350
2350
  }, a), !1, !1), o;
2351
2351
  })();
2352
2352
  }
2353
- Ir.displayName = "Skeleton";
2353
+ Tr.displayName = "Skeleton";
2354
2354
  var co = /* @__PURE__ */ u('<div data-slot=access-code-form-heading><h2 class="ff:text-foreground ff:text-xl ff:font-semibold"></h2><p class="ff:text-muted-foreground ff:text-xs">'), uo = /* @__PURE__ */ u('<form class="ff:flex ff:flex-1 ff:flex-col ff:gap-5"><div class="ff:mt-auto ff:flex ff:flex-col ff:gap-2">'), go = /* @__PURE__ */ u('<div data-slot=access-code-form-countdown class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">');
2355
- function Lr(e) {
2355
+ function Mr(e) {
2356
2356
  const {
2357
2357
  t
2358
- } = fe(), [r] = Z(e, ["onSubmit", "onSkip", "variant", "label", "title", "description", "countdownTo", "submitLabel", "allowSkip", "autoUppercase", "defaultError", "class", "className"]), a = d(() => r.label ?? t("accessCode.badgeLabel")), o = d(() => r.variant ?? "secondary"), f = d(() => r.title ?? t("accessCode.title")), s = d(() => r.description ?? t("accessCode.description")), l = d(() => r.submitLabel ?? t("accessCode.submit")), [c, v] = D(""), [w, b] = D(!1), [y, _] = D(r.defaultError ?? null), V = d(() => !!c().trim() && !w()), T = async (m) => {
2358
+ } = fe(), [r] = Z(e, ["onSubmit", "onSkip", "variant", "label", "title", "description", "countdownTo", "submitLabel", "allowSkip", "autoUppercase", "defaultError", "class", "className"]), a = d(() => r.label ?? t("accessCode.badgeLabel")), o = d(() => r.variant ?? "secondary"), f = d(() => r.title ?? t("accessCode.title")), s = d(() => r.description ?? t("accessCode.description")), l = d(() => r.submitLabel ?? t("accessCode.submit")), [c, v] = D(""), [w, b] = D(!1), [x, _] = D(r.defaultError ?? null), V = d(() => !!c().trim() && !w()), I = async (m) => {
2359
2359
  if (m?.preventDefault(), !!c().trim()) {
2360
2360
  b(!0), _(null);
2361
2361
  try {
@@ -2382,13 +2382,13 @@ function Lr(e) {
2382
2382
  }
2383
2383
  }), n(re, {
2384
2384
  get children() {
2385
- return [n(x, {
2385
+ return [n(y, {
2386
2386
  get when() {
2387
2387
  return r.countdownTo;
2388
2388
  },
2389
2389
  children: (m) => (() => {
2390
2390
  var h = go(), k = h.firstChild;
2391
- return i(k, () => t("time.opensIn")), i(h, n(ye, {
2391
+ return i(k, () => t("duration.opensIn")), i(h, n(ye, {
2392
2392
  get targetDate() {
2393
2393
  return m();
2394
2394
  },
@@ -2401,8 +2401,8 @@ function Lr(e) {
2401
2401
  })(), (() => {
2402
2402
  var m = uo(), h = m.firstChild;
2403
2403
  return m.addEventListener("submit", (k) => {
2404
- T(k);
2405
- }), i(m, n($r, {
2404
+ I(k);
2405
+ }), i(m, n(Cr, {
2406
2406
  get value() {
2407
2407
  return c();
2408
2408
  },
@@ -2410,10 +2410,10 @@ function Lr(e) {
2410
2410
  v(k), _(null);
2411
2411
  },
2412
2412
  onSubmit: () => {
2413
- T();
2413
+ I();
2414
2414
  },
2415
2415
  get hasError() {
2416
- return !!y();
2416
+ return !!x();
2417
2417
  },
2418
2418
  get autoUppercase() {
2419
2419
  return r.autoUppercase ?? !0;
@@ -2422,9 +2422,9 @@ function Lr(e) {
2422
2422
  get disabled() {
2423
2423
  return w();
2424
2424
  }
2425
- }), h), i(m, n(x, {
2425
+ }), h), i(m, n(y, {
2426
2426
  get when() {
2427
- return y();
2427
+ return x();
2428
2428
  },
2429
2429
  children: (k) => n(De, {
2430
2430
  tone: "danger",
@@ -2456,7 +2456,7 @@ function Lr(e) {
2456
2456
  return w();
2457
2457
  },
2458
2458
  get children() {
2459
- return t("common.skip");
2459
+ return t("action.skip");
2460
2460
  }
2461
2461
  });
2462
2462
  })(), null), m;
@@ -2466,7 +2466,7 @@ function Lr(e) {
2466
2466
  }
2467
2467
  });
2468
2468
  }
2469
- Lr.displayName = "AccessCodeForm";
2469
+ Mr.displayName = "AccessCodeForm";
2470
2470
  var ho = /* @__PURE__ */ u('<div data-slot=challenge-gate-heading><h2 class="ff:text-foreground ff:text-xl ff:font-semibold"></h2><p class="ff:text-muted-foreground ff:text-xs">'), mo = /* @__PURE__ */ u('<div data-slot=challenge-gate-countdown class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">'), vo = /* @__PURE__ */ u('<div class="ff:absolute ff:inset-0 ff:flex ff:items-center ff:justify-center ff:bg-background/60">'), po = /* @__PURE__ */ u('<div class="ff:absolute ff:inset-0 ff:flex ff:items-center ff:justify-center ff:bg-background/70">'), wo = /* @__PURE__ */ u('<div class="ff:relative ff:w-full ff:rounded-md ff:border ff:border-border ff:bg-background ff:overflow-hidden"><iframe class="ff:block ff:w-full"sandbox="allow-scripts allow-forms allow-same-origin"referrerpolicy=no-referrer>');
2471
2471
  function bo(e) {
2472
2472
  if (!e || typeof e != "object") return !1;
@@ -2494,46 +2494,46 @@ function yo(e, t) {
2494
2494
  return r.toLocaleString();
2495
2495
  }
2496
2496
  }
2497
- function Mr(e) {
2497
+ function Rr(e) {
2498
2498
  const {
2499
2499
  t,
2500
2500
  locale: r
2501
- } = fe(), [a] = Z(e, ["challenge", "botMitigation", "onVerifyToken", "onRetry", "variant", "label", "title", "description", "countdownTo", "retryLabel", "class", "className"]), [o, f] = D(0), [s, l] = D(!1), [c, v] = D(!1), [w, b] = D(null), [y, _] = D(!1), [V, T] = D("reload"), [m, h] = D(Date.now()), k = d(() => {
2502
- const L = a.challenge?.iframeUrl;
2503
- if (!L) return null;
2501
+ } = fe(), [a] = Z(e, ["challenge", "botMitigation", "onVerifyToken", "onRetry", "variant", "label", "title", "description", "countdownTo", "retryLabel", "class", "className"]), [o, f] = D(0), [s, l] = D(!1), [c, v] = D(!1), [w, b] = D(null), [x, _] = D(!1), [V, I] = D("reload"), [m, h] = D(Date.now()), k = d(() => {
2502
+ const T = a.challenge?.iframeUrl;
2503
+ if (!T) return null;
2504
2504
  try {
2505
- return new URL(L).origin;
2505
+ return new URL(T).origin;
2506
2506
  } catch {
2507
2507
  return null;
2508
2508
  }
2509
2509
  }), z = d(() => {
2510
- const L = a.challenge?.iframeUrl;
2511
- if (!L) return null;
2510
+ const T = a.challenge?.iframeUrl;
2511
+ if (!T) return null;
2512
2512
  try {
2513
- const P = new URL(L);
2513
+ const P = new URL(T);
2514
2514
  return P.searchParams.set("_t", String(o())), P.toString();
2515
2515
  } catch {
2516
2516
  return null;
2517
2517
  }
2518
2518
  });
2519
2519
  te(() => {
2520
- const L = a.botMitigation?.blockedUntil, P = Date.now();
2521
- if (h(P), !L) return;
2522
- const q = Date.parse(L);
2523
- if (!Number.isFinite(q) || q <= P) return;
2524
- const K = window.setTimeout(() => h(Date.now()), Math.min(q - P + 1, 2147483647));
2520
+ const T = a.botMitigation?.blockedUntil, P = Date.now();
2521
+ if (h(P), !T) return;
2522
+ const B = Date.parse(T);
2523
+ if (!Number.isFinite(B) || B <= P) return;
2524
+ const K = window.setTimeout(() => h(Date.now()), Math.min(B - P + 1, 2147483647));
2525
2525
  Se(() => window.clearTimeout(K));
2526
2526
  });
2527
- const C = d(() => xo(a.botMitigation, m())), I = d(() => typeof a.botMitigation?.attemptsRemaining == "number" ? a.botMitigation.attemptsRemaining : void 0);
2527
+ const C = d(() => xo(a.botMitigation, m())), L = d(() => typeof a.botMitigation?.attemptsRemaining == "number" ? a.botMitigation.attemptsRemaining : void 0);
2528
2528
  te(xt(() => a.challenge?.id, () => {
2529
- f(0), l(!1), v(!1), b(null), _(!1), T("reload");
2529
+ f(0), l(!1), v(!1), b(null), _(!1), I("reload");
2530
2530
  })), te(() => {
2531
- y() && a.botMitigation?.message && b(a.botMitigation.message);
2531
+ x() && a.botMitigation?.message && b(a.botMitigation.message);
2532
2532
  }), te(() => {
2533
- const L = a.challenge?.id, P = k();
2534
- if (!L || !P) return;
2535
- const q = (K) => {
2536
- if (K.origin !== P || !bo(K.data) || K.data.challengeId !== L) return;
2533
+ const T = a.challenge?.id, P = k();
2534
+ if (!T || !P) return;
2535
+ const B = (K) => {
2536
+ if (K.origin !== P || !bo(K.data) || K.data.challengeId !== T) return;
2537
2537
  if (K.data.kind === "fanfare:challenge:turnstile") {
2538
2538
  _(!0), v(!0), b(null), (async () => {
2539
2539
  try {
@@ -2549,24 +2549,24 @@ function Mr(e) {
2549
2549
  _(!0);
2550
2550
  const Ee = typeof K.data.reason == "string" ? K.data.reason : void 0, Ve = typeof K.data.message == "string" ? K.data.message : void 0;
2551
2551
  if (Ee === "challenge_expired" || Ee === "challenge_not_found") {
2552
- T("reroute"), b(Ve ?? (K.data.kind === "fanfare:challenge:turnstile_expired" ? t("challenge.expiredRefresh") : t("challenge.errorRefresh")));
2552
+ I("reroute"), b(Ve ?? (K.data.kind === "fanfare:challenge:turnstile_expired" ? t("challenge.expiredRefresh") : t("challenge.errorRefresh")));
2553
2553
  return;
2554
2554
  }
2555
- if (T("reload"), K.data.kind === "fanfare:challenge:turnstile_expired") {
2555
+ if (I("reload"), K.data.kind === "fanfare:challenge:turnstile_expired") {
2556
2556
  b(Ve ?? t("challenge.expiredRetry")), f((ke) => ke + 1), l(!1);
2557
2557
  return;
2558
2558
  }
2559
2559
  b(Ve ?? t("challenge.errorRetry")), f((ke) => ke + 1), l(!1);
2560
2560
  };
2561
- window.addEventListener("message", q), Se(() => window.removeEventListener("message", q));
2561
+ window.addEventListener("message", B), Se(() => window.removeEventListener("message", B));
2562
2562
  });
2563
2563
  const U = d(() => a.title ?? t("challenge.title")), R = d(() => a.description ?? t("challenge.description")), X = d(() => a.retryLabel ?? t("challenge.retry")), W = d(() => a.label ?? t("challenge.badgeLabel")), le = d(() => a.variant ?? "default"), _e = () => {
2564
- const L = V(), P = I(), q = z();
2565
- if (b(null), _(!1), a.onRetry && (L === "reroute" || !q || typeof P == "number" && P <= 0)) {
2564
+ const T = V(), P = L(), B = z();
2565
+ if (b(null), _(!1), a.onRetry && (T === "reroute" || !B || typeof P == "number" && P <= 0)) {
2566
2566
  a.onRetry();
2567
2567
  return;
2568
2568
  }
2569
- T("reload"), f((K) => K + 1), l(!1);
2569
+ I("reload"), f((K) => K + 1), l(!1);
2570
2570
  };
2571
2571
  return n(ne, {
2572
2572
  get class() {
@@ -2583,28 +2583,28 @@ function Mr(e) {
2583
2583
  }
2584
2584
  }), n(re, {
2585
2585
  get children() {
2586
- return [n(x, {
2586
+ return [n(y, {
2587
2587
  get when() {
2588
2588
  return a.countdownTo;
2589
2589
  },
2590
- children: (L) => (() => {
2591
- var P = mo(), q = P.firstChild;
2592
- return i(q, () => t("time.opensIn")), i(P, n(ye, {
2590
+ children: (T) => (() => {
2591
+ var P = mo(), B = P.firstChild;
2592
+ return i(B, () => t("duration.opensIn")), i(P, n(ye, {
2593
2593
  get targetDate() {
2594
- return L();
2594
+ return T();
2595
2595
  },
2596
2596
  showDays: !1
2597
2597
  }), null), P;
2598
2598
  })()
2599
2599
  }), (() => {
2600
- var L = ho(), P = L.firstChild, q = P.nextSibling;
2601
- return i(P, U), i(q, R), L;
2602
- })(), n(x, {
2600
+ var T = ho(), P = T.firstChild, B = P.nextSibling;
2601
+ return i(P, U), i(B, R), T;
2602
+ })(), n(y, {
2603
2603
  get when() {
2604
2604
  return C().blocked;
2605
2605
  },
2606
2606
  get fallback() {
2607
- return n(x, {
2607
+ return n(y, {
2608
2608
  get when() {
2609
2609
  return !!z();
2610
2610
  },
@@ -2617,34 +2617,34 @@ function Mr(e) {
2617
2617
  });
2618
2618
  },
2619
2619
  get children() {
2620
- var L = wo(), P = L.firstChild;
2621
- return i(L, n(x, {
2620
+ var T = wo(), P = T.firstChild;
2621
+ return i(T, n(y, {
2622
2622
  get when() {
2623
2623
  return !s();
2624
2624
  },
2625
2625
  get children() {
2626
- var q = vo();
2627
- return i(q, n(Ae, {
2626
+ var B = vo();
2627
+ return i(B, n(Ae, {
2628
2628
  size: "lg"
2629
- })), q;
2629
+ })), B;
2630
2630
  }
2631
- }), P), i(L, n(x, {
2631
+ }), P), i(T, n(y, {
2632
2632
  get when() {
2633
2633
  return c();
2634
2634
  },
2635
2635
  get children() {
2636
- var q = po();
2637
- return i(q, n(Ae, {
2636
+ var B = po();
2637
+ return i(B, n(Ae, {
2638
2638
  size: "lg"
2639
- })), q;
2639
+ })), B;
2640
2640
  }
2641
- }), P), P.addEventListener("load", () => l(!0)), bt(P, "height", "120px"), bt(P, "border", "0"), A((q) => {
2641
+ }), P), P.addEventListener("load", () => l(!0)), bt(P, "height", "120px"), bt(P, "border", "0"), A((B) => {
2642
2642
  var K = t("challenge.iframeTitle"), Ee = z() ?? void 0;
2643
- return K !== q.e && H(P, "title", q.e = K), Ee !== q.t && H(P, "src", q.t = Ee), q;
2643
+ return K !== B.e && H(P, "title", B.e = K), Ee !== B.t && H(P, "src", B.t = Ee), B;
2644
2644
  }, {
2645
2645
  e: void 0,
2646
2646
  t: void 0
2647
- }), L;
2647
+ }), T;
2648
2648
  }
2649
2649
  });
2650
2650
  },
@@ -2663,24 +2663,24 @@ function Mr(e) {
2663
2663
  }
2664
2664
  });
2665
2665
  }
2666
- }), n(x, {
2666
+ }), n(y, {
2667
2667
  get when() {
2668
2668
  return w();
2669
2669
  },
2670
- children: (L) => n(De, {
2670
+ children: (T) => n(De, {
2671
2671
  tone: "danger",
2672
2672
  get title() {
2673
- return L();
2673
+ return T();
2674
2674
  },
2675
2675
  get description() {
2676
- return Q(() => I() !== void 0)() ? t("challenge.attemptsRemaining", {
2676
+ return Q(() => L() !== void 0)() ? t("challenge.attemptsRemaining", {
2677
2677
  values: {
2678
- count: I() ?? 0
2678
+ count: L() ?? 0
2679
2679
  }
2680
2680
  }) : void 0;
2681
2681
  }
2682
2682
  })
2683
- }), n(x, {
2683
+ }), n(y, {
2684
2684
  get when() {
2685
2685
  return !C().blocked;
2686
2686
  },
@@ -2703,9 +2703,9 @@ function Mr(e) {
2703
2703
  }
2704
2704
  });
2705
2705
  }
2706
- Mr.displayName = "ChallengeGate";
2706
+ Rr.displayName = "ChallengeGate";
2707
2707
  var ko = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), _o = /* @__PURE__ */ u("<div>"), $o = /* @__PURE__ */ u('<p class="ff:text-xs ff:text-muted">');
2708
- function Rr(e) {
2708
+ function zr(e) {
2709
2709
  const {
2710
2710
  t,
2711
2711
  locale: r
@@ -2735,7 +2735,7 @@ function Rr(e) {
2735
2735
  return [(() => {
2736
2736
  var l = ko();
2737
2737
  return i(l, o), l;
2738
- })(), n(x, {
2738
+ })(), n(y, {
2739
2739
  get when() {
2740
2740
  return f();
2741
2741
  },
@@ -2749,7 +2749,7 @@ function Rr(e) {
2749
2749
  })()
2750
2750
  })];
2751
2751
  }
2752
- }), n(x, {
2752
+ }), n(y, {
2753
2753
  get when() {
2754
2754
  return Q(() => !!e.ctaLabel)() && e.onCtaClick;
2755
2755
  },
@@ -2772,12 +2772,12 @@ function Rr(e) {
2772
2772
  })), A(() => M(s, se("fadeIn"))), s;
2773
2773
  })();
2774
2774
  }
2775
- Rr.displayName = "EndedModule";
2775
+ zr.displayName = "EndedModule";
2776
2776
  var Co = /* @__PURE__ */ u("<div>");
2777
2777
  function Ge(e) {
2778
2778
  const {
2779
2779
  t
2780
- } = fe(), r = $e(), [a] = Z(e, ["error", "onRetry", "title", "label", "info", "ctaLabel", "class", "className"]), [o, f] = D(!1), s = d(() => a.error instanceof Error ? a.error.message : a.error), l = d(() => a.label ?? t("error.label")), c = d(() => a.title ?? t("error.title")), v = d(() => s() ?? t("error.description")), w = d(() => a.ctaLabel ?? t("error.retry")), b = d(() => Vr(r())), y = async () => {
2780
+ } = fe(), r = $e(), [a] = Z(e, ["error", "onRetry", "title", "label", "info", "ctaLabel", "class", "className"]), [o, f] = D(!1), s = d(() => a.error instanceof Error ? a.error.message : a.error), l = d(() => a.label ?? t("error.label")), c = d(() => a.title ?? t("error.title")), v = d(() => s() ?? t("error.description")), w = d(() => a.ctaLabel ?? t("error.retry")), b = d(() => Dr(r())), x = async () => {
2781
2781
  if (a.onRetry) {
2782
2782
  f(!0);
2783
2783
  try {
@@ -2811,7 +2811,7 @@ function Ge(e) {
2811
2811
  get description() {
2812
2812
  return v();
2813
2813
  }
2814
- }), n(x, {
2814
+ }), n(y, {
2815
2815
  get when() {
2816
2816
  return a.info;
2817
2817
  },
@@ -2822,7 +2822,7 @@ function Ge(e) {
2822
2822
  }
2823
2823
  });
2824
2824
  }
2825
- }), n(x, {
2825
+ }), n(y, {
2826
2826
  get when() {
2827
2827
  return a.onRetry;
2828
2828
  },
@@ -2830,7 +2830,7 @@ function Ge(e) {
2830
2830
  return n(O, {
2831
2831
  class: "ff:mt-auto",
2832
2832
  onClick: () => {
2833
- y();
2833
+ x();
2834
2834
  },
2835
2835
  get loading() {
2836
2836
  return o();
@@ -2902,7 +2902,7 @@ function Vo(e) {
2902
2902
  Eo(a, o);
2903
2903
  });
2904
2904
  }
2905
- var Do = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1">'), Ao = /* @__PURE__ */ u("<div>"), No = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), To = /* @__PURE__ */ u('<span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">');
2905
+ var Do = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1">'), Ao = /* @__PURE__ */ u("<div>"), No = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), Io = /* @__PURE__ */ u('<span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">');
2906
2906
  function et(e) {
2907
2907
  const {
2908
2908
  t
@@ -2926,7 +2926,7 @@ function et(e) {
2926
2926
  get children() {
2927
2927
  return [(() => {
2928
2928
  var f = Do();
2929
- return ft(a, f), i(f, n(x, {
2929
+ return ft(a, f), i(f, n(y, {
2930
2930
  get when() {
2931
2931
  return e.expiresAt;
2932
2932
  },
@@ -2937,8 +2937,8 @@ function et(e) {
2937
2937
  })();
2938
2938
  },
2939
2939
  children: (s) => [(() => {
2940
- var l = To();
2941
- return i(l, () => t("granted.timeRemaining")), l;
2940
+ var l = Io();
2941
+ return i(l, () => t("duration.timeRemaining")), l;
2942
2942
  })(), n(ye, {
2943
2943
  get targetDate() {
2944
2944
  return s();
@@ -2962,8 +2962,8 @@ function et(e) {
2962
2962
  })();
2963
2963
  }
2964
2964
  et.displayName = "GrantedPanel";
2965
- var Io = /* @__PURE__ */ u("<div data-slot=journey-gate role=status aria-live=polite aria-busy=true>"), nr = /* @__PURE__ */ u("<div data-slot=journey-gate>");
2966
- function zr(e) {
2965
+ var Lo = /* @__PURE__ */ u("<div data-slot=journey-gate role=status aria-live=polite aria-busy=true>"), ar = /* @__PURE__ */ u("<div data-slot=journey-gate>");
2966
+ function Br(e) {
2967
2967
  return n(Re, {
2968
2968
  get children() {
2969
2969
  return [n(J, {
@@ -2978,7 +2978,7 @@ function zr(e) {
2978
2978
  return e.stage === "loading";
2979
2979
  },
2980
2980
  get children() {
2981
- var t = Io();
2981
+ var t = Lo();
2982
2982
  return i(t, n(Ae, {
2983
2983
  size: "lg",
2984
2984
  class: "ff:text-primary"
@@ -2989,8 +2989,8 @@ function zr(e) {
2989
2989
  return e.stage === "auth";
2990
2990
  },
2991
2991
  get children() {
2992
- var t = nr();
2993
- return i(t, n(Tr, {
2992
+ var t = ar();
2993
+ return i(t, n(Lr, {
2994
2994
  get title() {
2995
2995
  return e.authTitle;
2996
2996
  },
@@ -3022,8 +3022,8 @@ function zr(e) {
3022
3022
  return e.stage === "access_code";
3023
3023
  },
3024
3024
  get children() {
3025
- var t = nr();
3026
- return i(t, n(Lr, {
3025
+ var t = ar();
3026
+ return i(t, n(Mr, {
3027
3027
  get title() {
3028
3028
  return e.accessCodeTitle;
3029
3029
  },
@@ -3048,38 +3048,38 @@ function zr(e) {
3048
3048
  }
3049
3049
  });
3050
3050
  }
3051
- zr.displayName = "JourneyGate";
3052
- var Lo = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), Mo = /* @__PURE__ */ u("<div>");
3051
+ Br.displayName = "JourneyGate";
3052
+ var To = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), Mo = /* @__PURE__ */ u("<div>");
3053
3053
  const Ro = {
3054
- queue: "expired.reenter.queue",
3055
- draw: "expired.reenter.draw",
3056
- auction: "expired.reenter.auction",
3057
- timed_release: "expired.reenter.timedRelease",
3058
- appointment: "expired.reenter.appointment"
3059
- }, ar = {
3054
+ queue: "outcome.reenter.queue",
3055
+ draw: "outcome.reenter.draw",
3056
+ auction: "outcome.reenter.auction",
3057
+ timed_release: "outcome.reenter.timedRelease",
3058
+ appointment: "outcome.reenter.appointment"
3059
+ }, or = {
3060
3060
  expired: {
3061
- title: "expired.title",
3062
- body: "expired.description",
3061
+ title: "outcome.expired.title",
3062
+ body: "outcome.expired.description",
3063
3063
  variant: "outline"
3064
3064
  },
3065
3065
  not_selected: {
3066
- title: "draw.notSelected",
3067
- body: "common.betterLuck",
3066
+ title: "outcome.notSelected.title",
3067
+ body: "outcome.notSelected.description",
3068
3068
  variant: "outline"
3069
3069
  },
3070
3070
  sold_out: {
3071
- title: "ended.title",
3072
- body: "ended.message",
3071
+ title: "outcome.soldOut.title",
3072
+ body: "outcome.soldOut.description",
3073
3073
  variant: "outline"
3074
3074
  },
3075
3075
  outbid: {
3076
- title: "auction.outbid",
3077
- body: "auction.outbidMessage",
3076
+ title: "auction.outbid.title",
3077
+ body: "auction.outbid.message",
3078
3078
  variant: "outline"
3079
3079
  },
3080
3080
  reserve_not_met: {
3081
- title: "ended.title",
3082
- body: "ended.message",
3081
+ title: "outcome.closed.title",
3082
+ body: "outcome.closed.description",
3083
3083
  variant: "outline"
3084
3084
  },
3085
3085
  completed: {
@@ -3088,15 +3088,15 @@ const Ro = {
3088
3088
  variant: "success"
3089
3089
  },
3090
3090
  ended: {
3091
- title: "ended.title",
3092
- body: "ended.message",
3091
+ title: "outcome.closed.title",
3092
+ body: "outcome.closed.description",
3093
3093
  variant: "outline"
3094
3094
  }
3095
3095
  };
3096
3096
  function je(e) {
3097
3097
  const {
3098
3098
  t
3099
- } = fe(), r = () => e.outcomeReason === "expired", a = () => ar[e.outcomeReason] ?? ar.ended, o = () => r() && typeof e.onReenter == "function", f = () => t(e.participationType ? Ro[e.participationType] : "expired.reenter");
3099
+ } = fe(), r = () => e.outcomeReason === "expired", a = () => or[e.outcomeReason] ?? or.ended, o = () => r() && typeof e.onReenter == "function", f = () => t(e.participationType ? Ro[e.participationType] : "outcome.reenter");
3100
3100
  return (() => {
3101
3101
  var s = Mo();
3102
3102
  return i(s, n(ne, {
@@ -3120,10 +3120,10 @@ function je(e) {
3120
3120
  get children() {
3121
3121
  return [n(we, {
3122
3122
  get children() {
3123
- var l = Lo();
3123
+ var l = To();
3124
3124
  return i(l, () => t(a().body)), l;
3125
3125
  }
3126
- }), n(x, {
3126
+ }), n(y, {
3127
3127
  get when() {
3128
3128
  return o();
3129
3129
  },
@@ -3152,8 +3152,8 @@ function je(e) {
3152
3152
  })();
3153
3153
  }
3154
3154
  je.displayName = "OutcomePanel";
3155
- var zo = /* @__PURE__ */ u("<div data-slot=loading-view role=status aria-live=polite aria-busy=true><div>"), qo = /* @__PURE__ */ u("<p>");
3156
- const Bo = de("ff:flex ff:items-center ff:justify-center", {
3155
+ var zo = /* @__PURE__ */ u("<div data-slot=loading-view role=status aria-live=polite aria-busy=true><div>"), Bo = /* @__PURE__ */ u("<p>");
3156
+ const qo = de("ff:flex ff:items-center ff:justify-center", {
3157
3157
  variants: {
3158
3158
  styleVariant: {
3159
3159
  default: "ff:w-16 ff:h-16 ff:rounded-full ff:bg-primary/5",
@@ -3179,7 +3179,7 @@ const Bo = de("ff:flex ff:items-center ff:justify-center", {
3179
3179
  }
3180
3180
  });
3181
3181
  function _t(e) {
3182
- const t = $e(), [r] = Z(e, ["message", "class", "className"]), a = d(() => Vr(t())), o = d(() => t() === "clean" ? "md" : "lg");
3182
+ const t = $e(), [r] = Z(e, ["message", "class", "className"]), a = d(() => Dr(t())), o = d(() => t() === "clean" ? "md" : "lg");
3183
3183
  return (() => {
3184
3184
  var f = zo(), s = f.firstChild;
3185
3185
  return i(s, n(Ae, {
@@ -3189,13 +3189,13 @@ function _t(e) {
3189
3189
  })), i(f, (() => {
3190
3190
  var l = Q(() => !!r.message);
3191
3191
  return () => l() && (() => {
3192
- var c = qo();
3192
+ var c = Bo();
3193
3193
  return i(c, () => r.message), A(() => M(c, $(Fo({
3194
3194
  styleVariant: t()
3195
3195
  })))), c;
3196
3196
  })();
3197
3197
  })(), null), A((l) => {
3198
- var c = $(a(), "ff:flex ff:flex-col ff:items-center ff:justify-center ff:py-12", r.class, r.className), v = $(Bo({
3198
+ var c = $(a(), "ff:flex ff:flex-col ff:items-center ff:justify-center ff:py-12", r.class, r.className), v = $(qo({
3199
3199
  styleVariant: t()
3200
3200
  }));
3201
3201
  return c !== l.e && M(f, l.e = c), v !== l.t && M(s, l.t = v), l;
@@ -3234,20 +3234,20 @@ function qr(e) {
3234
3234
  }
3235
3235
  }), n(re, {
3236
3236
  get children() {
3237
- return [n(x, {
3237
+ return [n(y, {
3238
3238
  get when() {
3239
3239
  return e.countdownTo;
3240
3240
  },
3241
3241
  children: (a) => (() => {
3242
3242
  var o = jo(), f = o.firstChild;
3243
- return i(f, () => t("time.opensIn")), i(o, n(ye, {
3243
+ return i(f, () => t("duration.opensIn")), i(o, n(ye, {
3244
3244
  get targetDate() {
3245
3245
  return a();
3246
3246
  },
3247
3247
  showDays: !1
3248
3248
  }), null), o;
3249
3249
  })()
3250
- }), n(x, {
3250
+ }), n(y, {
3251
3251
  get when() {
3252
3252
  return e.info;
3253
3253
  },
@@ -3281,10 +3281,10 @@ function qr(e) {
3281
3281
  }
3282
3282
  qr.displayName = "StartView";
3283
3283
  var Uo = /* @__PURE__ */ u("<div>"), Oo = /* @__PURE__ */ u('<p class="ff:text-muted ff:text-xxs ff:font-heading ff:uppercase ff:tracking-widest">');
3284
- function Br(e) {
3284
+ function Fr(e) {
3285
3285
  const {
3286
3286
  t
3287
- } = fe(), [r] = Z(e, ["title", "description", "startsAt", "onCountdownComplete", "onLeave", "isLeaving", "class", "className"]), a = d(() => r.title ?? t("waitlist.enteredTitle")), o = d(() => r.description ?? t("waitlist.enteredDescription")), f = d(() => t("time.opensIn")), s = d(() => r.startsAt ? r.startsAt instanceof Date ? r.startsAt : new Date(r.startsAt) : null);
3287
+ } = fe(), [r] = Z(e, ["title", "description", "startsAt", "onCountdownComplete", "onLeave", "isLeaving", "class", "className"]), a = d(() => r.title ?? t("waitlist.entered.title")), o = d(() => r.description ?? t("waitlist.entered.description")), f = d(() => t("duration.opensIn")), s = d(() => r.startsAt ? r.startsAt instanceof Date ? r.startsAt : new Date(r.startsAt) : null);
3288
3288
  return (() => {
3289
3289
  var l = Uo();
3290
3290
  return i(l, n(ne, {
@@ -3303,7 +3303,7 @@ function Br(e) {
3303
3303
  }
3304
3304
  }), n(re, {
3305
3305
  get children() {
3306
- return [n(x, {
3306
+ return [n(y, {
3307
3307
  get when() {
3308
3308
  return s();
3309
3309
  },
@@ -3320,12 +3320,12 @@ function Br(e) {
3320
3320
  return r.onCountdownComplete;
3321
3321
  },
3322
3322
  get expiredLabel() {
3323
- return t("countdown.startingSoon");
3323
+ return t("duration.startingSoon");
3324
3324
  }
3325
3325
  })];
3326
3326
  }
3327
3327
  })
3328
- }), n(x, {
3328
+ }), n(y, {
3329
3329
  get when() {
3330
3330
  return r.onLeave;
3331
3331
  },
@@ -3354,11 +3354,11 @@ function Br(e) {
3354
3354
  })), A(() => M(l, se("fadeIn"))), l;
3355
3355
  })();
3356
3356
  }
3357
- Br.displayName = "WaitlistView";
3357
+ Fr.displayName = "WaitlistView";
3358
3358
  function Wo(e, t) {
3359
3359
  return Ko(e, { hour: "numeric", minute: "2-digit", timeZone: t });
3360
3360
  }
3361
- function Fr(e) {
3361
+ function Pr(e) {
3362
3362
  if (!e.startTime) return e.id;
3363
3363
  const t = Wo(e.startTime, e.timezone);
3364
3364
  return t === e.startTime ? e.id : t;
@@ -3426,8 +3426,8 @@ function Xo(e) {
3426
3426
  return o.$$click = () => {
3427
3427
  r.isClosed || e.onSelect(r.date);
3428
3428
  }, i(f, () => r.weekdayLabel), i(s, () => r.dayNumber), A((c) => {
3429
- var v = a(), w = r.isClosed, b = r.isClosed, y = $("ff:flex ff:shrink-0 ff:flex-col ff:items-center ff:rounded ff:px-2 ff:py-1 ff:transition-colors", a() ? "ff:bg-primary ff:text-primary-foreground" : r.isClosed ? "ff:cursor-not-allowed ff:bg-transparent ff:opacity-40" : "ff:bg-transparent ff:text-foreground ff:hover:bg-secondary"), _ = $("ff:mt-0.5 ff:size-1 ff:rounded-full", r.hasAvailability ? a() ? "ff:bg-primary-foreground" : "ff:bg-success" : "ff:bg-transparent");
3430
- return v !== c.e && H(o, "aria-selected", c.e = v), w !== c.t && H(o, "aria-disabled", c.t = w), b !== c.a && (o.disabled = c.a = b), y !== c.o && M(o, c.o = y), _ !== c.i && M(l, c.i = _), c;
3429
+ var v = a(), w = r.isClosed, b = r.isClosed, x = $("ff:flex ff:shrink-0 ff:flex-col ff:items-center ff:rounded ff:px-2 ff:py-1 ff:transition-colors", a() ? "ff:bg-primary ff:text-primary-foreground" : r.isClosed ? "ff:cursor-not-allowed ff:bg-transparent ff:opacity-40" : "ff:bg-transparent ff:text-foreground ff:hover:bg-secondary"), _ = $("ff:mt-0.5 ff:size-1 ff:rounded-full", r.hasAvailability ? a() ? "ff:bg-primary-foreground" : "ff:bg-success" : "ff:bg-transparent");
3430
+ return v !== c.e && H(o, "aria-selected", c.e = v), w !== c.t && H(o, "aria-disabled", c.t = w), b !== c.a && (o.disabled = c.a = b), x !== c.o && M(o, c.o = x), _ !== c.i && M(l, c.i = _), c;
3431
3431
  }, {
3432
3432
  e: void 0,
3433
3433
  t: void 0,
@@ -3464,7 +3464,7 @@ function ii(e) {
3464
3464
  const {
3465
3465
  t
3466
3466
  } = fe();
3467
- return n(x, {
3467
+ return n(y, {
3468
3468
  get when() {
3469
3469
  return !e.isLoading;
3470
3470
  },
@@ -3477,14 +3477,14 @@ function ii(e) {
3477
3477
  length: oi
3478
3478
  });
3479
3479
  },
3480
- children: () => n(Ir, {
3480
+ children: () => n(Tr, {
3481
3481
  class: "ff:h-8 ff:w-full"
3482
3482
  })
3483
3483
  })), A(() => H(r, "aria-label", t("appointment.loadingSlotsLabel"))), r;
3484
3484
  })();
3485
3485
  },
3486
3486
  get children() {
3487
- return n(x, {
3487
+ return n(y, {
3488
3488
  get when() {
3489
3489
  return e.slots.length > 0;
3490
3490
  },
@@ -3505,7 +3505,7 @@ function ii(e) {
3505
3505
  return e.slots;
3506
3506
  },
3507
3507
  children: (a) => {
3508
- const o = a.available <= 0, f = Fr(a), s = o ? t("appointment.slotFullAriaLabel", {
3508
+ const o = a.available <= 0, f = Pr(a), s = o ? t("appointment.slotFullAriaLabel", {
3509
3509
  values: {
3510
3510
  time: f
3511
3511
  }
@@ -3532,8 +3532,8 @@ function ii(e) {
3532
3532
  });
3533
3533
  }
3534
3534
  var fi = /* @__PURE__ */ u("<span class=ff:text-muted>"), si = /* @__PURE__ */ u('<div class="ff:flex ff:gap-2">'), li = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:gap-4"><div class="ff:flex ff:flex-col ff:gap-1"><span class="ff:text-3xl ff:font-bold ff:leading-tight ff:font-heading"></span><span class="ff:text-sm ff:text-muted">'), ci = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:gap-4"data-slot=appointment-checked-in-view><h2 class="ff:text-2xl ff:font-bold ff:leading-tight ff:font-heading ff:text-foreground"></h2><p class="ff:text-sm ff:text-muted"></p><div class="ff:flex ff:flex-col ff:gap-1.5 ff:border-t ff:border-border/40 ff:pt-3 ff:text-sm"><div class="ff:flex ff:items-baseline ff:justify-between ff:gap-3"><span class=ff:text-muted></span><span class="ff:font-semibold ff:tabular-nums ff:text-foreground">'), di = /* @__PURE__ */ u('<div class="ff:flex ff:items-baseline ff:justify-between ff:gap-3"><span class=ff:text-muted></span><span class="ff:font-semibold ff:tabular-nums ff:text-foreground">'), ui = /* @__PURE__ */ u('<div class="ff:flex ff:items-baseline ff:justify-between ff:gap-3"><span class=ff:text-muted></span><span class="ff:text-right ff:font-semibold ff:text-foreground">'), gi = /* @__PURE__ */ u('<div class="ff:flex ff:items-baseline ff:justify-between ff:gap-3"><span class=ff:text-muted></span><span class="ff:font-mono ff:font-semibold ff:text-foreground">');
3535
- const hi = Pe({}), or = 1440 * 60 * 1e3, mi = 7;
3536
- function ir(e) {
3535
+ const hi = Pe({}), ir = 1440 * 60 * 1e3, mi = 7;
3536
+ function fr(e) {
3537
3537
  return e.toISOString().slice(0, 10);
3538
3538
  }
3539
3539
  function vi(e, t) {
@@ -3567,11 +3567,11 @@ function wi(e, t) {
3567
3567
  function $t(e) {
3568
3568
  const t = ct(), {
3569
3569
  t: r
3570
- } = fe(), a = ze(() => e.display$ ?? hi), [o, f] = D([]), [s, l] = D(!1), [c, v] = D(null), [w, b] = D(null), [y, _] = D(!1), V = d(() => o().filter((N) => N.available > 0)), T = d(() => V().find((N) => N.id === w()) ?? null), m = d(() => {
3571
- const N = T();
3570
+ } = fe(), a = ze(() => e.display$ ?? hi), [o, f] = D([]), [s, l] = D(!1), [c, v] = D(null), [w, b] = D(null), [x, _] = D(!1), V = d(() => o().filter((N) => N.available > 0)), I = d(() => V().find((N) => N.id === w()) ?? null), m = d(() => {
3571
+ const N = I();
3572
3572
  return N ? r("appointment.continueWithTime", {
3573
3573
  values: {
3574
- time: Fr(N)
3574
+ time: Pr(N)
3575
3575
  }
3576
3576
  }) : r("appointment.selectATime");
3577
3577
  }), h = d(() => {
@@ -3599,15 +3599,15 @@ function $t(e) {
3599
3599
  });
3600
3600
  }
3601
3601
  return ve;
3602
- }), [I, U] = D(null);
3602
+ }), [L, U] = D(null);
3603
3603
  te(() => {
3604
- const N = C(), G = I();
3604
+ const N = C(), G = L();
3605
3605
  if (G && N.some((ue) => ue.date === G && !ue.isClosed)) return;
3606
3606
  const me = N.find((ue) => !ue.isClosed);
3607
3607
  me && (U(me.date), b(null));
3608
3608
  });
3609
3609
  const R = d(() => {
3610
- const N = I();
3610
+ const N = L();
3611
3611
  return N ? h().get(N) ?? [] : [];
3612
3612
  }), X = (N) => {
3613
3613
  U(N), b(null);
@@ -3615,8 +3615,8 @@ function $t(e) {
3615
3615
  b((G) => G === N ? null : N);
3616
3616
  }, le = () => $("ff:w-full ff:max-w-sm", e.class, e.className);
3617
3617
  te(() => {
3618
- if (e.sequencePhase !== "enterable" && !y()) return;
3619
- const N = Date.now(), G = e.bookingWindowOpenAt ? new Date(e.bookingWindowOpenAt).getTime() : N, me = e.bookingWindowCloseAt ? new Date(e.bookingWindowCloseAt).getTime() : N + or * 6, ue = ir(new Date(Math.max(N, G))), ve = ir(new Date(Math.min(me, N + or * 6)));
3618
+ if (e.sequencePhase !== "enterable" && !x()) return;
3619
+ const N = Date.now(), G = e.bookingWindowOpenAt ? new Date(e.bookingWindowOpenAt).getTime() : N, me = e.bookingWindowCloseAt ? new Date(e.bookingWindowCloseAt).getTime() : N + ir * 6, ue = fr(new Date(Math.max(N, G))), ve = fr(new Date(Math.min(me, N + ir * 6)));
3620
3620
  let Y = !1;
3621
3621
  Se(() => {
3622
3622
  Y = !0;
@@ -3633,15 +3633,15 @@ function $t(e) {
3633
3633
  });
3634
3634
  });
3635
3635
  const _e = async () => {
3636
- const N = T();
3636
+ const N = I();
3637
3637
  if (N) {
3638
- if (y()) {
3638
+ if (x()) {
3639
3639
  await e.onReschedule(N.id, N.locationId ?? e.defaultLocationId), _(!1), b(null);
3640
3640
  return;
3641
3641
  }
3642
3642
  await e.onBook(N.id, N.locationId ?? e.defaultLocationId);
3643
3643
  }
3644
- }, L = d(() => a().booking), P = d(() => L()?.consumerStatus), q = d(() => P() === "checked_in"), K = d(() => P() === "completed"), Ee = d(() => K() ? r("appointment.completedTitle") : q() ? r("appointment.checkedIn") : r("appointment.bookedTitle")), Ve = d(() => K() ? "completed" : q() ? "checked_in" : "booked"), ke = () => y() ? e.isRescheduling : e.isBooking, qe = () => e.bookError ?? c();
3644
+ }, T = d(() => a().booking), P = d(() => T()?.consumerStatus), B = d(() => P() === "checked_in"), K = d(() => P() === "completed"), Ee = d(() => K() ? r("appointment.completed.title") : B() ? r("appointment.checkedIn") : r("appointment.booked.title")), Ve = d(() => K() ? "completed" : B() ? "checked_in" : "booked"), ke = () => x() ? e.isRescheduling : e.isBooking, Be = () => e.bookError ?? c();
3645
3645
  return n(Re, {
3646
3646
  fallback: null,
3647
3647
  get children() {
@@ -3665,7 +3665,7 @@ function $t(e) {
3665
3665
  }
3666
3666
  }), n(J, {
3667
3667
  get when() {
3668
- return Q(() => e.sequencePhase === "participating")() && !y();
3668
+ return Q(() => e.sequencePhase === "participating")() && !x();
3669
3669
  },
3670
3670
  get children() {
3671
3671
  return n(ne, {
@@ -3685,9 +3685,9 @@ function $t(e) {
3685
3685
  }
3686
3686
  }), n(re, {
3687
3687
  get children() {
3688
- return n(x, {
3688
+ return n(y, {
3689
3689
  get when() {
3690
- return L();
3690
+ return T();
3691
3691
  },
3692
3692
  get fallback() {
3693
3693
  return (() => {
@@ -3695,14 +3695,14 @@ function $t(e) {
3695
3695
  return i(N, () => r("appointment.loadingBooking")), N;
3696
3696
  })();
3697
3697
  },
3698
- children: (N) => n(x, {
3698
+ children: (N) => n(y, {
3699
3699
  get when() {
3700
3700
  return N().consumerStatus === "checked_in";
3701
3701
  },
3702
3702
  get fallback() {
3703
3703
  return (() => {
3704
3704
  var G = li(), me = G.firstChild, ue = me.firstChild, ve = ue.nextSibling;
3705
- return i(ue, () => vi(N().startTime, e.timezone)), i(ve, () => N().locationName ?? r("appointment.online")), i(G, n(x, {
3705
+ return i(ue, () => vi(N().startTime, e.timezone)), i(ve, () => N().locationName ?? r("appointment.online")), i(G, n(y, {
3706
3706
  get when() {
3707
3707
  return e.cancelError;
3708
3708
  },
@@ -3712,7 +3712,7 @@ function $t(e) {
3712
3712
  return Y();
3713
3713
  }
3714
3714
  })
3715
- }), null), i(G, n(x, {
3715
+ }), null), i(G, n(y, {
3716
3716
  get when() {
3717
3717
  return N().consumerStatus !== "completed";
3718
3718
  },
@@ -3762,7 +3762,7 @@ function $t(e) {
3762
3762
  }
3763
3763
  }), n(J, {
3764
3764
  get when() {
3765
- return e.sequencePhase === "enterable" || y();
3765
+ return e.sequencePhase === "enterable" || x();
3766
3766
  },
3767
3767
  get children() {
3768
3768
  return n(ne, {
@@ -3771,13 +3771,13 @@ function $t(e) {
3771
3771
  },
3772
3772
  "data-slot": "appointment-module",
3773
3773
  get "data-stage"() {
3774
- return y() ? "participating" : "enterable";
3774
+ return x() ? "participating" : "enterable";
3775
3775
  },
3776
3776
  get children() {
3777
3777
  return [n(ae, {
3778
3778
  variant: "default",
3779
3779
  get label() {
3780
- return Q(() => !!y())() ? r("appointment.rescheduleTitle") : r("appointment.title");
3780
+ return Q(() => !!x())() ? r("appointment.reschedule.title") : r("appointment.title");
3781
3781
  }
3782
3782
  }), n(re, {
3783
3783
  class: "ff:gap-2",
@@ -3787,7 +3787,7 @@ function $t(e) {
3787
3787
  return C();
3788
3788
  },
3789
3789
  get selectedDate() {
3790
- return I();
3790
+ return L();
3791
3791
  },
3792
3792
  onSelect: X
3793
3793
  }), n(ii, {
@@ -3801,9 +3801,9 @@ function $t(e) {
3801
3801
  return w();
3802
3802
  },
3803
3803
  onSelect: W
3804
- }), n(x, {
3804
+ }), n(y, {
3805
3805
  get when() {
3806
- return qe();
3806
+ return Be();
3807
3807
  },
3808
3808
  children: (N) => n(De, {
3809
3809
  tone: "danger",
@@ -3814,7 +3814,7 @@ function $t(e) {
3814
3814
  }), n(O, {
3815
3815
  class: "ff:mt-auto ff:w-full",
3816
3816
  get disabled() {
3817
- return !T() || ke();
3817
+ return !I() || ke();
3818
3818
  },
3819
3819
  get loading() {
3820
3820
  return ke();
@@ -3845,40 +3845,40 @@ function bi(e) {
3845
3845
  e.booking.joinUrl && window.open(e.booking.joinUrl, "_blank", "noopener,noreferrer");
3846
3846
  };
3847
3847
  return (() => {
3848
- var l = ci(), c = l.firstChild, v = c.nextSibling, w = v.nextSibling, b = w.firstChild, y = b.firstChild, _ = y.nextSibling;
3848
+ var l = ci(), c = l.firstChild, v = c.nextSibling, w = v.nextSibling, b = w.firstChild, x = b.firstChild, _ = x.nextSibling;
3849
3849
  return i(c, () => t("appointment.youreUpAt", {
3850
3850
  values: {
3851
3851
  time: a()
3852
3852
  }
3853
- })), i(v, f), i(y, () => t("appointment.time")), i(_, a), i(w, n(x, {
3853
+ })), i(v, f), i(x, () => t("appointment.time")), i(_, a), i(w, n(y, {
3854
3854
  get when() {
3855
3855
  return o();
3856
3856
  },
3857
3857
  children: (V) => (() => {
3858
- var T = di(), m = T.firstChild, h = m.nextSibling;
3858
+ var I = di(), m = I.firstChild, h = m.nextSibling;
3859
3859
  return i(m, () => t("appointment.duration")), i(h, () => t("appointment.minutes", {
3860
3860
  values: {
3861
3861
  count: V()
3862
3862
  }
3863
- })), T;
3863
+ })), I;
3864
3864
  })()
3865
- }), null), i(w, n(x, {
3865
+ }), null), i(w, n(y, {
3866
3866
  get when() {
3867
3867
  return Q(() => !r())() && e.booking.locationName;
3868
3868
  },
3869
3869
  children: (V) => (() => {
3870
- var T = ui(), m = T.firstChild, h = m.nextSibling;
3871
- return i(m, () => t("appointment.location")), i(h, V), T;
3870
+ var I = ui(), m = I.firstChild, h = m.nextSibling;
3871
+ return i(m, () => t("appointment.location")), i(h, V), I;
3872
3872
  })()
3873
- }), null), i(w, n(x, {
3873
+ }), null), i(w, n(y, {
3874
3874
  get when() {
3875
3875
  return e.booking.confirmationCode;
3876
3876
  },
3877
3877
  children: (V) => (() => {
3878
- var T = gi(), m = T.firstChild, h = m.nextSibling;
3879
- return i(m, () => t("appointment.confirmationCode")), i(h, V), T;
3878
+ var I = gi(), m = I.firstChild, h = m.nextSibling;
3879
+ return i(m, () => t("appointment.confirmationCode")), i(h, V), I;
3880
3880
  })()
3881
- }), null), i(l, n(x, {
3881
+ }), null), i(l, n(y, {
3882
3882
  get when() {
3883
3883
  return r();
3884
3884
  },
@@ -3941,7 +3941,7 @@ function yi(e, t) {
3941
3941
  return `${f}${e.toFixed(o)}`;
3942
3942
  }
3943
3943
  }
3944
- var fr = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), pt = /* @__PURE__ */ u("<div>"), ki = /* @__PURE__ */ u('<div class="ff:mt-auto ff:flex ff:flex-col ff:gap-2">'), sr = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">'), lr = /* @__PURE__ */ u('<div class="ff:flex ff:items-center ff:justify-between"><span class=ff:text-muted></span><span class="ff:font-medium ff:tabular-nums">'), _i = /* @__PURE__ */ u('<div class="ff:mt-3 ff:flex ff:items-center ff:justify-between"><span class=ff:text-muted></span><span class="ff:font-medium ff:tabular-nums">');
3944
+ var sr = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), pt = /* @__PURE__ */ u("<div>"), ki = /* @__PURE__ */ u('<div class="ff:mt-auto ff:flex ff:flex-col ff:gap-2">'), lr = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">'), cr = /* @__PURE__ */ u('<div class="ff:flex ff:items-center ff:justify-between"><span class=ff:text-muted></span><span class="ff:font-medium ff:tabular-nums">'), _i = /* @__PURE__ */ u('<div class="ff:mt-3 ff:flex ff:items-center ff:justify-between"><span class=ff:text-muted></span><span class="ff:font-medium ff:tabular-nums">');
3945
3945
  const $i = Pe({});
3946
3946
  function Ci(e, t) {
3947
3947
  const r = {
@@ -3955,19 +3955,21 @@ function Je(e) {
3955
3955
  const {
3956
3956
  t
3957
3957
  } = fe(), r = ze(() => e.display$ ?? $i), a = d(() => Ci(e.fallbackState, r())), o = d(() => {
3958
+ const b = a().settleAt;
3959
+ if (b) return new Date(b);
3958
3960
  if (e.countdownTo) return e.countdownTo;
3959
- const b = a().closeAt;
3960
- return b ? new Date(b) : void 0;
3961
+ const x = a().closeAt;
3962
+ return x ? new Date(x) : void 0;
3961
3963
  }), f = d(() => {
3962
3964
  const b = e.expiresAt;
3963
3965
  if (b)
3964
3966
  return b instanceof Date ? b : new Date(b);
3965
3967
  }), s = () => a().currencyCode ?? e.currencyCode, l = (b) => {
3966
3968
  if (b === void 0) return;
3967
- const y = parseFloat(b);
3968
- if (Number.isNaN(y)) return b;
3969
+ const x = parseFloat(b);
3970
+ if (Number.isNaN(x)) return b;
3969
3971
  const _ = s();
3970
- return yi(y, _ ? {
3972
+ return yi(x, _ ? {
3971
3973
  currencyCode: _,
3972
3974
  locale: e.locale
3973
3975
  } : {
@@ -4004,30 +4006,30 @@ function Je(e) {
4004
4006
  }
4005
4007
  }), n(re, {
4006
4008
  get children() {
4007
- return [n(x, {
4009
+ return [n(y, {
4008
4010
  get when() {
4009
4011
  return o();
4010
4012
  },
4011
- children: (y) => (() => {
4012
- var _ = sr(), V = _.firstChild;
4013
+ children: (x) => (() => {
4014
+ var _ = lr(), V = _.firstChild;
4013
4015
  return i(V, () => t("auction.endsIn")), i(_, n(ye, {
4014
4016
  get targetDate() {
4015
- return y();
4017
+ return x();
4016
4018
  },
4017
4019
  showDays: !1
4018
4020
  }), null), _;
4019
4021
  })()
4020
4022
  }), n(we, {
4021
4023
  get children() {
4022
- var y = fr();
4023
- return i(y, () => t("auction.description")), y;
4024
+ var x = sr();
4025
+ return i(x, () => t("auction.description")), x;
4024
4026
  }
4025
- }), n(x, {
4027
+ }), n(y, {
4026
4028
  get when() {
4027
4029
  return e.onBid;
4028
4030
  },
4029
4031
  get fallback() {
4030
- return n(x, {
4032
+ return n(y, {
4031
4033
  get when() {
4032
4034
  return e.canEnter;
4033
4035
  },
@@ -4083,49 +4085,49 @@ function Je(e) {
4083
4085
  return a().status === "winning" ? "default" : "success";
4084
4086
  },
4085
4087
  get label() {
4086
- return Q(() => a().status === "winning")() ? t("auction.winningTitle") : t("auction.title");
4088
+ return Q(() => a().status === "winning")() ? t("auction.winning.title") : t("auction.title");
4087
4089
  }
4088
4090
  }), n(re, {
4089
4091
  get children() {
4090
- return [n(x, {
4092
+ return [n(y, {
4091
4093
  get when() {
4092
4094
  return o();
4093
4095
  },
4094
- children: (y) => (() => {
4095
- var _ = sr(), V = _.firstChild;
4096
+ children: (x) => (() => {
4097
+ var _ = lr(), V = _.firstChild;
4096
4098
  return i(V, () => t("auction.endsIn")), i(_, n(ye, {
4097
4099
  get targetDate() {
4098
- return y();
4100
+ return x();
4099
4101
  },
4100
4102
  showDays: !1
4101
4103
  }), null), _;
4102
4104
  })()
4103
4105
  }), n(we, {
4104
4106
  get children() {
4105
- return [n(x, {
4107
+ return [n(y, {
4106
4108
  get when() {
4107
4109
  return l(a().highestBid);
4108
4110
  },
4109
- children: (y) => (() => {
4110
- var _ = lr(), V = _.firstChild, T = V.nextSibling;
4111
- return i(V, () => t("auction.currentBid")), i(T, y), _;
4111
+ children: (x) => (() => {
4112
+ var _ = cr(), V = _.firstChild, I = V.nextSibling;
4113
+ return i(V, () => t("auction.currentBid")), i(I, x), _;
4112
4114
  })()
4113
- }), n(x, {
4115
+ }), n(y, {
4114
4116
  get when() {
4115
4117
  return l(a().currentBid);
4116
4118
  },
4117
- children: (y) => (() => {
4118
- var _ = lr(), V = _.firstChild, T = V.nextSibling;
4119
+ children: (x) => (() => {
4120
+ var _ = cr(), V = _.firstChild, I = V.nextSibling;
4119
4121
  return i(V, (() => {
4120
4122
  var m = Q(() => a().status === "winning");
4121
4123
  return () => m() ? t("auction.yourWinningBid") : t("auction.yourBidLabel");
4122
- })()), i(T, y), _;
4124
+ })()), i(I, x), _;
4123
4125
  })()
4124
4126
  })];
4125
4127
  }
4126
4128
  }), (() => {
4127
- var y = ki();
4128
- return i(y, n(x, {
4129
+ var x = ki();
4130
+ return i(x, n(y, {
4129
4131
  get when() {
4130
4132
  return e.onBid;
4131
4133
  },
@@ -4138,7 +4140,7 @@ function Je(e) {
4138
4140
  }
4139
4141
  });
4140
4142
  }
4141
- }), null), i(y, n(x, {
4143
+ }), null), i(x, n(y, {
4142
4144
  get when() {
4143
4145
  return e.canLeave;
4144
4146
  },
@@ -4156,11 +4158,11 @@ function Je(e) {
4156
4158
  return e.isLeaving;
4157
4159
  },
4158
4160
  get children() {
4159
- return t("common.leave");
4161
+ return t("action.leave");
4160
4162
  }
4161
4163
  });
4162
4164
  }
4163
- }), null), y;
4165
+ }), null), x;
4164
4166
  })()];
4165
4167
  }
4166
4168
  }), n(ee, {})];
@@ -4183,22 +4185,22 @@ function Je(e) {
4183
4185
  return [n(ae, {
4184
4186
  variant: "default",
4185
4187
  get label() {
4186
- return t("auction.settlingTitle");
4188
+ return t("auction.settling.title");
4187
4189
  }
4188
4190
  }), n(re, {
4189
4191
  get children() {
4190
4192
  return n(we, {
4191
4193
  get children() {
4192
4194
  return [(() => {
4193
- var y = fr();
4194
- return i(y, () => t("auction.settlingDescription")), y;
4195
- })(), n(x, {
4195
+ var x = sr();
4196
+ return i(x, () => t("auction.settling.description")), x;
4197
+ })(), n(y, {
4196
4198
  get when() {
4197
4199
  return l(a().highestBid);
4198
4200
  },
4199
- children: (y) => (() => {
4200
- var _ = _i(), V = _.firstChild, T = V.nextSibling;
4201
- return i(V, () => t("auction.currentBid")), i(T, y), _;
4201
+ children: (x) => (() => {
4202
+ var _ = _i(), V = _.firstChild, I = V.nextSibling;
4203
+ return i(V, () => t("auction.currentBid")), i(I, x), _;
4202
4204
  })()
4203
4205
  })];
4204
4206
  }
@@ -4215,13 +4217,13 @@ function Je(e) {
4215
4217
  get children() {
4216
4218
  return n(et, {
4217
4219
  get label() {
4218
- return t("auction.wonTitle");
4220
+ return t("auction.won.title");
4219
4221
  },
4220
4222
  get fallbackMessage() {
4221
- return t("auction.wonDescription");
4223
+ return t("auction.won.description");
4222
4224
  },
4223
4225
  get ctaLabel() {
4224
- return t("auction.proceedToCheckout");
4226
+ return t("action.proceedToCheckout");
4225
4227
  },
4226
4228
  get expiresAt() {
4227
4229
  return f();
@@ -4264,7 +4266,7 @@ function Je(e) {
4264
4266
  });
4265
4267
  }
4266
4268
  Je.displayName = "AuctionModule";
4267
- var wt = /* @__PURE__ */ u("<div>"), cr = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), dr = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">'), Si = /* @__PURE__ */ u('<span class="ff:text-xs ff:text-muted ff:font-mono">');
4269
+ var wt = /* @__PURE__ */ u("<div>"), dr = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), ur = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">'), Si = /* @__PURE__ */ u('<span class="ff:text-xs ff:text-muted ff:font-mono">');
4268
4270
  const Ei = Pe({});
4269
4271
  function Ze(e) {
4270
4272
  const {
@@ -4303,12 +4305,12 @@ function Ze(e) {
4303
4305
  }
4304
4306
  }), n(re, {
4305
4307
  get children() {
4306
- return [n(x, {
4308
+ return [n(y, {
4307
4309
  get when() {
4308
4310
  return a();
4309
4311
  },
4310
4312
  children: (c) => (() => {
4311
- var v = dr(), w = v.firstChild;
4313
+ var v = ur(), w = v.firstChild;
4312
4314
  return i(w, () => t("draw.drawClosesIn")), i(v, n(ye, {
4313
4315
  get targetDate() {
4314
4316
  return c();
@@ -4316,7 +4318,7 @@ function Ze(e) {
4316
4318
  showDays: !1
4317
4319
  }), null), v;
4318
4320
  })()
4319
- }), n(x, {
4321
+ }), n(y, {
4320
4322
  get when() {
4321
4323
  return e.canEnter;
4322
4324
  },
@@ -4359,11 +4361,11 @@ function Ze(e) {
4359
4361
  return [n(ae, {
4360
4362
  variant: "success",
4361
4363
  get label() {
4362
- return t("draw.entered");
4364
+ return t("draw.entered.title");
4363
4365
  }
4364
4366
  }), n(re, {
4365
4367
  get children() {
4366
- return [n(x, {
4368
+ return [n(y, {
4367
4369
  get when() {
4368
4370
  return r().entryNumber;
4369
4371
  },
@@ -4371,12 +4373,12 @@ function Ze(e) {
4371
4373
  var v = Si();
4372
4374
  return i(v, c), v;
4373
4375
  })()
4374
- }), n(x, {
4376
+ }), n(y, {
4375
4377
  get when() {
4376
4378
  return a();
4377
4379
  },
4378
4380
  children: (c) => (() => {
4379
- var v = dr(), w = v.firstChild;
4381
+ var v = ur(), w = v.firstChild;
4380
4382
  return i(w, () => t("draw.drawHappensIn")), i(v, n(ye, {
4381
4383
  get targetDate() {
4382
4384
  return c();
@@ -4386,13 +4388,13 @@ function Ze(e) {
4386
4388
  })()
4387
4389
  }), n(we, {
4388
4390
  get children() {
4389
- var c = cr();
4391
+ var c = dr();
4390
4392
  return i(c, (() => {
4391
4393
  var v = Q(() => !!a());
4392
- return () => v() ? t("draw.goodLuck") : t("draw.stayTuned");
4394
+ return () => v() ? t("draw.entered.description") : t("draw.stayTuned");
4393
4395
  })()), c;
4394
4396
  }
4395
- }), n(x, {
4397
+ }), n(y, {
4396
4398
  get when() {
4397
4399
  return e.canLeave;
4398
4400
  },
@@ -4436,14 +4438,14 @@ function Ze(e) {
4436
4438
  return [n(ae, {
4437
4439
  variant: "default",
4438
4440
  get label() {
4439
- return t("draw.settlingTitle");
4441
+ return t("draw.settling.title");
4440
4442
  }
4441
4443
  }), n(re, {
4442
4444
  get children() {
4443
4445
  return n(we, {
4444
4446
  get children() {
4445
- var c = cr();
4446
- return i(c, () => t("draw.settlingDescription")), c;
4447
+ var c = dr();
4448
+ return i(c, () => t("draw.settling.description")), c;
4447
4449
  }
4448
4450
  });
4449
4451
  }
@@ -4458,7 +4460,7 @@ function Ze(e) {
4458
4460
  get children() {
4459
4461
  return n(et, {
4460
4462
  get label() {
4461
- return t("draw.wonTitle");
4463
+ return t("draw.won.title");
4462
4464
  },
4463
4465
  get fallbackMessage() {
4464
4466
  return t("granted.description");
@@ -4507,12 +4509,12 @@ function Ze(e) {
4507
4509
  });
4508
4510
  }
4509
4511
  Ze.displayName = "DrawModule";
4510
- var ur = /* @__PURE__ */ u("<div>"), Vi = /* @__PURE__ */ u('<span class="ff:text-xs ff:text-muted">'), Di = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted"></span><span class="ff:text-4xl ff:font-bold ff:tabular-nums ff:font-heading">'), Ai = /* @__PURE__ */ u('<p class="ff:text-muted ff:text-xs">'), Ni = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">');
4511
- const Ti = Pe({});
4512
+ var gr = /* @__PURE__ */ u("<div>"), Vi = /* @__PURE__ */ u('<span class="ff:text-xs ff:text-muted">'), Di = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted"></span><span class="ff:text-4xl ff:font-bold ff:tabular-nums ff:font-heading">'), Ai = /* @__PURE__ */ u('<p class="ff:text-muted ff:text-xs">'), Ni = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">');
4513
+ const Ii = Pe({});
4512
4514
  function ot(e) {
4513
4515
  const {
4514
4516
  t
4515
- } = fe(), r = ze(() => e.display$ ?? Ti), a = d(() => {
4517
+ } = fe(), r = ze(() => e.display$ ?? Ii), a = d(() => {
4516
4518
  const s = e.expiresAt;
4517
4519
  if (s)
4518
4520
  return s instanceof Date ? s : new Date(s);
@@ -4527,7 +4529,7 @@ function ot(e) {
4527
4529
  return e.sequencePhase === "enterable";
4528
4530
  },
4529
4531
  get children() {
4530
- var s = ur();
4532
+ var s = gr();
4531
4533
  return i(s, n(ne, {
4532
4534
  get class() {
4533
4535
  return f();
@@ -4542,7 +4544,7 @@ function ot(e) {
4542
4544
  }
4543
4545
  }), n(re, {
4544
4546
  get children() {
4545
- return [n(x, {
4547
+ return [n(y, {
4546
4548
  get when() {
4547
4549
  return e.closeAt;
4548
4550
  },
@@ -4555,7 +4557,7 @@ function ot(e) {
4555
4557
  showDays: !1
4556
4558
  }), null), c;
4557
4559
  })()
4558
- }), n(x, {
4560
+ }), n(y, {
4559
4561
  get when() {
4560
4562
  return e.canEnter;
4561
4563
  },
@@ -4587,7 +4589,7 @@ function ot(e) {
4587
4589
  return e.sequencePhase === "participating";
4588
4590
  },
4589
4591
  get children() {
4590
- var s = ur();
4592
+ var s = gr();
4591
4593
  return i(s, n(ne, {
4592
4594
  get class() {
4593
4595
  return f();
@@ -4604,7 +4606,7 @@ function ot(e) {
4604
4606
  get children() {
4605
4607
  return [(() => {
4606
4608
  var l = Di(), c = l.firstChild, v = c.nextSibling;
4607
- return i(c, () => t("queue.estimatedWaitLabel")), i(v, n(x, {
4609
+ return i(c, () => t("queue.estimatedWaitLabel")), i(v, n(y, {
4608
4610
  get when() {
4609
4611
  return r().estimatedWaitTime != null;
4610
4612
  },
@@ -4619,7 +4621,7 @@ function ot(e) {
4619
4621
  });
4620
4622
  })();
4621
4623
  }
4622
- })), i(l, n(x, {
4624
+ })), i(l, n(y, {
4623
4625
  get when() {
4624
4626
  return r().estimatedWaitTime != null;
4625
4627
  },
@@ -4633,7 +4635,7 @@ function ot(e) {
4633
4635
  var l = Ai();
4634
4636
  return i(l, () => t("queue.qualitativeReassurance")), l;
4635
4637
  }
4636
- }), n(x, {
4638
+ }), n(y, {
4637
4639
  get when() {
4638
4640
  return e.canLeave;
4639
4641
  },
@@ -4668,10 +4670,10 @@ function ot(e) {
4668
4670
  get children() {
4669
4671
  return n(et, {
4670
4672
  get label() {
4671
- return t("queue.granted");
4673
+ return t("queue.granted.title");
4672
4674
  },
4673
4675
  get fallbackMessage() {
4674
- return t("queue.grantedMessage");
4676
+ return t("queue.granted.message");
4675
4677
  },
4676
4678
  get ctaLabel() {
4677
4679
  return t("granted.cta");
@@ -4717,12 +4719,12 @@ function ot(e) {
4717
4719
  });
4718
4720
  }
4719
4721
  ot.displayName = "QueueModule";
4720
- var gr = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), hr = /* @__PURE__ */ u("<div>"), Ii = /* @__PURE__ */ u('<div class="ff:mt-auto ff:flex ff:flex-col ff:gap-2">'), mr = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">');
4721
- const Li = Pe({});
4722
+ var hr = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), mr = /* @__PURE__ */ u("<div>"), Li = /* @__PURE__ */ u('<div class="ff:mt-auto ff:flex ff:flex-col ff:gap-2">'), vr = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">');
4723
+ const Ti = Pe({});
4722
4724
  function it(e) {
4723
4725
  const {
4724
4726
  t
4725
- } = fe(), r = ze(() => e.display$ ?? Li), a = d(() => {
4727
+ } = fe(), r = ze(() => e.display$ ?? Ti), a = d(() => {
4726
4728
  const l = e.expiresAt;
4727
4729
  if (l)
4728
4730
  return l instanceof Date ? l : new Date(l);
@@ -4742,7 +4744,7 @@ function it(e) {
4742
4744
  return e.sequencePhase === "enterable";
4743
4745
  },
4744
4746
  get children() {
4745
- var l = hr();
4747
+ var l = mr();
4746
4748
  return i(l, n(ne, {
4747
4749
  get class() {
4748
4750
  return s();
@@ -4757,12 +4759,12 @@ function it(e) {
4757
4759
  }
4758
4760
  }), n(re, {
4759
4761
  get children() {
4760
- return [n(x, {
4762
+ return [n(y, {
4761
4763
  get when() {
4762
4764
  return e.countdownTo;
4763
4765
  },
4764
4766
  children: (c) => (() => {
4765
- var v = mr(), w = v.firstChild;
4767
+ var v = vr(), w = v.firstChild;
4766
4768
  return i(w, () => t("timedRelease.windowClosesIn")), i(v, n(ye, {
4767
4769
  get targetDate() {
4768
4770
  return c();
@@ -4772,10 +4774,10 @@ function it(e) {
4772
4774
  })()
4773
4775
  }), n(we, {
4774
4776
  get children() {
4775
- var c = gr();
4777
+ var c = hr();
4776
4778
  return i(c, () => t("timedRelease.description")), c;
4777
4779
  }
4778
- }), n(x, {
4780
+ }), n(y, {
4779
4781
  get when() {
4780
4782
  return e.canEnter;
4781
4783
  },
@@ -4807,7 +4809,7 @@ function it(e) {
4807
4809
  return e.sequencePhase === "participating";
4808
4810
  },
4809
4811
  get children() {
4810
- var l = hr();
4812
+ var l = mr();
4811
4813
  return i(l, n(ne, {
4812
4814
  get class() {
4813
4815
  return s();
@@ -4822,12 +4824,12 @@ function it(e) {
4822
4824
  }
4823
4825
  }), n(re, {
4824
4826
  get children() {
4825
- return [n(x, {
4827
+ return [n(y, {
4826
4828
  get when() {
4827
4829
  return e.countdownTo;
4828
4830
  },
4829
4831
  children: (c) => (() => {
4830
- var v = mr(), w = v.firstChild;
4832
+ var v = vr(), w = v.firstChild;
4831
4833
  return i(w, () => t("timedRelease.completePurchaseIn")), i(v, n(ye, {
4832
4834
  get targetDate() {
4833
4835
  return c();
@@ -4837,12 +4839,12 @@ function it(e) {
4837
4839
  })()
4838
4840
  }), n(we, {
4839
4841
  get children() {
4840
- var c = gr();
4842
+ var c = hr();
4841
4843
  return i(c, () => t("timedRelease.browseAndComplete")), c;
4842
4844
  }
4843
4845
  }), (() => {
4844
- var c = Ii();
4845
- return i(c, n(x, {
4846
+ var c = Li();
4847
+ return i(c, n(y, {
4846
4848
  get when() {
4847
4849
  return o();
4848
4850
  },
@@ -4855,7 +4857,7 @@ function it(e) {
4855
4857
  }
4856
4858
  });
4857
4859
  }
4858
- }), null), i(c, n(x, {
4860
+ }), null), i(c, n(y, {
4859
4861
  get when() {
4860
4862
  return e.onComplete;
4861
4863
  },
@@ -4873,7 +4875,7 @@ function it(e) {
4873
4875
  }
4874
4876
  });
4875
4877
  }
4876
- }), null), i(c, n(x, {
4878
+ }), null), i(c, n(y, {
4877
4879
  get when() {
4878
4880
  return e.canLeave;
4879
4881
  },
@@ -4959,7 +4961,7 @@ function it(e) {
4959
4961
  }
4960
4962
  it.displayName = "TimedReleaseModule";
4961
4963
  var Mi = /* @__PURE__ */ u("<p class=ff:text-foreground/80>"), Ri = /* @__PURE__ */ u("<div>"), zi = /* @__PURE__ */ u('<div class="ff:flex ff:flex-col ff:items-start ff:gap-1"><span class="ff:text-xxs ff:font-medium ff:uppercase ff:tracking-widest ff:text-muted">');
4962
- function Pr(e) {
4964
+ function jr(e) {
4963
4965
  const {
4964
4966
  t
4965
4967
  } = fe(), r = () => e.title ?? t("upcoming.title"), a = () => e.description ?? t("upcoming.description"), o = d(() => e.startsAt ? e.startsAt instanceof Date ? e.startsAt : new Date(e.startsAt) : null);
@@ -4978,13 +4980,13 @@ function Pr(e) {
4978
4980
  }
4979
4981
  }), n(re, {
4980
4982
  get children() {
4981
- return [n(x, {
4983
+ return [n(y, {
4982
4984
  get when() {
4983
4985
  return o();
4984
4986
  },
4985
4987
  children: (s) => (() => {
4986
4988
  var l = zi(), c = l.firstChild;
4987
- return i(c, () => t("countdown.startingSoon")), i(l, n(ye, {
4989
+ return i(c, () => t("duration.startingSoon")), i(l, n(ye, {
4988
4990
  get targetDate() {
4989
4991
  return s();
4990
4992
  },
@@ -4992,7 +4994,7 @@ function Pr(e) {
4992
4994
  return e.onCountdownComplete;
4993
4995
  },
4994
4996
  get expiredLabel() {
4995
- return t("countdown.startingSoon");
4997
+ return t("duration.startingSoon");
4996
4998
  }
4997
4999
  }), null), l;
4998
5000
  })()
@@ -5001,7 +5003,7 @@ function Pr(e) {
5001
5003
  var s = Mi();
5002
5004
  return i(s, a), s;
5003
5005
  }
5004
- }), n(x, {
5006
+ }), n(y, {
5005
5007
  get when() {
5006
5008
  return Q(() => !!e.canEnter)() && e.onEnter;
5007
5009
  },
@@ -5029,23 +5031,23 @@ function Pr(e) {
5029
5031
  })), A(() => M(f, se("fadeIn"))), f;
5030
5032
  })();
5031
5033
  }
5032
- Pr.displayName = "UpcomingModule";
5033
- var vr = /* @__PURE__ */ u("<div data-slot=experience-widget>");
5034
- const qi = Pe({});
5035
- function Bi(e) {
5034
+ jr.displayName = "UpcomingModule";
5035
+ var pr = /* @__PURE__ */ u("<div data-slot=experience-widget>");
5036
+ const Bi = Pe({});
5037
+ function qi(e) {
5036
5038
  return "mechanism" in e && e.mechanism === "auction" && "bid" in e;
5037
5039
  }
5038
- function Te(e) {
5040
+ function Ie(e) {
5039
5041
  return e === "queue" || e === "draw" || e === "auction" || e === "timed_release" || e === "appointment";
5040
5042
  }
5041
- function pr(e) {
5042
- return Te(e);
5043
+ function wr(e) {
5044
+ return Ie(e);
5043
5045
  }
5044
5046
  function Fi(e) {
5045
- return e?.phase === "enterable" && Te(e.mechanism);
5047
+ return e?.phase === "enterable" && Ie(e.mechanism);
5046
5048
  }
5047
5049
  function Pi(e) {
5048
- return e?.phase === "participating" && Te(e.mechanism);
5050
+ return e?.phase === "participating" && Ie(e.mechanism);
5049
5051
  }
5050
5052
  function ji(e) {
5051
5053
  return e?.phase === "granted";
@@ -5055,7 +5057,7 @@ function dt(e) {
5055
5057
  }
5056
5058
  function Ui(e, t) {
5057
5059
  const r = dt(e);
5058
- return r && "mechanism" in r && pr(r.mechanism) ? r.mechanism : t?.phase === "participating" && "consumer" in t && "mechanism" in t.consumer && pr(t.consumer.mechanism) ? t.consumer.mechanism : null;
5060
+ return r && "mechanism" in r && wr(r.mechanism) ? r.mechanism : t?.phase === "participating" && "consumer" in t && "mechanism" in t.consumer && wr(t.consumer.mechanism) ? t.consumer.mechanism : null;
5059
5061
  }
5060
5062
  function Oi(e) {
5061
5063
  const t = dt(e);
@@ -5070,28 +5072,28 @@ function Wi(e) {
5070
5072
  function Ki(e, t) {
5071
5073
  return e ? "distributionId" in e && typeof e.distributionId == "string" && e.distributionId ? e.distributionId : e.id ?? t ?? null : t ?? null;
5072
5074
  }
5073
- function jr(e) {
5075
+ function Ur(e) {
5074
5076
  const t = ct(), {
5075
5077
  t: r
5076
5078
  } = fe(), [a] = Z(e, ["class", "className", "experienceId", "autoStart", "accessCode", "autoEnterWaitlist", "theme", "variant", "slots", "children", "checkoutUrl", "onJourneyChange", "onGranted", "onError"]), o = _n(() => a.experienceId, {
5077
5079
  autoStart: () => a.autoStart ?? !1,
5078
5080
  accessCode: () => a.accessCode,
5079
5081
  autoEnterWaitlist: () => a.autoEnterWaitlist ?? !1
5080
- }), [f, s] = D(!1), [l, c] = D(!1), [v, w] = D(!1), [b, y] = D(!1), [_, V] = D(!1), [T, m] = D(!1), [h, k] = D(!1), [z, C] = D(!1), [I, U] = D(null), R = d(() => o.snapshot()), X = d(() => o.view()), W = d(() => X()?.journeyStage ?? null), le = d(() => {
5082
+ }), [f, s] = D(!1), [l, c] = D(!1), [v, w] = D(!1), [b, x] = D(!1), [_, V] = D(!1), [I, m] = D(!1), [h, k] = D(!1), [z, C] = D(!1), [L, U] = D(null), R = d(() => o.snapshot()), X = d(() => o.view()), W = d(() => X()?.journeyStage ?? null), le = d(() => {
5081
5083
  const g = X();
5082
5084
  return g?.journeyStage === "routed" ? g : void 0;
5083
- }), _e = d(() => dt(R())), L = d(() => _e()?.phase ?? le()?.sequence.phase ?? null), P = d(() => I() ?? o.error());
5085
+ }), _e = d(() => dt(R())), T = d(() => _e()?.phase ?? le()?.sequence.phase ?? null), P = d(() => L() ?? o.error());
5084
5086
  te(() => {
5085
5087
  const g = R();
5086
5088
  g && a.onJourneyChange && Ye(() => a.onJourneyChange?.(g));
5087
5089
  }), te(() => {
5088
- const g = Rt()?.token;
5090
+ const g = zt()?.token;
5089
5091
  g && a.onGranted && Ye(() => a.onGranted?.(g));
5090
5092
  }), te(() => {
5091
5093
  const g = P();
5092
5094
  g && a.onError && Ye(() => a.onError?.(new Error(g)));
5093
5095
  });
5094
- const q = (g) => {
5096
+ const B = (g) => {
5095
5097
  const p = g instanceof Error ? g.message : "Unknown error";
5096
5098
  U(p);
5097
5099
  }, K = async () => {
@@ -5099,7 +5101,7 @@ function jr(e) {
5099
5101
  try {
5100
5102
  await o.start();
5101
5103
  } catch (g) {
5102
- q(g);
5104
+ B(g);
5103
5105
  } finally {
5104
5106
  s(!1);
5105
5107
  }
@@ -5115,9 +5117,9 @@ function jr(e) {
5115
5117
  type: p
5116
5118
  });
5117
5119
  } catch (S) {
5118
- q(S);
5120
+ B(S);
5119
5121
  }
5120
- }, qe = async (g) => {
5122
+ }, Be = async (g) => {
5121
5123
  const p = o.journey(), S = Ee();
5122
5124
  if (!(!p || !S)) {
5123
5125
  U(null);
@@ -5132,7 +5134,7 @@ function jr(e) {
5132
5134
  const E = p.view$.get();
5133
5135
  E.journeyStage === "gated" && await E.reroute();
5134
5136
  } catch (E) {
5135
- q(E);
5137
+ B(E);
5136
5138
  }
5137
5139
  }
5138
5140
  }, N = async (g) => {
@@ -5145,7 +5147,7 @@ function jr(e) {
5145
5147
  accessCode: g
5146
5148
  });
5147
5149
  } catch (S) {
5148
- q(S);
5150
+ B(S);
5149
5151
  }
5150
5152
  }
5151
5153
  }, G = async () => {
@@ -5154,9 +5156,9 @@ function jr(e) {
5154
5156
  c(!0), U(null);
5155
5157
  try {
5156
5158
  const p = g.view$.get();
5157
- p.journeyStage === "routed" && p.sequence.phase === "scheduled" && await p.sequence.waitlist?.join();
5159
+ p.journeyStage === "routed" && p.sequence.phase === "scheduled" && await p.waitlist?.join();
5158
5160
  } catch (p) {
5159
- q(p);
5161
+ B(p);
5160
5162
  } finally {
5161
5163
  c(!1);
5162
5164
  }
@@ -5167,9 +5169,9 @@ function jr(e) {
5167
5169
  w(!0), U(null);
5168
5170
  try {
5169
5171
  const p = g.view$.get();
5170
- p.journeyStage === "routed" && p.sequence.phase === "scheduled" && await p.sequence.waitlist?.leave();
5172
+ p.journeyStage === "routed" && p.sequence.phase === "scheduled" && await p.waitlist?.leave();
5171
5173
  } catch (p) {
5172
- q(p);
5174
+ B(p);
5173
5175
  } finally {
5174
5176
  w(!1);
5175
5177
  }
@@ -5180,13 +5182,13 @@ function jr(e) {
5180
5182
  const p = g.view$.get();
5181
5183
  p.journeyStage === "routed" && p.sequence.phase === "enterable" && "enter" in p.sequence && await p.sequence.enter();
5182
5184
  }, ve = async () => {
5183
- y(!0), U(null);
5185
+ x(!0), U(null);
5184
5186
  try {
5185
5187
  await ue();
5186
5188
  } catch (g) {
5187
- q(g);
5189
+ B(g);
5188
5190
  } finally {
5189
- y(!1);
5191
+ x(!1);
5190
5192
  }
5191
5193
  }, Y = async () => {
5192
5194
  const g = o.journey();
@@ -5196,7 +5198,7 @@ function jr(e) {
5196
5198
  const p = g.view$.get();
5197
5199
  p.journeyStage === "routed" && p.sequence.phase === "participating" && "leave" in p.sequence && await p.sequence.leave();
5198
5200
  } catch (p) {
5199
- q(p);
5201
+ B(p);
5200
5202
  } finally {
5201
5203
  V(!1);
5202
5204
  }
@@ -5209,7 +5211,7 @@ function jr(e) {
5209
5211
  const p = g.view$.get();
5210
5212
  p.journeyStage === "routed" && p.sequence.phase === "participating" && "complete" in p.sequence && await p.sequence.complete();
5211
5213
  } catch (p) {
5212
- q(p);
5214
+ B(p);
5213
5215
  }
5214
5216
  }
5215
5217
  }, Ne = async (g) => {
@@ -5218,9 +5220,9 @@ function jr(e) {
5218
5220
  U(null);
5219
5221
  try {
5220
5222
  const S = p.view$.get();
5221
- S.journeyStage === "routed" && Bi(S.sequence) && await S.sequence.bid(g);
5223
+ S.journeyStage === "routed" && qi(S.sequence) && await S.sequence.bid(g);
5222
5224
  } catch (S) {
5223
- q(S);
5225
+ B(S);
5224
5226
  }
5225
5227
  }
5226
5228
  }, F = async (g, p) => {
@@ -5231,12 +5233,12 @@ function jr(e) {
5231
5233
  const E = S.view$.get();
5232
5234
  E.journeyStage === "routed" && E.sequence.phase === "enterable" && "book" in E.sequence && await E.sequence.book(g, p);
5233
5235
  } catch (E) {
5234
- q(E);
5236
+ B(E);
5235
5237
  } finally {
5236
5238
  m(!1);
5237
5239
  }
5238
5240
  }
5239
- }, B = async (g) => {
5241
+ }, q = async (g) => {
5240
5242
  const p = o.journey();
5241
5243
  if (p) {
5242
5244
  U(null), k(!0);
@@ -5244,7 +5246,7 @@ function jr(e) {
5244
5246
  const S = p.view$.get();
5245
5247
  S.journeyStage === "routed" && S.sequence.phase === "participating" && "cancel" in S.sequence && await S.sequence.cancel(g);
5246
5248
  } catch (S) {
5247
- q(S);
5249
+ B(S);
5248
5250
  } finally {
5249
5251
  k(!1);
5250
5252
  }
@@ -5257,7 +5259,7 @@ function jr(e) {
5257
5259
  const E = S.view$.get();
5258
5260
  E.journeyStage === "routed" && E.sequence.phase === "participating" && "reschedule" in E.sequence && await E.sequence.reschedule(g, p);
5259
5261
  } catch (E) {
5260
- q(E);
5262
+ B(E);
5261
5263
  } finally {
5262
5264
  C(!1);
5263
5265
  }
@@ -5277,22 +5279,22 @@ function jr(e) {
5277
5279
  const E = p.view$.get();
5278
5280
  E.journeyStage === "gated" && await E.reroute();
5279
5281
  } catch (S) {
5280
- q(S);
5282
+ B(S);
5281
5283
  }
5282
5284
  }
5283
- }, It = () => {
5285
+ }, Lt = () => {
5284
5286
  const g = o.journey();
5285
5287
  if (!g) return;
5286
5288
  U(null);
5287
5289
  const p = g.view$.get();
5288
- p.journeyStage === "gated" && p.retry().catch(q);
5289
- }, Wr = d(() => X()), pe = d(() => {
5290
- const g = Wr();
5290
+ p.journeyStage === "gated" && p.retry().catch(B);
5291
+ }, Tt = d(() => X()), pe = d(() => {
5292
+ const g = Tt();
5291
5293
  return g?.journeyStage === "routed" && "sequence" in g ? g.sequence : void 0;
5292
- }), ut = d(() => Ui(R(), pe())), Le = d(() => Oi(R())), Lt = d(() => {
5293
- const g = pe();
5294
- return g?.phase === "scheduled" ? g.waitlist : void 0;
5295
- }), Kr = d(() => Wi(R())), Mt = d(() => Ki(Kr(), Le()?.id)), Rt = d(() => {
5294
+ }), ut = d(() => Ui(R(), pe())), Te = d(() => Oi(R())), Mt = d(() => {
5295
+ const g = pe(), p = Tt();
5296
+ return g?.phase === "scheduled" && p?.journeyStage === "routed" ? p.waitlist : void 0;
5297
+ }), Kr = d(() => Wi(R())), Rt = d(() => Ki(Kr(), Te()?.id)), zt = d(() => {
5296
5298
  const g = _e();
5297
5299
  return g && "grant" in g && g.grant ? g.grant : void 0;
5298
5300
  }), gt = d(() => {
@@ -5300,22 +5302,22 @@ function jr(e) {
5300
5302
  return g && "outcome" in g && g.outcome ? g.outcome : void 0;
5301
5303
  }), Hr = d(() => {
5302
5304
  const g = ut();
5303
- if (Te(g)) return g;
5304
- const p = Le()?.type;
5305
- return Te(p) ? p : null;
5306
- }), zt = d(() => {
5305
+ if (Ie(g)) return g;
5306
+ const p = Te()?.type;
5307
+ return Ie(p) ? p : null;
5308
+ }), Bt = d(() => {
5307
5309
  const g = ut();
5308
- return Te(g) ? g : null;
5310
+ return Ie(g) ? g : null;
5309
5311
  }), qt = d(() => {
5310
- const g = Le(), p = ut();
5311
- if (Te(p)) return p;
5312
+ const g = Te(), p = ut();
5313
+ if (Ie(p)) return p;
5312
5314
  const S = g?.type;
5313
- return Te(S) ? S : null;
5315
+ return Ie(S) ? S : null;
5314
5316
  }), Oe = d(() => {
5315
5317
  const g = R();
5316
5318
  return g ? gn(g) : [];
5317
- }), Bt = d(() => {
5318
- const g = Lt();
5319
+ }), Ft = d(() => {
5320
+ const g = Mt();
5319
5321
  return g?.status === "not_waitlisted" && typeof g.join == "function";
5320
5322
  }), tt = d(() => {
5321
5323
  const g = pe();
@@ -5333,13 +5335,13 @@ function jr(e) {
5333
5335
  }
5334
5336
  return "none";
5335
5337
  }), nt = d(() => {
5336
- if (W() === "routing") return r("experience.findingPlace");
5337
- }), Ft = d(() => R()?.experience?.experience?.theme), Pt = d(() => a.theme ?? Ft()), jt = d(() => a.variant ?? a.theme?.variant ?? Ft()?.variant), Be = d(() => {
5338
+ if (W() === "routing") return r("loading.findingPlace");
5339
+ }), Pt = d(() => R()?.experience?.experience?.theme), jt = d(() => a.theme ?? Pt()), Ut = d(() => a.variant ?? a.theme?.variant ?? Pt()?.variant), qe = d(() => {
5338
5340
  const g = pe();
5339
- if (!(L() !== "participating" || !g || g.phase !== "participating" || !("display$" in g)))
5341
+ if (!(T() !== "participating" || !g || g.phase !== "participating" || !("display$" in g)))
5340
5342
  return g.display$;
5341
- }), Ut = ze(() => Be() ?? qi), Me = d(() => Le()?.details), Ot = d(() => {
5342
- const g = Me(), p = g?.type === "auction" ? g : void 0, S = pe(), E = S?.phase === "participating" && S.mechanism === "auction" ? S.consumer : void 0, j = Ut();
5343
+ }), Ot = ze(() => qe() ?? Bi), Me = d(() => Te()?.details), Wt = d(() => {
5344
+ const g = Me(), p = g?.type === "auction" ? g : void 0, S = pe(), E = S?.phase === "participating" && S.mechanism === "auction" ? S.consumer : void 0, j = Ot();
5343
5345
  if (!(!p && !E && !j))
5344
5346
  return {
5345
5347
  currentBid: j?.currentBid ?? E?.currentBid,
@@ -5351,25 +5353,25 @@ function jr(e) {
5351
5353
  minNextBid: j?.minNextBid ?? p?.minNextBid,
5352
5354
  bidIncrement: j?.bidIncrement ?? p?.bidIncrement
5353
5355
  };
5354
- }), Gr = d(() => (L() === "participating" ? Mt() : Le()?.id) ?? null), Fe = d(() => {
5356
+ }), Gr = d(() => (T() === "participating" ? Rt() : Te()?.id) ?? null), Fe = d(() => {
5355
5357
  const g = pe();
5356
5358
  if (g?.phase === "scheduled" && g.startsAt) return new Date(g.startsAt);
5357
- const p = Le()?.opensAt;
5359
+ const p = Te()?.opensAt;
5358
5360
  return p ? new Date(p) : void 0;
5359
5361
  }), Jr = d(() => {
5360
- if (!(L() !== "participating" || zt() !== "queue"))
5361
- return Ut()?.position;
5362
+ if (!(T() !== "participating" || Bt() !== "queue"))
5363
+ return Ot()?.position;
5362
5364
  });
5363
5365
  if (a.children)
5364
5366
  return n(yt, {
5365
5367
  get theme() {
5366
- return Pt();
5368
+ return jt();
5367
5369
  },
5368
5370
  get variant() {
5369
- return jt();
5371
+ return Ut();
5370
5372
  },
5371
5373
  get children() {
5372
- var g = vr();
5374
+ var g = pr();
5373
5375
  return i(g, () => a.children({
5374
5376
  journey: o.journey(),
5375
5377
  view: X(),
@@ -5410,14 +5412,14 @@ function jr(e) {
5410
5412
  return We() === "auth" && a.slots?.auth ? a.slots.auth({
5411
5413
  ...xe(),
5412
5414
  onSubmit: ke,
5413
- onVerify: qe
5415
+ onVerify: Be
5414
5416
  }) : We() === "access_code" && a.slots?.accessCode ? a.slots.accessCode({
5415
5417
  ...xe(),
5416
5418
  onSubmit: N
5417
5419
  }) : We() === "loading" && a.slots?.loading ? a.slots.loading({
5418
5420
  ...xe(),
5419
5421
  message: nt()
5420
- }) : n(zr, {
5422
+ }) : n(Br, {
5421
5423
  get stage() {
5422
5424
  return We();
5423
5425
  },
@@ -5425,7 +5427,7 @@ function jr(e) {
5425
5427
  return Fe();
5426
5428
  },
5427
5429
  onAuthSubmit: ke,
5428
- onAuthVerify: qe,
5430
+ onAuthVerify: Be,
5429
5431
  onAccessCodeSubmit: N
5430
5432
  });
5431
5433
  if (W() === "gated" && Oe()[0]?.type === "bot_check") {
@@ -5437,40 +5439,40 @@ function jr(e) {
5437
5439
  challenge: S,
5438
5440
  botMitigation: E,
5439
5441
  onVerifyToken: Ue,
5440
- onRetry: It
5441
- }) : n(Mr, {
5442
+ onRetry: Lt
5443
+ }) : n(Rr, {
5442
5444
  challenge: S,
5443
5445
  botMitigation: E,
5444
5446
  get countdownTo() {
5445
5447
  return Fe();
5446
5448
  },
5447
5449
  onVerifyToken: Ue,
5448
- onRetry: It
5450
+ onRetry: Lt
5449
5451
  });
5450
5452
  }
5451
5453
  if (W() === "routed") {
5452
- if (L() === "unavailable") {
5454
+ if (T() === "unavailable") {
5453
5455
  const p = pe();
5454
5456
  return a.slots?.ended ? a.slots.ended({
5455
5457
  ...xe(),
5456
5458
  reason: p?.phase === "unavailable" ? p.reason ?? "unavailable" : "unavailable"
5457
- }) : n(Rr, {
5459
+ }) : n(zr, {
5458
5460
  get title() {
5459
- return r("experience.noSequenceTitle");
5461
+ return r("widget.noSequence.title");
5460
5462
  },
5461
5463
  get message() {
5462
- return r("experience.noSequenceMessage");
5464
+ return r("widget.noSequence.message");
5463
5465
  }
5464
5466
  });
5465
5467
  }
5466
- if (L() === "scheduled") {
5467
- const p = Lt();
5468
+ if (T() === "scheduled") {
5469
+ const p = Mt();
5468
5470
  return p && p.status !== "not_waitlisted" ? a.slots?.waitlist ? a.slots.waitlist({
5469
5471
  ...xe(),
5470
5472
  startsAt: Fe(),
5471
5473
  onLeave: me,
5472
5474
  isLeaving: v()
5473
- }) : n(Br, {
5475
+ }) : n(Fr, {
5474
5476
  get startsAt() {
5475
5477
  return Fe();
5476
5478
  },
@@ -5483,15 +5485,15 @@ function jr(e) {
5483
5485
  }) : a.slots?.upcoming ? a.slots.upcoming({
5484
5486
  ...xe(),
5485
5487
  startsAt: Fe(),
5486
- canEnter: Bt(),
5488
+ canEnter: Ft(),
5487
5489
  onEnter: G,
5488
5490
  isEntering: l()
5489
- }) : n(Pr, {
5491
+ }) : n(jr, {
5490
5492
  get startsAt() {
5491
5493
  return Fe();
5492
5494
  },
5493
5495
  get canEnter() {
5494
- return Bt();
5496
+ return Ft();
5495
5497
  },
5496
5498
  onEnter: () => {
5497
5499
  G();
@@ -5501,9 +5503,9 @@ function jr(e) {
5501
5503
  }
5502
5504
  });
5503
5505
  }
5504
- if (L() === "enterable" || L() === "participating") {
5505
- const p = L() === "enterable" ? Hr() : zt(), S = Gr();
5506
- if (L() === "enterable" && a.slots?.enterable && Fi(pe())) {
5506
+ if (T() === "enterable" || T() === "participating") {
5507
+ const p = T() === "enterable" ? Hr() : Bt(), S = Gr();
5508
+ if (T() === "enterable" && a.slots?.enterable && Fi(pe())) {
5507
5509
  const E = pe();
5508
5510
  return a.slots.enterable({
5509
5511
  ...xe(),
@@ -5511,7 +5513,7 @@ function jr(e) {
5511
5513
  participationType: E.mechanism
5512
5514
  });
5513
5515
  }
5514
- if (L() === "participating" && a.slots?.participating && Pi(pe())) {
5516
+ if (T() === "participating" && a.slots?.participating && Pi(pe())) {
5515
5517
  const E = pe();
5516
5518
  return a.slots.participating({
5517
5519
  ...xe(),
@@ -5521,13 +5523,13 @@ function jr(e) {
5521
5523
  });
5522
5524
  }
5523
5525
  if (S) {
5524
- const E = L();
5526
+ const E = T();
5525
5527
  switch (p) {
5526
5528
  case "queue": {
5527
5529
  const j = Me(), oe = j?.type === "queue" ? j : void 0;
5528
5530
  return n(ot, {
5529
5531
  get display$() {
5530
- return Be();
5532
+ return qe();
5531
5533
  },
5532
5534
  sequencePhase: E,
5533
5535
  get canEnter() {
@@ -5553,7 +5555,7 @@ function jr(e) {
5553
5555
  const j = Me(), oe = j?.type === "draw" ? j : void 0;
5554
5556
  return n(Ze, {
5555
5557
  get display$() {
5556
- return Be();
5558
+ return qe();
5557
5559
  },
5558
5560
  sequencePhase: E,
5559
5561
  get canEnter() {
@@ -5576,13 +5578,13 @@ function jr(e) {
5576
5578
  });
5577
5579
  }
5578
5580
  case "auction": {
5579
- const j = Me(), oe = j?.type === "auction" ? j : void 0, Wt = oe?.closeAt ?? oe?.endsAt;
5581
+ const j = Me(), oe = j?.type === "auction" ? j : void 0, Kt = oe?.closeAt ?? oe?.endsAt;
5580
5582
  return n(Je, {
5581
5583
  get display$() {
5582
- return Be();
5584
+ return qe();
5583
5585
  },
5584
5586
  get fallbackState() {
5585
- return Ot();
5587
+ return Wt();
5586
5588
  },
5587
5589
  sequencePhase: E,
5588
5590
  get canEnter() {
@@ -5600,7 +5602,7 @@ function jr(e) {
5600
5602
  get isLeaving() {
5601
5603
  return _();
5602
5604
  },
5603
- countdownTo: Wt ? new Date(Wt) : void 0,
5605
+ countdownTo: Kt ? new Date(Kt) : void 0,
5604
5606
  get defaultBidAmount() {
5605
5607
  return oe?.currentBid ?? oe?.reservePrice ?? oe?.bidIncrement;
5606
5608
  },
@@ -5613,7 +5615,7 @@ function jr(e) {
5613
5615
  const j = Me(), oe = j?.type === "timed_release" ? j : void 0;
5614
5616
  return n(it, {
5615
5617
  get display$() {
5616
- return Be();
5618
+ return qe();
5617
5619
  },
5618
5620
  sequencePhase: E,
5619
5621
  get canEnter() {
@@ -5644,7 +5646,7 @@ function jr(e) {
5644
5646
  return n($t, {
5645
5647
  appointmentId: S,
5646
5648
  get display$() {
5647
- return Be();
5649
+ return qe();
5648
5650
  },
5649
5651
  sequencePhase: E,
5650
5652
  get bookingWindowOpenAt() {
@@ -5660,10 +5662,10 @@ function jr(e) {
5660
5662
  return oe?.locationId;
5661
5663
  },
5662
5664
  onBook: F,
5663
- onCancel: B,
5665
+ onCancel: q,
5664
5666
  onReschedule: ce,
5665
5667
  get isBooking() {
5666
- return T();
5668
+ return I();
5667
5669
  },
5668
5670
  get isCancelling() {
5669
5671
  return h();
@@ -5672,10 +5674,10 @@ function jr(e) {
5672
5674
  return z();
5673
5675
  },
5674
5676
  get bookError() {
5675
- return I();
5677
+ return L();
5676
5678
  },
5677
5679
  get cancelError() {
5678
- return I();
5680
+ return L();
5679
5681
  }
5680
5682
  });
5681
5683
  }
@@ -5683,12 +5685,12 @@ function jr(e) {
5683
5685
  }
5684
5686
  return n(Ge, {
5685
5687
  get error() {
5686
- return r("experience.unsupportedDistribution");
5688
+ return r("widget.unsupportedDistribution");
5687
5689
  },
5688
5690
  onRetry: Ce
5689
5691
  });
5690
5692
  }
5691
- if (L() === "settling") {
5693
+ if (T() === "settling") {
5692
5694
  const p = pe();
5693
5695
  if (p?.phase !== "settling")
5694
5696
  return n(_t, {
@@ -5719,7 +5721,7 @@ function jr(e) {
5719
5721
  return n(Je, {
5720
5722
  display$: void 0,
5721
5723
  get fallbackState() {
5722
- return Ot();
5724
+ return Wt();
5723
5725
  },
5724
5726
  sequencePhase: "settling",
5725
5727
  canEnter: !1,
@@ -5740,8 +5742,8 @@ function jr(e) {
5740
5742
  }
5741
5743
  }
5742
5744
  }
5743
- if (L() === "granted") {
5744
- const p = Rt(), S = p?.expiresAt ? new Date(p.expiresAt).getTime() : void 0;
5745
+ if (T() === "granted") {
5746
+ const p = zt(), S = p?.expiresAt ? new Date(p.expiresAt).getTime() : void 0;
5745
5747
  if (a.slots?.granted && ji(pe())) {
5746
5748
  const j = pe();
5747
5749
  return a.slots.granted({
@@ -5775,12 +5777,12 @@ function jr(e) {
5775
5777
  }
5776
5778
  return n(Ge, {
5777
5779
  get error() {
5778
- return r("experience.unsupportedDistribution");
5780
+ return r("widget.unsupportedDistribution");
5779
5781
  },
5780
5782
  onRetry: Ce
5781
5783
  });
5782
5784
  }
5783
- if (L() === "ended") {
5785
+ if (T() === "ended") {
5784
5786
  const p = pe(), S = gt()?.type ?? (p?.phase === "ended" ? p.outcome.reason : void 0) ?? "unknown";
5785
5787
  if (S === "expired" && a.slots?.expired) {
5786
5788
  const j = gt()?.at;
@@ -5806,7 +5808,7 @@ function jr(e) {
5806
5808
  onLeave: Y,
5807
5809
  isEntering: !1,
5808
5810
  isLeaving: !1,
5809
- outcomeReason: Yt(S)
5811
+ outcomeReason: Qt(S)
5810
5812
  };
5811
5813
  switch (qt()) {
5812
5814
  case "queue":
@@ -5820,23 +5822,23 @@ function jr(e) {
5820
5822
  case "appointment":
5821
5823
  return n($t, {
5822
5824
  get appointmentId() {
5823
- return Mt() ?? Le()?.id ?? "";
5825
+ return Rt() ?? Te()?.id ?? "";
5824
5826
  },
5825
5827
  sequencePhase: "ended",
5826
5828
  onBook: F,
5827
- onCancel: B,
5829
+ onCancel: q,
5828
5830
  onReschedule: ce,
5829
5831
  isBooking: !1,
5830
5832
  isCancelling: !1,
5831
5833
  isRescheduling: !1,
5832
5834
  get outcomeReason() {
5833
- return Yt(S);
5835
+ return Qt(S);
5834
5836
  }
5835
5837
  });
5836
5838
  }
5837
5839
  return n(Ge, {
5838
5840
  get error() {
5839
- return r("experience.unsupportedDistribution");
5841
+ return r("widget.unsupportedDistribution");
5840
5842
  },
5841
5843
  onRetry: Ce
5842
5844
  });
@@ -5850,16 +5852,16 @@ function jr(e) {
5850
5852
  return nt();
5851
5853
  }
5852
5854
  });
5853
- }, Yr = d(() => `${W() ?? "loading"}-${L() ?? "unavailable"}`);
5855
+ }, Yr = d(() => `${W() ?? "loading"}-${T() ?? "unavailable"}`);
5854
5856
  return n(yt, {
5855
5857
  get theme() {
5856
- return Pt();
5858
+ return jt();
5857
5859
  },
5858
5860
  get variant() {
5859
- return jt();
5861
+ return Ut();
5860
5862
  },
5861
5863
  get children() {
5862
- var g = vr();
5864
+ var g = pr();
5863
5865
  return i(g, n(Qe, {
5864
5866
  get transitionKey() {
5865
5867
  return Yr();
@@ -5871,18 +5873,18 @@ function jr(e) {
5871
5873
  }
5872
5874
  });
5873
5875
  }
5874
- jr.displayName = "ExperienceWidget";
5876
+ Ur.displayName = "ExperienceWidget";
5875
5877
  const Hi = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--ff-font-sans:"Inter",system-ui,sans-serif;--ff-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ff-color-neutral-50:oklch(98.5% 0 0);--ff-color-neutral-200:oklch(92.2% 0 0);--ff-color-neutral-300:oklch(87% 0 0);--ff-color-neutral-500:oklch(55.6% 0 0);--ff-spacing:.25rem;--ff-container-sm:24rem;--ff-text-xs:.75rem;--ff-text-xs--line-height:calc(1/.75);--ff-text-sm:.875rem;--ff-text-sm--line-height:calc(1.25/.875);--ff-text-base:1rem;--ff-text-base--line-height: 1.5 ;--ff-text-lg:1.125rem;--ff-text-lg--line-height:calc(1.75/1.125);--ff-text-xl:1.25rem;--ff-text-xl--line-height:calc(1.75/1.25);--ff-text-2xl:1.5rem;--ff-text-2xl--line-height:calc(2/1.5);--ff-text-3xl:1.875rem;--ff-text-3xl--line-height: 1.2 ;--ff-text-4xl:2.25rem;--ff-text-4xl--line-height:calc(2.5/2.25);--ff-font-weight-extralight:200;--ff-font-weight-light:300;--ff-font-weight-normal:400;--ff-font-weight-medium:500;--ff-font-weight-semibold:600;--ff-font-weight-bold:700;--ff-font-weight-extrabold:800;--ff-font-weight-black:900;--ff-tracking-tight:-.025em;--ff-tracking-wide:.025em;--ff-tracking-wider:.05em;--ff-tracking-widest:.1em;--ff-leading-tight:1.25;--ff-radius-md:.375rem;--ff-radius-lg:.5rem;--ff-radius-xl:.75rem;--ff-radius-2xl:1rem;--ff-radius-3xl:1.5rem;--ff-ease-out:cubic-bezier(0,0,.2,1);--ff-animate-spin:spin 1s linear infinite;--ff-animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--ff-default-transition-duration:.15s;--ff-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--ff-default-font-family:var(--ff-font-sans);--ff-default-mono-font-family:var(--ff-font-mono);--ff-color-primary:#1d1f27;--ff-color-primary-foreground:#fff;--ff-color-secondary:#f4f4f5;--ff-color-background:#fff;--ff-color-surface:#fff;--ff-color-surface-foreground:#1d1f27;--ff-color-foreground:#1d1f27;--ff-color-muted:#4b4e56cc;--ff-color-muted-foreground:#4b4e5699;--ff-color-border:#4b4e5666;--ff-color-success:oklch(77% .18 130);--ff-color-success-foreground:#111;--ff-color-warning:oklch(72% .18 65);--ff-color-warning-foreground:#111;--ff-color-danger:oklch(63% .24 25);--ff-color-danger-foreground:#fff;--ff-font-heading:"Inter",system-ui,sans-serif;--ff-text-xxs:.625rem;--ff-text-xxs--line-height:.875rem;--ff-animate-fade-in:fade-in .2s ease-out;--ff-animate-fade-out:fade-out .2s ease-out;--ff-animate-slide-in:slide-in .2s ease-out;--ff-animate-slide-out:slide-out .2s ease-out;--ff-animate-scale-in:scale-in .2s ease-out;--ff-animate-scale-out:scale-out .2s ease-out;--ff-animate-accordion-down:accordion-down .2s ease-out;--ff-animate-accordion-up:accordion-up .2s ease-out;--ff-animate-celebration:celebration-bounce .6s ease-out;--ff-animate-shake:shake .5s ease-out;--ff-animate-pulse-success:pulse-success 1s ease-out;--ff-animate-countdown-digit-flip:countdown-digit-flip .25s cubic-bezier(.4,0,.2,1)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--ff-default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--ff-default-font-feature-settings,normal);font-variation-settings:var(--ff-default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--ff-default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--ff-default-mono-font-feature-settings,normal);font-variation-settings:var(--ff-default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.fanfare-themed{font-family:var(--ff-font-sans);color:var(--ff-color-foreground);background-color:var(--ff-color-background)}.fanfare-themed *,.fanfare-themed :after,.fanfare-themed :before,.fanfare-themed ::backdrop{border-color:var(--ff-color-border);outline-color:var(--ff-color-border)}.fanfare-themed ::file-selector-button{border-color:var(--ff-color-border);outline-color:var(--ff-color-border)}.fanfare-themed button:not(:disabled),.fanfare-themed [role=button]:not(:disabled){cursor:pointer}.fanfare-themed :focus-visible{outline:2px solid var(--ff-color-primary);outline-offset:2px}@media(prefers-reduced-motion:reduce){.fanfare-themed *,.fanfare-themed :before,.fanfare-themed :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.fanfare-root{color:var(--ff-color-foreground);background-color:var(--ff-color-background);font-family:var(--ff-font-sans)}.fanfare-root *,.fanfare-root :after,.fanfare-root :before,.fanfare-root ::backdrop{border-color:var(--ff-color-border);outline-color:var(--ff-color-border)}.fanfare-root ::file-selector-button{border-color:var(--ff-color-border);outline-color:var(--ff-color-border)}.fanfare-root button:not(:disabled),.fanfare-root [role=button]:not(:disabled){cursor:pointer}@media(prefers-reduced-motion:reduce){.fanfare-root *,.fanfare-root :before,.fanfare-root :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}}@layer components;@layer utilities{.ff\\:pointer-events-none{pointer-events:none}.ff\\:absolute{position:absolute}.ff\\:relative{position:relative}.ff\\:inset-0{inset:calc(var(--ff-spacing)*0)}.ff\\:top-1\\/2{top:50%}.ff\\:top-3{top:calc(var(--ff-spacing)*3)}.ff\\:right-2{right:calc(var(--ff-spacing)*2)}.ff\\:left-3{left:calc(var(--ff-spacing)*3)}.ff\\:z-10{z-index:10}.ff\\:-mx-1{margin-inline:calc(var(--ff-spacing)*-1)}.ff\\:mx-2{margin-inline:calc(var(--ff-spacing)*2)}.ff\\:-mt-0\\.5{margin-top:calc(var(--ff-spacing)*-.5)}.ff\\:mt-0\\.5{margin-top:calc(var(--ff-spacing)*.5)}.ff\\:mt-1{margin-top:calc(var(--ff-spacing)*1)}.ff\\:mt-3{margin-top:calc(var(--ff-spacing)*3)}.ff\\:mt-4{margin-top:calc(var(--ff-spacing)*4)}.ff\\:mt-auto{margin-top:auto}.ff\\:mb-1{margin-bottom:calc(var(--ff-spacing)*1)}.ff\\:mb-1\\.5{margin-bottom:calc(var(--ff-spacing)*1.5)}.ff\\:mb-2{margin-bottom:calc(var(--ff-spacing)*2)}.ff\\:mb-3{margin-bottom:calc(var(--ff-spacing)*3)}.ff\\:mb-4{margin-bottom:calc(var(--ff-spacing)*4)}.ff\\:mb-6{margin-bottom:calc(var(--ff-spacing)*6)}.ff\\:block{display:block}.ff\\:flex{display:flex}.ff\\:grid{display:grid}.ff\\:inline-block{display:inline-block}.ff\\:inline-flex{display:inline-flex}.ff\\:size-1{width:calc(var(--ff-spacing)*1);height:calc(var(--ff-spacing)*1)}.ff\\:size-1\\.5{width:calc(var(--ff-spacing)*1.5);height:calc(var(--ff-spacing)*1.5)}.ff\\:size-4{width:calc(var(--ff-spacing)*4);height:calc(var(--ff-spacing)*4)}.ff\\:size-5{width:calc(var(--ff-spacing)*5);height:calc(var(--ff-spacing)*5)}.ff\\:size-6{width:calc(var(--ff-spacing)*6);height:calc(var(--ff-spacing)*6)}.ff\\:size-8{width:calc(var(--ff-spacing)*8);height:calc(var(--ff-spacing)*8)}.ff\\:h-0\\.5{height:calc(var(--ff-spacing)*.5)}.ff\\:h-1{height:calc(var(--ff-spacing)*1)}.ff\\:h-2{height:calc(var(--ff-spacing)*2)}.ff\\:h-2\\.5{height:calc(var(--ff-spacing)*2.5)}.ff\\:h-3{height:calc(var(--ff-spacing)*3)}.ff\\:h-4{height:calc(var(--ff-spacing)*4)}.ff\\:h-4\\.5{height:calc(var(--ff-spacing)*4.5)}.ff\\:h-5{height:calc(var(--ff-spacing)*5)}.ff\\:h-6{height:calc(var(--ff-spacing)*6)}.ff\\:h-8{height:calc(var(--ff-spacing)*8)}.ff\\:h-10{height:calc(var(--ff-spacing)*10)}.ff\\:h-12{height:calc(var(--ff-spacing)*12)}.ff\\:h-14{height:calc(var(--ff-spacing)*14)}.ff\\:h-16{height:calc(var(--ff-spacing)*16)}.ff\\:h-20{height:calc(var(--ff-spacing)*20)}.ff\\:h-32{height:calc(var(--ff-spacing)*32)}.ff\\:h-\\[480px\\]{height:480px}.ff\\:h-auto{height:auto}.ff\\:h-full{height:100%}.ff\\:max-h-40{max-height:calc(var(--ff-spacing)*40)}.ff\\:max-h-44{max-height:calc(var(--ff-spacing)*44)}.ff\\:max-h-\\[24rem\\]{max-height:24rem}.ff\\:w-1\\/2{width:50%}.ff\\:w-1\\/3{width:33.3333%}.ff\\:w-2\\/3{width:66.6667%}.ff\\:w-3\\/4{width:75%}.ff\\:w-5\\/6{width:83.3333%}.ff\\:w-6{width:calc(var(--ff-spacing)*6)}.ff\\:w-8{width:calc(var(--ff-spacing)*8)}.ff\\:w-10{width:calc(var(--ff-spacing)*10)}.ff\\:w-12{width:calc(var(--ff-spacing)*12)}.ff\\:w-14{width:calc(var(--ff-spacing)*14)}.ff\\:w-16{width:calc(var(--ff-spacing)*16)}.ff\\:w-20{width:calc(var(--ff-spacing)*20)}.ff\\:w-40{width:calc(var(--ff-spacing)*40)}.ff\\:w-64{width:calc(var(--ff-spacing)*64)}.ff\\:w-72{width:calc(var(--ff-spacing)*72)}.ff\\:w-80{width:calc(var(--ff-spacing)*80)}.ff\\:w-auto{width:auto}.ff\\:w-full{width:100%}.ff\\:max-w-full{max-width:100%}.ff\\:max-w-sm{max-width:var(--ff-container-sm)}.ff\\:min-w-0{min-width:calc(var(--ff-spacing)*0)}.ff\\:flex-1{flex:1}.ff\\:shrink-0{flex-shrink:0}.ff\\:origin-center{transform-origin:50%}.ff\\:origin-top-left{transform-origin:0 0}.ff\\:-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:-translate-y-2{--tw-translate-y:calc(var(--ff-spacing)*-2);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.ff\\:animate-\\[skeleton-shimmer_2s_ease-in-out_infinite\\]{animation:2s ease-in-out infinite skeleton-shimmer}.ff\\:animate-\\[skeleton-slide_2s_ease-in-out_infinite\\]{animation:2s ease-in-out infinite skeleton-slide}.ff\\:animate-\\[spin_1\\.2s_cubic-bezier\\(0\\.4\\,0\\,0\\.6\\,1\\)_infinite\\]{animation:1.2s cubic-bezier(.4,0,.6,1) infinite spin}.ff\\:animate-\\[spin_1\\.8s_linear_infinite\\]{animation:1.8s linear infinite spin}.ff\\:animate-accordion-down{animation:var(--ff-animate-accordion-down)}.ff\\:animate-accordion-up{animation:var(--ff-animate-accordion-up)}.ff\\:animate-celebration{animation:var(--ff-animate-celebration)}.ff\\:animate-countdown-digit-flip{animation:var(--ff-animate-countdown-digit-flip)}.ff\\:animate-fade-in{animation:var(--ff-animate-fade-in)}.ff\\:animate-fade-out{animation:var(--ff-animate-fade-out)}.ff\\:animate-none{animation:none}.ff\\:animate-pulse{animation:var(--ff-animate-pulse)}.ff\\:animate-pulse-success{animation:var(--ff-animate-pulse-success)}.ff\\:animate-scale-in{animation:var(--ff-animate-scale-in)}.ff\\:animate-scale-out{animation:var(--ff-animate-scale-out)}.ff\\:animate-shake{animation:var(--ff-animate-shake)}.ff\\:animate-slide-in{animation:var(--ff-animate-slide-in)}.ff\\:animate-slide-out{animation:var(--ff-animate-slide-out)}.ff\\:animate-spin{animation:var(--ff-animate-spin)}.ff\\:cursor-not-allowed{cursor:not-allowed}.ff\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ff\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ff\\:flex-col{flex-direction:column}.ff\\:flex-row{flex-direction:row}.ff\\:flex-wrap{flex-wrap:wrap}.ff\\:items-baseline{align-items:baseline}.ff\\:items-center{align-items:center}.ff\\:items-start{align-items:flex-start}.ff\\:justify-between{justify-content:space-between}.ff\\:justify-center{justify-content:center}.ff\\:gap-0\\.5{gap:calc(var(--ff-spacing)*.5)}.ff\\:gap-1{gap:calc(var(--ff-spacing)*1)}.ff\\:gap-1\\.5{gap:calc(var(--ff-spacing)*1.5)}.ff\\:gap-2{gap:calc(var(--ff-spacing)*2)}.ff\\:gap-3{gap:calc(var(--ff-spacing)*3)}.ff\\:gap-4{gap:calc(var(--ff-spacing)*4)}.ff\\:gap-5{gap:calc(var(--ff-spacing)*5)}.ff\\:gap-6{gap:calc(var(--ff-spacing)*6)}.ff\\:gap-10{gap:calc(var(--ff-spacing)*10)}.ff\\:gap-12{gap:calc(var(--ff-spacing)*12)}:where(.ff\\:space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--ff-spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--ff-spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.ff\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--ff-spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--ff-spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.ff\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--ff-spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--ff-spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.ff\\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--ff-spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--ff-spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.ff\\:space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--ff-spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--ff-spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.ff\\:space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--ff-spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--ff-spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.ff\\:self-end{align-self:flex-end}.ff\\:overflow-auto{overflow:auto}.ff\\:overflow-hidden{overflow:hidden}.ff\\:overflow-visible{overflow:visible}.ff\\:overflow-x-auto{overflow-x:auto}.ff\\:overflow-y-auto{overflow-y:auto}.ff\\:rounded{border-radius:.25rem}.ff\\:rounded-2xl{border-radius:var(--ff-radius-2xl)}.ff\\:rounded-3xl{border-radius:var(--ff-radius-3xl)}.ff\\:rounded-\\[10px\\]{border-radius:10px}.ff\\:rounded-\\[14px\\]{border-radius:14px}.ff\\:rounded-full{border-radius:3.40282e38px}.ff\\:rounded-lg{border-radius:var(--ff-radius-lg)}.ff\\:rounded-md{border-radius:var(--ff-radius-md)}.ff\\:rounded-none{border-radius:0}.ff\\:rounded-xl{border-radius:var(--ff-radius-xl)}.ff\\:border{border-style:var(--tw-border-style);border-width:1px}.ff\\:border-0{border-style:var(--tw-border-style);border-width:0}.ff\\:border-2{border-style:var(--tw-border-style);border-width:2px}.ff\\:border-3{border-style:var(--tw-border-style);border-width:3px}.ff\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.ff\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.ff\\:border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.ff\\:border-none{--tw-border-style:none;border-style:none}.ff\\:border-border,.ff\\:border-border\\/40{border-color:var(--ff-color-border)}@supports (color:color-mix(in lab,red,red)){.ff\\:border-border\\/40{border-color:color-mix(in oklab,var(--ff-color-border)40%,transparent)}}.ff\\:border-border\\/50{border-color:var(--ff-color-border)}@supports (color:color-mix(in lab,red,red)){.ff\\:border-border\\/50{border-color:color-mix(in oklab,var(--ff-color-border)50%,transparent)}}.ff\\:border-current{border-color:currentColor}.ff\\:border-danger,.ff\\:border-danger\\/50{border-color:var(--ff-color-danger)}@supports (color:color-mix(in lab,red,red)){.ff\\:border-danger\\/50{border-color:color-mix(in oklab,var(--ff-color-danger)50%,transparent)}}.ff\\:border-foreground,.ff\\:border-foreground\\/8{border-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:border-foreground\\/8{border-color:color-mix(in oklab,var(--ff-color-foreground)8%,transparent)}}.ff\\:border-foreground\\/12{border-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:border-foreground\\/12{border-color:color-mix(in oklab,var(--ff-color-foreground)12%,transparent)}}.ff\\:border-foreground\\/20{border-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:border-foreground\\/20{border-color:color-mix(in oklab,var(--ff-color-foreground)20%,transparent)}}.ff\\:border-foreground\\/\\[0\\.08\\]{border-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:border-foreground\\/\\[0\\.08\\]{border-color:color-mix(in oklab,var(--ff-color-foreground)8%,transparent)}}.ff\\:border-neutral-200{border-color:var(--ff-color-neutral-200)}.ff\\:border-primary{border-color:var(--ff-color-primary)}.ff\\:border-success{border-color:var(--ff-color-success)}.ff\\:border-transparent{border-color:#0000}.ff\\:border-b-danger{border-bottom-color:var(--ff-color-danger)}.ff\\:bg-\\[color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_3\\%\\,var\\(--ff-color-surface\\)\\)\\]{background-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-\\[color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_3\\%\\,var\\(--ff-color-surface\\)\\)\\]{background-color:color-mix(in oklch,var(--ff-color-foreground)3%,var(--ff-color-surface))}}.ff\\:bg-background,.ff\\:bg-background\\/60{background-color:var(--ff-color-background)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-background\\/60{background-color:color-mix(in oklab,var(--ff-color-background)60%,transparent)}}.ff\\:bg-background\\/70{background-color:var(--ff-color-background)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-background\\/70{background-color:color-mix(in oklab,var(--ff-color-background)70%,transparent)}}.ff\\:bg-danger,.ff\\:bg-danger\\/10{background-color:var(--ff-color-danger)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-danger\\/10{background-color:color-mix(in oklab,var(--ff-color-danger)10%,transparent)}}.ff\\:bg-foreground\\/5{background-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-foreground\\/5{background-color:color-mix(in oklab,var(--ff-color-foreground)5%,transparent)}}.ff\\:bg-foreground\\/40{background-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-foreground\\/40{background-color:color-mix(in oklab,var(--ff-color-foreground)40%,transparent)}}.ff\\:bg-foreground\\/\\[0\\.1\\]{background-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-foreground\\/\\[0\\.1\\]{background-color:color-mix(in oklab,var(--ff-color-foreground)10%,transparent)}}.ff\\:bg-foreground\\/\\[0\\.08\\]{background-color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-foreground\\/\\[0\\.08\\]{background-color:color-mix(in oklab,var(--ff-color-foreground)8%,transparent)}}.ff\\:bg-muted\\/5{background-color:var(--ff-color-muted)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-muted\\/5{background-color:color-mix(in oklab,var(--ff-color-muted)5%,transparent)}}.ff\\:bg-neutral-50{background-color:var(--ff-color-neutral-50)}.ff\\:bg-primary{background-color:var(--ff-color-primary)}.ff\\:bg-primary-foreground{background-color:var(--ff-color-primary-foreground)}.ff\\:bg-primary\\/5{background-color:var(--ff-color-primary)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-primary\\/5{background-color:color-mix(in oklab,var(--ff-color-primary)5%,transparent)}}.ff\\:bg-secondary,.ff\\:bg-secondary\\/30{background-color:var(--ff-color-secondary)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-secondary\\/30{background-color:color-mix(in oklab,var(--ff-color-secondary)30%,transparent)}}.ff\\:bg-success,.ff\\:bg-success\\/10{background-color:var(--ff-color-success)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-success\\/10{background-color:color-mix(in oklab,var(--ff-color-success)10%,transparent)}}.ff\\:bg-surface{background-color:var(--ff-color-surface)}.ff\\:bg-transparent{background-color:#0000}.ff\\:bg-warning,.ff\\:bg-warning\\/10{background-color:var(--ff-color-warning)}@supports (color:color-mix(in lab,red,red)){.ff\\:bg-warning\\/10{background-color:color-mix(in oklab,var(--ff-color-warning)10%,transparent)}}.ff\\:bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab,red,red)){.ff\\:bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.ff\\:bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.ff\\:from-primary\\/10{--tw-gradient-from:var(--ff-color-primary)}@supports (color:color-mix(in lab,red,red)){.ff\\:from-primary\\/10{--tw-gradient-from:color-mix(in oklab,var(--ff-color-primary)10%,transparent)}}.ff\\:from-primary\\/10{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.ff\\:to-primary\\/5{--tw-gradient-to:var(--ff-color-primary)}@supports (color:color-mix(in lab,red,red)){.ff\\:to-primary\\/5{--tw-gradient-to:color-mix(in oklab,var(--ff-color-primary)5%,transparent)}}.ff\\:to-primary\\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.ff\\:\\[background-size\\:200\\%_100\\%\\]{background-size:200% 100%}.ff\\:p-0{padding:calc(var(--ff-spacing)*0)}.ff\\:p-3{padding:calc(var(--ff-spacing)*3)}.ff\\:p-4{padding:calc(var(--ff-spacing)*4)}.ff\\:p-5{padding:calc(var(--ff-spacing)*5)}.ff\\:p-6{padding:calc(var(--ff-spacing)*6)}.ff\\:p-8{padding:calc(var(--ff-spacing)*8)}.ff\\:px-0{padding-inline:calc(var(--ff-spacing)*0)}.ff\\:px-2{padding-inline:calc(var(--ff-spacing)*2)}.ff\\:px-2\\.5{padding-inline:calc(var(--ff-spacing)*2.5)}.ff\\:px-3{padding-inline:calc(var(--ff-spacing)*3)}.ff\\:px-4{padding-inline:calc(var(--ff-spacing)*4)}.ff\\:px-5{padding-inline:calc(var(--ff-spacing)*5)}.ff\\:px-6{padding-inline:calc(var(--ff-spacing)*6)}.ff\\:py-0\\.5{padding-block:calc(var(--ff-spacing)*.5)}.ff\\:py-1{padding-block:calc(var(--ff-spacing)*1)}.ff\\:py-1\\.5{padding-block:calc(var(--ff-spacing)*1.5)}.ff\\:py-2{padding-block:calc(var(--ff-spacing)*2)}.ff\\:py-2\\.5{padding-block:calc(var(--ff-spacing)*2.5)}.ff\\:py-3{padding-block:calc(var(--ff-spacing)*3)}.ff\\:py-4{padding-block:calc(var(--ff-spacing)*4)}.ff\\:py-12{padding-block:calc(var(--ff-spacing)*12)}.ff\\:pt-2{padding-top:calc(var(--ff-spacing)*2)}.ff\\:pt-3{padding-top:calc(var(--ff-spacing)*3)}.ff\\:pt-4{padding-top:calc(var(--ff-spacing)*4)}.ff\\:pt-5{padding-top:calc(var(--ff-spacing)*5)}.ff\\:pb-0\\.5{padding-bottom:calc(var(--ff-spacing)*.5)}.ff\\:pb-1{padding-bottom:calc(var(--ff-spacing)*1)}.ff\\:pb-2{padding-bottom:calc(var(--ff-spacing)*2)}.ff\\:pb-8{padding-bottom:calc(var(--ff-spacing)*8)}.ff\\:text-center{text-align:center}.ff\\:text-right{text-align:right}.ff\\:font-heading{font-family:var(--ff-font-heading)}.ff\\:font-mono{font-family:var(--ff-font-mono)}.ff\\:text-2xl{font-size:var(--ff-text-2xl);line-height:var(--tw-leading,var(--ff-text-2xl--line-height))}.ff\\:text-3xl{font-size:var(--ff-text-3xl);line-height:var(--tw-leading,var(--ff-text-3xl--line-height))}.ff\\:text-4xl{font-size:var(--ff-text-4xl);line-height:var(--tw-leading,var(--ff-text-4xl--line-height))}.ff\\:text-base{font-size:var(--ff-text-base);line-height:var(--tw-leading,var(--ff-text-base--line-height))}.ff\\:text-lg{font-size:var(--ff-text-lg);line-height:var(--tw-leading,var(--ff-text-lg--line-height))}.ff\\:text-sm{font-size:var(--ff-text-sm);line-height:var(--tw-leading,var(--ff-text-sm--line-height))}.ff\\:text-xl{font-size:var(--ff-text-xl);line-height:var(--tw-leading,var(--ff-text-xl--line-height))}.ff\\:text-xs{font-size:var(--ff-text-xs);line-height:var(--tw-leading,var(--ff-text-xs--line-height))}.ff\\:text-xxs{font-size:var(--ff-text-xxs);line-height:var(--tw-leading,var(--ff-text-xxs--line-height))}.ff\\:leading-none{--tw-leading:1;line-height:1}.ff\\:leading-tight{--tw-leading:var(--ff-leading-tight);line-height:var(--ff-leading-tight)}.ff\\:font-black{--tw-font-weight:var(--ff-font-weight-black);font-weight:var(--ff-font-weight-black)}.ff\\:font-bold{--tw-font-weight:var(--ff-font-weight-bold);font-weight:var(--ff-font-weight-bold)}.ff\\:font-extrabold{--tw-font-weight:var(--ff-font-weight-extrabold);font-weight:var(--ff-font-weight-extrabold)}.ff\\:font-extralight{--tw-font-weight:var(--ff-font-weight-extralight);font-weight:var(--ff-font-weight-extralight)}.ff\\:font-light{--tw-font-weight:var(--ff-font-weight-light);font-weight:var(--ff-font-weight-light)}.ff\\:font-medium{--tw-font-weight:var(--ff-font-weight-medium);font-weight:var(--ff-font-weight-medium)}.ff\\:font-normal{--tw-font-weight:var(--ff-font-weight-normal);font-weight:var(--ff-font-weight-normal)}.ff\\:font-semibold{--tw-font-weight:var(--ff-font-weight-semibold);font-weight:var(--ff-font-weight-semibold)}.ff\\:tracking-\\[0\\.1em\\]{--tw-tracking:.1em;letter-spacing:.1em}.ff\\:tracking-\\[0\\.08em\\]{--tw-tracking:.08em;letter-spacing:.08em}.ff\\:tracking-\\[0\\.15em\\]{--tw-tracking:.15em;letter-spacing:.15em}.ff\\:tracking-tight{--tw-tracking:var(--ff-tracking-tight);letter-spacing:var(--ff-tracking-tight)}.ff\\:tracking-wide{--tw-tracking:var(--ff-tracking-wide);letter-spacing:var(--ff-tracking-wide)}.ff\\:tracking-wider{--tw-tracking:var(--ff-tracking-wider);letter-spacing:var(--ff-tracking-wider)}.ff\\:tracking-widest{--tw-tracking:var(--ff-tracking-widest);letter-spacing:var(--ff-tracking-widest)}.ff\\:whitespace-nowrap{white-space:nowrap}.ff\\:text-current{color:currentColor}.ff\\:text-danger{color:var(--ff-color-danger)}.ff\\:text-danger-foreground{color:var(--ff-color-danger-foreground)}.ff\\:text-foreground,.ff\\:text-foreground\\/80{color:var(--ff-color-foreground)}@supports (color:color-mix(in lab,red,red)){.ff\\:text-foreground\\/80{color:color-mix(in oklab,var(--ff-color-foreground)80%,transparent)}}.ff\\:text-muted{color:var(--ff-color-muted)}.ff\\:text-muted-foreground{color:var(--ff-color-muted-foreground)}.ff\\:text-muted\\/60{color:var(--ff-color-muted)}@supports (color:color-mix(in lab,red,red)){.ff\\:text-muted\\/60{color:color-mix(in oklab,var(--ff-color-muted)60%,transparent)}}.ff\\:text-neutral-300{color:var(--ff-color-neutral-300)}.ff\\:text-neutral-500{color:var(--ff-color-neutral-500)}.ff\\:text-primary{color:var(--ff-color-primary)}.ff\\:text-primary-foreground{color:var(--ff-color-primary-foreground)}.ff\\:text-success{color:var(--ff-color-success)}.ff\\:text-success-foreground{color:var(--ff-color-success-foreground)}.ff\\:text-warning{color:var(--ff-color-warning)}.ff\\:text-warning-foreground{color:var(--ff-color-warning-foreground)}.ff\\:uppercase{text-transform:uppercase}.ff\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ff\\:accent-foreground{accent-color:var(--ff-color-foreground)}.ff\\:opacity-0{opacity:0}.ff\\:opacity-25{opacity:.25}.ff\\:opacity-40{opacity:.4}.ff\\:opacity-50{opacity:.5}.ff\\:opacity-60{opacity:.6}.ff\\:opacity-80{opacity:.8}.ff\\:shadow-\\[0_0_10px_-2px_var\\(--ff-color-primary\\)\\]{--tw-shadow:0 0 10px -2px var(--tw-shadow-color,var(--ff-color-primary));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[0_2px_12px_-3px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\,0_0_12px_-6px_var\\(--ff-color-primary\\)\\]{--tw-shadow:0 2px 12px -3px var(--tw-shadow-color,#00000014),0 0 12px -6px var(--tw-shadow-color,var(--ff-color-primary));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[0_2px_12px_-3px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\]{--tw-shadow:0 2px 12px -3px var(--tw-shadow-color,#00000014);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[2px_2px_0_var\\(--ff-color-foreground\\)\\]{--tw-shadow:2px 2px 0 var(--tw-shadow-color,var(--ff-color-foreground));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[3px_3px_0_var\\(--ff-color-foreground\\)\\]{--tw-shadow:3px 3px 0 var(--tw-shadow-color,var(--ff-color-foreground));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[4px_4px_0_var\\(--ff-color-foreground\\)\\]{--tw-shadow:4px 4px 0 var(--tw-shadow-color,var(--ff-color-foreground));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[inset_0_-3px_0_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow:inset 0 -3px 0 var(--tw-shadow-color,#0003);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[inset_0_1px_4px_-1px_rgba\\(0\\,0\\,0\\,0\\.06\\)\\]{--tw-shadow:inset 0 1px 4px -1px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[inset_0_2px_4px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\]{--tw-shadow:inset 0 2px 4px var(--tw-shadow-color,#00000014);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[inset_2px_2px_0_var\\(--ff-color-secondary\\)\\]{--tw-shadow:inset 2px 2px 0 var(--tw-shadow-color,var(--ff-color-secondary));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-\\[inset_3px_3px_0_var\\(--ff-color-secondary\\)\\]{--tw-shadow:inset 3px 3px 0 var(--tw-shadow-color,var(--ff-color-secondary));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--ff-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ff-default-transition-duration))}.ff\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--ff-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ff-default-transition-duration))}.ff\\:transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--ff-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ff-default-transition-duration))}.ff\\:duration-100{--tw-duration:.1s;transition-duration:.1s}.ff\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.ff\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.ff\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.ff\\:ease-out{--tw-ease:var(--ff-ease-out);transition-timing-function:var(--ff-ease-out)}.ff\\:outline-none{--tw-outline-style:none;outline-style:none}.ff\\:select-none{-webkit-user-select:none;user-select:none}.ff\\:\\[background\\:linear-gradient\\(90deg\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_6\\%\\,transparent\\)_0\\%\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_10\\%\\,transparent\\)_50\\%\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_6\\%\\,transparent\\)_100\\%\\)\\]{background:linear-gradient(90deg,var(--ff-color-foreground)0%,var(--ff-color-foreground)50%,var(--ff-color-foreground)100%)}@supports (color:color-mix(in lab,red,red)){.ff\\:\\[background\\:linear-gradient\\(90deg\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_6\\%\\,transparent\\)_0\\%\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_10\\%\\,transparent\\)_50\\%\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_6\\%\\,transparent\\)_100\\%\\)\\]{background:linear-gradient(90deg,color-mix(in oklch,var(--ff-color-foreground)6%,transparent),color-mix(in oklch,var(--ff-color-foreground)10%,transparent),color-mix(in oklch,var(--ff-color-foreground)6%,transparent))}}.ff\\:\\[background\\:linear-gradient\\(90deg\\,transparent_0\\%\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_6\\%\\,transparent\\)_20\\%\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_6\\%\\,transparent\\)_80\\%\\,transparent_100\\%\\)\\]{background:linear-gradient(90deg,transparent 0%,var(--ff-color-foreground)20%,var(--ff-color-foreground)80%,transparent 100%)}@supports (color:color-mix(in lab,red,red)){.ff\\:\\[background\\:linear-gradient\\(90deg\\,transparent_0\\%\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_6\\%\\,transparent\\)_20\\%\\,color-mix\\(in_oklch\\,var\\(--ff-color-foreground\\)_6\\%\\,transparent\\)_80\\%\\,transparent_100\\%\\)\\]{background:linear-gradient(90deg,transparent 0%,color-mix(in oklch,var(--ff-color-foreground)6%,transparent)20%,color-mix(in oklch,var(--ff-color-foreground)6%,transparent)80%,transparent 100%)}}.ff\\:\\[background\\:linear-gradient\\(90deg\\,var\\(--ff-color-primary\\)\\,color-mix\\(in_oklch\\,var\\(--ff-color-primary\\)_80\\%\\,white\\)\\)\\]{background:linear-gradient(90deg,var(--ff-color-primary),var(--ff-color-primary))}@supports (color:color-mix(in lab,red,red)){.ff\\:\\[background\\:linear-gradient\\(90deg\\,var\\(--ff-color-primary\\)\\,color-mix\\(in_oklch\\,var\\(--ff-color-primary\\)_80\\%\\,white\\)\\)\\]{background:linear-gradient(90deg,var(--ff-color-primary),color-mix(in oklch,var(--ff-color-primary)80%,white))}}.ff\\:\\[background\\:repeating-linear-gradient\\(-45deg\\,var\\(--ff-color-primary\\)\\,var\\(--ff-color-primary\\)_8px\\,color-mix\\(in_oklch\\,var\\(--ff-color-primary\\)_80\\%\\,black\\)_8px\\,color-mix\\(in_oklch\\,var\\(--ff-color-primary\\)_80\\%\\,black\\)_16px\\)\\]{background:repeating-linear-gradient(-45deg,var(--ff-color-primary),var(--ff-color-primary)8px,var(--ff-color-primary)8px,var(--ff-color-primary)16px)}@supports (color:color-mix(in lab,red,red)){.ff\\:\\[background\\:repeating-linear-gradient\\(-45deg\\,var\\(--ff-color-primary\\)\\,var\\(--ff-color-primary\\)_8px\\,color-mix\\(in_oklch\\,var\\(--ff-color-primary\\)_80\\%\\,black\\)_8px\\,color-mix\\(in_oklch\\,var\\(--ff-color-primary\\)_80\\%\\,black\\)_16px\\)\\]{background:repeating-linear-gradient(-45deg,var(--ff-color-primary),var(--ff-color-primary)8px,color-mix(in oklch,var(--ff-color-primary)80%,black)8px,color-mix(in oklch,var(--ff-color-primary)80%,black)16px)}}.ff\\:\\[background\\:repeating-linear-gradient\\(-45deg\\,var\\(--ff-color-secondary\\)\\,var\\(--ff-color-secondary\\)_4px\\,var\\(--ff-color-background\\)_4px\\,var\\(--ff-color-background\\)_8px\\)\\]{background:repeating-linear-gradient(-45deg,var(--ff-color-secondary),var(--ff-color-secondary)4px,var(--ff-color-background)4px,var(--ff-color-background)8px)}.ff\\:\\[scrollbar-width\\:none\\]{scrollbar-width:none}.ff\\:duration-100{animation-duration:.1s}.ff\\:duration-150{animation-duration:.15s}.ff\\:duration-200{animation-duration:.2s}.ff\\:duration-300{animation-duration:.3s}.ff\\:ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.ff\\:peer-placeholder-shown\\:translate-y-0:is(:where(.ff\\:peer):placeholder-shown~*){--tw-translate-y:calc(var(--ff-spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:peer-placeholder-shown\\:scale-100:is(:where(.ff\\:peer):placeholder-shown~*){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.ff\\:peer-placeholder-shown\\:font-normal:is(:where(.ff\\:peer):placeholder-shown~*){--tw-font-weight:var(--ff-font-weight-normal);font-weight:var(--ff-font-weight-normal)}.ff\\:peer-placeholder-shown\\:text-muted:is(:where(.ff\\:peer):placeholder-shown~*){color:var(--ff-color-muted)}.ff\\:peer-focus\\:-translate-y-2:is(:where(.ff\\:peer):focus~*){--tw-translate-y:calc(var(--ff-spacing)*-2);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:peer-focus\\:scale-75:is(:where(.ff\\:peer):focus~*){--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.ff\\:peer-focus\\:font-medium:is(:where(.ff\\:peer):focus~*){--tw-font-weight:var(--ff-font-weight-medium);font-weight:var(--ff-font-weight-medium)}.ff\\:peer-focus\\:text-danger:is(:where(.ff\\:peer):focus~*){color:var(--ff-color-danger)}.ff\\:peer-focus\\:text-primary:is(:where(.ff\\:peer):focus~*){color:var(--ff-color-primary)}.ff\\:peer-disabled\\:text-muted:is(:where(.ff\\:peer):disabled~*){color:var(--ff-color-muted)}.ff\\:peer-disabled\\:opacity-50:is(:where(.ff\\:peer):disabled~*){opacity:.5}.ff\\:placeholder\\:text-muted::placeholder{color:var(--ff-color-muted)}.ff\\:placeholder\\:opacity-0::placeholder{opacity:0}.ff\\:placeholder\\:transition-opacity::placeholder{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--ff-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ff-default-transition-duration))}.ff\\:placeholder\\:duration-200::placeholder{--tw-duration:.2s;transition-duration:.2s;animation-duration:.2s}.ff\\:last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.ff\\:last\\:pb-0:last-child{padding-bottom:calc(var(--ff-spacing)*0)}@media(hover:hover){.ff\\:hover\\:-translate-x-0\\.5:hover{--tw-translate-x:calc(var(--ff-spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:hover\\:translate-x-0:hover{--tw-translate-x:calc(var(--ff-spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:hover\\:-translate-y-0\\.5:hover{--tw-translate-y:calc(var(--ff-spacing)*-.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:hover\\:translate-y-0:hover{--tw-translate-y:calc(var(--ff-spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:hover\\:border-foreground:hover{border-color:var(--ff-color-foreground)}.ff\\:hover\\:border-primary:hover{border-color:var(--ff-color-primary)}.ff\\:hover\\:bg-danger:hover{background-color:var(--ff-color-danger)}.ff\\:hover\\:bg-primary:hover{background-color:var(--ff-color-primary)}.ff\\:hover\\:bg-secondary:hover{background-color:var(--ff-color-secondary)}.ff\\:hover\\:text-danger-foreground:hover{color:var(--ff-color-danger-foreground)}.ff\\:hover\\:text-primary:hover{color:var(--ff-color-primary)}.ff\\:hover\\:text-primary-foreground:hover{color:var(--ff-color-primary-foreground)}.ff\\:hover\\:underline:hover{text-decoration-line:underline}.ff\\:hover\\:opacity-85:hover{opacity:.85}.ff\\:hover\\:opacity-90:hover{opacity:.9}.ff\\:hover\\:shadow-\\[0_4px_16px_-4px_rgba\\(0\\,0\\,0\\,0\\.12\\)\\]:hover{--tw-shadow:0 4px 16px -4px var(--tw-shadow-color,#0000001f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:hover\\:shadow-\\[4px_4px_0_var\\(--ff-color-foreground\\)\\]:hover{--tw-shadow:4px 4px 0 var(--tw-shadow-color,var(--ff-color-foreground));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:hover\\:shadow-\\[6px_6px_0_var\\(--ff-color-foreground\\)\\]:hover{--tw-shadow:6px 6px 0 var(--tw-shadow-color,var(--ff-color-foreground));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:hover\\:shadow-none:hover{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.ff\\:focus\\:border-danger:focus,.ff\\:focus\\:border-danger\\/50:focus{border-color:var(--ff-color-danger)}@supports (color:color-mix(in lab,red,red)){.ff\\:focus\\:border-danger\\/50:focus{border-color:color-mix(in oklab,var(--ff-color-danger)50%,transparent)}}.ff\\:focus\\:border-primary:focus,.ff\\:focus\\:border-primary\\/50:focus{border-color:var(--ff-color-primary)}@supports (color:color-mix(in lab,red,red)){.ff\\:focus\\:border-primary\\/50:focus{border-color:color-mix(in oklab,var(--ff-color-primary)50%,transparent)}}.ff\\:focus\\:border-b-danger:focus{border-bottom-color:var(--ff-color-danger)}.ff\\:focus\\:border-b-primary:focus{border-bottom-color:var(--ff-color-primary)}.ff\\:focus\\:bg-surface:focus{background-color:var(--ff-color-surface)}.ff\\:focus\\:shadow-\\[inset_0_1px_4px_-1px_rgba\\(0\\,0\\,0\\,0\\.06\\)\\,0_0_0_3px_rgba\\(var\\(--ff-color-danger-rgb\\)\\,0\\.12\\)\\]:focus{--tw-shadow:inset 0 1px 4px -1px var(--tw-shadow-color,#0000000f),0 0 0 3px var(--tw-shadow-color,rgba(var(--ff-color-danger-rgb),.12));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:focus\\:shadow-\\[inset_0_1px_4px_-1px_rgba\\(0\\,0\\,0\\,0\\.06\\)\\,0_0_0_3px_rgba\\(var\\(--ff-color-primary-rgb\\)\\,0\\.12\\)\\]:focus{--tw-shadow:inset 0 1px 4px -1px var(--tw-shadow-color,#0000000f),0 0 0 3px var(--tw-shadow-color,rgba(var(--ff-color-primary-rgb),.12));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:focus\\:shadow-\\[inset_2px_2px_0_var\\(--ff-color-primary\\)\\]:focus{--tw-shadow:inset 2px 2px 0 var(--tw-shadow-color,var(--ff-color-primary));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:focus\\:shadow-\\[inset_3px_3px_0_var\\(--ff-color-primary\\)\\]:focus{--tw-shadow:inset 3px 3px 0 var(--tw-shadow-color,var(--ff-color-primary));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:focus\\:shadow-none:focus{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:focus\\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:focus\\:ring-danger:focus,.ff\\:focus\\:ring-danger\\/20:focus{--tw-ring-color:var(--ff-color-danger)}@supports (color:color-mix(in lab,red,red)){.ff\\:focus\\:ring-danger\\/20:focus{--tw-ring-color:color-mix(in oklab,var(--ff-color-danger)20%,transparent)}}.ff\\:focus\\:ring-primary\\/20:focus{--tw-ring-color:var(--ff-color-primary)}@supports (color:color-mix(in lab,red,red)){.ff\\:focus\\:ring-primary\\/20:focus{--tw-ring-color:color-mix(in oklab,var(--ff-color-primary)20%,transparent)}}.ff\\:focus\\:placeholder\\:opacity-100:focus::placeholder{opacity:1}.ff\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:focus-visible\\:ring-border:focus-visible{--tw-ring-color:var(--ff-color-border)}.ff\\:focus-visible\\:ring-danger:focus-visible{--tw-ring-color:var(--ff-color-danger)}.ff\\:focus-visible\\:ring-primary:focus-visible{--tw-ring-color:var(--ff-color-primary)}.ff\\:focus-visible\\:ring-secondary:focus-visible{--tw-ring-color:var(--ff-color-secondary)}.ff\\:focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.ff\\:active\\:translate-x-0:active{--tw-translate-x:calc(var(--ff-spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:active\\:translate-x-0\\.5:active{--tw-translate-x:calc(var(--ff-spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:active\\:translate-y-0:active{--tw-translate-y:calc(var(--ff-spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:active\\:translate-y-0\\.5:active{--tw-translate-y:calc(var(--ff-spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.ff\\:active\\:opacity-70:active{opacity:.7}.ff\\:active\\:shadow-\\[2px_2px_0_var\\(--ff-color-foreground\\)\\]:active{--tw-shadow:2px 2px 0 var(--tw-shadow-color,var(--ff-color-foreground));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:active\\:shadow-\\[inset_0_2px_4px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]:active{--tw-shadow:inset 0 2px 4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:active\\:shadow-none:active{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ff\\:disabled\\:pointer-events-none:disabled{pointer-events:none}.ff\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.ff\\:disabled\\:opacity-35:disabled{opacity:.35}.ff\\:disabled\\:opacity-50:disabled{opacity:.5}.ff\\:\\[\\&\\:\\:-webkit-scrollbar\\]\\:hidden::-webkit-scrollbar{display:none}.ff\\:\\[\\&\\>\\*\\]\\:min-h-0>*{min-height:calc(var(--ff-spacing)*0)}.ff\\:\\[\\&\\>\\*\\]\\:flex-1>*{flex:1}.fanfare-text-balance{text-wrap:balance}.fanfare-text-pretty{text-wrap:pretty}}[data-fanfare-variant=default]{--ff-variant:"default"}[data-fanfare-variant=retro]{--ff-variant:"retro";--ff-color-background:#f4f1ea;--ff-color-foreground:#000;--ff-color-muted:#444;--ff-color-muted-foreground:#444;--ff-color-border:#000;--ff-font-sans:"Inconsolata","JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;--ff-font-heading:"Inconsolata","JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;--ff-font-mono:"Inconsolata","JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace}[data-fanfare-variant=rounded]{--ff-variant:"rounded"}[data-fanfare-variant=clean]{--ff-variant:"clean";--ff-color-background:#fff;--ff-color-foreground:#0a0a0a;--ff-color-muted:#737373;--ff-color-muted-foreground:#737373;--ff-color-border:#e8e8e8;--ff-font-sans:"Figtree",system-ui,sans-serif;--ff-font-heading:"Figtree",system-ui,sans-serif;--ff-font-mono:"Inconsolata","JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0))}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes slide-in{0%{opacity:0;transform:translateY(-.5rem)}to{opacity:1;transform:translateY(0)}}@keyframes slide-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-.5rem)}}@keyframes scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes scale-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}@keyframes celebration-bounce{0%,to{transform:scale(1)}25%{transform:scale(1.2)}50%{transform:scale(.95)}75%{transform:scale(1.1)}}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-4px)}20%,40%,60%,80%{transform:translate(4px)}}@keyframes pulse-success{0%{box-shadow:0 0 0 0 var(--ff-color-success,#22c55e)}70%{box-shadow:0 0 0 10px #0000}to{box-shadow:0 0 #0000}}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes skeleton-slide{0%{background-position:-100% 0}to{background-position:200% 0}}@keyframes countdown-digit-flip{0%{filter:blur(2px);opacity:0;transform:translateY(100%)}to{filter:blur();opacity:1;transform:translateY(0)}}', Gi = '@theme{ --color-primary: #1d1f27; --color-primary-foreground: #ffffff; --color-secondary: #f4f4f5; --color-background: #ffffff; --color-surface: #ffffff; --color-surface-foreground: #1d1f27; --color-foreground: #1d1f27; --color-muted: #4b4e56cc; --color-muted-foreground: #4b4e5699; --color-border: #4b4e5666; --color-success: oklch(.77 .18 130); --color-success-foreground: #111111; --color-warning: oklch(.72 .18 65); --color-warning-foreground: #111111; --color-danger: oklch(.63 .24 25); --color-danger-foreground: #ffffff; --font-sans: "Inter", system-ui, sans-serif; --font-heading: "Inter", system-ui, sans-serif; --text-xxs: .625rem; --text-xxs--line-height: .875rem; }[data-fanfare-variant=default]{--ff-variant: "default"}[data-fanfare-variant=retro]{--ff-variant: "retro";--ff-color-background: #f4f1ea;--ff-color-foreground: #000000;--ff-color-muted: #444444;--ff-color-muted-foreground: #444444;--ff-color-border: #000000;--ff-font-sans: "Inconsolata", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--ff-font-heading: "Inconsolata", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--ff-font-mono: "Inconsolata", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace}[data-fanfare-variant=rounded]{--ff-variant: "rounded"}[data-fanfare-variant=clean]{--ff-variant: "clean";--ff-color-background: #ffffff;--ff-color-foreground: #0a0a0a;--ff-color-muted: #737373;--ff-color-muted-foreground: #737373;--ff-color-border: #e8e8e8;--ff-font-sans: "Figtree", system-ui, sans-serif;--ff-font-heading: "Figtree", system-ui, sans-serif;--ff-font-mono: "Inconsolata", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace}@layer base{.fanfare-themed{font-family:var(--ff-font-sans);color:var(--ff-color-foreground);background-color:var(--ff-color-background)}.fanfare-themed *,.fanfare-themed :after,.fanfare-themed :before,.fanfare-themed ::backdrop,.fanfare-themed ::file-selector-button{border-color:var(--ff-color-border);outline-color:var(--ff-color-border)}.fanfare-themed button:not(:disabled),.fanfare-themed [role=button]:not(:disabled){cursor:pointer}.fanfare-themed :focus-visible{outline:2px solid var(--ff-color-primary);outline-offset:2px}@media(prefers-reduced-motion:reduce){.fanfare-themed *,.fanfare-themed :before,.fanfare-themed :after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}}';
5876
5878
  var Ji = /* @__PURE__ */ u("<style data-fanfare-styles>");
5877
- function Ur() {
5879
+ function Or() {
5878
5880
  return (() => {
5879
5881
  var e = Ji();
5880
5882
  return i(e, Hi, null), i(e, Gi, null), e;
5881
5883
  })();
5882
5884
  }
5883
- Ur.displayName = "WebComponentStyles";
5885
+ Or.displayName = "WebComponentStyles";
5884
5886
  var Zi = /* @__PURE__ */ u("<div>"), Yi = /* @__PURE__ */ u('<div class="ff:flex ff:items-center ff:justify-center ff:gap-2"><span class="ff:text-muted ff:text-sm">Loading…'), Qi = /* @__PURE__ */ u('<p class="ff:text-danger ff:text-sm"data-slot=web-component-error>');
5885
- function Or(e) {
5887
+ function Wr(e) {
5886
5888
  const [t, r] = D(null), [a, o] = D(!1), [f, s] = D(null), l = d(() => {
5887
5889
  const c = t();
5888
5890
  return !c || a() || f() ? null : c;
@@ -5893,13 +5895,13 @@ function Or(e) {
5893
5895
  r(null), o(!1), s(v ?? "Missing required configuration. Set organization-id and publishable-key (or pass defaults to registerWebComponents()).");
5894
5896
  return;
5895
5897
  }
5896
- const y = c;
5898
+ const x = c;
5897
5899
  let _ = !1, V = null;
5898
5900
  o(!0), s(null), r(null);
5899
- async function T() {
5901
+ async function I() {
5900
5902
  try {
5901
5903
  const m = await sn({
5902
- ...y,
5904
+ ...x,
5903
5905
  autoResume: w && b
5904
5906
  });
5905
5907
  if (V = m, _) {
@@ -5912,10 +5914,10 @@ function Or(e) {
5912
5914
  _ || (s(h), o(!1));
5913
5915
  }
5914
5916
  }
5915
- T(), Se(() => {
5917
+ I(), Se(() => {
5916
5918
  _ = !0, V && V.destroy();
5917
5919
  });
5918
- }), [n(Ur, {}), n(x, {
5920
+ }), [n(Or, {}), n(y, {
5919
5921
  get when() {
5920
5922
  return l();
5921
5923
  },
@@ -5923,7 +5925,7 @@ function Or(e) {
5923
5925
  get fallback() {
5924
5926
  return (() => {
5925
5927
  var c = Zi();
5926
- return i(c, n(x, {
5928
+ return i(c, n(y, {
5927
5929
  get when() {
5928
5930
  return f();
5929
5931
  },
@@ -5970,11 +5972,11 @@ function Or(e) {
5970
5972
  })
5971
5973
  })];
5972
5974
  }
5973
- Or.displayName = "FanfareWebComponentProvider";
5975
+ Wr.displayName = "FanfareWebComponentProvider";
5974
5976
  const Xi = {
5975
5977
  experience: "fanfare-experience-widget"
5976
5978
  };
5977
- function Ie(e) {
5979
+ function Le(e) {
5978
5980
  if (typeof e != "string") return;
5979
5981
  const t = e.trim();
5980
5982
  return t.length ? t : void 0;
@@ -6022,9 +6024,9 @@ function rf(e) {
6022
6024
  }
6023
6025
  }
6024
6026
  function nf(e, t) {
6025
- const r = Ie(e.organizationId), a = Ie(e.publishableKey);
6027
+ const r = Le(e.organizationId), a = Le(e.publishableKey);
6026
6028
  if (!r || !a) return null;
6027
- const o = Ie(e.apiUrl);
6029
+ const o = Le(e.apiUrl);
6028
6030
  return {
6029
6031
  organizationId: r,
6030
6032
  publishableKey: a,
@@ -6061,8 +6063,8 @@ function yf(e = {}) {
6061
6063
  }, (r, {
6062
6064
  element: a
6063
6065
  }) => {
6064
- const o = d(() => Ie(r.experienceId)), f = d(() => o() ? nf(r, a) : null), s = d(() => o() ? null : "Missing required attribute: experience-id"), l = d(() => rf(r.themeConfig)), c = d(() => tf(r.translations));
6065
- return n(Or, {
6066
+ const o = d(() => Le(r.experienceId)), f = d(() => o() ? nf(r, a) : null), s = d(() => o() ? null : "Missing required attribute: experience-id"), l = d(() => rf(r.themeConfig)), c = d(() => tf(r.translations));
6067
+ return n(Wr, {
6066
6068
  get config() {
6067
6069
  return f();
6068
6070
  },
@@ -6088,10 +6090,10 @@ function yf(e = {}) {
6088
6090
  return r.variant;
6089
6091
  },
6090
6092
  get className() {
6091
- return Ie(r.containerClass);
6093
+ return Le(r.containerClass);
6092
6094
  },
6093
6095
  get children() {
6094
- return n(jr, {
6096
+ return n(Ur, {
6095
6097
  get experienceId() {
6096
6098
  return o() ?? "";
6097
6099
  },
@@ -6099,16 +6101,16 @@ function yf(e = {}) {
6099
6101
  return St(a, "auto-start", r.autoStart, !1);
6100
6102
  },
6101
6103
  get accessCode() {
6102
- return Ie(r.accessCode);
6104
+ return Le(r.accessCode);
6103
6105
  },
6104
6106
  get autoEnterWaitlist() {
6105
6107
  return St(a, "auto-enter-waitlist", r.autoEnterWaitlist, !1);
6106
6108
  },
6107
6109
  get checkoutUrl() {
6108
- return Ie(r.checkoutUrl);
6110
+ return Le(r.checkoutUrl);
6109
6111
  },
6110
6112
  get className() {
6111
- return Ie(r.containerClass);
6113
+ return Le(r.containerClass);
6112
6114
  },
6113
6115
  onJourneyChange: (v) => {
6114
6116
  a.dispatchEvent(new CustomEvent("fanfare-journey-change", {
@@ -6146,29 +6148,29 @@ function yf(e = {}) {
6146
6148
  });
6147
6149
  }
6148
6150
  export {
6149
- Lr as AccessCodeForm,
6151
+ Mr as AccessCodeForm,
6150
6152
  Je as AuctionModule,
6151
- Tr as AuthForm,
6152
- Ar as AuthInput,
6153
+ Lr as AuthForm,
6154
+ Nr as AuthInput,
6153
6155
  O as Button,
6154
- Sr as Card,
6156
+ Er as Card,
6155
6157
  la as CardContent,
6156
6158
  sa as CardDescription,
6157
6159
  ca as CardFooter,
6158
6160
  ia as CardHeader,
6159
6161
  fa as CardTitle,
6160
- Mr as ChallengeGate,
6162
+ Rr as ChallengeGate,
6161
6163
  Ze as DrawModule,
6162
- Rr as EndedModule,
6164
+ zr as EndedModule,
6163
6165
  Ge as ErrorView,
6164
- jr as ExperienceWidget,
6166
+ Ur as ExperienceWidget,
6165
6167
  yn as FanfareProvider,
6166
6168
  et as GrantedPanel,
6167
6169
  xn as I18nProvider,
6168
6170
  we as InfoPanel,
6169
6171
  lt as Input,
6170
6172
  _t as LoadingView,
6171
- Nr as OTPInput,
6173
+ Ir as OTPInput,
6172
6174
  je as OutcomePanel,
6173
6175
  re as PanelBody,
6174
6176
  ee as PanelFooter,
@@ -6180,13 +6182,13 @@ export {
6180
6182
  ge as THEME_CSS_VARS,
6181
6183
  yt as ThemeProvider,
6182
6184
  it as TimedReleaseModule,
6183
- Pr as UpcomingModule,
6184
- Br as WaitlistView,
6185
+ jr as UpcomingModule,
6186
+ Fr as WaitlistView,
6185
6187
  Hi as baseStyles,
6186
6188
  En as buildThemeCssVars,
6187
6189
  ba as buttonVariants,
6188
6190
  Cf as isRTLLocale,
6189
- Yt as normalizeOutcomeReason,
6191
+ Qt as normalizeOutcomeReason,
6190
6192
  yf as registerWebComponents,
6191
6193
  Gi as themeStyles,
6192
6194
  _n as useExperienceJourney,