@getmicdrop/venue-calendar 4.3.8 → 4.3.10

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 (124) hide show
  1. package/dist/{ArrowLeftIcon-DvIbVly-.js → ArrowLeftIcon-BYu_Qbkb.js} +1 -1
  2. package/dist/{Badge-vsC_L__r.js → Badge-DCHGGod2.js} +8 -10
  3. package/dist/{BlockPlaceholder-BMD1gnmE.js → BlockPlaceholder-BoPMt_9Z.js} +2 -2
  4. package/dist/{Button-Cm6xkipe.js → Button-vmWb6wKc.js} +117 -63
  5. package/dist/{Calendar-CPD8dS_i.js → Calendar-D11ctjrD.js} +307 -282
  6. package/dist/{CalendarFoundryView-BY1uJgYA.js → CalendarFoundryView-DKhpjxnV.js} +6510 -6504
  7. package/dist/{CalendarIcon-CCgHZAu4.js → CalendarIcon-C8-UVSje.js} +1 -1
  8. package/dist/{CartView-DVugxQ3D.js → CartView-IqOekmQg.js} +814 -814
  9. package/dist/Checkout-ByQsDGg3.js +1005 -0
  10. package/dist/Checkout-C0lQ0AwV.js +1846 -0
  11. package/dist/{CheckoutTimer-CgGCv_jP.js → CheckoutTimer-B0E9KnHc.js} +15 -15
  12. package/dist/{ChevronDownIcon-gELqaIeP.js → ChevronDownIcon-C1uJ2yvz.js} +1 -1
  13. package/dist/{ClockIcon-C4MxWMqH.js → ClockIcon-Dk9q65sX.js} +1 -1
  14. package/dist/{CloseIcon-D3NjpzeW.js → CloseIcon-CyR73vpD.js} +1 -1
  15. package/dist/{CollectionView-C55yLTPR.js → CollectionView-B-CNyf9Z.js} +17 -17
  16. package/dist/CropImage-4WcoXkHt.js +537 -0
  17. package/dist/{Event-ClxgC-gP.js → Event-B4x0sGkc.js} +1142 -870
  18. package/dist/{EventPage-ziJYmBIZ.js → EventPage--xwhM503.js} +244 -236
  19. package/dist/{Heading-D7TEStkb.js → Heading-Br1Yqnvg.js} +3 -4
  20. package/dist/{Image-CjM21MQP.js → Image-M5RaWbKU.js} +12 -13
  21. package/dist/{Input-CIRGYHTC.js → Input-Bk8lP6TX.js} +53 -53
  22. package/dist/{MailIcon-iy7T12Hz.js → MailIcon-Ic2SruY-.js} +1 -1
  23. package/dist/{Modal-wQSo-C1f.js → Modal-CLeZUJ_i.js} +2 -2
  24. package/dist/ModalFooter-CSoG_uic.js +470 -0
  25. package/dist/ModalHeader-DpKxDJT_.js +18 -0
  26. package/dist/{PasswordInput-Cj8i4djG.js → PasswordInput-BHj_lokg.js} +2 -2
  27. package/dist/RecommendationsRail-8AVZ0aLE.js +445 -0
  28. package/dist/{ScarcityBadge-DbUVeqpx.js → ScarcityBadge-DakRfDx4.js} +19 -19
  29. package/dist/{SeriesPage-doki-1XH.js → SeriesPage-BaOeDNb6.js} +5 -5
  30. package/dist/{Spinner-Dua8H4Z1.js → Spinner-a1KCKWxZ.js} +2 -2
  31. package/dist/{Success-DZOYl6St.js → Success-BtUgc4H7.js} +290 -257
  32. package/dist/{TagIcon-CCyZd0sm.js → TagIcon-BiYfs6T7.js} +1 -1
  33. package/dist/{ViewTicketsEmbed-CF2Aq-qy.js → ViewTicketsEmbed-Lxg7n02-.js} +109 -109
  34. package/dist/{WarningCircleIcon-BuVhRrHd.js → WarningCircleIcon-AuYbQdPU.js} +1 -1
  35. package/dist/{WarningTriIcon-0hefhcdZ.js → WarningTriIcon-BzI-tSDG.js} +1 -1
  36. package/dist/{__SKIP_PATHS__-Dyw31EsB.js → __SKIP_PATHS__-B3OPLTzA.js} +1 -1
  37. package/dist/api/api.cjs +1 -1
  38. package/dist/api/api.mjs +239 -237
  39. package/dist/{api-QG8CoGcM.js → api-C1M2t6HU.js} +114 -112
  40. package/dist/{browser-viCaCwoW.js → browser-DrfMvEfn.js} +7 -7
  41. package/dist/{labels-0dEJldQX.js → constants-YG4UeBdR.js} +17 -4
  42. package/dist/{copyToClipboard-C7KGa7gG.js → copyToClipboard-3SejVveg.js} +1 -1
  43. package/dist/{de-K0-gFyNH.js → de-CzupmMIa.js} +14 -1
  44. package/dist/{defaultLabels-BdLGAc3u.js → defaultLabels-CXCsTwix.js} +331 -356
  45. package/dist/{es-DsZSuXW4.js → es-B-vQxM9Z.js} +14 -1
  46. package/dist/{event-CyPf2sZS.js → event-DAjJ01GM.js} +1 -1
  47. package/dist/{event-transform-DQmD2u_S.js → event-transform-DNqGTQhp.js} +54 -53
  48. package/dist/{eventStatusStream-BFOvtJyO.js → eventStatusStream-CLLN-Rvf.js} +2 -2
  49. package/dist/{fr-BmHldIKE.js → fr-B2g-kG7i.js} +14 -1
  50. package/dist/{href-CbfSre4l.js → href-DuxMJt4c.js} +3 -3
  51. package/dist/{i18n-CSftOFAS.js → i18n-Ct9Bo-Vp.js} +179 -129
  52. package/dist/{i18n-D54CGXK2.js → i18n-KdVjJUV5.js} +2 -2
  53. package/dist/{id-CBHA4B6C.js → id-Dgu5-FC6.js} +14 -1
  54. package/dist/imageOptimizer-Ba8P7ZEJ.js +140 -0
  55. package/dist/{it-CK6ravjO.js → it-C580sMYp.js} +14 -1
  56. package/dist/{ja-COO0Ibrr.js → ja-DLki4zXU.js} +14 -1
  57. package/dist/{ko-D8YqNrZs.js → ko-BUcfb1Gi.js} +14 -1
  58. package/dist/locales/4.3.10/flow/de.js +1 -0
  59. package/dist/locales/4.3.10/flow/es.js +1 -0
  60. package/dist/locales/4.3.10/flow/fr.js +1 -0
  61. package/dist/locales/4.3.10/flow/id.js +1 -0
  62. package/dist/locales/4.3.10/flow/it.js +1 -0
  63. package/dist/locales/4.3.10/flow/ja.js +1 -0
  64. package/dist/locales/4.3.10/flow/ko.js +1 -0
  65. package/dist/locales/4.3.10/flow/nl.js +1 -0
  66. package/dist/locales/4.3.10/flow/pl.js +1 -0
  67. package/dist/locales/4.3.10/flow/pt-br.js +1 -0
  68. package/dist/locales/4.3.10/flow/tr.js +1 -0
  69. package/dist/locales/4.3.10/flow/zh.js +1 -0
  70. package/dist/modalManager.svelte-Cz_6x1Qd.js +37 -0
  71. package/dist/{nl-Bk3DPD7e.js → nl-CivAQA0D.js} +14 -1
  72. package/dist/order-totals-DyVkHVqG.js +151 -0
  73. package/dist/{orders-Bat2EL64.js → orders-rH0WZYOW.js} +18 -18
  74. package/dist/{phoneUtils-Cm9iv40N.js → phoneUtils-BFrVEwkQ.js} +1 -1
  75. package/dist/{pixels-Ha6vOCaS.js → pixels-mdd6C3Bk.js} +3 -3
  76. package/dist/{pl-CPmO94ic.js → pl-C5VwFH2B.js} +14 -1
  77. package/dist/{promo-DWzTN7u9.js → promo-CTRn_F4t.js} +1 -1
  78. package/dist/{pt-br-Ch6NFhW6.js → pt-br-B0w9dhVB.js} +14 -1
  79. package/dist/{constants-q-jR2-bz.js → scarcity-Ccj5RlrR.js} +2 -5
  80. package/dist/{serverTotals-BBlkfqMf.js → serverTotals-Dk3z9sIA.js} +1 -1
  81. package/dist/{showcase-state-options-CxRQ-phi.js → showcase-state-options-8-egiV5-.js} +1 -1
  82. package/dist/{to-event-card-props-BIl0qQs0.js → to-event-card-props-a4k6D100.js} +49 -49
  83. package/dist/{tr-CXnalLJT.js → tr-LGkP5gpA.js} +14 -1
  84. package/dist/{utils-ChgG4jiQ.js → utils-BseYYrbn.js} +82 -78
  85. package/dist/venue-calendar.css +1 -1
  86. package/dist/venue-calendar.es.js +994 -996
  87. package/dist/venue-calendar.iife.js +56 -57
  88. package/dist/venue-calendar.umd.js +51 -52
  89. package/dist/{zh-CM2J1Py4.js → zh-D2ZAdq3T.js} +14 -1
  90. package/package.json +2 -2
  91. package/dist/Checkout-D7KSikhw.js +0 -980
  92. package/dist/Checkout-Ddcw2_8F.js +0 -1846
  93. package/dist/CropImage-CxLcNArr.js +0 -445
  94. package/dist/ModalFooter-DlRXuHQz.js +0 -301
  95. package/dist/imageOptimizer-BwLwBMI6.js +0 -112
  96. package/dist/keyboard-fiZFqeNA.js +0 -29
  97. package/dist/locales/4.3.8/flow/de.js +0 -1
  98. package/dist/locales/4.3.8/flow/es.js +0 -1
  99. package/dist/locales/4.3.8/flow/fr.js +0 -1
  100. package/dist/locales/4.3.8/flow/id.js +0 -1
  101. package/dist/locales/4.3.8/flow/it.js +0 -1
  102. package/dist/locales/4.3.8/flow/ja.js +0 -1
  103. package/dist/locales/4.3.8/flow/ko.js +0 -1
  104. package/dist/locales/4.3.8/flow/nl.js +0 -1
  105. package/dist/locales/4.3.8/flow/pl.js +0 -1
  106. package/dist/locales/4.3.8/flow/pt-br.js +0 -1
  107. package/dist/locales/4.3.8/flow/tr.js +0 -1
  108. package/dist/locales/4.3.8/flow/zh.js +0 -1
  109. package/dist/modalManager.svelte-Dnv5jhxp.js +0 -53
  110. package/dist/order-totals-Ci_p6SG6.js +0 -131
  111. package/dist/portal-DqxEuE-7.js +0 -166
  112. package/dist/shareCopyFeedback.svelte-CW0Yy9Oz.js +0 -330
  113. /package/dist/locales/{4.3.8 → 4.3.10}/main/de.js +0 -0
  114. /package/dist/locales/{4.3.8 → 4.3.10}/main/es.js +0 -0
  115. /package/dist/locales/{4.3.8 → 4.3.10}/main/fr.js +0 -0
  116. /package/dist/locales/{4.3.8 → 4.3.10}/main/id.js +0 -0
  117. /package/dist/locales/{4.3.8 → 4.3.10}/main/it.js +0 -0
  118. /package/dist/locales/{4.3.8 → 4.3.10}/main/ja.js +0 -0
  119. /package/dist/locales/{4.3.8 → 4.3.10}/main/ko.js +0 -0
  120. /package/dist/locales/{4.3.8 → 4.3.10}/main/nl.js +0 -0
  121. /package/dist/locales/{4.3.8 → 4.3.10}/main/pl.js +0 -0
  122. /package/dist/locales/{4.3.8 → 4.3.10}/main/pt-br.js +0 -0
  123. /package/dist/locales/{4.3.8 → 4.3.10}/main/tr.js +0 -0
  124. /package/dist/locales/{4.3.8 → 4.3.10}/main/zh.js +0 -0
