@getmicdrop/venue-calendar 4.2.3 → 4.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/{ArrowLeftIcon-CxZXP_IT.js → ArrowLeftIcon-BxKUPFOE.js} +1 -1
  2. package/dist/{Badge-Bv_MT-Vt.js → Badge-M6qZyfTF.js} +9 -10
  3. package/dist/BlockPlaceholder-CLdS2Y-c.js +62 -0
  4. package/dist/{Calendar-BKefLfIt.js → Calendar-DwNhbEQY.js} +290 -292
  5. package/dist/CalendarFoundryView-BX5mT6NY.js +23561 -0
  6. package/dist/{CalendarIcon-CLGR_zlO.js → CalendarIcon-jLckZ_4N.js} +1 -1
  7. package/dist/{CartView-CHFlfWS9.js → CartView-B61KRyFq.js} +644 -651
  8. package/dist/Checkout-CoExiUba.js +1809 -0
  9. package/dist/{Checkout-C-A4t1eE.js → Checkout-DlQ2x3L6.js} +97 -97
  10. package/dist/{CheckoutTimer-d3KUbevy.js → CheckoutTimer-Cv9iQj2d.js} +5 -5
  11. package/dist/{ChevronDownIcon-YtBeSqjf.js → ChevronDownIcon-DiZxxS3e.js} +1 -1
  12. package/dist/{ClockIcon-a9tJQ5El.js → ClockIcon-BrWavNGl.js} +1 -1
  13. package/dist/{CloseIcon-DSURK5co.js → CloseIcon-Cmddp2PA.js} +1 -1
  14. package/dist/{CollectionView-BiBMllyw.js → CollectionView-DpkF55yD.js} +12 -13
  15. package/dist/Event-CzNN2jRR.js +3040 -0
  16. package/dist/{EventPage-C7K2yA4v.js → EventPage-DnKNNWk8.js} +167 -168
  17. package/dist/{Heading-Dfo3bjyn.js → Heading-B7VYbbfJ.js} +3 -4
  18. package/dist/Image-DBJAfLYe.js +81 -0
  19. package/dist/{phoneUtils-FnBDCqO0.js → Input-DsWjpYtc.js} +1132 -694
  20. package/dist/{MailIcon-DIrQpcGo.js → MailIcon-gpZMGdBK.js} +1 -1
  21. package/dist/{Modal-DrA1swbF.js → Modal-D4AUdrz8.js} +2 -2
  22. package/dist/{ModalFooter-r1NQNG9P.js → ModalFooter-8Di4-qKC.js} +57 -59
  23. package/dist/{PasswordInput-DB4qa7kS.js → PasswordInput-Buk60yEf.js} +4 -4
  24. package/dist/{ScarcityBadge-BJOm7_Ho.js → ScarcityBadge-DgrS89hq.js} +4 -4
  25. package/dist/{SeriesPage-JVmqUSax.js → SeriesPage-BCovOJ6a.js} +5 -5
  26. package/dist/{Spinner-BwiDys7C.js → Spinner-ChTN7t75.js} +3 -3
  27. package/dist/{Success-DAE6gPZM.js → Success-BRufJqwQ.js} +80 -81
  28. package/dist/{TagIcon-CrTNd8qE.js → TagIcon-C0uTQgU8.js} +1 -1
  29. package/dist/{ViewTicketsEmbed-Zx-mvP2p.js → ViewTicketsEmbed-CfagtvVL.js} +66 -67
  30. package/dist/{WarningCircleIcon-C5-op3Cy.js → WarningCircleIcon-B2hkUrvV.js} +1 -1
  31. package/dist/{WarningTriIcon-BxIQn7c2.js → WarningTriIcon-Boy4IW6-.js} +1 -1
  32. package/dist/{__SKIP_PATHS__-DyyiXBgB.js → __SKIP_PATHS__-DPK-YB-V.js} +1 -1
  33. package/dist/{href-C8WGnROy.js → allowlist-Cu2kP6jt.js} +4 -21
  34. package/dist/api/api.cjs +1 -1
  35. package/dist/api/api.mjs +182 -165
  36. package/dist/api/client.d.ts +16 -0
  37. package/dist/api/events.d.ts +21 -2
  38. package/dist/api/types.d.ts +17 -0
  39. package/dist/{browser-Um8Y6K99.js → browser-25hnscei.js} +7 -7
  40. package/dist/cancel-gqtaw6SK.js +59 -0
  41. package/dist/{colors-MuuDk6KF.js → colors-B9hMXv8l.js} +118 -108
  42. package/dist/{constants-CqrJv6nM.js → constants-DBwdjnEU.js} +77 -74
  43. package/dist/{copyToClipboard-CTS9Wtmo.js → copyToClipboard-BDa2_uNf.js} +1 -1
  44. package/dist/{createI18n-DBUVdZra.js → createI18n-08XGDh1_.js} +1 -1
  45. package/dist/{event-BrptLro8.js → event-Cp5D4ctZ.js} +1 -1
  46. package/dist/{event-transform-jFmHl0Qp.js → event-transform-BFJTgtU9.js} +4 -4
  47. package/dist/{eventStatusStream-D04pcbuu.js → eventStatusStream-SyvhRCtk.js} +6 -6
  48. package/dist/{i18n-CcJmTGJP.js → i18n-4ZGOM8hY.js} +11 -11
  49. package/dist/{labels-Q4CaHsVM.js → labels-99RC9gAv.js} +1 -1
  50. package/dist/{modalManager.svelte-qcVxl7C5.js → modalManager.svelte-BdNsCq6n.js} +2 -2
  51. package/dist/{order-totals-BImtvmoh.js → order-totals-CQ0V7Fdc.js} +13 -15
  52. package/dist/{orders-C8kt6c-E.js → orders-oRqSQXSf.js} +209 -199
  53. package/dist/{pixels-MEc7WYiV.js → pixels-DycN_8bu.js} +7 -8
  54. package/dist/{promo-DtLZRskK.js → promo-BrMcoTYh.js} +3 -3
  55. package/dist/{serverTotals-BO126TTd.js → serverTotals-CpRaEe9K.js} +1 -1
  56. package/dist/{shareCopyFeedback.svelte-Dko8NIbm.js → shareCopyFeedback.svelte-D314p5oA.js} +25 -25
  57. package/dist/{showcase-state-options-BoJxiEsg.js → showcase-state-options-B2XfybZq.js} +1 -1
  58. package/dist/timezones-Cq1mLtfM.js +4170 -0
  59. package/dist/{to-event-card-props-BAHzloEA.js → to-event-card-props-BNBWYYPo.js} +23 -24
  60. package/dist/{utils-Ts4-U13Y.js → utils-CrlClQxc.js} +30 -30
  61. package/dist/venue-calendar.css +1 -1
  62. package/dist/venue-calendar.es.js +1292 -1154
  63. package/dist/venue-calendar.iife.js +63 -64
  64. package/dist/venue-calendar.umd.js +59 -60
  65. package/package.json +220 -220
  66. package/dist/BlockPlaceholder-HZ6Coko5.js +0 -52
  67. package/dist/Button-C4uFgl7L.js +0 -2141
  68. package/dist/CalendarFoundryView-tDmFCrJ3.js +0 -22292
  69. package/dist/Checkout-CRX7dcRr.js +0 -1807
  70. package/dist/CloseOutline-qpVa62mu.js +0 -13
  71. package/dist/CropImage-B0tj2_uN.js +0 -404
  72. package/dist/Event-1ZJVzqFN.js +0 -3034
  73. package/dist/Image-B3cEndLZ.js +0 -87
  74. package/dist/Input-DkYIFK4J.js +0 -487
  75. package/dist/imageOptimizer-CB3wKJU8.js +0 -47
  76. package/dist/sortable.esm--ZtTTTPp.js +0 -1451
  77. package/dist/timezones-C5l0SSHK.js +0 -2030
  78. package/dist/z-index-B0Vk_Mp1.js +0 -27
  79. /package/dist/locales/{4.2.3 → 4.2.5}/flow/de.js +0 -0
  80. /package/dist/locales/{4.2.3 → 4.2.5}/flow/es.js +0 -0
  81. /package/dist/locales/{4.2.3 → 4.2.5}/flow/fr.js +0 -0
  82. /package/dist/locales/{4.2.3 → 4.2.5}/flow/id.js +0 -0
  83. /package/dist/locales/{4.2.3 → 4.2.5}/flow/it.js +0 -0
  84. /package/dist/locales/{4.2.3 → 4.2.5}/flow/ja.js +0 -0
  85. /package/dist/locales/{4.2.3 → 4.2.5}/flow/ko.js +0 -0
  86. /package/dist/locales/{4.2.3 → 4.2.5}/flow/nl.js +0 -0
  87. /package/dist/locales/{4.2.3 → 4.2.5}/flow/pl.js +0 -0
  88. /package/dist/locales/{4.2.3 → 4.2.5}/flow/pt-br.js +0 -0
  89. /package/dist/locales/{4.2.3 → 4.2.5}/flow/tr.js +0 -0
  90. /package/dist/locales/{4.2.3 → 4.2.5}/flow/zh.js +0 -0
  91. /package/dist/locales/{4.2.3 → 4.2.5}/main/de.js +0 -0
  92. /package/dist/locales/{4.2.3 → 4.2.5}/main/es.js +0 -0
  93. /package/dist/locales/{4.2.3 → 4.2.5}/main/fr.js +0 -0
  94. /package/dist/locales/{4.2.3 → 4.2.5}/main/id.js +0 -0
  95. /package/dist/locales/{4.2.3 → 4.2.5}/main/it.js +0 -0
  96. /package/dist/locales/{4.2.3 → 4.2.5}/main/ja.js +0 -0
  97. /package/dist/locales/{4.2.3 → 4.2.5}/main/ko.js +0 -0
  98. /package/dist/locales/{4.2.3 → 4.2.5}/main/nl.js +0 -0
  99. /package/dist/locales/{4.2.3 → 4.2.5}/main/pl.js +0 -0
  100. /package/dist/locales/{4.2.3 → 4.2.5}/main/pt-br.js +0 -0
  101. /package/dist/locales/{4.2.3 → 4.2.5}/main/tr.js +0 -0
  102. /package/dist/locales/{4.2.3 → 4.2.5}/main/zh.js +0 -0
