@getmicdrop/venue-calendar 4.3.73 → 4.3.75

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 (53) hide show
  1. package/dist/{AddOnCard-B4a8u09b.js → AddOnCard-BBCcY_e0.js} +2 -2
  2. package/dist/{CalendarFoundryView-f11EZ_p7.js → CalendarFoundryView-wE9hH-9r.js} +74 -61
  3. package/dist/CartView-aUQ6j-W8.js +2293 -0
  4. package/dist/{Checkout-B-CBtsR_.js → Checkout-C70GBKMD.js} +4 -4
  5. package/dist/{Checkout-DTZb9iDK.js → Checkout-CepFrHrZ.js} +10 -10
  6. package/dist/{CollectionView-D5YuX3BE.js → CollectionView-CxZ75bdk.js} +4 -4
  7. package/dist/{Event-DXRrCUe0.js → Event-DkJsuswT.js} +10 -10
  8. package/dist/{EventPage-EaRdi8oG.js → EventPage-3MeGAFET.js} +71 -71
  9. package/dist/Input-1RrhLDEl.js +313 -0
  10. package/dist/{PasswordInput-D-vqwd1R.js → PasswordInput-D_QnFlHJ.js} +20 -17
  11. package/dist/{PhoneInput-CHMAaBfv.js → PhoneInput-MqTljyak.js} +65 -65
  12. package/dist/{RecommendationsRail-DZiYj4KP.js → RecommendationsRail-CE-CKTEs.js} +1 -1
  13. package/dist/{ScarcityBadge-DI3e8o-w.js → ScarcityBadge-C3aryt_E.js} +1 -1
  14. package/dist/{SeriesPage-Bzp_rl25.js → SeriesPage-i3fdk4f9.js} +2 -2
  15. package/dist/{Success-C7vl_A39.js → Success-DIr704Wp.js} +4 -4
  16. package/dist/{api-DOG9kmjP.js → api-DpAf4w7Q.js} +150 -144
  17. package/dist/{event-transform-CL4pk66Q.js → event-transform-DfsYkBnu.js} +12 -12
  18. package/dist/{i18n-D9WV_ljM.js → i18n-B1RZttz7.js} +3 -3
  19. package/dist/seo/HostSeoController.d.ts +18 -0
  20. package/dist/seo/seo.cjs +1 -1
  21. package/dist/seo/seo.mjs +22 -15
  22. package/dist/{utils-skxxaoOa.js → utils-Bqh66dCa.js} +1 -1
  23. package/dist/venue-calendar.css +1 -1
  24. package/dist/venue-calendar.es.js +775 -739
  25. package/dist/venue-calendar.iife.js +33 -33
  26. package/dist/venue-calendar.umd.js +23 -23
  27. package/package.json +2 -2
  28. package/dist/CartView-dsyre6R-.js +0 -2293
  29. package/dist/Input-CIMsqGtu.js +0 -313
  30. /package/dist/locales/{4.3.73 → 4.3.75}/flow/de.js +0 -0
  31. /package/dist/locales/{4.3.73 → 4.3.75}/flow/es.js +0 -0
  32. /package/dist/locales/{4.3.73 → 4.3.75}/flow/fr.js +0 -0
  33. /package/dist/locales/{4.3.73 → 4.3.75}/flow/id.js +0 -0
  34. /package/dist/locales/{4.3.73 → 4.3.75}/flow/it.js +0 -0
  35. /package/dist/locales/{4.3.73 → 4.3.75}/flow/ja.js +0 -0
  36. /package/dist/locales/{4.3.73 → 4.3.75}/flow/ko.js +0 -0
  37. /package/dist/locales/{4.3.73 → 4.3.75}/flow/nl.js +0 -0
  38. /package/dist/locales/{4.3.73 → 4.3.75}/flow/pl.js +0 -0
  39. /package/dist/locales/{4.3.73 → 4.3.75}/flow/pt-br.js +0 -0
  40. /package/dist/locales/{4.3.73 → 4.3.75}/flow/tr.js +0 -0
  41. /package/dist/locales/{4.3.73 → 4.3.75}/flow/zh.js +0 -0
  42. /package/dist/locales/{4.3.73 → 4.3.75}/main/de.js +0 -0
  43. /package/dist/locales/{4.3.73 → 4.3.75}/main/es.js +0 -0
  44. /package/dist/locales/{4.3.73 → 4.3.75}/main/fr.js +0 -0
  45. /package/dist/locales/{4.3.73 → 4.3.75}/main/id.js +0 -0
  46. /package/dist/locales/{4.3.73 → 4.3.75}/main/it.js +0 -0
  47. /package/dist/locales/{4.3.73 → 4.3.75}/main/ja.js +0 -0
  48. /package/dist/locales/{4.3.73 → 4.3.75}/main/ko.js +0 -0
  49. /package/dist/locales/{4.3.73 → 4.3.75}/main/nl.js +0 -0
  50. /package/dist/locales/{4.3.73 → 4.3.75}/main/pl.js +0 -0
  51. /package/dist/locales/{4.3.73 → 4.3.75}/main/pt-br.js +0 -0
  52. /package/dist/locales/{4.3.73 → 4.3.75}/main/tr.js +0 -0
  53. /package/dist/locales/{4.3.73 → 4.3.75}/main/zh.js +0 -0
@@ -1,5 +1,5 @@
1
1
  import { g as e, m as t } from "./sizing-B7ixYndz.js";
2
- import { t as n } from "./Input-CIMsqGtu.js";
2
+ import { t as n } from "./Input-1RrhLDEl.js";
3
3
  import { E as r, K as i, o as a, t as o, x as s } from "./datetime-BYlsFaDk.js";
4
4
  import { n as c } from "./WarningCircleIcon-DzSos7BQ.js";
5
5
  import { t as l } from "./CalendarIcon-CNHAcpCR.js";
@@ -8,19 +8,19 @@ import { t as d } from "./z-index-CeYVHpUz.js";
8
8
  import { B as f, M as p, V as m, b as h, k as g, x as _, z as v } from "./defaultLabels-CnrhTu2u.js";
9
9
  import { r as y, t as b } from "./Button-BmS_sz0q.js";
10
10
  import { X as x, et as S, i as C, nt as ee } from "./orders-B-c1HnI7.js";
11
- import "./api-DOG9kmjP.js";
11
+ import "./api-DpAf4w7Q.js";
12
12
  import { t as te } from "./LiveRegion-D9Me4kBs.js";
13
13
  import { n as w, t as T } from "./Heading-B3zLftHS.js";
14
14
  import { t as E } from "./Checkbox-BtJwg_CF.js";
15
15
  import { t as D } from "./Modal-BVkbwQhE.js";
16
16
  import { t as O } from "./Text-CqjLjIF8.js";
17
17
  import { t as k } from "./modalManager.svelte-Cz_6x1Qd.js";
18
- import { i as A, n as j, t as M } from "./i18n-D9WV_ljM.js";
18
+ import { i as A, n as j, t as M } from "./i18n-B1RZttz7.js";
19
19
  import { t as N } from "./eventStatusStream-Dsje0MUr.js";
