@getmicdrop/venue-calendar 4.3.49 → 4.3.51

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 (115) hide show
  1. package/dist/{ArrowLeftIcon-C2kBPBFF.js → ArrowLeftIcon-BVz8rVy-.js} +1 -1
  2. package/dist/{BlockPlaceholder-BPa9clun.js → BlockPlaceholder-BMor_G7G.js} +1 -1
  3. package/dist/{Calendar-CoMyT0j0.js → Calendar-c-VQOPhK.js} +3 -3
  4. package/dist/{CalendarFoundryView-BoQPNIdw.js → CalendarFoundryView-Bq547Oiz.js} +960 -960
  5. package/dist/{CalendarIcon-DOoS4b_i.js → CalendarIcon-B1zQMDYt.js} +1 -1
  6. package/dist/{CartView-CVKiyVOl.js → CartView-hWsZGkVQ.js} +34 -34
  7. package/dist/{Checkout-CylGX5N6.js → Checkout-BwxyqHY_.js} +14 -14
  8. package/dist/{Checkout-BIau3rG4.js → Checkout-pjUaSvU6.js} +45 -43
  9. package/dist/{CheckoutTimer-DZ6F5dzh.js → CheckoutTimer-DjYTRwVK.js} +3 -3
  10. package/dist/{ChevronDownIcon-lXHBGCo7.js → ChevronDownIcon-8-uVEhg0.js} +1 -1
  11. package/dist/{ClockIcon-D9JBjN9o.js → ClockIcon-CubuxycE.js} +1 -1
  12. package/dist/{CloseIcon-wRJUEVbd.js → CloseIcon-pz6eBxlB.js} +1 -1
  13. package/dist/{CollectionView-CGBHaoZ4.js → CollectionView-CWwhiJHK.js} +6 -6
  14. package/dist/{Event-D1NTFNzv.js → Event-Cj5-V360.js} +18 -18
  15. package/dist/{EventPage-DmMzUsSw.js → EventPage-Gh0QX1Wk.js} +14 -14
  16. package/dist/{Input-BXowmV9D.js → Input-B0S168FA.js} +1 -1
  17. package/dist/{MailIcon-89dLUSGH.js → MailIcon-B4iLV34K.js} +1 -1
  18. package/dist/{PasswordInput-CDkeouk0.js → PasswordInput-Dd_mQxbp.js} +1 -1
  19. package/dist/{RecommendationsRail-DFL2WV70.js → RecommendationsRail-D7NWOEEf.js} +117 -110
  20. package/dist/{ScarcityBadge-B3aj_cj2.js → ScarcityBadge--Rh62z2D.js} +3 -3
  21. package/dist/{SeriesPage-CMrrm_XY.js → SeriesPage-Dx0PFJkE.js} +3 -3
  22. package/dist/{Success-hWdOedro.js → Success-Fj5TXPWu.js} +17 -17
  23. package/dist/{TagIcon-DZblUUlO.js → TagIcon-DVXKjStU.js} +1 -1
  24. package/dist/{ViewTicketsEmbed-DEOXlEri.js → ViewTicketsEmbed-DByaBHeq.js} +126 -130
  25. package/dist/{WarningCircleIcon-ftHkzPAT.js → WarningCircleIcon-CbNmDN5r.js} +1 -1
  26. package/dist/{WarningTriIcon-Cg5rWRNQ.js → WarningTriIcon-CZPGuEl3.js} +1 -1
  27. package/dist/api/api.cjs +1 -1
  28. package/dist/api/api.mjs +0 -2
  29. package/dist/api/checkout-availability.d.ts +4 -1
  30. package/dist/api/gate-password-cache.d.ts +4 -3
  31. package/dist/api/gift-cards.d.ts +10 -0
  32. package/dist/api/route-manifest.d.ts +21 -4
  33. package/dist/api/transformers/collection.d.ts +0 -5
  34. package/dist/api/transformers/event.d.ts +0 -1
  35. package/dist/api/transformers/index.d.ts +14 -18
  36. package/dist/api/transformers/series.d.ts +0 -5
  37. package/dist/api/transformers/venue.d.ts +1 -0
  38. package/dist/{api-BqDkZFK5.js → api-Cbbszsig.js} +118 -221
  39. package/dist/{constants-MMSOmBOv.js → constants-CJyMUKEX.js} +3 -45
  40. package/dist/{copyToClipboard-DOMJZVtr.js → copyToClipboard-DfqOeS1-.js} +1 -1
  41. package/dist/{createErrorGate.svelte-ynzMl2GO.js → createErrorGate.svelte-Ct8gFqvn.js} +1 -1
  42. package/dist/{de-FgvcqC9U.js → de-DdgY9gjK.js} +2 -0
  43. package/dist/{defaultLabels-BSBaNwtj.js → defaultLabels-C7rJdC-m.js} +2 -0
  44. package/dist/{defaults-BBHeX0iC.js → defaults-DBpwynsR.js} +2 -2
  45. package/dist/{es-ZfMjiCqP.js → es-h09gGjTK.js} +2 -0
  46. package/dist/{event-CYFedL-k.js → event-B4F3zifd.js} +1 -1
  47. package/dist/{event-transform-CJLXVtwq.js → event-transform-rUtOP2f0.js} +165 -57
  48. package/dist/{eventStatusStream-CnfHWNfU.js → eventStatusStream-CeFdF0pM.js} +1 -1
  49. package/dist/{fr-CyvLPH_R.js → fr-JaiZa_7i.js} +2 -0
  50. package/dist/href-C_CnchY7.js +136 -0
  51. package/dist/{i18n-CbpdmhA9.js → i18n-CEpacwpz.js} +5 -5
  52. package/dist/i18n-iYGbHTiH.js +28 -0
  53. package/dist/{id-_uuo39TH.js → id-DLwaroVD.js} +2 -0
  54. package/dist/{it-9uMqIZ8z.js → it-BzBtirlA.js} +2 -0
  55. package/dist/{ja-Cwc9R9HU.js → ja-Bg0GgXOg.js} +2 -0
  56. package/dist/{ko-Kkkes7wd.js → ko-CTS9jPS0.js} +2 -0
  57. package/dist/locales/4.3.51/main/de.js +1 -0
  58. package/dist/locales/4.3.51/main/es.js +1 -0
  59. package/dist/locales/4.3.51/main/fr.js +1 -0
  60. package/dist/locales/4.3.51/main/id.js +1 -0
  61. package/dist/locales/4.3.51/main/it.js +1 -0
  62. package/dist/locales/4.3.51/main/ja.js +1 -0
  63. package/dist/locales/4.3.51/main/ko.js +1 -0
  64. package/dist/locales/4.3.51/main/nl.js +1 -0
  65. package/dist/locales/4.3.51/main/pl.js +1 -0
  66. package/dist/locales/4.3.51/main/pt-br.js +1 -0
  67. package/dist/locales/4.3.51/main/tr.js +1 -0
  68. package/dist/locales/4.3.51/main/zh.js +1 -0
  69. package/dist/{nl-DZRosnmw.js → nl-8mSRvFG5.js} +2 -0
  70. package/dist/{order-totals-DhMhim7I.js → order-totals-c3zn-HDr.js} +3 -3
  71. package/dist/{orders-B7_DrFsF.js → orders-DZbxfNI9.js} +1 -1
  72. package/dist/{pixels-D7_ylXj9.js → pixels-CoXwcqE_.js} +2 -2
  73. package/dist/{pl-NUon2ul9.js → pl-B8-WC_Mo.js} +2 -0
  74. package/dist/{promo-CpP1Qjsg.js → promo-X_5x9P0A.js} +1 -1
  75. package/dist/{pt-br-9XGniVhr.js → pt-br-QgRkwqJk.js} +2 -0
  76. package/dist/{scarcity-nbBD95Iy.js → scarcity-Do5MrSwn.js} +1 -1
  77. package/dist/serverTotals-6RxxdfwU.js +712 -0
  78. package/dist/{showcase-state-options-DxMKyehO.js → showcase-state-options-nn-CiCd1.js} +4 -50
  79. package/dist/to-event-card-props-DwRTJ3x9.js +484 -0
  80. package/dist/{tr-Dzx6RI84.js → tr-BRjs9Thn.js} +2 -0
  81. package/dist/{utils-CBt88H2f.js → utils--rXGNV9Z.js} +2 -2
  82. package/dist/venue-calendar.css +1 -1
  83. package/dist/venue-calendar.es.js +1032 -1026
  84. package/dist/venue-calendar.iife.js +54 -117
  85. package/dist/venue-calendar.umd.js +53 -116
  86. package/dist/{zh-C_214Y7E.js → zh-CWmj934h.js} +2 -0
  87. package/package.json +2 -2
  88. package/dist/href-B5fLLW1E.js +0 -136
  89. package/dist/i18n-CCPr-2JE.js +0 -28
  90. package/dist/locales/4.3.49/main/de.js +0 -1
  91. package/dist/locales/4.3.49/main/es.js +0 -1
  92. package/dist/locales/4.3.49/main/fr.js +0 -1
  93. package/dist/locales/4.3.49/main/id.js +0 -1
  94. package/dist/locales/4.3.49/main/it.js +0 -1
  95. package/dist/locales/4.3.49/main/ja.js +0 -1
  96. package/dist/locales/4.3.49/main/ko.js +0 -1
  97. package/dist/locales/4.3.49/main/nl.js +0 -1
  98. package/dist/locales/4.3.49/main/pl.js +0 -1
  99. package/dist/locales/4.3.49/main/pt-br.js +0 -1
  100. package/dist/locales/4.3.49/main/tr.js +0 -1
  101. package/dist/locales/4.3.49/main/zh.js +0 -1
  102. package/dist/serverTotals-pNSdZn5U.js +0 -3014
  103. package/dist/to-event-card-props-C9_64NFb.js +0 -447
  104. /package/dist/locales/{4.3.49 → 4.3.51}/flow/de.js +0 -0
  105. /package/dist/locales/{4.3.49 → 4.3.51}/flow/es.js +0 -0
  106. /package/dist/locales/{4.3.49 → 4.3.51}/flow/fr.js +0 -0
  107. /package/dist/locales/{4.3.49 → 4.3.51}/flow/id.js +0 -0
  108. /package/dist/locales/{4.3.49 → 4.3.51}/flow/it.js +0 -0
  109. /package/dist/locales/{4.3.49 → 4.3.51}/flow/ja.js +0 -0
  110. /package/dist/locales/{4.3.49 → 4.3.51}/flow/ko.js +0 -0
  111. /package/dist/locales/{4.3.49 → 4.3.51}/flow/nl.js +0 -0
  112. /package/dist/locales/{4.3.49 → 4.3.51}/flow/pl.js +0 -0
  113. /package/dist/locales/{4.3.49 → 4.3.51}/flow/pt-br.js +0 -0
  114. /package/dist/locales/{4.3.49 → 4.3.51}/flow/tr.js +0 -0
  115. /package/dist/locales/{4.3.49 → 4.3.51}/flow/zh.js +0 -0
