@getmicdrop/venue-calendar 4.0.127 → 4.0.128

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 (64) hide show
  1. package/dist/{CartView-DxD21kDr.js → CartView-DUfDuAcL.js} +10 -10
  2. package/dist/CartView-DUfDuAcL.js.map +1 -0
  3. package/dist/{Checkout-D3mmS4cy.js → Checkout-4BwsFUcQ.js} +9 -9
  4. package/dist/Checkout-4BwsFUcQ.js.map +1 -0
  5. package/dist/{Checkout-BRaI7OY7.js → Checkout-CiCA-utX.js} +10 -10
  6. package/dist/Checkout-CiCA-utX.js.map +1 -0
  7. package/dist/{CheckoutTimer-CRhI7pZK.js → CheckoutTimer-Ba0zMZb1.js} +5 -5
  8. package/dist/{CheckoutTimer-CRhI7pZK.js.map → CheckoutTimer-Ba0zMZb1.js.map} +1 -1
  9. package/dist/{ClockIcon-DGDxHgmO.js → ClockIcon-pfv-eOn8.js} +8 -8
  10. package/dist/ClockIcon-pfv-eOn8.js.map +1 -0
  11. package/dist/{CollectionView-S4uJ2wLg.js → CollectionView-DduRB_MM.js} +5 -5
  12. package/dist/{CollectionView-S4uJ2wLg.js.map → CollectionView-DduRB_MM.js.map} +1 -1
  13. package/dist/{Event-pzURHNSi.js → Event-DeOO1cBn.js} +162 -158
  14. package/dist/Event-DeOO1cBn.js.map +1 -0
  15. package/dist/{EventPage-fzfsDgHU.js → EventPage-D4ntt9V-.js} +96 -96
  16. package/dist/EventPage-D4ntt9V-.js.map +1 -0
  17. package/dist/{Heading-CxtpAlu5.js → Heading-e_U0UwuY.js} +2 -2
  18. package/dist/{Heading-CxtpAlu5.js.map → Heading-e_U0UwuY.js.map} +1 -1
  19. package/dist/{ScarcityBadge-BQdPp1pp.js → ScarcityBadge-Dut86YSx.js} +41 -41
  20. package/dist/ScarcityBadge-Dut86YSx.js.map +1 -0
  21. package/dist/{SeriesPage-DWbpSYCA.js → SeriesPage-GQTzrRJF.js} +5 -5
  22. package/dist/{SeriesPage-DWbpSYCA.js.map → SeriesPage-GQTzrRJF.js.map} +1 -1
  23. package/dist/{Spinner-C0UV0yLk.js → Spinner-DMmOKXuA.js} +2 -2
  24. package/dist/{Spinner-C0UV0yLk.js.map → Spinner-DMmOKXuA.js.map} +1 -1
  25. package/dist/{Success-CeQqi-83.js → Success-Ud1tXdaO.js} +156 -156
  26. package/dist/Success-Ud1tXdaO.js.map +1 -0
  27. package/dist/{Text-CAeBIFaG.js → Text-BT93sYFS.js} +2 -2
  28. package/dist/{Text-CAeBIFaG.js.map → Text-BT93sYFS.js.map} +1 -1
  29. package/dist/{VenueCalendar-Z3o1Q_1m.js → VenueCalendar-XXcj8mAW.js} +17 -19
  30. package/dist/VenueCalendar-XXcj8mAW.js.map +1 -0
  31. package/dist/{ViewTicketsEmbed-JQvQN8R2.js → ViewTicketsEmbed-0KwyNnUT.js} +5 -5
  32. package/dist/{ViewTicketsEmbed-JQvQN8R2.js.map → ViewTicketsEmbed-0KwyNnUT.js.map} +1 -1
  33. package/dist/{labels-C7WvkYI1.js → labels-DOypvwB1.js} +4 -4
  34. package/dist/labels-DOypvwB1.js.map +1 -0
  35. package/dist/{modalManager.svelte-DXzFxr7l.js → modalManager.svelte-DsU39CjB.js} +2 -2
  36. package/dist/{modalManager.svelte-DXzFxr7l.js.map → modalManager.svelte-DsU39CjB.js.map} +1 -1
  37. package/dist/{promo-B7xiyb84.js → promo-Cs78Ywto.js} +2 -2
  38. package/dist/{promo-B7xiyb84.js.map → promo-Cs78Ywto.js.map} +1 -1
  39. package/dist/{shareCopyFeedback.svelte-CJGSyRw6.js → shareCopyFeedback.svelte-J2vAYEpg.js} +31 -31
  40. package/dist/shareCopyFeedback.svelte-J2vAYEpg.js.map +1 -0
  41. package/dist/{showcase-state-options-HOZDtWBN.js → showcase-state-options-Bfe93tUI.js} +2 -2
  42. package/dist/{showcase-state-options-HOZDtWBN.js.map → showcase-state-options-Bfe93tUI.js.map} +1 -1
  43. package/dist/{transform-CjTzBTM9.js → transform-Xo5ziryX.js} +2 -2
  44. package/dist/{transform-CjTzBTM9.js.map → transform-Xo5ziryX.js.map} +1 -1
  45. package/dist/{utm-BjrvAc5o.js → utm-CKZUQvBe.js} +2 -2
  46. package/dist/{utm-BjrvAc5o.js.map → utm-CKZUQvBe.js.map} +1 -1
  47. package/dist/venue-calendar.css +1 -1
  48. package/dist/venue-calendar.es.js +2 -2
  49. package/dist/venue-calendar.iife.js +5 -5
  50. package/dist/venue-calendar.iife.js.map +1 -1
  51. package/dist/venue-calendar.umd.js +4 -4
  52. package/dist/venue-calendar.umd.js.map +1 -1
  53. package/package.json +2 -2
  54. package/dist/CartView-DxD21kDr.js.map +0 -1
  55. package/dist/Checkout-BRaI7OY7.js.map +0 -1
  56. package/dist/Checkout-D3mmS4cy.js.map +0 -1
  57. package/dist/ClockIcon-DGDxHgmO.js.map +0 -1
  58. package/dist/Event-pzURHNSi.js.map +0 -1
  59. package/dist/EventPage-fzfsDgHU.js.map +0 -1
  60. package/dist/ScarcityBadge-BQdPp1pp.js.map +0 -1
  61. package/dist/Success-CeQqi-83.js.map +0 -1
  62. package/dist/VenueCalendar-Z3o1Q_1m.js.map +0 -1
  63. package/dist/labels-C7WvkYI1.js.map +0 -1
  64. package/dist/shareCopyFeedback.svelte-CJGSyRw6.js.map +0 -1