20
20
  import { n as ne, t as re } from "./CheckoutTimer-BOLHrElU.js";
21
21
  import { n as ie, t as ae } from "./constants-DWS8C09a.js";
22
22
  import { a as oe, i as se, o as ce, r as P, s as F, t as le } from "./showcase-state-options-TcNFQ4FK.js";
23
- import { i as ue, t as de } from "./AddOnCard-B4a8u09b.js";
23
+ import { i as ue, t as de } from "./AddOnCard-BBCcY_e0.js";
24
24
  import "svelte/internal/disclose-version";
25
25
  import * as I from "svelte/internal/client";
26
26
  import { onDestroy as fe, onMount as pe, untrack as me } from "svelte";
@@ -1,8 +1,8 @@
1
1
  import { g as e, m as t, p as n } from "./sizing-B7ixYndz.js";
2
2
  import { n as r, r as i, t as a } from "./CloseIcon-BA5BEcsE.js";
3
- import { r as o } from "./Input-CIMsqGtu.js";
3
+ import { r as o } from "./Input-1RrhLDEl.js";
4
4
  import { E as s, u as c, x as l } from "./datetime-BYlsFaDk.js";
5
- import { o as u, r as d } from "./ScarcityBadge-DI3e8o-w.js";
5
+ import { o as u, r as d } from "./ScarcityBadge-C3aryt_E.js";
6
6
  import { t as f } from "./TagIcon-CpOMRNpE.js";
7
7
  import { t as p } from "./WarningTriIcon-Bq9ud7rS.js";
8
8
  import { f as m, n as h } from "./z-index-CeYVHpUz.js";
@@ -10,13 +10,13 @@ import { A as g, L as _, b as v, n as y, t as b } from "./defaultLabels-CnrhTu2u
10
10
  import { t as x } from "./Button-BmS_sz0q.js";
11
11
  import { W as S, c as C, i as w, n as T, o as E, p as ee, r as te, t as ne } from "./orders-B-c1HnI7.js";
12
12
  import { n as re, t as ie } from "./serverTotals-BviIuTkA.js";
13
- import { A as ae, c as oe, f as se, l as ce, o as le, s as D } from "./api-DOG9kmjP.js";
13
+ import { c as ae, f as oe, j as se, l as ce, o as le, s as D } from "./api-DpAf4w7Q.js";
14
14
  import { a as O, i as k, n as A, r as j, t as M } from "./ModalFooter-BF0mSbhC.js";
15
- import { t as ue } from "./event-transform-CL4pk66Q.js";
15
+ import { t as ue } from "./event-transform-DfsYkBnu.js";
16
16
  import { t as de } from "./venue-BBoZBuhu.js";
17
- import { b as fe, g as pe, h as me, l as he, r as ge, v as _e } from "./utils-skxxaoOa.js";
18
- import { a as ve } from "./AddOnCard-B4a8u09b.js";
19
- import ye, { n as be, t as xe } from "./Checkout-B-CBtsR_.js";
17
+ import { b as fe, g as pe, h as me, l as he, r as ge, v as _e } from "./utils-Bqh66dCa.js";
18
+ import { a as ve } from "./AddOnCard-BBCcY_e0.js";
19
+ import ye, { n as be, t as xe } from "./Checkout-C70GBKMD.js";
20
20
  import { n as Se } from "./buyerEmail-BfCq-gDt.js";
21
21
  import "svelte/internal/disclose-version";
22
22
  import * as N from "svelte/internal/client";