@@ -1,47 +1,5 @@
1
- import { F as e, M as t, N as n, P as r } from "./api-BqDkZFK5.js";
2
- //#region src/lib/core/theme-engine.js
3
- var i = {
4
- primary: n.defaultThemePrimary,
5
- primaryHover: t.violet[700],
6
- secondary: t.green.emerald,
7
- accent: t.amber[500],
8
- background: e.background.primary,
9
- surface: r[50],
10
- surfaceHover: r[100],
11
- text: r[800],
12
- textMuted: r[500],
13
- textOnPrimary: e.text.inverted,
14
- border: r[200],
15
- borderMuted: r[100],
16
- radiusSm: "4px",
17
- radiusMd: "8px",
18
- radiusLg: "12px",
19
- radiusFull: "9999px",
20
- fontHeading: "'Inter', sans-serif",
21
- fontBody: "'Inter', sans-serif",
22
- fontSizeBase: "16px",
23
- fontSizeSm: "14px",
24
- fontSizeLg: "18px",
25
- fontSizeXl: "20px",
26
- lineHeight: "1.5",
27
- shadowSm: "0 1px 2px rgba(0, 0, 0, 0.05)",
28
- shadowMd: "0 4px 6px rgba(0, 0, 0, 0.1)",
29
- shadowLg: "0 10px 15px rgba(0, 0, 0, 0.1)",
30
- badgeScarcityBg: t.red[600],
31
- badgeScarcityText: e.text.inverted,
32
- badgeSoldOutBg: r[500],
33
- badgeSoldOutText: e.text.inverted,
34
- badgeAgeBg: t.amber[500],
35
- badgeAgeText: r[800],
36
- statusOnSale: t.green.emerald,
37
- statusSellingFast: t.amber[500],
38
- statusSoldOut: t.red[600],
39
- spacingUnit: "4px"
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], e.background.primary, r[50], r[200], { ...i }, t.red[600], t.red[700], n.defaultThemePrimary;
42
- //#endregion
43
1
  //#region src/lib/public-calendar-flow/i18n/labels.js