@@ -1,35 +1,35 @@
1
- import { x as e } from "./Button-Cm6xkipe.js";
2
- import { R as t, i as n } from "./defaultLabels-BdLGAc3u.js";
3
- import { J as r, i, t as a, u as o } from "./constants-q-jR2-bz.js";
4
- import { t as s } from "./ArrowLeftIcon-DvIbVly-.js";
5
- import { t as c } from "./CalendarIcon-CCgHZAu4.js";
6
- import { t as l } from "./ChevronDownIcon-gELqaIeP.js";
7
- import { n as u, t as d } from "./MailIcon-iy7T12Hz.js";
8
- import { a as f, n as p, t as m } from "./shareCopyFeedback.svelte-CW0Yy9Oz.js";
9
- import { n as h } from "./copyToClipboard-C7KGa7gG.js";
10
- import { t as g } from "./Image-CjM21MQP.js";
11
- import { B as _, J as v, Q as y, X as b, g as x, s as S } from "./orders-Bat2EL64.js";
12
- import { a as C, l as w, o as T, t as E } from "./__SKIP_PATHS__-Dyw31EsB.js";
13
- import { n as D, t as O } from "./Heading-D7TEStkb.js";
1
+ import { E as e } from "./Button-vmWb6wKc.js";
2
+ import { l as t, q as n, r } from "./scarcity-Ccj5RlrR.js";
3
+ import { t as i } from "./ArrowLeftIcon-BYu_Qbkb.js";
4
+ import { t as a } from "./CalendarIcon-C8-UVSje.js";
5
+ import { t as o } from "./ChevronDownIcon-C1uJ2yvz.js";
6
+ import { n as s, t as c } from "./MailIcon-Ic2SruY-.js";
7
+ import { n as l, o as u, r as d, t as f } from "./RecommendationsRail-8AVZ0aLE.js";
8
+ import { n as p } from "./copyToClipboard-3SejVveg.js";
9
+ import { t as m } from "./Image-M5RaWbKU.js";
10
+ import { R as h, i as g } from "./defaultLabels-CXCsTwix.js";
11
+ import { B as _, J as v, Q as y, X as b, g as x, s as S } from "./orders-rH0WZYOW.js";
12
+ import { a as C, l as w, o as T, t as E } from "./__SKIP_PATHS__-B3OPLTzA.js";
13
+ import { n as D, t as O } from "./Heading-Br1Yqnvg.js";
14
14
  import { t as k } from "./Text-CqjLjIF8.js";
15
- import "./api-QG8CoGcM.js";
16
- import { c as ee, r as te } from "./pixels-Ha6vOCaS.js";
17
- import { i as A, n as j, t as M } from "./i18n-CSftOFAS.js";
18
- import { n as N, t as P } from "./i18n-D54CGXK2.js";
19
- import { S as F, d as ne, l as I, n as L } from "./utils-ChgG4jiQ.js";
20
- import { t as R } from "./labels-0dEJldQX.js";
21
- import { a as z, i as B, n as V, o as re, r as H, s as U } from "./showcase-state-options-CxRQ-phi.js";
22
- import { n as W, t as ie } from "./buyerEmail-BfCq-gDt.js";
15
+ import "./api-C1M2t6HU.js";
16
+ import { c as A, r as j } from "./pixels-mdd6C3Bk.js";
17
+ import { i as M, n as N, t as P } from "./i18n-Ct9Bo-Vp.js";
18
+ import { n as ee, t as F } from "./i18n-KdVjJUV5.js";
19
+ import { S as I, d as L, l as R, n as z } from "./utils-BseYYrbn.js";
20
+ import { n as B, t as te } from "./constants-YG4UeBdR.js";
21
+ import { a as V, i as H, n as ne, o as re, r as U, s as W } from "./showcase-state-options-8-egiV5-.js";
22
+ import { n as ie, t as ae } from "./buyerEmail-BfCq-gDt.js";
23
23
  import "svelte/internal/disclose-version";
24
24
  import * as G from "svelte/internal/client";