@@ -573,7 +573,7 @@ function He(e, t) {
573
573
  try {
574
574
  let n = Object.fromEntries(Object.entries(N.get(A)).filter(([, e]) => parseFloat(String(e)) > 0).map(([e, t]) => [parseInt(e, 10), parseFloat(String(t))]));
575
575
  if (N.get(P)) {
576
- let t = await ae(N.get(O), N.get(P));
576
+ let t = await se(N.get(O), N.get(P));
577
577
  if (e !== Q) return;
578
578
  t.success ? N.set(U, "") : ($.error("Failed to apply promo code to cart:", t.error), N.set(U, (f().promoCodeNotApplied || "We couldn't apply promo code {code}. It isn't included in this total — go back to re-enter it, or continue at the full price").replace("{code}", N.get(P)), !0));
579
579
  }
@@ -767,7 +767,7 @@ function He(e, t) {
767
767
  let o = await N.get(z).confirmPayment({
768
768
  elements: N.get(V),
769
769
  redirect: "if_required",
770
- confirmParams: { return_url: `${S()}${se(N.get(D)?.id || N.get(D)?.eventID || N.get(h), N.get(D)?.slug || N.get(x) || "", {
770
+ confirmParams: { return_url: `${S()}${oe(N.get(D)?.id || N.get(D)?.eventID || N.get(h), N.get(D)?.slug || N.get(x) || "", {
771
771
  orderId: N.get(O),
772
772
  ticketCount: Object.values(N.get(k)).reduce((e, t) => e + (Number(t) || 0), 0)
773
773
  })}` }
@@ -823,7 +823,7 @@ function He(e, t) {
823
823
  }
824
824
  async function Ue(e) {
825
825
  try {
826
- let n = await oe(N.get(O), {
826
+ let n = await ae(N.get(O), {
827
827
  firstName: e.firstName,
828
828
  lastName: e.lastName,
829
829
  email: e.email,
@@ -1,10 +1,10 @@
1
- import { t as e } from "./Event-DXRrCUe0.js";
1
+ import { t as e } from "./Event-DkJsuswT.js";
2
2
  import { g as t } from "./sizing-B7ixYndz.js";
3
- import { i as n } from "./RecommendationsRail-DZiYj4KP.js";
3
+ import { i as n } from "./RecommendationsRail-CE-CKTEs.js";
4
4
  import { t as r } from "./defaultLabels-CnrhTu2u.js";
5
5
  import { t as i } from "./Button-BmS_sz0q.js";
6
- import { T as a } from "./api-DOG9kmjP.js";
7
- import { t as o } from "./PasswordInput-D-vqwd1R.js";
6
+ import { E as a } from "./api-DpAf4w7Q.js";
7
+ import { t as o } from "./PasswordInput-D_QnFlHJ.js";
8
8
  import { t as s } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
9
9
  import { t as c } from "./__SKIP_PATHS__-C0ixDSSm.js";
10
10
  import { i as l, n as u, t as d } from "./gate-password-cache-oOcDm9Ki.js";
@@ -3,27 +3,27 @@ import { i as t } from "./Button-BmOGJ4ei.js";
3
3
  import { r as n, s as r } from "./keyboard-C3QH9loz.js";
4
4
  import { g as i, h as a, m as o, p as s, v as c } from "./sizing-B7ixYndz.js";
5
5
  import { t as l } from "./ChevronDownOutline-D7YDiKBF.js";
6
- import { t as u } from "./Input-CIMsqGtu.js";
6
+ import { t as u } from "./Input-1RrhLDEl.js";
7
7
  import { K as d, c as f, f as p, i as m, m as h, n as g, o as _, r as v, t as y, w as b, x, y as S } from "./datetime-BYlsFaDk.js";
8
8
  import { n as C, r as w } from "./WarningCircleIcon-DzSos7BQ.js";
9
9
  import { t as T } from "./CalendarIcon-CNHAcpCR.js";
10
10
  import { a as E, i as D, o as O, r as k, t as A } from "./href-DygGn3HN.js";
11
- import { n as j, o as M, t as ee } from "./RecommendationsRail-DZiYj4KP.js";
11
+ import { n as j, o as M, t as ee } from "./RecommendationsRail-CE-CKTEs.js";
12
12
  import { n as N } from "./copyToClipboard-D_JQuFZZ.js";
13
- import { r as P, s as F, t as I } from "./ScarcityBadge-DI3e8o-w.js";
13
+ import { r as P, s as F, t as I } from "./ScarcityBadge-C3aryt_E.js";
14
14
  import { f as L, n as R, t as z } from "./z-index-CeYVHpUz.js";
15
15
  import { B, V, g as te, i as H, x as ne, z as re } from "./defaultLabels-CnrhTu2u.js";
16
16
  import { r as ie, t as U } from "./Button-BmS_sz0q.js";
17
17
  import { F as W, R as G, t as ae } from "./orders-B-c1HnI7.js";
18
18
  import { t as oe } from "./serverTotals-BviIuTkA.js";
19
- import { A as se, B as K, V as ce, _ as le } from "./api-DOG9kmjP.js";
19
+ import { H as se, V as K, _ as ce, j as le } from "./api-DpAf4w7Q.js";
20
20
  import { n as q, t as J } from "./Heading-B3zLftHS.js";
21
21
  import { n as ue, t as de } from "./Grid-kuP6V0GW.js";
22
22
  import { t as Y } from "./Text-CqjLjIF8.js";
23
23
  import { i as fe, s as pe, t as me } from "./to-event-card-props-CgFYx2pF.js";
24
- import { a as he, c as ge, d as _e, f as ve, l as ye, n as be, o as xe, p as X, r as Se, s as Z, t as Ce, u as we } from "./i18n-D9WV_ljM.js";
24
+ import { a as he, c as ge, d as _e, f as ve, l as ye, n as be, o as xe, p as X, r as Se, s as Z, t as Ce, u as we } from "./i18n-B1RZttz7.js";
25
25
  import { n as Te, t as Ee } from "./constants-DWS8C09a.js";
26
- import { n as De, r as Oe, t as ke } from "./AddOnCard-B4a8u09b.js";
26
+ import { n as De, r as Oe, t as ke } from "./AddOnCard-BBCcY_e0.js";
27
27
  import "svelte/internal/disclose-version";
28
28
  import * as Q from "svelte/internal/client";
29
29
  import { SvelteMap as Ae, SvelteSet as je } from "svelte/reactivity";
@@ -1057,7 +1057,7 @@ var Nt = class {
1057
1057
  }
1058
1058
  let r = jt(e.quantities), i = Mt(e.donationAmounts);
1059
1059
  if (n) {
1060
- if (await se(this.#r, n, r), t !== this.#o) return;
1060
+ if (await le(this.#r, n, r), t !== this.#o) return;
1061
1061
  this.#a = n;
1062
1062
  }
1063
1063
  let a = await ae(this.#r, r, i);
@@ -1099,7 +1099,7 @@ function Wt(e, t) {
1099
1099
  Q.prop(t, "labels", 19, () => ({}));
1100
1100
  let i = Q.prop(t, "locale", 3, void 0), a = Q.prop(t, "waitlistGated", 3, !1), o = Q.derived(() => ge(t.event.totalTicketsRemaining, t.event.totalTicketsCapacity)), s = Q.derived(() => ye(Q.get(o), t.event.totalTicketsRemaining, "event")), c = Q.derived(() => t.event.displayAgeRestriction ? t.event.ageRestriction && t.event.ageRestriction > 0 ? `Ages ${t.event.ageRestriction}+` : "All ages" : null), l = j();
1101
1101
  function u() {
1102
- l.share(le(t.event.id, t.event.slug));
1102
+ l.share(ce(t.event.id, t.event.slug));
1103
1103
  }
1104
1104
  Ne(l.dispose), Q.user_effect(() => {
1105
1105
  l.copyState === "failed" && K(`Copy failed — select to copy: ${l.copyFailedUrl}`, { politeness: "assertive" });
@@ -1261,7 +1261,7 @@ function Wt(e, t) {
1261
1261
  //#region src/lib/public-calendar-flow/TicketCard.svelte
1262
1262
  var Gt = 200, Kt = Object.create(null);
1263
1263
  function qt(e) {
1264
- (Kt[e] ??= ce(Gt))(e, { politeness: "polite" });
1264
+ (Kt[e] ??= se(Gt))(e, { politeness: "polite" });
1265
1265
  }
1266
1266
  var Jt = Q.from_html("<div class=\"mt-1\"><!></div>"), Yt = Q.from_html("<div class=\"donation-input-wrapper svelte-1rkcli3\"><!></div>"), Xt = Q.from_html("<span class=\"price-lg text-color-primary\"> </span>"), Zt = Q.from_html("<span class=\"price-fee\"> </span>"), Qt = Q.from_html("<span class=\"price-strikethrough\"> </span> <span class=\"price-discounted svelte-1rkcli3\"> </span> <!>", 1), $t = Q.from_html("<span class=\"price-lg text-color-muted\"> </span>"), en = Q.from_html("<span class=\"price-lg text-color-primary\"> </span> <!>", 1), tn = Q.from_html("<div class=\"mt-1.5\"><!></div>"), nn = Q.from_html("<!> <input class=\"qty-display type-subheading svelte-1rkcli3\" type=\"text\" inputmode=\"numeric\" autocomplete=\"off\"/> <!>", 1), rn = Q.from_html("<article><div class=\"vc-flex-between-start gap-4\"><div class=\"flex-1 min-w-0\"><div class=\"flex-row-2 flex-wrap\"><!> <!></div> <!> <div class=\"flex-row-2 mt-2\"><!></div> <!></div> <div class=\"flex items-center quantity-selector svelte-1rkcli3\"><!></div></div></article>");
1267
1267
  function an(e, n) {
@@ -2595,7 +2595,7 @@ function Gn(e, t) {
2595
2595
  //#region src/lib/public-calendar-flow/PromoCodeInput.svelte
2596
2596
  var Kn = 200, qn = Object.create(null);
2597
2597
  function Jn(e) {
2598
- (qn[e] ??= ce(Kn))(e, { politeness: "polite" });
2598
+ (qn[e] ??= se(Kn))(e, { politeness: "polite" });
2599
2599
  }
2600
2600
  var Yn = Q.from_html("<div class=\"self-start mt-5\"><!></div>"), Xn = Q.from_html("<p class=\"promo-message success body-sm svelte-1uooa2j\"> </p>"), Zn = Q.from_html("<div class=\"space-y-2\"><div class=\"promo-input-wrapper svelte-1uooa2j\"><div class=\"flex-1\"><!></div> <!></div> <!></div>"), Qn = Q.from_html("<div class=\"promo-section svelte-1uooa2j\" role=\"group\" aria-labelledby=\"promo-label\"><span id=\"promo-label\" class=\"sr-only\">Promo code entry</span> <!></div>");
2601
2601
  function $n(e, t) {
@@ -1,17 +1,17 @@
1
1
  import { t as e } from "./Button-BmOGJ4ei.js";
2
2
  import { i as t } from "./keyboard-C3QH9loz.js";
3
- import { t as n } from "./Event-DXRrCUe0.js";
3
+ import { t as n } from "./Event-DkJsuswT.js";
4
4
  import { d as r, g as i, m as a, v as o } from "./sizing-B7ixYndz.js";
5
- import { n as s, t as c } from "./Input-CIMsqGtu.js";
5
+ import { n as s, t as c } from "./Input-1RrhLDEl.js";
6
6
  import { a as l, i as u, o as d, t as f } from "./createErrorGate.svelte-Dv_uihyT.js";
7
7
  import { n as p } from "./WarningCircleIcon-DzSos7BQ.js";
8
8
  import { o as m } from "./href-DygGn3HN.js";
9
- import { r as h } from "./RecommendationsRail-DZiYj4KP.js";
10
- import { i as g } from "./ScarcityBadge-DI3e8o-w.js";
9
+ import { r as h } from "./RecommendationsRail-CE-CKTEs.js";
10
+ import { i as g } from "./ScarcityBadge-C3aryt_E.js";
11
11
  import { M as _, P as v, t as y } from "./defaultLabels-CnrhTu2u.js";
12
12
  import { t as b } from "./Button-BmS_sz0q.js";
13
13
  import { _ as x, f as S, m as C, x as w } from "./orders-B-c1HnI7.js";
14
- import { B as T, C as E, E as ee, M as D, S as O, a as te, h as ne, i as k, n as A, p as re, r as j, t as ie, v as ae, w as M, x as N } from "./api-DOG9kmjP.js";
14
+ import { C as T, D as E, N as D, T as O, V as k, a as ee, h as te, i as A, n as j, p as ne, r as M, t as re, v as ie, w as ae, x as N } from "./api-DpAf4w7Q.js";
15
15
  import { a as oe, i as se, n as P, r as F, t as ce } from "./ModalFooter-BF0mSbhC.js";
16
16
  import { t as I } from "./ModalHeader-BfMTlKtG.js";
17
17
  import { n as L } from "./phoneUtils-CS66SHie.js";
@@ -20,7 +20,7 @@ import { t as ue } from "./eventStatusStream-Dsje0MUr.js";
20
20
  import { t as de } from "./i18n-5UeQtxjP.js";
21
21
  import { t as R } from "./__SKIP_NAVIGATION__-AOx8SI54.js";
22
22
  import { t as z } from "./__SKIP_PATHS__-C0ixDSSm.js";
23
- import { _ as fe, a as B, c as V, i as pe, o as me, p as H, s as U, t as he, x as W, y as ge } from "./utils-skxxaoOa.js";
23
+ import { _ as fe, a as B, c as V, i as pe, o as me, p as H, s as U, t as he, x as W, y as ge } from "./utils-Bqh66dCa.js";
24
24
  import { a as _e, r as ve } from "./gate-password-cache-oOcDm9Ki.js";
25
25
  import "svelte/internal/disclose-version";
26
26
  import * as G from "svelte/internal/client";
@@ -35,7 +35,7 @@ function Ne(n, i) {
35
35
  close: "Close",
36
36
  invalidEmail: "Please enter a valid email address",
37
37
  required: "This field is required"
38
- }, c = G.prop(i, "open", 15, !1), l = G.prop(i, "size", 3, "md"), p = G.prop(i, "title", 3, ""), m = G.prop(i, "description", 3, ""), h = G.prop(i, "closeBtn", 3, !1), g = G.prop(i, "persistent", 3, !1), v = G.prop(i, "inputLabel", 3, ""), y = G.prop(i, "inputPlaceholder", 3, ""), b = G.prop(i, "inputType", 3, "text"), x = G.prop(i, "inputValue", 15, ""), S = G.prop(i, "inputRequired", 3, !1), C = G.prop(i, "inputRows", 3, 4), w = G.prop(i, "inputIcon", 3, null), T = G.prop(i, "helpText", 3, ""), E = G.prop(i, "errorMessage", 3, ""), ee = G.prop(i, "showError", 3, !1), D = G.prop(i, "validateEmail", 3, !1), O = G.prop(i, "primaryButtonText", 3, void 0), te = G.prop(i, "secondaryButtonText", 3, void 0), ne = G.prop(i, "primaryButtonVariant", 3, "default"), k = G.prop(i, "disabled", 3, !1), A = G.prop(i, "loading", 3, !1), re = G.prop(i, "labels", 19, () => ({})), j = G.derived(() => o(s, re())), ie = G.derived(() => O() ?? G.get(j).confirm), ae = G.derived(() => te() ?? G.get(j).cancel), M = (e) => _(e), N = f(), L = G.derived(() => !!(D() && x() && !M(x()))), le = G.derived(() => G.get(L) && N.shows("value")), ue = G.derived(() => !!(S() && (!x() || x().trim() === ""))), de = G.derived(() => G.get(ue) && N.attempted), R = G.derived(() => G.get(le) ? G.get(j).invalidEmail : G.get(de) ? G.get(j).required : ee() ? E() : ""), z = G.derived(() => ee() || G.get(le) || G.get(de)), fe = G.derived(() => k() || A()), B = G.state(void 0);
38
+ }, c = G.prop(i, "open", 15, !1), l = G.prop(i, "size", 3, "md"), p = G.prop(i, "title", 3, ""), m = G.prop(i, "description", 3, ""), h = G.prop(i, "closeBtn", 3, !1), g = G.prop(i, "persistent", 3, !1), v = G.prop(i, "inputLabel", 3, ""), y = G.prop(i, "inputPlaceholder", 3, ""), b = G.prop(i, "inputType", 3, "text"), x = G.prop(i, "inputValue", 15, ""), S = G.prop(i, "inputRequired", 3, !1), C = G.prop(i, "inputRows", 3, 4), w = G.prop(i, "inputIcon", 3, null), T = G.prop(i, "helpText", 3, ""), E = G.prop(i, "errorMessage", 3, ""), D = G.prop(i, "showError", 3, !1), O = G.prop(i, "validateEmail", 3, !1), k = G.prop(i, "primaryButtonText", 3, void 0), ee = G.prop(i, "secondaryButtonText", 3, void 0), te = G.prop(i, "primaryButtonVariant", 3, "default"), A = G.prop(i, "disabled", 3, !1), j = G.prop(i, "loading", 3, !1), ne = G.prop(i, "labels", 19, () => ({})), M = G.derived(() => o(s, ne())), re = G.derived(() => k() ?? G.get(M).confirm), ie = G.derived(() => ee() ?? G.get(M).cancel), ae = (e) => _(e), N = f(), L = G.derived(() => !!(O() && x() && !ae(x()))), le = G.derived(() => G.get(L) && N.shows("value")), ue = G.derived(() => !!(S() && (!x() || x().trim() === ""))), de = G.derived(() => G.get(ue) && N.attempted), R = G.derived(() => G.get(le) ? G.get(M).invalidEmail : G.get(de) ? G.get(M).required : D() ? E() : ""), z = G.derived(() => D() || G.get(le) || G.get(de)), fe = G.derived(() => A() || j()), B = G.state(void 0);
39
39
  G.user_effect(() => {
40
40
  c() || N.reset();
41
41
  });
@@ -55,11 +55,11 @@ function Ne(n, i) {
55
55
  e.preventDefault(), pe();
56
56
  }
57
57
  }, H = () => {
58
- !k() && !A() && (i.oncancel?.(), U());
58
+ !A() && !j() && (i.oncancel?.(), U());
59
59
  }, U = () => {
60
60
  c(!1), i.onclose?.();
61
61
  }, he = () => {
62
- k() || A() || U();
62
+ A() || j() || U();
63
63
  };
64
64
  oe(n, {
65
65
  get size() {
@@ -90,12 +90,12 @@ function Ne(n, i) {
90
90
  size: "xs",
91
91
  onclick: he,
92
92
  get disabled() {
93
- return k();
93
+ return A();
94
94
  },
95
95
  children: (e, t) => {
96
96
  var n = K();
97
97
  G.template_effect(() => {
98
- G.set_attribute(n, "src", u), G.set_attribute(n, "alt", G.get(j).close);
98
+ G.set_attribute(n, "src", u), G.set_attribute(n, "alt", G.get(M).close);
99
99
  }), G.append(e, n);
100
100
  },
101
101
  $$slots: { default: !0 }
@@ -140,7 +140,7 @@ function Ne(n, i) {
140
140
  var u = G.sibling(c, 2), f = (e) => {
141
141
  var t = Ee();
142
142
  G.remove_textarea_child(t), G.bind_this(t, (e) => G.set(B, e), () => G.get(B)), G.template_effect(() => {
143
- G.set_attribute(t, "placeholder", y()), G.set_attribute(t, "rows", C()), G.set_class(t, 1, `w-full px-3 py-2 border ${G.get(z) ? "border-status-error-border" : "border-stroke-primary"} bg-bg-secondary ${a.body ?? ""} rounded-lg focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:border-transparent resize-none`), t.disabled = k() || A(), G.set_attribute(t, "aria-invalid", G.get(z) || void 0), G.set_attribute(t, "aria-describedby", G.get(z) && G.get(R) ? "modal-input-error" : void 0);
143
+ G.set_attribute(t, "placeholder", y()), G.set_attribute(t, "rows", C()), G.set_class(t, 1, `w-full px-3 py-2 border ${G.get(z) ? "border-status-error-border" : "border-stroke-primary"} bg-bg-secondary ${a.body ?? ""} rounded-lg focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:border-transparent resize-none`), t.disabled = A() || j(), G.set_attribute(t, "aria-invalid", G.get(z) || void 0), G.set_attribute(t, "aria-describedby", G.get(z) && G.get(R) ? "modal-input-error" : void 0);
144
144
  }), G.delegated("keydown", t, me), G.event("blur", t, V), G.bind_value(t, x), G.append(e, t);
145
145
  }, p = (e) => {
146
146
  var t = q(), n = G.child(t), r = (e) => {
@@ -161,7 +161,7 @@ function Ne(n, i) {
161
161
  });
162
162
  var i = G.sibling(n, 2);
163
163
  G.remove_input_defaults(i), G.bind_this(i, (e) => G.set(B, e), () => G.get(B)), G.reset(t), G.template_effect(() => {
164
- G.set_attribute(i, "type", b()), G.set_attribute(i, "placeholder", y()), i.required = S(), i.disabled = k() || A(), G.set_class(i, 1, `w-full ${w() ? "pl-10" : "px-3"} py-2 border ${G.get(z) ? "border-status-error-border" : "border-stroke-primary"} rounded-lg ${a.body ?? ""} bg-card focus:ring-2 focus:ring-focus-ring focus:border-transparent disabled:opacity-50 disabled:cursor-not-allowed`), G.set_attribute(i, "aria-invalid", G.get(z) || void 0), G.set_attribute(i, "aria-describedby", G.get(z) && G.get(R) ? "modal-input-error" : void 0);
164
+ G.set_attribute(i, "type", b()), G.set_attribute(i, "placeholder", y()), i.required = S(), i.disabled = A() || j(), G.set_class(i, 1, `w-full ${w() ? "pl-10" : "px-3"} py-2 border ${G.get(z) ? "border-status-error-border" : "border-stroke-primary"} rounded-lg ${a.body ?? ""} bg-card focus:ring-2 focus:ring-focus-ring focus:border-transparent disabled:opacity-50 disabled:cursor-not-allowed`), G.set_attribute(i, "aria-invalid", G.get(z) || void 0), G.set_attribute(i, "aria-describedby", G.get(z) && G.get(R) ? "modal-input-error" : void 0);
165
165
  }), G.delegated("keydown", i, me), G.event("blur", i, V), G.bind_value(i, x), G.append(e, t);
166
166
  };
167
167
  G.if(u, (e) => {
@@ -191,7 +191,7 @@ function Ne(n, i) {
191
191
  children: (t, n) => {
192
192
  var r = Ae(), i = G.child(r), a = (t) => {
193
193
  {
194
- let n = G.derived(() => k() || A());
194
+ let n = G.derived(() => A() || j());
195
195
  e(t, {
196
196
  size: "full",
197
197
  variant: "alternative",
@@ -202,32 +202,32 @@ function Ne(n, i) {
202
202
  children: (e, t) => {
203
203
  G.next();
204
204
  var n = G.text();
205
- G.template_effect(() => G.set_text(n, G.get(ae))), G.append(e, n);
205
+ G.template_effect(() => G.set_text(n, G.get(ie))), G.append(e, n);
206
206
  },
207
207
  $$slots: { default: !0 }
208
208
  });
209
209
  }
210
210
  };
211
211
  G.if(i, (e) => {
212
- G.get(ae) && e(a);
212
+ G.get(ie) && e(a);
213
213
  });
214
214
  var o = G.sibling(i, 2);
215
215
  e(o, {
216
216
  size: "full",
217
217
  get variant() {
218
- return ne();
218
+ return te();
219
219
  },
220
220
  onclick: pe,
221
221
  get disabled() {
222
222
  return G.get(fe);
223
223
  },
224
224
  get loading() {
225
- return A();
225
+ return j();
226
226
  },
227
227
  children: (e, t) => {
228
228
  G.next();
229
229
  var n = G.text();
230
- G.template_effect(() => G.set_text(n, G.get(ie))), G.append(e, n);
230
+ G.template_effect(() => G.set_text(n, G.get(re))), G.append(e, n);
231
231
  },
232
232
  $$slots: { default: !0 }
233
233
  }), G.reset(r), G.append(t, r);
@@ -245,7 +245,7 @@ G.delegate(["keydown"]);
245
245
  //#endregion
246
246
  //#region src/lib/utils/ticketAvailability.ts
247
247
  async function Pe(e, t, n, r) {
248
- let i = await M(e, r);
248
+ let i = await O(e, r);
249
249
  if (!i.ok) return null;
250
250
  let a = i.data, o = {
251
251
  requested: 0,
@@ -358,18 +358,18 @@ function ze({ eventId: e, onAdmitted: t }) {
358
358
  g = !1, C(o.entry.pollAfterMs);
359
359
  }
360
360
  }
361
- function ee() {
362
- v || typeof window > "u" || (window.addEventListener("pagehide", O), v = !0);
363
- }
364
361
  function D() {
365
- !v || typeof window > "u" || (window.removeEventListener("pagehide", O), v = !1);
362
+ v || typeof window > "u" || (window.addEventListener("pagehide", k), v = !0);
366
363
  }
367
364
  function O() {
365
+ !v || typeof window > "u" || (window.removeEventListener("pagehide", k), v = !1);
366
+ }
367
+ function k() {
368
368
  let t = G.get(i);
369
369
  f += 1, S(), G.set(i, null), H(e), G.set(u, 0), G.set(a, 0), G.set(o, 0), G.set(s, 0), G.set(c, ""), G.set(n, G.get(r) ? "expired" : "open", !0), t && V(e, t);
370
370
  }
371
- async function te() {
372
- m || p || (p = !0, f += 1, h = 0, g = !1, _ = !1, G.set(l, !1), G.set(u, 0), G.set(i, ge(e), !0), ee(), await E());
371
+ async function ee() {
372
+ m || p || (p = !0, f += 1, h = 0, g = !1, _ = !1, G.set(l, !1), G.set(u, 0), G.set(i, ge(e), !0), D(), await E());
373
373
  }
374
374
  return {
375
375
  get state() {
@@ -402,14 +402,14 @@ function ze({ eventId: e, onAdmitted: t }) {
402
402
  async start() {
403
403
  if (m) return;
404
404
  let t = await B(e);
405
- m || (G.set(r, t.armed, !0), G.get(r) && await te());
405
+ m || (G.set(r, t.armed, !0), G.get(r) && await ee());
406
406
  },
407
407
  async join() {
408
- m || (G.set(r, !0), await te());
408
+ m || (G.set(r, !0), await ee());
409
409
  },
410
- release: O,
410
+ release: k,
411
411
  dispose() {
412
- m = !0, f += 1, S(), D();
412
+ m = !0, f += 1, S(), O();
413
413
  }
414
414
  };
415
415
  }
@@ -438,7 +438,7 @@ function Je(e, t) {
438
438
  function E(e) {
439
439
  return L(s(e));
440
440
  }
441
- async function ee() {
441
+ async function D() {
442
442
  if (G.set(f, ""), G.set(v, !0), G.set(x, !0), !G.get(o) || !w(G.get(o))) {
443
443
  G.set(f, i().pleaseEnterValidEmailAddress || "Please enter a valid email address", !0);
444
444
  return;
@@ -448,10 +448,10 @@ function Je(e, t) {
448
448
  return;
449
449
  }
450
450
  G.set(d, !0);
451
- let e = await j(t.eventId, G.get(o), G.get(u) ? G.get(l) : null, G.get(u));
451
+ let e = await M(t.eventId, G.get(o), G.get(u) ? G.get(l) : null, G.get(u));
452
452
  G.set(d, !1), e.success ? (G.set(h, !0), G.set(g, e.position || 0, !0)) : G.set(f, T(e.errorCode), !0);
453
453
  }
454
- function D() {
454
+ function O() {
455
455
  G.set(o, ""), G.set(l, ""), G.set(u, !1), G.set(v, !1), G.set(x, !1), G.set(f, ""), G.set(h, !1), G.set(g, 0), n(!1), r()();
456
456
  }
457
457
  oe(e, {
@@ -506,10 +506,10 @@ function Je(e, t) {
506
506
  G.reset(g);
507
507
  var y = G.sibling(g, 2), b = G.child(y), w = G.child(b), T = G.child(w, !0);
508
508
  G.reset(w);
509
- var E = G.sibling(w, 2), D = G.child(E);
509
+ var E = G.sibling(w, 2), O = G.child(E);
510
510
  {
511
511
  let e = G.derived(() => i().waitlistEmailPlaceholder || "you@example.com"), t = G.derived(() => G.get(S) ? "border-status-error-border" : "");
512
- c(D, {
512
+ c(O, {
513
513
  id: "waitlist-email",
514
514
  type: "email",
515
515
  get placeholder() {
@@ -532,18 +532,18 @@ function Je(e, t) {
532
532
  });
533
533
  }
534
534
  G.reset(E);
535
- var O = G.sibling(E, 2), te = (e) => {
535
+ var k = G.sibling(E, 2), ee = (e) => {
536
536
  var t = Z(), n = G.child(t, !0);
537
537
  G.reset(t), G.template_effect(() => G.set_text(n, G.get(S))), G.append(e, t);
538
538
  };
539
- G.if(O, (e) => {
540
- G.get(S) && e(te);
539
+ G.if(k, (e) => {
540
+ G.get(S) && e(ee);
541
541
  }), G.reset(b);
542
- var ne = G.sibling(b, 2), k = G.child(ne), A = G.child(k);
543
- G.remove_input_defaults(A);
544
- var re = G.sibling(A, 2), j = G.child(re, !0);
545
- G.reset(re), G.reset(k);
546
- var ie = G.sibling(k, 2), ae = (e) => {
542
+ var te = G.sibling(b, 2), A = G.child(te), j = G.child(A);
543
+ G.remove_input_defaults(j);
544
+ var ne = G.sibling(j, 2), M = G.child(ne, !0);
545
+ G.reset(ne), G.reset(A);
546
+ var re = G.sibling(A, 2), ie = (e) => {
547
547
  var t = Ue(), n = G.child(t);
548
548
  {
549
549
  let e = G.derived(() => i().waitlistPhonePlaceholder || "(555) 123-4567"), t = G.derived(() => G.get(C) ? "border-status-error-border" : "");
@@ -580,22 +580,22 @@ function Je(e, t) {
580
580
  G.set_class(s, 1, `mt-1 ${a.xsMuted ?? ""}`), G.set_text(u, i().smsDisclaimer || "Message & data rates may apply. Reply STOP to unsubscribe");
581
581
  }), G.append(e, t);
582
582
  };
583
- G.if(ie, (e) => {
584
- G.get(u) && e(ae);
585
- }), G.reset(ne);
586
- var M = G.sibling(ne, 2), N = (e) => {
583
+ G.if(re, (e) => {
584
+ G.get(u) && e(ie);
585
+ }), G.reset(te);
586
+ var ae = G.sibling(te, 2), N = (e) => {
587
587
  var t = We(), n = G.child(t), r = G.child(n, !0);
588
588
  G.reset(n), G.reset(t), G.template_effect(() => {
589
589
  G.set_class(n, 1, G.clsx(a.error)), G.set_text(r, G.get(f));
590
590
  }), G.append(e, t);
591
591
  };
592
- G.if(M, (e) => {
592
+ G.if(ae, (e) => {
593
593
  G.get(f) && e(N);
594
594
  }), G.reset(y), G.reset(t), G.template_effect(() => {
595
- G.set_class(m, 1, `mb-2 text-center ${a.heading ?? ""}`), G.set_text(h, i().waitlistTitle || "This show is sold out"), G.set_text(_, i().waitlistDescription || "Want to be notified if tickets become available?"), G.set_text(T, i().waitlistEmailLabel || "Email address"), G.set_attribute(A, "aria-label", i().smsOptIn || "Text me when tickets are available"), A.disabled = G.get(d), G.set_text(j, i().smsOptIn || "Text me when tickets are available");
595
+ G.set_class(m, 1, `mb-2 text-center ${a.heading ?? ""}`), G.set_text(h, i().waitlistTitle || "This show is sold out"), G.set_text(_, i().waitlistDescription || "Want to be notified if tickets become available?"), G.set_text(T, i().waitlistEmailLabel || "Email address"), G.set_attribute(j, "aria-label", i().smsOptIn || "Text me when tickets are available"), j.disabled = G.get(d), G.set_text(M, i().smsOptIn || "Text me when tickets are available");
596
596
  }), G.event("submit", y, (e) => {
597
- e.preventDefault(), ee();
598
- }), G.bind_checked(A, () => G.get(u), (e) => G.set(u, e)), G.append(e, t);
597
+ e.preventDefault(), D();
598
+ }), G.bind_checked(j, () => G.get(u), (e) => G.set(u, e)), G.append(e, t);
599
599
  };
600
600
  G.if(r, (e) => {
601
601
  G.get(h) ? e(s) : e(_, -1);
@@ -610,7 +610,7 @@ function Je(e, t) {
610
610
  b(e, {
611
611
  size: "full",
612
612
  variant: "default",
613
- onclick: D,
613
+ onclick: O,
614
614
  children: (e, t) => {
615
615
  G.next();
616
616
  var n = G.text();
@@ -623,7 +623,7 @@ function Je(e, t) {
623
623
  b(n, {
624
624
  size: "full",
625
625
  variant: "alternative",
626
- onclick: D,
626
+ onclick: O,
627
627
  get disabled() {
628
628
  return G.get(d);
629
629
  },
@@ -640,7 +640,7 @@ function Je(e, t) {
640
640
  b(r, {
641
641
  size: "full",
642
642
  variant: "default",
643
- onclick: ee,
643
+ onclick: D,
644
644
  get loading() {
645
645
  return G.get(d);
646
646
  },
@@ -679,7 +679,7 @@ function it(e, t) {
679
679
  G.prop(t, "currentEventId", 3, void 0);
680
680
  let o = G.prop(t, "onNavigateBack", 3, void 0), s = G.prop(t, "onBuyTickets", 3, void 0), c = G.prop(t, "onNavigateToCart", 3, void 0), u = G.prop(t, "onCollectionEventClick", 3, void 0);
681
681
  G.prop(t, "organizationId", 3, "");
682
- let d = G.prop(t, "widgetId", 3, null), f = G.prop(t, "venueId", 3, null), p = G.prop(t, "waitlistToken", 3, void 0), m = G.prop(t, "waitlistEmail", 3, void 0), g = G.prop(t, "labels", 19, () => ({})), _ = G.prop(t, "locale", 3, void 0), y = G.derived(() => de(_(), g())), j = () => f() || G.get(M)?.venueID || G.get(M)?.venueId || null, M = G.state(G.proxy(r() ?? null)), oe = G.state(G.proxy(!r() && !!i()));
682
+ let d = G.prop(t, "widgetId", 3, null), f = G.prop(t, "venueId", 3, null), p = G.prop(t, "waitlistToken", 3, void 0), m = G.prop(t, "waitlistEmail", 3, void 0), g = G.prop(t, "labels", 19, () => ({})), _ = G.prop(t, "locale", 3, void 0), y = G.derived(() => de(_(), g())), O = () => f() || G.get(M)?.venueID || G.get(M)?.venueId || null, M = G.state(G.proxy(r() ?? null)), oe = G.state(G.proxy(!r() && !!i()));
683
683
  G.user_effect(() => {
684
684
  r() && G.set(M, r());
685
685
  });
@@ -719,7 +719,7 @@ function it(e, t) {
719
719
  try {
720
720
  if ((await N(String(G.get(L)), t)).valid) {
721
721
  try {
722
- let e = await O(G.get(L), fetch, t);
722
+ let e = await T(G.get(L), fetch, t);
723
723
  e && G.set(M, e, !0);
724
724
  } catch {}
725
725
  Te(G.get(L)), G.set(ge, !0), W.close(), G.set(be, "");
@@ -738,7 +738,7 @@ function it(e, t) {
738
738
  async function Ae(e) {
739
739
  let t = ++ke, n = await D(String(G.get(L)), e), r = Ie(n, e);
740
740
  if (r.isApplied && t === ke && (G.set(q, r.code, !0), G.set(Oe, r.discountAmount, !0), n.revealHiddenTickets || n.revealTicketIds?.length)) {
741
- let n = await E(String(G.get(L)), e);
741
+ let n = await ae(String(G.get(L)), e);
742
742
  t === ke && n.length > 0 && G.set(F, n, !0);
743
743
  }
744
744
  return r;
@@ -753,7 +753,7 @@ function it(e, t) {
753
753
  let t = () => {
754
754
  let t = e - Date.now();
755
755
  if (t <= 0) {
756
- G.set(Ve, null), G.set(Be, null), G.set(J, !1), G.set(Z, "token_expired"), G.set(Y, qe("token_expired"), !0), T(G.get(Y), { politeness: "assertive" });
756
+ G.set(Ve, null), G.set(Be, null), G.set(J, !1), G.set(Z, "token_expired"), G.set(Y, qe("token_expired"), !0), k(G.get(Y), { politeness: "assertive" });
757
757
  return;
758
758
  }
759
759
  G.set(Ve, t);
@@ -762,13 +762,13 @@ function it(e, t) {
762
762
  let n = setInterval(t, 1e3);
763
763
  return () => clearInterval(n);
764
764
  });
765
- let He = G.derived(() => G.get(Ve) === null ? "" : ie(Math.max(0, Math.floor(G.get(Ve) / 1e3)))), Z = G.state(""), Ue = G.state(!1), We = G.state(!1), Ge = G.derived(() => G.get(Z) === "token_expired" && !!p() && !!m());
765
+ let He = G.derived(() => G.get(Ve) === null ? "" : re(Math.max(0, Math.floor(G.get(Ve) / 1e3)))), Z = G.state(""), Ue = G.state(!1), We = G.state(!1), Ge = G.derived(() => G.get(Z) === "token_expired" && !!p() && !!m());
766
766
  async function Ke() {
767
767
  if (!(G.get(Ue) || G.get(We) || !p() || !m())) {
768
768
  G.set(Ue, !0);
769
769
  try {
770
- let e = await k(p(), m());
771
- e.success ? (G.set(We, !0), G.set(Y, ""), T(G.get(y).waitlistRequeueDone || "You're first in line — we'll email you the moment the next seat opens up", { politeness: "polite" })) : e.errorCode === "entry_not_found" ? (G.set(Z, e.errorCode, !0), G.set(Y, G.get(y).waitlistRequeueNotOnList || "You're no longer on this waitlist — join again from the button below", !0)) : e.errorCode === "token_used" ? (G.set(Z, e.errorCode, !0), G.set(Y, qe("token_used"), !0)) : G.set(Y, G.get(y).waitlistRequeueFailed || "We couldn't move you up just now — you're still on the waitlist", !0);
770
+ let e = await A(p(), m());
771
+ e.success ? (G.set(We, !0), G.set(Y, ""), k(G.get(y).waitlistRequeueDone || "You're first in line — we'll email you the moment the next seat opens up", { politeness: "polite" })) : e.errorCode === "entry_not_found" ? (G.set(Z, e.errorCode, !0), G.set(Y, G.get(y).waitlistRequeueNotOnList || "You're no longer on this waitlist — join again from the button below", !0)) : e.errorCode === "token_used" ? (G.set(Z, e.errorCode, !0), G.set(Y, qe("token_used"), !0)) : G.set(Y, G.get(y).waitlistRequeueFailed || "We couldn't move you up just now — you're still on the waitlist", !0);
772
772
  } finally {
773
773
  G.set(Ue, !1);
774
774
  }
@@ -811,7 +811,7 @@ function it(e, t) {
811
811
  async function mt(e) {
812
812
  if (!G.get(U)) return;
813
813
  if (G.set(P, ""), e.total === null) {
814
- x(G.get(L), d(), j()), G.set(P, G.get(y).priceUnavailable || "We couldn't load the price for this order — refresh the page or contact the venue", !0);
814
+ x(G.get(L), d(), O()), G.set(P, G.get(y).priceUnavailable || "We couldn't load the price for this order — refresh the page or contact the venue", !0);
815
815
  return;
816
816
  }
817
817
  let t = {}, n = {}, r = {};
@@ -858,22 +858,22 @@ function it(e, t) {
858
858
  G.set(P, n || i?.error || G.get(y).failedToCompleteOrder || "Failed to complete order. Please try again", !0);
859
859
  return;
860
860
  }
861
- S(G.get(L), d(), j()), c() ? c()(G.get(L), G.get(me), G.get(M)) : R(z(re(G.get(L), G.get(me)), {}));
861
+ S(G.get(L), d(), O()), c() ? c()(G.get(L), G.get(me), G.get(M)) : R(z(ne(G.get(L), G.get(me)), {}));
862
862
  }
863
863
  function ht(e) {
864
864
  if (u()) {
865
865
  u()(e);
866
866
  return;
867
867
  }
868
- e.id ? R(z(ae(e.id, e.slug), {})) : (Ye.warn("Collection event missing id, navigating by slug only"), R(z(ne(e.slug), {})));
868
+ e.id ? R(z(ie(e.id, e.slug), {})) : (Ye.warn("Collection event missing id, navigating by slug only"), R(z(te(e.slug), {})));
869
869
  }
870
870
  function gt(e) {
871
- s() ? s()(v(e.id), e.slug) : R(z(ae(e.id, e.slug), {}));
871
+ s() ? s()(v(e.id), e.slug) : R(z(ie(e.id, e.slug), {}));
872
872
  }
873
873
  ye(async () => {
874
874
  if (!G.get(M) && i()) {
875
875
  try {
876
- let e = await O(i());
876
+ let e = await T(i());
877
877
  G.set(M, e, !0);
878
878
  } catch (e) {
879
879
  G.set(se, e.message || G.get(y).failedToLoadEvent || "Failed to load event", !0), G.set(oe, !1);
@@ -883,10 +883,10 @@ function it(e, t) {
883
883
  }
884
884
  if (!G.get(M)) return;
885
885
  let e = G.get(M).ID || G.get(M).id;
886
- e && (he(e), C(e, d(), j()));
886
+ e && (he(e), C(e, d(), O()));
887
887
  let t = G.get(M).eventSeriesId || 0, n = G.get(M).venueID || G.get(M).venueId || 0;
888
888
  if (t > 0 && n > 0) try {
889
- let e = await ee(t, n);
889
+ let e = await E(t, n);
890
890
  if (Array.isArray(e) && e.length > 0) {
891
891
  let t = G.get(M).stageId ?? G.get(M).stageID ?? 0;
892
892
  G.set(H, e.map((e) => {
@@ -910,18 +910,18 @@ function it(e, t) {
910
910
  }
911
911
  } catch {}
912
912
  if (G.get(Se) && !we(G.get(L)) && W.open(), G.get(L)) {
913
- let e = await A(G.get(L));
913
+ let e = await j(G.get(L));
914
914
  G.set(Me, e.waitlistEnabled, !0), G.set(Le, e.gated, !0);
915
915
  }
916
916
  if (p() && m()) {
917
- let e = await te(p(), m());
917
+ let e = await ee(p(), m());
918
918
  if (e.valid && Number(e.eventId) !== Number(G.get(L))) G.set(Z, "event_mismatch"), G.set(Y, G.get(y).waitlistLinkEventMismatch || "This link is for a different event — open it from that show’s email", !0);
919
919
  else if (e.valid) {
920
920
  if (G.set(J, !0), e.expiresAt) {
921
921
  let t = Date.parse(e.expiresAt);
922
922
  Number.isFinite(t) && G.set(Be, t, !0);
923
923
  }
924
- } else e.errorCode === "token_requeued" ? G.set(We, !0) : (G.set(Z, e.errorCode || "invalid_token", !0), G.set(Y, qe(e.errorCode), !0), G.get(Z) === "token_expired" && T(G.get(Y), { politeness: "polite" }));
924
+ } else e.errorCode === "token_requeued" ? G.set(We, !0) : (G.set(Z, e.errorCode || "invalid_token", !0), G.set(Y, qe(e.errorCode), !0), G.get(Z) === "token_expired" && k(G.get(Y), { politeness: "polite" }));
925
925
  }
926
926
  });
927
927
  var _t = rt(), vt = G.first_child(_t), yt = (e) => {