@fanfare-io/fanfare-sdk-solid 0.9.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 +489 -489
  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
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 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";
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 {
@@ -43,9 +43,9 @@ function bn(e, t, r, a, o) {
43
43
  const x = t();
44
44
  return x && x !== e.locale() ? rn(x) : e.messages();
45
45
  }), l = d(() => a() ?? e.experienceTranslations()), c = d(() => {
46
- const x = Kt(s(), l() ?? void 0);
47
- return Kt(x, 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,
@@ -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;
@@ -130,12 +130,12 @@ function kn(e) {
130
130
  function _n(e, t) {
131
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) {
@@ -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,8 +299,8 @@ 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
306
  return n(y, {
@@ -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())), x = 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
  },
@@ -396,7 +396,7 @@ function lt(e) {
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
402
  }), null), i(V, n(y, {
@@ -404,11 +404,11 @@ function lt(e) {
404
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,7 +418,7 @@ function lt(e) {
418
418
  a: void 0
419
419
  }), V;
420
420
  })() : (() => {
421
- var V = An(), T = V.firstChild, m = T.firstChild;
421
+ var V = An(), I = V.firstChild, m = I.firstChild;
422
422
  return i(V, n(y, {
423
423
  get when() {
424
424
  return w();
@@ -426,7 +426,7 @@ function lt(e) {
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(y, {
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(y, {
468
+ }), null), i(I, n(y, {
469
469
  get when() {
470
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, {});
@@ -571,8 +571,8 @@ function De(e) {
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
  }
@@ -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({
@@ -825,12 +825,12 @@ function Cr(e) {
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"]);
@@ -846,7 +846,7 @@ function ae(e) {
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
  },
@@ -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"]);
@@ -1025,7 +1025,7 @@ function ee(e) {
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);
@@ -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,7 +1338,7 @@ 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
1344
  return i(t, n(y, {
@@ -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));
@@ -1421,26 +1421,26 @@ function ye(e) {
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" ? x().slice(0, 3) : x()), V = d(() => s() ? "ff:opacity-50" : void 0), T = (m) => m.toString().padStart(2, "0");
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
1444
  return n(y, {
1445
1445
  get when() {
1446
1446
  return f();
@@ -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(y, {
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
  },
@@ -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,7 +1555,7 @@ 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
1561
  return n(y, {
@@ -1563,7 +1563,7 @@ function kt(e) {
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
  });
@@ -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,21 +1688,21 @@ 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, x] = 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
1707
  w(null), x(!1), r.onValidChange?.(!1);
1708
1708
  return;
@@ -1710,7 +1710,7 @@ function Ar(e) {
1710
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;
@@ -1729,7 +1729,7 @@ function Ar(e) {
1729
1729
  }, z = () => {
1730
1730
  const R = f() === "email" ? "phone" : "email";
1731
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)), I = d(() => r.placeholder || (f() === "email" ? t("auth.emailPlaceholder") : t("auth.phonePlaceholder"))), U = () => o() ? n(O, {
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) => {
@@ -1889,8 +1889,8 @@ function Nr(e) {
1889
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()];
@@ -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) => x(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,
@@ -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,62 +1965,62 @@ 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), [x, _] = 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
1995
  if (F?.preventDefault(), !(!m() || !x())) {
1996
- I(!0), R(null);
1996
+ L(!0), R(null);
1997
1997
  try {
1998
1998
  await e.onSubmit?.(x(), V()), b("verify"), W(Date.now() + mt);
1999
- } catch (B) {
2000
- R(B instanceof Error ? B.message : t("auth.sendFailed"));
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 (!(!x() || q())) {
2023
+ if (!(!x() || B())) {
2024
2024
  K(!0), R(null), z("");
2025
2025
  try {
2026
2026
  await e.onSubmit?.(x(), V()), W(Date.now() + mt), _e(Date.now()), P(!0);
@@ -2041,8 +2041,8 @@ 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
2047
  }), n(y, {
2048
2048
  get when() {
@@ -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);
@@ -2080,13 +2080,13 @@ function Tr(e) {
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();
@@ -2102,25 +2102,25 @@ function Tr(e) {
2102
2102
  },
2103
2103
  get fallback() {
2104
2104
  return [(() => {
2105
- var B = tr();
2106
- return i(B, Ne), B;
2105
+ var q = rr();
2106
+ return i(q, Ne), q;
2107
2107
  })(), n(y, {
2108
2108
  get when() {
2109
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, x), 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,24 +2131,24 @@ 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();
@@ -2159,7 +2159,7 @@ function Tr(e) {
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
2182
  return x();
2183
2183
  },
2184
- onValueChange: qe,
2184
+ onValueChange: Be,
2185
2185
  onValidChange: h,
2186
2186
  onSubmit: () => {
2187
2187
  N();
@@ -2197,21 +2197,21 @@ 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
2212
  return n(y, {
2213
2213
  get when() {
2214
- return L();
2214
+ return T();
2215
2215
  },
2216
2216
  get fallback() {
2217
2217
  return (() => {
@@ -2229,7 +2229,7 @@ function Tr(e) {
2229
2229
  ve();
2230
2230
  },
2231
2231
  get disabled() {
2232
- return q() || !x();
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,11 +2267,11 @@ 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
2277
  return n(y, {
@@ -2288,7 +2288,7 @@ function Tr(e) {
2288
2288
  }
2289
2289
  });
2290
2290
  }
2291
- }), null), i(B, n(y, {
2291
+ }), null), i(q, n(y, {
2292
2292
  get when() {
2293
2293
  return Q(() => !!e.allowSkip)() && w() === "credential";
2294
2294
  },
@@ -2304,7 +2304,7 @@ 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
  }
@@ -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), [x, _] = 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 {
@@ -2388,7 +2388,7 @@ function Lr(e) {
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,7 +2410,7 @@ function Lr(e) {
2410
2410
  v(k), _(null);
2411
2411
  },
2412
2412
  onSubmit: () => {
2413
- T();
2413
+ I();
2414
2414
  },
2415
2415
  get hasError() {
2416
2416
  return !!x();
@@ -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), [x, _] = 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
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() {
@@ -2587,18 +2587,18 @@ function Mr(e) {
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;
2600
+ var T = ho(), P = T.firstChild, B = P.nextSibling;
2601
+ return i(P, U), i(B, R), T;
2602
2602
  })(), n(y, {
2603
2603
  get when() {
2604
2604
  return C().blocked;
@@ -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(y, {
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(y, {
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
  },
@@ -2667,15 +2667,15 @@ function Mr(e) {
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
  }
@@ -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
@@ -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())), x = 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 {
@@ -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
@@ -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,7 +3120,7 @@ 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
3126
  }), n(y, {
@@ -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;
@@ -3240,7 +3240,7 @@ function qr(e) {
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
  },
@@ -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, {
@@ -3320,7 +3320,7 @@ 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
  }
@@ -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;
@@ -3477,7 +3477,7 @@ 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;
@@ -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), [x, _] = 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);
@@ -3616,7 +3616,7 @@ function $t(e) {
3616
3616
  }, le = () => $("ff:w-full ff:max-w-sm", e.class, e.className);
3617
3617
  te(() => {
3618
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 + or * 6, ue = ir(new Date(Math.max(N, G))), ve = ir(new Date(Math.min(me, N + or * 6)));
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,7 +3633,7 @@ 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
3638
  if (x()) {
3639
3639
  await e.onReschedule(N.id, N.locationId ?? e.defaultLocationId), _(!1), b(null);
@@ -3641,7 +3641,7 @@ function $t(e) {
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 = () => x() ? 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() {
@@ -3687,7 +3687,7 @@ function $t(e) {
3687
3687
  get children() {
3688
3688
  return n(y, {
3689
3689
  get when() {
3690
- return L();
3690
+ return T();
3691
3691
  },
3692
3692
  get fallback() {
3693
3693
  return (() => {
@@ -3777,7 +3777,7 @@ function $t(e) {
3777
3777
  return [n(ae, {
3778
3778
  variant: "default",
3779
3779
  get label() {
3780
- return Q(() => !!x())() ? 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, {
@@ -3803,7 +3803,7 @@ function $t(e) {
3803
3803
  onSelect: W
3804
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();
@@ -3855,28 +3855,28 @@ function bi(e) {
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
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
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
3881
  }), null), i(l, n(y, {
3882
3882
  get when() {
@@ -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 = {
@@ -4011,7 +4011,7 @@ function Je(e) {
4011
4011
  return o();
4012
4012
  },
4013
4013
  children: (x) => (() => {
4014
- var _ = sr(), V = _.firstChild;
4014
+ var _ = lr(), V = _.firstChild;
4015
4015
  return i(V, () => t("auction.endsIn")), i(_, n(ye, {
4016
4016
  get targetDate() {
4017
4017
  return x();
@@ -4021,7 +4021,7 @@ function Je(e) {
4021
4021
  })()
4022
4022
  }), n(we, {
4023
4023
  get children() {
4024
- var x = fr();
4024
+ var x = sr();
4025
4025
  return i(x, () => t("auction.description")), x;
4026
4026
  }
4027
4027
  }), n(y, {
@@ -4085,7 +4085,7 @@ function Je(e) {
4085
4085
  return a().status === "winning" ? "default" : "success";
4086
4086
  },
4087
4087
  get label() {
4088
- return Q(() => a().status === "winning")() ? t("auction.winningTitle") : t("auction.title");
4088
+ return Q(() => a().status === "winning")() ? t("auction.winning.title") : t("auction.title");
4089
4089
  }
4090
4090
  }), n(re, {
4091
4091
  get children() {
@@ -4094,7 +4094,7 @@ function Je(e) {
4094
4094
  return o();
4095
4095
  },
4096
4096
  children: (x) => (() => {
4097
- var _ = sr(), V = _.firstChild;
4097
+ var _ = lr(), V = _.firstChild;
4098
4098
  return i(V, () => t("auction.endsIn")), i(_, n(ye, {
4099
4099
  get targetDate() {
4100
4100
  return x();
@@ -4109,19 +4109,19 @@ function Je(e) {
4109
4109
  return l(a().highestBid);
4110
4110
  },
4111
4111
  children: (x) => (() => {
4112
- var _ = lr(), V = _.firstChild, T = V.nextSibling;
4113
- return i(V, () => t("auction.currentBid")), i(T, x), _;
4112
+ var _ = cr(), V = _.firstChild, I = V.nextSibling;
4113
+ return i(V, () => t("auction.currentBid")), i(I, x), _;
4114
4114
  })()
4115
4115
  }), n(y, {
4116
4116
  get when() {
4117
4117
  return l(a().currentBid);
4118
4118
  },
4119
4119
  children: (x) => (() => {
4120
- var _ = lr(), V = _.firstChild, T = V.nextSibling;
4120
+ var _ = cr(), V = _.firstChild, I = V.nextSibling;
4121
4121
  return i(V, (() => {
4122
4122
  var m = Q(() => a().status === "winning");
4123
4123
  return () => m() ? t("auction.yourWinningBid") : t("auction.yourBidLabel");
4124
- })()), i(T, x), _;
4124
+ })()), i(I, x), _;
4125
4125
  })()
4126
4126
  })];
4127
4127
  }
@@ -4158,7 +4158,7 @@ function Je(e) {
4158
4158
  return e.isLeaving;
4159
4159
  },
4160
4160
  get children() {
4161
- return t("common.leave");
4161
+ return t("action.leave");
4162
4162
  }
4163
4163
  });
4164
4164
  }
@@ -4185,22 +4185,22 @@ function Je(e) {
4185
4185
  return [n(ae, {
4186
4186
  variant: "default",
4187
4187
  get label() {
4188
- return t("auction.settlingTitle");
4188
+ return t("auction.settling.title");
4189
4189
  }
4190
4190
  }), n(re, {
4191
4191
  get children() {
4192
4192
  return n(we, {
4193
4193
  get children() {
4194
4194
  return [(() => {
4195
- var x = fr();
4196
- return i(x, () => t("auction.settlingDescription")), x;
4195
+ var x = sr();
4196
+ return i(x, () => t("auction.settling.description")), x;
4197
4197
  })(), n(y, {
4198
4198
  get when() {
4199
4199
  return l(a().highestBid);
4200
4200
  },
4201
4201
  children: (x) => (() => {
4202
- var _ = _i(), V = _.firstChild, T = V.nextSibling;
4203
- return i(V, () => t("auction.currentBid")), i(T, x), _;
4202
+ var _ = _i(), V = _.firstChild, I = V.nextSibling;
4203
+ return i(V, () => t("auction.currentBid")), i(I, x), _;
4204
4204
  })()
4205
4205
  })];
4206
4206
  }
@@ -4217,13 +4217,13 @@ function Je(e) {
4217
4217
  get children() {
4218
4218
  return n(et, {
4219
4219
  get label() {
4220
- return t("auction.wonTitle");
4220
+ return t("auction.won.title");
4221
4221
  },
4222
4222
  get fallbackMessage() {
4223
- return t("auction.wonDescription");
4223
+ return t("auction.won.description");
4224
4224
  },
4225
4225
  get ctaLabel() {
4226
- return t("auction.proceedToCheckout");
4226
+ return t("action.proceedToCheckout");
4227
4227
  },
4228
4228
  get expiresAt() {
4229
4229
  return f();
@@ -4266,7 +4266,7 @@ function Je(e) {
4266
4266
  });
4267
4267
  }
4268
4268
  Je.displayName = "AuctionModule";
4269
- 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">');
4270
4270
  const Ei = Pe({});
4271
4271
  function Ze(e) {
4272
4272
  const {
@@ -4310,7 +4310,7 @@ function Ze(e) {
4310
4310
  return a();
4311
4311
  },
4312
4312
  children: (c) => (() => {
4313
- var v = dr(), w = v.firstChild;
4313
+ var v = ur(), w = v.firstChild;
4314
4314
  return i(w, () => t("draw.drawClosesIn")), i(v, n(ye, {
4315
4315
  get targetDate() {
4316
4316
  return c();
@@ -4361,7 +4361,7 @@ function Ze(e) {
4361
4361
  return [n(ae, {
4362
4362
  variant: "success",
4363
4363
  get label() {
4364
- return t("draw.entered");
4364
+ return t("draw.entered.title");
4365
4365
  }
4366
4366
  }), n(re, {
4367
4367
  get children() {
@@ -4378,7 +4378,7 @@ function Ze(e) {
4378
4378
  return a();
4379
4379
  },
4380
4380
  children: (c) => (() => {
4381
- var v = dr(), w = v.firstChild;
4381
+ var v = ur(), w = v.firstChild;
4382
4382
  return i(w, () => t("draw.drawHappensIn")), i(v, n(ye, {
4383
4383
  get targetDate() {
4384
4384
  return c();
@@ -4388,10 +4388,10 @@ function Ze(e) {
4388
4388
  })()
4389
4389
  }), n(we, {
4390
4390
  get children() {
4391
- var c = cr();
4391
+ var c = dr();
4392
4392
  return i(c, (() => {
4393
4393
  var v = Q(() => !!a());
4394
- return () => v() ? t("draw.goodLuck") : t("draw.stayTuned");
4394
+ return () => v() ? t("draw.entered.description") : t("draw.stayTuned");
4395
4395
  })()), c;
4396
4396
  }
4397
4397
  }), n(y, {
@@ -4438,14 +4438,14 @@ function Ze(e) {
4438
4438
  return [n(ae, {
4439
4439
  variant: "default",
4440
4440
  get label() {
4441
- return t("draw.settlingTitle");
4441
+ return t("draw.settling.title");
4442
4442
  }
4443
4443
  }), n(re, {
4444
4444
  get children() {
4445
4445
  return n(we, {
4446
4446
  get children() {
4447
- var c = cr();
4448
- return i(c, () => t("draw.settlingDescription")), c;
4447
+ var c = dr();
4448
+ return i(c, () => t("draw.settling.description")), c;
4449
4449
  }
4450
4450
  });
4451
4451
  }
@@ -4460,7 +4460,7 @@ function Ze(e) {
4460
4460
  get children() {
4461
4461
  return n(et, {
4462
4462
  get label() {
4463
- return t("draw.wonTitle");
4463
+ return t("draw.won.title");
4464
4464
  },
4465
4465
  get fallbackMessage() {
4466
4466
  return t("granted.description");
@@ -4509,12 +4509,12 @@ function Ze(e) {
4509
4509
  });
4510
4510
  }
4511
4511
  Ze.displayName = "DrawModule";
4512
- 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">');
4513
- 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({});
4514
4514
  function ot(e) {
4515
4515
  const {
4516
4516
  t
4517
- } = fe(), r = ze(() => e.display$ ?? Ti), a = d(() => {
4517
+ } = fe(), r = ze(() => e.display$ ?? Ii), a = d(() => {
4518
4518
  const s = e.expiresAt;
4519
4519
  if (s)
4520
4520
  return s instanceof Date ? s : new Date(s);
@@ -4529,7 +4529,7 @@ function ot(e) {
4529
4529
  return e.sequencePhase === "enterable";
4530
4530
  },
4531
4531
  get children() {
4532
- var s = ur();
4532
+ var s = gr();
4533
4533
  return i(s, n(ne, {
4534
4534
  get class() {
4535
4535
  return f();
@@ -4589,7 +4589,7 @@ function ot(e) {
4589
4589
  return e.sequencePhase === "participating";
4590
4590
  },
4591
4591
  get children() {
4592
- var s = ur();
4592
+ var s = gr();
4593
4593
  return i(s, n(ne, {
4594
4594
  get class() {
4595
4595
  return f();
@@ -4670,10 +4670,10 @@ function ot(e) {
4670
4670
  get children() {
4671
4671
  return n(et, {
4672
4672
  get label() {
4673
- return t("queue.granted");
4673
+ return t("queue.granted.title");
4674
4674
  },
4675
4675
  get fallbackMessage() {
4676
- return t("queue.grantedMessage");
4676
+ return t("queue.granted.message");
4677
4677
  },
4678
4678
  get ctaLabel() {
4679
4679
  return t("granted.cta");
@@ -4719,12 +4719,12 @@ function ot(e) {
4719
4719
  });
4720
4720
  }
4721
4721
  ot.displayName = "QueueModule";
4722
- 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">');
4723
- 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({});
4724
4724
  function it(e) {
4725
4725
  const {
4726
4726
  t
4727
- } = fe(), r = ze(() => e.display$ ?? Li), a = d(() => {
4727
+ } = fe(), r = ze(() => e.display$ ?? Ti), a = d(() => {
4728
4728
  const l = e.expiresAt;
4729
4729
  if (l)
4730
4730
  return l instanceof Date ? l : new Date(l);
@@ -4744,7 +4744,7 @@ function it(e) {
4744
4744
  return e.sequencePhase === "enterable";
4745
4745
  },
4746
4746
  get children() {
4747
- var l = hr();
4747
+ var l = mr();
4748
4748
  return i(l, n(ne, {
4749
4749
  get class() {
4750
4750
  return s();
@@ -4764,7 +4764,7 @@ function it(e) {
4764
4764
  return e.countdownTo;
4765
4765
  },
4766
4766
  children: (c) => (() => {
4767
- var v = mr(), w = v.firstChild;
4767
+ var v = vr(), w = v.firstChild;
4768
4768
  return i(w, () => t("timedRelease.windowClosesIn")), i(v, n(ye, {
4769
4769
  get targetDate() {
4770
4770
  return c();
@@ -4774,7 +4774,7 @@ function it(e) {
4774
4774
  })()
4775
4775
  }), n(we, {
4776
4776
  get children() {
4777
- var c = gr();
4777
+ var c = hr();
4778
4778
  return i(c, () => t("timedRelease.description")), c;
4779
4779
  }
4780
4780
  }), n(y, {
@@ -4809,7 +4809,7 @@ function it(e) {
4809
4809
  return e.sequencePhase === "participating";
4810
4810
  },
4811
4811
  get children() {
4812
- var l = hr();
4812
+ var l = mr();
4813
4813
  return i(l, n(ne, {
4814
4814
  get class() {
4815
4815
  return s();
@@ -4829,7 +4829,7 @@ function it(e) {
4829
4829
  return e.countdownTo;
4830
4830
  },
4831
4831
  children: (c) => (() => {
4832
- var v = mr(), w = v.firstChild;
4832
+ var v = vr(), w = v.firstChild;
4833
4833
  return i(w, () => t("timedRelease.completePurchaseIn")), i(v, n(ye, {
4834
4834
  get targetDate() {
4835
4835
  return c();
@@ -4839,11 +4839,11 @@ function it(e) {
4839
4839
  })()
4840
4840
  }), n(we, {
4841
4841
  get children() {
4842
- var c = gr();
4842
+ var c = hr();
4843
4843
  return i(c, () => t("timedRelease.browseAndComplete")), c;
4844
4844
  }
4845
4845
  }), (() => {
4846
- var c = Ii();
4846
+ var c = Li();
4847
4847
  return i(c, n(y, {
4848
4848
  get when() {
4849
4849
  return o();
@@ -4961,7 +4961,7 @@ function it(e) {
4961
4961
  }
4962
4962
  it.displayName = "TimedReleaseModule";
4963
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">');
4964
- function Pr(e) {
4964
+ function jr(e) {
4965
4965
  const {
4966
4966
  t
4967
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);
@@ -4986,7 +4986,7 @@ function Pr(e) {
4986
4986
  },
4987
4987
  children: (s) => (() => {
4988
4988
  var l = zi(), c = l.firstChild;
4989
- return i(c, () => t("countdown.startingSoon")), i(l, n(ye, {
4989
+ return i(c, () => t("duration.startingSoon")), i(l, n(ye, {
4990
4990
  get targetDate() {
4991
4991
  return s();
4992
4992
  },
@@ -4994,7 +4994,7 @@ function Pr(e) {
4994
4994
  return e.onCountdownComplete;
4995
4995
  },
4996
4996
  get expiredLabel() {
4997
- return t("countdown.startingSoon");
4997
+ return t("duration.startingSoon");
4998
4998
  }
4999
4999
  }), null), l;
5000
5000
  })()
@@ -5031,23 +5031,23 @@ function Pr(e) {
5031
5031
  })), A(() => M(f, se("fadeIn"))), f;
5032
5032
  })();
5033
5033
  }
5034
- Pr.displayName = "UpcomingModule";
5035
- var vr = /* @__PURE__ */ u("<div data-slot=experience-widget>");
5036
- const qi = Pe({});
5037
- 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) {
5038
5038
  return "mechanism" in e && e.mechanism === "auction" && "bid" in e;
5039
5039
  }
5040
- function Te(e) {
5040
+ function Ie(e) {
5041
5041
  return e === "queue" || e === "draw" || e === "auction" || e === "timed_release" || e === "appointment";
5042
5042
  }
5043
- function pr(e) {
5044
- return Te(e);
5043
+ function wr(e) {
5044
+ return Ie(e);
5045
5045
  }
5046
5046
  function Fi(e) {
5047
- return e?.phase === "enterable" && Te(e.mechanism);
5047
+ return e?.phase === "enterable" && Ie(e.mechanism);
5048
5048
  }
5049
5049
  function Pi(e) {
5050
- return e?.phase === "participating" && Te(e.mechanism);
5050
+ return e?.phase === "participating" && Ie(e.mechanism);
5051
5051
  }
5052
5052
  function ji(e) {
5053
5053
  return e?.phase === "granted";
@@ -5057,7 +5057,7 @@ function dt(e) {
5057
5057
  }
5058
5058
  function Ui(e, t) {
5059
5059
  const r = dt(e);
5060
- 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;
5061
5061
  }
5062
5062
  function Oi(e) {
5063
5063
  const t = dt(e);
@@ -5072,28 +5072,28 @@ function Wi(e) {
5072
5072
  function Ki(e, t) {
5073
5073
  return e ? "distributionId" in e && typeof e.distributionId == "string" && e.distributionId ? e.distributionId : e.id ?? t ?? null : t ?? null;
5074
5074
  }
5075
- function jr(e) {
5075
+ function Ur(e) {
5076
5076
  const t = ct(), {
5077
5077
  t: r
5078
5078
  } = fe(), [a] = Z(e, ["class", "className", "experienceId", "autoStart", "accessCode", "autoEnterWaitlist", "theme", "variant", "slots", "children", "checkoutUrl", "onJourneyChange", "onGranted", "onError"]), o = _n(() => a.experienceId, {
5079
5079
  autoStart: () => a.autoStart ?? !1,
5080
5080
  accessCode: () => a.accessCode,
5081
5081
  autoEnterWaitlist: () => a.autoEnterWaitlist ?? !1
5082
- }), [f, s] = D(!1), [l, c] = D(!1), [v, w] = D(!1), [b, x] = 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(() => {
5083
5083
  const g = X();
5084
5084
  return g?.journeyStage === "routed" ? g : void 0;
5085
- }), _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());
5086
5086
  te(() => {
5087
5087
  const g = R();
5088
5088
  g && a.onJourneyChange && Ye(() => a.onJourneyChange?.(g));
5089
5089
  }), te(() => {
5090
- const g = Rt()?.token;
5090
+ const g = zt()?.token;
5091
5091
  g && a.onGranted && Ye(() => a.onGranted?.(g));
5092
5092
  }), te(() => {
5093
5093
  const g = P();
5094
5094
  g && a.onError && Ye(() => a.onError?.(new Error(g)));
5095
5095
  });
5096
- const q = (g) => {
5096
+ const B = (g) => {
5097
5097
  const p = g instanceof Error ? g.message : "Unknown error";
5098
5098
  U(p);
5099
5099
  }, K = async () => {
@@ -5101,7 +5101,7 @@ function jr(e) {
5101
5101
  try {
5102
5102
  await o.start();
5103
5103
  } catch (g) {
5104
- q(g);
5104
+ B(g);
5105
5105
  } finally {
5106
5106
  s(!1);
5107
5107
  }
@@ -5117,9 +5117,9 @@ function jr(e) {
5117
5117
  type: p
5118
5118
  });
5119
5119
  } catch (S) {
5120
- q(S);
5120
+ B(S);
5121
5121
  }
5122
- }, qe = async (g) => {
5122
+ }, Be = async (g) => {
5123
5123
  const p = o.journey(), S = Ee();
5124
5124
  if (!(!p || !S)) {
5125
5125
  U(null);
@@ -5134,7 +5134,7 @@ function jr(e) {
5134
5134
  const E = p.view$.get();
5135
5135
  E.journeyStage === "gated" && await E.reroute();
5136
5136
  } catch (E) {
5137
- q(E);
5137
+ B(E);
5138
5138
  }
5139
5139
  }
5140
5140
  }, N = async (g) => {
@@ -5147,7 +5147,7 @@ function jr(e) {
5147
5147
  accessCode: g
5148
5148
  });
5149
5149
  } catch (S) {
5150
- q(S);
5150
+ B(S);
5151
5151
  }
5152
5152
  }
5153
5153
  }, G = async () => {
@@ -5156,9 +5156,9 @@ function jr(e) {
5156
5156
  c(!0), U(null);
5157
5157
  try {
5158
5158
  const p = g.view$.get();
5159
- p.journeyStage === "routed" && p.sequence.phase === "scheduled" && await p.sequence.waitlist?.join();
5159
+ p.journeyStage === "routed" && p.sequence.phase === "scheduled" && await p.waitlist?.join();
5160
5160
  } catch (p) {
5161
- q(p);
5161
+ B(p);
5162
5162
  } finally {
5163
5163
  c(!1);
5164
5164
  }
@@ -5169,9 +5169,9 @@ function jr(e) {
5169
5169
  w(!0), U(null);
5170
5170
  try {
5171
5171
  const p = g.view$.get();
5172
- p.journeyStage === "routed" && p.sequence.phase === "scheduled" && await p.sequence.waitlist?.leave();
5172
+ p.journeyStage === "routed" && p.sequence.phase === "scheduled" && await p.waitlist?.leave();
5173
5173
  } catch (p) {
5174
- q(p);
5174
+ B(p);
5175
5175
  } finally {
5176
5176
  w(!1);
5177
5177
  }
@@ -5186,7 +5186,7 @@ function jr(e) {
5186
5186
  try {
5187
5187
  await ue();
5188
5188
  } catch (g) {
5189
- q(g);
5189
+ B(g);
5190
5190
  } finally {
5191
5191
  x(!1);
5192
5192
  }
@@ -5198,7 +5198,7 @@ function jr(e) {
5198
5198
  const p = g.view$.get();
5199
5199
  p.journeyStage === "routed" && p.sequence.phase === "participating" && "leave" in p.sequence && await p.sequence.leave();
5200
5200
  } catch (p) {
5201
- q(p);
5201
+ B(p);
5202
5202
  } finally {
5203
5203
  V(!1);
5204
5204
  }
@@ -5211,7 +5211,7 @@ function jr(e) {
5211
5211
  const p = g.view$.get();
5212
5212
  p.journeyStage === "routed" && p.sequence.phase === "participating" && "complete" in p.sequence && await p.sequence.complete();
5213
5213
  } catch (p) {
5214
- q(p);
5214
+ B(p);
5215
5215
  }
5216
5216
  }
5217
5217
  }, Ne = async (g) => {
@@ -5220,9 +5220,9 @@ function jr(e) {
5220
5220
  U(null);
5221
5221
  try {
5222
5222
  const S = p.view$.get();
5223
- S.journeyStage === "routed" && Bi(S.sequence) && await S.sequence.bid(g);
5223
+ S.journeyStage === "routed" && qi(S.sequence) && await S.sequence.bid(g);
5224
5224
  } catch (S) {
5225
- q(S);
5225
+ B(S);
5226
5226
  }
5227
5227
  }
5228
5228
  }, F = async (g, p) => {
@@ -5233,12 +5233,12 @@ function jr(e) {
5233
5233
  const E = S.view$.get();
5234
5234
  E.journeyStage === "routed" && E.sequence.phase === "enterable" && "book" in E.sequence && await E.sequence.book(g, p);
5235
5235
  } catch (E) {
5236
- q(E);
5236
+ B(E);
5237
5237
  } finally {
5238
5238
  m(!1);
5239
5239
  }
5240
5240
  }
5241
- }, B = async (g) => {
5241
+ }, q = async (g) => {
5242
5242
  const p = o.journey();
5243
5243
  if (p) {
5244
5244
  U(null), k(!0);
@@ -5246,7 +5246,7 @@ function jr(e) {
5246
5246
  const S = p.view$.get();
5247
5247
  S.journeyStage === "routed" && S.sequence.phase === "participating" && "cancel" in S.sequence && await S.sequence.cancel(g);
5248
5248
  } catch (S) {
5249
- q(S);
5249
+ B(S);
5250
5250
  } finally {
5251
5251
  k(!1);
5252
5252
  }
@@ -5259,7 +5259,7 @@ function jr(e) {
5259
5259
  const E = S.view$.get();
5260
5260
  E.journeyStage === "routed" && E.sequence.phase === "participating" && "reschedule" in E.sequence && await E.sequence.reschedule(g, p);
5261
5261
  } catch (E) {
5262
- q(E);
5262
+ B(E);
5263
5263
  } finally {
5264
5264
  C(!1);
5265
5265
  }
@@ -5279,22 +5279,22 @@ function jr(e) {
5279
5279
  const E = p.view$.get();
5280
5280
  E.journeyStage === "gated" && await E.reroute();
5281
5281
  } catch (S) {
5282
- q(S);
5282
+ B(S);
5283
5283
  }
5284
5284
  }
5285
- }, It = () => {
5285
+ }, Lt = () => {
5286
5286
  const g = o.journey();
5287
5287
  if (!g) return;
5288
5288
  U(null);
5289
5289
  const p = g.view$.get();
5290
- p.journeyStage === "gated" && p.retry().catch(q);
5291
- }, Wr = d(() => X()), pe = d(() => {
5292
- const g = Wr();
5290
+ p.journeyStage === "gated" && p.retry().catch(B);
5291
+ }, Tt = d(() => X()), pe = d(() => {
5292
+ const g = Tt();
5293
5293
  return g?.journeyStage === "routed" && "sequence" in g ? g.sequence : void 0;
5294
- }), ut = d(() => Ui(R(), pe())), Le = d(() => Oi(R())), Lt = d(() => {
5295
- const g = pe();
5296
- return g?.phase === "scheduled" ? g.waitlist : void 0;
5297
- }), 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(() => {
5298
5298
  const g = _e();
5299
5299
  return g && "grant" in g && g.grant ? g.grant : void 0;
5300
5300
  }), gt = d(() => {
@@ -5302,22 +5302,22 @@ function jr(e) {
5302
5302
  return g && "outcome" in g && g.outcome ? g.outcome : void 0;
5303
5303
  }), Hr = d(() => {
5304
5304
  const g = ut();
5305
- if (Te(g)) return g;
5306
- const p = Le()?.type;
5307
- return Te(p) ? p : null;
5308
- }), zt = d(() => {
5305
+ if (Ie(g)) return g;
5306
+ const p = Te()?.type;
5307
+ return Ie(p) ? p : null;
5308
+ }), Bt = d(() => {
5309
5309
  const g = ut();
5310
- return Te(g) ? g : null;
5310
+ return Ie(g) ? g : null;
5311
5311
  }), qt = d(() => {
5312
- const g = Le(), p = ut();
5313
- if (Te(p)) return p;
5312
+ const g = Te(), p = ut();
5313
+ if (Ie(p)) return p;
5314
5314
  const S = g?.type;
5315
- return Te(S) ? S : null;
5315
+ return Ie(S) ? S : null;
5316
5316
  }), Oe = d(() => {
5317
5317
  const g = R();
5318
5318
  return g ? gn(g) : [];
5319
- }), Bt = d(() => {
5320
- const g = Lt();
5319
+ }), Ft = d(() => {
5320
+ const g = Mt();
5321
5321
  return g?.status === "not_waitlisted" && typeof g.join == "function";
5322
5322
  }), tt = d(() => {
5323
5323
  const g = pe();
@@ -5335,13 +5335,13 @@ function jr(e) {
5335
5335
  }
5336
5336
  return "none";
5337
5337
  }), nt = d(() => {
5338
- if (W() === "routing") return r("experience.findingPlace");
5339
- }), 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(() => {
5340
5340
  const g = pe();
5341
- if (!(L() !== "participating" || !g || g.phase !== "participating" || !("display$" in g)))
5341
+ if (!(T() !== "participating" || !g || g.phase !== "participating" || !("display$" in g)))
5342
5342
  return g.display$;
5343
- }), Ut = ze(() => Be() ?? qi), Me = d(() => Le()?.details), Ot = 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 = 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();
5345
5345
  if (!(!p && !E && !j))
5346
5346
  return {
5347
5347
  currentBid: j?.currentBid ?? E?.currentBid,
@@ -5353,25 +5353,25 @@ function jr(e) {
5353
5353
  minNextBid: j?.minNextBid ?? p?.minNextBid,
5354
5354
  bidIncrement: j?.bidIncrement ?? p?.bidIncrement
5355
5355
  };
5356
- }), Gr = d(() => (L() === "participating" ? Mt() : Le()?.id) ?? null), Fe = d(() => {
5356
+ }), Gr = d(() => (T() === "participating" ? Rt() : Te()?.id) ?? null), Fe = d(() => {
5357
5357
  const g = pe();
5358
5358
  if (g?.phase === "scheduled" && g.startsAt) return new Date(g.startsAt);
5359
- const p = Le()?.opensAt;
5359
+ const p = Te()?.opensAt;
5360
5360
  return p ? new Date(p) : void 0;
5361
5361
  }), Jr = d(() => {
5362
- if (!(L() !== "participating" || zt() !== "queue"))
5363
- return Ut()?.position;
5362
+ if (!(T() !== "participating" || Bt() !== "queue"))
5363
+ return Ot()?.position;
5364
5364
  });
5365
5365
  if (a.children)
5366
5366
  return n(yt, {
5367
5367
  get theme() {
5368
- return Pt();
5368
+ return jt();
5369
5369
  },
5370
5370
  get variant() {
5371
- return jt();
5371
+ return Ut();
5372
5372
  },
5373
5373
  get children() {
5374
- var g = vr();
5374
+ var g = pr();
5375
5375
  return i(g, () => a.children({
5376
5376
  journey: o.journey(),
5377
5377
  view: X(),
@@ -5412,14 +5412,14 @@ function jr(e) {
5412
5412
  return We() === "auth" && a.slots?.auth ? a.slots.auth({
5413
5413
  ...xe(),
5414
5414
  onSubmit: ke,
5415
- onVerify: qe
5415
+ onVerify: Be
5416
5416
  }) : We() === "access_code" && a.slots?.accessCode ? a.slots.accessCode({
5417
5417
  ...xe(),
5418
5418
  onSubmit: N
5419
5419
  }) : We() === "loading" && a.slots?.loading ? a.slots.loading({
5420
5420
  ...xe(),
5421
5421
  message: nt()
5422
- }) : n(zr, {
5422
+ }) : n(Br, {
5423
5423
  get stage() {
5424
5424
  return We();
5425
5425
  },
@@ -5427,7 +5427,7 @@ function jr(e) {
5427
5427
  return Fe();
5428
5428
  },
5429
5429
  onAuthSubmit: ke,
5430
- onAuthVerify: qe,
5430
+ onAuthVerify: Be,
5431
5431
  onAccessCodeSubmit: N
5432
5432
  });
5433
5433
  if (W() === "gated" && Oe()[0]?.type === "bot_check") {
@@ -5439,40 +5439,40 @@ function jr(e) {
5439
5439
  challenge: S,
5440
5440
  botMitigation: E,
5441
5441
  onVerifyToken: Ue,
5442
- onRetry: It
5443
- }) : n(Mr, {
5442
+ onRetry: Lt
5443
+ }) : n(Rr, {
5444
5444
  challenge: S,
5445
5445
  botMitigation: E,
5446
5446
  get countdownTo() {
5447
5447
  return Fe();
5448
5448
  },
5449
5449
  onVerifyToken: Ue,
5450
- onRetry: It
5450
+ onRetry: Lt
5451
5451
  });
5452
5452
  }
5453
5453
  if (W() === "routed") {
5454
- if (L() === "unavailable") {
5454
+ if (T() === "unavailable") {
5455
5455
  const p = pe();
5456
5456
  return a.slots?.ended ? a.slots.ended({
5457
5457
  ...xe(),
5458
5458
  reason: p?.phase === "unavailable" ? p.reason ?? "unavailable" : "unavailable"
5459
- }) : n(Rr, {
5459
+ }) : n(zr, {
5460
5460
  get title() {
5461
- return r("experience.noSequenceTitle");
5461
+ return r("widget.noSequence.title");
5462
5462
  },
5463
5463
  get message() {
5464
- return r("experience.noSequenceMessage");
5464
+ return r("widget.noSequence.message");
5465
5465
  }
5466
5466
  });
5467
5467
  }
5468
- if (L() === "scheduled") {
5469
- const p = Lt();
5468
+ if (T() === "scheduled") {
5469
+ const p = Mt();
5470
5470
  return p && p.status !== "not_waitlisted" ? a.slots?.waitlist ? a.slots.waitlist({
5471
5471
  ...xe(),
5472
5472
  startsAt: Fe(),
5473
5473
  onLeave: me,
5474
5474
  isLeaving: v()
5475
- }) : n(Br, {
5475
+ }) : n(Fr, {
5476
5476
  get startsAt() {
5477
5477
  return Fe();
5478
5478
  },
@@ -5485,15 +5485,15 @@ function jr(e) {
5485
5485
  }) : a.slots?.upcoming ? a.slots.upcoming({
5486
5486
  ...xe(),
5487
5487
  startsAt: Fe(),
5488
- canEnter: Bt(),
5488
+ canEnter: Ft(),
5489
5489
  onEnter: G,
5490
5490
  isEntering: l()
5491
- }) : n(Pr, {
5491
+ }) : n(jr, {
5492
5492
  get startsAt() {
5493
5493
  return Fe();
5494
5494
  },
5495
5495
  get canEnter() {
5496
- return Bt();
5496
+ return Ft();
5497
5497
  },
5498
5498
  onEnter: () => {
5499
5499
  G();
@@ -5503,9 +5503,9 @@ function jr(e) {
5503
5503
  }
5504
5504
  });
5505
5505
  }
5506
- if (L() === "enterable" || L() === "participating") {
5507
- const p = L() === "enterable" ? Hr() : zt(), S = Gr();
5508
- 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())) {
5509
5509
  const E = pe();
5510
5510
  return a.slots.enterable({
5511
5511
  ...xe(),
@@ -5513,7 +5513,7 @@ function jr(e) {
5513
5513
  participationType: E.mechanism
5514
5514
  });
5515
5515
  }
5516
- if (L() === "participating" && a.slots?.participating && Pi(pe())) {
5516
+ if (T() === "participating" && a.slots?.participating && Pi(pe())) {
5517
5517
  const E = pe();
5518
5518
  return a.slots.participating({
5519
5519
  ...xe(),
@@ -5523,13 +5523,13 @@ function jr(e) {
5523
5523
  });
5524
5524
  }
5525
5525
  if (S) {
5526
- const E = L();
5526
+ const E = T();
5527
5527
  switch (p) {
5528
5528
  case "queue": {
5529
5529
  const j = Me(), oe = j?.type === "queue" ? j : void 0;
5530
5530
  return n(ot, {
5531
5531
  get display$() {
5532
- return Be();
5532
+ return qe();
5533
5533
  },
5534
5534
  sequencePhase: E,
5535
5535
  get canEnter() {
@@ -5555,7 +5555,7 @@ function jr(e) {
5555
5555
  const j = Me(), oe = j?.type === "draw" ? j : void 0;
5556
5556
  return n(Ze, {
5557
5557
  get display$() {
5558
- return Be();
5558
+ return qe();
5559
5559
  },
5560
5560
  sequencePhase: E,
5561
5561
  get canEnter() {
@@ -5578,13 +5578,13 @@ function jr(e) {
5578
5578
  });
5579
5579
  }
5580
5580
  case "auction": {
5581
- 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;
5582
5582
  return n(Je, {
5583
5583
  get display$() {
5584
- return Be();
5584
+ return qe();
5585
5585
  },
5586
5586
  get fallbackState() {
5587
- return Ot();
5587
+ return Wt();
5588
5588
  },
5589
5589
  sequencePhase: E,
5590
5590
  get canEnter() {
@@ -5602,7 +5602,7 @@ function jr(e) {
5602
5602
  get isLeaving() {
5603
5603
  return _();
5604
5604
  },
5605
- countdownTo: Wt ? new Date(Wt) : void 0,
5605
+ countdownTo: Kt ? new Date(Kt) : void 0,
5606
5606
  get defaultBidAmount() {
5607
5607
  return oe?.currentBid ?? oe?.reservePrice ?? oe?.bidIncrement;
5608
5608
  },
@@ -5615,7 +5615,7 @@ function jr(e) {
5615
5615
  const j = Me(), oe = j?.type === "timed_release" ? j : void 0;
5616
5616
  return n(it, {
5617
5617
  get display$() {
5618
- return Be();
5618
+ return qe();
5619
5619
  },
5620
5620
  sequencePhase: E,
5621
5621
  get canEnter() {
@@ -5646,7 +5646,7 @@ function jr(e) {
5646
5646
  return n($t, {
5647
5647
  appointmentId: S,
5648
5648
  get display$() {
5649
- return Be();
5649
+ return qe();
5650
5650
  },
5651
5651
  sequencePhase: E,
5652
5652
  get bookingWindowOpenAt() {
@@ -5662,10 +5662,10 @@ function jr(e) {
5662
5662
  return oe?.locationId;
5663
5663
  },
5664
5664
  onBook: F,
5665
- onCancel: B,
5665
+ onCancel: q,
5666
5666
  onReschedule: ce,
5667
5667
  get isBooking() {
5668
- return T();
5668
+ return I();
5669
5669
  },
5670
5670
  get isCancelling() {
5671
5671
  return h();
@@ -5674,10 +5674,10 @@ function jr(e) {
5674
5674
  return z();
5675
5675
  },
5676
5676
  get bookError() {
5677
- return I();
5677
+ return L();
5678
5678
  },
5679
5679
  get cancelError() {
5680
- return I();
5680
+ return L();
5681
5681
  }
5682
5682
  });
5683
5683
  }
@@ -5685,12 +5685,12 @@ function jr(e) {
5685
5685
  }
5686
5686
  return n(Ge, {
5687
5687
  get error() {
5688
- return r("experience.unsupportedDistribution");
5688
+ return r("widget.unsupportedDistribution");
5689
5689
  },
5690
5690
  onRetry: Ce
5691
5691
  });
5692
5692
  }
5693
- if (L() === "settling") {
5693
+ if (T() === "settling") {
5694
5694
  const p = pe();
5695
5695
  if (p?.phase !== "settling")
5696
5696
  return n(_t, {
@@ -5721,7 +5721,7 @@ function jr(e) {
5721
5721
  return n(Je, {
5722
5722
  display$: void 0,
5723
5723
  get fallbackState() {
5724
- return Ot();
5724
+ return Wt();
5725
5725
  },
5726
5726
  sequencePhase: "settling",
5727
5727
  canEnter: !1,
@@ -5742,8 +5742,8 @@ function jr(e) {
5742
5742
  }
5743
5743
  }
5744
5744
  }
5745
- if (L() === "granted") {
5746
- 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;
5747
5747
  if (a.slots?.granted && ji(pe())) {
5748
5748
  const j = pe();
5749
5749
  return a.slots.granted({
@@ -5777,12 +5777,12 @@ function jr(e) {
5777
5777
  }
5778
5778
  return n(Ge, {
5779
5779
  get error() {
5780
- return r("experience.unsupportedDistribution");
5780
+ return r("widget.unsupportedDistribution");
5781
5781
  },
5782
5782
  onRetry: Ce
5783
5783
  });
5784
5784
  }
5785
- if (L() === "ended") {
5785
+ if (T() === "ended") {
5786
5786
  const p = pe(), S = gt()?.type ?? (p?.phase === "ended" ? p.outcome.reason : void 0) ?? "unknown";
5787
5787
  if (S === "expired" && a.slots?.expired) {
5788
5788
  const j = gt()?.at;
@@ -5808,7 +5808,7 @@ function jr(e) {
5808
5808
  onLeave: Y,
5809
5809
  isEntering: !1,
5810
5810
  isLeaving: !1,
5811
- outcomeReason: Yt(S)
5811
+ outcomeReason: Qt(S)
5812
5812
  };
5813
5813
  switch (qt()) {
5814
5814
  case "queue":
@@ -5822,23 +5822,23 @@ function jr(e) {
5822
5822
  case "appointment":
5823
5823
  return n($t, {
5824
5824
  get appointmentId() {
5825
- return Mt() ?? Le()?.id ?? "";
5825
+ return Rt() ?? Te()?.id ?? "";
5826
5826
  },
5827
5827
  sequencePhase: "ended",
5828
5828
  onBook: F,
5829
- onCancel: B,
5829
+ onCancel: q,
5830
5830
  onReschedule: ce,
5831
5831
  isBooking: !1,
5832
5832
  isCancelling: !1,
5833
5833
  isRescheduling: !1,
5834
5834
  get outcomeReason() {
5835
- return Yt(S);
5835
+ return Qt(S);
5836
5836
  }
5837
5837
  });
5838
5838
  }
5839
5839
  return n(Ge, {
5840
5840
  get error() {
5841
- return r("experience.unsupportedDistribution");
5841
+ return r("widget.unsupportedDistribution");
5842
5842
  },
5843
5843
  onRetry: Ce
5844
5844
  });
@@ -5852,16 +5852,16 @@ function jr(e) {
5852
5852
  return nt();
5853
5853
  }
5854
5854
  });
5855
- }, Yr = d(() => `${W() ?? "loading"}-${L() ?? "unavailable"}`);
5855
+ }, Yr = d(() => `${W() ?? "loading"}-${T() ?? "unavailable"}`);
5856
5856
  return n(yt, {
5857
5857
  get theme() {
5858
- return Pt();
5858
+ return jt();
5859
5859
  },
5860
5860
  get variant() {
5861
- return jt();
5861
+ return Ut();
5862
5862
  },
5863
5863
  get children() {
5864
- var g = vr();
5864
+ var g = pr();
5865
5865
  return i(g, n(Qe, {
5866
5866
  get transitionKey() {
5867
5867
  return Yr();
@@ -5873,18 +5873,18 @@ function jr(e) {
5873
5873
  }
5874
5874
  });
5875
5875
  }
5876
- jr.displayName = "ExperienceWidget";
5876
+ Ur.displayName = "ExperienceWidget";
5877
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}}}';
5878
5878
  var Ji = /* @__PURE__ */ u("<style data-fanfare-styles>");
5879
- function Ur() {
5879
+ function Or() {
5880
5880
  return (() => {
5881
5881
  var e = Ji();
5882
5882
  return i(e, Hi, null), i(e, Gi, null), e;
5883
5883
  })();
5884
5884
  }
5885
- Ur.displayName = "WebComponentStyles";
5885
+ Or.displayName = "WebComponentStyles";
5886
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>');
5887
- function Or(e) {
5887
+ function Wr(e) {
5888
5888
  const [t, r] = D(null), [a, o] = D(!1), [f, s] = D(null), l = d(() => {
5889
5889
  const c = t();
5890
5890
  return !c || a() || f() ? null : c;
@@ -5898,7 +5898,7 @@ function Or(e) {
5898
5898
  const x = c;
5899
5899
  let _ = !1, V = null;
5900
5900
  o(!0), s(null), r(null);
5901
- async function T() {
5901
+ async function I() {
5902
5902
  try {
5903
5903
  const m = await sn({
5904
5904
  ...x,
@@ -5914,10 +5914,10 @@ function Or(e) {
5914
5914
  _ || (s(h), o(!1));
5915
5915
  }
5916
5916
  }
5917
- T(), Se(() => {
5917
+ I(), Se(() => {
5918
5918
  _ = !0, V && V.destroy();
5919
5919
  });
5920
- }), [n(Ur, {}), n(y, {
5920
+ }), [n(Or, {}), n(y, {
5921
5921
  get when() {
5922
5922
  return l();
5923
5923
  },
@@ -5972,11 +5972,11 @@ function Or(e) {
5972
5972
  })
5973
5973
  })];
5974
5974
  }
5975
- Or.displayName = "FanfareWebComponentProvider";
5975
+ Wr.displayName = "FanfareWebComponentProvider";
5976
5976
  const Xi = {
5977
5977
  experience: "fanfare-experience-widget"
5978
5978
  };
5979
- function Ie(e) {
5979
+ function Le(e) {
5980
5980
  if (typeof e != "string") return;
5981
5981
  const t = e.trim();
5982
5982
  return t.length ? t : void 0;
@@ -6024,9 +6024,9 @@ function rf(e) {
6024
6024
  }
6025
6025
  }
6026
6026
  function nf(e, t) {
6027
- const r = Ie(e.organizationId), a = Ie(e.publishableKey);
6027
+ const r = Le(e.organizationId), a = Le(e.publishableKey);
6028
6028
  if (!r || !a) return null;
6029
- const o = Ie(e.apiUrl);
6029
+ const o = Le(e.apiUrl);
6030
6030
  return {
6031
6031
  organizationId: r,
6032
6032
  publishableKey: a,
@@ -6063,8 +6063,8 @@ function yf(e = {}) {
6063
6063
  }, (r, {
6064
6064
  element: a
6065
6065
  }) => {
6066
- 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));
6067
- 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, {
6068
6068
  get config() {
6069
6069
  return f();
6070
6070
  },
@@ -6090,10 +6090,10 @@ function yf(e = {}) {
6090
6090
  return r.variant;
6091
6091
  },
6092
6092
  get className() {
6093
- return Ie(r.containerClass);
6093
+ return Le(r.containerClass);
6094
6094
  },
6095
6095
  get children() {
6096
- return n(jr, {
6096
+ return n(Ur, {
6097
6097
  get experienceId() {
6098
6098
  return o() ?? "";
6099
6099
  },
@@ -6101,16 +6101,16 @@ function yf(e = {}) {
6101
6101
  return St(a, "auto-start", r.autoStart, !1);
6102
6102
  },
6103
6103
  get accessCode() {
6104
- return Ie(r.accessCode);
6104
+ return Le(r.accessCode);
6105
6105
  },
6106
6106
  get autoEnterWaitlist() {
6107
6107
  return St(a, "auto-enter-waitlist", r.autoEnterWaitlist, !1);
6108
6108
  },
6109
6109
  get checkoutUrl() {
6110
- return Ie(r.checkoutUrl);
6110
+ return Le(r.checkoutUrl);
6111
6111
  },
6112
6112
  get className() {
6113
- return Ie(r.containerClass);
6113
+ return Le(r.containerClass);
6114
6114
  },
6115
6115
  onJourneyChange: (v) => {
6116
6116
  a.dispatchEvent(new CustomEvent("fanfare-journey-change", {
@@ -6148,29 +6148,29 @@ function yf(e = {}) {
6148
6148
  });
6149
6149
  }
6150
6150
  export {
6151
- Lr as AccessCodeForm,
6151
+ Mr as AccessCodeForm,
6152
6152
  Je as AuctionModule,
6153
- Tr as AuthForm,
6154
- Ar as AuthInput,
6153
+ Lr as AuthForm,
6154
+ Nr as AuthInput,
6155
6155
  O as Button,
6156
- Sr as Card,
6156
+ Er as Card,
6157
6157
  la as CardContent,
6158
6158
  sa as CardDescription,
6159
6159
  ca as CardFooter,
6160
6160
  ia as CardHeader,
6161
6161
  fa as CardTitle,
6162
- Mr as ChallengeGate,
6162
+ Rr as ChallengeGate,
6163
6163
  Ze as DrawModule,
6164
- Rr as EndedModule,
6164
+ zr as EndedModule,
6165
6165
  Ge as ErrorView,
6166
- jr as ExperienceWidget,
6166
+ Ur as ExperienceWidget,
6167
6167
  yn as FanfareProvider,
6168
6168
  et as GrantedPanel,
6169
6169
  xn as I18nProvider,
6170
6170
  we as InfoPanel,
6171
6171
  lt as Input,
6172
6172
  _t as LoadingView,
6173
- Nr as OTPInput,
6173
+ Ir as OTPInput,
6174
6174
  je as OutcomePanel,
6175
6175
  re as PanelBody,
6176
6176
  ee as PanelFooter,
@@ -6182,13 +6182,13 @@ export {
6182
6182
  ge as THEME_CSS_VARS,
6183
6183
  yt as ThemeProvider,
6184
6184
  it as TimedReleaseModule,
6185
- Pr as UpcomingModule,
6186
- Br as WaitlistView,
6185
+ jr as UpcomingModule,
6186
+ Fr as WaitlistView,
6187
6187
  Hi as baseStyles,
6188
6188
  En as buildThemeCssVars,
6189
6189
  ba as buttonVariants,
6190
6190
  Cf as isRTLLocale,
6191
- Yt as normalizeOutcomeReason,
6191
+ Qt as normalizeOutcomeReason,
6192
6192
  yf as registerWebComponents,
6193
6193
  Gi as themeStyles,
6194
6194
  _n as useExperienceJourney,