44
- var a = {
2
+ var e = {
45
3
  decrease: "Decrease",
46
4
  increase: "Increase",
47
5
  quantityNoun: "quantity",
@@ -244,6 +202,6 @@ var a = {
244
202
  recommendationSameNight: "Same night of the week",
245
203
  recommendationYouMightLike: "You might also like",
246
204
  recommendationFeatured: "Featured"
247
- }, o = "/placeholder-event.svg";
205
+ }, t = "/placeholder-event.svg";
248
206
  //#endregion
249
- export { a as n, o as t };
207
+ export { e as n, t };
@@ -1,4 +1,4 @@
1
- import { K as e } from "./scarcity-nbBD95Iy.js";
1
+ import { K as e } from "./scarcity-Do5MrSwn.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as t from "svelte/internal/client";
4
4
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/LocationIcon.svelte
@@ -1,4 +1,4 @@
1
- import { K as e } from "./scarcity-nbBD95Iy.js";
1
+ import { K as e } from "./scarcity-Do5MrSwn.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as t from "svelte/internal/client";
4
4
  import { getContext as n, hasContext as r, setContext as i } from "svelte";
@@ -160,6 +160,7 @@ var e = {
160
160
  disclaimer: "Hinweis",
161
161
  allAges: "Ohne Altersbeschränkung",
162
162
  agesPlus: "Ab {age} Jahren",
163
+ showAtTime: "Beginn {time}",
163
164
  doorsOpen: "Einlass ab {time}",
164
165
  venue: "Veranstaltungsort",
165
166
  generalAdmission: "Freie Platzwahl",
@@ -412,6 +413,7 @@ var e = {
412
413
  giftCardDeliveryTime: "Zustellzeit",
413
414
  giftCardDeliveryDateMax: "Zustellung kann bis zu 1 Jahr im Voraus geplant werden",
414
415
  giftCardScheduledFor: "Geplant für:",
416
+ giftCardVenueTimeQualifier: "(Zeit am Veranstaltungsort)",
415
417
  locale: "de-DE",
416
418
  ticketAriaLabel: "{title}-Ticket",
417
419
  ticketSoldOutSuffix: ", ausverkauft",
@@ -2282,6 +2282,7 @@ var In = {
2282
2282
  disclaimer: "Disclaimer",
2283
2283
  allAges: "All ages",
2284
2284
  agesPlus: "Ages {age}+",
2285
+ showAtTime: "Show {time}",
2285
2286
  doorsOpen: "Doors open {time}",
2286
2287
  venue: "Venue",
2287
2288
  opensInGoogleMaps: "(opens in Google Maps)",
@@ -2575,6 +2576,7 @@ var In = {
2575
2576
  giftCardDeliveryTime: "Delivery time",
2576
2577
  giftCardDeliveryDateMax: "Delivery can be scheduled up to 1 year ahead",
2577
2578
  giftCardScheduledFor: "Scheduled for:",
2579
+ giftCardVenueTimeQualifier: "(venue time)",
2578
2580
  locale: "en-US",
2579
2581
  ticketAriaLabel: "{title} ticket",
2580
2582
  ticketSoldOutSuffix: ", sold out",
@@ -1,6 +1,6 @@
1
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-BSBaNwtj.js";
3
- import { R as a } from "./orders-B7_DrFsF.js";
2
+ import { C as t, f as n, p as r, u as i } from "./defaultLabels-C7rJdC-m.js";
3
+ import { R as a } from "./orders-DZbxfNI9.js";
4
4
  import { t as o } from "./browser-DxdP6IWt.js";
5
5
  //#region src/lib/view-tickets/defaults.ts
6
6
  var s = /* @__PURE__ */ e(o(), 1);
@@ -160,6 +160,7 @@ var e = {
160
160
  disclaimer: "Aviso",
161
161
  allAges: "Todas las edades",
162
162
  agesPlus: "Edad {age}+",
163
+ showAtTime: "Inicio {time}",
163
164
  doorsOpen: "Puertas abren {time}",
164
165
  venue: "Lugar",
165
166
  generalAdmission: "Admisión general",
@@ -424,6 +425,7 @@ var e = {
424
425
  giftCardDeliveryTime: "Hora de entrega",
425
426
  giftCardDeliveryDateMax: "La entrega puede programarse con hasta 1 año de antelación",
426
427
  giftCardScheduledFor: "Programado para:",
428
+ giftCardVenueTimeQualifier: "(hora del recinto)",
427
429
  locale: "es",
428
430
  ticketAriaLabel: "Boleto de {title}",
429
431
  ticketSoldOutSuffix: ", agotado",
@@ -1,4 +1,4 @@
1
- import { x as e } from "./defaultLabels-BSBaNwtj.js";
1
+ import { x as e } from "./defaultLabels-C7rJdC-m.js";
2
2
  import { n as t } from "./imageUrl-Bata3II2.js";
3
3
  //#region src/lib/api/transformers/event.ts
4
4
  function n(e) {
@@ -1,37 +1,140 @@
1
- import { c as e, d as t, i as n, s as r, u as i } from "./scarcity-nbBD95Iy.js";
2
- import { C as a } from "./defaultLabels-BSBaNwtj.js";
1
+ import { c as e, d as t, i as n, s as r, u as i } from "./scarcity-Do5MrSwn.js";
2
+ import { C as a } from "./defaultLabels-C7rJdC-m.js";
3
3
  import { t as o } from "./imageUrl-Bata3II2.js";
4
- import { B as s, H as c, L as l, P as u, U as d, V as f } from "./api-BqDkZFK5.js";
5
- import { t as p } from "./event-CYFedL-k.js";
6
- //#region src/lib/utils/event-transform.js
7
- var m = "data:image/svg+xml," + encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300" fill="none">
8
- <rect width="200" height="300" fill="${u[200]}"/>
9
- <rect x="60" y="90" width="80" height="80" rx="10" fill="${u[300]}"/>
10
- <circle cx="85" cy="115" r="10" fill="${u[400]}"/>
11
- <path d="M70 155 L100 125 L130 155 L130 155" stroke="${u[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
4
+ import { F as s, I as c, L as l, M as u, R as d } from "./api-Cbbszsig.js";
5
+ import { t as f } from "./event-B4F3zifd.js";
6
+ //#region src/lib/constants/colors.ts
7
+ var p = {
8
+ primary: "#0284fe",
9
+ secondary: "#1d4ed8",
10
+ tertiary: "#2563eb"
11
+ }, m = {
12
+ 50: "#f9fafb",
13
+ 100: "#f3f4f6",
14
+ 200: "#e5e7eb",
15
+ 300: "#d1d5db",
16
+ 400: "#9ca3af",
17
+ 500: "#6b7280",
18
+ 600: "#4b5563",
19
+ 700: "#374151",
20
+ 800: "#1f2937",
21
+ 900: "#111827"
22
+ }, h = {
23
+ text: {
24
+ primary: m[900],
25
+ secondary: m[500],
26
+ muted: m[400],
27
+ inverted: "#ffffff"
28
+ },
29
+ background: {
30
+ primary: "#ffffff",
31
+ secondary: m[50],
32
+ tertiary: m[100],
33
+ dark: m[800],
34
+ darker: m[900]
35
+ },
36
+ border: {
37
+ default: m[200],
38
+ strong: m[300],
39
+ muted: m[100],
40
+ light: "#e0e0e0"
41
+ },
42
+ success: "#16a34a",
43
+ error: "#ef4444",
44
+ warning: "#f59e0b",
45
+ info: "#3b82f6"
46
+ }, g = {
47
+ blue: p.tertiary,
48
+ black: "#000000",
49
+ darkGray: m[700],
50
+ gray: "#666666",
51
+ lightGray: m[400],
52
+ white: h.background.primary,
53
+ offWhite: "#fafafa",
54
+ lightBorder: m[200],
55
+ border: "#cccccc",
56
+ orange: h.warning,
57
+ red: h.error,
58
+ green: {
59
+ blue: {
60
+ 200: "#bfdbfe",
61
+ 500: "#3b82f6",
62
+ 600: "#2563eb",
63
+ 700: "#1d4ed8"
64
+ },
65
+ red: {
66
+ 500: "#ef4444",
67
+ 600: "#dc2626",
68
+ 700: "#b91c1c"
69
+ },
70
+ green: {
71
+ 500: "#22c55e",
72
+ 600: "#16a34a",
73
+ emerald: "#10b981",
74
+ emeraldDark: "#059669"
75
+ },
76
+ amber: { 500: "#f59e0b" },
77
+ orange: { 500: "#f97316" },
78
+ violet: {
79
+ 400: "#a78bfa",
80
+ 500: "#8b5cf6",
81
+ 700: "#6d28d9"
82
+ },
83
+ pink: { 500: "#ec4899" },
84
+ lime: { 500: "#84cc16" },
85
+ indigo: { 500: "#6366f1" },
86
+ cyan: {
87
+ 400: "#22d3ee",
88
+ 500: "#06b6d4",
89
+ 600: "#0891b2"
90
+ },
91
+ teal: {
92
+ 400: "#2dd4bf",
93
+ 500: "#14b8a6"
94
+ },
95
+ sky: {
96
+ 400: "#45b7d1",
97
+ light: "#4ecdc4"
98
+ },
99
+ mint: {
100
+ 500: "#98d8c8",
101
+ 600: "#96ceb4"
102
+ },
103
+ plum: "#dda0dd",
104
+ yellow: {
105
+ 500: "#f7dc6f",
106
+ 300: "#ffeaa7"
107
+ },
108
+ coral: "#ff6b6b"
109
+ }.green[500]
110
+ }, _ = "data:image/svg+xml," + encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300" fill="none">
111
+ <rect width="200" height="300" fill="${m[200]}"/>
112
+ <rect x="60" y="90" width="80" height="80" rx="10" fill="${m[300]}"/>
113
+ <circle cx="85" cy="115" r="10" fill="${m[400]}"/>
114
+ <path d="M70 155 L100 125 L130 155 L130 155" stroke="${m[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
12
115
  </svg>`);
13
- function h(e) {
14
- return o(e, { placeholder: m });
116
+ function v(e) {
117
+ return o(e, { placeholder: _ });
15
118
  }
16
- var g = /* @__PURE__ */ new Map(), _ = 64;
17
- function v(e, t, n) {
18
- let r = `${e}|${t}|${JSON.stringify(n)}`, i = g.get(r);
19
- if (i) return g.delete(r), g.set(r, i), i;
119
+ var y = /* @__PURE__ */ new Map(), b = 64;
120
+ function x(e, t, n) {
121
+ let r = `${e}|${t}|${JSON.stringify(n)}`, i = y.get(r);
122
+ if (i) return y.delete(r), y.set(r, i), i;
20
123
  if (i = new Intl.DateTimeFormat(e, {
21
124
  ...n,
22
125
  timeZone: t
23
- }), g.set(r, i), g.size > _) {
24
- let e = g.keys().next().value;
25
- g.delete(e);
126
+ }), y.set(r, i), y.size > b) {
127
+ let e = y.keys().next().value;
128
+ y.delete(e);
26
129
  }
27
130
  return i;
28
131
  }
29
- function y(e, t, n) {
132
+ function S(e, t, n) {
30
133
  if (!e) return "";
31
134
  let r = new Date(e);
32
- return isNaN(r.getTime()) ? "" : v("en-US", t, n).format(r);
135
+ return isNaN(r.getTime()) ? "" : x("en-US", t, n).format(r);
33
136
  }
34
- function b(t, n) {
137
+ function C(t, n) {
35
138
  if (!t.startDateTime) return "";
36
139
  try {
37
140
  return t.endDateTime ? i(t.startDateTime, t.endDateTime, n) : e(t.startDateTime, n);
@@ -40,13 +143,13 @@ function b(t, n) {
40
143
  hour: "numeric",
41
144
  minute: "2-digit",
42
145
  hour12: !0
43
- }, r = y(t.startDateTime, n, e);
146
+ }, r = S(t.startDateTime, n, e);
44
147
  if (!t.endDateTime) return r;
45
- let i = y(t.endDateTime, n, e);
148
+ let i = S(t.endDateTime, n, e);
46
149
  return r && i ? `${r} - ${i}` : r;
47
150
  }
48
151
  }
49
- function x(e, n) {
152
+ function w(e, n) {
50
153
  if (!e) return {
51
154
  day: "",
52
155
  month: "",
@@ -61,20 +164,20 @@ function x(e, n) {
61
164
  };
62
165
  } catch {
63
166
  return {
64
- day: y(e, n, { weekday: "short" }),
65
- month: y(e, n, { month: "short" }),
66
- dateOfMonth: y(e, n, { day: "numeric" })
167
+ day: S(e, n, { weekday: "short" }),
168
+ month: S(e, n, { month: "short" }),
169
+ dateOfMonth: S(e, n, { day: "numeric" })
67
170
  };
68
171
  }
69
172
  }
70
- var S = {
173
+ var T = {
71
174
  BROWSE: "browse",
72
175
  DETAIL: "detail"
73
176
  };
74
- function C(e, t = { mode: S.DETAIL }) {
75
- let { mode: n = S.DETAIL } = t;
76
- if (!e) return n === S.BROWSE ? D() : O();
77
- let r = p(e), i = a(r.timeZone || r.timezone), o = h(e), s = {
177
+ function E(e, t = { mode: T.DETAIL }) {
178
+ let { mode: n = T.DETAIL } = t;
179
+ if (!e) return n === T.BROWSE ? A() : j();
180
+ let r = f(e), i = a(r.timeZone || r.timezone), o = v(e), s = {
78
181
  id: r.id,
79
182
  name: r.title || "",
80
183
  image: o,
@@ -82,58 +185,63 @@ function C(e, t = { mode: S.DETAIL }) {
82
185
  startDateTime: r.startDateTime || null,
83
186
  salesStatus: r.salesStatus
84
187
  };
85
- return n === S.BROWSE ? w(e, r, s, i) : T(e, r, s, i, o);
188
+ return n === T.BROWSE ? D(e, r, s, i) : O(e, r, s, i, o);
86
189
  }
87
- function w(e, t, r, i) {
88
- let a = t.startDateTime ? n(t.startDateTime, i) : "", u;
190
+ function D(e, t, r, i) {
191
+ let a = t.startDateTime ? n(t.startDateTime, i) : "", c;
89
192
  if (typeof t.ticketsRemaining == "number" && typeof t.ticketsTotal == "number") {
90
193
  let e = t.ticketsRemaining, n = t.ticketsTotal;
91
- u = {
194
+ c = {
92
195
  totalRemaining: e,
93
196
  totalCapacity: n,
94
197
  isSoldOut: n > 0 && e <= 0
95
198
  };
96
199
  } else {
97
- let t = c(e.availableTickets || [], {
200
+ let t = l(e.availableTickets || [], {
98
201
  excludeDoorOnly: !0,
99
202
  publicOnly: !0
100
203
  });
101
- u = s(t);
204
+ c = s(t);
102
205
  }
103
206
  return {
104
207
  ...r,
105
208
  image: o(e, { placeholder: "" }),
106
209
  date: a || t.date || "",
107
210
  status: t.status || "On Sale",
108
- timeline: b(t, i),
211
+ timeline: C(t, i),
109
212
  description: t.description || t.eventSummary || "",
110
213
  venueId: t.venueId,
111
214
  eventSeriesId: t.eventSeriesId || null,
112
- ticketsRemaining: u.totalRemaining,
113
- ticketsTotal: u.totalCapacity,
114
- isSoldOut: u.isSoldOut,
115
- hasPurchasableHiddenTickets: l(e),
215
+ ticketsRemaining: c.totalRemaining,
216
+ ticketsTotal: c.totalCapacity,
217
+ isSoldOut: c.isSoldOut,
218
+ hasPurchasableHiddenTickets: u(e),
116
219
  stageId: t.stageId ?? null,
117
220
  eventCategoryTypes: t.eventCategoryTypes ?? null,
118
221
  ageRestriction: t.ageRestriction ?? null,
222
+ stageName: t.stage?.name || t.stageName || void 0,
223
+ doorsOpenTime: t.doorsOpenTime,
224
+ displayDoorsTime: t.displayDoorsTime,
225
+ displayStartTime: t.displayStartTime,
226
+ displayAgeRestriction: t.displayAgeRestriction,
119
227
  publicPerformers: t.publicPerformers ?? null,
120
228
  collectionIds: t.collectionIds ?? null
121
229
  };
122
230
  }
123
- function T(e, t, n, r, i) {
231
+ function O(e, t, n, r, i) {
124
232
  let a = (e.availableTickets || []).map((e) => ({
125
233
  ...e,
126
- status: f(e)
127
- })), o = c(a, {
234
+ status: c(e)
235
+ })), o = l(a, {
128
236
  excludeDoorOnly: !1,
129
237
  publicOnly: !0
130
- }), s = x(t.startDateTime, r);
238
+ }), s = w(t.startDateTime, r);
131
239
  return {
132
240
  ...n,
133
- date: t.startDateTime ? E(t.startDateTime, r) : null,
241
+ date: t.startDateTime ? k(t.startDateTime, r) : null,
134
242
  endDateTime: t.endDateTime,
135
243
  description: t.description,
136
- timeline: y(t.startDateTime, r, {
244
+ timeline: S(t.startDateTime, r, {
137
245
  hour: "numeric",
138
246
  minute: "2-digit",
139
247
  hour12: !0
@@ -148,7 +256,7 @@ function T(e, t, n, r, i) {
148
256
  availableTickets: a,
149
257
  publicTickets: o,
150
258
  ...e.addOns ? { addOns: e.addOns } : {},
151
- hasPurchasableHiddenTickets: l(e),
259
+ hasPurchasableHiddenTickets: u(e),
152
260
  doorsOpenTime: t.doorsOpenTime,
153
261
  venue: t.venue,
154
262
  venueID: t.venueId,
@@ -169,7 +277,7 @@ function T(e, t, n, r, i) {
169
277
  displayAgeRestriction: t.displayAgeRestriction ?? !1
170
278
  };
171
279
  }
172
- function E(e, t) {
280
+ function k(e, t) {
173
281
  return e && r(e, t, {
174
282
  weekday: "short",
175
283
  month: "short",
@@ -177,7 +285,7 @@ function E(e, t) {
177
285
  year: "numeric"
178
286
  }) || null;
179
287
  }
180
- function D() {
288
+ function A() {
181
289
  return {
182
290
  id: null,
183
291
  name: "",
@@ -196,7 +304,7 @@ function D() {
196
304
  hasPurchasableHiddenTickets: !1
197
305
  };
198
306
  }
199
- function O() {
307
+ function j() {
200
308
  return {
201
309
  id: null,
202
310
  name: "",
@@ -237,8 +345,8 @@ function O() {
237
345
  timeZone: "UTC"
238
346
  };
239
347
  }
240
- function k(e) {
241
- return C(e, { mode: S.BROWSE });
348
+ function M(e) {
349
+ return E(e, { mode: T.BROWSE });
242
350
  }
243
351
  //#endregion
244
- export { k as n, C as t };
352
+ export { M as n, g as r, E as t };
@@ -1,5 +1,5 @@
1
1
  import { E as e } from "./Button-klwKgfhG.js";
2
- import { R as t, W as n } from "./orders-B7_DrFsF.js";
2
+ import { R as t, W as n } from "./orders-DZbxfNI9.js";
3
3
  //#region src/lib/public-calendar-flow/eventStatusStream.ts
4
4
  var r = e("VC"), i = /* @__PURE__ */ new Set([
5
5
  "canceled",
@@ -160,6 +160,7 @@ var e = {
160
160
  disclaimer: "Avertissement",
161
161
  allAges: "Tout public",
162
162
  agesPlus: "{age} ans et plus",
163
+ showAtTime: "Début {time}",
163
164
  doorsOpen: "Ouverture des portes à {time}",
164
165
  venue: "Lieu",
165
166
  generalAdmission: "Placement libre",
@@ -412,6 +413,7 @@ var e = {
412
413
  giftCardDeliveryTime: "Heure d'envoi",
413
414
  giftCardDeliveryDateMax: "L'envoi peut être programmé jusqu'à 1 an à l'avance",
414
415
  giftCardScheduledFor: "Programmé pour :",
416
+ giftCardVenueTimeQualifier: "(heure du lieu)",
415
417
  locale: "fr-FR",
416
418
  ticketAriaLabel: "Billet {title}",
417
419
  ticketSoldOutSuffix: ", épuisé",