25
- import { SvelteMap as ae } from "svelte/reactivity";
26
- import { onDestroy as K, onMount as q } from "svelte";
25
+ import { SvelteMap as K } from "svelte/reactivity";
26
+ import { onDestroy as q, onMount as J } from "svelte";
27
27
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/HelpIcon.svelte
28
- var oe = G.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>"), se = G.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), J = G.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
29
- function ce(e, t) {
28
+ var oe = G.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>"), se = G.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), ce = G.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
29
+ function le(e, t) {
30
30
  G.push(t, !0);
31
- let n = G.prop(t, "size", 3, "24"), i = G.prop(t, "color", 3, "currentColor"), a = G.prop(t, "class", 3, ""), o = r(), s = G.derived(() => t.weight ?? o?.weight ?? "regular");
32
- var c = J();
31
+ let r = G.prop(t, "size", 3, "24"), i = G.prop(t, "color", 3, "currentColor"), a = G.prop(t, "class", 3, ""), o = n(), s = G.derived(() => t.weight ?? o?.weight ?? "regular");
32
+ var c = ce();
33
33
  let l;
34
34
  var u = G.child(c), d = (e) => {
35
35
  var t = oe();
@@ -41,7 +41,7 @@ function ce(e, t) {
41
41
  G.if(u, (e) => {
42
42
  G.get(s) === "fill" ? e(d) : e(f, -1);
43
43
  }), G.reset(c), G.template_effect(() => {
44
- G.set_class(c, 0, G.clsx(a())), G.set_attribute(c, "width", n()), G.set_attribute(c, "height", n()), l = G.set_style(c, "", l, { color: i() === "currentColor" ? void 0 : i() });
44
+ G.set_class(c, 0, G.clsx(a())), G.set_attribute(c, "width", r()), G.set_attribute(c, "height", r()), l = G.set_style(c, "", l, { color: i() === "currentColor" ? void 0 : i() });
45
45
  }), G.append(e, c), G.pop();
46
46
  }
47
47
  //#endregion
@@ -55,20 +55,20 @@ function Z(e) {
55
55
  }
56
56
  //#endregion
57
57
  //#region src/lib/public-calendar-flow/SuccessTicket.svelte
58
- var le = G.from_html("<div class=\"p-3 rounded-lg bg-surface-secondary mb-6\"><!> <!></div>"), ue = G.from_html("<div class=\"flex items-center justify-center gap-2 p-3 rounded-lg bg-surface-secondary mt-4\"><!> <!></div>"), de = G.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></div>");
59
- function fe(e, t) {
58
+ var ue = G.from_html("<div class=\"p-3 rounded-lg bg-surface-secondary mb-6\"><!> <!></div>"), de = G.from_html("<div class=\"flex items-center justify-center gap-2 p-3 rounded-lg bg-surface-secondary mt-4\"><!> <!></div>"), fe = G.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></div>");
59
+ function pe(e, t) {
60
60
  G.push(t, !0);
61
- let n = G.prop(t, "labels", 3, R), r = G.derived(() => t.orderTotals.lines.reduce((e, t) => e + t.quantity, 0)), i = G.derived(() => t.event.isRegistrationEvent ? n().youreRegistered || "You're registered" : n().youreIn || "You're in");
61
+ let n = G.prop(t, "labels", 3, B), r = G.derived(() => t.orderTotals.lines.reduce((e, t) => e + t.quantity, 0)), i = G.derived(() => t.event.isRegistrationEvent ? n().youreRegistered || "You're registered" : n().youreIn || "You're in");
62
62
  D(e, {
63
63
  border: !0,
64
64
  padding: !1,
65
65
  class: "rounded-xl shadow-lg overflow-hidden bg-surface-primary",
66
66
  children: (e, a) => {
67
- var o = de(), s = G.child(o), c = G.child(s), l = G.child(c);
68
- let u;
69
- var f = G.sibling(l, 2);
67
+ var o = fe(), s = G.child(o), l = G.child(s), u = G.child(l);
68
+ let d;
69
+ var f = G.sibling(u, 2);
70
70
  let p;
71
- G.reset(c), G.reset(s);
71
+ G.reset(l), G.reset(s);
72
72
  var m = G.sibling(s, 2);
73
73
  let h;
74
74
  var g = G.child(m), _ = G.child(g);
@@ -109,7 +109,7 @@ function fe(e, t) {
109
109
  $$slots: { default: !0 }
110
110
  }), G.reset(g);
111
111
  var b = G.sibling(g, 2), x = (e) => {
112
- var r = le(), i = G.child(r);
112
+ var r = ue(), i = G.child(r);
113
113
  k(i, {
114
114
  size: "xs",
115
115
  weight: "semibold",
@@ -138,7 +138,7 @@ function fe(e, t) {
138
138
  t.event.postSalesMessage && e(x);
139
139
  });
140
140
  var S = G.sibling(b, 2), C = G.child(S);
141
- j(C, {
141
+ N(C, {
142
142
  get orderTotals() {
143
143
  return t.orderTotals;
144
144
  },
@@ -159,8 +159,8 @@ function fe(e, t) {
159
159
  $$slots: { default: !0 }
160
160
  }), G.reset(w);
161
161
  var E = G.sibling(w, 2), D = (e) => {
162
- var r = ue(), i = G.child(r);
163
- d(i, {
162
+ var r = de(), i = G.child(r);
163
+ c(i, {
164
164
  size: "16",
165
165
  class: "shrink-0 text-color-muted"
166
166
  });
@@ -180,7 +180,7 @@ function fe(e, t) {
180
180
  G.if(E, (e) => {
181
181
  t.customerEmail && e(D);
182
182
  }), G.reset(m), G.reset(o), G.template_effect(() => {
183
- u = G.set_class(l, 1, "processing-spinner svelte-667vry", null, u, { "fade-out": t.showCheckmark }), p = G.set_class(f, 0, "checkmark-svg svelte-667vry", null, p, { active: t.showCheckmark }), h = G.set_class(m, 1, "content-section svelte-667vry", null, h, { visible: t.showContent });
183
+ d = G.set_class(u, 1, "processing-spinner svelte-667vry", null, d, { "fade-out": t.showCheckmark }), p = G.set_class(f, 0, "checkmark-svg svelte-667vry", null, p, { active: t.showCheckmark }), h = G.set_class(m, 1, "content-section svelte-667vry", null, h, { visible: t.showContent });
184
184
  }), G.append(e, o);
185
185
  },
186
186
  $$slots: { default: !0 }
@@ -191,36 +191,36 @@ var Q = {
191
191
  green: "#34a853",
192
192
  yellow: "#fbbc05",
193
193
  red: "#ea4335"
194
- }, pe = G.from_html(" <!>", 1), me = G.from_html("<p class=\"wallet-note caption svelte-4szgdz\"> </p>"), he = G.from_html("<!> <!>", 1), ge = 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>"), _e = G.from_html("<!> ", 1), ve = G.from_html("<p class=\"copy-fallback caption svelte-4szgdz\">Copy failed — select to copy: <span class=\"copy-url svelte-4szgdz\"> </span></p>"), ye = 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), be = 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), xe = G.from_html("<div><!></div>");
195
- function Se(e, t) {
196
- G.push(t, !0);
197
- let r = G.prop(t, "backHref", 3, void 0), d = G.prop(t, "labels", 3, R), p = G.prop(t, "locale", 3, void 0), _ = G.derived(() => r() || t.eventUrl), v = G.state(!1), y = m(), b = G.state("");
194
+ }, me = G.from_html(" <!>", 1), he = G.from_html("<p class=\"wallet-note caption svelte-4szgdz\"> </p>"), ge = G.from_html("<!> <!>", 1), _e = 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>"), ve = G.from_html("<!> ", 1), ye = G.from_html("<p class=\"copy-fallback caption svelte-4szgdz\">Copy failed — select to copy: <span class=\"copy-url svelte-4szgdz\"> </span></p>"), be = 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), xe = 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), Se = G.from_html("<div><!></div>");
195
+ function Ce(e, n) {
196
+ G.push(n, !0);
197
+ let c = G.prop(n, "backHref", 3, void 0), d = G.prop(n, "labels", 3, B), f = G.prop(n, "locale", 3, void 0), h = G.derived(() => c() || n.eventUrl), _ = G.state(!1), v = l(), y = G.state("");
198
198
  G.user_effect(() => {
199
- G.get(b) && w(G.get(b), { politeness: "polite" });
199
+ G.get(y) && w(G.get(y), { politeness: "polite" });
200
200
  }), G.user_effect(() => {
201
- y.copyState === "failed" && w(`Copy failed — select to copy: ${y.copyFailedUrl}`, { politeness: "assertive" });
201
+ v.copyState === "failed" && w(`Copy failed — select to copy: ${v.copyFailedUrl}`, { politeness: "assertive" });
202
202
  });
203
- function x() {
204
- G.set(v, !G.get(v));
203
+ function b() {
204
+ G.set(_, !G.get(_));
205
205
  }
206
- q(() => {
206
+ J(() => {
207
207
  function e(e) {
208
- e.target.closest(".calendar-dropdown") || G.set(v, !1);
208
+ e.target.closest(".calendar-dropdown") || G.set(_, !1);
209
209
  }
210
210
  return document.addEventListener("click", e), () => document.removeEventListener("click", e);
211
211
  });
212
- let S = G.derived(() => (() => {
213
- 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(", ");
212
+ let x = G.derived(() => (() => {
213
+ 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(", ");
214
214
  return `https://calendar.google.com/calendar/render?${new URLSearchParams({
215
215
  action: "TEMPLATE",
216
- text: t.event.title,
217
- dates: `${r(e)}/${r(n)}`,
216
+ text: n.event.title,
217
+ dates: `${r(e)}/${r(t)}`,
218
218
  location: i,
219
- details: `Event: ${t.eventUrl}\n\nTicket confirmation #${t.orderId}`
219
+ details: `Event: ${n.eventUrl}\n\nTicket confirmation #${n.orderId}`
220
220
  }).toString()}`;
221
221
  })());
222
- function C() {
223
- 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
222
+ function S() {
223
+ 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
224
224
  VERSION:2.0
225
225
  PRODID:-//MicDrop//Ticket Confirmation//EN
226
226
  CALSCALE:GREGORIAN
@@ -229,131 +229,131 @@ BEGIN:VEVENT
229
229
  UID:${i}
230
230
  DTSTAMP:${a}
231
231
  DTSTART:${r(e)}
232
- DTEND:${r(n)}
233
- SUMMARY:${s(t.event.title)}
232
+ DTEND:${r(t)}
233
+ SUMMARY:${s(n.event.title)}
234
234
  LOCATION:${s(o)}
235
- DESCRIPTION:${s(`Order #${t.orderId}\n\nView event: ${t.eventUrl}`)}
236
- URL:${t.eventUrl}
235
+ DESCRIPTION:${s(`Order #${n.orderId}\n\nView event: ${n.eventUrl}`)}
236
+ URL:${n.eventUrl}
237
237
  STATUS:CONFIRMED
238
238
  END:VEVENT
239
239
  END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u = URL.createObjectURL(l);
240
240
  try {
241
241
  let e = document.createElement("a");
242
- 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();
242
+ 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();
243
243
  } finally {
244
244
  URL.revokeObjectURL(u);
245
245
  }
246
- G.set(v, !1);
246
+ G.set(_, !1);
247
+ }
248
+ function C() {
249
+ G.set(_, !1);
247
250
  }
248
251
  function T() {
249
- G.set(v, !1);
252
+ v.share(n.eventUrl);
250
253
  }
251
254
  function E() {
252
- y.share(t.eventUrl);
253
- }
254
- function O() {
255
- G.set(b, d().walletComingSoon || "Wallet passes are coming soon. Your ticket is confirmed — check your email", !0);
255
+ G.set(y, d().walletComingSoon || "Wallet passes are coming soon. Your ticket is confirmed — check your email", !0);
256
256
  }
257
- K(y.dispose);
258
- let ee = G.derived(() => (() => {
259
- let e = [t.event.venue.name, t.event.venue.address].filter(Boolean);
257
+ q(v.dispose);
258
+ let O = G.derived(() => (() => {
259
+ let e = [n.event.venue.name, n.event.venue.address].filter(Boolean);
260
260
  return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(e.join(", "))}`;
261
261
  })());
262
- function te() {
263
- window.location.href = G.get(_);
262
+ function A() {
263
+ window.location.href = G.get(h);
264
264
  }
265
- var A = xe();
266
- let j;
267
- var M = G.child(A);
268
- D(M, {
265
+ var j = Se();
266
+ let M;
267
+ var N = G.child(j);
268
+ D(N, {
269
269
  border: !0,
270
270
  padding: !1,
271
271
  class: "rounded-xl shadow-lg overflow-hidden bg-surface-secondary",
272
- children: (e, r) => {
273
- var m = be(), _ = G.first_child(m), w = G.child(_);
274
- g(w, {
272
+ children: (e, c) => {
273
+ var l = xe(), h = G.first_child(l), w = G.child(h);
274
+ m(w, {
275
275
  get src() {
276
- return t.event.imageUrl;
276
+ return n.event.imageUrl;
277
277
  },
278
278
  get alt() {
279
- return t.event.title;
279
+ return n.event.title;
280
280
  },
281
281
  get fallback() {
282
- return a;
282
+ return te;
283
283
  },
284
284
  fit: "contain",
285
285
  class: "w-full max-h-60 min-h-24"
286
- }), G.reset(_);
287
- var D = G.sibling(_, 2), A = G.child(D), j = G.child(A);
288
- k(j, {
286
+ }), G.reset(h);
287
+ var D = G.sibling(h, 2), j = G.child(D), M = G.child(j);
288
+ k(M, {
289
289
  size: "sm",
290
290
  weight: "semibold",
291
291
  leading: "tight",
292
292
  class: "block",
293
- children: (e, n) => {
293
+ children: (e, t) => {
294
294
  G.next();
295
295
  var r = G.text();
296
- G.template_effect(() => G.set_text(r, t.event.title)), G.append(e, r);
296
+ G.template_effect(() => G.set_text(r, n.event.title)), G.append(e, r);
297
297
  },
298
298
  $$slots: { default: !0 }
299
299
  });
300
- var M = G.sibling(j, 2), N = G.child(M);
301
- c(N, {
300
+ var N = G.sibling(M, 2), P = G.child(N);
301
+ a(P, {
302
302
  size: "16",
303
303
  class: "shrink-0 icon-muted"
304
304
  });
305
- var P = G.sibling(N, 2);
306
- k(P, {
305
+ var ee = G.sibling(P, 2);
306
+ k(ee, {
307
307
  size: "xs",
308
308
  color: "muted",
309
- children: (e, n) => {
309
+ children: (e, i) => {
310
310
  G.next();
311
- var r = pe(), a = G.first_child(r), s = G.sibling(a), c = (e) => {
312
- var n = G.text();
313
- G.template_effect((e) => G.set_text(n, `· ${e ?? ""}`), [() => o(t.event.startDateTime, t.event.timezone, p())]), G.append(e, n);
311
+ var a = me(), o = G.first_child(a), s = G.sibling(o), c = (e) => {
312
+ var r = G.text();
313
+ G.template_effect((e) => G.set_text(r, `· ${e ?? ""}`), [() => t(n.event.startDateTime, n.event.timezone, f())]), G.append(e, r);
314
314
  };
315
315
  G.if(s, (e) => {
316
- t.event.displayStartTime !== !1 && e(c);
317
- }), G.template_effect((e) => G.set_text(a, `${e ?? ""} `), [() => i(t.event.startDateTime, t.event.timezone, p())]), G.append(e, r);
316
+ n.event.displayStartTime !== !1 && e(c);
317
+ }), G.template_effect((e) => G.set_text(o, `${e ?? ""} `), [() => r(n.event.startDateTime, n.event.timezone, f())]), G.append(e, a);
318
318
  },
319
319
  $$slots: { default: !0 }
320
- }), G.reset(M);
321
- var F = G.sibling(M, 2), ne = G.child(F);
322
- k(ne, {
320
+ }), G.reset(N);
321
+ var F = G.sibling(N, 2), I = G.child(F);
322
+ k(I, {
323
323
  size: "xs",
324
324
  color: "muted",
325
325
  class: "block",
326
- children: (e, n) => {
326
+ children: (e, t) => {
327
327
  G.next();
328
328
  var r = G.text();
329
- G.template_effect(() => G.set_text(r, t.event.venue.name)), G.append(e, r);
329
+ G.template_effect(() => G.set_text(r, n.event.venue.name)), G.append(e, r);
330
330
  },
331
331
  $$slots: { default: !0 }
332
- }), G.reset(F), G.reset(A);
333
- var I = G.sibling(A, 2), L = G.child(I), R = G.child(L);
334
- G.reset(L);
335
- var z = G.sibling(L, 2), B = G.child(z), V = G.sibling(B, 2);
336
- G.reset(z);
337
- var re = G.sibling(z, 2), H = (e) => {
338
- var t = me(), n = G.child(t, !0);
339
- G.reset(t), G.template_effect(() => G.set_text(n, G.get(b))), G.append(e, t);
332
+ }), G.reset(F), G.reset(j);
333
+ var L = G.sibling(j, 2), R = G.child(L), z = G.child(R);
334
+ G.reset(R);
335
+ var B = G.sibling(R, 2), V = G.child(B), H = G.sibling(V, 2);
336
+ G.reset(B);
337
+ var ne = G.sibling(B, 2), re = (e) => {
338
+ var t = he(), n = G.child(t, !0);
339
+ G.reset(t), G.template_effect(() => G.set_text(n, G.get(y))), G.append(e, t);
340
340
  };
341
- G.if(re, (e) => {
342
- G.get(b) && e(H);
343
- }), G.reset(I);
344
- var U = G.sibling(I, 4), W = G.child(U);
345
- n(W, {
341
+ G.if(ne, (e) => {
342
+ G.get(y) && e(re);
343
+ }), G.reset(L);
344
+ var U = G.sibling(L, 4), W = G.child(U);
345
+ g(W, {
346
346
  variant: "default",
347
347
  size: "md",
348
348
  class: "w-full",
349
- onclick: x,
349
+ onclick: b,
350
350
  children: (e, t) => {
351
- var n = he(), r = G.first_child(n);
352
- c(r, { size: "16" });
353
- var i = G.sibling(r), a = G.sibling(i);
351
+ var n = ge(), r = G.first_child(n);
352
+ a(r, { size: "16" });
353
+ var i = G.sibling(r), s = G.sibling(i);
354
354
  {
355
- let e = G.derived(() => G.get(v) ? "rotate-180" : "");
356
- l(a, {
355
+ let e = G.derived(() => G.get(_) ? "rotate-180" : "");
356
+ o(s, {
357
357
  size: "16",
358
358
  get class() {
359
359
  return `ml-auto transition-transform ${G.get(e) ?? ""}`;
@@ -365,116 +365,116 @@ END:VCALENDAR`, l = new Blob([c], { type: "text/calendar;charset=utf-8" }), u =
365
365
  $$slots: { default: !0 }
366
366
  });
367
367
  var ie = G.sibling(W, 2), ae = (e) => {
368
- var t = ge(), n = G.child(t), r = G.child(n), i = G.child(r), a = G.sibling(i), o = G.sibling(a), s = G.sibling(o);
368
+ var t = _e(), n = G.child(t), r = G.child(n), i = G.child(r), a = G.sibling(i), o = G.sibling(a), c = G.sibling(o);
369
369
  G.reset(r);
370
- var c = G.sibling(r);
370
+ var l = G.sibling(r);
371
371
  G.reset(n);
372
- var l = G.sibling(n, 2), f = G.child(l);
373
- u(f, {
372
+ var u = G.sibling(n, 2), f = G.child(u);
373
+ s(f, {
374
374
  size: "16",
375
375
  class: "shrink-0"
376
376
  });
377
377
  var p = G.sibling(f);
378
- G.reset(l), G.reset(t), G.template_effect(() => {
379
- G.set_attribute(n, "href", G.get(S)), G.set_attribute(i, "fill", Q.blue), G.set_attribute(a, "fill", Q.green), G.set_attribute(o, "fill", Q.yellow), G.set_attribute(s, "fill", Q.red), G.set_text(c, ` ${(d().googleCalendar || "Google Calendar") ?? ""}`), G.set_text(p, ` ${(d().appleCalendar || "Apple Calendar (.ics)") ?? ""}`);
380
- }), G.delegated("click", n, T), G.delegated("click", l, C), G.append(e, t);
378
+ G.reset(u), G.reset(t), G.template_effect(() => {
379
+ G.set_attribute(n, "href", G.get(x)), G.set_attribute(i, "fill", Q.blue), G.set_attribute(a, "fill", Q.green), G.set_attribute(o, "fill", Q.yellow), G.set_attribute(c, "fill", Q.red), G.set_text(l, ` ${(d().googleCalendar || "Google Calendar") ?? ""}`), G.set_text(p, ` ${(d().appleCalendar || "Apple Calendar (.ics)") ?? ""}`);
380
+ }), G.delegated("click", n, C), G.delegated("click", u, S), G.append(e, t);
381
381
  };
382
382
  G.if(ie, (e) => {
383
- G.get(v) && e(ae);
383
+ G.get(_) && e(ae);
384
384
  }), G.reset(U);
385
385
  var K = G.sibling(U, 2), q = G.child(K);
386
- n(q, {
386
+ g(q, {
387
387
  variant: "default",
388
388
  size: "md",
389
389
  class: "flex-1",
390
- onclick: E,
390
+ onclick: T,
391
391
  children: (e, t) => {
392
- var n = _e(), r = G.first_child(n);
393
- f(r, { size: "16" });
392
+ var n = ve(), r = G.first_child(n);
393
+ u(r, { size: "16" });
394
394
  var i = G.sibling(r);
395
- G.template_effect(() => G.set_text(i, ` ${(y.copyState === "copied" ? "Link copied" : d().share || "Share") ?? ""}`)), G.append(e, n);
395
+ G.template_effect(() => G.set_text(i, ` ${(v.copyState === "copied" ? "Link copied" : d().share || "Share") ?? ""}`)), G.append(e, n);
396
396
  },
397
397
  $$slots: { default: !0 }
398
398
  });
399
- var oe = G.sibling(q, 2), se = (e) => {
400
- n(e, {
399
+ var J = G.sibling(q, 2), oe = (e) => {
400
+ g(e, {
401
401
  variant: "default",
402
402
  size: "md",
403
403
  class: "flex-1",
404
404
  get href() {
405
- return G.get(ee);
405
+ return G.get(O);
406
406
  },
407
407
  children: (e, t) => {
408
- var n = _e(), r = G.first_child(n);
409
- h(r, { size: "16" });
408
+ var n = ve(), r = G.first_child(n);
409
+ p(r, { size: "16" });
410
410
  var i = G.sibling(r);
411
411
  G.template_effect(() => G.set_text(i, ` ${(d().map || "Map") ?? ""}`)), G.append(e, n);
412
412
  },
413
413
  $$slots: { default: !0 }
414
414
  });
415
415
  };
416
- G.if(oe, (e) => {
417
- t.event.venue.address && e(se);
416
+ G.if(J, (e) => {
417
+ n.event.venue.address && e(oe);
418
418
  }), G.reset(K);
419
- var J = G.sibling(K, 2), Y = (e) => {
420
- var t = ve(), n = G.sibling(G.child(t)), r = G.child(n, !0);
421
- G.reset(n), G.reset(t), G.template_effect(() => G.set_text(r, y.copyFailedUrl)), G.append(e, t);
419
+ var se = G.sibling(K, 2), ce = (e) => {
420
+ var t = ye(), n = G.sibling(G.child(t)), r = G.child(n, !0);
421
+ G.reset(n), G.reset(t), G.template_effect(() => G.set_text(r, v.copyFailedUrl)), G.append(e, t);
422
422
  };
423
- G.if(J, (e) => {
424
- y.copyState === "failed" && e(Y);
423
+ G.if(se, (e) => {
424
+ v.copyState === "failed" && e(ce);
425
425
  });
426
- var X = G.sibling(J, 2), Z = G.child(X), le = G.child(Z);
427
- s(le, {
426
+ var Y = G.sibling(se, 2), X = G.child(Y), Z = G.child(X);
427
+ i(Z, {
428
428
  size: "16",
429
429
  class: "shrink-0"
430
430
  });
431
- var ue = G.sibling(le);
432
- G.reset(Z);
433
- var de = G.sibling(Z, 2), fe = (e) => {
434
- var n = ye(), r = G.sibling(G.first_child(n), 2), i = G.child(r);
435
- ce(i, {
431
+ var ue = G.sibling(Z);
432
+ G.reset(X);
433
+ var de = G.sibling(X, 2), fe = (e) => {
434
+ var t = be(), r = G.sibling(G.first_child(t), 2), i = G.child(r);
435
+ le(i, {
436
436
  size: "16",
437
437
  class: "shrink-0"
438
438
  });
439
439
  var a = G.sibling(i);
440
440
  G.reset(r), G.template_effect(() => {
441
- G.set_attribute(r, "href", `mailto:${t.event.venue.contactEmail ?? ""}?subject=Help with Order ${t.orderId ?? ""}`), G.set_text(a, ` ${(d().needHelp || "Need help?") ?? ""}`);
442
- }), G.append(e, n);
441
+ G.set_attribute(r, "href", `mailto:${n.event.venue.contactEmail ?? ""}?subject=Help with Order ${n.orderId ?? ""}`), G.set_text(a, ` ${(d().needHelp || "Need help?") ?? ""}`);
442
+ }), G.append(e, t);
443
443
  };
444
444
  G.if(de, (e) => {
445
- t.event.venue.contactEmail && e(fe);
446
- }), G.reset(X), G.reset(D), G.template_effect(() => {
447
- G.set_attribute(R, "alt", d().addToAppleWallet || "Add to Apple Wallet"), G.set_attribute(B, "alt", d().saveToGoogleWallet || "Save to Google Wallet"), G.set_attribute(V, "alt", d().saveToGoogleWallet || "Save to Google Wallet"), G.set_text(ue, ` ${(d().backToEvent || "Back to event") ?? ""}`);
448
- }), G.delegated("click", L, O), G.delegated("click", z, O), G.delegated("click", Z, te), G.append(e, m);
445
+ n.event.venue.contactEmail && e(fe);
446
+ }), G.reset(Y), G.reset(D), G.template_effect(() => {
447
+ G.set_attribute(z, "alt", d().addToAppleWallet || "Add to Apple Wallet"), G.set_attribute(V, "alt", d().saveToGoogleWallet || "Save to Google Wallet"), G.set_attribute(H, "alt", d().saveToGoogleWallet || "Save to Google Wallet"), G.set_text(ue, ` ${(d().backToEvent || "Back to event") ?? ""}`);
448
+ }), G.delegated("click", R, E), G.delegated("click", B, E), G.delegated("click", X, A), G.append(e, l);
449
449
  },
450
450
  $$slots: { default: !0 }
451
- }), G.reset(A), G.template_effect(() => j = G.set_class(A, 1, "actions-wrapper svelte-4szgdz", null, j, { visible: t.showContent })), G.append(e, A), G.pop();
451
+ }), 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();
452
452
  }
453
453
  G.delegate(["click"]);
454
454
  //#endregion
455
455
  //#region src/lib/public-calendar-flow/Success.svelte
456
- var Ce = 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=\"vc-box-desktop-grid grid-cols-booking-split gap-8 items-start\"><!> <div class=\"sticky top-6\"><!></div></div> <div class=\"vc-box-mobile space-y-6\"><!> <!></div></div></div>");
457
- function we(e, n) {
458
- G.push(n, !0);
459
- 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(() => M(l(), c())), d = G.derived(() => !a());
456
+ var we = 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=\"vc-box-desktop-grid grid-cols-booking-split gap-8 items-start\"><!> <!> <div class=\"sticky top-6\"><!></div></div> <div class=\"vc-box-mobile space-y-6\"><!> <!> <!></div></div></div>");
457
+ function Te(e, t) {
458
+ G.push(t, !0);
459
+ let n = ne(), r = G.derived(() => U.current), i = G.prop(t, "data", 3, void 0), a = G.prop(t, "eventUrl", 3, void 0), o = G.prop(t, "backHref", 3, void 0), s = G.prop(t, "labels", 19, () => ({})), c = G.prop(t, "locale", 3, void 0), l = G.derived(() => P(c(), s())), u = G.derived(() => !i());
460
460
  G.user_effect(() => {
461
- if (G.get(d)) return H.options = r, H.current = "default", H.isActive = !0, () => {
462
- H.isActive = !1, H.options = [];
461
+ if (G.get(u)) return U.options = n, U.current = "default", U.isActive = !0, () => {
462
+ U.isActive = !1, U.options = [];
463
463
  };
464
464
  });
465
- let f = {
465
+ let d = {
466
466
  default: {
467
- event: z,
467
+ event: V,
468
468
  orderId: "12847",
469
469
  lines: [{
470
- ticketId: t(101),
470
+ ticketId: h(101),
471
471
  ticketName: "General Admission",
472
472
  quantity: 2,
473
473
  unitPrice: 25,
474
474
  fee: 2.5,
475
475
  subtotal: 50
476
476
  }, {
477
- ticketId: t(102),
477
+ ticketId: h(102),
478
478
  ticketName: "VIP Front Row",
479
479
  quantity: 1,
480
480
  unitPrice: 55,
@@ -487,7 +487,7 @@ function we(e, n) {
487
487
  event: re,
488
488
  orderId: "12848",
489
489
  lines: [{
490
- ticketId: t(201),
490
+ ticketId: h(201),
491
491
  ticketName: "Free Entry",
492
492
  quantity: 2,
493
493
  unitPrice: 0,
@@ -497,10 +497,10 @@ function we(e, n) {
497
497
  customerEmail: "comedy.fan@gmail.com"
498
498
  },
499
499
  registration: {
500
- event: U,
500
+ event: W,
501
501
  orderId: "12849",
502
502
  lines: [{
503
- ticketId: t(301),
503
+ ticketId: h(301),
504
504
  ticketName: "Workshop Seat",
505
505
  quantity: 1,
506
506
  unitPrice: 75,
@@ -510,17 +510,17 @@ function we(e, n) {
510
510
  customerEmail: "learner@example.com"
511
511
  },
512
512
  donation: {
513
- event: B,
513
+ event: H,
514
514
  orderId: "12850",
515
515
  lines: [{
516
- ticketId: t(401),
516
+ ticketId: h(401),
517
517
  ticketName: "Donation",
518
518
  quantity: 1,
519
519
  unitPrice: 25,
520
520
  fee: 0,
521
521
  subtotal: 25
522
522
  }, {
523
- ticketId: t(402),
523
+ ticketId: h(402),
524
524
  ticketName: "Standard Admission",
525
525
  quantity: 1,
526
526
  unitPrice: 30,
@@ -529,7 +529,7 @@ function we(e, n) {
529
529
  }],
530
530
  customerEmail: "generous@example.com"
531
531
  }
532
- }, p = G.derived(() => G.get(d) ? f[G.get(i)] : a()), m = G.derived(() => (() => {
532
+ }, p = G.derived(() => G.get(u) ? d[G.get(r)] : i()), m = G.derived(() => (() => {
533
533
  let e = G.get(p).lines;
534
534
  if (G.get(p).serverTotals) return {
535
535
  lines: e,
@@ -540,7 +540,7 @@ function we(e, n) {
540
540
  promoDiscount: G.get(p).serverTotals.promoDiscount,
541
541
  giftCardAmount: G.get(p).serverTotals.giftCardAmount
542
542
  };
543
- let t = e.reduce((e, t) => e + t.subtotal, 0), n = e.reduce((e, t) => e + t.fee * t.quantity, 0), r = A(t + n, G.get(p).event.venue.taxPercentage);
543
+ let t = e.reduce((e, t) => e + t.subtotal, 0), n = e.reduce((e, t) => e + t.fee * t.quantity, 0), r = M(t + n, G.get(p).event.venue.taxPercentage);
544
544
  return {
545
545
  lines: e,
546
546
  subtotal: t,
@@ -550,25 +550,28 @@ function we(e, n) {
550
550
  promoDiscount: 0,
551
551
  giftCardAmount: 0
552
552
  };
553
- })()), h = G.derived(() => G.get(d) ? T(G.get(p).event.id, G.get(p).event.slug) : o() || "#"), g = G.state(!1), _ = G.state(!1), v = G.state(!1);
554
- function y() {
555
- if (G.get(v)) {
556
- G.set(g, !0), G.set(_, !0);
553
+ })()), g = G.derived(() => G.get(u) ? T(G.get(p).event.id, G.get(p).event.slug) : a() || "#"), _ = G.state(!1), v = G.state(!1), y = G.state(!1);
554
+ function b(e) {
555
+ window.location.assign(C(e.eventID, e.slug ?? null));
556
+ }
557
+ function x() {
558
+ if (G.get(y)) {
559
+ G.set(_, !0), G.set(v, !0);
557
560
  return;
558
561
  }
559
- G.set(g, !1), G.set(_, !1), setTimeout(() => {
560
- G.set(g, !0);
561
- }, 800), setTimeout(() => {
562
+ G.set(_, !1), G.set(v, !1), setTimeout(() => {
562
563
  G.set(_, !0);
564
+ }, 800), setTimeout(() => {
565
+ G.set(v, !0);
563
566
  }, 1600);
564
567
  }
565
568
  G.user_effect(() => {
566
- G.get(d) && (G.get(i), y());
567
- }), q(() => {
568
- G.set(v, window.matchMedia("(prefers-reduced-motion: reduce)").matches, !0), y();
569
+ G.get(u) && (G.get(r), x());
570
+ }), J(() => {
571
+ G.set(y, window.matchMedia("(prefers-reduced-motion: reduce)").matches, !0), x();
569
572
  });
570
- var b = Ce(), x = G.child(b), S = G.child(x), C = G.child(S);
571
- fe(C, {
573
+ var S = we(), w = G.child(S), E = G.child(w), D = G.child(E);
574
+ pe(D, {
572
575
  get event() {
573
576
  return G.get(p).event;
574
577
  },
@@ -582,17 +585,31 @@ function we(e, n) {
582
585
  return G.get(p).customerEmail;
583
586
  },
584
587
  get showCheckmark() {
585
- return G.get(g);
588
+ return G.get(_);
586
589
  },
587
590
  get showContent() {
588
- return G.get(_);
591
+ return G.get(v);
589
592
  },
590
593
  get labels() {
591
- return G.get(u);
594
+ return G.get(l);
592
595
  }
593
596
  });
594
- var w = G.sibling(C, 2);
595
- Se(G.child(w), {
597
+ var O = G.sibling(D, 2);
598
+ f(O, {
599
+ get eventId() {
600
+ return G.get(p).event.id;
601
+ },
602
+ surface: "success",
603
+ get labels() {
604
+ return G.get(l);
605
+ },
606
+ get locale() {
607
+ return c();
608
+ },
609
+ onselect: b
610
+ });
611
+ var k = G.sibling(O, 2);
612
+ Ce(G.child(k), {
596
613
  get event() {
597
614
  return G.get(p).event;
598
615
  },
@@ -600,23 +617,23 @@ function we(e, n) {
600
617
  return G.get(p).orderId;
601
618
  },
602
619
  get eventUrl() {
603
- return G.get(h);
620
+ return G.get(g);
604
621
  },
605
622
  get backHref() {
606
- return s();
623
+ return o();
607
624
  },
608
625
  get showContent() {
609
- return G.get(_);
626
+ return G.get(v);
610
627
  },
611
628
  get labels() {
612
- return G.get(u);
629
+ return G.get(l);
613
630
  },
614
631
  get locale() {
615
- return l();
632
+ return c();
616
633
  }
617
- }), G.reset(w), G.reset(S);
618
- var E = G.sibling(S, 2), D = G.child(E);
619
- fe(D, {
634
+ }), G.reset(k), G.reset(E);
635
+ var A = G.sibling(E, 2), j = G.child(A);
636
+ pe(j, {
620
637
  get event() {
621
638
  return G.get(p).event;
622
639
  },
@@ -630,15 +647,17 @@ function we(e, n) {
630
647
  return G.get(p).customerEmail;
631
648
  },
632
649
  get showCheckmark() {
633
- return G.get(g);
650
+ return G.get(_);
634
651
  },
635
652
  get showContent() {
636
- return G.get(_);
653
+ return G.get(v);
637
654
  },
638
655
  get labels() {
639
- return G.get(u);
656
+ return G.get(l);
640
657
  }
641
- }), Se(G.sibling(D, 2), {
658
+ });
659
+ var N = G.sibling(j, 2);
660
+ Ce(N, {
642
661
  get event() {
643
662
  return G.get(p).event;
644
663
  },
@@ -646,33 +665,47 @@ function we(e, n) {
646
665
  return G.get(p).orderId;
647
666
  },
648
667
  get eventUrl() {
649
- return G.get(h);
668
+ return G.get(g);
650
669
  },
651
670
  get backHref() {
652
- return s();
671
+ return o();
653
672
  },
654
673
  get showContent() {
655
- return G.get(_);
674
+ return G.get(v);
656
675
  },
657
676
  get labels() {
658
- return G.get(u);
677
+ return G.get(l);
659
678
  },
660
679
  get locale() {
661
- return l();
680
+ return c();
662
681
  }
663
- }), G.reset(E), G.reset(x), G.reset(b), G.append(e, b), G.pop();
682
+ });
683
+ var ee = G.sibling(N, 2);
684
+ f(ee, {
685
+ get eventId() {
686
+ return G.get(p).event.id;
687
+ },
688
+ surface: "success",
689
+ get labels() {
690
+ return G.get(l);
691
+ },
692
+ get locale() {
693
+ return c();
694
+ },
695
+ onselect: b
696
+ }), G.reset(A), G.reset(w), G.reset(S), G.append(e, S), G.pop();
664
697
  }
665
698
  //#endregion
666
699
  //#region src/components/Views/Success.svelte
667
- var $ = e("Success"), Te = G.from_html("<p class=\"payment-failed-title svelte-1mm1psu\"> </p> <p class=\"payment-failed-message svelte-1mm1psu\"> </p>", 1), Ee = 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), De = G.from_html("<div class=\"flex flex-col items-center justify-center py-24 text-center gap-4 payment-failed-container\"><!></div>"), Oe = 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>"), ke = G.from_html("<div class=\"flex items-center justify-center py-24 text-center loading-container svelte-1mm1psu\"><p> </p></div>");
668
- function Ae(e, t) {
700
+ var $ = e("Success"), Ee = G.from_html("<p class=\"payment-failed-title svelte-1mm1psu\"> </p> <p class=\"payment-failed-message svelte-1mm1psu\"> </p>", 1), De = 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), Oe = G.from_html("<div class=\"flex flex-col items-center justify-center py-24 text-center gap-4 payment-failed-container\"><!></div>"), ke = 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>"), Ae = G.from_html("<div class=\"flex items-center justify-center py-24 text-center loading-container svelte-1mm1psu\"><p> </p></div>");
701
+ function je(e, t) {
669
702
  G.push(t, !0);
670
- let n = G.prop(t, "data", 19, () => ({})), r = G.prop(t, "browseUrl", 3, "/"), i = G.prop(t, "backHref", 3, void 0), a = G.prop(t, "eventUrl", 3, void 0), o = G.prop(t, "widgetId", 3, null), s = G.prop(t, "venueId", 3, null), c = G.prop(t, "labels", 19, () => ({})), l = G.prop(t, "locale", 3, void 0), u = G.derived(() => P(l(), c())), d = G.derived(() => G.get(u).ticketFallbackName), f = G.derived(() => i() || (n()?.id && n()?.slug ? C(String(n().id), String(n().slug)) : E(r(), {}))), m = G.state(null), h = G.state(""), g = G.state(null), b = G.state(!0), w = G.derived(() => String(n()?.redirectStatus || "")), T = G.derived(() => G.get(w) !== "" && G.get(w) !== "succeeded"), D = G.derived(() => G.get(w) === "pending" || G.get(w) === "processing"), O = G.state(!1), k = G.state(!1);
671
- async function A(e, t) {
703
+ let n = G.prop(t, "data", 19, () => ({})), r = G.prop(t, "browseUrl", 3, "/"), i = G.prop(t, "backHref", 3, void 0), a = G.prop(t, "eventUrl", 3, void 0), o = G.prop(t, "widgetId", 3, null), s = G.prop(t, "venueId", 3, null), c = G.prop(t, "labels", 19, () => ({})), l = G.prop(t, "locale", 3, void 0), u = G.derived(() => F(l(), c())), f = G.derived(() => G.get(u).ticketFallbackName), p = G.derived(() => i() || (n()?.id && n()?.slug ? C(String(n().id), String(n().slug)) : E(r(), {}))), m = G.state(null), h = G.state(""), g = G.state(null), b = G.state(!0), w = G.derived(() => String(n()?.redirectStatus || "")), T = G.derived(() => G.get(w) !== "" && G.get(w) !== "succeeded"), D = G.derived(() => G.get(w) === "pending" || G.get(w) === "processing"), O = G.state(!1), k = G.state(!1);
704
+ async function M(e, t) {
672
705
  if (!e) return "unconfirmed";
673
706
  let n = X(e);
674
707
  if (n && t) {
675
- W(e, n.email);
708
+ ie(e, n.email);
676
709
  let r = await S(e, {
677
710
  ...n,
678
711
  id: e,
@@ -682,25 +715,25 @@ function Ae(e, t) {
682
715
  if (r && (r.eventCanceled || r.eventPostponed)) return Z(e), "no-charge";
683
716
  }
684
717
  try {
685
- let t = (await L(e))?.purchasedTickets;
718
+ let t = (await z(e))?.purchasedTickets;
686
719
  return Array.isArray(t) && t.length > 0 ? "ok" : "unconfirmed";
687
720
  } catch (e) {
688
721
  return $.warn("Success: redirect-return order check failed:", e), "unconfirmed";
689
722
  }
690
723
  }
691
- q(async () => {
724
+ J(async () => {
692
725
  if (G.get(T)) {
693
726
  G.set(b, !1);
694
727
  return;
695
728
  }
696
729
  if (G.get(w) === "succeeded") {
697
- let e = await A(String(n()?.orderId || n()?.orderUuid || ""), String(n()?.paymentIntentId || ""));
730
+ let e = await M(String(n()?.orderId || n()?.orderUuid || ""), String(n()?.paymentIntentId || ""));
698
731
  if (e !== "ok") {
699
732
  e === "no-charge" ? G.set(k, !0) : G.set(O, !0), G.set(b, !1);
700
733
  return;
701
734
  }
702
735
  }
703
- let { id: e, slug: t, event: r, orderId: i, orderUuid: c, customerEmail: f, ticketCount: S, value: C, currency: E } = n() || {};
736
+ let { id: e, slug: t, event: r, orderId: i, orderUuid: c, customerEmail: p, ticketCount: S, value: C, currency: E } = n() || {};
704
737
  {
705
738
  let { postMessageOnSuccess: t, postMessageTargetOrigin: a } = _();
706
739
  if (t) {
@@ -708,12 +741,12 @@ function Ae(e, t) {
708
741
  orderId: String(i || c || ""),
709
742
  eventId: e ?? n()?.eventId ?? r?.id ?? null
710
743
  };
711
- typeof C == "number" && Number.isFinite(C) && (t.value = C, t.currency = E || "USD"), ee(t, a);
744
+ typeof C == "number" && Number.isFinite(C) && (t.value = C, t.currency = E || "USD"), A(t, a);
712
745
  }
713
746
  }
714
747
  {
715
748
  let t = e ?? n()?.eventId ?? r?.id ?? null, a = String(i || c || ""), l = "micdrop_purchased_orders", u = v(l, []) ?? [], d = !!a && u.includes(a);
716
- t != null && !d && (x(t, o(), s() || r?.venueID || r?.venueId || null), te({
749
+ t != null && !d && (x(t, o(), s() || r?.venueID || r?.venueId || null), j({
717
750
  eventId: t,
718
751
  orderId: a,
719
752
  value: typeof C == "number" ? C : null,
@@ -724,33 +757,33 @@ function Ae(e, t) {
724
757
  G.set(h, a() || `${window.location.origin}/e/${e}-${t}`, !0);
725
758
  let D;
726
759
  try {
727
- D = p(r);
760
+ D = d(r);
728
761
  } catch (e) {
729
762
  $.warn("Success: transformApiEvent failed:", e), G.set(g, G.get(u).failedToLoadEventData || "Failed to load event data", !0), G.set(b, !1);
730
763
  return;
731
764
  }
732
- let j = i || "", M = f || ie(j), P = [], R = null;
733
- if (await N(l()).catch((e) => {
765
+ let N = i || "", P = p || ae(N), F = [], B = null;
766
+ if (await ee(l()).catch((e) => {
734
767
  $.warn("Success: locale bundle unavailable, receipt stays English:", e);
735
- }), j) try {
736
- let e = await L(j);
768
+ }), N) try {
769
+ let e = await z(N);
737
770
  if (e) {
738
- M = e.customerEmail || M;
739
- let t = e.purchasedTickets || e.tickets || [], n = new ae();
771
+ P = e.customerEmail || P;
772
+ let t = e.purchasedTickets || e.tickets || [], n = new K();
740
773
  for (let e of t) {
741
774
  let t = `${e.ticketTypeId || e.ticketId || 0}-${e.ticketName || e.name || ""}`, r = n.get(t);
742
775
  r ? (r.quantity += 1, r.subtotal += e.purchasePrice || e.price || 0) : n.set(t, {
743
776
  ticketId: e.ticketTypeId || e.ticketId || 0,
744
- ticketName: e.ticketName || e.name || G.get(d),
777
+ ticketName: e.ticketName || e.name || G.get(f),
745
778
  quantity: 1,
746
779
  unitPrice: e.purchasePrice || e.price || 0,
747
780
  fee: 0,
748
781
  subtotal: e.purchasePrice || e.price || 0
749
782
  });
750
783
  }
751
- if (P = Array.from(n.values()), typeof e.totalPrice == "number") {
784
+ if (F = Array.from(n.values()), typeof e.totalPrice == "number") {
752
785
  let t = Number(e.giftCardAmount ?? 0), n = Number(e.totalPrice) - t;
753
- R = {
786
+ B = {
754
787
  subtotal: e.basePrice ?? 0,
755
788
  fees: Number(e.surcharge ?? 0) + Number(e.cardProcessing ?? 0) + Number(e.venueKickback ?? 0),
756
789
  taxes: e.tax == null ? 0 : e.tax,
@@ -764,50 +797,50 @@ function Ae(e, t) {
764
797
  } catch (e) {
765
798
  $.warn("Success: getOrder failed, using route params:", e);
766
799
  }
767
- P.length === 0 && S > 0 && (P = [{
800
+ F.length === 0 && S > 0 && (F = [{
768
801
  ticketId: 0,
769
- ticketName: G.get(d),
802
+ ticketName: G.get(f),
770
803
  quantity: S,
771
804
  unitPrice: 0,
772
805
  fee: 0,
773
806
  subtotal: 0
774
807
  }]), G.set(m, {
775
808
  event: D,
776
- orderId: String(j),
777
- lines: P,
778
- customerEmail: M,
779
- ...R ? { serverTotals: R } : {}
780
- }, !0), ne(String(e)), F("checkout-cartid"), F(I), G.set(b, !1);
809
+ orderId: String(N),
810
+ lines: F,
811
+ customerEmail: P,
812
+ ...B ? { serverTotals: B } : {}
813
+ }, !0), L(String(e)), I("checkout-cartid"), I(R), G.set(b, !1);
781
814
  });
782
- var j = G.comment(), M = G.first_child(j), R = (e) => {
783
- var t = De(), n = G.child(t), r = (e) => {
784
- var t = Te(), n = G.first_child(t), r = G.child(n, !0);
815
+ var N = G.comment(), P = G.first_child(N), B = (e) => {
816
+ var t = Oe(), n = G.child(t), r = (e) => {
817
+ var t = Ee(), n = G.first_child(t), r = G.child(n, !0);
785
818
  G.reset(n);
786
819
  var i = G.sibling(n, 2), a = G.child(i, !0);
787
820
  G.reset(i), G.template_effect(() => {
788
821
  G.set_text(r, G.get(u).paymentNotConfirmedTitle || "Payment not confirmed"), G.set_text(a, G.get(u).paymentNotConfirmedMessage || "We couldn't confirm this payment yet. If it completes, a confirmation email will arrive shortly — please don't try again until then");
789
822
  }), G.append(e, t);
790
823
  }, i = (e) => {
791
- var t = Ee(), n = G.first_child(t), r = G.child(n, !0);
824
+ var t = De(), n = G.first_child(t), r = G.child(n, !0);
792
825
  G.reset(n);
793
826
  var i = G.sibling(n, 2), a = G.child(i, !0);
794
827
  G.reset(i);
795
828
  var o = G.sibling(i, 2), s = G.child(o, !0);
796
829
  G.reset(o), G.template_effect(() => {
797
- G.set_text(r, G.get(u).paymentNotCompletedTitle || "Payment wasn't completed"), G.set_text(a, G.get(u).paymentNotCompletedMessage || "The payment didn't go through, so no tickets were issued. You can head back to the event and try again"), G.set_attribute(o, "href", G.get(f)), G.set_text(s, G.get(u).backToEvent || "Back to event");
830
+ G.set_text(r, G.get(u).paymentNotCompletedTitle || "Payment wasn't completed"), G.set_text(a, G.get(u).paymentNotCompletedMessage || "The payment didn't go through, so no tickets were issued. You can head back to the event and try again"), G.set_attribute(o, "href", G.get(p)), G.set_text(s, G.get(u).backToEvent || "Back to event");
798
831
  }), G.append(e, t);
799
832
  };
800
833
  G.if(n, (e) => {
801
834
  G.get(D) || G.get(O) ? e(r) : e(i, -1);
802
835
  }), G.reset(t), G.append(e, t);
803
- }, z = (e) => {
804
- var t = Oe(), n = G.child(t), r = G.child(n, !0);
805
- G.reset(n), G.reset(t), G.template_effect(() => G.set_text(r, G.get(g))), G.append(e, t);
806
- }, B = (e) => {
836
+ }, te = (e) => {
807
837
  var t = ke(), n = G.child(t), r = G.child(n, !0);
808
- G.reset(n), G.reset(t), G.template_effect(() => G.set_text(r, G.get(u).loadingYourOrder || "Loading your order...")), G.append(e, t);
838
+ G.reset(n), G.reset(t), G.template_effect(() => G.set_text(r, G.get(g))), G.append(e, t);
809
839
  }, V = (e) => {
810
- we(e, {
840
+ var t = Ae(), n = G.child(t), r = G.child(n, !0);
841
+ G.reset(n), G.reset(t), G.template_effect(() => G.set_text(r, G.get(u).loadingYourOrder || "Loading your order...")), G.append(e, t);
842
+ }, H = (e) => {
843
+ Te(e, {
811
844
  get data() {
812
845
  return G.get(m);
813
846
  },
@@ -822,9 +855,9 @@ function Ae(e, t) {
822
855
  }
823
856
  });
824
857
  };
825
- G.if(M, (e) => {
826
- G.get(T) || G.get(k) || G.get(O) ? e(R) : G.get(g) ? e(z, 1) : G.get(b) || !G.get(m) ? e(B, 2) : e(V, -1);
827
- }), G.append(e, j), G.pop();
858
+ G.if(P, (e) => {
859
+ G.get(T) || G.get(k) || G.get(O) ? e(B) : G.get(g) ? e(te, 1) : G.get(b) || !G.get(m) ? e(V, 2) : e(H, -1);
860
+ }), G.append(e, N), G.pop();
828
861
  }
829
862
  //#endregion
830
- export { Ae as default };
863
+ export { je as default };