@getmicdrop/venue-calendar 4.0.17 → 4.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AirbnbSplitMain-Wz79VNen.js +2251 -0
- package/dist/AirbnbSplitMain-Wz79VNen.js.map +1 -0
- package/dist/{CarouselView.legacy-C0cRJS-3.js → CarouselView.legacy-DLQhvBNY.js} +3 -3
- package/dist/CarouselView.legacy-DLQhvBNY.js.map +1 -0
- package/dist/CartView-PJvVTSos.js +1698 -0
- package/dist/CartView-PJvVTSos.js.map +1 -0
- package/dist/{Checkout-5WyBsOUz.js → Checkout-BZOTf4nF.js} +128 -125
- package/dist/Checkout-BZOTf4nF.js.map +1 -0
- package/dist/{Checkout.legacy-x2UOIEi6.js → Checkout.legacy-CwrYTqT2.js} +196 -196
- package/dist/Checkout.legacy-CwrYTqT2.js.map +1 -0
- package/dist/{CheckoutMain-DbwF9DJU.js → CheckoutMain-o0AFbrSA.js} +499 -499
- package/dist/CheckoutMain-o0AFbrSA.js.map +1 -0
- package/dist/{CheckoutTimer-lq9B5TfI.js → CheckoutTimer-BTxuvxKM.js} +2 -2
- package/dist/{CheckoutTimer-lq9B5TfI.js.map → CheckoutTimer-BTxuvxKM.js.map} +1 -1
- package/dist/{CollectionView-DMp_ShDZ.js → CollectionView-J9OmVdPH.js} +22 -22
- package/dist/{CollectionView-DMp_ShDZ.js.map → CollectionView-J9OmVdPH.js.map} +1 -1
- package/dist/{CollectionView.legacy-iqREDeXb.js → CollectionView.legacy-Dm1-Myj3.js} +53 -53
- package/dist/{CollectionView.legacy-iqREDeXb.js.map → CollectionView.legacy-Dm1-Myj3.js.map} +1 -1
- package/dist/{EventDetailsView-Bt4ekqYp.js → EventDetailsView-DumsB2_T.js} +2 -2
- package/dist/{EventDetailsView-Bt4ekqYp.js.map → EventDetailsView-DumsB2_T.js.map} +1 -1
- package/dist/{FeaturedView.legacy-DN2Abh2g.js → FeaturedView.legacy-CpCOAi81.js} +32 -32
- package/dist/{FeaturedView.legacy-DN2Abh2g.js.map → FeaturedView.legacy-CpCOAi81.js.map} +1 -1
- package/dist/{GalleryCard-DCxMRHdL.js → GalleryCard-ClOMciuA.js} +18 -18
- package/dist/{GalleryCard-DCxMRHdL.js.map → GalleryCard-ClOMciuA.js.map} +1 -1
- package/dist/{GalleryView.legacy-fF5jz57f.js → GalleryView.legacy-BBkCpmF1.js} +9 -9
- package/dist/{GalleryView.legacy-fF5jz57f.js.map → GalleryView.legacy-BBkCpmF1.js.map} +1 -1
- package/dist/{GroupedListView.legacy-oU5NjDaG.js → GroupedListView.legacy-ch0yYGJD.js} +20 -20
- package/dist/{GroupedListView.legacy-oU5NjDaG.js.map → GroupedListView.legacy-ch0yYGJD.js.map} +1 -1
- package/dist/Heading-AFd3o0xt.js.map +1 -1
- package/dist/{SeriesPage-DQftH9yI.js → SeriesPage-Picw22FM.js} +5 -5
- package/dist/{SeriesPage-DQftH9yI.js.map → SeriesPage-Picw22FM.js.map} +1 -1
- package/dist/{SeriesPage.legacy-DyZXSsXv.js → SeriesPage.legacy-CnVhVfLT.js} +44 -44
- package/dist/{SeriesPage.legacy-DyZXSsXv.js.map → SeriesPage.legacy-CnVhVfLT.js.map} +1 -1
- package/dist/{Success-BkrSlcZJ.js → Success-ZS8yIPoc.js} +122 -120
- package/dist/Success-ZS8yIPoc.js.map +1 -0
- package/dist/{Success.legacy-6_EgTF8T.js → Success.legacy-CBtg-aS-.js} +25 -25
- package/dist/{Success.legacy-6_EgTF8T.js.map → Success.legacy-CBtg-aS-.js.map} +1 -1
- package/dist/Text-CXR2fhx6.js.map +1 -1
- package/dist/{VenueCalendar-BjvqDumC.js → VenueCalendar-D-i3taSj.js} +6522 -6062
- package/dist/VenueCalendar-D-i3taSj.js.map +1 -0
- package/dist/{ViewTicketsEmbed-uzMst6xe.js → ViewTicketsEmbed-CSAwEkBy.js} +97 -97
- package/dist/{ViewTicketsEmbed-uzMst6xe.js.map → ViewTicketsEmbed-CSAwEkBy.js.map} +1 -1
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.cjs.map +1 -1
- package/dist/api/api.mjs +622 -563
- package/dist/api/api.mjs.map +1 -1
- package/dist/api/cta.d.ts +5 -1
- package/dist/api/gift-cards.d.ts +0 -5
- package/dist/api/index.d.ts +3 -2
- package/dist/api/orders.d.ts +30 -0
- package/dist/api/types.d.ts +10 -1
- package/dist/{labels-CNpTKuG-.js → labels-s8pbx3tn.js} +435 -282
- package/dist/labels-s8pbx3tn.js.map +1 -0
- package/dist/{transform-CujsjTyt.js → transform-CyWcWnyR.js} +111 -75
- package/dist/transform-CyWcWnyR.js.map +1 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +25 -25
- package/dist/venue-calendar.iife.js +45 -45
- package/dist/venue-calendar.iife.js.map +1 -1
- package/dist/venue-calendar.umd.js +45 -45
- package/dist/venue-calendar.umd.js.map +1 -1
- package/package.json +163 -163
- package/dist/AirbnbSplitMain-CR7SsRG2.js +0 -2201
- package/dist/AirbnbSplitMain-CR7SsRG2.js.map +0 -1
- package/dist/CarouselView.legacy-C0cRJS-3.js.map +0 -1
- package/dist/CartView-DaYfGxiQ.js +0 -1708
- package/dist/CartView-DaYfGxiQ.js.map +0 -1
- package/dist/Checkout-5WyBsOUz.js.map +0 -1
- package/dist/Checkout.legacy-x2UOIEi6.js.map +0 -1
- package/dist/CheckoutMain-DbwF9DJU.js.map +0 -1
- package/dist/Success-BkrSlcZJ.js.map +0 -1
- package/dist/VenueCalendar-BjvqDumC.js.map +0 -1
- package/dist/labels-CNpTKuG-.js.map +0 -1
- package/dist/transform-CujsjTyt.js.map +0 -1
|
@@ -1,91 +1,129 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ak as A, v as E, w as F, f as _ } from "./VenueCalendar-D-i3taSj.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as e from "svelte/internal/client";
|
|
4
4
|
import "svelte/internal/flags/legacy";
|
|
5
5
|
import "svelte/transition";
|
|
6
6
|
import "svelte/easing";
|
|
7
|
-
import { T as
|
|
8
|
-
function
|
|
7
|
+
import { T as k } from "./Text-CXR2fhx6.js";
|
|
8
|
+
function I(t) {
|
|
9
|
+
if (!t || !(t.isHidden === !0 || typeof t.visibility == "number" && t.visibility >= 2) || t.salesChannel === 2) return !1;
|
|
10
|
+
const n = /* @__PURE__ */ new Date(), r = t.salesBegin || t.salesStart || t.saleBegin || t.onSaleStart, p = t.salesEnd || t.saleEnd || t.onSaleEnd;
|
|
11
|
+
if (r && new Date(r) > n || p && new Date(p) < n) return !1;
|
|
12
|
+
const h = t.remainingCapacity ?? t.quantityRemaining ?? t.quantity;
|
|
13
|
+
return !(t.soldOut || h != null && h <= 0);
|
|
14
|
+
}
|
|
15
|
+
function N(t, a, n = {}) {
|
|
9
16
|
const {
|
|
10
|
-
cancelled:
|
|
11
|
-
isRegistration:
|
|
12
|
-
waitlistEnabled:
|
|
13
|
-
} = n,
|
|
14
|
-
if (
|
|
17
|
+
cancelled: r = !1,
|
|
18
|
+
isRegistration: p = !1,
|
|
19
|
+
waitlistEnabled: h = !1
|
|
20
|
+
} = n, m = /* @__PURE__ */ new Date();
|
|
21
|
+
if (r)
|
|
15
22
|
return { text: "Cancelled", disabled: !0, reason: "cancelled" };
|
|
16
|
-
const
|
|
17
|
-
if (
|
|
23
|
+
const c = t.endDateTime || t.startDateTime;
|
|
24
|
+
if (c && new Date(c) < m)
|
|
18
25
|
return { text: "Sales ended", disabled: !0, reason: "event_past" };
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
const x = t?.hasPurchasableHiddenTickets === !0 || Array.isArray(a) && a.some(I), y = (a || []).filter(
|
|
27
|
+
(u) => u.salesChannel !== 2 && !u.isHidden && !(typeof u.visibility == "number" && u.visibility >= 2)
|
|
28
|
+
);
|
|
29
|
+
if (y.length === 0)
|
|
30
|
+
return x ? {
|
|
31
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
32
|
+
disabled: !1,
|
|
33
|
+
reason: "hidden_only"
|
|
34
|
+
} : {
|
|
22
35
|
text: "No tickets available",
|
|
23
36
|
disabled: !0,
|
|
24
37
|
reason: "no_tickets"
|
|
25
38
|
};
|
|
26
|
-
let
|
|
27
|
-
for (const
|
|
28
|
-
const
|
|
29
|
-
if (!
|
|
30
|
-
const
|
|
31
|
-
(!
|
|
39
|
+
let D = !1, P = !0, q = !0, b = null;
|
|
40
|
+
for (const u of y) {
|
|
41
|
+
const S = u.salesBegin || u.salesStart || u.saleBegin || u.onSaleStart, o = u.salesEnd || u.saleEnd || u.onSaleEnd, s = u.remainingCapacity ?? u.quantityRemaining ?? u.quantity, d = u.soldOut || s != null && s <= 0, g = S ? new Date(S) > m : !1, f = o ? new Date(o) < m : !1;
|
|
42
|
+
if (!d && !g && !f && (D = !0), d || (P = !1), g || (q = !1), g && S && !d && !f) {
|
|
43
|
+
const l = new Date(S);
|
|
44
|
+
(!b || l < b) && (b = l);
|
|
32
45
|
}
|
|
33
46
|
}
|
|
34
|
-
if (
|
|
47
|
+
if (D)
|
|
35
48
|
return {
|
|
36
|
-
text:
|
|
49
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
37
50
|
disabled: !1,
|
|
38
51
|
reason: "available"
|
|
39
52
|
};
|
|
40
|
-
if (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
53
|
+
if (q && b) {
|
|
54
|
+
if (x)
|
|
55
|
+
return {
|
|
56
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
57
|
+
disabled: !1,
|
|
58
|
+
reason: "hidden_only"
|
|
59
|
+
};
|
|
60
|
+
const u = b.getTime() - m.getTime(), S = u / (1e3 * 60 * 60), o = u / (1e3 * 60 * 60 * 24);
|
|
61
|
+
let s;
|
|
62
|
+
if (S < 24)
|
|
63
|
+
s = b.toLocaleTimeString("en-US", {
|
|
45
64
|
hour: "numeric",
|
|
46
65
|
minute: "2-digit",
|
|
47
66
|
hour12: !0
|
|
48
67
|
});
|
|
49
|
-
else if (
|
|
50
|
-
|
|
51
|
-
|
|
68
|
+
else if (o <= 7)
|
|
69
|
+
s = A(
|
|
70
|
+
b,
|
|
52
71
|
{ weekday: "short", hour: "numeric", minute: "2-digit", hour12: !0 },
|
|
53
72
|
"en-US"
|
|
54
73
|
);
|
|
55
74
|
else {
|
|
56
|
-
const
|
|
57
|
-
|
|
75
|
+
const d = A(
|
|
76
|
+
b,
|
|
58
77
|
{ month: "short", day: "numeric" },
|
|
59
78
|
"en-US"
|
|
60
|
-
),
|
|
79
|
+
), g = b.toLocaleTimeString("en-US", {
|
|
61
80
|
hour: "numeric",
|
|
62
81
|
minute: "2-digit",
|
|
63
82
|
hour12: !0
|
|
64
83
|
});
|
|
65
|
-
|
|
84
|
+
s = `${d} ${g}`;
|
|
66
85
|
}
|
|
67
86
|
return {
|
|
68
|
-
text: `On sale ${
|
|
87
|
+
text: `On sale ${s}`,
|
|
69
88
|
disabled: !0,
|
|
70
89
|
reason: "coming_soon"
|
|
71
90
|
};
|
|
72
91
|
}
|
|
73
|
-
return
|
|
92
|
+
return P ? x ? {
|
|
93
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
94
|
+
disabled: !1,
|
|
95
|
+
reason: "hidden_only"
|
|
96
|
+
} : h ? {
|
|
74
97
|
text: "Join Waitlist",
|
|
75
98
|
disabled: !1,
|
|
76
99
|
reason: "sold_out_waitlist"
|
|
77
|
-
} : { text: "Sold out", disabled: !0, reason: "sold_out" } :
|
|
100
|
+
} : { text: "Sold out", disabled: !0, reason: "sold_out" } : x ? {
|
|
101
|
+
text: p ? "Reserve a spot" : "Get tickets",
|
|
102
|
+
disabled: !1,
|
|
103
|
+
reason: "hidden_only"
|
|
104
|
+
} : { text: "Sales ended", disabled: !0, reason: "sales_ended" };
|
|
78
105
|
}
|
|
79
|
-
|
|
106
|
+
function i(t, a, n = 0) {
|
|
107
|
+
const r = /* @__PURE__ */ new Date(), h = (5 - r.getUTCDay() + 7) % 7 || 7, m = new Date(
|
|
108
|
+
Date.UTC(r.getUTCFullYear(), r.getUTCMonth(), r.getUTCDate())
|
|
109
|
+
);
|
|
110
|
+
m.setUTCDate(m.getUTCDate() + h + t);
|
|
111
|
+
const c = m.getUTCFullYear(), x = String(m.getUTCMonth() + 1).padStart(2, "0"), y = String(m.getUTCDate()).padStart(2, "0"), D = String(a).padStart(2, "0"), P = String(n).padStart(2, "0");
|
|
112
|
+
return `${c}-${x}-${y}T${D}:${P}:00-08:00`;
|
|
113
|
+
}
|
|
114
|
+
function C(t) {
|
|
115
|
+
return i(t, 0).slice(0, 10);
|
|
116
|
+
}
|
|
117
|
+
const U = {
|
|
80
118
|
id: 101,
|
|
81
119
|
name: "The Laugh Factory",
|
|
82
120
|
address: "8001 Sunset Blvd, Los Angeles, CA 90046",
|
|
83
|
-
timezone:
|
|
121
|
+
timezone: E(),
|
|
84
122
|
serviceFeePercentage: 10,
|
|
85
123
|
serviceFeeCents: 0,
|
|
86
124
|
taxPercentage: 9.5,
|
|
87
125
|
contactEmail: "help@thelaughfactory.com"
|
|
88
|
-
},
|
|
126
|
+
}, R = [
|
|
89
127
|
{
|
|
90
128
|
id: 1,
|
|
91
129
|
displayName: "Dave Martinez",
|
|
@@ -101,7 +139,7 @@ const F = {
|
|
|
101
139
|
displayName: "Mike Thompson",
|
|
102
140
|
profileImage: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&h=200&fit=crop"
|
|
103
141
|
}
|
|
104
|
-
],
|
|
142
|
+
], M = [
|
|
105
143
|
{
|
|
106
144
|
question: "What time do doors open?",
|
|
107
145
|
answer: "Doors open at 7:00 PM, one hour before showtime. We recommend arriving early to get the best seats."
|
|
@@ -118,7 +156,7 @@ const F = {
|
|
|
118
156
|
question: "Is the venue accessible?",
|
|
119
157
|
answer: "Yes, the venue is fully wheelchair accessible with ADA-compliant seating available. Please contact us to reserve accessible seating."
|
|
120
158
|
}
|
|
121
|
-
],
|
|
159
|
+
], H = [
|
|
122
160
|
{
|
|
123
161
|
id: 101,
|
|
124
162
|
name: "General Admission",
|
|
@@ -130,7 +168,7 @@ const F = {
|
|
|
130
168
|
minPerOrder: 1,
|
|
131
169
|
maxPerOrder: 8,
|
|
132
170
|
status: "on_sale",
|
|
133
|
-
salesEndDate:
|
|
171
|
+
salesEndDate: i(0, 20),
|
|
134
172
|
isDonation: !1,
|
|
135
173
|
isHidden: !1
|
|
136
174
|
},
|
|
@@ -145,7 +183,7 @@ const F = {
|
|
|
145
183
|
minPerOrder: 1,
|
|
146
184
|
maxPerOrder: 4,
|
|
147
185
|
status: "on_sale",
|
|
148
|
-
salesEndDate:
|
|
186
|
+
salesEndDate: i(0, 20),
|
|
149
187
|
isDonation: !1,
|
|
150
188
|
isHidden: !1
|
|
151
189
|
},
|
|
@@ -190,8 +228,78 @@ const F = {
|
|
|
190
228
|
status: "sold_out",
|
|
191
229
|
isDonation: !1,
|
|
192
230
|
isHidden: !1
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
id: 106,
|
|
234
|
+
name: "Senior (65+)",
|
|
235
|
+
description: "Senior discount with valid ID at the door",
|
|
236
|
+
price: 18,
|
|
237
|
+
fee: 1.8,
|
|
238
|
+
quantityAvailable: 30,
|
|
239
|
+
quantityTotal: 40,
|
|
240
|
+
minPerOrder: 1,
|
|
241
|
+
maxPerOrder: 4,
|
|
242
|
+
status: "on_sale",
|
|
243
|
+
isDonation: !1,
|
|
244
|
+
isHidden: !1
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: 107,
|
|
248
|
+
name: "Industry Comp",
|
|
249
|
+
description: "Discount for industry professionals — credentials required",
|
|
250
|
+
price: 12,
|
|
251
|
+
fee: 1.2,
|
|
252
|
+
quantityAvailable: 25,
|
|
253
|
+
quantityTotal: 30,
|
|
254
|
+
minPerOrder: 1,
|
|
255
|
+
maxPerOrder: 2,
|
|
256
|
+
status: "on_sale",
|
|
257
|
+
isDonation: !1,
|
|
258
|
+
isHidden: !1
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
id: 108,
|
|
262
|
+
name: "Group of 6",
|
|
263
|
+
description: "Reserved booth for six guests with priority seating",
|
|
264
|
+
price: 240,
|
|
265
|
+
fee: 24,
|
|
266
|
+
quantityAvailable: 5,
|
|
267
|
+
quantityTotal: 8,
|
|
268
|
+
minPerOrder: 1,
|
|
269
|
+
maxPerOrder: 2,
|
|
270
|
+
status: "on_sale",
|
|
271
|
+
isDonation: !1,
|
|
272
|
+
isHidden: !1
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
id: 109,
|
|
276
|
+
name: "Standing Room",
|
|
277
|
+
description: "Standing room only at the back of the venue",
|
|
278
|
+
price: 12,
|
|
279
|
+
fee: 1.2,
|
|
280
|
+
quantityAvailable: 50,
|
|
281
|
+
quantityTotal: 60,
|
|
282
|
+
minPerOrder: 1,
|
|
283
|
+
maxPerOrder: 6,
|
|
284
|
+
status: "on_sale",
|
|
285
|
+
isDonation: !1,
|
|
286
|
+
isHidden: !1
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
id: 110,
|
|
290
|
+
name: "Day-of Door",
|
|
291
|
+
description: "Day-of pricing for walk-ins — limited availability",
|
|
292
|
+
price: 35,
|
|
293
|
+
fee: 3.5,
|
|
294
|
+
quantityAvailable: 20,
|
|
295
|
+
quantityTotal: 25,
|
|
296
|
+
minPerOrder: 1,
|
|
297
|
+
maxPerOrder: 4,
|
|
298
|
+
status: "on_sale",
|
|
299
|
+
isDonation: !1,
|
|
300
|
+
isHidden: !1
|
|
193
301
|
}
|
|
194
|
-
],
|
|
302
|
+
], v = {
|
|
195
303
|
id: 2405,
|
|
196
304
|
title: "Friday Night Comedy Throwdown",
|
|
197
305
|
slug: "friday-night-comedy-throwdown",
|
|
@@ -200,17 +308,17 @@ const F = {
|
|
|
200
308
|
Headliner Dave Martinez (as seen on Netflix's "Comedy Knockout") brings his signature high-energy style, while Sarah Chen delivers her razor-sharp observational humor that's earned her a devoted following. Host Mike Thompson keeps the energy up between sets with crowd work that'll have you crying laughing.
|
|
201
309
|
|
|
202
310
|
Whether you're a comedy regular or a first-timer, this show delivers. Grab your crew, grab some drinks, and prepare to laugh until your abs hurt.`,
|
|
203
|
-
date:
|
|
204
|
-
startDateTime:
|
|
205
|
-
endDateTime:
|
|
206
|
-
doorsOpenTime:
|
|
207
|
-
timezone:
|
|
311
|
+
date: C(0),
|
|
312
|
+
startDateTime: i(0, 20),
|
|
313
|
+
endDateTime: i(0, 22),
|
|
314
|
+
doorsOpenTime: i(0, 19),
|
|
315
|
+
timezone: E(),
|
|
208
316
|
imageUrl: "/posters/Friday Night Showdown.jpg",
|
|
209
317
|
// wide landscape 800×400
|
|
210
|
-
venue:
|
|
211
|
-
performers:
|
|
212
|
-
tickets:
|
|
213
|
-
faqs:
|
|
318
|
+
venue: U,
|
|
319
|
+
performers: R,
|
|
320
|
+
tickets: H,
|
|
321
|
+
faqs: M,
|
|
214
322
|
disclaimer: "",
|
|
215
323
|
status: "on_sale",
|
|
216
324
|
isPasswordProtected: !1,
|
|
@@ -220,30 +328,34 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
220
328
|
displayStartTime: !0,
|
|
221
329
|
displayEndTime: !0,
|
|
222
330
|
displayDoorsTime: !0
|
|
223
|
-
},
|
|
224
|
-
...
|
|
331
|
+
}, te = {
|
|
332
|
+
...v,
|
|
225
333
|
id: 2406,
|
|
226
334
|
title: "Saturday Night Special",
|
|
227
335
|
slug: "saturday-night-special",
|
|
228
336
|
imageUrl: "/posters/the-duel-square.webp",
|
|
229
337
|
// square 3000×3000
|
|
230
|
-
date:
|
|
231
|
-
startDateTime:
|
|
232
|
-
endDateTime:
|
|
338
|
+
date: C(1),
|
|
339
|
+
startDateTime: i(1, 21),
|
|
340
|
+
endDateTime: i(1, 23),
|
|
233
341
|
displayEndTime: !1,
|
|
234
342
|
status: "sold_out",
|
|
235
343
|
totalTicketsRemaining: 0,
|
|
236
|
-
tickets:
|
|
237
|
-
|
|
238
|
-
|
|
344
|
+
tickets: H.map((t) => ({
|
|
345
|
+
...t,
|
|
346
|
+
quantityAvailable: 0,
|
|
347
|
+
status: "sold_out"
|
|
348
|
+
}))
|
|
349
|
+
}, ae = {
|
|
350
|
+
...v,
|
|
239
351
|
id: 2407,
|
|
240
352
|
title: "Open Mic Night",
|
|
241
353
|
slug: "open-mic-night",
|
|
242
354
|
imageUrl: "/posters/OpenMic-Twitter.jpg",
|
|
243
355
|
// wide landscape 2127×1075
|
|
244
|
-
date:
|
|
245
|
-
startDateTime:
|
|
246
|
-
endDateTime:
|
|
356
|
+
date: C(-2),
|
|
357
|
+
startDateTime: i(-2, 19),
|
|
358
|
+
endDateTime: i(-2, 21),
|
|
247
359
|
displayDoorsTime: !1,
|
|
248
360
|
description: "Free open mic night! Sign up at the door. All skill levels welcome.",
|
|
249
361
|
status: "on_sale",
|
|
@@ -265,8 +377,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
265
377
|
],
|
|
266
378
|
totalTicketsRemaining: 40,
|
|
267
379
|
totalTicketsCapacity: 50
|
|
268
|
-
},
|
|
269
|
-
...
|
|
380
|
+
}, ie = {
|
|
381
|
+
...v,
|
|
270
382
|
id: 2410,
|
|
271
383
|
title: "Improv Throwdown",
|
|
272
384
|
slug: "improv-throwdown",
|
|
@@ -279,8 +391,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
279
391
|
{
|
|
280
392
|
id: 2410,
|
|
281
393
|
slug: "improv-throwdown-feb-20-7pm",
|
|
282
|
-
startDateTime:
|
|
283
|
-
endDateTime:
|
|
394
|
+
startDateTime: i(0, 19),
|
|
395
|
+
endDateTime: i(0, 20, 30),
|
|
284
396
|
status: "sold_out",
|
|
285
397
|
ctaText: "Sold out",
|
|
286
398
|
ctaDisabled: !0
|
|
@@ -288,8 +400,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
288
400
|
{
|
|
289
401
|
id: 2414,
|
|
290
402
|
slug: "improv-throwdown-feb-20-8pm",
|
|
291
|
-
startDateTime:
|
|
292
|
-
endDateTime:
|
|
403
|
+
startDateTime: i(0, 20),
|
|
404
|
+
endDateTime: i(0, 21, 30),
|
|
293
405
|
status: "on_sale",
|
|
294
406
|
ctaText: "Get tickets",
|
|
295
407
|
ctaDisabled: !1
|
|
@@ -297,8 +409,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
297
409
|
{
|
|
298
410
|
id: 2415,
|
|
299
411
|
slug: "improv-throwdown-feb-20-930pm",
|
|
300
|
-
startDateTime:
|
|
301
|
-
endDateTime:
|
|
412
|
+
startDateTime: i(0, 21, 30),
|
|
413
|
+
endDateTime: i(0, 23),
|
|
302
414
|
status: "on_sale",
|
|
303
415
|
ctaText: "Get tickets",
|
|
304
416
|
ctaDisabled: !1
|
|
@@ -307,8 +419,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
307
419
|
{
|
|
308
420
|
id: 2411,
|
|
309
421
|
slug: "improv-throwdown-feb-27",
|
|
310
|
-
startDateTime:
|
|
311
|
-
endDateTime:
|
|
422
|
+
startDateTime: i(7, 20),
|
|
423
|
+
endDateTime: i(7, 22),
|
|
312
424
|
status: "sold_out",
|
|
313
425
|
ctaText: "Sold out",
|
|
314
426
|
ctaDisabled: !0
|
|
@@ -316,8 +428,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
316
428
|
{
|
|
317
429
|
id: 2412,
|
|
318
430
|
slug: "improv-throwdown-mar-06",
|
|
319
|
-
startDateTime:
|
|
320
|
-
endDateTime:
|
|
431
|
+
startDateTime: i(14, 20),
|
|
432
|
+
endDateTime: i(14, 22),
|
|
321
433
|
status: "on_sale",
|
|
322
434
|
ctaText: "Get tickets",
|
|
323
435
|
ctaDisabled: !1
|
|
@@ -325,26 +437,26 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
325
437
|
{
|
|
326
438
|
id: 2413,
|
|
327
439
|
slug: "improv-throwdown-mar-13",
|
|
328
|
-
startDateTime:
|
|
329
|
-
endDateTime:
|
|
440
|
+
startDateTime: i(21, 20),
|
|
441
|
+
endDateTime: i(21, 22),
|
|
330
442
|
status: "coming_soon",
|
|
331
443
|
ctaText: "Coming soon",
|
|
332
444
|
ctaDisabled: !0
|
|
333
445
|
}
|
|
334
446
|
]
|
|
335
|
-
},
|
|
336
|
-
...
|
|
447
|
+
}, se = {
|
|
448
|
+
...v,
|
|
337
449
|
id: 2414,
|
|
338
450
|
title: "Improv Throwdown",
|
|
339
451
|
slug: "improv-throwdown-feb-20-8pm",
|
|
340
452
|
imageUrl: "/posters/laughlab-tall.webp",
|
|
341
453
|
eventSeriesId: 42,
|
|
342
|
-
startDateTime:
|
|
343
|
-
endDateTime:
|
|
454
|
+
startDateTime: i(0, 20),
|
|
455
|
+
endDateTime: i(0, 21, 30),
|
|
344
456
|
description: "Weekly improv comedy show featuring rotating guest performers and audience participation games."
|
|
345
457
|
// No seriesOccurrences — this is a single instance, not the series home
|
|
346
|
-
},
|
|
347
|
-
...
|
|
458
|
+
}, re = {
|
|
459
|
+
...v,
|
|
348
460
|
id: 3e3,
|
|
349
461
|
title: "February Comedy Festival",
|
|
350
462
|
slug: "february-comedy-festival",
|
|
@@ -357,7 +469,7 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
357
469
|
name: "Friday Night Comedy Throwdown",
|
|
358
470
|
slug: "friday-night-comedy-throwdown",
|
|
359
471
|
image: "/posters/Friday Night Showdown.jpg",
|
|
360
|
-
startDateTime:
|
|
472
|
+
startDateTime: i(0, 20),
|
|
361
473
|
status: "on_sale",
|
|
362
474
|
ticketsRemaining: 42,
|
|
363
475
|
ticketsTotal: 200
|
|
@@ -367,7 +479,7 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
367
479
|
name: "Saturday Night Special",
|
|
368
480
|
slug: "saturday-night-special",
|
|
369
481
|
image: "/posters/the-duel-square.webp",
|
|
370
|
-
startDateTime:
|
|
482
|
+
startDateTime: i(1, 21),
|
|
371
483
|
status: "on_sale",
|
|
372
484
|
ticketsRemaining: 8,
|
|
373
485
|
ticketsTotal: 150
|
|
@@ -377,7 +489,7 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
377
489
|
name: "Stand-Up Comedy Workshop",
|
|
378
490
|
slug: "standup-comedy-workshop",
|
|
379
491
|
image: "/posters/stand up 101.png",
|
|
380
|
-
startDateTime:
|
|
492
|
+
startDateTime: i(2, 14),
|
|
381
493
|
status: "on_sale",
|
|
382
494
|
ticketsRemaining: 15,
|
|
383
495
|
ticketsTotal: 30
|
|
@@ -387,7 +499,7 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
387
499
|
name: "Improv Throwdown",
|
|
388
500
|
slug: "improv-throwdown",
|
|
389
501
|
image: "/posters/laughlab-tall.webp",
|
|
390
|
-
startDateTime:
|
|
502
|
+
startDateTime: i(7, 20),
|
|
391
503
|
status: "on_sale",
|
|
392
504
|
ticketsRemaining: 65,
|
|
393
505
|
ticketsTotal: 200
|
|
@@ -397,7 +509,7 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
397
509
|
name: "Open Mic Night",
|
|
398
510
|
slug: "open-mic-night",
|
|
399
511
|
image: "/posters/OpenMic-Twitter.jpg",
|
|
400
|
-
startDateTime:
|
|
512
|
+
startDateTime: i(8, 19),
|
|
401
513
|
status: "on_sale",
|
|
402
514
|
ticketsRemaining: 100,
|
|
403
515
|
ticketsTotal: 100
|
|
@@ -407,14 +519,14 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
407
519
|
name: "Late Night Comedy Underground",
|
|
408
520
|
slug: "late-night-comedy-underground",
|
|
409
521
|
image: "/posters/standup-portrait.webp",
|
|
410
|
-
startDateTime:
|
|
522
|
+
startDateTime: i(8, 22),
|
|
411
523
|
status: "sold_out",
|
|
412
524
|
ticketsRemaining: 0,
|
|
413
525
|
ticketsTotal: 80
|
|
414
526
|
}
|
|
415
527
|
]
|
|
416
|
-
},
|
|
417
|
-
...
|
|
528
|
+
}, ne = {
|
|
529
|
+
...v,
|
|
418
530
|
id: 2408,
|
|
419
531
|
title: "Stand-Up Comedy Workshop",
|
|
420
532
|
slug: "standup-comedy-workshop",
|
|
@@ -443,8 +555,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
443
555
|
],
|
|
444
556
|
totalTicketsRemaining: 8,
|
|
445
557
|
totalTicketsCapacity: 12
|
|
446
|
-
},
|
|
447
|
-
...
|
|
558
|
+
}, oe = {
|
|
559
|
+
...v,
|
|
448
560
|
id: 2414,
|
|
449
561
|
title: "Charity Comedy Benefit",
|
|
450
562
|
slug: "charity-comedy-benefit",
|
|
@@ -484,8 +596,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
484
596
|
],
|
|
485
597
|
totalTicketsRemaining: 280,
|
|
486
598
|
totalTicketsCapacity: 300
|
|
487
|
-
},
|
|
488
|
-
...
|
|
599
|
+
}, le = {
|
|
600
|
+
...v,
|
|
489
601
|
id: 2415,
|
|
490
602
|
title: "The Everything Show",
|
|
491
603
|
slug: "the-everything-show",
|
|
@@ -559,7 +671,7 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
559
671
|
minPerOrder: 1,
|
|
560
672
|
maxPerOrder: 2,
|
|
561
673
|
status: "coming_soon",
|
|
562
|
-
salesStartDate:
|
|
674
|
+
salesStartDate: i(9, 10),
|
|
563
675
|
isDonation: !1,
|
|
564
676
|
isHidden: !1
|
|
565
677
|
},
|
|
@@ -574,7 +686,7 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
574
686
|
minPerOrder: 1,
|
|
575
687
|
maxPerOrder: 4,
|
|
576
688
|
status: "sales_ended",
|
|
577
|
-
salesEndDate:
|
|
689
|
+
salesEndDate: i(-10, 23, 59),
|
|
578
690
|
isDonation: !1,
|
|
579
691
|
isHidden: !1
|
|
580
692
|
},
|
|
@@ -624,8 +736,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
624
736
|
],
|
|
625
737
|
totalTicketsRemaining: 287,
|
|
626
738
|
totalTicketsCapacity: 485
|
|
627
|
-
},
|
|
628
|
-
...
|
|
739
|
+
}, de = {
|
|
740
|
+
...v,
|
|
629
741
|
id: 2416,
|
|
630
742
|
title: "Multi-Stage Festival",
|
|
631
743
|
slug: "multi-stage-festival",
|
|
@@ -711,8 +823,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
711
823
|
],
|
|
712
824
|
totalTicketsRemaining: 188,
|
|
713
825
|
totalTicketsCapacity: 368
|
|
714
|
-
},
|
|
715
|
-
...
|
|
826
|
+
}, ce = {
|
|
827
|
+
...v,
|
|
716
828
|
id: 2417,
|
|
717
829
|
title: "Secret Show",
|
|
718
830
|
slug: "secret-show",
|
|
@@ -778,8 +890,47 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
778
890
|
],
|
|
779
891
|
totalTicketsRemaining: 73,
|
|
780
892
|
totalTicketsCapacity: 110
|
|
781
|
-
},
|
|
782
|
-
...
|
|
893
|
+
}, ue = {
|
|
894
|
+
...v,
|
|
895
|
+
id: 2419,
|
|
896
|
+
title: "Industry Showcase",
|
|
897
|
+
slug: "industry-showcase",
|
|
898
|
+
description: "A private comedy showcase. Tickets are only available with a promo code.",
|
|
899
|
+
status: "on_sale",
|
|
900
|
+
tickets: [
|
|
901
|
+
{
|
|
902
|
+
id: 902,
|
|
903
|
+
name: "Industry Comp",
|
|
904
|
+
description: "Complimentary entry for industry professionals — promo code required",
|
|
905
|
+
price: 0,
|
|
906
|
+
fee: 0,
|
|
907
|
+
quantityAvailable: 15,
|
|
908
|
+
quantityTotal: 20,
|
|
909
|
+
minPerOrder: 1,
|
|
910
|
+
maxPerOrder: 2,
|
|
911
|
+
status: "on_sale",
|
|
912
|
+
isDonation: !1,
|
|
913
|
+
isHidden: !0
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
id: 903,
|
|
917
|
+
name: "Artist Hold",
|
|
918
|
+
description: "Held for artist guests — promo code required",
|
|
919
|
+
price: 50,
|
|
920
|
+
fee: 5,
|
|
921
|
+
quantityAvailable: 5,
|
|
922
|
+
quantityTotal: 10,
|
|
923
|
+
minPerOrder: 1,
|
|
924
|
+
maxPerOrder: 4,
|
|
925
|
+
status: "on_sale",
|
|
926
|
+
isDonation: !1,
|
|
927
|
+
isHidden: !0
|
|
928
|
+
}
|
|
929
|
+
],
|
|
930
|
+
totalTicketsRemaining: 0,
|
|
931
|
+
totalTicketsCapacity: 0
|
|
932
|
+
}, me = {
|
|
933
|
+
...v,
|
|
783
934
|
id: 2418,
|
|
784
935
|
title: "Late Night Comedy Underground",
|
|
785
936
|
slug: "late-night-comedy-underground",
|
|
@@ -820,8 +971,8 @@ Whether you're a comedy regular or a first-timer, this show delivers. Grab your
|
|
|
820
971
|
],
|
|
821
972
|
totalTicketsRemaining: 29,
|
|
822
973
|
totalTicketsCapacity: 46
|
|
823
|
-
},
|
|
824
|
-
...
|
|
974
|
+
}, pe = {
|
|
975
|
+
...v,
|
|
825
976
|
id: 2420,
|
|
826
977
|
title: "The Friday Night All-Star Comedy Throwdown featuring Dave Martinez, Sarah Chen, Mike Thompson, Bobby Lee, Andrew Santino, Hasan Minhaj, and Very Special Guests from Netflix, Comedy Central, HBO, and Amazon Prime",
|
|
827
978
|
slug: "the-friday-night-all-star-comedy-throwdown",
|
|
@@ -837,7 +988,7 @@ Two-drink minimum. No photography or recording. Arrive early — seating is firs
|
|
|
837
988
|
displayEndTime: !0,
|
|
838
989
|
displayDoorsTime: !0,
|
|
839
990
|
performers: [
|
|
840
|
-
...
|
|
991
|
+
...R,
|
|
841
992
|
{
|
|
842
993
|
id: 4,
|
|
843
994
|
displayName: "Bobby Lee",
|
|
@@ -854,8 +1005,8 @@ Two-drink minimum. No photography or recording. Arrive early — seating is firs
|
|
|
854
1005
|
profileImage: "https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=200&h=200&fit=crop"
|
|
855
1006
|
}
|
|
856
1007
|
]
|
|
857
|
-
},
|
|
858
|
-
...
|
|
1008
|
+
}, fe = {
|
|
1009
|
+
...v,
|
|
859
1010
|
id: 2421,
|
|
860
1011
|
title: "Sunset Sessions: Rooftop Jazz & Cocktails",
|
|
861
1012
|
slug: "sunset-sessions-rooftop-jazz",
|
|
@@ -868,9 +1019,9 @@ Full bar available with specialty cocktails curated for the evening. Light bites
|
|
|
868
1019
|
displayDoorsTime: !0
|
|
869
1020
|
};
|
|
870
1021
|
({
|
|
871
|
-
...
|
|
1022
|
+
...v
|
|
872
1023
|
});
|
|
873
|
-
const
|
|
1024
|
+
const O = {
|
|
874
1025
|
URGENT: 0.1,
|
|
875
1026
|
// ≤10% remaining → urgent ("Only X left")
|
|
876
1027
|
LOW: 0.2,
|
|
@@ -878,43 +1029,44 @@ const q = {
|
|
|
878
1029
|
MAX_EXACT_COUNT: 20
|
|
879
1030
|
// Don't show exact count above 20
|
|
880
1031
|
};
|
|
881
|
-
function
|
|
882
|
-
if (
|
|
883
|
-
if (
|
|
884
|
-
const n =
|
|
885
|
-
return n <=
|
|
1032
|
+
function he(t, a) {
|
|
1033
|
+
if (a === 0) return "none";
|
|
1034
|
+
if (t <= 0) return "sold_out";
|
|
1035
|
+
const n = t / a;
|
|
1036
|
+
return n <= O.URGENT ? "urgent" : n <= O.LOW ? "low" : "none";
|
|
886
1037
|
}
|
|
887
|
-
function
|
|
888
|
-
return
|
|
1038
|
+
function ge(t, a, n, r) {
|
|
1039
|
+
return t === "none" ? null : t === "sold_out" ? "Sold out" : t === "urgent" && n !== "browse" && a <= O.MAX_EXACT_COUNT ? `Only ${a} left` : t === "low" || t === "urgent" ? "Selling fast" : null;
|
|
889
1040
|
}
|
|
890
|
-
function
|
|
891
|
-
const
|
|
892
|
-
salesBegin:
|
|
893
|
-
salesEnd:
|
|
894
|
-
remainingCapacity:
|
|
895
|
-
totalCapacity:
|
|
896
|
-
soldOut:
|
|
897
|
-
salesChannel: 1
|
|
1041
|
+
function ye(t) {
|
|
1042
|
+
const a = t.tickets.map((r) => ({
|
|
1043
|
+
salesBegin: r.salesStartDate,
|
|
1044
|
+
salesEnd: r.salesEndDate,
|
|
1045
|
+
remainingCapacity: r.quantityAvailable,
|
|
1046
|
+
totalCapacity: r.quantityTotal,
|
|
1047
|
+
soldOut: r.status === "sold_out",
|
|
1048
|
+
salesChannel: 1,
|
|
898
1049
|
// All our tickets are online (not "at the door only")
|
|
1050
|
+
isHidden: r.isHidden
|
|
899
1051
|
}));
|
|
900
|
-
if (
|
|
1052
|
+
if (t.status === "cancelled")
|
|
901
1053
|
return {
|
|
902
1054
|
text: "Cancelled",
|
|
903
1055
|
disabled: !0,
|
|
904
1056
|
reason: "This event has been cancelled"
|
|
905
1057
|
};
|
|
906
|
-
if (
|
|
1058
|
+
if (t.status === "past")
|
|
907
1059
|
return {
|
|
908
1060
|
text: "Event ended",
|
|
909
1061
|
disabled: !0,
|
|
910
1062
|
reason: "This event has ended"
|
|
911
1063
|
};
|
|
912
1064
|
const n = N(
|
|
913
|
-
{ startDateTime:
|
|
914
|
-
|
|
1065
|
+
{ startDateTime: t.startDateTime, endDateTime: t.endDateTime },
|
|
1066
|
+
a,
|
|
915
1067
|
{
|
|
916
1068
|
cancelled: !1,
|
|
917
|
-
isRegistration:
|
|
1069
|
+
isRegistration: t.isRegistrationEvent,
|
|
918
1070
|
waitlistEnabled: !1
|
|
919
1071
|
}
|
|
920
1072
|
);
|
|
@@ -924,60 +1076,60 @@ function pe(i) {
|
|
|
924
1076
|
reason: n.disabled ? n.reason : void 0
|
|
925
1077
|
};
|
|
926
1078
|
}
|
|
927
|
-
function
|
|
928
|
-
const
|
|
929
|
-
(
|
|
1079
|
+
function ve(t) {
|
|
1080
|
+
const a = t.tickets.filter(
|
|
1081
|
+
(c) => c.status === "on_sale" && !c.isHidden
|
|
930
1082
|
);
|
|
931
|
-
if (
|
|
932
|
-
const n =
|
|
933
|
-
(
|
|
934
|
-
),
|
|
935
|
-
(
|
|
936
|
-
),
|
|
937
|
-
if (
|
|
938
|
-
if (
|
|
939
|
-
const
|
|
940
|
-
return
|
|
1083
|
+
if (a.length === 0) return null;
|
|
1084
|
+
const n = a.some(
|
|
1085
|
+
(c) => c.isDonation || c.ticketType === 2
|
|
1086
|
+
), r = a.filter(
|
|
1087
|
+
(c) => !c.isDonation && c.ticketType !== 2
|
|
1088
|
+
), p = r.some((c) => c.price === 0), h = r.filter((c) => c.price > 0);
|
|
1089
|
+
if (h.length === 0 && !p && n) return "Donation";
|
|
1090
|
+
if (h.length === 0 && p) return null;
|
|
1091
|
+
const m = Math.min(...h.map((c) => c.price));
|
|
1092
|
+
return p ? null : n ? `From $${m}` : h.length === 1 ? `$${m}` : `From $${m}`;
|
|
941
1093
|
}
|
|
942
|
-
function
|
|
943
|
-
return
|
|
1094
|
+
function Te(t, a) {
|
|
1095
|
+
return F(t * (a / 100));
|
|
944
1096
|
}
|
|
945
|
-
const
|
|
1097
|
+
const L = {
|
|
946
1098
|
normal: 300
|
|
947
1099
|
};
|
|
948
|
-
function
|
|
949
|
-
if (!
|
|
950
|
-
const
|
|
951
|
-
if (
|
|
952
|
-
const
|
|
953
|
-
return `in ${
|
|
1100
|
+
function be(t) {
|
|
1101
|
+
if (!t) return "";
|
|
1102
|
+
const a = new Date(t), n = /* @__PURE__ */ new Date(), r = a.getTime() - n.getTime(), p = Math.round(r / (1e3 * 60)), h = r / (1e3 * 60 * 60);
|
|
1103
|
+
if (p > 0 && p < 60) {
|
|
1104
|
+
const y = Math.max(1, p);
|
|
1105
|
+
return `in ${y} minute${y !== 1 ? "s" : ""}`;
|
|
954
1106
|
}
|
|
955
|
-
if (
|
|
956
|
-
const
|
|
957
|
-
return `in ${
|
|
1107
|
+
if (h > 0 && h < 24) {
|
|
1108
|
+
const y = Math.max(1, Math.round(h));
|
|
1109
|
+
return `in ${y} hour${y !== 1 ? "s" : ""}`;
|
|
958
1110
|
}
|
|
959
|
-
const
|
|
960
|
-
if (
|
|
961
|
-
return `tomorrow at ${
|
|
1111
|
+
const m = new Date(n);
|
|
1112
|
+
if (m.setDate(m.getDate() + 1), a.toDateString() === m.toDateString())
|
|
1113
|
+
return `tomorrow at ${a.toLocaleTimeString("en-US", {
|
|
962
1114
|
hour: "numeric",
|
|
963
1115
|
minute: "2-digit"
|
|
964
1116
|
})}`;
|
|
965
|
-
const
|
|
966
|
-
if (
|
|
967
|
-
const
|
|
1117
|
+
const c = r / (1e3 * 60 * 60 * 24);
|
|
1118
|
+
if (c > 0 && c <= 7) {
|
|
1119
|
+
const y = new Intl.DateTimeFormat("en-US", {
|
|
968
1120
|
weekday: "long"
|
|
969
|
-
}).format(
|
|
1121
|
+
}).format(a), D = a.toLocaleTimeString("en-US", {
|
|
970
1122
|
hour: "numeric",
|
|
971
1123
|
minute: "2-digit"
|
|
972
1124
|
});
|
|
973
|
-
return `on ${
|
|
1125
|
+
return `on ${y} at ${D}`;
|
|
974
1126
|
}
|
|
975
1127
|
return `on ${new Intl.DateTimeFormat("en-US", {
|
|
976
1128
|
month: "short",
|
|
977
1129
|
day: "numeric"
|
|
978
|
-
}).format(
|
|
1130
|
+
}).format(a)}`;
|
|
979
1131
|
}
|
|
980
|
-
function
|
|
1132
|
+
function we() {
|
|
981
1133
|
return {
|
|
982
1134
|
code: "",
|
|
983
1135
|
isApplied: !1,
|
|
@@ -991,179 +1143,179 @@ function ye() {
|
|
|
991
1143
|
revealTicketIds: []
|
|
992
1144
|
};
|
|
993
1145
|
}
|
|
994
|
-
var
|
|
995
|
-
function
|
|
996
|
-
e.push(
|
|
997
|
-
let n = e.prop(
|
|
998
|
-
var
|
|
999
|
-
e.each(
|
|
1000
|
-
var
|
|
1001
|
-
|
|
1146
|
+
var z = e.from_html('<div class="flex justify-between"><!> <!></div>'), B = e.from_html('<div class="flex justify-between pt-1 border-t border-default"><!> <!></div>'), G = e.from_html('<div class="flex justify-between"><!> <!></div>'), j = e.from_html('<div class="flex justify-between"><!> <!></div>'), W = e.from_html('<div class="flex justify-between"><!> <!></div>'), V = e.from_html('<div class="space-y-2"><!> <!> <!> <!> <!> <div class="flex justify-between pt-2 border-t border-default"><!> <!></div></div>');
|
|
1147
|
+
function ke(t, a) {
|
|
1148
|
+
e.push(a, !0);
|
|
1149
|
+
let n = e.prop(a, "labels", 19, () => ({}));
|
|
1150
|
+
var r = V(), p = e.child(r);
|
|
1151
|
+
e.each(p, 17, () => a.orderTotals.lines, (o) => o.ticketId, (o, s) => {
|
|
1152
|
+
var d = z(), g = e.child(d);
|
|
1153
|
+
k(g, {
|
|
1002
1154
|
size: "xs",
|
|
1003
1155
|
color: "muted",
|
|
1004
|
-
children: (
|
|
1156
|
+
children: (w, l) => {
|
|
1005
1157
|
e.next();
|
|
1006
|
-
var
|
|
1007
|
-
e.template_effect(() => e.set_text(
|
|
1158
|
+
var T = e.text();
|
|
1159
|
+
e.template_effect(() => e.set_text(T, `${e.get(s).quantity ?? ""}x ${e.get(s).ticketName ?? ""}`)), e.append(w, T);
|
|
1008
1160
|
},
|
|
1009
1161
|
$$slots: { default: !0 }
|
|
1010
1162
|
});
|
|
1011
|
-
var
|
|
1012
|
-
|
|
1163
|
+
var f = e.sibling(g, 2);
|
|
1164
|
+
k(f, {
|
|
1013
1165
|
size: "xs",
|
|
1014
1166
|
color: "muted",
|
|
1015
|
-
children: (
|
|
1167
|
+
children: (w, l) => {
|
|
1016
1168
|
e.next();
|
|
1017
|
-
var
|
|
1018
|
-
e.template_effect((
|
|
1169
|
+
var T = e.text();
|
|
1170
|
+
e.template_effect(($) => e.set_text(T, $), [() => _(e.get(s).subtotal)]), e.append(w, T);
|
|
1019
1171
|
},
|
|
1020
1172
|
$$slots: { default: !0 }
|
|
1021
|
-
}), e.reset(
|
|
1173
|
+
}), e.reset(d), e.append(o, d);
|
|
1022
1174
|
});
|
|
1023
|
-
var
|
|
1175
|
+
var h = e.sibling(p, 2);
|
|
1024
1176
|
{
|
|
1025
|
-
var
|
|
1026
|
-
var s =
|
|
1027
|
-
|
|
1177
|
+
var m = (o) => {
|
|
1178
|
+
var s = B(), d = e.child(s);
|
|
1179
|
+
k(d, {
|
|
1028
1180
|
size: "xs",
|
|
1029
1181
|
color: "muted",
|
|
1030
|
-
children: (
|
|
1182
|
+
children: (f, w) => {
|
|
1031
1183
|
e.next();
|
|
1032
|
-
var
|
|
1033
|
-
e.template_effect(() => e.set_text(
|
|
1184
|
+
var l = e.text();
|
|
1185
|
+
e.template_effect(() => e.set_text(l, n().subtotal || "Subtotal")), e.append(f, l);
|
|
1034
1186
|
},
|
|
1035
1187
|
$$slots: { default: !0 }
|
|
1036
1188
|
});
|
|
1037
|
-
var
|
|
1038
|
-
|
|
1189
|
+
var g = e.sibling(d, 2);
|
|
1190
|
+
k(g, {
|
|
1039
1191
|
size: "xs",
|
|
1040
1192
|
color: "muted",
|
|
1041
|
-
children: (
|
|
1193
|
+
children: (f, w) => {
|
|
1042
1194
|
e.next();
|
|
1043
|
-
var
|
|
1044
|
-
e.template_effect((
|
|
1195
|
+
var l = e.text();
|
|
1196
|
+
e.template_effect((T) => e.set_text(l, T), [() => _(a.orderTotals.subtotal)]), e.append(f, l);
|
|
1045
1197
|
},
|
|
1046
1198
|
$$slots: { default: !0 }
|
|
1047
|
-
}), e.reset(s), e.append(
|
|
1199
|
+
}), e.reset(s), e.append(o, s);
|
|
1048
1200
|
};
|
|
1049
|
-
e.if(
|
|
1050
|
-
|
|
1201
|
+
e.if(h, (o) => {
|
|
1202
|
+
a.orderTotals.lines.length > 1 && o(m);
|
|
1051
1203
|
});
|
|
1052
1204
|
}
|
|
1053
|
-
var
|
|
1205
|
+
var c = e.sibling(h, 2);
|
|
1054
1206
|
{
|
|
1055
|
-
var
|
|
1056
|
-
var s =
|
|
1057
|
-
|
|
1207
|
+
var x = (o) => {
|
|
1208
|
+
var s = G(), d = e.child(s);
|
|
1209
|
+
k(d, {
|
|
1058
1210
|
size: "xs",
|
|
1059
1211
|
color: "muted",
|
|
1060
|
-
children: (
|
|
1212
|
+
children: (f, w) => {
|
|
1061
1213
|
e.next();
|
|
1062
|
-
var
|
|
1063
|
-
e.template_effect(() => e.set_text(
|
|
1214
|
+
var l = e.text();
|
|
1215
|
+
e.template_effect(() => e.set_text(l, n().serviceFees || "Service fees")), e.append(f, l);
|
|
1064
1216
|
},
|
|
1065
1217
|
$$slots: { default: !0 }
|
|
1066
1218
|
});
|
|
1067
|
-
var
|
|
1068
|
-
|
|
1219
|
+
var g = e.sibling(d, 2);
|
|
1220
|
+
k(g, {
|
|
1069
1221
|
size: "xs",
|
|
1070
1222
|
color: "muted",
|
|
1071
|
-
children: (
|
|
1223
|
+
children: (f, w) => {
|
|
1072
1224
|
e.next();
|
|
1073
|
-
var
|
|
1074
|
-
e.template_effect((
|
|
1225
|
+
var l = e.text();
|
|
1226
|
+
e.template_effect((T) => e.set_text(l, T), [() => _(a.orderTotals.fees)]), e.append(f, l);
|
|
1075
1227
|
},
|
|
1076
1228
|
$$slots: { default: !0 }
|
|
1077
|
-
}), e.reset(s), e.append(
|
|
1229
|
+
}), e.reset(s), e.append(o, s);
|
|
1078
1230
|
};
|
|
1079
|
-
e.if(
|
|
1080
|
-
|
|
1231
|
+
e.if(c, (o) => {
|
|
1232
|
+
a.orderTotals.fees > 0 && o(x);
|
|
1081
1233
|
});
|
|
1082
1234
|
}
|
|
1083
|
-
var
|
|
1235
|
+
var y = e.sibling(c, 2);
|
|
1084
1236
|
{
|
|
1085
|
-
var
|
|
1086
|
-
var s =
|
|
1087
|
-
|
|
1237
|
+
var D = (o) => {
|
|
1238
|
+
var s = j(), d = e.child(s);
|
|
1239
|
+
k(d, {
|
|
1088
1240
|
size: "xs",
|
|
1089
1241
|
color: "muted",
|
|
1090
|
-
children: (
|
|
1242
|
+
children: (f, w) => {
|
|
1091
1243
|
e.next();
|
|
1092
|
-
var
|
|
1093
|
-
e.template_effect(() => e.set_text(
|
|
1244
|
+
var l = e.text();
|
|
1245
|
+
e.template_effect(() => e.set_text(l, n().taxes || "Taxes")), e.append(f, l);
|
|
1094
1246
|
},
|
|
1095
1247
|
$$slots: { default: !0 }
|
|
1096
1248
|
});
|
|
1097
|
-
var
|
|
1098
|
-
|
|
1249
|
+
var g = e.sibling(d, 2);
|
|
1250
|
+
k(g, {
|
|
1099
1251
|
size: "xs",
|
|
1100
1252
|
color: "muted",
|
|
1101
|
-
children: (
|
|
1253
|
+
children: (f, w) => {
|
|
1102
1254
|
e.next();
|
|
1103
|
-
var
|
|
1104
|
-
e.template_effect((
|
|
1255
|
+
var l = e.text();
|
|
1256
|
+
e.template_effect((T) => e.set_text(l, T), [() => _(a.orderTotals.taxes)]), e.append(f, l);
|
|
1105
1257
|
},
|
|
1106
1258
|
$$slots: { default: !0 }
|
|
1107
|
-
}), e.reset(s), e.append(
|
|
1259
|
+
}), e.reset(s), e.append(o, s);
|
|
1108
1260
|
};
|
|
1109
|
-
e.if(
|
|
1110
|
-
|
|
1261
|
+
e.if(y, (o) => {
|
|
1262
|
+
a.orderTotals.taxes > 0 && o(D);
|
|
1111
1263
|
});
|
|
1112
1264
|
}
|
|
1113
|
-
var
|
|
1265
|
+
var P = e.sibling(y, 2);
|
|
1114
1266
|
{
|
|
1115
|
-
var
|
|
1116
|
-
var s =
|
|
1117
|
-
|
|
1267
|
+
var q = (o) => {
|
|
1268
|
+
var s = W(), d = e.child(s);
|
|
1269
|
+
k(d, {
|
|
1118
1270
|
size: "xs",
|
|
1119
1271
|
color: "success",
|
|
1120
|
-
children: (
|
|
1272
|
+
children: (f, w) => {
|
|
1121
1273
|
e.next();
|
|
1122
|
-
var
|
|
1123
|
-
e.template_effect(() => e.set_text(
|
|
1274
|
+
var l = e.text();
|
|
1275
|
+
e.template_effect(() => e.set_text(l, n().promoDiscount || "Promo discount")), e.append(f, l);
|
|
1124
1276
|
},
|
|
1125
1277
|
$$slots: { default: !0 }
|
|
1126
1278
|
});
|
|
1127
|
-
var
|
|
1128
|
-
|
|
1279
|
+
var g = e.sibling(d, 2);
|
|
1280
|
+
k(g, {
|
|
1129
1281
|
size: "xs",
|
|
1130
1282
|
color: "success",
|
|
1131
|
-
children: (
|
|
1283
|
+
children: (f, w) => {
|
|
1132
1284
|
e.next();
|
|
1133
|
-
var
|
|
1134
|
-
e.template_effect((
|
|
1285
|
+
var l = e.text();
|
|
1286
|
+
e.template_effect((T) => e.set_text(l, `-${T ?? ""}`), [() => _(a.orderTotals.promoDiscount)]), e.append(f, l);
|
|
1135
1287
|
},
|
|
1136
1288
|
$$slots: { default: !0 }
|
|
1137
|
-
}), e.reset(s), e.append(
|
|
1289
|
+
}), e.reset(s), e.append(o, s);
|
|
1138
1290
|
};
|
|
1139
|
-
e.if(
|
|
1140
|
-
|
|
1291
|
+
e.if(P, (o) => {
|
|
1292
|
+
a.orderTotals.promoDiscount > 0 && o(q);
|
|
1141
1293
|
});
|
|
1142
1294
|
}
|
|
1143
|
-
var
|
|
1144
|
-
|
|
1295
|
+
var b = e.sibling(P, 2), u = e.child(b);
|
|
1296
|
+
k(u, {
|
|
1145
1297
|
size: "sm",
|
|
1146
1298
|
class: "font-semibold",
|
|
1147
|
-
children: (
|
|
1299
|
+
children: (o, s) => {
|
|
1148
1300
|
e.next();
|
|
1149
|
-
var
|
|
1150
|
-
e.template_effect(() => e.set_text(
|
|
1301
|
+
var d = e.text();
|
|
1302
|
+
e.template_effect(() => e.set_text(d, n().total || "Total")), e.append(o, d);
|
|
1151
1303
|
},
|
|
1152
1304
|
$$slots: { default: !0 }
|
|
1153
1305
|
});
|
|
1154
|
-
var S = e.sibling(
|
|
1155
|
-
|
|
1306
|
+
var S = e.sibling(u, 2);
|
|
1307
|
+
k(S, {
|
|
1156
1308
|
size: "sm",
|
|
1157
1309
|
class: "font-semibold",
|
|
1158
|
-
children: (
|
|
1310
|
+
children: (o, s) => {
|
|
1159
1311
|
e.next();
|
|
1160
|
-
var
|
|
1161
|
-
e.template_effect((
|
|
1312
|
+
var d = e.text();
|
|
1313
|
+
e.template_effect((g) => e.set_text(d, g), [() => _(a.orderTotals.total)]), e.append(o, d);
|
|
1162
1314
|
},
|
|
1163
1315
|
$$slots: { default: !0 }
|
|
1164
|
-
}), e.reset(
|
|
1316
|
+
}), e.reset(b), e.reset(r), e.template_effect(() => e.set_style(r, `transition-duration: ${L.normal}ms;`)), e.append(t, r), e.pop();
|
|
1165
1317
|
}
|
|
1166
|
-
const
|
|
1318
|
+
const Y = {
|
|
1167
1319
|
// ── Ticket quantity controls ──────────────────────────────────────
|
|
1168
1320
|
decrease: "Decrease",
|
|
1169
1321
|
increase: "Increase",
|
|
@@ -1319,33 +1471,34 @@ const G = {
|
|
|
1319
1471
|
// ── MobileCta ─────────────────────────────────────────────────────
|
|
1320
1472
|
selectTicketsLabel: "Select Tickets"
|
|
1321
1473
|
};
|
|
1322
|
-
function
|
|
1323
|
-
return { ...
|
|
1474
|
+
function xe(t = {}) {
|
|
1475
|
+
return { ...Y, ...t };
|
|
1324
1476
|
}
|
|
1325
1477
|
export {
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1478
|
+
L as D,
|
|
1479
|
+
ke as O,
|
|
1480
|
+
oe as a,
|
|
1481
|
+
ne as b,
|
|
1482
|
+
ae as c,
|
|
1483
|
+
v as d,
|
|
1484
|
+
Te as e,
|
|
1485
|
+
ge as f,
|
|
1486
|
+
he as g,
|
|
1487
|
+
be as h,
|
|
1488
|
+
ye as i,
|
|
1489
|
+
ve as j,
|
|
1490
|
+
we as k,
|
|
1491
|
+
fe as l,
|
|
1492
|
+
xe as m,
|
|
1493
|
+
pe as n,
|
|
1494
|
+
me as o,
|
|
1495
|
+
ue as p,
|
|
1496
|
+
ce as q,
|
|
1497
|
+
de as r,
|
|
1498
|
+
le as s,
|
|
1499
|
+
re as t,
|
|
1500
|
+
se as u,
|
|
1501
|
+
ie as v,
|
|
1502
|
+
te as w
|
|
1350
1503
|
};
|
|
1351
|
-
//# sourceMappingURL=labels-
|
|
1504
|
+
//# sourceMappingURL=labels-s8pbx3tn.js.map
|