@@ -1,23 +1,22 @@
1
- import { x as e } from "./Button-C4uFgl7L.js";
2
- import { L as t, r as n } from "./timezones-C5l0SSHK.js";
3
- import { J as r, i, t as a, u as o, y as s } from "./constants-CqrJv6nM.js";
4
- import { t as c } from "./ArrowLeftIcon-CxZXP_IT.js";
5
- import { t as l } from "./CalendarIcon-CLGR_zlO.js";
6
- import { t as u } from "./ChevronDownIcon-YtBeSqjf.js";
7
- import { n as d, t as f } from "./MailIcon-DIrQpcGo.js";
8
- import { a as p, n as m, t as h } from "./shareCopyFeedback.svelte-Dko8NIbm.js";
9
- import { n as g } from "./copyToClipboard-CTS9Wtmo.js";
10
- import { t as _ } from "./Image-B3cEndLZ.js";
11
- import { H as v, K as y, P as b, W as x, f as S, o as C } from "./orders-C8kt6c-E.js";
12
- import { a as w, l as T, o as E, t as D } from "./__SKIP_PATHS__-DyyiXBgB.js";
13
- import { n as O, t as k } from "./Heading-Dfo3bjyn.js";
1
+ import { q as e, r as t, tt as n } from "./timezones-Cq1mLtfM.js";
2
+ import { J as r, i, t as a, u as o, y as s } from "./constants-DBwdjnEU.js";
3
+ import { t as c } from "./ArrowLeftIcon-BxKUPFOE.js";
4
+ import { t as l } from "./CalendarIcon-jLckZ_4N.js";
5
+ import { t as u } from "./ChevronDownIcon-DiZxxS3e.js";
6
+ import { n as d, t as f } from "./MailIcon-gpZMGdBK.js";
7
+ import { a as p, n as m, t as h } from "./shareCopyFeedback.svelte-D314p5oA.js";
8
+ import { n as g } from "./copyToClipboard-BDa2_uNf.js";
9
+ import { t as _ } from "./Image-DBJAfLYe.js";
10
+ import { I as v, J as y, K as b, W as x, f as S, o as C } from "./orders-oRqSQXSf.js";
11
+ import { a as w, l as T, o as E, t as D } from "./__SKIP_PATHS__-DPK-YB-V.js";
12
+ import { n as O, t as k } from "./Heading-B7VYbbfJ.js";
14
13
  import { t as A } from "./Text-CqjLjIF8.js";
