@getmicdrop/venue-calendar 4.3.39 → 4.3.40
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/{ArrowLeftIcon-BMuyNOqe.js → ArrowLeftIcon-DahiD9EF.js} +1 -1
- package/dist/{BlockPlaceholder-CUusOhOf.js → BlockPlaceholder-BfbLTliy.js} +1 -1
- package/dist/{Calendar-Dy-jZDff.js → Calendar-CM-dDG7x.js} +13 -13
- package/dist/{CalendarFoundryView-BWyEe7Xe.js → CalendarFoundryView-Bv0EsOwe.js} +630 -612
- package/dist/{CalendarIcon-B1JasL-W.js → CalendarIcon-DOAS1a6F.js} +1 -1
- package/dist/{CartView-CyU9g9ss.js → CartView-CYJMgWS2.js} +615 -617
- package/dist/{Checkout-DrP1KLR_.js → Checkout-C8BrLSYw.js} +54 -54
- package/dist/{Checkout-BGXlW2j2.js → Checkout-D6GEwsKQ.js} +24 -24
- package/dist/{CheckoutTimer-CAKT63di.js → CheckoutTimer-DjaTq2_0.js} +2 -2
- package/dist/{ChevronDownIcon--mG1fNDx.js → ChevronDownIcon-CiYpE3Hq.js} +1 -1
- package/dist/{ClockIcon-B8ahXV8G.js → ClockIcon-BSlM7HM2.js} +1 -1
- package/dist/{CloseIcon-C9guTa4C.js → CloseIcon-ojn3Lny5.js} +1 -1
- package/dist/{CollectionView-BhBCM-01.js → CollectionView-BZuyx4kC.js} +5 -5
- package/dist/{Event-DyX1UrZe.js → Event-CqQ0yP-h.js} +87 -87
- package/dist/{EventPage-DxyEqU7R.js → EventPage-CMH2gocB.js} +9 -9
- package/dist/{Input-DNzDcf6I.js → Input-Ck0Q7LwW.js} +1 -1
- package/dist/{MailIcon-Cf77TYiB.js → MailIcon-CqCCKGgC.js} +1 -1
- package/dist/{PasswordInput-C-BH1Do3.js → PasswordInput-yTDvehkW.js} +1 -1
- package/dist/{RecommendationsRail-CG0vCtgJ.js → RecommendationsRail-CN_dtLWp.js} +131 -131
- package/dist/{ScarcityBadge-D0D6Hqp0.js → ScarcityBadge-BJrsvt6e.js} +8 -8
- package/dist/{SeriesPage-D9_Nn8gF.js → SeriesPage-B1bK_MeR.js} +3 -3
- package/dist/{Success-Db843hJe.js → Success-D8dgqzkd.js} +44 -44
- package/dist/{TagIcon-DUY8KSZ0.js → TagIcon-D_kSJfGZ.js} +1 -1
- package/dist/{WarningCircleIcon-C1-Aj9ut.js → WarningCircleIcon-DhNvSQag.js} +1 -1
- package/dist/{WarningTriIcon-BrwQ58VB.js → WarningTriIcon-V6pL3ERG.js} +1 -1
- package/dist/{api-DDVVRbC-.js → api-Di0gC83p.js} +1 -1
- package/dist/{constants-7hsFMWgp.js → constants-CQ8nJvPW.js} +1 -1
- package/dist/{copyToClipboard-4LAkJ_1y.js → copyToClipboard-zcPgoppJ.js} +1 -1
- package/dist/{event-transform-CbFR1hRl.js → event-transform-BpB65AAX.js} +4 -4
- package/dist/{href-B4azVXj-.js → href-B-lH1SYh.js} +1 -1
- package/dist/{i18n-srcm-H61.js → i18n-BpodazP1.js} +102 -102
- package/dist/{order-totals-DFE6UVG4.js → order-totals-iUg6d6MJ.js} +1 -1
- package/dist/{phoneUtils-CxLRaM5n.js → phoneUtils-BPEB92vB.js} +1 -1
- package/dist/{scarcity-DqbDh1cS.js → scarcity-CJ6IsR7f.js} +2 -11
- package/dist/{to-event-card-props-CRaeqRxY.js → to-event-card-props-Cr5Uq0Ef.js} +8 -8
- package/dist/{utils-kRsfuFcG.js → utils-CG0ZJ6gb.js} +1 -1
- package/dist/venue-calendar.es.js +59 -59
- package/dist/venue-calendar.iife.js +59 -59
- package/dist/venue-calendar.umd.js +56 -56
- package/package.json +2 -2
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/de.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/es.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/id.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/it.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/flow/zh.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/de.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/es.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/fr.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/id.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/it.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/ja.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/ko.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/nl.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/pl.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/pt-br.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/tr.js +0 -0
- /package/dist/locales/{4.3.39 → 4.3.40}/main/zh.js +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as i } from "./ArrowLeftIcon-
|
|
4
|
-
import { t as a } from "./CalendarIcon-
|
|
5
|
-
import { t as o } from "./ChevronDownIcon
|
|
6
|
-
import { n as s, t as c } from "./MailIcon-
|
|
7
|
-
import { n as l, o as u, r as d, t as f } from "./RecommendationsRail-
|
|
8
|
-
import { n as p } from "./copyToClipboard-
|
|
2
|
+
import { K as t, c as n, r } from "./scarcity-CJ6IsR7f.js";
|
|
3
|
+
import { t as i } from "./ArrowLeftIcon-DahiD9EF.js";
|
|
4
|
+
import { t as a } from "./CalendarIcon-DOAS1a6F.js";
|
|
5
|
+
import { t as o } from "./ChevronDownIcon-CiYpE3Hq.js";
|
|
6
|
+
import { n as s, t as c } from "./MailIcon-CqCCKGgC.js";
|
|
7
|
+
import { n as l, o as u, r as d, t as f } from "./RecommendationsRail-CN_dtLWp.js";
|
|
8
|
+
import { n as p } from "./copyToClipboard-zcPgoppJ.js";
|
|
9
9
|
import { U as m, V as h, i as g } from "./defaultLabels-BkjXKQDd.js";
|
|
10
10
|
import { H as _, Q as v, X as y, _ as b, et as x, s as S } from "./orders-DABdaHOy.js";
|
|
11
11
|
import { t as C } from "./liveAnnouncer-D3xVL7qA.js";
|
|
12
12
|
import { n as w, t as T } from "./Heading-D6bWtGZA.js";
|
|
13
13
|
import { t as E } from "./Text-CqjLjIF8.js";
|
|
14
|
-
import { g as D, h as O } from "./api-
|
|
14
|
+
import { g as D, h as O } from "./api-Di0gC83p.js";
|
|
15
15
|
import { c as k, r as A } from "./pixels-BVOE_JFH.js";
|
|
16
|
-
import { i as j, n as M, t as N } from "./i18n-
|
|
16
|
+
import { i as j, n as M, t as N } from "./i18n-BpodazP1.js";
|
|
17
17
|
import { n as P, t as F } from "./i18n--YZExMpe.js";
|
|
18
18
|
import { t as I } from "./__SKIP_PATHS__-C0ixDSSm.js";
|
|
19
|
-
import { C as ee, d as L, l as R, n as te } from "./utils-
|
|
20
|
-
import { n as z, t as B } from "./constants-
|
|
19
|
+
import { C as ee, d as L, l as R, n as te } from "./utils-CG0ZJ6gb.js";
|
|
20
|
+
import { n as z, t as B } from "./constants-CQ8nJvPW.js";
|
|
21
21
|
import { a as V, i as H, n as U, o as ne, r as W, s as G } from "./showcase-state-options-Dwn2NLOM.js";
|
|
22
22
|
import { n as re, t as ie } from "./buyerEmail-BfCq-gDt.js";
|
|
23
23
|
import { r as K } from "./defaults-DthmKRyG.js";
|
|
@@ -27,9 +27,9 @@ import { SvelteMap as J } from "svelte/reactivity";
|
|
|
27
27
|
import { onDestroy as ae, onMount as Y } from "svelte";
|
|
28
28
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/HelpIcon.svelte
|
|
29
29
|
var X = q.from_svg("<path d=\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z\"></path>"), oe = q.from_svg("<circle cx=\"128\" cy=\"180\" r=\"12\"></circle><path d=\"M128,144v-8c17.67,0,32-12.54,32-28s-14.33-28-32-28S96,92.54,96,108v4\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><circle cx=\"128\" cy=\"128\" r=\"96\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></circle>", 1), se = q.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
|
|
30
|
-
function ce(e,
|
|
31
|
-
q.push(
|
|
32
|
-
let r = q.prop(
|
|
30
|
+
function ce(e, n) {
|
|
31
|
+
q.push(n, !0);
|
|
32
|
+
let r = q.prop(n, "size", 3, "24"), i = q.prop(n, "color", 3, "currentColor"), a = q.prop(n, "class", 3, ""), o = t(), s = q.derived(() => n.weight ?? o?.weight ?? "regular");
|
|
33
33
|
var c = se();
|
|
34
34
|
let l;
|
|
35
35
|
var u = q.child(c), d = (e) => {
|
|
@@ -209,9 +209,9 @@ var Q = {
|
|
|
209
209
|
yellow: "#fbbc05",
|
|
210
210
|
red: "#ea4335"
|
|
211
211
|
}, ge = q.from_html(" <!>", 1), _e = q.from_html("<p class=\"wallet-note caption svelte-4szgdz\"> </p>"), ve = q.from_html("<!> <!>", 1), ye = q.from_html("<div class=\"dropdown-menu bg-surface-primary border-default svelte-4szgdz\"><a rel=\"external noopener noreferrer\" class=\"dropdown-item type-body text-color-primary hover:bg-surface-secondary svelte-4szgdz\"><svg aria-hidden=\"true\" class=\"shrink-0\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z\"></path><path d=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z\"></path><path d=\"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18A10.96 10.96 0 0 0 1 12c0 1.77.42 3.45 1.18 4.93l3.66-2.84z\"></path><path d=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z\"></path></svg> </a> <button type=\"button\" class=\"dropdown-item type-body text-color-primary hover:bg-surface-secondary svelte-4szgdz\"><!> </button></div>"), be = q.from_html("<!> ", 1), xe = q.from_html("<p class=\"copy-fallback caption svelte-4szgdz\">Copy failed — select to copy: <span class=\"copy-url svelte-4szgdz\"> </span></p>"), Se = q.from_html("<span class=\"text-color-muted\">·</span> <a class=\"text-link type-caption text-color-muted hover:text-color-secondary svelte-4szgdz\"><!> </a>", 1), Ce = q.from_html("<div class=\"rounded-t-xl overflow-hidden bg-surface-tertiary\"><!></div> <div class=\"p-5 space-y-4\"><div><!> <div class=\"flex items-center gap-1.5 mt-1.5\"><!> <!></div> <div class=\"mt-0.5\"><!></div></div> <div class=\"flex flex-col items-center gap-3\"><button type=\"button\" class=\"wallet-badge-btn svelte-4szgdz\"><img src=\"/wallet-badges/apple-wallet.svg\" class=\"wallet-badge-img svelte-4szgdz\"/></button> <button type=\"button\" class=\"wallet-badge-btn svelte-4szgdz\"><img src=\"/wallet-badges/google-wallet-dark.svg\" class=\"wallet-badge-img google-dark svelte-4szgdz\"/> <img src=\"/wallet-badges/google-wallet-light.svg\" class=\"wallet-badge-img google-light svelte-4szgdz\"/></button> <!></div> <div class=\"divider\"></div> <div class=\"calendar-dropdown relative\"><!> <!></div> <div class=\"flex gap-2\"><!> <!></div> <!> <div class=\"flex items-center justify-center gap-4 pt-1\"><button type=\"button\" class=\"text-link type-caption text-color-muted hover:text-color-secondary svelte-4szgdz\"><!> </button> <!></div></div>", 1), we = q.from_html("<div><!></div>");
|
|
212
|
-
function Te(e,
|
|
213
|
-
q.push(
|
|
214
|
-
let c = q.prop(
|
|
212
|
+
function Te(e, t) {
|
|
213
|
+
q.push(t, !0);
|
|
214
|
+
let c = q.prop(t, "backHref", 3, void 0), d = q.prop(t, "labels", 3, z), f = q.prop(t, "locale", 3, void 0), h = q.derived(() => c() || t.eventUrl), _ = q.state(!1), v = l(), y = q.state("");
|
|
215
215
|
q.user_effect(() => {
|
|
216
216
|
q.get(y) && C(q.get(y), { politeness: "polite" });
|
|
217
217
|
}), q.user_effect(() => {
|
|
@@ -227,17 +227,17 @@ function Te(e, n) {
|
|
|
227
227
|
return document.addEventListener("click", e), () => document.removeEventListener("click", e);
|
|
228
228
|
});
|
|
229
229
|
let x = q.derived(() => (() => {
|
|
230
|
-
let e = new Date(
|
|
230
|
+
let e = new Date(t.event.startDateTime), n = t.event.endDateTime ? new Date(t.event.endDateTime) : new Date(e.getTime() + 72e5), r = (e) => e.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), i = [t.event.venue.name, t.event.venue.address].filter(Boolean).join(", ");
|
|
231
231
|
return `https://calendar.google.com/calendar/render?${new URLSearchParams({
|
|
232
232
|
action: "TEMPLATE",
|
|
233
|
-
text:
|
|
234
|
-
dates: `${r(e)}/${r(
|
|
233
|
+
text: t.event.title,
|
|
234
|
+
dates: `${r(e)}/${r(n)}`,
|
|
235
235
|
location: i,
|
|
236
|
-
details: `Event: ${
|
|
236
|
+
details: `Event: ${t.eventUrl}\n\nTicket confirmation #${t.orderId}`
|
|
237
237
|
}).toString()}`;
|
|
238
238
|
})());
|
|
239
239
|
function S() {
|
|
240
|
-
let e = new Date(
|
|
240
|
+
let e = new Date(t.event.startDateTime), n = t.event.endDateTime ? new Date(t.event.endDateTime) : new Date(e.getTime() + 72e5), r = (e) => e.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), i = `order-${t.orderId}-event-${t.event.id}@micdrop.com`, a = r(/* @__PURE__ */ new Date()), o = [t.event.venue.name, t.event.venue.address].filter(Boolean).join(", "), s = (e) => e ? e.replace(/\\/g, "\\\\").replace(/;/g, "\\;").replace(/,/g, "\\,").replace(/\n/g, "\\n") : "", c = `BEGIN:VCALENDAR
|
|
241
241
|
VERSION:2.0
|
|
242
242
|
PRODID:-//MicDrop//Ticket Confirmation//EN
|
|
243
243
|
CALSCALE:GREGORIAN
|
|
@@ -246,17 +246,17 @@ BEGIN:VEVENT
|
|
|
246
246
|
UID:${i}
|
|
247
247
|
DTSTAMP:${a}
|
|
248
248
|
DTSTART:${r(e)}
|
|
249
|
-
DTEND:${r(
|
|
250
|
-
SUMMARY:${s(
|
|
249
|
+
DTEND:${r(n)}
|
|
250
|
+
SUMMARY:${s(t.event.title)}
|
|
251
251
|
LOCATION:${s(o)}
|
|
252
|
-
DESCRIPTION:${s(`Order #${
|
|
253
|
-
URL:${
|
|
252
|
+
DESCRIPTION:${s(`Order #${t.orderId}\n\nView event: ${t.eventUrl}`)}
|
|
253
|
+
URL:${t.eventUrl}
|
|
254
254
|
STATUS:CONFIRMED
|
|
255
255
|
END:VEVENT
|
|
256
256
|
END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u = URL.createObjectURL(l);
|
|
257
257
|
try {
|
|
258
258
|
let e = document.createElement("a");
|
|
259
|
-
e.href = u, e.download = `${(
|
|
259
|
+
e.href = u, e.download = `${(t.event.title || "event").replace(/[^a-zA-Z0-9\s-]/g, "").replace(/\s+/g, "-")}.ics`, document.body.appendChild(e), e.click(), e.remove();
|
|
260
260
|
} finally {
|
|
261
261
|
URL.revokeObjectURL(u);
|
|
262
262
|
}
|
|
@@ -266,14 +266,14 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
|
|
|
266
266
|
q.set(_, !1);
|
|
267
267
|
}
|
|
268
268
|
function D() {
|
|
269
|
-
v.share(
|
|
269
|
+
v.share(t.eventUrl);
|
|
270
270
|
}
|
|
271
271
|
function O() {
|
|
272
272
|
q.set(y, d().walletComingSoon || "Wallet passes are coming soon. Your ticket is confirmed — check your email", !0);
|
|
273
273
|
}
|
|
274
274
|
ae(v.dispose);
|
|
275
275
|
let k = q.derived(() => (() => {
|
|
276
|
-
let e = [
|
|
276
|
+
let e = [t.event.venue.name, t.event.venue.address].filter(Boolean);
|
|
277
277
|
return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(e.join(", "))}`;
|
|
278
278
|
})());
|
|
279
279
|
function A() {
|
|
@@ -290,10 +290,10 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
|
|
|
290
290
|
var l = Ce(), h = q.first_child(l), C = q.child(h);
|
|
291
291
|
m(C, {
|
|
292
292
|
get src() {
|
|
293
|
-
return
|
|
293
|
+
return t.event.imageUrl;
|
|
294
294
|
},
|
|
295
295
|
get alt() {
|
|
296
|
-
return
|
|
296
|
+
return t.event.title;
|
|
297
297
|
},
|
|
298
298
|
get fallback() {
|
|
299
299
|
return B;
|
|
@@ -307,10 +307,10 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
|
|
|
307
307
|
weight: "semibold",
|
|
308
308
|
leading: "tight",
|
|
309
309
|
class: "block",
|
|
310
|
-
children: (e,
|
|
310
|
+
children: (e, n) => {
|
|
311
311
|
q.next();
|
|
312
312
|
var r = q.text();
|
|
313
|
-
q.template_effect(() => q.set_text(r,
|
|
313
|
+
q.template_effect(() => q.set_text(r, t.event.title)), q.append(e, r);
|
|
314
314
|
},
|
|
315
315
|
$$slots: { default: !0 }
|
|
316
316
|
});
|
|
@@ -327,11 +327,11 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
|
|
|
327
327
|
q.next();
|
|
328
328
|
var a = ge(), o = q.first_child(a), s = q.sibling(o), c = (e) => {
|
|
329
329
|
var r = q.text();
|
|
330
|
-
q.template_effect((e) => q.set_text(r, `· ${e ?? ""}`), [() => t
|
|
330
|
+
q.template_effect((e) => q.set_text(r, `· ${e ?? ""}`), [() => n(t.event.startDateTime, t.event.timezone, f())]), q.append(e, r);
|
|
331
331
|
};
|
|
332
332
|
q.if(s, (e) => {
|
|
333
|
-
|
|
334
|
-
}), q.template_effect((e) => q.set_text(o, `${e ?? ""} `), [() => r(
|
|
333
|
+
t.event.displayStartTime !== !1 && e(c);
|
|
334
|
+
}), q.template_effect((e) => q.set_text(o, `${e ?? ""} `), [() => r(t.event.startDateTime, t.event.timezone, f())]), q.append(e, a);
|
|
335
335
|
},
|
|
336
336
|
$$slots: { default: !0 }
|
|
337
337
|
}), q.reset(N);
|
|
@@ -340,10 +340,10 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
|
|
|
340
340
|
size: "xs",
|
|
341
341
|
color: "muted",
|
|
342
342
|
class: "block",
|
|
343
|
-
children: (e,
|
|
343
|
+
children: (e, n) => {
|
|
344
344
|
q.next();
|
|
345
345
|
var r = q.text();
|
|
346
|
-
q.template_effect(() => q.set_text(r,
|
|
346
|
+
q.template_effect(() => q.set_text(r, t.event.venue.name)), q.append(e, r);
|
|
347
347
|
},
|
|
348
348
|
$$slots: { default: !0 }
|
|
349
349
|
}), q.reset(I), q.reset(j);
|
|
@@ -431,7 +431,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
|
|
|
431
431
|
});
|
|
432
432
|
};
|
|
433
433
|
q.if(ae, (e) => {
|
|
434
|
-
|
|
434
|
+
t.event.venue.address && e(Y);
|
|
435
435
|
}), q.reset(K);
|
|
436
436
|
var X = q.sibling(K, 2), oe = (e) => {
|
|
437
437
|
var t = xe(), n = q.sibling(q.child(t)), r = q.child(n, !0);
|
|
@@ -448,24 +448,24 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
|
|
|
448
448
|
var ue = q.sibling(le);
|
|
449
449
|
q.reset(Z);
|
|
450
450
|
var de = q.sibling(Z, 2), fe = (e) => {
|
|
451
|
-
var
|
|
451
|
+
var n = Se(), r = q.sibling(q.first_child(n), 2), i = q.child(r);
|
|
452
452
|
ce(i, {
|
|
453
453
|
size: "16",
|
|
454
454
|
class: "shrink-0"
|
|
455
455
|
});
|
|
456
456
|
var a = q.sibling(i);
|
|
457
457
|
q.reset(r), q.template_effect(() => {
|
|
458
|
-
q.set_attribute(r, "href", `mailto:${
|
|
459
|
-
}), q.append(e,
|
|
458
|
+
q.set_attribute(r, "href", `mailto:${t.event.venue.contactEmail ?? ""}?subject=Help with Order ${t.orderId ?? ""}`), q.set_text(a, ` ${(d().needHelp || "Need help?") ?? ""}`);
|
|
459
|
+
}), q.append(e, n);
|
|
460
460
|
};
|
|
461
461
|
q.if(de, (e) => {
|
|
462
|
-
|
|
462
|
+
t.event.venue.contactEmail && e(fe);
|
|
463
463
|
}), q.reset(se), q.reset(w), q.template_effect(() => {
|
|
464
464
|
q.set_attribute(te, "alt", d().addToAppleWallet || "Add to Apple Wallet"), q.set_attribute(V, "alt", d().saveToGoogleWallet || "Save to Google Wallet"), q.set_attribute(H, "alt", d().saveToGoogleWallet || "Save to Google Wallet"), q.set_text(ue, ` ${(d().backToEvent || "Back to event") ?? ""}`);
|
|
465
465
|
}), q.delegated("click", R, O), q.delegated("click", z, O), q.delegated("click", Z, A), q.append(e, l);
|
|
466
466
|
},
|
|
467
467
|
$$slots: { default: !0 }
|
|
468
|
-
}), q.reset(j), q.template_effect(() => M = q.set_class(j, 1, "actions-wrapper svelte-4szgdz", null, M, { visible:
|
|
468
|
+
}), q.reset(j), q.template_effect(() => M = q.set_class(j, 1, "actions-wrapper svelte-4szgdz", null, M, { visible: t.showContent })), q.append(e, j), q.pop();
|
|
469
469
|
}
|
|
470
470
|
q.delegate(["click"]);
|
|
471
471
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as e } from "./scarcity-CJ6IsR7f.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/TagIcon.svelte
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as e } from "./scarcity-CJ6IsR7f.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/ChevronDownOutline.svelte
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as e } from "./scarcity-CJ6IsR7f.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/WarningTriIcon.svelte
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as e } from "./Button-klwKgfhG.js";
|
|
2
|
-
import {
|
|
2
|
+
import { C as t } from "./scarcity-CJ6IsR7f.js";
|
|
3
3
|
import { A as n, M as r, O as i, _ as a, c as o, g as s, l as c, v as l, x as u, z as d } from "./defaultLabels-BkjXKQDd.js";
|
|
4
4
|
import { B as f, L as p, M as ee, N as m, P as h, R as g, U as _, b as te, c as ne } from "./orders-DABdaHOy.js";
|
|
5
5
|
//#region node_modules/@getmicdrop/svelte-components/dist/transforms/ticket.js
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as e } from "./scarcity-CJ6IsR7f.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
//#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/LocationIcon.svelte
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as e, d as t, i as n, s as r, u as i } from "./scarcity-CJ6IsR7f.js";
|
|
2
2
|
import { C as a } from "./defaultLabels-BkjXKQDd.js";
|
|
3
3
|
import { n as o, t as s } from "./event-Dew6DCL7.js";
|
|
4
|
-
import { B as c, H as l, L as u, P as d, U as f, V as p } from "./api-
|
|
4
|
+
import { B as c, H as l, L as u, P as d, U as f, V as p } from "./api-Di0gC83p.js";
|
|
5
5
|
//#region src/lib/utils/event-transform.js
|
|
6
6
|
var m = "data:image/svg+xml," + encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300" fill="none">
|
|
7
7
|
<rect width="200" height="300" fill="${d[200]}"/>
|
|
@@ -33,7 +33,7 @@ function y(e, t, n) {
|
|
|
33
33
|
function b(t, n) {
|
|
34
34
|
if (!t.startDateTime) return "";
|
|
35
35
|
try {
|
|
36
|
-
return t.endDateTime ?
|
|
36
|
+
return t.endDateTime ? i(t.startDateTime, t.endDateTime, n) : e(t.startDateTime, n);
|
|
37
37
|
} catch {
|
|
38
38
|
let e = {
|
|
39
39
|
hour: "numeric",
|
|
@@ -169,7 +169,7 @@ function T(e, t, n, r, i) {
|
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
171
|
function E(e, t) {
|
|
172
|
-
return e &&
|
|
172
|
+
return e && r(e, t, {
|
|
173
173
|
weekday: "short",
|
|
174
174
|
month: "short",
|
|
175
175
|
day: "numeric",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as e } from "./Button-klwKgfhG.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as t } from "./scarcity-CJ6IsR7f.js";
|
|
3
3
|
import { U as n } from "./defaultLabels-BkjXKQDd.js";
|
|
4
4
|
import "svelte/internal/disclose-version";
|
|
5
5
|
import * as r from "svelte/internal/client";
|