@getmicdrop/venue-calendar 4.0.93 → 4.0.95

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 (86) hide show
  1. package/README.md +740 -740
  2. package/dist/CartView-Cq0DU1Cy.js +2385 -0
  3. package/dist/CartView-Cq0DU1Cy.js.map +1 -0
  4. package/dist/Checkout-BA43iGDc.js +1745 -0
  5. package/dist/Checkout-BA43iGDc.js.map +1 -0
  6. package/dist/{Checkout-BUwdMMjA.js → Checkout-BV5f49vY.js} +268 -268
  7. package/dist/Checkout-BV5f49vY.js.map +1 -0
  8. package/dist/{CheckoutTimer-C_ax1Uo2.js → CheckoutTimer-KyKyInco.js} +5 -5
  9. package/dist/CheckoutTimer-KyKyInco.js.map +1 -0
  10. package/dist/{ClockIcon-C5muTIYL.js → ClockIcon-BD24dBol.js} +2 -2
  11. package/dist/ClockIcon-BD24dBol.js.map +1 -0
  12. package/dist/{CollectionView-3MHrh5Zm.js → CollectionView-CKIxku9-.js} +18 -18
  13. package/dist/CollectionView-CKIxku9-.js.map +1 -0
  14. package/dist/{Event-vR1aE543.js → Event-BPdt1Io5.js} +1051 -1052
  15. package/dist/Event-BPdt1Io5.js.map +1 -0
  16. package/dist/EventPage-DRnTMGTK.js +575 -0
  17. package/dist/EventPage-DRnTMGTK.js.map +1 -0
  18. package/dist/{Heading-ZcvybCi8.js → Heading-pQuVpBrL.js} +2 -2
  19. package/dist/Heading-pQuVpBrL.js.map +1 -0
  20. package/dist/{ScarcityBadge-CjTFAhat.js → ScarcityBadge-DoYdujCs.js} +10 -10
  21. package/dist/ScarcityBadge-DoYdujCs.js.map +1 -0
  22. package/dist/{SeriesPage-DTEY83yR.js → SeriesPage-vw7Hva9F.js} +7 -7
  23. package/dist/SeriesPage-vw7Hva9F.js.map +1 -0
  24. package/dist/{Spinner--YBVljiP.js → Spinner-BfFZMaDP.js} +5 -5
  25. package/dist/Spinner-BfFZMaDP.js.map +1 -0
  26. package/dist/Success-Cjj6CC4w.js +862 -0
  27. package/dist/Success-Cjj6CC4w.js.map +1 -0
  28. package/dist/{Text-SlV9H-GU.js → Text-CT79Zi5n.js} +2 -2
  29. package/dist/Text-CT79Zi5n.js.map +1 -0
  30. package/dist/{VenueCalendar-Bth_j-Wp.js → VenueCalendar-Cz7_VBC6.js} +2548 -2563
  31. package/dist/VenueCalendar-Cz7_VBC6.js.map +1 -0
  32. package/dist/{ViewTicketsEmbed-D7g7RYZI.js → ViewTicketsEmbed-BvCfoKY3.js} +116 -128
  33. package/dist/ViewTicketsEmbed-BvCfoKY3.js.map +1 -0
  34. package/dist/api/api/events.d.ts +18 -0
  35. package/dist/api/api/gift-cards.d.ts +19 -0
  36. package/dist/api/api/index.d.ts +2 -2
  37. package/dist/api/api/result.d.ts +31 -1
  38. package/dist/api/api.cjs +1 -1
  39. package/dist/api/api.cjs.map +1 -1
  40. package/dist/api/api.mjs +312 -304
  41. package/dist/api/api.mjs.map +1 -1
  42. package/dist/api/types.d.ts +447 -447
  43. package/dist/{data-toggle-store.svelte-CFAVM8I0.js → data-toggle-store.svelte-BHwbM34q.js} +2 -2
  44. package/dist/data-toggle-store.svelte-BHwbM34q.js.map +1 -0
  45. package/dist/{labels-CnpAWtkz.js → labels-_x9WkVuZ.js} +151 -152
  46. package/dist/labels-_x9WkVuZ.js.map +1 -0
  47. package/dist/{modalManager.svelte-T2RGHhZH.js → modalManager.svelte-Csm1WlvP.js} +2 -2
  48. package/dist/modalManager.svelte-Csm1WlvP.js.map +1 -0
  49. package/dist/seo/seo.cjs.map +1 -1
  50. package/dist/seo/seo.mjs.map +1 -1
  51. package/dist/transform-WRPgSKLN.js +360 -0
  52. package/dist/transform-WRPgSKLN.js.map +1 -0
  53. package/dist/types/index.d.ts +454 -454
  54. package/dist/venue-calendar.css +1 -1
  55. package/dist/venue-calendar.es.js +11 -11
  56. package/dist/venue-calendar.iife.js +44 -44
  57. package/dist/venue-calendar.iife.js.map +1 -1
  58. package/dist/venue-calendar.umd.js +42 -42
  59. package/dist/venue-calendar.umd.js.map +1 -1
  60. package/package.json +2 -2
  61. package/src/lib/theme.js +222 -222
  62. package/dist/CartView-R5Z2q4Hy.js +0 -2380
  63. package/dist/CartView-R5Z2q4Hy.js.map +0 -1
  64. package/dist/Checkout-BUwdMMjA.js.map +0 -1
  65. package/dist/Checkout-avoTg_Zw.js +0 -1742
  66. package/dist/Checkout-avoTg_Zw.js.map +0 -1
  67. package/dist/CheckoutTimer-C_ax1Uo2.js.map +0 -1
  68. package/dist/ClockIcon-C5muTIYL.js.map +0 -1
  69. package/dist/CollectionView-3MHrh5Zm.js.map +0 -1
  70. package/dist/Event-vR1aE543.js.map +0 -1
  71. package/dist/EventPage-Bhg-8-5x.js +0 -566
  72. package/dist/EventPage-Bhg-8-5x.js.map +0 -1
  73. package/dist/Heading-ZcvybCi8.js.map +0 -1
  74. package/dist/ScarcityBadge-CjTFAhat.js.map +0 -1
  75. package/dist/SeriesPage-DTEY83yR.js.map +0 -1
  76. package/dist/Spinner--YBVljiP.js.map +0 -1
  77. package/dist/Success-ClCvTxTH.js +0 -848
  78. package/dist/Success-ClCvTxTH.js.map +0 -1
  79. package/dist/Text-SlV9H-GU.js.map +0 -1
  80. package/dist/VenueCalendar-Bth_j-Wp.js.map +0 -1
  81. package/dist/ViewTicketsEmbed-D7g7RYZI.js.map +0 -1
  82. package/dist/data-toggle-store.svelte-CFAVM8I0.js.map +0 -1
  83. package/dist/labels-CnpAWtkz.js.map +0 -1
  84. package/dist/modalManager.svelte-T2RGHhZH.js.map +0 -1
  85. package/dist/transform-C3TwZSH6.js +0 -349
  86. package/dist/transform-C3TwZSH6.js.map +0 -1
