@getmicdrop/venue-calendar 4.0.125 → 4.0.126
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/CartView-B9aFeiLN.js +2509 -0
- package/dist/CartView-B9aFeiLN.js.map +1 -0
- package/dist/Checkout-48xwm6As.js +4162 -0
- package/dist/Checkout-48xwm6As.js.map +1 -0
- package/dist/Checkout-BVgVrBY9.js +1854 -0
- package/dist/Checkout-BVgVrBY9.js.map +1 -0
- package/dist/CheckoutTimer-BhCgZiZx.js +147 -0
- package/dist/CheckoutTimer-BhCgZiZx.js.map +1 -0
- package/dist/{ClockIcon-DUp81xG2.js → ClockIcon-CbNo7ZIv.js} +2 -2
- package/dist/{ClockIcon-DUp81xG2.js.map → ClockIcon-CbNo7ZIv.js.map} +1 -1
- package/dist/{CollectionView-Da8CtR_v.js → CollectionView-C8-jKGCR.js} +73 -64
- package/dist/CollectionView-C8-jKGCR.js.map +1 -0
- package/dist/{Event-Dar8qTBL.js → Event-D9bFJ0Ad.js} +1483 -1530
- package/dist/{Event-Dar8qTBL.js.map → Event-D9bFJ0Ad.js.map} +1 -1
- package/dist/EventPage-Dr0IT4V9.js +987 -0
- package/dist/EventPage-Dr0IT4V9.js.map +1 -0
- package/dist/{Heading-Ct46UKqZ.js → Heading-W0r66xC8.js} +4 -4
- package/dist/{Heading-Ct46UKqZ.js.map → Heading-W0r66xC8.js.map} +1 -1
- package/dist/{ScarcityBadge-CLGfFdip.js → ScarcityBadge-D-FV75Zp.js} +12 -12
- package/dist/{ScarcityBadge-CLGfFdip.js.map → ScarcityBadge-D-FV75Zp.js.map} +1 -1
- package/dist/{SeriesPage-Domli2DO.js → SeriesPage-BQVJzHqW.js} +9 -9
- package/dist/{SeriesPage-Domli2DO.js.map → SeriesPage-BQVJzHqW.js.map} +1 -1
- package/dist/{Spinner-hHCfLq0h.js → Spinner-BCYe2kk8.js} +2 -2
- package/dist/{Spinner-hHCfLq0h.js.map → Spinner-BCYe2kk8.js.map} +1 -1
- package/dist/{Success-UXcETPIK.js → Success-zPOifwK_.js} +129 -124
- package/dist/Success-zPOifwK_.js.map +1 -0
- package/dist/{Text-VgIrXS47.js → Text-DZBYT4iQ.js} +19 -19
- package/dist/{Text-VgIrXS47.js.map → Text-DZBYT4iQ.js.map} +1 -1
- package/dist/{VenueCalendar-jQ0Aqqfg.js → VenueCalendar-759NANbc.js} +5015 -4436
- package/dist/VenueCalendar-759NANbc.js.map +1 -0
- package/dist/{ViewTicketsEmbed-DbPq0_bS.js → ViewTicketsEmbed-DvT73NsI.js} +5 -5
- package/dist/{ViewTicketsEmbed-DbPq0_bS.js.map → ViewTicketsEmbed-DvT73NsI.js.map} +1 -1
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.cjs.map +1 -1
- package/dist/api/api.mjs +14 -3
- package/dist/api/api.mjs.map +1 -1
- package/dist/{labels-sHSRa0-J.js → labels-BZI8MJxH.js} +286 -234
- package/dist/labels-BZI8MJxH.js.map +1 -0
- package/dist/{modalManager.svelte-D3qpQ7Uc.js → modalManager.svelte-BXQjP4sY.js} +2 -2
- package/dist/{modalManager.svelte-D3qpQ7Uc.js.map → modalManager.svelte-BXQjP4sY.js.map} +1 -1
- package/dist/{promo-CQWo5Cx1.js → promo-Cmms6651.js} +2 -2
- package/dist/{promo-CQWo5Cx1.js.map → promo-Cmms6651.js.map} +1 -1
- package/dist/seo/seo.cjs +1 -1
- package/dist/seo/seo.cjs.map +1 -1
- package/dist/seo/seo.mjs +5 -2
- package/dist/seo/seo.mjs.map +1 -1
- package/dist/shareCopyFeedback.svelte-Cade1Zzk.js +114 -0
- package/dist/shareCopyFeedback.svelte-Cade1Zzk.js.map +1 -0
- package/dist/{showcase-state-options-DbyTvFOY.js → showcase-state-options-DjWk_E2A.js} +57 -80
- package/dist/showcase-state-options-DjWk_E2A.js.map +1 -0
- package/dist/transform-KCOEf0qs.js +271 -0
- package/dist/transform-KCOEf0qs.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/{utm-CJgBRDqR.js → utm-BFAXxrou.js} +2 -2
- package/dist/utm-BFAXxrou.js.map +1 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +6 -6
- package/dist/venue-calendar.iife.js +115 -52
- package/dist/venue-calendar.iife.js.map +1 -1
- package/dist/venue-calendar.umd.js +108 -45
- package/dist/venue-calendar.umd.js.map +1 -1
- package/package.json +18 -6
- package/dist/CartView-CzHz504D.js +0 -2474
- package/dist/CartView-CzHz504D.js.map +0 -1
- package/dist/Checkout-DR_Utigo.js +0 -1062
- package/dist/Checkout-DR_Utigo.js.map +0 -1
- package/dist/Checkout-rsrsQdGd.js +0 -1731
- package/dist/Checkout-rsrsQdGd.js.map +0 -1
- package/dist/CheckoutTimer-DpOaUXJL.js +0 -141
- package/dist/CheckoutTimer-DpOaUXJL.js.map +0 -1
- package/dist/CollectionView-Da8CtR_v.js.map +0 -1
- package/dist/EventPage-CteVMZby.js +0 -995
- package/dist/EventPage-CteVMZby.js.map +0 -1
- package/dist/Success-UXcETPIK.js.map +0 -1
- package/dist/VenueCalendar-jQ0Aqqfg.js.map +0 -1
- package/dist/labels-sHSRa0-J.js.map +0 -1
- package/dist/showcase-state-options-DbyTvFOY.js.map +0 -1
- package/dist/transform-ChAUdz2-.js +0 -364
- package/dist/transform-ChAUdz2-.js.map +0 -1
- package/dist/utm-CJgBRDqR.js.map +0 -1
|
@@ -3,13 +3,14 @@ import { SvelteMap as De } from "svelte/reactivity";
|
|
|
3
3
|
import * as e from "svelte/internal/client";
|
|
4
4
|
import { r as me } from "./__SKIP_PATHS__-BtJ0tS93.js";
|
|
5
5
|
import { onMount as oe, onDestroy as Ae } from "svelte";
|
|
6
|
-
import { a as fe, c as Ne, r as Ue } from "./utm-
|
|
7
|
-
import { u as de,
|
|
8
|
-
import {
|
|
9
|
-
import { d as ee, m as
|
|
10
|
-
import { O as
|
|
11
|
-
import { C as ye, H as
|
|
12
|
-
import { T as
|
|
6
|
+
import { a as fe, c as Ne, r as Ue } from "./utm-BFAXxrou.js";
|
|
7
|
+
import { u as de, Y as xe, Z as Le, _ as Oe, $ as Me, a0 as Ve, h as ne, a1 as Re, a2 as je, m as He, a3 as Q, a4 as Fe, a5 as Be, a6 as Ge, a7 as qe, a8 as Ze, V as We, r as Ye } from "./VenueCalendar-759NANbc.js";
|
|
8
|
+
import { t as Ke } from "./transform-KCOEf0qs.js";
|
|
9
|
+
import { d as ee, m as Je, a as Qe, b as Xe, c as $e, g as et } from "./showcase-state-options-DjWk_E2A.js";
|
|
10
|
+
import { O as tt, C as pe, d as rt, c as at } from "./labels-BZI8MJxH.js";
|
|
11
|
+
import { C as ye, H as st } from "./Heading-W0r66xC8.js";
|
|
12
|
+
import { T as X, I as lt } from "./Text-DZBYT4iQ.js";
|
|
13
|
+
import { c as nt, E as it, L as ot } from "./shareCopyFeedback.svelte-Cade1Zzk.js";
|
|
13
14
|
var dt = e.from_svg('<path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"></path>'), ct = e.from_svg('<line x1="128" y1="144" x2="128" y2="32" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><polyline points="216 144 216 208 40 208 40 144" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></polyline><polyline points="168 104 128 144 88 104" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></polyline>', 1), vt = e.from_svg('<svg aria-hidden="true" viewBox="0 0 256 256" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><!></svg>');
|
|
14
15
|
function ut(b, t) {
|
|
15
16
|
e.push(t, !0);
|
|
@@ -107,9 +108,9 @@ function _e(b, t) {
|
|
|
107
108
|
let f;
|
|
108
109
|
e.reset(D), e.reset(p);
|
|
109
110
|
var T = e.sibling(p, 2);
|
|
110
|
-
let
|
|
111
|
+
let V;
|
|
111
112
|
var F = e.child(T), x = e.child(F);
|
|
112
|
-
|
|
113
|
+
st(x, {
|
|
113
114
|
level: 1,
|
|
114
115
|
size: "xl",
|
|
115
116
|
weight: "bold",
|
|
@@ -121,7 +122,7 @@ function _e(b, t) {
|
|
|
121
122
|
$$slots: { default: !0 }
|
|
122
123
|
});
|
|
123
124
|
var z = e.sibling(x, 2);
|
|
124
|
-
|
|
125
|
+
X(z, {
|
|
125
126
|
size: "lg",
|
|
126
127
|
weight: "semibold",
|
|
127
128
|
class: "block",
|
|
@@ -133,7 +134,7 @@ function _e(b, t) {
|
|
|
133
134
|
$$slots: { default: !0 }
|
|
134
135
|
});
|
|
135
136
|
var E = e.sibling(z, 2);
|
|
136
|
-
|
|
137
|
+
X(E, {
|
|
137
138
|
size: "sm",
|
|
138
139
|
color: "secondary",
|
|
139
140
|
class: "block",
|
|
@@ -145,8 +146,8 @@ function _e(b, t) {
|
|
|
145
146
|
},
|
|
146
147
|
$$slots: { default: !0 }
|
|
147
148
|
}), e.reset(F);
|
|
148
|
-
var A = e.sibling(F, 2),
|
|
149
|
-
|
|
149
|
+
var A = e.sibling(F, 2), R = e.child(A);
|
|
150
|
+
tt(R, {
|
|
150
151
|
get orderTotals() {
|
|
151
152
|
return t.orderTotals;
|
|
152
153
|
},
|
|
@@ -155,7 +156,7 @@ function _e(b, t) {
|
|
|
155
156
|
}
|
|
156
157
|
}), e.reset(A);
|
|
157
158
|
var j = e.sibling(A, 2), L = e.child(j);
|
|
158
|
-
|
|
159
|
+
X(L, {
|
|
159
160
|
size: "sm",
|
|
160
161
|
weight: "semibold",
|
|
161
162
|
class: "font-mono",
|
|
@@ -169,7 +170,7 @@ function _e(b, t) {
|
|
|
169
170
|
var s = e.sibling(j, 2), m = e.child(s);
|
|
170
171
|
kt(m, { size: "16", class: "shrink-0 text-color-muted" });
|
|
171
172
|
var o = e.sibling(m, 2);
|
|
172
|
-
|
|
173
|
+
X(o, {
|
|
173
174
|
size: "xs",
|
|
174
175
|
color: "secondary",
|
|
175
176
|
children: (n, d) => {
|
|
@@ -180,7 +181,7 @@ function _e(b, t) {
|
|
|
180
181
|
},
|
|
181
182
|
$$slots: { default: !0 }
|
|
182
183
|
}), e.reset(s), e.reset(T), e.reset(r), e.template_effect(() => {
|
|
183
|
-
w = e.set_class(l, 1, "processing-spinner svelte-667vry", null, w, { "fade-out": t.showCheckmark }), f = e.set_class(i, 0, "checkmark-svg svelte-667vry", null, f, { active: t.showCheckmark }),
|
|
184
|
+
w = e.set_class(l, 1, "processing-spinner svelte-667vry", null, w, { "fade-out": t.showCheckmark }), f = e.set_class(i, 0, "checkmark-svg svelte-667vry", null, f, { active: t.showCheckmark }), V = e.set_class(T, 1, "content-section svelte-667vry", null, V, { visible: t.showContent });
|
|
184
185
|
}), e.append(S, r);
|
|
185
186
|
},
|
|
186
187
|
$$slots: { default: !0 }
|
|
@@ -196,7 +197,7 @@ var Ct = e.from_html(" <!>", 1), It = e.from_html('<p class="wallet-note caption
|
|
|
196
197
|
function ke(b, t) {
|
|
197
198
|
e.push(t, !0);
|
|
198
199
|
let a = e.prop(t, "labels", 19, () => ({})), k = e.state(!1);
|
|
199
|
-
const I =
|
|
200
|
+
const I = nt();
|
|
200
201
|
let S = e.state("");
|
|
201
202
|
function U() {
|
|
202
203
|
e.set(k, !e.get(k));
|
|
@@ -211,12 +212,12 @@ function ke(b, t) {
|
|
|
211
212
|
const x = new Date(t.event.startDateTime), z = t.event.endDateTime ? new Date(t.event.endDateTime) : (
|
|
212
213
|
// @datetime-escape: ICS/calendar-URL instant serialized to UTC — tz-independent
|
|
213
214
|
new Date(x.getTime() + 7200 * 1e3)
|
|
214
|
-
), E = (L) => L.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""),
|
|
215
|
+
), E = (L) => L.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), R = [t.event.venue.name, t.event.venue.address].filter(Boolean).join(", ");
|
|
215
216
|
return `https://calendar.google.com/calendar/render?${new URLSearchParams({
|
|
216
217
|
action: "TEMPLATE",
|
|
217
218
|
text: t.event.title,
|
|
218
219
|
dates: `${E(x)}/${E(z)}`,
|
|
219
|
-
location:
|
|
220
|
+
location: R,
|
|
220
221
|
details: `Event: ${t.eventUrl}
|
|
221
222
|
|
|
222
223
|
Ticket confirmation #${t.orderId}`
|
|
@@ -226,14 +227,14 @@ Ticket confirmation #${t.orderId}`
|
|
|
226
227
|
const x = new Date(t.event.startDateTime), z = t.event.endDateTime ? new Date(t.event.endDateTime) : (
|
|
227
228
|
// @datetime-escape: ICS/calendar-URL instant serialized to UTC — tz-independent
|
|
228
229
|
new Date(x.getTime() + 7200 * 1e3)
|
|
229
|
-
), E = (d) => d.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), A = `order-${t.orderId}-event-${t.event.id}@micdrop.com`,
|
|
230
|
+
), E = (d) => d.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), A = `order-${t.orderId}-event-${t.event.id}@micdrop.com`, R = E(/* @__PURE__ */ new Date()), L = [t.event.venue.name, t.event.venue.address].filter(Boolean).join(", "), s = (d) => d ? d.replace(/\\/g, "\\\\").replace(/;/g, "\\;").replace(/,/g, "\\,").replace(/\n/g, "\\n") : "", m = `BEGIN:VCALENDAR
|
|
230
231
|
VERSION:2.0
|
|
231
232
|
PRODID:-//MicDrop//Ticket Confirmation//EN
|
|
232
233
|
CALSCALE:GREGORIAN
|
|
233
234
|
METHOD:PUBLISH
|
|
234
235
|
BEGIN:VEVENT
|
|
235
236
|
UID:${A}
|
|
236
|
-
DTSTAMP:${
|
|
237
|
+
DTSTAMP:${R}
|
|
237
238
|
DTSTART:${E(x)}
|
|
238
239
|
DTEND:${E(z)}
|
|
239
240
|
SUMMARY:${s(t.event.title)}
|
|
@@ -273,15 +274,15 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
|
|
|
273
274
|
window.location.href = t.eventUrl;
|
|
274
275
|
}
|
|
275
276
|
var T = Dt();
|
|
276
|
-
let
|
|
277
|
+
let V;
|
|
277
278
|
var F = e.child(T);
|
|
278
279
|
ye(F, {
|
|
279
280
|
border: !0,
|
|
280
281
|
padding: !1,
|
|
281
282
|
class: "rounded-xl shadow-lg overflow-hidden bg-surface-secondary",
|
|
282
283
|
children: (x, z) => {
|
|
283
|
-
var E = Pt(), A = e.first_child(E),
|
|
284
|
-
|
|
284
|
+
var E = Pt(), A = e.first_child(E), R = e.child(A);
|
|
285
|
+
lt(R, {
|
|
285
286
|
get src() {
|
|
286
287
|
return t.event.imageUrl;
|
|
287
288
|
},
|
|
@@ -295,31 +296,32 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
|
|
|
295
296
|
class: "w-full max-h-60 min-h-24"
|
|
296
297
|
}), e.reset(A);
|
|
297
298
|
var j = e.sibling(A, 2), L = e.child(j), s = e.child(L);
|
|
298
|
-
|
|
299
|
+
X(s, {
|
|
299
300
|
size: "sm",
|
|
300
301
|
weight: "semibold",
|
|
301
|
-
|
|
302
|
-
|
|
302
|
+
leading: "tight",
|
|
303
|
+
class: "block",
|
|
304
|
+
children: (g, y) => {
|
|
303
305
|
e.next();
|
|
304
306
|
var v = e.text();
|
|
305
|
-
e.template_effect(() => e.set_text(v, t.event.title)), e.append(
|
|
307
|
+
e.template_effect(() => e.set_text(v, t.event.title)), e.append(g, v);
|
|
306
308
|
},
|
|
307
309
|
$$slots: { default: !0 }
|
|
308
310
|
});
|
|
309
311
|
var m = e.sibling(s, 2), o = e.child(m);
|
|
310
312
|
pe(o, { size: "16", class: "shrink-0 icon-muted" });
|
|
311
313
|
var n = e.sibling(o, 2);
|
|
312
|
-
|
|
314
|
+
X(n, {
|
|
313
315
|
size: "xs",
|
|
314
316
|
color: "muted",
|
|
315
|
-
children: (
|
|
317
|
+
children: (g, y) => {
|
|
316
318
|
e.next();
|
|
317
319
|
var v = Ct(), C = e.first_child(v), M = e.sibling(C);
|
|
318
320
|
{
|
|
319
321
|
var K = (G) => {
|
|
320
322
|
var re = e.text();
|
|
321
323
|
e.template_effect((se) => e.set_text(re, `· ${se ?? ""}`), [
|
|
322
|
-
() =>
|
|
324
|
+
() => Ve(t.event.startDateTime, t.event.timezone)
|
|
323
325
|
]), e.append(G, re);
|
|
324
326
|
};
|
|
325
327
|
e.if(M, (G) => {
|
|
@@ -328,19 +330,19 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
|
|
|
328
330
|
}
|
|
329
331
|
e.template_effect((G) => e.set_text(C, `${G ?? ""} `), [
|
|
330
332
|
() => Me(t.event.startDateTime, t.event.timezone)
|
|
331
|
-
]), e.append(
|
|
333
|
+
]), e.append(g, v);
|
|
332
334
|
},
|
|
333
335
|
$$slots: { default: !0 }
|
|
334
336
|
}), e.reset(m);
|
|
335
337
|
var d = e.sibling(m, 2), c = e.child(d);
|
|
336
|
-
|
|
338
|
+
X(c, {
|
|
337
339
|
size: "xs",
|
|
338
340
|
color: "muted",
|
|
339
341
|
class: "block",
|
|
340
|
-
children: (
|
|
342
|
+
children: (g, y) => {
|
|
341
343
|
e.next();
|
|
342
344
|
var v = e.text();
|
|
343
|
-
e.template_effect(() => e.set_text(v, t.event.venue.name)), e.append(
|
|
345
|
+
e.template_effect(() => e.set_text(v, t.event.venue.name)), e.append(g, v);
|
|
344
346
|
},
|
|
345
347
|
$$slots: { default: !0 }
|
|
346
348
|
}), e.reset(d), e.reset(L);
|
|
@@ -350,41 +352,41 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
|
|
|
350
352
|
e.reset(O);
|
|
351
353
|
var W = e.sibling(O, 2);
|
|
352
354
|
{
|
|
353
|
-
var
|
|
355
|
+
var J = (g) => {
|
|
354
356
|
var y = It(), v = e.child(y, !0);
|
|
355
|
-
e.reset(y), e.template_effect(() => e.set_text(v, e.get(S))), e.append(
|
|
357
|
+
e.reset(y), e.template_effect(() => e.set_text(v, e.get(S))), e.append(g, y);
|
|
356
358
|
};
|
|
357
|
-
e.if(W, (
|
|
358
|
-
e.get(S) &&
|
|
359
|
+
e.if(W, (g) => {
|
|
360
|
+
e.get(S) && g(J);
|
|
359
361
|
});
|
|
360
362
|
}
|
|
361
363
|
e.reset(P);
|
|
362
|
-
var
|
|
364
|
+
var u = e.sibling(P, 4), N = e.child(u);
|
|
363
365
|
ne(N, {
|
|
364
366
|
variant: "default",
|
|
365
367
|
size: "md",
|
|
366
368
|
class: "w-full",
|
|
367
369
|
onclick: U,
|
|
368
|
-
children: (
|
|
370
|
+
children: (g, y) => {
|
|
369
371
|
var v = Tt(), C = e.first_child(v);
|
|
370
372
|
pe(C, { size: "16" });
|
|
371
373
|
var M = e.sibling(C), K = e.sibling(M);
|
|
372
374
|
{
|
|
373
375
|
let G = e.derived(() => e.get(k) ? "rotate-180" : "");
|
|
374
|
-
|
|
376
|
+
Re(K, {
|
|
375
377
|
size: "16",
|
|
376
378
|
get class() {
|
|
377
379
|
return `ml-auto transition-transform ${e.get(G) ?? ""}`;
|
|
378
380
|
}
|
|
379
381
|
});
|
|
380
382
|
}
|
|
381
|
-
e.template_effect(() => e.set_text(M, ` ${(a().addToCalendar || "Add to calendar") ?? ""} `)), e.append(
|
|
383
|
+
e.template_effect(() => e.set_text(M, ` ${(a().addToCalendar || "Add to calendar") ?? ""} `)), e.append(g, v);
|
|
382
384
|
},
|
|
383
385
|
$$slots: { default: !0 }
|
|
384
386
|
});
|
|
385
387
|
var H = e.sibling(N, 2);
|
|
386
388
|
{
|
|
387
|
-
var _ = (
|
|
389
|
+
var _ = (g) => {
|
|
388
390
|
var y = Et(), v = e.child(y), C = e.child(v), M = e.child(C), K = e.sibling(M), G = e.sibling(K), re = e.sibling(G);
|
|
389
391
|
e.reset(C);
|
|
390
392
|
var se = e.sibling(C);
|
|
@@ -394,31 +396,31 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
|
|
|
394
396
|
var Pe = e.sibling(ge);
|
|
395
397
|
e.reset(le), e.reset(y), e.template_effect(() => {
|
|
396
398
|
e.set_attribute(v, "href", e.get(r)), e.set_attribute(M, "fill", ae.blue), e.set_attribute(K, "fill", ae.green), e.set_attribute(G, "fill", ae.yellow), e.set_attribute(re, "fill", ae.red), e.set_text(se, ` ${(a().googleCalendar || "Google Calendar") ?? ""}`), e.set_text(Pe, ` ${(a().appleCalendar || "Apple Calendar (.ics)") ?? ""}`);
|
|
397
|
-
}), e.delegated("click", v, D), e.delegated("click", le, p), e.append(
|
|
399
|
+
}), e.delegated("click", v, D), e.delegated("click", le, p), e.append(g, y);
|
|
398
400
|
};
|
|
399
|
-
e.if(H, (
|
|
400
|
-
e.get(k) &&
|
|
401
|
+
e.if(H, (g) => {
|
|
402
|
+
e.get(k) && g(_);
|
|
401
403
|
});
|
|
402
404
|
}
|
|
403
|
-
e.reset(
|
|
404
|
-
var Y = e.sibling(
|
|
405
|
+
e.reset(u);
|
|
406
|
+
var Y = e.sibling(u, 2), $ = e.child(Y);
|
|
405
407
|
ne($, {
|
|
406
408
|
variant: "default",
|
|
407
409
|
size: "md",
|
|
408
410
|
class: "flex-1",
|
|
409
411
|
onclick: l,
|
|
410
|
-
children: (
|
|
412
|
+
children: (g, y) => {
|
|
411
413
|
var v = be(), C = e.first_child(v);
|
|
412
|
-
|
|
414
|
+
it(C, { size: "16" });
|
|
413
415
|
var M = e.sibling(C);
|
|
414
|
-
e.template_effect(() => e.set_text(M, ` ${(I.copyState === "copied" ? "Link copied" : a().share || "Share") ?? ""}`)), e.append(
|
|
416
|
+
e.template_effect(() => e.set_text(M, ` ${(I.copyState === "copied" ? "Link copied" : a().share || "Share") ?? ""}`)), e.append(g, v);
|
|
415
417
|
},
|
|
416
418
|
$$slots: { default: !0 }
|
|
417
419
|
});
|
|
418
420
|
var Ce = e.sibling($, 2);
|
|
419
421
|
{
|
|
420
|
-
var Ie = (
|
|
421
|
-
ne(
|
|
422
|
+
var Ie = (g) => {
|
|
423
|
+
ne(g, {
|
|
422
424
|
variant: "default",
|
|
423
425
|
size: "md",
|
|
424
426
|
class: "flex-1",
|
|
@@ -427,26 +429,26 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
|
|
|
427
429
|
},
|
|
428
430
|
children: (y, v) => {
|
|
429
431
|
var C = be(), M = e.first_child(C);
|
|
430
|
-
|
|
432
|
+
ot(M, { size: "16" });
|
|
431
433
|
var K = e.sibling(M);
|
|
432
434
|
e.template_effect(() => e.set_text(K, ` ${(a().map || "Map") ?? ""}`)), e.append(y, C);
|
|
433
435
|
},
|
|
434
436
|
$$slots: { default: !0 }
|
|
435
437
|
});
|
|
436
438
|
};
|
|
437
|
-
e.if(Ce, (
|
|
438
|
-
t.event.venue.address &&
|
|
439
|
+
e.if(Ce, (g) => {
|
|
440
|
+
t.event.venue.address && g(Ie);
|
|
439
441
|
});
|
|
440
442
|
}
|
|
441
443
|
e.reset(Y);
|
|
442
444
|
var ce = e.sibling(Y, 2);
|
|
443
445
|
{
|
|
444
|
-
var Te = (
|
|
446
|
+
var Te = (g) => {
|
|
445
447
|
var y = St(), v = e.sibling(e.child(y)), C = e.child(v, !0);
|
|
446
|
-
e.reset(v), e.reset(y), e.template_effect(() => e.set_text(C, I.copyFailedUrl)), e.append(
|
|
448
|
+
e.reset(v), e.reset(y), e.template_effect(() => e.set_text(C, I.copyFailedUrl)), e.append(g, y);
|
|
447
449
|
};
|
|
448
|
-
e.if(ce, (
|
|
449
|
-
I.copyState === "failed" &&
|
|
450
|
+
e.if(ce, (g) => {
|
|
451
|
+
I.copyState === "failed" && g(Te);
|
|
450
452
|
});
|
|
451
453
|
}
|
|
452
454
|
var ve = e.sibling(ce, 2), te = e.child(ve), ue = e.child(te);
|
|
@@ -455,16 +457,16 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
|
|
|
455
457
|
e.reset(te);
|
|
456
458
|
var Se = e.sibling(te, 2);
|
|
457
459
|
{
|
|
458
|
-
var ze = (
|
|
460
|
+
var ze = (g) => {
|
|
459
461
|
var y = zt(), v = e.sibling(e.first_child(y), 2), C = e.child(v);
|
|
460
462
|
pt(C, { size: "16", class: "shrink-0" });
|
|
461
463
|
var M = e.sibling(C);
|
|
462
464
|
e.reset(v), e.template_effect(() => {
|
|
463
465
|
e.set_attribute(v, "href", `mailto:${t.event.venue.contactEmail ?? ""}?subject=Help with Order ${t.orderId ?? ""}`), e.set_text(M, ` ${(a().needHelp || "Need help?") ?? ""}`);
|
|
464
|
-
}), e.append(
|
|
466
|
+
}), e.append(g, y);
|
|
465
467
|
};
|
|
466
|
-
e.if(Se, (
|
|
467
|
-
t.event.venue.contactEmail &&
|
|
468
|
+
e.if(Se, (g) => {
|
|
469
|
+
t.event.venue.contactEmail && g(ze);
|
|
468
470
|
});
|
|
469
471
|
}
|
|
470
472
|
e.reset(ve), e.reset(j), e.template_effect(() => {
|
|
@@ -472,15 +474,15 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
|
|
|
472
474
|
}), e.delegated("click", h, w), e.delegated("click", O, w), e.delegated("click", te, f), e.append(x, E);
|
|
473
475
|
},
|
|
474
476
|
$$slots: { default: !0 }
|
|
475
|
-
}), e.reset(T), e.template_effect(() =>
|
|
477
|
+
}), e.reset(T), e.template_effect(() => V = e.set_class(T, 1, "actions-wrapper svelte-4szgdz", null, V, { visible: t.showContent })), e.append(b, T), e.pop();
|
|
476
478
|
}
|
|
477
479
|
e.delegate(["click"]);
|
|
478
480
|
var At = e.from_html('<div class="w-full min-h-screen bg-surface-primary text-color-primary"><div class="max-w-6xl mx-auto px-4 py-6 md:px-6 md:py-8"><div class="hidden md:grid grid-cols-booking-split gap-8 items-start"><!> <div class="sticky top-6"><!></div></div> <div class="md:hidden space-y-6"><!> <!></div></div></div>');
|
|
479
481
|
function Nt(b, t) {
|
|
480
482
|
e.push(t, !0);
|
|
481
|
-
const a =
|
|
483
|
+
const a = et();
|
|
482
484
|
let k = e.derived(() => ee.current), I = e.prop(t, "data", 3, void 0), S = e.prop(t, "eventUrl", 3, void 0), U = e.prop(t, "labels", 19, () => ({}));
|
|
483
|
-
const r = e.derived(() => He(
|
|
485
|
+
const r = e.derived(() => He(rt, U()));
|
|
484
486
|
let p = e.derived(() => !I());
|
|
485
487
|
e.user_effect(() => {
|
|
486
488
|
if (e.get(p))
|
|
@@ -490,11 +492,11 @@ function Nt(b, t) {
|
|
|
490
492
|
});
|
|
491
493
|
const D = {
|
|
492
494
|
default: {
|
|
493
|
-
event:
|
|
495
|
+
event: $e,
|
|
494
496
|
orderId: "12847",
|
|
495
497
|
lines: [
|
|
496
498
|
{
|
|
497
|
-
ticketId:
|
|
499
|
+
ticketId: Q(101),
|
|
498
500
|
ticketName: "General Admission",
|
|
499
501
|
quantity: 2,
|
|
500
502
|
unitPrice: 25,
|
|
@@ -502,7 +504,7 @@ function Nt(b, t) {
|
|
|
502
504
|
subtotal: 50
|
|
503
505
|
},
|
|
504
506
|
{
|
|
505
|
-
ticketId:
|
|
507
|
+
ticketId: Q(102),
|
|
506
508
|
ticketName: "VIP Front Row",
|
|
507
509
|
quantity: 1,
|
|
508
510
|
unitPrice: 55,
|
|
@@ -513,11 +515,11 @@ function Nt(b, t) {
|
|
|
513
515
|
customerEmail: "customer@example.com"
|
|
514
516
|
},
|
|
515
517
|
free: {
|
|
516
|
-
event:
|
|
518
|
+
event: Xe,
|
|
517
519
|
orderId: "12848",
|
|
518
520
|
lines: [
|
|
519
521
|
{
|
|
520
|
-
ticketId:
|
|
522
|
+
ticketId: Q(201),
|
|
521
523
|
ticketName: "Free Entry",
|
|
522
524
|
quantity: 2,
|
|
523
525
|
unitPrice: 0,
|
|
@@ -528,11 +530,11 @@ function Nt(b, t) {
|
|
|
528
530
|
customerEmail: "comedy.fan@gmail.com"
|
|
529
531
|
},
|
|
530
532
|
registration: {
|
|
531
|
-
event:
|
|
533
|
+
event: Qe,
|
|
532
534
|
orderId: "12849",
|
|
533
535
|
lines: [
|
|
534
536
|
{
|
|
535
|
-
ticketId:
|
|
537
|
+
ticketId: Q(301),
|
|
536
538
|
ticketName: "Workshop Seat",
|
|
537
539
|
quantity: 1,
|
|
538
540
|
unitPrice: 75,
|
|
@@ -543,11 +545,11 @@ function Nt(b, t) {
|
|
|
543
545
|
customerEmail: "learner@example.com"
|
|
544
546
|
},
|
|
545
547
|
donation: {
|
|
546
|
-
event:
|
|
548
|
+
event: Je,
|
|
547
549
|
orderId: "12850",
|
|
548
550
|
lines: [
|
|
549
551
|
{
|
|
550
|
-
ticketId:
|
|
552
|
+
ticketId: Q(401),
|
|
551
553
|
ticketName: "Donation",
|
|
552
554
|
quantity: 1,
|
|
553
555
|
unitPrice: 25,
|
|
@@ -555,7 +557,7 @@ function Nt(b, t) {
|
|
|
555
557
|
subtotal: 25
|
|
556
558
|
},
|
|
557
559
|
{
|
|
558
|
-
ticketId:
|
|
560
|
+
ticketId: Q(402),
|
|
559
561
|
ticketName: "Standard Admission",
|
|
560
562
|
quantity: 1,
|
|
561
563
|
unitPrice: 30,
|
|
@@ -578,7 +580,7 @@ function Nt(b, t) {
|
|
|
578
580
|
promoDiscount: e.get(l).serverTotals.promoDiscount,
|
|
579
581
|
giftCardAmount: e.get(l).serverTotals.giftCardAmount
|
|
580
582
|
};
|
|
581
|
-
const n = o.reduce((P, h) => P + h.subtotal, 0), d = o.reduce((P, h) => P + h.fee * h.quantity, 0), c =
|
|
583
|
+
const n = o.reduce((P, h) => P + h.subtotal, 0), d = o.reduce((P, h) => P + h.fee * h.quantity, 0), c = at(n + d, e.get(l).event.venue.taxPercentage);
|
|
582
584
|
return {
|
|
583
585
|
lines: o,
|
|
584
586
|
subtotal: n,
|
|
@@ -588,9 +590,9 @@ function Nt(b, t) {
|
|
|
588
590
|
promoDiscount: 0,
|
|
589
591
|
giftCardAmount: 0
|
|
590
592
|
};
|
|
591
|
-
})()), i = e.derived(() => e.get(p) ? typeof window > "u" ? "#" : `${window.location.origin}/e/${e.get(l).event.id}-${e.get(l).event.slug}` : S() || "#"), f = e.state(!1), T = e.state(!1),
|
|
593
|
+
})()), i = e.derived(() => e.get(p) ? typeof window > "u" ? "#" : `${window.location.origin}/e/${e.get(l).event.id}-${e.get(l).event.slug}` : S() || "#"), f = e.state(!1), T = e.state(!1), V = e.state(!1);
|
|
592
594
|
function F() {
|
|
593
|
-
if (e.get(
|
|
595
|
+
if (e.get(V)) {
|
|
594
596
|
e.set(f, !0), e.set(T, !0);
|
|
595
597
|
return;
|
|
596
598
|
}
|
|
@@ -609,7 +611,7 @@ function Nt(b, t) {
|
|
|
609
611
|
e.user_effect(() => {
|
|
610
612
|
e.get(p) && (e.get(k), F());
|
|
611
613
|
}), oe(() => {
|
|
612
|
-
e.set(
|
|
614
|
+
e.set(V, window.matchMedia("(prefers-reduced-motion: reduce)").matches, !0), F();
|
|
613
615
|
});
|
|
614
616
|
var x = At(), z = e.child(x), E = e.child(z), A = e.child(E);
|
|
615
617
|
_e(A, {
|
|
@@ -635,7 +637,7 @@ function Nt(b, t) {
|
|
|
635
637
|
return e.get(r);
|
|
636
638
|
}
|
|
637
639
|
});
|
|
638
|
-
var
|
|
640
|
+
var R = e.sibling(A, 2), j = e.child(R);
|
|
639
641
|
ke(j, {
|
|
640
642
|
get event() {
|
|
641
643
|
return e.get(l).event;
|
|
@@ -652,7 +654,7 @@ function Nt(b, t) {
|
|
|
652
654
|
get labels() {
|
|
653
655
|
return e.get(r);
|
|
654
656
|
}
|
|
655
|
-
}), e.reset(
|
|
657
|
+
}), e.reset(R), e.reset(E);
|
|
656
658
|
var L = e.sibling(E, 2), s = e.child(L);
|
|
657
659
|
_e(s, {
|
|
658
660
|
get event() {
|
|
@@ -697,10 +699,10 @@ function Nt(b, t) {
|
|
|
697
699
|
}), e.reset(L), e.reset(z), e.reset(x), e.append(b, x), e.pop();
|
|
698
700
|
}
|
|
699
701
|
const ie = Ye("Success");
|
|
700
|
-
var Ut = e.from_html('<p class="payment-failed-title svelte-1mm1psu"> </p> <p class="payment-failed-message svelte-1mm1psu"> </p>', 1), Lt = e.from_html('<p class="payment-failed-title svelte-1mm1psu"> </p> <p class="payment-failed-message svelte-1mm1psu"> </p> <a class="payment-failed-retry svelte-1mm1psu"> </a>', 1), Ot = e.from_html('<div class="flex flex-col items-center justify-center py-24 text-center gap-4 payment-failed-container"><!></div>'), Mt = e.from_html('<div class="flex flex-col items-center justify-center py-24 text-center gap-4 error-container svelte-1mm1psu"><p class="svelte-1mm1psu"> </p></div>'),
|
|
701
|
-
function
|
|
702
|
+
var Ut = e.from_html('<p class="payment-failed-title svelte-1mm1psu"> </p> <p class="payment-failed-message svelte-1mm1psu"> </p>', 1), Lt = e.from_html('<p class="payment-failed-title svelte-1mm1psu"> </p> <p class="payment-failed-message svelte-1mm1psu"> </p> <a class="payment-failed-retry svelte-1mm1psu"> </a>', 1), Ot = e.from_html('<div class="flex flex-col items-center justify-center py-24 text-center gap-4 payment-failed-container"><!></div>'), Mt = e.from_html('<div class="flex flex-col items-center justify-center py-24 text-center gap-4 error-container svelte-1mm1psu"><p class="svelte-1mm1psu"> </p></div>'), Vt = e.from_html('<div class="flex items-center justify-center py-24 text-center loading-container svelte-1mm1psu"><p> </p></div>');
|
|
703
|
+
function Qt(b, t) {
|
|
702
704
|
e.push(t, !0);
|
|
703
|
-
let a = e.prop(t, "data", 19, () => ({})), k = e.prop(t, "browseUrl", 3, "/"), I = e.prop(t, "eventUrl", 3, void 0), S = e.prop(t, "widgetId", 3, null), U = e.prop(t, "venueId", 3, null), r = e.prop(t, "labels", 19, () => ({})), p = e.state(null), D = e.state(""), l = e.state(null), w = e.state(!0), i = e.derived(() => String(a()?.redirectStatus || "")), f = e.derived(() => e.get(i) !== "" && e.get(i) !== "succeeded"), T = e.derived(() => e.get(i) === "pending" || e.get(i) === "processing"),
|
|
705
|
+
let a = e.prop(t, "data", 19, () => ({})), k = e.prop(t, "browseUrl", 3, "/"), I = e.prop(t, "eventUrl", 3, void 0), S = e.prop(t, "widgetId", 3, null), U = e.prop(t, "venueId", 3, null), r = e.prop(t, "labels", 19, () => ({})), p = e.state(null), D = e.state(""), l = e.state(null), w = e.state(!0), i = e.derived(() => String(a()?.redirectStatus || "")), f = e.derived(() => e.get(i) !== "" && e.get(i) !== "succeeded"), T = e.derived(() => e.get(i) === "pending" || e.get(i) === "processing"), V = e.state(!1), F = e.state(!1);
|
|
704
706
|
async function x(s, m) {
|
|
705
707
|
if (!s) return "unconfirmed";
|
|
706
708
|
const o = xt(s);
|
|
@@ -724,9 +726,9 @@ function Xt(b, t) {
|
|
|
724
726
|
return;
|
|
725
727
|
}
|
|
726
728
|
if (e.get(i) === "succeeded") {
|
|
727
|
-
const
|
|
729
|
+
const u = String(a()?.orderId || a()?.orderUuid || ""), N = await x(u, String(a()?.paymentIntentId || ""));
|
|
728
730
|
if (N !== "ok") {
|
|
729
|
-
N === "no-charge" ? e.set(F, !0) : e.set(
|
|
731
|
+
N === "no-charge" ? e.set(F, !0) : e.set(V, !0), e.set(w, !1);
|
|
730
732
|
return;
|
|
731
733
|
}
|
|
732
734
|
}
|
|
@@ -749,8 +751,8 @@ function Xt(b, t) {
|
|
|
749
751
|
currency: Z
|
|
750
752
|
} = a() || {};
|
|
751
753
|
{
|
|
752
|
-
const { postMessageOnSuccess:
|
|
753
|
-
if (
|
|
754
|
+
const { postMessageOnSuccess: u, postMessageTargetOrigin: N } = Fe();
|
|
755
|
+
if (u) {
|
|
754
756
|
const H = {
|
|
755
757
|
orderId: String(n || d || ""),
|
|
756
758
|
eventId: s ?? a()?.eventId ?? o?.id ?? null
|
|
@@ -759,9 +761,9 @@ function Xt(b, t) {
|
|
|
759
761
|
}
|
|
760
762
|
}
|
|
761
763
|
{
|
|
762
|
-
const
|
|
763
|
-
|
|
764
|
-
eventId:
|
|
764
|
+
const u = s ?? a()?.eventId ?? o?.id ?? null, N = String(n || d || ""), H = "micdrop_purchased_orders", _ = xe(H, []) ?? [], Y = !!N && _.includes(N);
|
|
765
|
+
u != null && !Y && (Ge(u, S(), U() || o?.venueID || o?.venueId || null), qe({
|
|
766
|
+
eventId: u,
|
|
765
767
|
orderId: N,
|
|
766
768
|
value: typeof h == "number" ? h : null,
|
|
767
769
|
currency: Z,
|
|
@@ -771,18 +773,18 @@ function Xt(b, t) {
|
|
|
771
773
|
e.set(D, I() || `${window.location.origin}/e/${s}-${m}`, !0);
|
|
772
774
|
let O;
|
|
773
775
|
try {
|
|
774
|
-
O =
|
|
775
|
-
} catch (
|
|
776
|
-
ie.warn("Success: transformApiEvent failed:",
|
|
776
|
+
O = Ke(o);
|
|
777
|
+
} catch (u) {
|
|
778
|
+
ie.warn("Success: transformApiEvent failed:", u), e.set(l, r().failedToLoadEventData || "Failed to load event data", !0), e.set(w, !1);
|
|
777
779
|
return;
|
|
778
780
|
}
|
|
779
|
-
let B = n || "", q = c || "", W = [],
|
|
781
|
+
let B = n || "", q = c || "", W = [], J = null;
|
|
780
782
|
if (B)
|
|
781
783
|
try {
|
|
782
|
-
const
|
|
783
|
-
if (
|
|
784
|
-
q =
|
|
785
|
-
const N =
|
|
784
|
+
const u = await fe(B);
|
|
785
|
+
if (u) {
|
|
786
|
+
q = u.customerEmail || q;
|
|
787
|
+
const N = u.purchasedTickets || u.tickets || [], H = new De();
|
|
786
788
|
for (const _ of N) {
|
|
787
789
|
const Y = `${_.ticketTypeId || _.ticketId || 0}-${_.ticketName || _.name || ""}`, $ = H.get(Y);
|
|
788
790
|
$ ? ($.quantity += 1, $.subtotal += _.purchasePrice || _.price || 0) : H.set(Y, {
|
|
@@ -799,25 +801,28 @@ function Xt(b, t) {
|
|
|
799
801
|
subtotal: _.purchasePrice || _.price || 0
|
|
800
802
|
});
|
|
801
803
|
}
|
|
802
|
-
if (W = Array.from(H.values()), typeof
|
|
803
|
-
const _ = Number(
|
|
804
|
-
|
|
805
|
-
subtotal:
|
|
806
|
-
fees:
|
|
807
|
-
|
|
804
|
+
if (W = Array.from(H.values()), typeof u.totalPrice == "number") {
|
|
805
|
+
const _ = Number(u.totalPrice) - Number(u.giftCardPaymentAmount ?? 0);
|
|
806
|
+
J = {
|
|
807
|
+
subtotal: u.basePrice ?? 0,
|
|
808
|
+
fees: u.surcharge ?? 0,
|
|
809
|
+
// Legit-zero: a completed order with no tax is a real 0 (a
|
|
810
|
+
// tax-exempt purchase), not a missing price — this is a receipt of
|
|
811
|
+
// an already-charged order. Null-check avoids the `?? 0` flag.
|
|
812
|
+
taxes: u.tax == null ? 0 : u.tax,
|
|
808
813
|
total: _,
|
|
809
|
-
promoDiscount:
|
|
810
|
-
giftCardAmount:
|
|
814
|
+
promoDiscount: u.promoCodeStoredDiscountAmount ?? 0,
|
|
815
|
+
giftCardAmount: u.giftCardPaymentAmount ?? 0,
|
|
811
816
|
stripeAmount: _
|
|
812
817
|
};
|
|
813
818
|
}
|
|
814
819
|
}
|
|
815
|
-
} catch (
|
|
816
|
-
ie.warn("Success: getOrder failed, using route params:",
|
|
820
|
+
} catch (u) {
|
|
821
|
+
ie.warn("Success: getOrder failed, using route params:", u);
|
|
817
822
|
}
|
|
818
823
|
W.length === 0 && P > 0 && (W = [
|
|
819
824
|
{
|
|
820
|
-
ticketId:
|
|
825
|
+
ticketId: Q(0),
|
|
821
826
|
ticketName: r().ticketFallbackName || "Ticket",
|
|
822
827
|
quantity: P,
|
|
823
828
|
unitPrice: 0,
|
|
@@ -831,7 +836,7 @@ function Xt(b, t) {
|
|
|
831
836
|
orderId: String(B),
|
|
832
837
|
lines: W,
|
|
833
838
|
customerEmail: q,
|
|
834
|
-
...
|
|
839
|
+
...J ? { serverTotals: J } : {}
|
|
835
840
|
},
|
|
836
841
|
!0
|
|
837
842
|
), Ne(String(s)), Ue("checkout-cartid"), e.set(w, !1);
|
|
@@ -846,7 +851,7 @@ function Xt(b, t) {
|
|
|
846
851
|
e.reset(h);
|
|
847
852
|
var O = e.sibling(h, 2), B = e.child(O, !0);
|
|
848
853
|
e.reset(O), e.template_effect(() => {
|
|
849
|
-
e.set_text(Z, r().paymentNotConfirmedTitle || "Payment not confirmed"), e.set_text(B, r().paymentNotConfirmedMessage || "We couldn
|
|
854
|
+
e.set_text(Z, r().paymentNotConfirmedTitle || "Payment not confirmed"), e.set_text(B, r().paymentNotConfirmedMessage || "We couldn't confirm this payment yet. If it completes, a confirmation email will arrive shortly — please don't try again until then");
|
|
850
855
|
}), e.append(c, P);
|
|
851
856
|
}, d = (c) => {
|
|
852
857
|
var P = Lt(), h = e.first_child(P), Z = e.child(h, !0);
|
|
@@ -855,8 +860,8 @@ function Xt(b, t) {
|
|
|
855
860
|
e.reset(O);
|
|
856
861
|
var q = e.sibling(O, 2), W = e.child(q, !0);
|
|
857
862
|
e.reset(q), e.template_effect(
|
|
858
|
-
(
|
|
859
|
-
e.set_text(Z, r().paymentNotCompletedTitle || "Payment wasn't completed"), e.set_text(B, r().paymentNotCompletedMessage || "The payment didn
|
|
863
|
+
(J) => {
|
|
864
|
+
e.set_text(Z, r().paymentNotCompletedTitle || "Payment wasn't completed"), e.set_text(B, r().paymentNotCompletedMessage || "The payment didn't go through, so no tickets were issued. You can head back to the event and try again"), e.set_attribute(q, "href", J), e.set_text(W, r().backToEvent || "Back to event");
|
|
860
865
|
},
|
|
861
866
|
[
|
|
862
867
|
() => a()?.id && a()?.slug ? me("/[id]/[slug]", { id: String(a().id), slug: String(a().slug) }) : me(k(), {})
|
|
@@ -864,16 +869,16 @@ function Xt(b, t) {
|
|
|
864
869
|
), e.append(c, P);
|
|
865
870
|
};
|
|
866
871
|
e.if(o, (c) => {
|
|
867
|
-
e.get(T) || e.get(
|
|
872
|
+
e.get(T) || e.get(V) ? c(n) : c(d, -1);
|
|
868
873
|
});
|
|
869
874
|
}
|
|
870
875
|
e.reset(m), e.append(s, m);
|
|
871
|
-
},
|
|
876
|
+
}, R = (s) => {
|
|
872
877
|
var m = Mt(), o = e.child(m), n = e.child(o, !0);
|
|
873
878
|
e.reset(o), e.reset(m), e.template_effect(() => e.set_text(n, e.get(l))), e.append(s, m);
|
|
874
879
|
}, j = (s) => {
|
|
875
|
-
var m =
|
|
876
|
-
e.reset(o), e.reset(m), e.template_effect(() => e.set_text(n, r().loadingYourOrder || "Loading your order")), e.append(s, m);
|
|
880
|
+
var m = Vt(), o = e.child(m), n = e.child(o, !0);
|
|
881
|
+
e.reset(o), e.reset(m), e.template_effect(() => e.set_text(n, r().loadingYourOrder || "Loading your order...")), e.append(s, m);
|
|
877
882
|
}, L = (s) => {
|
|
878
883
|
Nt(s, {
|
|
879
884
|
get data() {
|
|
@@ -885,12 +890,12 @@ function Xt(b, t) {
|
|
|
885
890
|
});
|
|
886
891
|
};
|
|
887
892
|
e.if(E, (s) => {
|
|
888
|
-
e.get(f) || e.get(F) || e.get(
|
|
893
|
+
e.get(f) || e.get(F) || e.get(V) ? s(A) : e.get(l) ? s(R, 1) : e.get(w) || !e.get(p) ? s(j, 2) : s(L, -1);
|
|
889
894
|
});
|
|
890
895
|
}
|
|
891
896
|
e.append(b, z), e.pop();
|
|
892
897
|
}
|
|
893
898
|
export {
|
|
894
|
-
|
|
899
|
+
Qt as default
|
|
895
900
|
};
|
|
896
|
-
//# sourceMappingURL=Success-
|
|
901
|
+
//# sourceMappingURL=Success-zPOifwK_.js.map
|