@getmicdrop/venue-calendar 4.3.34 → 4.3.35

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 (128) hide show
  1. package/dist/{ArrowLeftIcon-C5NUNFeL.js → ArrowLeftIcon-bH5d6LQO.js} +1 -1
  2. package/dist/{BlockPlaceholder-BFgIxUDA.js → BlockPlaceholder-yXhu9HrQ.js} +1 -1
  3. package/dist/{Calendar-Cbg9VnYr.js → Calendar-BjE02HrG.js} +5 -5
  4. package/dist/{CalendarFoundryView-DcjrxbP1.js → CalendarFoundryView-BytAeaqk.js} +70 -65
  5. package/dist/{CalendarIcon-jP9rYFKk.js → CalendarIcon-Cg9UUTeu.js} +1 -1
  6. package/dist/{CartView-BVaW78NV.js → CartView-BVAj8ns8.js} +138 -138
  7. package/dist/{Checkout-DNs1cjbB.js → Checkout-Cw_mvXUd.js} +16 -16
  8. package/dist/{Checkout-BnfAQRI6.js → Checkout-DFoOLl6K.js} +27 -28
  9. package/dist/{CheckoutTimer-Cwt4Ftza.js → CheckoutTimer-BDxy_Fou.js} +3 -3
  10. package/dist/{ChevronDownIcon-CsKZMqNH.js → ChevronDownIcon-BA40Kl0C.js} +1 -1
  11. package/dist/{ClockIcon-HiO23hRG.js → ClockIcon-DjC-doTv.js} +1 -1
  12. package/dist/{CloseIcon-B8Sm_5ym.js → CloseIcon-BdwmaxDK.js} +1 -1
  13. package/dist/{CollectionView-BK1iSWcA.js → CollectionView-BRJKmgmu.js} +13 -13
  14. package/dist/{CropImage-B9d215n1.js → CropImage-Ct6MRg_a.js} +3 -3
  15. package/dist/{Event-AfkOD3uO.js → Event-CJZetg3I.js} +24 -25
  16. package/dist/{EventPage-Cdt0a5QJ.js → EventPage-Bt5872Cp.js} +111 -111
  17. package/dist/{Input-BLMJJJfH.js → Input-o-1w57H2.js} +2 -2
  18. package/dist/{MailIcon-KYN2vf3S.js → MailIcon-DCMMhuHr.js} +1 -1
  19. package/dist/{Modal-gEHiBqWZ.js → Modal-DZ8fudB4.js} +2 -2
  20. package/dist/{ModalFooter-D21lJobf.js → ModalFooter-T1gpnywp.js} +1 -1
  21. package/dist/{ModalHeader-fa2P2o57.js → ModalHeader-DkKpWKcG.js} +1 -1
  22. package/dist/{PasswordInput-D4q7ha7D.js → PasswordInput-zX7J--jb.js} +2 -2
  23. package/dist/{RecommendationsRail-BZf1DOmo.js → RecommendationsRail-DcIHxWHf.js} +7 -7
  24. package/dist/{ScarcityBadge-AHlWKMNd.js → ScarcityBadge-CwYWJOsJ.js} +4 -4
  25. package/dist/{SeriesPage-Dl6PBlrN.js → SeriesPage-ByxpytgT.js} +4 -4
  26. package/dist/Success-CFbOlDG7.js +887 -0
  27. package/dist/{TagIcon-DoPOkfiA.js → TagIcon-CkfQvNGi.js} +1 -1
  28. package/dist/Textarea-D24kYZAW.js +63 -0
  29. package/dist/{ViewTicketsEmbed-kOPSXNDx.js → ViewTicketsEmbed-KbA05I2k.js} +236 -298
  30. package/dist/{WarningCircleIcon-CFfLr8KS.js → WarningCircleIcon-Iq24pJJf.js} +1 -1
  31. package/dist/{WarningTriIcon-DNmtiOjd.js → WarningTriIcon-Dw5GnHpq.js} +1 -1
  32. package/dist/__SKIP_PATHS__-C0ixDSSm.js +6 -0
  33. package/dist/api/api.cjs +1 -1
  34. package/dist/api/api.mjs +264 -242
  35. package/dist/api/index.d.ts +1 -1
  36. package/dist/api/venues.d.ts +7 -0
  37. package/dist/{api-CEmt-15i.js → api-DRQ3j7AT.js} +171 -119
  38. package/dist/{browser-B_8qS4Bh.js → browser-DxdP6IWt.js} +169 -231
  39. package/dist/{constants-DZLNBlGm.js → constants-YYsgll7v.js} +8 -7
  40. package/dist/{copyToClipboard-ajE-WfxH.js → copyToClipboard-C3IBl2Z1.js} +1 -1
  41. package/dist/{de-C4OeiQ3V.js → de-BY5vJUGN.js} +1 -1
  42. package/dist/{de-CrMbvuuV.js → de-CFh1o4IO.js} +1 -0
  43. package/dist/{defaultLabels-OQGIv2n1.js → defaultLabels-Zp9QbN37.js} +1 -1
  44. package/dist/defaults-BMbXcKP9.js +67 -0
  45. package/dist/{es-CmbcTI7U.js → es-By1tBWcL.js} +1 -0
  46. package/dist/{es-CW2TmxIh.js → es-jUq9nrJk.js} +1 -1
  47. package/dist/{navigation-BHE6fobo.js → event-c9mHeEJz.js} +24 -57
  48. package/dist/{event-transform-Biw1swA_.js → event-transform-BchpSia3.js} +25 -25
  49. package/dist/{eventStatusStream-lf8vfXK6.js → eventStatusStream-dDHNTEOf.js} +1 -1
  50. package/dist/{fr-CAQjiRpV.js → fr-BF6a7cw7.js} +1 -0
  51. package/dist/{fr-C7djAcvW.js → fr-BhVwmvlV.js} +1 -1
  52. package/dist/{href-CPeCYE4T.js → href-1o0O9xTA.js} +2 -2
  53. package/dist/{i18n-Bmvq2TcR.js → i18n-1R1ah9KT.js} +18 -18
  54. package/dist/i18n-i-1mHdch.js +28 -0
  55. package/dist/{id-CN96JRiT.js → id-CWU5ZvLv.js} +1 -1
  56. package/dist/{id-Bz5RjCc1.js → id-Lo_q281j.js} +1 -0
  57. package/dist/{imageOptimizer-CXtAyNGI.js → imageOptimizer-DkJp4tei.js} +2 -2
  58. package/dist/{it-wMX0iXW-.js → it-CB7RtPbU.js} +1 -0
  59. package/dist/{it-DFWEl9q6.js → it-wlDmN3hH.js} +1 -1
  60. package/dist/{ja-BHzUvYMy.js → ja-DOzvvYpK.js} +1 -0
  61. package/dist/{ja-CMVyfs3-.js → ja-DpA7hJaC.js} +1 -1
  62. package/dist/{ko-zuSw9I4o.js → ko-DdWLaFvo.js} +1 -1
  63. package/dist/{ko-hy8WDqbp.js → ko-b-vWxFpt.js} +1 -0
  64. package/dist/{__SKIP_PATHS__-BQgiZG5h.js → liveAnnouncer-D3xVL7qA.js} +1 -6
  65. package/dist/locales/{4.3.34 → 4.3.35}/flow/de.js +1 -1
  66. package/dist/locales/{4.3.34 → 4.3.35}/flow/es.js +1 -1
  67. package/dist/locales/{4.3.34 → 4.3.35}/flow/fr.js +1 -1
  68. package/dist/locales/{4.3.34 → 4.3.35}/flow/id.js +1 -1
  69. package/dist/locales/{4.3.34 → 4.3.35}/flow/it.js +1 -1
  70. package/dist/locales/{4.3.34 → 4.3.35}/flow/ja.js +1 -1
  71. package/dist/locales/{4.3.34 → 4.3.35}/flow/ko.js +1 -1
  72. package/dist/locales/{4.3.34 → 4.3.35}/flow/nl.js +1 -1
  73. package/dist/locales/{4.3.34 → 4.3.35}/flow/pl.js +1 -1
  74. package/dist/locales/{4.3.34 → 4.3.35}/flow/pt-br.js +1 -1
  75. package/dist/locales/{4.3.34 → 4.3.35}/flow/tr.js +1 -1
  76. package/dist/locales/{4.3.34 → 4.3.35}/flow/zh.js +1 -1
  77. package/dist/locales/4.3.35/main/de.js +1 -0
  78. package/dist/locales/4.3.35/main/es.js +1 -0
  79. package/dist/locales/4.3.35/main/fr.js +1 -0
  80. package/dist/locales/4.3.35/main/id.js +1 -0
  81. package/dist/locales/4.3.35/main/it.js +1 -0
  82. package/dist/locales/4.3.35/main/ja.js +1 -0
  83. package/dist/locales/4.3.35/main/ko.js +1 -0
  84. package/dist/locales/4.3.35/main/nl.js +1 -0
  85. package/dist/locales/4.3.35/main/pl.js +1 -0
  86. package/dist/locales/4.3.35/main/pt-br.js +1 -0
  87. package/dist/locales/4.3.35/main/tr.js +1 -0
  88. package/dist/locales/4.3.35/main/zh.js +1 -0
  89. package/dist/{nl-CkQAHeS-.js → nl-BwxAfMRa.js} +1 -1
  90. package/dist/{nl-a59DlSFb.js → nl-Dazc9kaV.js} +1 -0
  91. package/dist/{order-totals-yAfj2LIo.js → order-totals-BEUOdkCb.js} +3 -3
  92. package/dist/{orders-Cp6dGII_.js → orders-jQz7QFjK.js} +1 -1
  93. package/dist/{phoneUtils-CFZyDPA3.js → phoneUtils-CbiDWdEC.js} +1 -1
  94. package/dist/{pixels-Tg_bLOjd.js → pixels-DnbRn43e.js} +2 -2
  95. package/dist/{pl-DuIttORH.js → pl-CuRdwJXc.js} +1 -1
  96. package/dist/{pl-Dmn5DPMF.js → pl-tSyy-lx_.js} +1 -0
  97. package/dist/{promo-RdgJBu-u.js → promo-BrstveEs.js} +1 -1
  98. package/dist/{pt-br-DkLlN_4i.js → pt-br-BUWJLxKf.js} +1 -1
  99. package/dist/{pt-br-DA_CwwjY.js → pt-br-BxzrK97M.js} +1 -0
  100. package/dist/{scarcity-CgNGIioR.js → scarcity-CwnIxi1J.js} +1 -1
  101. package/dist/{serverTotals-PF6gaenQ.js → serverTotals-D2-FzkdS.js} +1 -1
  102. package/dist/{showcase-state-options-C4_hcf2M.js → showcase-state-options-CDOHpho6.js} +1 -1
  103. package/dist/{to-event-card-props-CWfWAJWW.js → to-event-card-props-ChcFQ_rl.js} +2 -2
  104. package/dist/{tr-BE24jHAY.js → tr-DTe5Urub.js} +1 -1
  105. package/dist/{tr-DM96GLXF.js → tr-DhAMB3UQ.js} +1 -0
  106. package/dist/{utils-DlVakPI5.js → utils-DvGzK5Cl.js} +2 -2
  107. package/dist/venue-calendar.css +1 -1
  108. package/dist/venue-calendar.es.js +894 -892
  109. package/dist/venue-calendar.iife.js +52 -52
  110. package/dist/venue-calendar.umd.js +53 -53
  111. package/dist/{z-index-BgKs9X9U.js → z-index-Bo0dqmiq.js} +1 -1
  112. package/dist/{zh-cUmo9Rzd.js → zh-BnBN3ggx.js} +1 -1
  113. package/dist/{zh-CdWAelYB.js → zh-C2-VLP_R.js} +1 -0
  114. package/package.json +2 -2
  115. package/dist/Success-DDE54FBH.js +0 -863
  116. package/dist/i18n-Lx3QVVPj.js +0 -28
  117. package/dist/locales/4.3.34/main/de.js +0 -1
  118. package/dist/locales/4.3.34/main/es.js +0 -1
  119. package/dist/locales/4.3.34/main/fr.js +0 -1
  120. package/dist/locales/4.3.34/main/id.js +0 -1
  121. package/dist/locales/4.3.34/main/it.js +0 -1
  122. package/dist/locales/4.3.34/main/ja.js +0 -1
  123. package/dist/locales/4.3.34/main/ko.js +0 -1
  124. package/dist/locales/4.3.34/main/nl.js +0 -1
  125. package/dist/locales/4.3.34/main/pl.js +0 -1
  126. package/dist/locales/4.3.34/main/pt-br.js +0 -1
  127. package/dist/locales/4.3.34/main/tr.js +0 -1
  128. package/dist/locales/4.3.34/main/zh.js +0 -1
