@getmicdrop/venue-calendar 4.3.36 → 4.3.38
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/{CalendarFoundryView-BytAeaqk.js → CalendarFoundryView-BWaOYwqK.js} +2364 -2142
- package/dist/{CartView-BVAj8ns8.js → CartView-YRimdA6F.js} +16 -16
- package/dist/{Checkout-Cw_mvXUd.js → Checkout-djS62Y9-.js} +10 -10
- package/dist/{Checkout-DFoOLl6K.js → Checkout-rsX9zvb7.js} +6 -6
- package/dist/{CheckoutTimer-BDxy_Fou.js → CheckoutTimer-D3XNCZ36.js} +1 -1
- package/dist/{CollectionView-BRJKmgmu.js → CollectionView-DJMd-lQ5.js} +3 -3
- package/dist/{Event-CJZetg3I.js → Event-ETzQP0s-.js} +5 -5
- package/dist/EventPage-BDmpGhgp.js +1184 -0
- package/dist/{RecommendationsRail-DcIHxWHf.js → RecommendationsRail-CKoChbYt.js} +3 -3
- package/dist/{SeriesPage-ByxpytgT.js → SeriesPage-DccLByjM.js} +2 -2
- package/dist/{Success-CFbOlDG7.js → Success-BVYGRvb8.js} +18 -18
- package/dist/{ViewTicketsEmbed-KbA05I2k.js → ViewTicketsEmbed-D6ZLDsJe.js} +3 -3
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +250 -255
- package/dist/{api-DRQ3j7AT.js → api-LOBSDFGW.js} +118 -119
- package/dist/{constants-YYsgll7v.js → constants-COyf9Cef.js} +1 -1
- package/dist/{defaults-BMbXcKP9.js → defaults-BS-A8oEj.js} +1 -1
- package/dist/{event-transform-BchpSia3.js → event-transform-BR82y7EY.js} +1 -1
- package/dist/{eventStatusStream-dDHNTEOf.js → eventStatusStream-1YtkEBw8.js} +1 -1
- package/dist/{i18n-1R1ah9KT.js → i18n-02Y9QRm0.js} +171 -171
- package/dist/{i18n-i-1mHdch.js → i18n-Dwg2jCJS.js} +1 -1
- package/dist/{orders-jQz7QFjK.js → orders-_DuPjm-g.js} +166 -165
- package/dist/{pixels-DnbRn43e.js → pixels-BXobnFyk.js} +7 -7
- package/dist/{utils-DvGzK5Cl.js → utils-DlMAhsnl.js} +53 -53
- package/dist/venue-calendar.es.js +57 -57
- package/dist/venue-calendar.iife.js +55 -55
- package/dist/venue-calendar.umd.js +25 -25
- package/package.json +2 -2
- package/dist/EventPage-Bt5872Cp.js +0 -1184
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/de.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/es.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/id.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/it.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/de.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/es.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/fr.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/id.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/it.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/ja.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/ko.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/nl.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/pl.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/tr.js +0 -0
- /package/dist/locales/{4.3.36 → 4.3.38}/main/zh.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
2
|
import { A as t } from "./defaultLabels-Zp9QbN37.js";
|
|
3
|
-
import {
|
|
3
|
+
import { C as n, D as r, S as i } from "./orders-_DuPjm-g.js";
|
|
4
4
|
//#region src/lib/embed-bridge.js
|
|
5
5
|
var a = e("embed-bridge"), o = "micdrop-calendar", s = Object.freeze({
|
|
6
6
|
NAVIGATION: "MICDROP_NAVIGATION",
|
|
@@ -85,11 +85,11 @@ function m(e) {
|
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/lib/pixels/script.ts
|
|
87
87
|
function h(e) {
|
|
88
|
-
if (typeof document > "u" || !e ||
|
|
88
|
+
if (typeof document > "u" || !e || n()) return;
|
|
89
89
|
let t = document.createElement("script");
|
|
90
90
|
t.async = !0, t.src = e;
|
|
91
|
-
let
|
|
92
|
-
|
|
91
|
+
let r = document.head || document.getElementsByTagName("head")[0];
|
|
92
|
+
r && r.appendChild(t);
|
|
93
93
|
}
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/lib/pixels/value-currency.ts
|
|
@@ -214,9 +214,9 @@ function V() {
|
|
|
214
214
|
}
|
|
215
215
|
function H(e) {
|
|
216
216
|
if (!(!e || typeof e != "object")) {
|
|
217
|
-
e.metaPixelId !== void 0 && (I.metaPixelId = B(e.metaPixelId)), e.ga4MeasurementId !== void 0 && (I.ga4MeasurementId = B(e.ga4MeasurementId)),
|
|
217
|
+
e.metaPixelId !== void 0 && (I.metaPixelId = B(e.metaPixelId)), e.ga4MeasurementId !== void 0 && (I.ga4MeasurementId = B(e.ga4MeasurementId)), r();
|
|
218
218
|
try {
|
|
219
|
-
V() && !
|
|
219
|
+
V() && !n() && G();
|
|
220
220
|
} catch (e) {
|
|
221
221
|
M.error("configurePixels load failed:", e);
|
|
222
222
|
}
|
|
@@ -251,7 +251,7 @@ function Y() {
|
|
|
251
251
|
}, N);
|
|
252
252
|
}
|
|
253
253
|
function X(e) {
|
|
254
|
-
if (V() && !
|
|
254
|
+
if (V() && !n()) try {
|
|
255
255
|
i() ? (q(), K(e), J()) : (R.push(e), R.length > F && R.shift(), Y());
|
|
256
256
|
} catch (t) {
|
|
257
257
|
M.error(`Pixel '${e.kind}' failed:`, t);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
|
-
import {
|
|
3
|
-
import "./event-transform-
|
|
2
|
+
import { $ as t, N as n, P as r, R as i, Y as a, Z as o, j as s, tt as c } from "./orders-_DuPjm-g.js";
|
|
3
|
+
import "./event-transform-BR82y7EY.js";
|
|
4
4
|
//#region node_modules/js-cookie/dist/js.cookie.mjs
|
|
5
5
|
function l(e) {
|
|
6
6
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -82,19 +82,19 @@ function E() {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
function D(e) {
|
|
85
|
-
let
|
|
85
|
+
let n = {}, r = {}, i = [], s = "", c = 0, l = {};
|
|
86
86
|
if (typeof window > "u") return {
|
|
87
|
-
quantities:
|
|
87
|
+
quantities: n,
|
|
88
88
|
donationAmounts: r,
|
|
89
89
|
addOnQuantities: l,
|
|
90
|
-
promocode:
|
|
90
|
+
promocode: s,
|
|
91
91
|
promoDiscountAmount: c,
|
|
92
92
|
tickets: i
|
|
93
93
|
};
|
|
94
|
-
let u =
|
|
94
|
+
let u = a(y(e), null);
|
|
95
95
|
if (!u) {
|
|
96
|
-
let
|
|
97
|
-
|
|
96
|
+
let n = a(b(e), null);
|
|
97
|
+
n && (u = n, t(y(e), n), o(b(e)));
|
|
98
98
|
}
|
|
99
99
|
if (u) return {
|
|
100
100
|
quantities: u.quantities || {},
|
|
@@ -105,27 +105,27 @@ function D(e) {
|
|
|
105
105
|
tickets: u.tickets || []
|
|
106
106
|
};
|
|
107
107
|
try {
|
|
108
|
-
|
|
108
|
+
n = JSON.parse(m(`checkout-quantities-${e}`) || "{}");
|
|
109
109
|
} catch (e) {
|
|
110
|
-
g.warn("Failed to parse checkout quantities cookie:", e),
|
|
110
|
+
g.warn("Failed to parse checkout quantities cookie:", e), n = {};
|
|
111
111
|
}
|
|
112
112
|
try {
|
|
113
113
|
i = JSON.parse(m(`checkout-tickets-${e}`) || "[]");
|
|
114
114
|
} catch (e) {
|
|
115
115
|
g.warn("Failed to parse checkout tickets cookie:", e), i = [];
|
|
116
116
|
}
|
|
117
|
-
return
|
|
117
|
+
return s = m(`checkout-promocode-${e}`) || "", c = parseFloat(m(`checkout-promo-discount-${e}`) || "0"), (Object.keys(n).length > 0 || i.length > 0 || s) && (A({
|
|
118
118
|
eventID: e,
|
|
119
|
-
quantities:
|
|
119
|
+
quantities: n,
|
|
120
120
|
donationAmounts: r,
|
|
121
|
-
promocode:
|
|
121
|
+
promocode: s,
|
|
122
122
|
promoDiscountAmount: c,
|
|
123
123
|
tickets: i
|
|
124
124
|
}), O(e)), {
|
|
125
|
-
quantities:
|
|
125
|
+
quantities: n,
|
|
126
126
|
donationAmounts: r,
|
|
127
127
|
addOnQuantities: l,
|
|
128
|
-
promocode:
|
|
128
|
+
promocode: s,
|
|
129
129
|
promoDiscountAmount: c,
|
|
130
130
|
tickets: i
|
|
131
131
|
};
|
|
@@ -134,9 +134,9 @@ function O(e) {
|
|
|
134
134
|
h(`checkout-quantities-${e}`), h(`checkout-tickets-${e}`), h(`checkout-promocode-${e}`), h(`checkout-promo-discount-${e}`);
|
|
135
135
|
}
|
|
136
136
|
function k(e) {
|
|
137
|
-
|
|
137
|
+
o(y(e)), o(b(e)), O(e), h(`checkout-promo-discount-type-${e}`), h(`checkout-promo-reveal-${e}`), h(`checkout-promo-reveal-ids-${e}`), h(`checkout-promo-ticket-ids-${e}`);
|
|
138
138
|
}
|
|
139
|
-
function A({ eventID: e, quantities:
|
|
139
|
+
function A({ eventID: e, quantities: n, donationAmounts: r, addOnQuantities: i, promocode: a, promoDiscountAmount: o, tickets: s }) {
|
|
140
140
|
if (typeof window > "u") return;
|
|
141
141
|
let c = (s || []).map((e) => ({
|
|
142
142
|
ID: e.ID,
|
|
@@ -146,30 +146,30 @@ function A({ eventID: e, quantities: t, donationAmounts: n, addOnQuantities: r,
|
|
|
146
146
|
visibility: e.visibility,
|
|
147
147
|
salesChannel: e.salesChannel
|
|
148
148
|
})), l = {
|
|
149
|
-
quantities:
|
|
150
|
-
donationAmounts:
|
|
151
|
-
addOnQuantities:
|
|
152
|
-
promocode:
|
|
153
|
-
promoDiscountAmount:
|
|
149
|
+
quantities: n || {},
|
|
150
|
+
donationAmounts: r || {},
|
|
151
|
+
addOnQuantities: i || {},
|
|
152
|
+
promocode: a || "",
|
|
153
|
+
promoDiscountAmount: o || 0,
|
|
154
154
|
tickets: c,
|
|
155
155
|
updatedAt: Date.now()
|
|
156
156
|
};
|
|
157
|
-
|
|
157
|
+
t(y(e), l);
|
|
158
158
|
}
|
|
159
159
|
function j(e) {
|
|
160
160
|
if (!e) return null;
|
|
161
|
-
let
|
|
162
|
-
if (
|
|
163
|
-
let r =
|
|
161
|
+
let n = a(x(e), null);
|
|
162
|
+
if (n != null) return P(n);
|
|
163
|
+
let r = a(S(e), null);
|
|
164
164
|
if (r == null) return null;
|
|
165
165
|
let i = P(r);
|
|
166
|
-
return i != null && (
|
|
166
|
+
return i != null && (t(x(e), i), o(S(e))), i;
|
|
167
167
|
}
|
|
168
|
-
function M(e,
|
|
169
|
-
!e || !Number.isFinite(
|
|
168
|
+
function M(e, n) {
|
|
169
|
+
!e || !Number.isFinite(n) || t(x(e), n);
|
|
170
170
|
}
|
|
171
171
|
function N(e) {
|
|
172
|
-
e && (
|
|
172
|
+
e && (o(x(e)), o(S(e)));
|
|
173
173
|
}
|
|
174
174
|
function P(e) {
|
|
175
175
|
let t = typeof e == "number" ? e : parseInt(e, 10);
|
|
@@ -187,13 +187,13 @@ async function te(e) {
|
|
|
187
187
|
}
|
|
188
188
|
var F = (e) => _(`queue-token-${e}`);
|
|
189
189
|
function I(e) {
|
|
190
|
-
return
|
|
190
|
+
return a(F(e), null);
|
|
191
191
|
}
|
|
192
|
-
function L(e,
|
|
193
|
-
|
|
192
|
+
function L(e, n) {
|
|
193
|
+
n && t(F(e), n);
|
|
194
194
|
}
|
|
195
195
|
function R(e) {
|
|
196
|
-
|
|
196
|
+
o(F(e));
|
|
197
197
|
}
|
|
198
198
|
//#endregion
|
|
199
199
|
//#region src/lib/api/surge-queue.ts
|
|
@@ -229,7 +229,7 @@ function J(e) {
|
|
|
229
229
|
}
|
|
230
230
|
async function Y(e) {
|
|
231
231
|
try {
|
|
232
|
-
let t = await
|
|
232
|
+
let t = await n(`/events/${e}/queue`);
|
|
233
233
|
return t.success ? {
|
|
234
234
|
armed: t.data?.armed === !0,
|
|
235
235
|
mode: G(t.data?.mode),
|
|
@@ -242,7 +242,7 @@ async function Y(e) {
|
|
|
242
242
|
}
|
|
243
243
|
async function X(e) {
|
|
244
244
|
try {
|
|
245
|
-
let t = await
|
|
245
|
+
let t = await r(`/events/${e}/queue/join`, {});
|
|
246
246
|
if (!t.success) return {
|
|
247
247
|
success: !1,
|
|
248
248
|
errorCode: t.errorCode || "queue_unavailable",
|
|
@@ -271,21 +271,21 @@ async function Z(e, t) {
|
|
|
271
271
|
errorCode: B
|
|
272
272
|
};
|
|
273
273
|
try {
|
|
274
|
-
let
|
|
275
|
-
if (!
|
|
274
|
+
let r = await n(`/events/${e}/queue/status?token=${encodeURIComponent(t)}`);
|
|
275
|
+
if (!r.success) return {
|
|
276
276
|
success: !1,
|
|
277
|
-
errorCode:
|
|
278
|
-
statusCode:
|
|
277
|
+
errorCode: r.errorCode || "queue_unavailable",
|
|
278
|
+
statusCode: r.statusCode
|
|
279
279
|
};
|
|
280
|
-
let
|
|
281
|
-
return
|
|
280
|
+
let i = J(r.data);
|
|
281
|
+
return i ? {
|
|
282
282
|
success: !0,
|
|
283
|
-
entry:
|
|
284
|
-
statusCode:
|
|
283
|
+
entry: i,
|
|
284
|
+
statusCode: r.statusCode
|
|
285
285
|
} : {
|
|
286
286
|
success: !1,
|
|
287
287
|
errorCode: B,
|
|
288
|
-
statusCode:
|
|
288
|
+
statusCode: r.statusCode
|
|
289
289
|
};
|
|
290
290
|
} catch (e) {
|
|
291
291
|
return z.error("getQueueStatus error:", e), {
|
|
@@ -297,7 +297,7 @@ async function Z(e, t) {
|
|
|
297
297
|
async function ne(e, t) {
|
|
298
298
|
if (!t) return { released: !1 };
|
|
299
299
|
try {
|
|
300
|
-
return { released: (await
|
|
300
|
+
return { released: (await r(`/events/${e}/queue/leave`, { token: t }, {
|
|
301
301
|
keepalive: !0,
|
|
302
302
|
suppressOnError: !0
|
|
303
303
|
})).data?.released === !0 };
|
|
@@ -330,7 +330,7 @@ async function ae() {
|
|
|
330
330
|
}
|
|
331
331
|
async function oe(e) {
|
|
332
332
|
try {
|
|
333
|
-
let t = await
|
|
333
|
+
let t = await n(`/venues/${e}`);
|
|
334
334
|
if (!t.success) throw new c(t.error ?? `API error: ${t.statusCode}`, t.statusCode ?? 0, {
|
|
335
335
|
endpoint: `/venues/${e}`,
|
|
336
336
|
method: "GET"
|
|
@@ -342,13 +342,13 @@ async function oe(e) {
|
|
|
342
342
|
}
|
|
343
343
|
async function $(e = {}, t) {
|
|
344
344
|
try {
|
|
345
|
-
let n = await ae(), { eventID:
|
|
345
|
+
let n = await ae(), { eventID: i, quantities: a, donationAmounts: o, ...s } = e, c = a ? Object.fromEntries(Object.entries(a).map(([e, t]) => [parseInt(e, 10), t])) : {}, l = o ? Object.fromEntries(Object.entries(o).filter(([, e]) => parseFloat(String(e)) > 0).map(([e, t]) => [parseInt(e, 10), parseFloat(String(t))])) : void 0, u = {
|
|
346
346
|
purchaserIP: n,
|
|
347
|
-
eventID:
|
|
347
|
+
eventID: i ? parseInt(String(i), 10) : void 0,
|
|
348
348
|
quantities: c,
|
|
349
349
|
...l && Object.keys(l).length > 0 ? { donationAmounts: l } : {},
|
|
350
350
|
...s
|
|
351
|
-
}, d = await
|
|
351
|
+
}, d = await r("/orders/create", u, t ? { headers: { "X-Queue-Token": t } } : void 0), f = d.data ?? {};
|
|
352
352
|
if (!d.success || f.error) {
|
|
353
353
|
let e = re(f.error) || (typeof f.message == "string" ? f.message : "") || d.error || "Order creation failed";
|
|
354
354
|
if ((d.errorCode || ie(f.error)) === "QUEUE_REQUIRED") return {
|
|
@@ -380,7 +380,7 @@ async function $(e = {}, t) {
|
|
|
380
380
|
}
|
|
381
381
|
async function se(e) {
|
|
382
382
|
try {
|
|
383
|
-
let t = await
|
|
383
|
+
let t = await n(`/orders/${e}`);
|
|
384
384
|
if (!t.success) {
|
|
385
385
|
let n = t.error ?? `Failed to fetch order (${t.statusCode})`;
|
|
386
386
|
throw Q.error("getOrder error response:", n), new c(n, t.statusCode ?? 0, {
|
|
@@ -397,9 +397,9 @@ async function se(e) {
|
|
|
397
397
|
//#region src/lib/utils/utm.ts
|
|
398
398
|
var ce = e("utm");
|
|
399
399
|
async function le(e) {
|
|
400
|
-
let
|
|
400
|
+
let t = new URLSearchParams(window.location.search), n = s(t.get("utm_source")) || "direct";
|
|
401
401
|
try {
|
|
402
|
-
await fetch(`${
|
|
402
|
+
await fetch(`${i()}/utm/${e}/${encodeURIComponent(n)}`);
|
|
403
403
|
} catch (e) {
|
|
404
404
|
ce.error("UTM tracking failed:", e);
|
|
405
405
|
}
|
|
@@ -31,17 +31,17 @@ import { t as x } from "./ChevronDownIcon-BA40Kl0C.js";
|
|
|
31
31
|
import { t as S } from "./TagIcon-CkfQvNGi.js";
|
|
32
32
|
import { t as C } from "./WarningTriIcon-Dw5GnHpq.js";
|
|
33
33
|
import { A as w, b as T, g as E, i as te, k as ne, m as re, n as D, t as O, x as k } from "./defaultLabels-Zp9QbN37.js";
|
|
34
|
-
import { $ as A,
|
|
34
|
+
import { $ as A, D as ie, E as ae, F as j, G as M, I as oe, J as N, K as P, L as se, N as F, O as I, R as ce, T as le, X as ue, Y as de, et as L, h as fe, k as pe, m as me, q as he, u as ge, v as _e, w as ve, x as ye, y as be, z as xe } from "./orders-_DuPjm-g.js";
|
|
35
35
|
import { t as Se } from "./liveAnnouncer-D3xVL7qA.js";
|
|
36
36
|
import { t as Ce } from "./LiveRegion-D9Me4kBs.js";
|
|
37
37
|
import { a as we, i as R, n as z, r as Te, t as Ee } from "./ModalFooter-T1gpnywp.js";
|
|
38
38
|
import { a as B, i as V, n as H, o as De, s as U, t as W } from "./to-event-card-props-ChcFQ_rl.js";
|
|
39
39
|
import { t as Oe } from "./lazyOnce-CCfEO1xG.js";
|
|
40
|
-
import { D as ke, E as Ae, I as G, O as je, g as Me, l as Ne, p as Pe, u as Fe, v as Ie, z as Le } from "./api-
|
|
41
|
-
import { a as Re, i as ze, l as Be, n as Ve, o as He, s as Ue, t as We, u as Ge } from "./pixels-
|
|
42
|
-
import { n as Ke } from "./event-transform-
|
|
43
|
-
import { n as qe } from "./eventStatusStream-
|
|
44
|
-
import { t as Je } from "./i18n-
|
|
40
|
+
import { D as ke, E as Ae, I as G, O as je, g as Me, l as Ne, p as Pe, u as Fe, v as Ie, z as Le } from "./api-LOBSDFGW.js";
|
|
41
|
+
import { a as Re, i as ze, l as Be, n as Ve, o as He, s as Ue, t as We, u as Ge } from "./pixels-BXobnFyk.js";
|
|
42
|
+
import { n as Ke } from "./event-transform-BR82y7EY.js";
|
|
43
|
+
import { n as qe } from "./eventStatusStream-1YtkEBw8.js";
|
|
44
|
+
import { t as Je } from "./i18n-Dwg2jCJS.js";
|
|
45
45
|
import "svelte/internal/disclose-version";
|
|
46
46
|
import * as K from "svelte/internal/client";
|
|
47
47
|
import { SvelteMap as Ye, SvelteSet as Xe, SvelteURLSearchParams as Ze } from "svelte/reactivity";
|
|
@@ -477,19 +477,19 @@ function qt(e) {
|
|
|
477
477
|
return (t >>> 0) / 4294967296;
|
|
478
478
|
}
|
|
479
479
|
function Jt() {
|
|
480
|
-
let e =
|
|
480
|
+
let e = ye();
|
|
481
481
|
if (e) return e;
|
|
482
|
-
let t =
|
|
482
|
+
let t = de(Ut);
|
|
483
483
|
if (typeof t == "string" && t.length > 0) return t;
|
|
484
484
|
let n = typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : `e-${Math.random().toString(36).slice(2)}${Date.now().toString(36)}`;
|
|
485
|
-
return
|
|
485
|
+
return A(Ut, n), n;
|
|
486
486
|
}
|
|
487
487
|
function Yt(e = {}) {
|
|
488
488
|
if (typeof window > "u" || Kt()) return "control";
|
|
489
|
-
let t =
|
|
489
|
+
let t = de(Ht);
|
|
490
490
|
if (X(t)) return t;
|
|
491
491
|
let n = Number.isFinite(e.treatmentShare) ? Math.min(1, Math.max(0, e.treatmentShare)) : Wt, r = qt(`${Vt}|${e.widgetId ?? ""}|${Jt()}`) < n ? "treatment" : "control";
|
|
492
|
-
return
|
|
492
|
+
return A(Ht, r), r;
|
|
493
493
|
}
|
|
494
494
|
//#endregion
|
|
495
495
|
//#region src/lib/utils/fluid-container-guard.js
|
|
@@ -1327,17 +1327,17 @@ function ir() {
|
|
|
1327
1327
|
let e = rr();
|
|
1328
1328
|
if (!e) return !1;
|
|
1329
1329
|
try {
|
|
1330
|
-
return new URL(
|
|
1330
|
+
return new URL(oe().baseUrl).origin !== e;
|
|
1331
1331
|
} catch {
|
|
1332
1332
|
return !1;
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
1335
|
function ar(e) {
|
|
1336
|
-
let t =
|
|
1336
|
+
let t = ue(Qn, null);
|
|
1337
1337
|
return !t || t.origin !== e ? null : t.reason === "available" || t.reason === "origin-not-registered" ? t.reason : null;
|
|
1338
1338
|
}
|
|
1339
1339
|
function or(e, t) {
|
|
1340
|
-
t !== "unknown" &&
|
|
1340
|
+
t !== "unknown" && L(Qn, {
|
|
1341
1341
|
origin: e,
|
|
1342
1342
|
reason: t
|
|
1343
1343
|
});
|
|
@@ -1382,7 +1382,7 @@ function ur() {
|
|
|
1382
1382
|
origin: e
|
|
1383
1383
|
})) : (er = (async () => {
|
|
1384
1384
|
try {
|
|
1385
|
-
let t = await
|
|
1385
|
+
let t = await F(`${se()}/checkout-availability`);
|
|
1386
1386
|
return t.success ? (or(e, "available"), sr({
|
|
1387
1387
|
available: !0,
|
|
1388
1388
|
reason: "available",
|
|
@@ -1405,7 +1405,7 @@ function ur() {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
})(), er);
|
|
1407
1407
|
}
|
|
1408
|
-
|
|
1408
|
+
xe((e) => {
|
|
1409
1409
|
e === "ORIGIN_NOT_REGISTERED" && lr();
|
|
1410
1410
|
});
|
|
1411
1411
|
//#endregion
|
|
@@ -1576,14 +1576,14 @@ function Dr(t, n) {
|
|
|
1576
1576
|
function O(e) {
|
|
1577
1577
|
typeof window < "u" && (window.location.href = e);
|
|
1578
1578
|
}
|
|
1579
|
-
let k = K.prop(n, "showViewOptions", 3, !1), A = K.prop(n, "showMonthSwitcher", 3, !1), ie = K.prop(n, "showSearch", 3, !1), ae = K.prop(n, "maxItems", 3, null), j = K.prop(n, "eventDetails", 3, null), M = K.prop(n, "size", 3, "M"), oe = K.prop(n, "headingLevel", 3, 1), N = K.prop(n, "posterFit", 3, "fit"), P = K.prop(n, "posterBackdrop", 3, "blur"), se = K.prop(n, "events", 19, () => []), F = K.prop(n, "venueId", 3, ""), I = K.prop(n, "organizationId", 3, ""), ce = K.prop(n, "featuredItem", 3, null), le = K.prop(n, "labels", 19, () => ({})), ue = K.prop(n, "view", 3, "calendar"), de = K.prop(n, "locale", 3, void 0), L = K.prop(n, "seoController", 3, null),
|
|
1579
|
+
let k = K.prop(n, "showViewOptions", 3, !1), A = K.prop(n, "showMonthSwitcher", 3, !1), ie = K.prop(n, "showSearch", 3, !1), ae = K.prop(n, "maxItems", 3, null), j = K.prop(n, "eventDetails", 3, null), M = K.prop(n, "size", 3, "M"), oe = K.prop(n, "headingLevel", 3, 1), N = K.prop(n, "posterFit", 3, "fit"), P = K.prop(n, "posterBackdrop", 3, "blur"), se = K.prop(n, "events", 19, () => []), F = K.prop(n, "venueId", 3, ""), I = K.prop(n, "organizationId", 3, ""), ce = K.prop(n, "featuredItem", 3, null), le = K.prop(n, "labels", 19, () => ({})), ue = K.prop(n, "view", 3, "calendar"), de = K.prop(n, "locale", 3, void 0), L = K.prop(n, "seoController", 3, null), pe = K.prop(n, "filterValues", 3, null), me = K.prop(n, "widgetId", 3, null), he = K.prop(n, "urlMode", 3, "pushState"), _e = K.prop(n, "inlineEntityViews", 3, !1), ve = K.prop(n, "injectPageTitle", 3, !0), ye = K.prop(n, "liveStatus", 3, !0), be = K.prop(n, "checkoutProbe", 3, !0), xe = K.prop(n, "showGiftCardsLink", 3, !0), Se = K.prop(n, "showPoweredBy", 3, !0), we = K.prop(n, "colors", 3, null);
|
|
1580
1580
|
K.user_effect(() => {
|
|
1581
1581
|
let e = K.get(S);
|
|
1582
1582
|
if (!e) return;
|
|
1583
1583
|
let t = rn(we(), e);
|
|
1584
1584
|
return () => an(e, t);
|
|
1585
1585
|
});
|
|
1586
|
-
let R = K.derived(() => de() ||
|
|
1586
|
+
let R = K.derived(() => de() || ge() || "en-US"), z = K.derived(() => Je(K.get(R), le())), Te = K.state("");
|
|
1587
1587
|
K.user_effect(() => {
|
|
1588
1588
|
if (K.set(Te, ""), !xe() || I() || !F()) return;
|
|
1589
1589
|
let e = !1;
|
|
@@ -1723,7 +1723,7 @@ function Dr(t, n) {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
K.user_effect(() => {
|
|
1725
1725
|
let e = F();
|
|
1726
|
-
if (!(!e || I()) &&
|
|
1726
|
+
if (!(!e || I()) && ye()) return qe(e, { onEventChange: () => Vt() });
|
|
1727
1727
|
});
|
|
1728
1728
|
function Ht(e, t) {
|
|
1729
1729
|
(typeof requestIdleCallback < "u" ? requestIdleCallback : (e) => setTimeout(e, 100))(() => {
|
|
@@ -1737,19 +1737,19 @@ function Dr(t, n) {
|
|
|
1737
1737
|
tt(() => {
|
|
1738
1738
|
if (K.set(V, !0), Kt = L(), be() && (Gt = cr((e) => {
|
|
1739
1739
|
K.set(Ut, e.reason === "origin-not-registered"), K.set(Wt, e.origin, !0);
|
|
1740
|
-
}), ur()), Qt(K.get(S)),
|
|
1740
|
+
}), ur()), Qt(K.get(S)), fe(me(), F()), window.__MICDROP_VC_FOUNDRY_CALENDAR__ === !0) {
|
|
1741
1741
|
let e = window.__MICDROP_VC_FOUNDRY_CALENDAR_SHARE__;
|
|
1742
1742
|
Yt({
|
|
1743
|
-
widgetId:
|
|
1743
|
+
widgetId: me(),
|
|
1744
1744
|
treatmentShare: typeof e == "number" ? e : void 0
|
|
1745
|
-
}) === "treatment" && import("./CalendarFoundryView-
|
|
1745
|
+
}) === "treatment" && import("./CalendarFoundryView-BWaOYwqK.js").then((e) => {
|
|
1746
1746
|
K.get(V) && (K.set(gt, e.default, !0), K.set(pt, !0));
|
|
1747
1747
|
}).catch((e) => yr.error("Foundry calendar load failed:", e));
|
|
1748
1748
|
}
|
|
1749
|
-
if (
|
|
1749
|
+
if (he() === "none") b = null;
|
|
1750
1750
|
else {
|
|
1751
1751
|
b = new ht({ onNavigate: (e) => {
|
|
1752
|
-
if (_(),
|
|
1752
|
+
if (_(), _e()) {
|
|
1753
1753
|
if (e.entity) {
|
|
1754
1754
|
let t = String(e.entity.id);
|
|
1755
1755
|
(!K.get(W) || String(K.get(W).id) !== t) && mn(t, e.entity.slug, { pushHash: !1 });
|
|
@@ -1775,7 +1775,7 @@ function Dr(t, n) {
|
|
|
1775
1775
|
r >= 1e3 && r <= 9999 && i >= 0 && i <= 11 && (Ct.set(r), St.set(i));
|
|
1776
1776
|
}
|
|
1777
1777
|
}
|
|
1778
|
-
Re() && (K.get(S) && (C = Ue(K.get(S), Ge, () => Math.ceil(document.documentElement.scrollHeight))),
|
|
1778
|
+
Re() && (K.get(S) && (C = Ue(K.get(S), Ge, () => Math.ceil(document.documentElement.scrollHeight))), _e() && (w = He(({ id: e, slug: t }) => {
|
|
1779
1779
|
if (e == null || e === "") {
|
|
1780
1780
|
pn({ pushHash: !0 });
|
|
1781
1781
|
return;
|
|
@@ -1803,11 +1803,11 @@ function Dr(t, n) {
|
|
|
1803
1803
|
});
|
|
1804
1804
|
let X = K.derived(() => Array.from(K.get(E).values()).flat()), qt = K.derived(() => K.get(B) && K.get(ct) === null && K.get(X).length === 0 && se().length === 0), Jt = K.derived(() => K.get(B) && K.get(ct) !== null && K.get(X).length === 0 && se().length === 0), Z = K.derived(() => {
|
|
1805
1805
|
let e = K.get(X).length > 0 ? K.get(X) : [], t = se().length > 0 ? se() : [], n = new Xe(), r = [...e, ...t].filter((e) => !n.has(e.id) && (n.add(e.id), !0));
|
|
1806
|
-
return
|
|
1806
|
+
return pe() ? Bt(r, pe()) : r;
|
|
1807
1807
|
});
|
|
1808
1808
|
K.user_effect(() => {
|
|
1809
1809
|
if (K.get(H)) {
|
|
1810
|
-
if (
|
|
1810
|
+
if (_e()) {
|
|
1811
1811
|
let { id: e, slug: t } = K.get(H);
|
|
1812
1812
|
K.set(H, null), mn(e, t, { pushHash: !1 });
|
|
1813
1813
|
return;
|
|
@@ -1901,7 +1901,7 @@ function Dr(t, n) {
|
|
|
1901
1901
|
}
|
|
1902
1902
|
}
|
|
1903
1903
|
async function un(e) {
|
|
1904
|
-
e === "series" ? K.get(We) || K.set(We, (await import("./SeriesPage-
|
|
1904
|
+
e === "series" ? K.get(We) || K.set(We, (await import("./SeriesPage-DccLByjM.js")).default, !0) : e === "collection" ? K.get(Qe) || K.set(Qe, (await import("./CollectionView-DJMd-lQ5.js")).default, !0) : K.get(Le) || K.set(Le, (await import("./EventPage-BDmpGhgp.js")).default, !0);
|
|
1905
1905
|
}
|
|
1906
1906
|
async function fn({ type: e, id: t, slug: n = "", data: r = null, initialEventData: i = null, pushHash: a = !0 }) {
|
|
1907
1907
|
Ie++, K.set(W, {
|
|
@@ -1962,7 +1962,7 @@ function Dr(t, n) {
|
|
|
1962
1962
|
block: "start",
|
|
1963
1963
|
behavior: "auto"
|
|
1964
1964
|
});
|
|
1965
|
-
}), K.get($e) || K.set($e, (await import("./Checkout-
|
|
1965
|
+
}), K.get($e) || K.set($e, (await import("./Checkout-rsX9zvb7.js")).default, !0);
|
|
1966
1966
|
}
|
|
1967
1967
|
async function _n(e) {
|
|
1968
1968
|
Ie++, K.set(Oe, e || {}, !0), K.set(U, "success"), typeof window < "u" && requestAnimationFrame(() => {
|
|
@@ -1970,7 +1970,7 @@ function Dr(t, n) {
|
|
|
1970
1970
|
block: "start",
|
|
1971
1971
|
behavior: "auto"
|
|
1972
1972
|
});
|
|
1973
|
-
}), K.get(nt) || K.set(nt, (await import("./Success-
|
|
1973
|
+
}), K.get(nt) || K.set(nt, (await import("./Success-BVYGRvb8.js")).default, !0);
|
|
1974
1974
|
}
|
|
1975
1975
|
function vn() {
|
|
1976
1976
|
K.get(W) ? fn({
|
|
@@ -2038,7 +2038,7 @@ function Dr(t, n) {
|
|
|
2038
2038
|
n.onEventClick(t);
|
|
2039
2039
|
return;
|
|
2040
2040
|
}
|
|
2041
|
-
if (
|
|
2041
|
+
if (_e()) {
|
|
2042
2042
|
fn({
|
|
2043
2043
|
type: "event",
|
|
2044
2044
|
id: t.id,
|
|
@@ -2085,7 +2085,7 @@ function Dr(t, n) {
|
|
|
2085
2085
|
});
|
|
2086
2086
|
};
|
|
2087
2087
|
K.if(n, (e) => {
|
|
2088
|
-
!L() &&
|
|
2088
|
+
!L() && ve() && e(r);
|
|
2089
2089
|
}), K.append(e, t);
|
|
2090
2090
|
});
|
|
2091
2091
|
var On = K.first_child(En), kn = K.child(On), An = (e) => {
|
|
@@ -2145,7 +2145,7 @@ function Dr(t, n) {
|
|
|
2145
2145
|
return I();
|
|
2146
2146
|
},
|
|
2147
2147
|
get widgetId() {
|
|
2148
|
-
return
|
|
2148
|
+
return me();
|
|
2149
2149
|
},
|
|
2150
2150
|
get venueId() {
|
|
2151
2151
|
return F();
|
|
@@ -2244,7 +2244,7 @@ function Dr(t, n) {
|
|
|
2244
2244
|
return I();
|
|
2245
2245
|
},
|
|
2246
2246
|
get widgetId() {
|
|
2247
|
-
return
|
|
2247
|
+
return me();
|
|
2248
2248
|
},
|
|
2249
2249
|
onNavigateToSuccess: _n,
|
|
2250
2250
|
onNavigateBack: vn,
|
|
@@ -2290,7 +2290,7 @@ function Dr(t, n) {
|
|
|
2290
2290
|
},
|
|
2291
2291
|
browseUrl: typeof window < "u" ? window.location.origin + window.location.pathname : "/",
|
|
2292
2292
|
get widgetId() {
|
|
2293
|
-
return
|
|
2293
|
+
return me();
|
|
2294
2294
|
},
|
|
2295
2295
|
get venueId() {
|
|
2296
2296
|
return K.get(r);
|
|
@@ -2625,7 +2625,7 @@ function Dr(t, n) {
|
|
|
2625
2625
|
}), K.reset(f), K.template_effect(() => K.set_attribute(f, "aria-busy", K.get(Ee))), K.append(e, t);
|
|
2626
2626
|
};
|
|
2627
2627
|
K.if(jn, (e) => {
|
|
2628
|
-
|
|
2628
|
+
_e() && K.get(U) !== "calendar" ? e(Mn) : e(Nn, -1);
|
|
2629
2629
|
});
|
|
2630
2630
|
var Pn = K.sibling(jn, 2), Fn = (e) => {
|
|
2631
2631
|
mr(e, {
|
|
@@ -3227,7 +3227,7 @@ function Qr(e) {
|
|
|
3227
3227
|
var $r = t("micdrop-calendar", { enabled: !0 }), ei = null;
|
|
3228
3228
|
async function ti(e) {
|
|
3229
3229
|
try {
|
|
3230
|
-
let t = await fetch(`${
|
|
3230
|
+
let t = await fetch(`${ce()}/widgets/${encodeURIComponent(e)}/config`);
|
|
3231
3231
|
return t.ok ? await t.json() : null;
|
|
3232
3232
|
} catch {
|
|
3233
3233
|
return null;
|
|
@@ -3311,7 +3311,7 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
|
|
|
3311
3311
|
let n = a(this);
|
|
3312
3312
|
n.injectSeo === void 0 && (n.injectSeo = !0);
|
|
3313
3313
|
let r = i(this);
|
|
3314
|
-
r && (n.widgetKey = r), n.apiBaseUrl &&
|
|
3314
|
+
r && (n.widgetKey = r), n.apiBaseUrl && j({ baseUrl: n.apiBaseUrl });
|
|
3315
3315
|
let o = null;
|
|
3316
3316
|
if (n.widgetId) {
|
|
3317
3317
|
let t = await ti(n.widgetId);
|
|
@@ -3327,7 +3327,7 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
|
|
|
3327
3327
|
}
|
|
3328
3328
|
o && (n.colors = o), this.component = t(n);
|
|
3329
3329
|
}).catch((e) => {
|
|
3330
|
-
$r.error("failed to load calendar bundle", e),
|
|
3330
|
+
$r.error("failed to load calendar bundle", e), _e(e, "connected_callback", this.getAttribute("widget-id"), this.getAttribute("venue-id"));
|
|
3331
3331
|
});
|
|
3332
3332
|
}
|
|
3333
3333
|
disconnectedCallback() {
|
|
@@ -3348,15 +3348,15 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
|
|
|
3348
3348
|
}
|
|
3349
3349
|
//#endregion
|
|
3350
3350
|
//#region src/lib/VenueCalendar.js
|
|
3351
|
-
var ri = "4.3.
|
|
3351
|
+
var ri = "4.3.38", ii = t("VenueCalendar"), ai = null;
|
|
3352
3352
|
function oi(e = {}) {
|
|
3353
|
-
typeof e.onError == "function" && (ai = e.onError,
|
|
3353
|
+
typeof e.onError == "function" && (ai = e.onError, j({ onError: (t) => {
|
|
3354
3354
|
try {
|
|
3355
3355
|
e.onError(t, { source: "api" });
|
|
3356
3356
|
} catch (e) {
|
|
3357
3357
|
ii.error("onError handler threw:", e);
|
|
3358
3358
|
}
|
|
3359
|
-
} })), typeof e.apiBaseUrl == "string" &&
|
|
3359
|
+
} })), typeof e.apiBaseUrl == "string" && j({ baseUrl: e.apiBaseUrl }), typeof e.publicSiteOrigin == "string" && P(e.publicSiteOrigin), typeof e.widgetKey == "string" && e.widgetKey && N(e.widgetKey), typeof e.apiTimeout == "number" && j({ timeout: e.apiTimeout }), typeof e.apiRetries == "number" && j({ retries: e.apiRetries }), e.embed && typeof e.embed == "object" && M(e.embed), e.consent && typeof e.consent == "object" && (typeof e.consent.required == "boolean" && le(e.consent.required), typeof e.consent.granted == "boolean" && ve(e.consent.granted)), e.pixels && typeof e.pixels == "object" && We(e.pixels);
|
|
3360
3360
|
}
|
|
3361
3361
|
function si(e, t = "unknown") {
|
|
3362
3362
|
if (ai) try {
|
|
@@ -3368,7 +3368,7 @@ function si(e, t = "unknown") {
|
|
|
3368
3368
|
}
|
|
3369
3369
|
if (typeof window < "u") {
|
|
3370
3370
|
let e = window;
|
|
3371
|
-
e.__MICDROP_CALENDAR__ = e.__MICDROP_CALENDAR__ || {}, e.__MICDROP_CALENDAR__.version = ri, e.__MICDROP_CALENDAR__.configure = oi, e.__MICDROP_CALENDAR__.setConsentRequired =
|
|
3371
|
+
e.__MICDROP_CALENDAR__ = e.__MICDROP_CALENDAR__ || {}, e.__MICDROP_CALENDAR__.version = ri, e.__MICDROP_CALENDAR__.configure = oi, e.__MICDROP_CALENDAR__.setConsentRequired = le, e.__MICDROP_CALENDAR__.setConsentGranted = ve, e.__MICDROP_CALENDAR__.setTrackingOptOut = ae;
|
|
3372
3372
|
try {
|
|
3373
3373
|
let t = e.location, n = /^(localhost|127\.0\.0\.1|\[::1\]|::1)$/.test(t.hostname);
|
|
3374
3374
|
t.protocol !== "https:" && !n && ii.warn("[VC] This page is not served over HTTPS — ticket checkout will NOT work here. The cart-session cookie is Secure-only, so browsers drop it over http:// and buyers hit \"No checkout session found\" at checkout. Serve your site and this embed over https:// to sell tickets.");
|
|
@@ -3379,14 +3379,14 @@ function li(e, t) {
|
|
|
3379
3379
|
return ci.has(e) || ci.set(e, t()), ci.get(e);
|
|
3380
3380
|
}
|
|
3381
3381
|
var $ = {
|
|
3382
|
-
EventPage: () => li("EventPage", () => import("./EventPage-
|
|
3383
|
-
Checkout: () => li("Checkout", () => import("./Checkout-
|
|
3384
|
-
Success: () => li("Success", () => import("./Success-
|
|
3385
|
-
CartView: () => li("CartView", () => import("./CartView-
|
|
3386
|
-
ViewTicketsEmbed: () => li("ViewTicketsEmbed", () => import("./ViewTicketsEmbed-
|
|
3387
|
-
CheckoutMain: () => li("CheckoutMain", () => import("./Checkout-
|
|
3388
|
-
SeriesPage: () => li("SeriesPage", () => import("./SeriesPage-
|
|
3389
|
-
CollectionView: () => li("CollectionView", () => import("./CollectionView-
|
|
3382
|
+
EventPage: () => li("EventPage", () => import("./EventPage-BDmpGhgp.js").then((e) => e.default)),
|
|
3383
|
+
Checkout: () => li("Checkout", () => import("./Checkout-rsX9zvb7.js").then((e) => e.default)),
|
|
3384
|
+
Success: () => li("Success", () => import("./Success-BVYGRvb8.js").then((e) => e.default)),
|
|
3385
|
+
CartView: () => li("CartView", () => import("./CartView-YRimdA6F.js").then((e) => e.default)),
|
|
3386
|
+
ViewTicketsEmbed: () => li("ViewTicketsEmbed", () => import("./ViewTicketsEmbed-D6ZLDsJe.js").then((e) => e.default)),
|
|
3387
|
+
CheckoutMain: () => li("CheckoutMain", () => import("./Checkout-djS62Y9-.js").then((e) => e.default)),
|
|
3388
|
+
SeriesPage: () => li("SeriesPage", () => import("./SeriesPage-DccLByjM.js").then((e) => e.default)),
|
|
3389
|
+
CollectionView: () => li("CollectionView", () => import("./CollectionView-DJMd-lQ5.js").then((e) => e.default))
|
|
3390
3390
|
};
|
|
3391
3391
|
function ui(e, t) {
|
|
3392
3392
|
let n;
|
|
@@ -3397,15 +3397,15 @@ function di(e, t) {
|
|
|
3397
3397
|
}
|
|
3398
3398
|
var fi = !1;
|
|
3399
3399
|
function pi(e, t) {
|
|
3400
|
-
|
|
3400
|
+
pe({
|
|
3401
3401
|
widgetId: e || null,
|
|
3402
3402
|
venueId: t || null
|
|
3403
|
-
}),
|
|
3403
|
+
}), ie(), !(typeof window > "u" || !Re()) && (fi || (fi = !0, window.addEventListener("message", (e) => {
|
|
3404
3404
|
if (e?.source && e.source !== window.parent) return;
|
|
3405
3405
|
let t = e?.data;
|
|
3406
3406
|
if (!t || t.type !== "MICDROP_CONTEXT") return;
|
|
3407
3407
|
let n = t.payload || {};
|
|
3408
|
-
|
|
3408
|
+
I({
|
|
3409
3409
|
search: n.search ?? n.utm ?? null,
|
|
3410
3410
|
referrer: n.referrer ?? null,
|
|
3411
3411
|
pageUrl: n.pageUrl ?? null
|
|
@@ -3475,14 +3475,14 @@ function mi(e = {}) {
|
|
|
3475
3475
|
...S ? { labels: S } : {},
|
|
3476
3476
|
...C ? { locale: C } : {}
|
|
3477
3477
|
};
|
|
3478
|
-
pi(i, n), k && We(k), be(i || null, n || null),
|
|
3478
|
+
pi(i, n), k && We(k), be(i || null, n || null), me(i || null, n || null), oe.querySelector(".micdrop-calendar-container") || oe.replaceChildren();
|
|
3479
3479
|
try {
|
|
3480
3480
|
return di(oe, $e(Dr, {
|
|
3481
3481
|
target: oe,
|
|
3482
3482
|
props: F
|
|
3483
3483
|
}));
|
|
3484
3484
|
} catch (e) {
|
|
3485
|
-
throw
|
|
3485
|
+
throw _e(e, "mount", i || null, n || null), e;
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
3488
|
function hi() {
|
|
@@ -3558,7 +3558,7 @@ async function Ei(e = {}) {
|
|
|
3558
3558
|
}
|
|
3559
3559
|
async function Di(e = {}) {
|
|
3560
3560
|
let { target: t, eventId: n, slug: r = "", venueId: i = "", organizationId: a = "", availableTickets: o = [], onSuccess: s, onNavigateToSuccess: c, stripePublishableKey: l, labels: u, locale: d } = e;
|
|
3561
|
-
l &&
|
|
3561
|
+
l && he(l);
|
|
3562
3562
|
let f = ui(t, "Checkout");
|
|
3563
3563
|
if (!f) return null;
|
|
3564
3564
|
if (!n) return ii.error("Checkout: Event ID is required"), null;
|