@@ -1,44 +1,47 @@
1
1
  import "svelte/internal/disclose-version";
2
2
  import * as e from "svelte/internal/client";
3
- import { u as F, aJ as I, aK as M, ak as N, J as G, q as D, aA as L } from "./VenueCalendar-Bth_j-Wp.js";
4
- import { T as m } from "./Text-SlV9H-GU.js";
5
- var U = e.from_svg('<path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"></path>'), Y = e.from_svg('<rect x="40" y="40" width="176" height="176" rx="8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></rect><line x1="176" y1="24" x2="176" y2="56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="80" y1="24" x2="80" y2="56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="40" y1="88" x2="216" y2="88" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><polyline points="88 128 104 120 104 184" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></polyline><path d="M138.14,128a16,16,0,1,1,26.64,17.63L136,184h32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></path>', 1), j = e.from_svg('<svg aria-hidden="true" viewBox="0 0 256 256" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><!></svg>');
6
- function re(r, t) {
3
+ import { u as I, aM as L, K as N, r as D, aC as V } from "./VenueCalendar-Cz7_VBC6.js";
4
+ import { T as m } from "./Text-CT79Zi5n.js";
5
+ var G = e.from_svg('<path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM112,184a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm56-8a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136a23.76,23.76,0,0,1-4.84,14.45L152,176ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"></path>'), U = e.from_svg('<rect x="40" y="40" width="176" height="176" rx="8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></rect><line x1="176" y1="24" x2="176" y2="56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="80" y1="24" x2="80" y2="56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="40" y1="88" x2="216" y2="88" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><polyline points="88 128 104 120 104 184" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></polyline><path d="M138.14,128a16,16,0,1,1,26.64,17.63L136,184h32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></path>', 1), Y = e.from_svg('<svg aria-hidden="true" viewBox="0 0 256 256" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><!></svg>');
6
+ function se(r, t) {
7
7
  e.push(t, !0);
8
- let o = e.prop(t, "size", 3, "24"), f = e.prop(t, "color", 3, "currentColor"), p = e.prop(t, "class", 3, "");
9
- const b = F();
10
- let k = e.derived(() => t.weight ?? b?.weight ?? "regular");
11
- var a = j();
8
+ let a = e.prop(t, "size", 3, "24"), f = e.prop(t, "color", 3, "currentColor"), p = e.prop(t, "class", 3, "");
9
+ const T = I();
10
+ let k = e.derived(() => t.weight ?? T?.weight ?? "regular");
11
+ var o = Y();
12
12
  let S;
13
- var g = e.child(a);
13
+ var g = e.child(o);
14
14
  {
15
- var C = (v) => {
16
- var u = U();
15
+ var P = (v) => {
16
+ var u = G();
17
17
  e.append(v, u);
18
18
  }, E = (v) => {
19
- var u = Y();
19
+ var u = U();
20
20
  e.next(5), e.append(v, u);
21
21
  };
22
22
  e.if(g, (v) => {
23
- e.get(k) === "fill" ? v(C) : v(E, -1);
23
+ e.get(k) === "fill" ? v(P) : v(E, -1);
24
24
  });
25
25
  }
26
- e.reset(a), e.template_effect(() => {
27
- e.set_class(a, 0, e.clsx(p())), e.set_attribute(a, "width", o()), e.set_attribute(a, "height", o()), S = e.set_style(a, "", S, { color: f() });
28
- }), e.append(r, a), e.pop();
26
+ e.reset(o), e.template_effect(() => {
27
+ e.set_class(o, 0, e.clsx(p())), e.set_attribute(o, "width", a()), e.set_attribute(o, "height", a()), S = e.set_style(o, "", S, { color: f() });
28
+ }), e.append(r, o), e.pop();
29
29
  }
30
- function W(r, t, o = {}) {
30
+ function O(r, t, a = "en-US") {
31
+ return new Intl.DateTimeFormat(a, t).format(r);
32
+ }
33
+ function j(r, t, a = {}) {
31
34
  const {
32
35
  cancelled: f = !1,
33
36
  isRegistration: p = !1,
34
- waitlistEnabled: b = !1
35
- } = o, k = /* @__PURE__ */ new Date();
37
+ waitlistEnabled: T = !1
38
+ } = a, k = /* @__PURE__ */ new Date();
36
39
  if (f)
37
40
  return { text: "Cancelled", disabled: !0, reason: "cancelled" };
38
- const a = r.endDateTime || r.startDateTime;
39
- if (a && new Date(a) < k)
41
+ const o = r.endDateTime || r.startDateTime;
42
+ if (o && new Date(o) < k)
40
43
  return { text: "Sales ended", disabled: !0, reason: "event_past" };
41
- const S = r?.hasPurchasableHiddenTickets === !0 || Array.isArray(t) && t.some(I), g = (t || []).filter(
44
+ const S = r?.hasPurchasableHiddenTickets === !0 || Array.isArray(t) && t.some(L), g = (t || []).filter(
42
45
  (i) => i.salesChannel !== 2 && !i.isHidden && !(typeof i.visibility == "number" && i.visibility >= 2)
43
46
  );
44
47
  if (g.length === 0)
@@ -51,15 +54,15 @@ function W(r, t, o = {}) {
51
54
  disabled: !0,
52
55
  reason: "no_tickets"
53
56
  };
54
- let C = !1, E = !0, v = !0, u = null;
57
+ let P = !1, E = !0, v = !0, u = null;
55
58
  for (const i of g) {
56
- const T = i.salesBegin || i.salesStart || i.saleBegin || i.onSaleStart, A = i.salesEnd || i.saleEnd || i.onSaleEnd, h = i.remainingCapacity ?? i.quantityRemaining ?? i.quantity, P = i.soldOut || h != null && h <= 0, x = T ? new Date(T) > k : !1, $ = A ? new Date(A) < k : !1;
57
- if (!P && !x && !$ && (C = !0), P || (E = !1), x || (v = !1), x && T && !P && !$) {
58
- const R = new Date(T);
59
+ const y = i.salesBegin || i.salesStart || i.saleBegin || i.onSaleStart, A = i.salesEnd || i.saleEnd || i.onSaleEnd, b = i.remainingCapacity ?? i.quantityRemaining ?? i.quantity, x = i.soldOut || b != null && b <= 0, h = y ? new Date(y) > k : !1, $ = A ? new Date(A) < k : !1;
60
+ if (!x && !h && !$ && (P = !0), x || (E = !1), h || (v = !1), h && y && !x && !$) {
61
+ const R = new Date(y);
59
62
  (!u || R < u) && (u = R);
60
63
  }
61
64
  }
62
- if (C)
65
+ if (P)
63
66
  return {
64
67
  text: p ? "Reserve a spot" : "Get tickets",
65
68
  disabled: !1,
@@ -72,26 +75,22 @@ function W(r, t, o = {}) {
72
75
  disabled: !1,
73
76
  reason: "hidden_only"
74
77
  };
75
- const i = u.getTime() - k.getTime(), T = i / (1e3 * 60 * 60), A = i / (1e3 * 60 * 60 * 24);
76
- let h;
77
- if (T < 24)
78
- h = M(u, { hour12: !0 }, "en-US");
79
- else if (A <= 7)
80
- h = N(
81
- u,
82
- { weekday: "short", hour: "numeric", minute: "2-digit", hour12: !0 },
83
- "en-US"
84
- );
85
- else {
86
- const P = N(
87
- u,
88
- { month: "short", day: "numeric" },
89
- "en-US"
90
- ), x = M(u, { hour12: !0 }, "en-US");
91
- h = `${P} ${x}`;
92
- }
93
- return {
94
- text: `On sale ${h}`,
78
+ const i = u.getTime() - k.getTime(), y = i / (1e3 * 60 * 60), A = i / (1e3 * 60 * 60 * 24), b = (h) => O(
79
+ h,
80
+ { hour: "numeric", minute: "2-digit", hour12: !0 },
81
+ "en-US"
82
+ );
83
+ let x;
84
+ return y < 24 ? x = b(u) : A <= 7 ? x = O(
85
+ u,
86
+ { weekday: "short", hour: "numeric", minute: "2-digit", hour12: !0 },
87
+ "en-US"
88
+ ) : x = `${O(
89
+ u,
90
+ { month: "short", day: "numeric" },
91
+ "en-US"
92
+ )} ${b(u)}`, {
93
+ text: `On sale ${x}`,
95
94
  disabled: !0,
96
95
  reason: "coming_soon"
97
96
  };
@@ -100,7 +99,7 @@ function W(r, t, o = {}) {
100
99
  text: p ? "Reserve a spot" : "Get tickets",
101
100
  disabled: !1,
102
101
  reason: "hidden_only"
103
- } : b ? {
102
+ } : T ? {
104
103
  text: "Join Waitlist",
105
104
  disabled: !1,
106
105
  reason: "sold_out_waitlist"
@@ -110,7 +109,7 @@ function W(r, t, o = {}) {
110
109
  reason: "hidden_only"
111
110
  } : { text: "Sales ended", disabled: !0, reason: "sales_ended" };
112
111
  }
113
- const O = {
112
+ const H = {
114
113
  URGENT: 0.1,
115
114
  // ≤10% remaining → urgent ("Only X left")
116
115
  LOW: 0.2,
@@ -118,16 +117,16 @@ const O = {
118
117
  MAX_EXACT_COUNT: 20
119
118
  // Don't show exact count above 20
120
119
  };
121
- function ae(r, t) {
120
+ function re(r, t) {
122
121
  if (t === 0) return "none";
123
122
  if (r <= 0) return "sold_out";
124
- const o = r / t;
125
- return o <= O.URGENT ? "urgent" : o <= O.LOW ? "low" : "none";
123
+ const a = r / t;
124
+ return a <= H.URGENT ? "urgent" : a <= H.LOW ? "low" : "none";
126
125
  }
127
- function oe(r, t, o, f) {
128
- return r === "none" ? null : r === "sold_out" ? "Sold out" : r === "urgent" && o !== "browse" && t <= O.MAX_EXACT_COUNT ? `Only ${t} left` : r === "low" || r === "urgent" ? "Selling fast" : null;
126
+ function ae(r, t, a, f) {
127
+ return r === "none" ? null : r === "sold_out" ? "Sold out" : r === "urgent" && a !== "browse" && t <= H.MAX_EXACT_COUNT ? `Only ${t} left` : r === "low" || r === "urgent" ? "Selling fast" : null;
129
128
  }
130
- function ie(r) {
129
+ function oe(r) {
131
130
  const t = r.tickets.map((f) => ({
132
131
  salesBegin: f.salesStartDate,
133
132
  salesEnd: f.salesEndDate,
@@ -150,7 +149,7 @@ function ie(r) {
150
149
  disabled: !0,
151
150
  reason: "This event has ended"
152
151
  };
153
- const o = W(
152
+ const a = j(
154
153
  { startDateTime: r.startDateTime, endDateTime: r.endDateTime },
155
154
  t,
156
155
  {
@@ -160,12 +159,12 @@ function ie(r) {
160
159
  }
161
160
  );
162
161
  return {
163
- text: o.text,
164
- disabled: o.disabled,
165
- reason: o.disabled ? B(o.reason) : void 0
162
+ text: a.text,
163
+ disabled: a.disabled,
164
+ reason: a.disabled ? W(a.reason) : void 0
166
165
  };
167
166
  }
168
- function B(r) {
167
+ function W(r) {
169
168
  if (r)
170
169
  switch (r) {
171
170
  case "cancelled":
@@ -189,28 +188,28 @@ function B(r) {
189
188
  return;
190
189
  }
191
190
  }
192
- function ne(r) {
191
+ function ie(r) {
193
192
  const t = r.tickets.filter(
194
- (a) => a.status === "on_sale" && !a.isHidden
193
+ (o) => o.status === "on_sale" && !o.isHidden
195
194
  );
196
195
  if (t.length === 0) return null;
197
- const o = t.some(
198
- (a) => a.isDonation || a.ticketType === 2
196
+ const a = t.some(
197
+ (o) => o.isDonation || o.ticketType === 2
199
198
  ), f = t.filter(
200
- (a) => !a.isDonation && a.ticketType !== 2
201
- ), p = f.some((a) => a.price === 0), b = f.filter((a) => a.price > 0);
202
- if (b.length === 0 && !p && o) return "Donation";
203
- if (b.length === 0 && p) return null;
204
- const k = Math.min(...b.map((a) => a.price));
205
- return p ? "Free" : o ? `From $${k}` : b.length === 1 ? `$${k}` : `From $${k}`;
199
+ (o) => !o.isDonation && o.ticketType !== 2
200
+ ), p = f.some((o) => o.price === 0), T = f.filter((o) => o.price > 0);
201
+ if (T.length === 0 && !p && a) return "Donation";
202
+ if (T.length === 0 && p) return null;
203
+ const k = Math.min(...T.map((o) => o.price));
204
+ return p ? "Free" : a ? `From $${k}` : T.length === 1 ? `$${k}` : `From $${k}`;
206
205
  }
207
- function le(r, t) {
208
- return G(r * (t / 100));
206
+ function ne(r, t) {
207
+ return N(r * (t / 100));
209
208
  }
210
- const K = {
209
+ const B = {
211
210
  normal: 300
212
211
  };
213
- function de() {
212
+ function le() {
214
213
  return {
215
214
  code: "",
216
215
  isApplied: !1,
@@ -224,57 +223,57 @@ function de() {
224
223
  revealTicketIds: []
225
224
  };
226
225
  }
227
- var q = e.from_html('<div class="flex justify-between"><!> <!></div>'), J = e.from_html('<div class="flex justify-between pt-1 border-t border-default"><!> <!></div>'), X = e.from_html('<!> <!> <!> <!> <!> <div class="flex justify-between pt-2 border-t border-default"><!> <!></div>', 1), Z = e.from_html('<div class="space-y-2"><!> <!></div>');
228
- function ce(r, t) {
226
+ var q = e.from_html('<div class="flex justify-between"><!> <!></div>'), K = e.from_html('<div class="flex justify-between pt-1 border-t border-default"><!> <!></div>'), X = e.from_html('<!> <!> <!> <!> <!> <div class="flex justify-between pt-2 border-t border-default"><!> <!></div>', 1), Z = e.from_html('<div class="space-y-2"><!> <!></div>');
227
+ function de(r, t) {
229
228
  e.push(t, !0);
230
- let o = e.prop(t, "labels", 19, () => ({})), f = e.prop(t, "mode", 3, "full");
231
- var p = Z(), b = e.child(p);
229
+ let a = e.prop(t, "labels", 19, () => ({})), f = e.prop(t, "mode", 3, "full");
230
+ var p = Z(), T = e.child(p);
232
231
  {
233
232
  var k = (g) => {
234
- var C = e.comment(), E = e.first_child(C);
233
+ var P = e.comment(), E = e.first_child(P);
235
234
  e.each(E, 17, () => t.orderTotals.lines, (v) => v.ticketId, (v, u) => {
236
- var i = q(), T = e.child(i);
237
- m(T, {
235
+ var i = q(), y = e.child(i);
236
+ m(y, {
238
237
  size: "sm",
239
- children: (h, P) => {
238
+ children: (b, x) => {
240
239
  e.next();
241
- var x = e.text();
242
- e.template_effect(() => e.set_text(x, `${e.get(u).quantity ?? ""}x ${e.get(u).ticketName ?? ""}`)), e.append(h, x);
240
+ var h = e.text();
241
+ e.template_effect(() => e.set_text(h, `${e.get(u).quantity ?? ""}x ${e.get(u).ticketName ?? ""}`)), e.append(b, h);
243
242
  },
244
243
  $$slots: { default: !0 }
245
244
  });
246
- var A = e.sibling(T, 2);
245
+ var A = e.sibling(y, 2);
247
246
  m(A, {
248
247
  size: "sm",
249
- children: (h, P) => {
248
+ children: (b, x) => {
250
249
  e.next();
251
- var x = e.text();
252
- e.template_effect(($) => e.set_text(x, $), [
253
- () => e.get(u).isDonation ? D(e.get(u).subtotal) : L(e.get(u).subtotal, o())
254
- ]), e.append(h, x);
250
+ var h = e.text();
251
+ e.template_effect(($) => e.set_text(h, $), [
252
+ () => e.get(u).isDonation ? D(e.get(u).subtotal) : V(e.get(u).subtotal, a())
253
+ ]), e.append(b, h);
255
254
  },
256
255
  $$slots: { default: !0 }
257
256
  }), e.reset(i), e.append(v, i);
258
- }), e.append(g, C);
257
+ }), e.append(g, P);
259
258
  };
260
- e.if(b, (g) => {
259
+ e.if(T, (g) => {
261
260
  f() !== "totals" && g(k);
262
261
  });
263
262
  }
264
- var a = e.sibling(b, 2);
263
+ var o = e.sibling(T, 2);
265
264
  {
266
265
  var S = (g) => {
267
- var C = X(), E = e.first_child(C);
266
+ var P = X(), E = e.first_child(P);
268
267
  {
269
268
  var v = (n) => {
270
- var l = J(), d = e.child(l);
269
+ var l = K(), d = e.child(l);
271
270
  m(d, {
272
271
  size: "sm",
273
272
  color: "muted",
274
- children: (c, y) => {
273
+ children: (c, w) => {
275
274
  e.next();
276
275
  var s = e.text();
277
- e.template_effect(() => e.set_text(s, o().subtotal || "Subtotal")), e.append(c, s);
276
+ e.template_effect(() => e.set_text(s, a().subtotal || "Subtotal")), e.append(c, s);
278
277
  },
279
278
  $$slots: { default: !0 }
280
279
  });
@@ -282,10 +281,10 @@ function ce(r, t) {
282
281
  m(_, {
283
282
  size: "sm",
284
283
  color: "muted",
285
- children: (c, y) => {
284
+ children: (c, w) => {
286
285
  e.next();
287
286
  var s = e.text();
288
- e.template_effect((w) => e.set_text(s, w), [() => D(t.orderTotals.subtotal)]), e.append(c, s);
287
+ e.template_effect((C) => e.set_text(s, C), [() => D(t.orderTotals.subtotal)]), e.append(c, s);
289
288
  },
290
289
  $$slots: { default: !0 }
291
290
  }), e.reset(l), e.append(n, l);
@@ -294,10 +293,10 @@ function ce(r, t) {
294
293
  m(d, {
295
294
  size: "sm",
296
295
  color: "muted",
297
- children: (c, y) => {
296
+ children: (c, w) => {
298
297
  e.next();
299
298
  var s = e.text();
300
- e.template_effect(() => e.set_text(s, o().subtotal || "Subtotal")), e.append(c, s);
299
+ e.template_effect(() => e.set_text(s, a().subtotal || "Subtotal")), e.append(c, s);
301
300
  },
302
301
  $$slots: { default: !0 }
303
302
  });
@@ -305,10 +304,10 @@ function ce(r, t) {
305
304
  m(_, {
306
305
  size: "sm",
307
306
  color: "muted",
308
- children: (c, y) => {
307
+ children: (c, w) => {
309
308
  e.next();
310
309
  var s = e.text();
311
- e.template_effect((w) => e.set_text(s, w), [() => D(t.orderTotals.subtotal)]), e.append(c, s);
310
+ e.template_effect((C) => e.set_text(s, C), [() => D(t.orderTotals.subtotal)]), e.append(c, s);
312
311
  },
313
312
  $$slots: { default: !0 }
314
313
  }), e.reset(l), e.append(n, l);
@@ -319,15 +318,15 @@ function ce(r, t) {
319
318
  }
320
319
  var i = e.sibling(E, 2);
321
320
  {
322
- var T = (n) => {
321
+ var y = (n) => {
323
322
  var l = q(), d = e.child(l);
324
323
  m(d, {
325
324
  size: "sm",
326
325
  color: "muted",
327
- children: (c, y) => {
326
+ children: (c, w) => {
328
327
  e.next();
329
328
  var s = e.text();
330
- e.template_effect(() => e.set_text(s, o().serviceFees || "Service fees")), e.append(c, s);
329
+ e.template_effect(() => e.set_text(s, a().serviceFees || "Service fees")), e.append(c, s);
331
330
  },
332
331
  $$slots: { default: !0 }
333
332
  });
@@ -335,29 +334,29 @@ function ce(r, t) {
335
334
  m(_, {
336
335
  size: "sm",
337
336
  color: "muted",
338
- children: (c, y) => {
337
+ children: (c, w) => {
339
338
  e.next();
340
339
  var s = e.text();
341
- e.template_effect((w) => e.set_text(s, w), [() => D(t.orderTotals.fees)]), e.append(c, s);
340
+ e.template_effect((C) => e.set_text(s, C), [() => D(t.orderTotals.fees)]), e.append(c, s);
342
341
  },
343
342
  $$slots: { default: !0 }
344
343
  }), e.reset(l), e.append(n, l);
345
344
  };
346
345
  e.if(i, (n) => {
347
- t.orderTotals.fees > 0 && n(T);
346
+ t.orderTotals.fees > 0 && n(y);
348
347
  });
349
348
  }
350
349
  var A = e.sibling(i, 2);
351
350
  {
352
- var h = (n) => {
351
+ var b = (n) => {
353
352
  var l = q(), d = e.child(l);
354
353
  m(d, {
355
354
  size: "sm",
356
355
  color: "muted",
357
- children: (c, y) => {
356
+ children: (c, w) => {
358
357
  e.next();
359
358
  var s = e.text();
360
- e.template_effect(() => e.set_text(s, o().taxes || "Taxes")), e.append(c, s);
359
+ e.template_effect(() => e.set_text(s, a().taxes || "Taxes")), e.append(c, s);
361
360
  },
362
361
  $$slots: { default: !0 }
363
362
  });
@@ -365,29 +364,29 @@ function ce(r, t) {
365
364
  m(_, {
366
365
  size: "sm",
367
366
  color: "muted",
368
- children: (c, y) => {
367
+ children: (c, w) => {
369
368
  e.next();
370
369
  var s = e.text();
371
- e.template_effect((w) => e.set_text(s, w), [() => D(t.orderTotals.taxes)]), e.append(c, s);
370
+ e.template_effect((C) => e.set_text(s, C), [() => D(t.orderTotals.taxes)]), e.append(c, s);
372
371
  },
373
372
  $$slots: { default: !0 }
374
373
  }), e.reset(l), e.append(n, l);
375
374
  };
376
375
  e.if(A, (n) => {
377
- t.orderTotals.taxes > 0 && n(h);
376
+ t.orderTotals.taxes > 0 && n(b);
378
377
  });
379
378
  }
380
- var P = e.sibling(A, 2);
379
+ var x = e.sibling(A, 2);
381
380
  {
382
- var x = (n) => {
381
+ var h = (n) => {
383
382
  var l = q(), d = e.child(l);
384
383
  m(d, {
385
384
  size: "sm",
386
385
  color: "success",
387
- children: (c, y) => {
386
+ children: (c, w) => {
388
387
  e.next();
389
388
  var s = e.text();
390
- e.template_effect(() => e.set_text(s, o().promoDiscount || "Promo discount")), e.append(c, s);
389
+ e.template_effect(() => e.set_text(s, a().promoDiscount || "Promo discount")), e.append(c, s);
391
390
  },
392
391
  $$slots: { default: !0 }
393
392
  });
@@ -395,29 +394,29 @@ function ce(r, t) {
395
394
  m(_, {
396
395
  size: "sm",
397
396
  color: "success",
398
- children: (c, y) => {
397
+ children: (c, w) => {
399
398
  e.next();
400
399
  var s = e.text();
401
- e.template_effect((w) => e.set_text(s, `-${w ?? ""}`), [() => D(t.orderTotals.promoDiscount)]), e.append(c, s);
400
+ e.template_effect((C) => e.set_text(s, `-${C ?? ""}`), [() => D(t.orderTotals.promoDiscount)]), e.append(c, s);
402
401
  },
403
402
  $$slots: { default: !0 }
404
403
  }), e.reset(l), e.append(n, l);
405
404
  };
406
- e.if(P, (n) => {
407
- t.orderTotals.promoDiscount > 0 && n(x);
405
+ e.if(x, (n) => {
406
+ t.orderTotals.promoDiscount > 0 && n(h);
408
407
  });
409
408
  }
410
- var $ = e.sibling(P, 2);
409
+ var $ = e.sibling(x, 2);
411
410
  {
412
- var H = (n) => {
411
+ var z = (n) => {
413
412
  var l = q(), d = e.child(l);
414
413
  m(d, {
415
414
  size: "sm",
416
415
  color: "success",
417
- children: (c, y) => {
416
+ children: (c, w) => {
418
417
  e.next();
419
418
  var s = e.text();
420
- e.template_effect(() => e.set_text(s, o().giftCard || "Gift card")), e.append(c, s);
419
+ e.template_effect(() => e.set_text(s, a().giftCard || "Gift card")), e.append(c, s);
421
420
  },
422
421
  $$slots: { default: !0 }
423
422
  });
@@ -425,31 +424,31 @@ function ce(r, t) {
425
424
  m(_, {
426
425
  size: "sm",
427
426
  color: "success",
428
- children: (c, y) => {
427
+ children: (c, w) => {
429
428
  e.next();
430
429
  var s = e.text();
431
- e.template_effect((w) => e.set_text(s, `-${w ?? ""}`), [() => D(t.orderTotals.giftCardAmount)]), e.append(c, s);
430
+ e.template_effect((C) => e.set_text(s, `-${C ?? ""}`), [() => D(t.orderTotals.giftCardAmount)]), e.append(c, s);
432
431
  },
433
432
  $$slots: { default: !0 }
434
433
  }), e.reset(l), e.append(n, l);
435
434
  };
436
435
  e.if($, (n) => {
437
- t.orderTotals.giftCardAmount > 0 && n(H);
436
+ t.orderTotals.giftCardAmount > 0 && n(z);
438
437
  });
439
438
  }
440
- var R = e.sibling($, 2), z = e.child(R);
441
- m(z, {
439
+ var R = e.sibling($, 2), M = e.child(R);
440
+ m(M, {
442
441
  size: "base",
443
442
  weight: "semibold",
444
443
  children: (n, l) => {
445
444
  e.next();
446
445
  var d = e.text();
447
- e.template_effect(() => e.set_text(d, o().total || "Total")), e.append(n, d);
446
+ e.template_effect(() => e.set_text(d, a().total || "Total")), e.append(n, d);
448
447
  },
449
448
  $$slots: { default: !0 }
450
449
  });
451
- var V = e.sibling(z, 2);
452
- m(V, {
450
+ var F = e.sibling(M, 2);
451
+ m(F, {
453
452
  size: "base",
454
453
  weight: "semibold",
455
454
  children: (n, l) => {
@@ -458,15 +457,15 @@ function ce(r, t) {
458
457
  e.template_effect((_) => e.set_text(d, _), [() => D(t.orderTotals.total)]), e.append(n, d);
459
458
  },
460
459
  $$slots: { default: !0 }
461
- }), e.reset(R), e.append(g, C);
460
+ }), e.reset(R), e.append(g, P);
462
461
  };
463
- e.if(a, (g) => {
462
+ e.if(o, (g) => {
464
463
  f() !== "lines" && g(S);
465
464
  });
466
465
  }
467
- e.reset(p), e.template_effect(() => e.set_style(p, `transition-duration: ${K.normal}ms;`)), e.append(r, p), e.pop();
466
+ e.reset(p), e.template_effect(() => e.set_style(p, `transition-duration: ${B.normal}ms;`)), e.append(r, p), e.pop();
468
467
  }
469
- const Q = {
468
+ const J = {
470
469
  // ── Ticket quantity controls ──────────────────────────────────────
471
470
  decrease: "Decrease",
472
471
  increase: "Increase",
@@ -622,19 +621,19 @@ const Q = {
622
621
  // ── MobileCta ─────────────────────────────────────────────────────
623
622
  selectTicketsLabel: "Select Tickets"
624
623
  };
625
- function ue(r = {}) {
626
- return { ...Q, ...r };
624
+ function ce(r = {}) {
625
+ return { ...J, ...r };
627
626
  }
628
627
  export {
629
- re as C,
630
- K as D,
631
- ce as O,
632
- oe as a,
633
- ie as b,
634
- le as c,
635
- ne as d,
636
- de as e,
637
- ae as g,
638
- ue as m
628
+ se as C,
629
+ B as D,
630
+ de as O,
631
+ ae as a,
632
+ oe as b,
633
+ ne as c,
634
+ ie as d,
635
+ le as e,
636
+ re as g,
637
+ ce as m
639
638
  };
640
- //# sourceMappingURL=labels-CnpAWtkz.js.map
639
+ //# sourceMappingURL=labels-_x9WkVuZ.js.map