15
- import "./colors-MuuDk6KF.js";
16
- import { c as ee, r as j } from "./pixels-MEc7WYiV.js";
17
- import { i as M, n as N, t as P } from "./i18n-CcJmTGJP.js";
18
- import { a as te, h as F, n as I, s as L } from "./utils-Ts4-U13Y.js";
19
- import { t as R } from "./labels-Q4CaHsVM.js";
20
- import { a as z, i as B, n as V, o as ne, r as H, s as re } from "./showcase-state-options-BoJxiEsg.js";
14
+ import "./colors-B9hMXv8l.js";
15
+ import { c as ee, r as j } from "./pixels-DycN_8bu.js";
16
+ import { i as M, n as N, t as P } from "./i18n-4ZGOM8hY.js";
17
+ import { a as te, h as F, n as I, s as L } from "./utils-CrlClQxc.js";
18
+ import { t as R } from "./labels-99RC9gAv.js";
19
+ import { a as z, i as B, n as V, o as ne, r as H, s as re } from "./showcase-state-options-B2XfybZq.js";
21
20
  import { n as U, t as W } from "./buyerEmail-BfCq-gDt.js";
22
21
  import "svelte/internal/disclose-version";
23
22
  import * as G from "svelte/internal/client";
@@ -47,10 +46,10 @@ function ce(e, t) {
47
46
  //#region src/lib/public-calendar-flow/pendingValidation.ts
48
47
  var J = (e) => `micdrop_pending_validate_${e}`;
49
48
  function le(e) {
50
- return e ? v(J(e), null) : null;
49
+ return e ? x(J(e), null) : null;
51
50
  }
52
51
  function Y(e) {
53
- e && x(J(e));
52
+ e && b(J(e));
54
53
  }
55
54
  //#endregion
56
55
  //#region src/lib/public-calendar-flow/SuccessTicket.svelte
@@ -162,9 +161,9 @@ var $ = {
162
161
  yellow: "#fbbc05",
163
162
  red: "#ea4335"
164
163
  }, ue = G.from_html(" <!>", 1), de = G.from_html("<p class=\"wallet-note caption svelte-4szgdz\"> </p>"), fe = G.from_html("<!> <!>", 1), pe = G.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>"), me = G.from_html("<!> ", 1), he = G.from_html("<p class=\"copy-fallback caption svelte-4szgdz\">Copy failed — select to copy: <span class=\"copy-url svelte-4szgdz\"> </span></p>"), ge = G.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), _e = G.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), ve = G.from_html("<div><!></div>");