@@ -3,25 +3,25 @@ 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-BjrvAc5o.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-Z3o1Q_1m.js";
8
- import { t as Ke } from "./transform-CjTzBTM9.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-HOZDtWBN.js";
10
- import { O as tt, C as pe, d as rt, c as at } from "./labels-C7WvkYI1.js";
11
- import { C as ye, H as st } from "./Heading-CxtpAlu5.js";
12
- import { T as X, I as lt } from "./Text-CAeBIFaG.js";
13
- import { c as nt, E as it, L as ot } from "./shareCopyFeedback.svelte-CJGSyRw6.js";
6
+ import { a as fe, c as Ne, r as Ue } from "./utm-CKZUQvBe.js";
7
+ import { u as de, Y as xe, Z as Le, _ as Oe, $ as Me, a0 as Ve, h as le, 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-XXcj8mAW.js";
8
+ import { t as Ke } from "./transform-Xo5ziryX.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-Bfe93tUI.js";
10
+ import { O as tt, C as pe, d as rt, c as at } from "./labels-DOypvwB1.js";
11
+ import { C as ye, H as st } from "./Heading-e_U0UwuY.js";
12
+ import { T as X, I as nt } from "./Text-BT93sYFS.js";
13
+ import { c as lt, E as it, L as ot } from "./shareCopyFeedback.svelte-J2vAYEpg.js";
14
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>');
15
- function ut(b, t) {
15
+ function ut(k, t) {
16
16
  e.push(t, !0);
17
- let a = e.prop(t, "size", 3, "24"), k = e.prop(t, "color", 3, "currentColor"), I = e.prop(t, "class", 3, "");
17
+ let a = e.prop(t, "size", 3, "24"), p = e.prop(t, "color", 3, "currentColor"), I = e.prop(t, "class", 3, "");
18
18
  const S = de();
19
19
  let U = e.derived(() => t.weight ?? S?.weight ?? "regular");
20
20
  var r = vt();
21
- let p;
21
+ let h;
22
22
  var D = e.child(r);
23
23
  {
24
- var l = (i) => {
24
+ var n = (i) => {
25
25
  var f = dt();
26
26
  e.append(i, f);
27
27
  }, w = (i) => {
@@ -29,24 +29,24 @@ function ut(b, t) {
29
29
  e.next(2), e.append(i, f);
30
30
  };
31
31
  e.if(D, (i) => {
32
- e.get(U) === "fill" ? i(l) : i(w, -1);
32
+ e.get(U) === "fill" ? i(n) : i(w, -1);
33
33
  });
34
34
  }
35
35
  e.reset(r), e.template_effect(() => {
36
- e.set_class(r, 0, e.clsx(I())), e.set_attribute(r, "width", a()), e.set_attribute(r, "height", a()), p = e.set_style(r, "", p, { color: k() });
37
- }), e.append(b, r), e.pop();
36
+ e.set_class(r, 0, e.clsx(I())), e.set_attribute(r, "width", a()), e.set_attribute(r, "height", a()), h = e.set_style(r, "", h, { color: p() === "currentColor" ? void 0 : p() });
37
+ }), e.append(k, r), e.pop();
38
38
  }
39
39
  var gt = e.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>'), mt = e.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), ft = e.from_svg('<svg aria-hidden="true" viewBox="0 0 256 256" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><!></svg>');
40
- function pt(b, t) {
40
+ function pt(k, t) {
41
41
  e.push(t, !0);
42
- let a = e.prop(t, "size", 3, "24"), k = e.prop(t, "color", 3, "currentColor"), I = e.prop(t, "class", 3, "");
42
+ let a = e.prop(t, "size", 3, "24"), p = e.prop(t, "color", 3, "currentColor"), I = e.prop(t, "class", 3, "");
43
43
  const S = de();
44
44
  let U = e.derived(() => t.weight ?? S?.weight ?? "regular");
45
45
  var r = ft();
46
- let p;
46
+ let h;
47
47
  var D = e.child(r);
48
48
  {
49
- var l = (i) => {
49
+ var n = (i) => {
50
50
  var f = gt();
51
51
  e.append(i, f);
52
52
  }, w = (i) => {
@@ -54,24 +54,24 @@ function pt(b, t) {
54
54
  e.next(2), e.append(i, f);
55
55
  };
56
56
  e.if(D, (i) => {
57
- e.get(U) === "fill" ? i(l) : i(w, -1);
57
+ e.get(U) === "fill" ? i(n) : i(w, -1);
58
58
  });
59
59
  }
60
60
  e.reset(r), e.template_effect(() => {
61
- e.set_class(r, 0, e.clsx(I())), e.set_attribute(r, "width", a()), e.set_attribute(r, "height", a()), p = e.set_style(r, "", p, { color: k() });
62
- }), e.append(b, r), e.pop();
61
+ e.set_class(r, 0, e.clsx(I())), e.set_attribute(r, "width", a()), e.set_attribute(r, "height", a()), h = e.set_style(r, "", h, { color: p() === "currentColor" ? void 0 : p() });
62
+ }), e.append(k, r), e.pop();
63
63
  }
64
64
  var ht = e.from_svg('<path d="M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"></path>'), _t = e.from_svg('<polyline points="224 56 128 144 32 56" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></polyline><path d="M32,56H224a0,0,0,0,1,0,0V192a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56A0,0,0,0,1,32,56Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></path><line x1="110.55" y1="128" x2="34.47" y2="197.74" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="221.53" y1="197.74" x2="145.45" y2="128" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line>', 1), bt = e.from_svg('<svg aria-hidden="true" viewBox="0 0 256 256" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><!></svg>');
65
- function kt(b, t) {
65
+ function kt(k, t) {
66
66
  e.push(t, !0);
67
- let a = e.prop(t, "size", 3, "24"), k = e.prop(t, "color", 3, "currentColor"), I = e.prop(t, "class", 3, "");
67
+ let a = e.prop(t, "size", 3, "24"), p = e.prop(t, "color", 3, "currentColor"), I = e.prop(t, "class", 3, "");
68
68
  const S = de();
69
69
  let U = e.derived(() => t.weight ?? S?.weight ?? "regular");
70
70
  var r = bt();
71
- let p;
71
+ let h;
72
72
  var D = e.child(r);
73
73
  {
74
- var l = (i) => {
74
+ var n = (i) => {
75
75
  var f = ht();
76
76
  e.append(i, f);
77
77
  }, w = (i) => {
@@ -79,45 +79,45 @@ function kt(b, t) {
79
79
  e.next(3), e.append(i, f);
80
80
  };
81
81
  e.if(D, (i) => {
82
- e.get(U) === "fill" ? i(l) : i(w, -1);
82
+ e.get(U) === "fill" ? i(n) : i(w, -1);
83
83
  });
84
84
  }
85
85
  e.reset(r), e.template_effect(() => {
86
- e.set_class(r, 0, e.clsx(I())), e.set_attribute(r, "width", a()), e.set_attribute(r, "height", a()), p = e.set_style(r, "", p, { color: k() });
87
- }), e.append(b, r), e.pop();
86
+ e.set_class(r, 0, e.clsx(I())), e.set_attribute(r, "width", a()), e.set_attribute(r, "height", a()), h = e.set_style(r, "", h, { color: p() === "currentColor" ? void 0 : p() });
87
+ }), e.append(k, r), e.pop();
88
88
  }
89
- const we = (b) => `micdrop_pending_validate_${b}`;
90
- function xt(b) {
91
- return b ? xe(we(b), null) : null;
89
+ const we = (k) => `micdrop_pending_validate_${k}`;
90
+ function xt(k) {
91
+ return k ? xe(we(k), null) : null;
92
92
  }
93
- function he(b) {
94
- b && Le(we(b));
93
+ function he(k) {
94
+ k && Le(we(k));
95
95
  }
96
96
  var yt = e.from_html('<div class="p-6 md:p-8"><div class="flex justify-center mb-6"><div class="indicator-container svelte-667vry"><div></div> <svg viewBox="0 0 52 52" aria-hidden="true"><circle cx="26" cy="26" r="24" class="checkmark-circle svelte-667vry"></circle><circle cx="26" cy="26" r="24" class="checkmark-fill svelte-667vry"></circle><path d="M14 27l7 7 17-17" class="checkmark-check svelte-667vry"></path></svg></div></div> <div><div class="flex flex-col gap-3 text-center mb-6"><!> <!> <!></div> <div class="mb-6"><!></div> <div class="flex justify-between items-center py-3 border-t border-default"><!></div> <div class="flex items-center justify-center gap-2 p-3 rounded-lg bg-surface-secondary mt-4"><!> <!></div></div></div>');
97
- function _e(b, t) {
97
+ function _e(k, t) {
98
98
  e.push(t, !0);
99
- let a = e.prop(t, "labels", 19, () => ({})), k = e.derived(() => t.orderTotals.lines.reduce((S, U) => S + U.quantity, 0)), I = e.derived(() => t.event.isRegistrationEvent ? a().youreRegistered || "You're registered" : a().youreIn || "You're in");
100
- ye(b, {
99
+ let a = e.prop(t, "labels", 19, () => ({})), p = e.derived(() => t.orderTotals.lines.reduce((S, U) => S + U.quantity, 0)), I = e.derived(() => t.event.isRegistrationEvent ? a().youreRegistered || "You're registered" : a().youreIn || "You're in");
100
+ ye(k, {
101
101
  border: !0,
102
102
  padding: !1,
103
103
  class: "rounded-xl shadow-lg overflow-hidden bg-surface-primary",
104
104
  children: (S, U) => {
105
- var r = yt(), p = e.child(r), D = e.child(p), l = e.child(D);
105
+ var r = yt(), h = e.child(r), D = e.child(h), n = e.child(D);
106
106
  let w;
107
- var i = e.sibling(l, 2);
107
+ var i = e.sibling(n, 2);
108
108
  let f;
109
- e.reset(D), e.reset(p);
110
- var T = e.sibling(p, 2);
109
+ e.reset(D), e.reset(h);
110
+ var T = e.sibling(h, 2);
111
111
  let V;
112
112
  var F = e.child(T), x = e.child(F);
113
113
  st(x, {
114
114
  level: 1,
115
115
  size: "xl",
116
116
  weight: "bold",
117
- children: (n, d) => {
117
+ children: (l, d) => {
118
118
  e.next();
119
119
  var c = e.text();
120
- e.template_effect(() => e.set_text(c, e.get(I))), e.append(n, c);
120
+ e.template_effect(() => e.set_text(c, e.get(I))), e.append(l, c);
121
121
  },
122
122
  $$slots: { default: !0 }
123
123
  });
@@ -126,10 +126,10 @@ function _e(b, t) {
126
126
  size: "lg",
127
127
  weight: "semibold",
128
128
  class: "block",
129
- children: (n, d) => {
129
+ children: (l, d) => {
130
130
  e.next();
131
131
  var c = e.text();
132
- e.template_effect(() => e.set_text(c, t.event.title)), e.append(n, c);
132
+ e.template_effect(() => e.set_text(c, t.event.title)), e.append(l, c);
133
133
  },
134
134
  $$slots: { default: !0 }
135
135
  });
@@ -138,11 +138,11 @@ function _e(b, t) {
138
138
  size: "sm",
139
139
  color: "secondary",
140
140
  class: "block",
141
- children: (n, d) => {
141
+ children: (l, d) => {
142
142
  e.next();
143
143
  var c = e.text();
144
- e.template_effect(() => e.set_text(c, `${e.get(k) ?? ""}
145
- ${(e.get(k) === 1 ? a().ticket || "ticket" : a().tickets || "tickets") ?? ""} confirmed`)), e.append(n, c);
144
+ e.template_effect(() => e.set_text(c, `${e.get(p) ?? ""}
145
+ ${(e.get(p) === 1 ? a().ticket || "ticket" : a().tickets || "tickets") ?? ""} confirmed`)), e.append(l, c);
146
146
  },
147
147
  $$slots: { default: !0 }
148
148
  }), e.reset(F);
@@ -160,10 +160,10 @@ function _e(b, t) {
160
160
  size: "sm",
161
161
  weight: "semibold",
162
162
  class: "font-mono",
163
- children: (n, d) => {
163
+ children: (l, d) => {
164
164
  e.next();
165
165
  var c = e.text();
166
- e.template_effect(() => e.set_text(c, `#${t.orderId ?? ""}`)), e.append(n, c);
166
+ e.template_effect(() => e.set_text(c, `#${t.orderId ?? ""}`)), e.append(l, c);
167
167
  },
168
168
  $$slots: { default: !0 }
169
169
  }), e.reset(j);
@@ -173,15 +173,15 @@ function _e(b, t) {
173
173
  X(o, {
174
174
  size: "xs",
175
175
  color: "secondary",
176
- children: (n, d) => {
176
+ children: (l, d) => {
177
177
  e.next();
178
178
  var c = e.text();
179
179
  e.template_effect(() => e.set_text(c, `${(a().confirmationSentTo || "Confirmation sent to") ?? ""}
180
- ${t.customerEmail ?? ""}`)), e.append(n, c);
180
+ ${t.customerEmail ?? ""}`)), e.append(l, c);
181
181
  },
182
182
  $$slots: { default: !0 }
183
183
  }), e.reset(s), e.reset(T), e.reset(r), e.template_effect(() => {
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
+ w = e.set_class(n, 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 });
185
185
  }), e.append(S, r);
186
186
  },
187
187
  $$slots: { default: !0 }
@@ -194,17 +194,17 @@ const wt = {
194
194
  red: "#ea4335"
195
195
  }, ae = wt;
196
196
  var Ct = e.from_html(" <!>", 1), It = e.from_html('<p class="wallet-note caption svelte-4szgdz" role="status"> </p>'), Tt = e.from_html("<!> <!>", 1), Et = e.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 = e.from_html("<!> ", 1), St = e.from_html('<p class="copy-fallback caption svelte-4szgdz" role="alert">Copy failed — select to copy: <span class="copy-url svelte-4szgdz"> </span></p>'), zt = e.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), Pt = e.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), Dt = e.from_html("<div><!></div>");
197
- function ke(b, t) {
197
+ function ke(k, t) {
198
198
  e.push(t, !0);
199
- let a = e.prop(t, "labels", 19, () => ({})), k = e.state(!1);
200
- const I = nt();
199
+ let a = e.prop(t, "labels", 19, () => ({})), p = e.state(!1);
200
+ const I = lt();
201
201
  let S = e.state("");
202
202
  function U() {
203
- e.set(k, !e.get(k));
203
+ e.set(p, !e.get(p));
204
204
  }
205
205
  oe(() => {
206
206
  function x(z) {
207
- z.target.closest(".calendar-dropdown") || e.set(k, !1);
207
+ z.target.closest(".calendar-dropdown") || e.set(p, !1);
208
208
  }
209
209
  return document.addEventListener("click", x), () => document.removeEventListener("click", x);
210
210
  });
@@ -223,7 +223,7 @@ function ke(b, t) {
223
223
  Ticket confirmation #${t.orderId}`
224
224
  }).toString()}`;
225
225
  })());
226
- function p() {
226
+ function h() {
227
227
  const x = new Date(t.event.startDateTime), z = t.event.endDateTime ? new Date(t.event.endDateTime) : (
228
228
  // @datetime-escape: ICS/calendar-URL instant serialized to UTC — tz-independent
229
229
  new Date(x.getTime() + 7200 * 1e3)
@@ -245,21 +245,21 @@ View event: ${t.eventUrl}`)}
245
245
  URL:${t.eventUrl}
246
246
  STATUS:CONFIRMED
247
247
  END:VEVENT
248
- END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n = URL.createObjectURL(o);
248
+ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), l = URL.createObjectURL(o);
249
249
  try {
250
250
  const d = document.createElement("a");
251
- d.href = n;
251
+ d.href = l;
252
252
  const c = (t.event.title || "event").replace(/[^a-zA-Z0-9\s-]/g, "").replace(/\s+/g, "-");
253
253
  d.download = `${c}.ics`, document.body.appendChild(d), d.click(), d.remove();
254
254
  } finally {
255
- URL.revokeObjectURL(n);
255
+ URL.revokeObjectURL(l);
256
256
  }
257
- e.set(k, !1);
257
+ e.set(p, !1);
258
258
  }
259
259
  function D() {
260
- e.set(k, !1);
260
+ e.set(p, !1);
261
261
  }
262
- function l() {
262
+ function n() {
263
263
  I.share(t.eventUrl);
264
264
  }
265
265
  function w() {
@@ -282,7 +282,7 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
282
282
  class: "rounded-xl shadow-lg overflow-hidden bg-surface-secondary",
283
283
  children: (x, z) => {
284
284
  var E = Pt(), A = e.first_child(E), R = e.child(A);
285
- lt(R, {
285
+ nt(R, {
286
286
  get src() {
287
287
  return t.event.imageUrl;
288
288
  },
@@ -310,8 +310,8 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
310
310
  });
311
311
  var m = e.sibling(s, 2), o = e.child(m);
312
312
  pe(o, { size: "16", class: "shrink-0 icon-muted" });
313
- var n = e.sibling(o, 2);
314
- X(n, {
313
+ var l = e.sibling(o, 2);
314
+ X(l, {
315
315
  size: "xs",
316
316
  color: "muted",
317
317
  children: (g, y) => {
@@ -346,9 +346,9 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
346
346
  },
347
347
  $$slots: { default: !0 }
348
348
  }), e.reset(d), e.reset(L);
349
- var P = e.sibling(L, 2), h = e.child(P), Z = e.child(h);
350
- e.reset(h);
351
- var O = e.sibling(h, 2), B = e.child(O), q = e.sibling(B, 2);
349
+ var P = e.sibling(L, 2), _ = e.child(P), Z = e.child(_);
350
+ e.reset(_);
351
+ var O = e.sibling(_, 2), B = e.child(O), q = e.sibling(B, 2);
352
352
  e.reset(O);
353
353
  var W = e.sibling(O, 2);
354
354
  {
@@ -362,7 +362,7 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
362
362
  }
363
363
  e.reset(P);
364
364
  var u = e.sibling(P, 4), N = e.child(u);
365
- ne(N, {
365
+ le(N, {
366
366
  variant: "default",
367
367
  size: "md",
368
368
  class: "w-full",
@@ -372,7 +372,7 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
372
372
  pe(C, { size: "16" });
373
373
  var M = e.sibling(C), K = e.sibling(M);
374
374
  {
375
- let G = e.derived(() => e.get(k) ? "rotate-180" : "");
375
+ let G = e.derived(() => e.get(p) ? "rotate-180" : "");
376
376
  Re(K, {
377
377
  size: "16",
378
378
  get class() {
@@ -386,29 +386,29 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
386
386
  });
387
387
  var H = e.sibling(N, 2);
388
388
  {
389
- var _ = (g) => {
389
+ var b = (g) => {
390
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);
391
391
  e.reset(C);
392
392
  var se = e.sibling(C);
393
393
  e.reset(v);
394
- var le = e.sibling(v, 2), ge = e.child(le);
394
+ var ne = e.sibling(v, 2), ge = e.child(ne);
395
395
  ut(ge, { size: "16", class: "shrink-0" });
396
396
  var Pe = e.sibling(ge);
397
- e.reset(le), e.reset(y), e.template_effect(() => {
397
+ e.reset(ne), e.reset(y), e.template_effect(() => {
398
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)") ?? ""}`);
399
- }), e.delegated("click", v, D), e.delegated("click", le, p), e.append(g, y);
399
+ }), e.delegated("click", v, D), e.delegated("click", ne, h), e.append(g, y);
400
400
  };
401
401
  e.if(H, (g) => {
402
- e.get(k) && g(_);
402
+ e.get(p) && g(b);
403
403
  });
404
404
  }
405
405
  e.reset(u);
406
406
  var Y = e.sibling(u, 2), $ = e.child(Y);
407
- ne($, {
407
+ le($, {
408
408
  variant: "default",
409
409
  size: "md",
410
410
  class: "flex-1",
411
- onclick: l,
411
+ onclick: n,
412
412
  children: (g, y) => {
413
413
  var v = be(), C = e.first_child(v);
414
414
  it(C, { size: "16" });
@@ -420,7 +420,7 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
420
420
  var Ce = e.sibling($, 2);
421
421
  {
422
422
  var Ie = (g) => {
423
- ne(g, {
423
+ le(g, {
424
424
  variant: "default",
425
425
  size: "md",
426
426
  class: "flex-1",
@@ -471,21 +471,21 @@ END:VCALENDAR`, o = new Blob([m], { type: "text/calendar;charset=utf-8" }), n =
471
471
  }
472
472
  e.reset(ve), e.reset(j), e.template_effect(() => {
473
473
  e.set_attribute(Z, "alt", a().addToAppleWallet || "Add to Apple Wallet"), e.set_attribute(B, "alt", a().saveToGoogleWallet || "Save to Google Wallet"), e.set_attribute(q, "alt", a().saveToGoogleWallet || "Save to Google Wallet"), e.set_text(Ee, ` ${(a().backToEvent || "Back to event") ?? ""}`);
474
- }), e.delegated("click", h, w), e.delegated("click", O, w), e.delegated("click", te, f), e.append(x, E);
474
+ }), e.delegated("click", _, w), e.delegated("click", O, w), e.delegated("click", te, f), e.append(x, E);
475
475
  },
476
476
  $$slots: { default: !0 }
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();
477
+ }), e.reset(T), e.template_effect(() => V = e.set_class(T, 1, "actions-wrapper svelte-4szgdz", null, V, { visible: t.showContent })), e.append(k, T), e.pop();
478
478
  }
479
479
  e.delegate(["click"]);
480
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>');
481
- function Nt(b, t) {
481
+ function Nt(k, t) {
482
482
  e.push(t, !0);
483
483
  const a = et();
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, () => ({}));
484
+ let p = 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, () => ({}));
485
485
  const r = e.derived(() => He(rt, U()));
486
- let p = e.derived(() => !I());
486
+ let h = e.derived(() => !I());
487
487
  e.user_effect(() => {
488
- if (e.get(p))
488
+ if (e.get(h))
489
489
  return ee.options = a, ee.current = "default", ee.isActive = !0, () => {
490
490
  ee.isActive = !1, ee.options = [];
491
491
  };
@@ -568,29 +568,29 @@ function Nt(b, t) {
568
568
  customerEmail: "generous@example.com"
569
569
  }
570
570
  };
571
- let l = e.derived(() => e.get(p) ? D[e.get(k)] : I()), w = e.derived(() => (() => {
572
- const o = e.get(l).lines;
573
- if (e.get(l).serverTotals)
571
+ let n = e.derived(() => e.get(h) ? D[e.get(p)] : I()), w = e.derived(() => (() => {
572
+ const o = e.get(n).lines;
573
+ if (e.get(n).serverTotals)
574
574
  return {
575
575
  lines: o,
576
- subtotal: e.get(l).serverTotals.subtotal,
577
- fees: e.get(l).serverTotals.fees,
578
- taxes: e.get(l).serverTotals.taxes,
579
- total: e.get(l).serverTotals.total,
580
- promoDiscount: e.get(l).serverTotals.promoDiscount,
581
- giftCardAmount: e.get(l).serverTotals.giftCardAmount
576
+ subtotal: e.get(n).serverTotals.subtotal,
577
+ fees: e.get(n).serverTotals.fees,
578
+ taxes: e.get(n).serverTotals.taxes,
579
+ total: e.get(n).serverTotals.total,
580
+ promoDiscount: e.get(n).serverTotals.promoDiscount,
581
+ giftCardAmount: e.get(n).serverTotals.giftCardAmount
582
582
  };
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);
583
+ const l = o.reduce((P, _) => P + _.subtotal, 0), d = o.reduce((P, _) => P + _.fee * _.quantity, 0), c = at(l + d, e.get(n).event.venue.taxPercentage);
584
584
  return {
585
585
  lines: o,
586
- subtotal: n,
586
+ subtotal: l,
587
587
  fees: d,
588
588
  taxes: c,
589
- total: n + d + c,
589
+ total: l + d + c,
590
590
  promoDiscount: 0,
591
591
  giftCardAmount: 0
592
592
  };
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);
593
+ })()), i = e.derived(() => e.get(h) ? typeof window > "u" ? "#" : `${window.location.origin}/e/${e.get(n).event.id}-${e.get(n).event.slug}` : S() || "#"), f = e.state(!1), T = e.state(!1), V = e.state(!1);
594
594
  function F() {
595
595
  if (e.get(V)) {
596
596
  e.set(f, !0), e.set(T, !0);
@@ -609,23 +609,23 @@ function Nt(b, t) {
609
609
  );
610
610
  }
611
611
  e.user_effect(() => {
612
- e.get(p) && (e.get(k), F());
612
+ e.get(h) && (e.get(p), F());
613
613
  }), oe(() => {
614
614
  e.set(V, window.matchMedia("(prefers-reduced-motion: reduce)").matches, !0), F();
615
615
  });
616
616
  var x = At(), z = e.child(x), E = e.child(z), A = e.child(E);
617
617
  _e(A, {
618
618
  get event() {
619
- return e.get(l).event;
619
+ return e.get(n).event;
620
620
  },
621
621
  get orderId() {
622
- return e.get(l).orderId;
622
+ return e.get(n).orderId;
623
623
  },
624
624
  get orderTotals() {
625
625
  return e.get(w);
626
626
  },
627
627
  get customerEmail() {
628
- return e.get(l).customerEmail;
628
+ return e.get(n).customerEmail;
629
629
  },
630
630
  get showCheckmark() {
631
631
  return e.get(f);
@@ -640,10 +640,10 @@ function Nt(b, t) {
640
640
  var R = e.sibling(A, 2), j = e.child(R);
641
641
  ke(j, {
642
642
  get event() {
643
- return e.get(l).event;
643
+ return e.get(n).event;
644
644
  },
645
645
  get orderId() {
646
- return e.get(l).orderId;
646
+ return e.get(n).orderId;
647
647
  },
648
648
  get eventUrl() {
649
649
  return e.get(i);
@@ -658,16 +658,16 @@ function Nt(b, t) {
658
658
  var L = e.sibling(E, 2), s = e.child(L);
659
659
  _e(s, {
660
660
  get event() {
661
- return e.get(l).event;
661
+ return e.get(n).event;
662
662
  },
663
663
  get orderId() {
664
- return e.get(l).orderId;
664
+ return e.get(n).orderId;
665
665
  },
666
666
  get orderTotals() {
667
667
  return e.get(w);
668
668
  },
669
669
  get customerEmail() {
670
- return e.get(l).customerEmail;
670
+ return e.get(n).customerEmail;
671
671
  },
672
672
  get showCheckmark() {
673
673
  return e.get(f);
@@ -682,10 +682,10 @@ function Nt(b, t) {
682
682
  var m = e.sibling(s, 2);
683
683
  ke(m, {
684
684
  get event() {
685
- return e.get(l).event;
685
+ return e.get(n).event;
686
686
  },
687
687
  get orderId() {
688
- return e.get(l).orderId;
688
+ return e.get(n).orderId;
689
689
  },
690
690
  get eventUrl() {
691
691
  return e.get(i);
@@ -696,28 +696,28 @@ function Nt(b, t) {
696
696
  get labels() {
697
697
  return e.get(r);
698
698
  }
699
- }), e.reset(L), e.reset(z), e.reset(x), e.append(b, x), e.pop();
699
+ }), e.reset(L), e.reset(z), e.reset(x), e.append(k, x), e.pop();
700
700
  }
701
701
  const ie = Ye("Success");
702
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) {
703
+ function Qt(k, t) {
704
704
  e.push(t, !0);
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);
705
+ let a = e.prop(t, "data", 19, () => ({})), p = 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, () => ({})), h = e.state(null), D = e.state(""), n = 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);
706
706
  async function x(s, m) {
707
707
  if (!s) return "unconfirmed";
708
708
  const o = xt(s);
709
709
  if (o && m) {
710
- const n = await We(s, { ...o, id: s, paymentIntentId: m });
711
- if (n?.success)
710
+ const l = await We(s, { ...o, id: s, paymentIntentId: m });
711
+ if (l?.success)
712
712
  return he(s), "ok";
713
- if (n && (n.eventCanceled || n.eventPostponed))
713
+ if (l && (l.eventCanceled || l.eventPostponed))
714
714
  return he(s), "no-charge";
715
715
  }
716
716
  try {
717
717
  const d = (await fe(s))?.purchasedTickets;
718
718
  return Array.isArray(d) && d.length > 0 ? "ok" : "unconfirmed";
719
- } catch (n) {
720
- return ie.warn("Success: redirect-return order check failed:", n), "unconfirmed";
719
+ } catch (l) {
720
+ return ie.warn("Success: redirect-return order check failed:", l), "unconfirmed";
721
721
  }
722
722
  }
723
723
  oe(async () => {
@@ -736,7 +736,7 @@ function Qt(b, t) {
736
736
  id: s,
737
737
  slug: m,
738
738
  event: o,
739
- orderId: n,
739
+ orderId: l,
740
740
  orderUuid: d,
741
741
  // In-memory only (AC-EV-4): populated on the embed path where
742
742
  // CalendarContainer hands the buyer email straight to this component. The
@@ -747,62 +747,62 @@ function Qt(b, t) {
747
747
  // Order total + currency threaded from Checkout → CalendarContainer
748
748
  // (MISSION-TRUTH C6). Present on the embed purchase path; undefined on the
749
749
  // full-page route (its pixels/postMessage fire at mount, before getOrder).
750
- value: h,
750
+ value: _,
751
751
  currency: Z
752
752
  } = a() || {};
753
753
  {
754
754
  const { postMessageOnSuccess: u, postMessageTargetOrigin: N } = Fe();
755
755
  if (u) {
756
756
  const H = {
757
- orderId: String(n || d || ""),
757
+ orderId: String(l || d || ""),
758
758
  eventId: s ?? a()?.eventId ?? o?.id ?? null
759
759
  };
760
- typeof h == "number" && Number.isFinite(h) && (H.value = h, H.currency = Z || "USD"), Be(H, N);
760
+ typeof _ == "number" && Number.isFinite(_) && (H.value = _, H.currency = Z || "USD"), Be(H, N);
761
761
  }
762
762
  }
763
763
  {
764
- const u = s ?? a()?.eventId ?? o?.id ?? null, N = String(n || d || ""), H = "micdrop_purchased_orders", _ = xe(H, []) ?? [], Y = !!N && _.includes(N);
764
+ const u = s ?? a()?.eventId ?? o?.id ?? null, N = String(l || d || ""), H = "micdrop_purchased_orders", b = xe(H, []) ?? [], Y = !!N && b.includes(N);
765
765
  u != null && !Y && (Ge(u, S(), U() || o?.venueID || o?.venueId || null), qe({
766
766
  eventId: u,
767
767
  orderId: N,
768
- value: typeof h == "number" ? h : null,
768
+ value: typeof _ == "number" ? _ : null,
769
769
  currency: Z,
770
770
  contentName: o?.name || o?.title || ""
771
- }), N && Ze(H, [..._, N]));
771
+ }), N && Ze(H, [...b, N]));
772
772
  }
773
773
  e.set(D, I() || `${window.location.origin}/e/${s}-${m}`, !0);
774
774
  let O;
775
775
  try {
776
776
  O = Ke(o);
777
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);
778
+ ie.warn("Success: transformApiEvent failed:", u), e.set(n, r().failedToLoadEventData || "Failed to load event data", !0), e.set(w, !1);
779
779
  return;
780
780
  }
781
- let B = n || "", q = c || "", W = [], J = null;
781
+ let B = l || "", q = c || "", W = [], J = null;
782
782
  if (B)
783
783
  try {
784
784
  const u = await fe(B);
785
785
  if (u) {
786
786
  q = u.customerEmail || q;
787
787
  const N = u.purchasedTickets || u.tickets || [], H = new De();
788
- for (const _ of N) {
789
- const Y = `${_.ticketTypeId || _.ticketId || 0}-${_.ticketName || _.name || ""}`, $ = H.get(Y);
790
- $ ? ($.quantity += 1, $.subtotal += _.purchasePrice || _.price || 0) : H.set(Y, {
788
+ for (const b of N) {
789
+ const Y = `${b.ticketTypeId || b.ticketId || 0}-${b.ticketName || b.name || ""}`, $ = H.get(Y);
790
+ $ ? ($.quantity += 1, $.subtotal += b.purchasePrice || b.price || 0) : H.set(Y, {
791
791
  // @type-escape: OrderLine.ticketId is a branded TicketId, but the
792
792
  // order-confirmation wire carries a raw numeric type-id (0 for
793
793
  // legacy/unknown rows, which the validating toTicketId rejects as
794
794
  // <= 0). Preserve the exact value with a scoped cast — an honest
795
795
  // brand mint here needs the bs29 F1 shared wire<->domain contract.
796
- ticketId: _.ticketTypeId || _.ticketId || 0,
797
- ticketName: _.ticketName || _.name || r().ticketFallbackName || "Ticket",
796
+ ticketId: b.ticketTypeId || b.ticketId || 0,
797
+ ticketName: b.ticketName || b.name || r().ticketFallbackName || "Ticket",
798
798
  quantity: 1,
799
- unitPrice: _.purchasePrice || _.price || 0,
799
+ unitPrice: b.purchasePrice || b.price || 0,
800
800
  fee: 0,
801
- subtotal: _.purchasePrice || _.price || 0
801
+ subtotal: b.purchasePrice || b.price || 0
802
802
  });
803
803
  }
804
804
  if (W = Array.from(H.values()), typeof u.totalPrice == "number") {
805
- const _ = Number(u.totalPrice) - Number(u.giftCardPaymentAmount ?? 0);
805
+ const b = Number(u.totalPrice) - Number(u.giftCardPaymentAmount ?? 0);
806
806
  J = {
807
807
  subtotal: u.basePrice ?? 0,
808
808
  fees: u.surcharge ?? 0,
@@ -810,10 +810,10 @@ function Qt(b, t) {
810
810
  // tax-exempt purchase), not a missing price — this is a receipt of
811
811
  // an already-charged order. Null-check avoids the `?? 0` flag.
812
812
  taxes: u.tax == null ? 0 : u.tax,
813
- total: _,
813
+ total: b,
814
814
  promoDiscount: u.promoCodeStoredDiscountAmount ?? 0,
815
815
  giftCardAmount: u.giftCardPaymentAmount ?? 0,
816
- stripeAmount: _
816
+ stripeAmount: b
817
817
  };
818
818
  }
819
819
  }
@@ -830,7 +830,7 @@ function Qt(b, t) {
830
830
  subtotal: 0
831
831
  }
832
832
  ]), e.set(
833
- p,
833
+ h,
834
834
  {
835
835
  event: O,
836
836
  orderId: String(B),
@@ -846,17 +846,17 @@ function Qt(b, t) {
846
846
  var A = (s) => {
847
847
  var m = Ot(), o = e.child(m);
848
848
  {
849
- var n = (c) => {
850
- var P = Ut(), h = e.first_child(P), Z = e.child(h, !0);
851
- e.reset(h);
852
- var O = e.sibling(h, 2), B = e.child(O, !0);
849
+ var l = (c) => {
850
+ var P = Ut(), _ = e.first_child(P), Z = e.child(_, !0);
851
+ e.reset(_);
852
+ var O = e.sibling(_, 2), B = e.child(O, !0);
853
853
  e.reset(O), e.template_effect(() => {
854
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");
855
855
  }), e.append(c, P);
856
856
  }, d = (c) => {
857
- var P = Lt(), h = e.first_child(P), Z = e.child(h, !0);
858
- e.reset(h);
859
- var O = e.sibling(h, 2), B = e.child(O, !0);
857
+ var P = Lt(), _ = e.first_child(P), Z = e.child(_, !0);
858
+ e.reset(_);
859
+ var O = e.sibling(_, 2), B = e.child(O, !0);
860
860
  e.reset(O);
861
861
  var q = e.sibling(O, 2), W = e.child(q, !0);
862
862
  e.reset(q), e.template_effect(
@@ -864,25 +864,25 @@ function Qt(b, t) {
864
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");
865
865
  },
866
866
  [
867
- () => a()?.id && a()?.slug ? me("/[id]/[slug]", { id: String(a().id), slug: String(a().slug) }) : me(k(), {})
867
+ () => a()?.id && a()?.slug ? me("/[id]/[slug]", { id: String(a().id), slug: String(a().slug) }) : me(p(), {})
868
868
  ]
869
869
  ), e.append(c, P);
870
870
  };
871
871
  e.if(o, (c) => {
872
- e.get(T) || e.get(V) ? c(n) : c(d, -1);
872
+ e.get(T) || e.get(V) ? c(l) : c(d, -1);
873
873
  });
874
874
  }
875
875
  e.reset(m), e.append(s, m);
876
876
  }, R = (s) => {
877
- var m = Mt(), o = e.child(m), n = e.child(o, !0);
878
- e.reset(o), e.reset(m), e.template_effect(() => e.set_text(n, e.get(l))), e.append(s, m);
877
+ var m = Mt(), o = e.child(m), l = e.child(o, !0);
878
+ e.reset(o), e.reset(m), e.template_effect(() => e.set_text(l, e.get(n))), e.append(s, m);
879
879
  }, j = (s) => {
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);
880
+ var m = Vt(), o = e.child(m), l = e.child(o, !0);
881
+ e.reset(o), e.reset(m), e.template_effect(() => e.set_text(l, r().loadingYourOrder || "Loading your order...")), e.append(s, m);
882
882
  }, L = (s) => {
883
883
  Nt(s, {
884
884
  get data() {
885
- return e.get(p);
885
+ return e.get(h);
886
886
  },
887
887
  get eventUrl() {
888
888
  return e.get(D);
@@ -890,12 +890,12 @@ function Qt(b, t) {
890
890
  });
891
891
  };
892
892
  e.if(E, (s) => {
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);
893
+ e.get(f) || e.get(F) || e.get(V) ? s(A) : e.get(n) ? s(R, 1) : e.get(w) || !e.get(h) ? s(j, 2) : s(L, -1);
894
894
  });
895
895
  }
896
- e.append(b, z), e.pop();
896
+ e.append(k, z), e.pop();
897
897
  }
898
898
  export {
899
899
  Qt as default
900
900
  };
901
- //# sourceMappingURL=Success-CeQqi-83.js.map
901
+ //# sourceMappingURL=Success-Ud1tXdaO.js.map