@@ -1,16 +1,16 @@
1
- import { C as e, S as t, T as n, w as r } from "./api-CEmt-15i.js";
1
+ import { F as e, M as t, N as n, P as r } from "./api-DRQ3j7AT.js";
2
2
  //#region src/lib/core/theme-engine.js
3
3
  var i = {
4
- primary: e.defaultThemePrimary,
4
+ primary: n.defaultThemePrimary,
5
5
  primaryHover: t.violet[700],
6
6
  secondary: t.green.emerald,
7
7
  accent: t.amber[500],
8
- background: n.background.primary,
8
+ background: e.background.primary,
9
9
  surface: r[50],
10
10
  surfaceHover: r[100],
11
11
  text: r[800],
12
12
  textMuted: r[500],
13
- textOnPrimary: n.text.inverted,
13
+ textOnPrimary: e.text.inverted,
14
14
  border: r[200],
15
15
  borderMuted: r[100],
16
16
  radiusSm: "4px",
@@ -28,9 +28,9 @@ var i = {
28
28
  shadowMd: "0 4px 6px rgba(0, 0, 0, 0.1)",
29
29
  shadowLg: "0 10px 15px rgba(0, 0, 0, 0.1)",
30
30
  badgeScarcityBg: t.red[600],
31
- badgeScarcityText: n.text.inverted,
31
+ badgeScarcityText: e.text.inverted,
32
32
  badgeSoldOutBg: r[500],
33
- badgeSoldOutText: n.text.inverted,
33
+ badgeSoldOutText: e.text.inverted,
34
34
  badgeAgeBg: t.amber[500],
35
35
  badgeAgeText: r[800],
36
36
  statusOnSale: t.green.emerald,
@@ -38,7 +38,7 @@ var i = {
38
38
  statusSoldOut: t.red[600],
39
39
  spacingUnit: "4px"
40
40
  };
41
- ({ ...i }), { ...i }, t.violet[500], t.violet[400], r[900], r[800], r[700], r[50], r[400], r[700], r[600], { ...i }, r[700], r[800], n.background.primary, r[50], r[200], { ...i }, t.red[600], t.red[700], e.defaultThemePrimary;
41
+ ({ ...i }), { ...i }, t.violet[500], t.violet[400], r[900], r[800], r[700], r[50], r[400], r[700], r[600], { ...i }, r[700], r[800], e.background.primary, r[50], r[200], { ...i }, t.red[600], t.red[700], n.defaultThemePrimary;
42
42
  //#endregion
43
43
  //#region src/lib/public-calendar-flow/i18n/labels.js
44
44
  var a = {
@@ -186,6 +186,7 @@ var a = {
186
186
  viewTickets: "View tickets",
187
187
  order: "Order",
188
188
  confirmationSentTo: "Confirmation sent to",
189
+ downloadPdf: "Download PDF",
189
190
  messageFromOrganizer: "A note from the organizer",
190
191
  addToCalendar: "Add to calendar",
191
192
  googleCalendar: "Google Calendar",
@@ -1,4 +1,4 @@
1
- import { q as e } from "./scarcity-CgNGIioR.js";
1
+ import { q as e } from "./scarcity-CwnIxi1J.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as t from "svelte/internal/client";
4
4
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/LocationIcon.svelte
@@ -221,7 +221,7 @@ var e = {
221
221
  lastName: "Nachname",
222
222
  emailAddress: "E-Mail-Adresse",
223
223
  phoneNumber: "Telefonnummer",
224
- keepMeUpdated: "Halte mich über weitere Events und News auf dem Laufenden",
224
+ keepMeUpdated: "Halte mich über dieses und ähnliche Events auf dem Laufenden",
225
225
  subscribeToUpdates: "Event-Updates und News abonnieren",
226
226
  ticketN: "Ticket {index} - {name}",
227
227
  sameAsPersonalDetails: "Entspricht den persönlichen Angaben",
@@ -139,6 +139,7 @@ var e = {
139
139
  viewTickets: "Tickets anzeigen",
140
140
  order: "Bestellung",
141
141
  confirmationSentTo: "Bestätigung gesendet an",
142
+ downloadPdf: "PDF herunterladen",
142
143
  messageFromOrganizer: "Eine Nachricht des Veranstalters",
143
144
  addToCalendar: "Zum Kalender hinzufügen",
144
145
  googleCalendar: "Google Calendar",
@@ -2324,7 +2324,7 @@ var In = {
2324
2324
  lastName: "Last name",
2325
2325
  emailAddress: "Email address",
2326
2326
  phoneNumber: "Phone number",
2327
- keepMeUpdated: "Keep me updated on more events and news",
2327
+ keepMeUpdated: "Keep me updated about this event and similar events",
2328
2328
  keepMeUpdatedByVenue: "Keep me updated about {venue} events and news",
2329
2329
  subscribeToUpdates: "Subscribe to event updates and news",
2330
2330
  ticketN: "Ticket {index} - {name}",
@@ -0,0 +1,67 @@
1
+ import { n as e } from "./rolldown-runtime-DtPi1Y-2.js";
2
+ import { C as t, f as n, p as r, u as i } from "./defaultLabels-Zp9QbN37.js";
3
+ import { L as a } from "./orders-jQz7QFjK.js";
4
+ import { t as o } from "./browser-DxdP6IWt.js";
5
+ //#region src/lib/view-tickets/defaults.ts
6
+ var s = /* @__PURE__ */ e(o(), 1);
7
+ function c(e) {
8
+ return t(e);
9
+ }
10
+ function l(e, t) {
11
+ try {
12
+ let n = c(t), a = i(e, n, !0), o = r(e, n);
13
+ return !a || !o ? "" : `${a}, ${o}`;
14
+ } catch {
15
+ return "";
16
+ }
17
+ }
18
+ function u(e, t) {
19
+ try {
20
+ return n(e, c(t));
21
+ } catch {
22
+ return "";
23
+ }
24
+ }
25
+ function d(e) {
26
+ return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(`${e.name}, ${e.address}`)}`;
27
+ }
28
+ function f(e, t, n) {
29
+ let r = new Date(e.startDateTime), i = e.endDateTime ? new Date(e.endDateTime) : new Date(r.getTime() + 72e5), a = (e) => e.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), o = `${t.name}, ${t.address}`, s = new URLSearchParams({
30
+ action: "TEMPLATE",
31
+ text: e.title,
32
+ dates: `${a(r)}/${a(i)}`,
33
+ location: o,
34
+ details: `Order ${n}`
35
+ }), c = new URLSearchParams({
36
+ subject: e.title,
37
+ startdt: r.toISOString(),
38
+ enddt: i.toISOString(),
39
+ location: o,
40
+ body: `Order ${n}`
41
+ });
42
+ return {
43
+ google: `https://calendar.google.com/calendar/render?${s}`,
44
+ apple: "#apple-calendar-ics",
45
+ outlook: `https://outlook.live.com/calendar/0/action/compose?${c}`
46
+ };
47
+ }
48
+ async function p(e, t = 200) {
49
+ let n = await s.toString(e, {
50
+ type: "svg",
51
+ margin: 1,
52
+ width: t,
53
+ color: {
54
+ dark: "#000000",
55
+ light: "#ffffff"
56
+ }
57
+ });
58
+ return `data:image/svg+xml,${encodeURIComponent(n)}`;
59
+ }
60
+ function m(e) {
61
+ return `${a()}/orders/${e}/pdf`;
62
+ }
63
+ function h(e) {
64
+ return `${a()}/orders/${e}/tickets`;
65
+ }
66
+ //#endregion
67
+ export { l as a, h as i, d as n, u as o, m as r, p as s, f as t };
@@ -139,6 +139,7 @@ var e = {
139
139
  viewTickets: "Ver boletos",
140
140
  order: "Pedido",
141
141
  confirmationSentTo: "Confirmación enviada a",
142
+ downloadPdf: "Descargar PDF",
142
143
  messageFromOrganizer: "Una nota del organizador",
143
144
  addToCalendar: "Agregar al calendario",
144
145
  googleCalendar: "Google Calendar",
@@ -221,7 +221,7 @@ var e = {
221
221
  lastName: "Apellido",
222
222
  emailAddress: "Correo electrónico",
223
223
  phoneNumber: "Teléfono",
224
- keepMeUpdated: "Quiero recibir novedades y más eventos",
224
+ keepMeUpdated: "Mantenme informado sobre este evento y eventos similares",
225
225
  keepMeUpdatedByVenue: "Quiero recibir novedades y eventos de {venue}",
226
226
  subscribeToUpdates: "Suscribirme a novedades y avisos de eventos",
227
227
  ticketN: "Boleto {index} - {name}",
@@ -1,41 +1,40 @@
1
- import { x as e } from "./defaultLabels-OQGIv2n1.js";
2
- import { H as t } from "./orders-Cp6dGII_.js";
1
+ import { x as e } from "./defaultLabels-Zp9QbN37.js";
3
2
  //#region node_modules/@getmicdrop/svelte-components/dist/utils/imageUrl.js
4
- function n(e, t) {
3
+ function t(e, t) {
5
4
  if (typeof e == "string") return e;
6
5
  let n = globalThis.process?.env?.[t];
7
6
  return typeof n == "string" ? n : void 0;
8
7
  }
9
- function r(e, t, r) {
10
- let i = n(e, t);
8
+ function n(e, n, r) {
9
+ let i = t(e, n);
11
10
  if (i === void 0) return r;
12
11
  let a = i.trim().replace(/\/+$/, "");
13
12
  return a === "" ? r : a;
14
13
  }
15
- var i = r(void 0, "PUBLIC_IMAGE_ORIGIN_BASE", "https://moxy.sfo3.digitaloceanspaces.com"), a = r(void 0, "PUBLIC_IMAGE_CDN_BASE", "https://moxy.sfo3.cdn.digitaloceanspaces.com");
16
- function o(e, t = {}) {
17
- let n = typeof t == "string" ? { fallback: t } : t, r = n.fallback ?? "", o = n.cdn ?? !0;
18
- if (!e || e.trim() === "") return r;
14
+ var r = n(void 0, "PUBLIC_IMAGE_ORIGIN_BASE", "https://moxy.sfo3.digitaloceanspaces.com"), i = n(void 0, "PUBLIC_IMAGE_CDN_BASE", "https://moxy.sfo3.cdn.digitaloceanspaces.com");
15
+ function a(e, t = {}) {
16
+ let n = typeof t == "string" ? { fallback: t } : t, a = n.fallback ?? "", o = n.cdn ?? !0;
17
+ if (!e || e.trim() === "") return a;
19
18
  if (e.startsWith("http") || e.startsWith("data:") || e.startsWith("blob:")) return e;
20
19
  let s = `/${e.replace(/^\/+/, "")}`;
21
- return `${o ? a : i}${s}`;
20
+ return `${o ? i : r}${s}`;
22
21
  }
23
- function s(e, t = {}) {
22
+ function o(e, t = {}) {
24
23
  let { placeholder: n = "", cdn: r } = t;
25
- return o(e.image || e.coverImage || e.imageUrl || e.imageURL || e.image_url || "", {
24
+ return a(e.image || e.coverImage || e.imageUrl || e.imageURL || e.image_url || "", {
26
25
  fallback: n,
27
26
  cdn: r
28
27
  });
29
28
  }
30
29
  //#endregion
31
30
  //#region src/lib/api/transformers/event.ts
31
+ function s(e) {
32
+ return a(e, { cdn: !0 });
33
+ }
32
34
  function c(e) {
33
- return o(e, { cdn: !0 });
35
+ return s(e.imageUrl || e.imageURL || e.image_url || e.image || "");
34
36
  }
35
37
  function l(e) {
36
- return c(e.imageUrl || e.imageURL || e.image_url || e.image || "");
37
- }
38
- function u(e) {
39
38
  switch (e) {
40
39
  case "available":
41
40
  case "sold_out":
@@ -44,10 +43,10 @@ function u(e) {
44
43
  default: return null;
45
44
  }
46
45
  }
47
- function d(t) {
46
+ function u(t) {
48
47
  let n = t.ctaState || t.cta_state;
49
48
  if (n) {
50
- let e = u(n);
49
+ let e = l(n);
51
50
  if (e) return e;
52
51
  }
53
52
  if (t.isCancelled || t.is_cancelled) return "ended";
@@ -64,7 +63,7 @@ function d(t) {
64
63
  return e + Math.max(0, n - r);
65
64
  }, 0) <= 0 ? "sold_out" : "available";
66
65
  }
67
- function f(e) {
66
+ function d(e) {
68
67
  let t = e;
69
68
  return {
70
69
  id: t.id || t.ID,
@@ -85,8 +84,8 @@ function f(e) {
85
84
  sortOrder: t.sortOrder || t.sort_order || 0
86
85
  };
87
86
  }
88
- function p(e) {
89
- let t = e, n = (t.availableTickets || t.available_tickets || t.tickets || []).map(f), r = n.map((e) => e.price).filter((e) => e > 0), i = r.length > 0 ? Math.min(...r) : void 0, a = r.length > 0 ? Math.max(...r) : void 0;
87
+ function f(e) {
88
+ let t = e, n = (t.availableTickets || t.available_tickets || t.tickets || []).map(d), r = n.map((e) => e.price).filter((e) => e > 0), i = r.length > 0 ? Math.min(...r) : void 0, a = r.length > 0 ? Math.max(...r) : void 0;
90
89
  return {
91
90
  eventID: t.eventID || t.id || t.ID || 0,
92
91
  id: t.id || t.ID,
@@ -103,8 +102,8 @@ function p(e) {
103
102
  venueName: t.venueName || t.venue_name,
104
103
  venueAddress: t.venueAddress || t.venue_address,
105
104
  location: t.location || t.venueAddress || t.venue_address,
106
- imageUrl: l(t),
107
- imageURL: l(t),
105
+ imageUrl: c(t),
106
+ imageURL: c(t),
108
107
  status: t.status,
109
108
  isPublished: t.isPublished ?? t.is_published,
110
109
  isCancelled: t.isCancelled ?? t.is_cancelled,
@@ -114,7 +113,7 @@ function p(e) {
114
113
  minPrice: t.minPrice ?? t.min_price ?? i,
115
114
  maxPrice: t.maxPrice ?? t.max_price ?? a,
116
115
  ctaText: t.ctaText || t.cta_text,
117
- ctaState: d(t),
116
+ ctaState: u(t),
118
117
  showPerformers: t.showPerformers ?? t.show_performers,
119
118
  eventSeriesId: t.eventSeriesId || t.event_series_id,
120
119
  seriesInstanceNumber: t.seriesInstanceNumber || t.series_instance_number,
@@ -151,36 +150,4 @@ function p(e) {
151
150
  };
152
151
  }
153
152
  //#endregion
154
- //#region src/lib/navigation.ts
155
- function m(e, n) {
156
- let r = t();
157
- return n ? `${r}/e/${e}-${n}` : `${r}/e/${e}`;
158
- }
159
- function h(e, n, r) {
160
- let i = r?.toString(), a = n ? `/e/${e}-${n}` : `/e/${e}`;
161
- return `${t()}${a}${i ? `?${i}` : ""}`;
162
- }
163
- function g(e, t, n) {
164
- let r = n?.toString();
165
- return `/${e}/${t}${r ? `?${r}` : ""}`;
166
- }
167
- function _(e) {
168
- return `/${e}`;
169
- }
170
- function v(e) {
171
- return `${t()}/${e}`;
172
- }
173
- function y(e, t) {
174
- return `/${e}/${t}/checkout`;
175
- }
176
- function b(e) {
177
- return `/?${e.toString()}`;
178
- }
179
- function x(e, t, n = {}) {
180
- let r = `${y(e, t)}/success`, i = new URLSearchParams();
181
- n.orderId && i.set("orderId", n.orderId), n.ticketCount && n.ticketCount > 0 && i.set("tickets", String(n.ticketCount));
182
- let a = i.toString();
183
- return a ? `${r}?${a}` : r;
184
- }
185
- //#endregion
186
- export { h as a, b as c, o as d, _ as i, p as l, y as n, m as o, v as r, g as s, x as t, s as u };
153
+ export { o as n, a as r, f as t };
@@ -1,16 +1,16 @@
1
- import { d as e, f as t, i as n, l as r, s as i } from "./scarcity-CgNGIioR.js";
2
- import { C as a } from "./defaultLabels-OQGIv2n1.js";
3
- import { l as o, u as s } from "./navigation-BHE6fobo.js";
4
- import { A as c, D as l, M as u, N as d, j as f, w as p } from "./api-CEmt-15i.js";
1
+ import { d as e, f as t, i as n, l as r, s as i } from "./scarcity-CwnIxi1J.js";
2
+ import { C as a } from "./defaultLabels-Zp9QbN37.js";
3
+ import { n as o, t as s } from "./event-c9mHeEJz.js";
4
+ import { B as c, H as l, L as u, P as d, U as f, V as p } from "./api-DRQ3j7AT.js";
5
5
  //#region src/lib/utils/event-transform.js
6
6
  var m = "data:image/svg+xml," + encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300" fill="none">
7
- <rect width="200" height="300" fill="${p[200]}"/>
8
- <rect x="60" y="90" width="80" height="80" rx="10" fill="${p[300]}"/>
9
- <circle cx="85" cy="115" r="10" fill="${p[400]}"/>
10
- <path d="M70 155 L100 125 L130 155 L130 155" stroke="${p[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
7
+ <rect width="200" height="300" fill="${d[200]}"/>
8
+ <rect x="60" y="90" width="80" height="80" rx="10" fill="${d[300]}"/>
9
+ <circle cx="85" cy="115" r="10" fill="${d[400]}"/>
10
+ <path d="M70 155 L100 125 L130 155 L130 155" stroke="${d[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
11
11
  </svg>`);
12
12
  function h(e) {
13
- return s(e, { placeholder: m });
13
+ return o(e, { placeholder: m });
14
14
  }
15
15
  var g = /* @__PURE__ */ new Map(), _ = 64;
16
16
  function v(e, t, n) {
@@ -73,45 +73,45 @@ var S = {
73
73
  function C(e, t = { mode: S.DETAIL }) {
74
74
  let { mode: n = S.DETAIL } = t;
75
75
  if (!e) return n === S.BROWSE ? D() : O();
76
- let r = o(e), i = a(r.timeZone || r.timezone), s = h(e), c = {
76
+ let r = s(e), i = a(r.timeZone || r.timezone), o = h(e), c = {
77
77
  id: r.id,
78
78
  name: r.title || "",
79
- image: s,
79
+ image: o,
80
80
  timeZone: i,
81
81
  startDateTime: r.startDateTime || null,
82
82
  salesStatus: r.salesStatus
83
83
  };
84
- return n === S.BROWSE ? w(e, r, c, i) : T(e, r, c, i, s);
84
+ return n === S.BROWSE ? w(e, r, c, i) : T(e, r, c, i, o);
85
85
  }
86
86
  function w(e, t, r, i) {
87
- let a = t.startDateTime ? n(t.startDateTime, i) : "", o;
87
+ let a = t.startDateTime ? n(t.startDateTime, i) : "", s;
88
88
  if (typeof t.ticketsRemaining == "number" && typeof t.ticketsTotal == "number") {
89
89
  let e = t.ticketsRemaining, n = t.ticketsTotal;
90
- o = {
90
+ s = {
91
91
  totalRemaining: e,
92
92
  totalCapacity: n,
93
93
  isSoldOut: n > 0 && e <= 0
94
94
  };
95
95
  } else {
96
- let t = u(e.availableTickets || [], {
96
+ let t = l(e.availableTickets || [], {
97
97
  excludeDoorOnly: !0,
98
98
  publicOnly: !0
99
99
  });
100
- o = c(t);
100
+ s = c(t);
101
101
  }
102
102
  return {
103
103
  ...r,
104
- image: s(e, { placeholder: "" }),
104
+ image: o(e, { placeholder: "" }),
105
105
  date: a || t.date || "",
106
106
  status: t.status || "On Sale",
107
107
  timeline: b(t, i),
108
108
  description: t.description || t.eventSummary || "",
109
109
  venueId: t.venueId,
110
110
  eventSeriesId: t.eventSeriesId || null,
111
- ticketsRemaining: o.totalRemaining,
112
- ticketsTotal: o.totalCapacity,
113
- isSoldOut: o.isSoldOut,
114
- hasPurchasableHiddenTickets: l(e),
111
+ ticketsRemaining: s.totalRemaining,
112
+ ticketsTotal: s.totalCapacity,
113
+ isSoldOut: s.isSoldOut,
114
+ hasPurchasableHiddenTickets: u(e),
115
115
  stageId: t.stageId ?? null,
116
116
  eventCategoryTypes: t.eventCategoryTypes ?? null,
117
117
  ageRestriction: t.ageRestriction ?? null,
@@ -122,8 +122,8 @@ function w(e, t, r, i) {
122
122
  function T(e, t, n, r, i) {
123
123
  let a = (e.availableTickets || []).map((e) => ({
124
124
  ...e,
125
- status: f(e)
126
- })), o = u(a, {
125
+ status: p(e)
126
+ })), o = l(a, {
127
127
  excludeDoorOnly: !1,
128
128
  publicOnly: !0
129
129
  }), s = x(t.startDateTime, r);
@@ -140,14 +140,14 @@ function T(e, t, n, r, i) {
140
140
  location: t.venue?.googleLocationNameCache || t.venue?.address || "",
141
141
  ...s,
142
142
  coverImage: i,
143
- price: d(e.availableTickets),
143
+ price: f(e.availableTickets),
144
144
  status: t.status || "On Sale",
145
145
  eventSummary: t.eventSummary,
146
146
  password: t.password,
147
147
  availableTickets: a,
148
148
  publicTickets: o,
149
149
  ...e.addOns ? { addOns: e.addOns } : {},
150
- hasPurchasableHiddenTickets: l(e),
150
+ hasPurchasableHiddenTickets: u(e),
151
151
  doorsOpenTime: t.doorsOpenTime,
152
152
  venue: t.venue,
153
153
  venueID: t.venueId,
@@ -1,5 +1,5 @@
1
1
  import { E as e } from "./Button-klwKgfhG.js";
2
- import { L as t, U as n } from "./orders-Cp6dGII_.js";
2
+ import { L as t, U as n } from "./orders-jQz7QFjK.js";
3
3
  //#region src/lib/public-calendar-flow/eventStatusStream.ts
4
4
  var r = e("VC"), i = /* @__PURE__ */ new Set([
5
5
  "canceled",
@@ -139,6 +139,7 @@ var e = {
139
139
  viewTickets: "Voir les billets",
140
140
  order: "Commande",
141
141
  confirmationSentTo: "Confirmation envoyée à",
142
+ downloadPdf: "Télécharger le PDF",
142
143
  messageFromOrganizer: "Un mot de l'organisateur",
143
144
  addToCalendar: "Ajouter au calendrier",
144
145
  googleCalendar: "Google Calendar",
@@ -221,7 +221,7 @@ var e = {
221
221
  lastName: "Nom",
222
222
  emailAddress: "Adresse e-mail",
223
223
  phoneNumber: "Numéro de téléphone",
224
- keepMeUpdated: "Me tenir informé(e) des futurs événements et actualités",
224
+ keepMeUpdated: "Me tenir informé de cet événement et des événements similaires",
225
225
  subscribeToUpdates: "S'abonner aux actualités des événements",
226
226
  ticketN: "Billet {index} - {name}",
227
227
  sameAsPersonalDetails: "Identique aux coordonnées personnelles",
@@ -1,6 +1,6 @@
1
1
  import { S as e } from "./Button-klwKgfhG.js";
2
- import { q as t } from "./scarcity-CgNGIioR.js";
3
- import { U as n } from "./defaultLabels-OQGIv2n1.js";
2
+ import { q as t } from "./scarcity-CwnIxi1J.js";
3
+ import { U as n } from "./defaultLabels-Zp9QbN37.js";
4
4
  import "svelte/internal/disclose-version";
5
5
  import * as r from "svelte/internal/client";
6
6
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/CheckCircleIcon.svelte
@@ -1,9 +1,9 @@
1
- import { D as e, G as t, S as n, _ as r, h as i, m as a, n as o, t as s } from "./scarcity-CgNGIioR.js";
2
- import { A as c, H as l, S as u, d, f, g as p, u as m, w as h, x as g } from "./defaultLabels-OQGIv2n1.js";
3
- import { l as _ } from "./orders-Cp6dGII_.js";
1
+ import { D as e, G as t, S as n, _ as r, h as i, m as a, n as o, t as s } from "./scarcity-CwnIxi1J.js";
2
+ import { A as c, H as l, S as u, d, f, g as p, u as m, w as h, x as g } from "./defaultLabels-Zp9QbN37.js";
3
+ import { l as _ } from "./orders-jQz7QFjK.js";
4
4
  import { t as v } from "./Text-CqjLjIF8.js";
5
- import { O as y } from "./api-CEmt-15i.js";
6
- import { n as b } from "./constants-DZLNBlGm.js";
5
+ import { R as y } from "./api-DRQ3j7AT.js";
6
+ import { n as b } from "./constants-YYsgll7v.js";
7
7
  import "svelte/internal/disclose-version";
8
8
  import * as x from "svelte/internal/client";
9
9
  //#region src/lib/api/cta.ts
@@ -544,19 +544,19 @@ var J = _({
544
544
  defaults: b,
545
545
  locales: { en: b },
546
546
  loaders: {
547
- es: () => import("./es-CmbcTI7U.js").then((e) => e.es),
548
- fr: () => import("./fr-CAQjiRpV.js").then((e) => e.fr),
549
- "pt-br": () => import("./pt-br-DA_CwwjY.js").then((e) => e.pt_br),
550
- pt: () => import("./pt-br-DA_CwwjY.js").then((e) => e.pt_br),
551
- de: () => import("./de-CrMbvuuV.js").then((e) => e.de),
552
- ja: () => import("./ja-BHzUvYMy.js").then((e) => e.ja),
553
- zh: () => import("./zh-CdWAelYB.js").then((e) => e.zh),
554
- ko: () => import("./ko-hy8WDqbp.js").then((e) => e.ko),
555
- it: () => import("./it-wMX0iXW-.js").then((e) => e.it),
556
- nl: () => import("./nl-a59DlSFb.js").then((e) => e.nl),
557
- tr: () => import("./tr-DM96GLXF.js").then((e) => e.tr),
558
- id: () => import("./id-Bz5RjCc1.js").then((e) => e.id),
559
- pl: () => import("./pl-Dmn5DPMF.js").then((e) => e.pl)
547
+ es: () => import("./es-By1tBWcL.js").then((e) => e.es),
548
+ fr: () => import("./fr-BF6a7cw7.js").then((e) => e.fr),
549
+ "pt-br": () => import("./pt-br-BxzrK97M.js").then((e) => e.pt_br),
550
+ pt: () => import("./pt-br-BxzrK97M.js").then((e) => e.pt_br),
551
+ de: () => import("./de-CFh1o4IO.js").then((e) => e.de),
552
+ ja: () => import("./ja-DOzvvYpK.js").then((e) => e.ja),
553
+ zh: () => import("./zh-C2-VLP_R.js").then((e) => e.zh),
554
+ ko: () => import("./ko-b-vWxFpt.js").then((e) => e.ko),
555
+ it: () => import("./it-CB7RtPbU.js").then((e) => e.it),
556
+ nl: () => import("./nl-Dazc9kaV.js").then((e) => e.nl),
557
+ tr: () => import("./tr-DhAMB3UQ.js").then((e) => e.tr),
558
+ id: () => import("./id-Lo_q281j.js").then((e) => e.id),
559
+ pl: () => import("./pl-tSyy-lx_.js").then((e) => e.pl)
560
560
  }
561
561
  });
562
562
  J.resolveLocale;
@@ -0,0 +1,28 @@
1
+ import { t as e } from "./defaultLabels-Zp9QbN37.js";
2
+ import { l as t } from "./orders-jQz7QFjK.js";
3
+ //#endregion
4
+ //#region src/lib/i18n/index.js
5
+ var n = t({
6
+ defaults: e,
7
+ locales: { en: e },
8
+ loaders: {
9
+ es: () => import("./es-jUq9nrJk.js").then((e) => e.es),
10
+ fr: () => import("./fr-BhVwmvlV.js").then((e) => e.fr),
11
+ "pt-br": () => import("./pt-br-BUWJLxKf.js").then((e) => e.pt_br),
12
+ pt: () => import("./pt-br-BUWJLxKf.js").then((e) => e.pt_br),
13
+ de: () => import("./de-BY5vJUGN.js").then((e) => e.de),
14
+ ja: () => import("./ja-DpA7hJaC.js").then((e) => e.ja),
15
+ zh: () => import("./zh-BnBN3ggx.js").then((e) => e.zh),
16
+ ko: () => import("./ko-DdWLaFvo.js").then((e) => e.ko),
17
+ it: () => import("./it-wlDmN3hH.js").then((e) => e.it),
18
+ nl: () => import("./nl-BwxAfMRa.js").then((e) => e.nl),
19
+ tr: () => import("./tr-DTe5Urub.js").then((e) => e.tr),
20
+ id: () => import("./id-CWU5ZvLv.js").then((e) => e.id),
21
+ pl: () => import("./pl-CuRdwJXc.js").then((e) => e.pl)
22
+ }
23
+ });
24
+ n.resolveLocale;
25
+ var r = n.getLabelsForLocale, i = n.loadLocale;
26
+ n.listLocales;
27
+ //#endregion
28
+ export { i as n, r as t };
@@ -221,7 +221,7 @@ var e = {
221
221
  lastName: "Nama belakang",
222
222
  emailAddress: "Alamat email",
223
223
  phoneNumber: "Nomor telepon",
224
- keepMeUpdated: "Dapatkan kabar terbaru tentang acara dan berita lainnya",
224
+ keepMeUpdated: "Dapatkan info terbaru tentang acara ini dan acara serupa",
225
225
  subscribeToUpdates: "Berlangganan info acara dan berita terbaru",
226
226
  ticketN: "Tiket {index} - {name}",
227
227
  sameAsPersonalDetails: "Sama dengan data diri",
@@ -139,6 +139,7 @@ var e = {
139
139
  viewTickets: "Lihat tiket",
140
140
  order: "Pesanan",
141
141
  confirmationSentTo: "Konfirmasi dikirim ke",
142
+ downloadPdf: "Unduh PDF",
142
143
  messageFromOrganizer: "Catatan dari penyelenggara",
143
144
  addToCalendar: "Tambahkan ke kalender",
144
145
  googleCalendar: "Google Calendar",
@@ -1,6 +1,6 @@
1
1
  import { A as e, C as t, o as n } from "./Button-klwKgfhG.js";
2
- import { c as r, n as i, r as a, t as o, u as s } from "./z-index-BgKs9X9U.js";
3
- import { c, h as l, l as u, m as d, o as f, s as p } from "./ModalFooter-D21lJobf.js";
2
+ import { c as r, n as i, r as a, t as o, u as s } from "./z-index-Bo0dqmiq.js";
3
+ import { c, h as l, l as u, m as d, o as f, s as p } from "./ModalFooter-T1gpnywp.js";
4
4
  import "svelte/internal/disclose-version";
5
5
  import * as m from "svelte/internal/client";
6
6
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/PlusOutline.svelte
@@ -139,6 +139,7 @@ var e = {
139
139
  viewTickets: "Vedi i biglietti",
140
140
  order: "Ordine",
141
141
  confirmationSentTo: "Conferma inviata a",
142
+ downloadPdf: "Scarica il PDF",
142
143
  messageFromOrganizer: "Una nota dell'organizzatore",
143
144
  addToCalendar: "Aggiungi al calendario",
144
145
  googleCalendar: "Google Calendar",
@@ -221,7 +221,7 @@ var e = {
221
221
  lastName: "Cognome",
222
222
  emailAddress: "Indirizzo email",
223
223
  phoneNumber: "Numero di telefono",
224
- keepMeUpdated: "Tienimi aggiornato su altri eventi e novità",
224
+ keepMeUpdated: "Tienimi aggiornato su questo e altri eventi simili",
225
225
  subscribeToUpdates: "Iscriviti per ricevere aggiornamenti su eventi e novità",
226
226
  ticketN: "Biglietto {index} - {name}",
227
227
  sameAsPersonalDetails: "Uguale ai dati personali",
@@ -139,6 +139,7 @@ var e = {
139
139
  viewTickets: "チケットを見る",
140
140
  order: "注文",
141
141
  confirmationSentTo: "確認メール送信先:",
142
+ downloadPdf: "PDFをダウンロード",
142
143
  messageFromOrganizer: "主催者からのメッセージ",
143
144
  addToCalendar: "カレンダーに追加",
144
145
  googleCalendar: "Google Calendar",
@@ -221,7 +221,7 @@ var e = {
221
221
  lastName: "姓",
222
222
  emailAddress: "メールアドレス",
223
223
  phoneNumber: "電話番号",
224
- keepMeUpdated: "最新イベントやニュースの通知を受け取る",
224
+ keepMeUpdated: "このイベントや関連イベントの最新情報を受け取る",
225
225
  subscribeToUpdates: "イベントの最新情報やニュースを購読する",
226
226
  ticketN: "チケット {index} - {name}",
227
227
  sameAsPersonalDetails: "お客様情報と同じ",
@@ -221,7 +221,7 @@ var e = {
221
221
  lastName: "성",
222
222
  emailAddress: "이메일 주소",
223
223
  phoneNumber: "전화번호",
224
- keepMeUpdated: "새로운 공연 및 소식 알림 받기",
224
+ keepMeUpdated: "이 이벤트 및 관련 소식 받기",
225
225
  subscribeToUpdates: "공연 알림 및 소식 구독",
226
226
  ticketN: "티켓 {index} - {name}",
227
227
  sameAsPersonalDetails: "예매자 정보와 동일",
@@ -139,6 +139,7 @@ var e = {
139
139
  viewTickets: "티켓 보기",
140
140
  order: "주문",
141
141
  confirmationSentTo: "확인 메일 전송 대상:",
142
+ downloadPdf: "PDF 내려받기",
142
143
  messageFromOrganizer: "주최자의 메시지",
143
144
  addToCalendar: "일정에 추가",
144
145
  googleCalendar: "Google Calendar",
@@ -29,9 +29,4 @@ function r(e = 500) {
29
29
  };
30
30
  }
31
31
  //#endregion
32
- //#region __SKIP_PATHS__
33
- function i(e, t) {
34
- return String(e).replace(/\[+(?:\.\.\.)?([^\]=]+?)(?:=[^\]]+)?\]+/g, (e, n) => t && t[n] != null ? String(t[n]) : "");
35
- }
36
- //#endregion
37
- export { n, r, i as t };
32
+ export { r as n, n as t };