165
- function ye(e, t) {
166
- G.push(t, !0);
167
- let r = G.prop(t, "backHref", 3, void 0), s = G.prop(t, "labels", 3, R), f = G.prop(t, "locale", 3, void 0), m = G.derived(() => r() || t.eventUrl), v = G.state(!1), y = h(), b = G.state("");
164
+ function ye(e, n) {
165
+ G.push(n, !0);
166
+ let r = G.prop(n, "backHref", 3, void 0), s = G.prop(n, "labels", 3, R), f = G.prop(n, "locale", 3, void 0), m = G.derived(() => r() || n.eventUrl), v = G.state(!1), y = h(), b = G.state("");
168
167
  G.user_effect(() => {
169
168
  G.get(b) && T(G.get(b), { politeness: "polite" });
170
169
  }), G.user_effect(() => {
@@ -180,17 +179,17 @@ function ye(e, t) {
180
179
  return document.addEventListener("click", e), () => document.removeEventListener("click", e);
181
180
  });
182
181
  let S = G.derived(() => (() => {
183
- 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(", ");
182
+ let e = new Date(n.event.startDateTime), t = n.event.endDateTime ? new Date(n.event.endDateTime) : new Date(e.getTime() + 72e5), r = (e) => e.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), i = [n.event.venue.name, n.event.venue.address].filter(Boolean).join(", ");
184
183
  return `https://calendar.google.com/calendar/render?${new URLSearchParams({
185
184
  action: "TEMPLATE",
186
- text: t.event.title,
187
- dates: `${r(e)}/${r(n)}`,
185
+ text: n.event.title,
186
+ dates: `${r(e)}/${r(t)}`,
188
187
  location: i,
189
- details: `Event: ${t.eventUrl}\n\nTicket confirmation #${t.orderId}`
188
+ details: `Event: ${n.eventUrl}\n\nTicket confirmation #${n.orderId}`
190
189
  }).toString()}`;
191
190
  })());
192
191
  function C() {
193
- 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
192
+ let e = new Date(n.event.startDateTime), t = n.event.endDateTime ? new Date(n.event.endDateTime) : new Date(e.getTime() + 72e5), r = (e) => e.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), i = `order-${n.orderId}-event-${n.event.id}@micdrop.com`, a = r(/* @__PURE__ */ new Date()), o = [n.event.venue.name, n.event.venue.address].filter(Boolean).join(", "), s = (e) => e ? e.replace(/\\/g, "\\\\").replace(/;/g, "\\;").replace(/,/g, "\\,").replace(/\n/g, "\\n") : "", c = `BEGIN:VCALENDAR
194
193
  VERSION:2.0
195
194
  PRODID:-//MicDrop//Ticket Confirmation//EN
196
195
  CALSCALE:GREGORIAN
@@ -199,17 +198,17 @@ BEGIN:VEVENT
199
198
  UID:${i}
200
199
  DTSTAMP:${a}
201
200
  DTSTART:${r(e)}
202
- DTEND:${r(n)}
203
- SUMMARY:${s(t.event.title)}
201
+ DTEND:${r(t)}
202
+ SUMMARY:${s(n.event.title)}
204
203
  LOCATION:${s(o)}
205
- DESCRIPTION:${s(`Order #${t.orderId}\n\nView event: ${t.eventUrl}`)}
206
- URL:${t.eventUrl}
204
+ DESCRIPTION:${s(`Order #${n.orderId}\n\nView event: ${n.eventUrl}`)}
205
+ URL:${n.eventUrl}
207
206
  STATUS:CONFIRMED
208
207
  END:VEVENT
209
208
  END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u = URL.createObjectURL(l);
210
209
  try {
211
210
  let e = document.createElement("a");
212
- 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();
211
+ e.href = u, e.download = `${(n.event.title || "event").replace(/[^a-zA-Z0-9\s-]/g, "").replace(/\s+/g, "-")}.ics`, document.body.appendChild(e), e.click(), e.remove();
213
212
  } finally {
214
213
  URL.revokeObjectURL(u);
215
214
  }
@@ -219,14 +218,14 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
219
218
  G.set(v, !1);
220
219
  }
221
220
  function E() {
222
- y.share(t.eventUrl);
221
+ y.share(n.eventUrl);
223
222
  }
224
223
  function D() {
225
224
  G.set(b, s().walletComingSoon || "Wallet passes are coming soon. Your ticket is confirmed — check your email", !0);
226
225
  }
227
226
  ae(y.dispose);
228
227
  let k = G.derived(() => (() => {
229
- let e = [t.event.venue.name, t.event.venue.address].filter(Boolean);
228
+ let e = [n.event.venue.name, n.event.venue.address].filter(Boolean);
230
229
  return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(e.join(", "))}`;
231
230
  })());
232
231
  function ee() {
@@ -243,10 +242,10 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
243
242
  var m = _e(), h = G.first_child(m), T = G.child(h);
244
243
  _(T, {
245
244
  get src() {
246
- return t.event.imageUrl;
245
+ return n.event.imageUrl;
247
246
  },
248
247
  get alt() {
249
- return t.event.title;
248
+ return n.event.title;
250
249
  },
251
250
  get fallback() {
252
251
  return a;
@@ -260,10 +259,10 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
260
259
  weight: "semibold",
261
260
  leading: "tight",
262
261
  class: "block",
263
- children: (e, n) => {
262
+ children: (e, t) => {
264
263
  G.next();
265
264
  var r = G.text();
266
- G.template_effect(() => G.set_text(r, t.event.title)), G.append(e, r);
265
+ G.template_effect(() => G.set_text(r, n.event.title)), G.append(e, r);
267
266
  },
268
267
  $$slots: { default: !0 }
269
268
  });
@@ -276,15 +275,15 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
276
275
  A(te, {
277
276
  size: "xs",
278
277
  color: "muted",
279
- children: (e, n) => {
278
+ children: (e, t) => {
280
279
  G.next();
281
280
  var r = ue(), a = G.first_child(r), s = G.sibling(a), c = (e) => {
282
- var n = G.text();
283
- G.template_effect((e) => G.set_text(n, `· ${e ?? ""}`), [() => o(t.event.startDateTime, t.event.timezone, f())]), G.append(e, n);
281
+ var t = G.text();
282
+ G.template_effect((e) => G.set_text(t, `· ${e ?? ""}`), [() => o(n.event.startDateTime, n.event.timezone, f())]), G.append(e, t);
284
283
  };
285
284
  G.if(s, (e) => {
286
- t.event.displayStartTime !== !1 && e(c);
287
- }), G.template_effect((e) => G.set_text(a, `${e ?? ""} `), [() => i(t.event.startDateTime, t.event.timezone, f())]), G.append(e, r);
285
+ n.event.displayStartTime !== !1 && e(c);
286
+ }), G.template_effect((e) => G.set_text(a, `${e ?? ""} `), [() => i(n.event.startDateTime, n.event.timezone, f())]), G.append(e, r);
288
287
  },
289
288
  $$slots: { default: !0 }
290
289
  }), G.reset(N);
@@ -293,10 +292,10 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
293
292
  size: "xs",
294
293
  color: "muted",
295
294
  class: "block",
296
- children: (e, n) => {
295
+ children: (e, t) => {
297
296
  G.next();
298
297
  var r = G.text();
299
- G.template_effect(() => G.set_text(r, t.event.venue.name)), G.append(e, r);
298
+ G.template_effect(() => G.set_text(r, n.event.venue.name)), G.append(e, r);
300
299
  },
301
300
  $$slots: { default: !0 }
302
301
  }), G.reset(F), G.reset(j);
@@ -312,7 +311,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
312
311
  G.get(b) && e(re);
313
312
  }), G.reset(L);
314
313
  var U = G.sibling(L, 4), W = G.child(U);
315
- n(W, {
314
+ t(W, {
316
315
  variant: "default",
317
316
  size: "md",
318
317
  class: "w-full",
@@ -353,7 +352,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
353
352
  G.get(v) && e(ae);
354
353
  }), G.reset(U);
355
354
  var K = G.sibling(U, 2), q = G.child(K);
356
- n(q, {
355
+ t(q, {
357
356
  variant: "default",
358
357
  size: "md",
359
358
  class: "flex-1",
@@ -367,7 +366,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
367
366
  $$slots: { default: !0 }
368
367
  });
369
368
  var oe = G.sibling(q, 2), se = (e) => {
370
- n(e, {
369
+ t(e, {
371
370
  variant: "default",
372
371
  size: "md",
373
372
  class: "flex-1",
@@ -384,7 +383,7 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
384
383
  });
385
384
  };
386
385
  G.if(oe, (e) => {
387
- t.event.venue.address && e(se);
386
+ n.event.venue.address && e(se);
388
387
  }), G.reset(K);
389
388
  var J = G.sibling(K, 2), le = (e) => {
390
389
  var t = he(), n = G.sibling(G.child(t)), r = G.child(n, !0);
@@ -401,30 +400,30 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
401
400
  var Q = G.sibling(Z);
402
401
  G.reset(X);
403
402
  var ve = G.sibling(X, 2), ye = (e) => {
404
- var n = ge(), r = G.sibling(G.first_child(n), 2), i = G.child(r);
403
+ var t = ge(), r = G.sibling(G.first_child(t), 2), i = G.child(r);
405
404
  ce(i, {
406
405
  size: "16",
407
406
  class: "shrink-0"
408
407
  });
409
408
  var a = G.sibling(i);
410
409
  G.reset(r), G.template_effect(() => {
411
- G.set_attribute(r, "href", `mailto:${t.event.venue.contactEmail ?? ""}?subject=Help with Order ${t.orderId ?? ""}`), G.set_text(a, ` ${(s().needHelp || "Need help?") ?? ""}`);
412
- }), G.append(e, n);
410
+ G.set_attribute(r, "href", `mailto:${n.event.venue.contactEmail ?? ""}?subject=Help with Order ${n.orderId ?? ""}`), G.set_text(a, ` ${(s().needHelp || "Need help?") ?? ""}`);
411
+ }), G.append(e, t);
413
412
  };
414
413
  G.if(ve, (e) => {
415
- t.event.venue.contactEmail && e(ye);
414
+ n.event.venue.contactEmail && e(ye);
416
415
  }), G.reset(Y), G.reset(O), G.template_effect(() => {
417
416
  G.set_attribute(z, "alt", s().addToAppleWallet || "Add to Apple Wallet"), G.set_attribute(V, "alt", s().saveToGoogleWallet || "Save to Google Wallet"), G.set_attribute(ne, "alt", s().saveToGoogleWallet || "Save to Google Wallet"), G.set_text(Q, ` ${(s().backToEvent || "Back to event") ?? ""}`);
418
417
  }), G.delegated("click", R, D), G.delegated("click", B, D), G.delegated("click", X, ee), G.append(e, m);
419
418
  },
420
419
  $$slots: { default: !0 }
421
- }), G.reset(j), G.template_effect(() => M = G.set_class(j, 1, "actions-wrapper svelte-4szgdz", null, M, { visible: t.showContent })), G.append(e, j), G.pop();
420
+ }), G.reset(j), G.template_effect(() => M = G.set_class(j, 1, "actions-wrapper svelte-4szgdz", null, M, { visible: n.showContent })), G.append(e, j), G.pop();
422
421
  }
423
422
  G.delegate(["click"]);
424
423
  //#endregion
425
424
  //#region src/lib/public-calendar-flow/Success.svelte
426
425
  var be = G.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>");
427
- function xe(e, n) {
426
+ function xe(t, n) {
428
427
  G.push(n, !0);
429
428
  let r = V(), i = G.derived(() => H.current), a = G.prop(n, "data", 3, void 0), o = G.prop(n, "eventUrl", 3, void 0), s = G.prop(n, "backHref", 3, void 0), c = G.prop(n, "labels", 19, () => ({})), l = G.prop(n, "locale", 3, void 0), u = G.derived(() => P(l(), c())), d = G.derived(() => !a());
430
429
  G.user_effect(() => {
@@ -437,14 +436,14 @@ function xe(e, n) {
437
436
  event: z,
438
437
  orderId: "12847",
439
438
  lines: [{
440
- ticketId: t(101),
439
+ ticketId: e(101),
441
440
  ticketName: "General Admission",
442
441
  quantity: 2,
443
442
  unitPrice: 25,
444
443
  fee: 2.5,
445
444
  subtotal: 50
446
445
  }, {
447
- ticketId: t(102),
446
+ ticketId: e(102),
448
447
  ticketName: "VIP Front Row",
449
448
  quantity: 1,
450
449
  unitPrice: 55,
@@ -457,7 +456,7 @@ function xe(e, n) {
457
456
  event: ne,
458
457
  orderId: "12848",
459
458
  lines: [{
460
- ticketId: t(201),
459
+ ticketId: e(201),
461
460
  ticketName: "Free Entry",
462
461
  quantity: 2,
463
462
  unitPrice: 0,
@@ -470,7 +469,7 @@ function xe(e, n) {
470
469
  event: re,
471
470
  orderId: "12849",
472
471
  lines: [{
473
- ticketId: t(301),
472
+ ticketId: e(301),
474
473
  ticketName: "Workshop Seat",
475
474
  quantity: 1,
476
475
  unitPrice: 75,
@@ -483,14 +482,14 @@ function xe(e, n) {
483
482
  event: B,
484
483
  orderId: "12850",
485
484
  lines: [{
486
- ticketId: t(401),
485
+ ticketId: e(401),
487
486
  ticketName: "Donation",
488
487
  quantity: 1,
489
488
  unitPrice: 25,
490
489
  fee: 0,
491
490
  subtotal: 25
492
491
  }, {
493
- ticketId: t(402),
492
+ ticketId: e(402),
494
493
  ticketName: "Standard Admission",
495
494
  quantity: 1,
496
495
  unitPrice: 30,
@@ -630,14 +629,14 @@ function xe(e, n) {
630
629
  get locale() {
631
630
  return l();
632
631
  }
633
- }), G.reset(T), G.reset(x), G.reset(b), G.append(e, b), G.pop();
632
+ }), G.reset(T), G.reset(x), G.reset(b), G.append(t, b), G.pop();
634
633
  }
635
634
  //#endregion
636
635
  //#region src/components/Views/Success.svelte
637
- var Se = e("Success"), Ce = G.from_html("<p class=\"payment-failed-title svelte-1mm1psu\"> </p> <p class=\"payment-failed-message svelte-1mm1psu\"> </p>", 1), we = G.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), Te = G.from_html("<div class=\"flex flex-col items-center justify-center py-24 text-center gap-4 payment-failed-container\"><!></div>"), Ee = G.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>"), De = G.from_html("<div class=\"flex items-center justify-center py-24 text-center loading-container svelte-1mm1psu\"><p> </p></div>");
638
- function Oe(e, n) {
636
+ var Se = n("Success"), Ce = G.from_html("<p class=\"payment-failed-title svelte-1mm1psu\"> </p> <p class=\"payment-failed-message svelte-1mm1psu\"> </p>", 1), we = G.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), Te = G.from_html("<div class=\"flex flex-col items-center justify-center py-24 text-center gap-4 payment-failed-container\"><!></div>"), Ee = G.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>"), De = G.from_html("<div class=\"flex items-center justify-center py-24 text-center loading-container svelte-1mm1psu\"><p> </p></div>");
637
+ function Oe(t, n) {
639
638
  G.push(n, !0);
640
- let r = G.prop(n, "data", 19, () => ({})), i = G.prop(n, "browseUrl", 3, "/"), a = G.prop(n, "backHref", 3, void 0), o = G.prop(n, "eventUrl", 3, void 0), c = G.prop(n, "widgetId", 3, null), l = G.prop(n, "venueId", 3, null), u = G.prop(n, "labels", 3, s), d = G.prop(n, "locale", 3, void 0), f = G.derived(() => a() || (r()?.id && r()?.slug ? w(String(r().id), String(r().slug)) : D(i(), {}))), p = G.state(null), h = G.state(""), g = G.state(null), _ = G.state(!0), x = G.derived(() => String(r()?.redirectStatus || "")), T = G.derived(() => G.get(x) !== "" && G.get(x) !== "succeeded"), E = G.derived(() => G.get(x) === "pending" || G.get(x) === "processing"), O = G.state(!1), k = G.state(!1);
639
+ let r = G.prop(n, "data", 19, () => ({})), i = G.prop(n, "browseUrl", 3, "/"), a = G.prop(n, "backHref", 3, void 0), o = G.prop(n, "eventUrl", 3, void 0), c = G.prop(n, "widgetId", 3, null), l = G.prop(n, "venueId", 3, null), u = G.prop(n, "labels", 3, s), d = G.prop(n, "locale", 3, void 0), f = G.derived(() => a() || (r()?.id && r()?.slug ? w(String(r().id), String(r().slug)) : D(i(), {}))), p = G.state(null), h = G.state(""), g = G.state(null), _ = G.state(!0), b = G.derived(() => String(r()?.redirectStatus || "")), T = G.derived(() => G.get(b) !== "" && G.get(b) !== "succeeded"), E = G.derived(() => G.get(b) === "pending" || G.get(b) === "processing"), O = G.state(!1), k = G.state(!1);
641
640
  async function A(e, t) {
642
641
  if (!e) return "unconfirmed";
643
642
  let n = le(e);
@@ -663,35 +662,35 @@ function Oe(e, n) {
663
662
  G.set(_, !1);
664
663
  return;
665
664
  }
666
- if (G.get(x) === "succeeded") {
665
+ if (G.get(b) === "succeeded") {
667
666
  let e = await A(String(r()?.orderId || r()?.orderUuid || ""), String(r()?.paymentIntentId || ""));
668
667
  if (e !== "ok") {
669
668
  e === "no-charge" ? G.set(k, !0) : G.set(O, !0), G.set(_, !1);
670
669
  return;
671
670
  }
672
671
  }
673
- let { id: e, slug: n, event: i, orderId: a, orderUuid: s, customerEmail: d, ticketCount: f, value: C, currency: w } = r() || {};
672
+ let { id: t, slug: n, event: i, orderId: a, orderUuid: s, customerEmail: d, ticketCount: f, value: C, currency: w } = r() || {};
674
673
  {
675
- let { postMessageOnSuccess: t, postMessageTargetOrigin: n } = b();
676
- if (t) {
677
- let t = {
674
+ let { postMessageOnSuccess: e, postMessageTargetOrigin: n } = v();
675
+ if (e) {
676
+ let e = {
678
677
  orderId: String(a || s || ""),
679
- eventId: e ?? r()?.eventId ?? i?.id ?? null
678
+ eventId: t ?? r()?.eventId ?? i?.id ?? null
680
679
  };
681
- typeof C == "number" && Number.isFinite(C) && (t.value = C, t.currency = w || "USD"), ee(t, n);
680
+ typeof C == "number" && Number.isFinite(C) && (e.value = C, e.currency = w || "USD"), ee(e, n);
682
681
  }
683
682
  }
684
683
  {
685
- let t = e ?? r()?.eventId ?? i?.id ?? null, n = String(a || s || ""), o = "micdrop_purchased_orders", u = v(o, []) ?? [], d = !!n && u.includes(n);
686
- t != null && !d && (S(t, c(), l() || i?.venueID || i?.venueId || null), j({
687
- eventId: t,
684
+ let e = t ?? r()?.eventId ?? i?.id ?? null, n = String(a || s || ""), o = "micdrop_purchased_orders", u = x(o, []) ?? [], d = !!n && u.includes(n);
685
+ e != null && !d && (S(e, c(), l() || i?.venueID || i?.venueId || null), j({
686
+ eventId: e,
688
687
  orderId: n,
689
688
  value: typeof C == "number" ? C : null,
690
689
  currency: w,
691
690
  contentName: i?.name || i?.title || ""
692
691
  }), n && y(o, [...u, n]));
693
692
  }
694
- G.set(h, o() || `${window.location.origin}/e/${e}-${n}`, !0);
693
+ G.set(h, o() || `${window.location.origin}/e/${t}-${n}`, !0);
695
694
  let E;
696
695
  try {
697
696
  E = m(i);
@@ -733,7 +732,7 @@ function Oe(e, n) {
733
732
  Se.warn("Success: getOrder failed, using route params:", e);
734
733
  }
735
734
  N.length === 0 && f > 0 && (N = [{
736
- ticketId: t(0),
735
+ ticketId: e(0),
737
736
  ticketName: u().ticketFallbackName || "Ticket",
738
737
  quantity: f,
739
738
  unitPrice: 0,
@@ -745,7 +744,7 @@ function Oe(e, n) {
745
744
  lines: N,
746
745
  customerEmail: M,
747
746
  ...P ? { serverTotals: P } : {}
748
- }, !0), L(String(e)), F("checkout-cartid"), F(te), G.set(_, !1);
747
+ }, !0), L(String(t)), F("checkout-cartid"), F(te), G.set(_, !1);
749
748
  });
750
749
  var M = G.comment(), N = G.first_child(M), P = (e) => {
751
750
  var t = Te(), n = G.child(t), r = (e) => {
@@ -792,7 +791,7 @@ function Oe(e, n) {
792
791
  };
793
792
  G.if(N, (e) => {
794
793
  G.get(T) || G.get(k) || G.get(O) ? e(P) : G.get(g) ? e(R, 1) : G.get(_) || !G.get(p) ? e(z, 2) : e(B, -1);
795
- }), G.append(e, M), G.pop();
794
+ }), G.append(t, M), G.pop();
796
795
  }
797
796
  //#endregion
798
797
  export { Oe as default };
@@ -1,4 +1,4 @@
1
- import { J as e } from "./constants-CqrJv6nM.js";
1
+ import { J as e } from "./constants-DBwdjnEU.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