@getmicdrop/venue-calendar 4.3.56 → 4.3.58

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 (119) hide show
  1. package/dist/AddOnCard-TEUXB3Sd.js +340 -0
  2. package/dist/{ArrowLeftIcon-DjqiKzR8.js → ArrowLeftIcon-C0jreEw8.js} +1 -1
  3. package/dist/{BlockPlaceholder-CgZr2Euq.js → BlockPlaceholder-DdoOD0gZ.js} +1 -1
  4. package/dist/{Calendar-CS_RqyU_.js → Calendar-BWLg7fOl.js} +3 -3
  5. package/dist/{CalendarFoundryView-BLHPU4ry.js → CalendarFoundryView-apVO50Ap.js} +1602 -1535
  6. package/dist/{CalendarIcon-D9Z9YFz6.js → CalendarIcon-BOEpooZq.js} +1 -1
  7. package/dist/CartView-CTL1DQem.js +2293 -0
  8. package/dist/Checkout-B9OHWxzh.js +1933 -0
  9. package/dist/Checkout-D7Cgj12j.js +1076 -0
  10. package/dist/{CheckoutTimer-CyN-mQCP.js → CheckoutTimer-DPNmc1BX.js} +5 -5
  11. package/dist/{ChevronDownIcon-D9I-5bmz.js → ChevronDownIcon-Czxsi1W2.js} +1 -1
  12. package/dist/{CloseIcon-DPdjPdoi.js → CloseIcon-hLh5XXvh.js} +1 -1
  13. package/dist/{CollectionView-CkKwCXQj.js → CollectionView-LFCwHiPj.js} +13 -13
  14. package/dist/{Event-BfWRG4dm.js → Event-C63PLQhq.js} +431 -616
  15. package/dist/EventPage-CyDAwaQF.js +1200 -0
  16. package/dist/{Input-CDw-j5fQ.js → Input-dF1ZPavc.js} +1 -1
  17. package/dist/{MailIcon-C__hyCKr.js → MailIcon-T9SmOpQr.js} +1 -1
  18. package/dist/{PasswordInput-D3Pwparw.js → PasswordInput-B64o-TXR.js} +1 -1
  19. package/dist/{RecommendationsRail-DPxl9JCm.js → RecommendationsRail-Cb_c4ohM.js} +50 -50
  20. package/dist/ScarcityBadge-14VWzOL2.js +145 -0
  21. package/dist/{SeriesPage-B7z1yoAK.js → SeriesPage-DeALgf5s.js} +3 -3
  22. package/dist/Spinner-CW1KZMkc.js +19 -0
  23. package/dist/{Success-BzuOliUV.js → Success-Dcd9bWCn.js} +94 -95
  24. package/dist/{TagIcon-DwWcRiXS.js → TagIcon-C8DU69Jv.js} +1 -1
  25. package/dist/{ViewTicketsEmbed-BE8iTUF9.js → ViewTicketsEmbed-CWLSFG06.js} +14 -15
  26. package/dist/{WarningCircleIcon-C2fJjhKf.js → WarningCircleIcon-Cj8SHVfz.js} +26 -5
  27. package/dist/{WarningTriIcon-OqM9Rfwq.js → WarningTriIcon-CfCwvwsQ.js} +1 -1
  28. package/dist/__SKIP_NAVIGATION__-AOx8SI54.js +6 -0
  29. package/dist/api/api.cjs +1 -1
  30. package/dist/api/api.mjs +226 -178
  31. package/dist/api/cart-addons.d.ts +61 -0
  32. package/dist/api/index.d.ts +4 -2
  33. package/dist/api/orders.d.ts +48 -0
  34. package/dist/api/transformers/venue.d.ts +14 -1
  35. package/dist/{api-BsBSvoNj.js → api-Br260RVo.js} +206 -143
  36. package/dist/{constants-CJyMUKEX.js → constants-DWS8C09a.js} +4 -0
  37. package/dist/{copyToClipboard-CL9BmJA4.js → copyToClipboard-C_fcBdn4.js} +1 -1
  38. package/dist/{createErrorGate.svelte-DwTTmYou.js → createErrorGate.svelte-jZMaO7KA.js} +1 -1
  39. package/dist/{de-CFh1o4IO.js → de-BEfuIgIj.js} +4 -0
  40. package/dist/{defaultLabels-BaVkGLw4.js → defaultLabels-CqkC-rOG.js} +530 -427
  41. package/dist/{defaults-BHXY6s4i.js → defaults-BLhQWNFt.js} +2 -2
  42. package/dist/{es-By1tBWcL.js → es-Bd4g_HxR.js} +4 -0
  43. package/dist/{event-xgg-eiTq.js → event-DaWMe2IV.js} +1 -1
  44. package/dist/{event-transform-oLpmof1H.js → event-transform-WnvEyzV-.js} +19 -19
  45. package/dist/{eventStatusStream-BIxriEut.js → eventStatusStream-DgWemzCE.js} +5 -5
  46. package/dist/{fr-BF6a7cw7.js → fr-Blc79wvV.js} +4 -0
  47. package/dist/{href-DO3HKeJp.js → href-x-W1j8EY.js} +2 -2
  48. package/dist/{i18n-8EWq-WHv.js → i18n-DFWp9lQ_.js} +2 -2
  49. package/dist/{i18n-JpkI3lvS.js → i18n-DgjCm8g6.js} +93 -93
  50. package/dist/{id-Lo_q281j.js → id-DzzsiF4d.js} +4 -0
  51. package/dist/{it-CQcRIzL4.js → it-B4zXRsxu.js} +4 -0
  52. package/dist/{ja-DOzvvYpK.js → ja-eT4_QPKd.js} +4 -0
  53. package/dist/{ko-b-vWxFpt.js → ko-B8Fmrldj.js} +4 -0
  54. package/dist/locales/4.3.58/flow/de.js +1 -0
  55. package/dist/locales/4.3.58/flow/es.js +1 -0
  56. package/dist/locales/4.3.58/flow/fr.js +1 -0
  57. package/dist/locales/4.3.58/flow/id.js +1 -0
  58. package/dist/locales/4.3.58/flow/it.js +1 -0
  59. package/dist/locales/4.3.58/flow/ja.js +1 -0
  60. package/dist/locales/4.3.58/flow/ko.js +1 -0
  61. package/dist/locales/4.3.58/flow/nl.js +1 -0
  62. package/dist/locales/4.3.58/flow/pl.js +1 -0
  63. package/dist/locales/4.3.58/flow/pt-br.js +1 -0
  64. package/dist/locales/4.3.58/flow/tr.js +1 -0
  65. package/dist/locales/4.3.58/flow/zh.js +1 -0
  66. package/dist/{nl-Dazc9kaV.js → nl-Dnug8LYt.js} +4 -0
  67. package/dist/{orders--luy9Lyn.js → orders-DlyjunUM.js} +60 -44
  68. package/dist/{pixels-FefBmhJt.js → pixels-n1zu1IhF.js} +9 -9
  69. package/dist/{pl-tSyy-lx_.js → pl-C3XxoYWF.js} +4 -0
  70. package/dist/{pt-br-BxzrK97M.js → pt-br-Y40SBe4b.js} +4 -0
  71. package/dist/{scarcity-CR1Pa81F.js → scarcity-KJNxIMxj.js} +100 -100
  72. package/dist/{serverTotals-DeOPPRj6.js → serverTotals-Cb7pt5Z-.js} +8 -8
  73. package/dist/{showcase-state-options-BGmvUaQ_.js → showcase-state-options-Ce1_tYvH.js} +1 -1
  74. package/dist/{to-event-card-props-DLOxO2oP.js → to-event-card-props-KoNvp_D9.js} +15 -16
  75. package/dist/{tr-DhAMB3UQ.js → tr-2zIJ-vq2.js} +4 -0
  76. package/dist/types/index.d.ts +14 -0
  77. package/dist/{utils-BFaSYuNA.js → utils-VHFV7pBb.js} +69 -69
  78. package/dist/{venue-CBos8YTa.js → venue-BBoZBuhu.js} +1 -0
  79. package/dist/venue-calendar.css +1 -1
  80. package/dist/venue-calendar.es.js +223 -224
  81. package/dist/venue-calendar.iife.js +31 -31
  82. package/dist/venue-calendar.umd.js +49 -49
  83. package/dist/{zh-C2-VLP_R.js → zh-vNYvCXO7.js} +4 -0
  84. package/package.json +220 -220
  85. package/dist/Badge-BsWJrQII.js +0 -108
  86. package/dist/CartView-DTXoQTOC.js +0 -2294
  87. package/dist/Checkout-B8ZkBxF_.js +0 -1023
  88. package/dist/Checkout-QIxYrkeK.js +0 -1832
  89. package/dist/ClockIcon-C7nkbmvv.js +0 -25
  90. package/dist/EventPage-dCTHvk7P.js +0 -1201
  91. package/dist/ScarcityBadge-BXn6HM_K.js +0 -116
  92. package/dist/Spinner-6UtYyNcF.js +0 -16
  93. package/dist/liveAnnouncer-D3xVL7qA.js +0 -32
  94. package/dist/locales/4.3.56/flow/de.js +0 -1
  95. package/dist/locales/4.3.56/flow/es.js +0 -1
  96. package/dist/locales/4.3.56/flow/fr.js +0 -1
  97. package/dist/locales/4.3.56/flow/id.js +0 -1
  98. package/dist/locales/4.3.56/flow/it.js +0 -1
  99. package/dist/locales/4.3.56/flow/ja.js +0 -1
  100. package/dist/locales/4.3.56/flow/ko.js +0 -1
  101. package/dist/locales/4.3.56/flow/nl.js +0 -1
  102. package/dist/locales/4.3.56/flow/pl.js +0 -1
  103. package/dist/locales/4.3.56/flow/pt-br.js +0 -1
  104. package/dist/locales/4.3.56/flow/tr.js +0 -1
  105. package/dist/locales/4.3.56/flow/zh.js +0 -1
  106. package/dist/order-totals-5X0jD77w.js +0 -151
  107. package/dist/promo-BNwWtZjP.js +0 -37
  108. /package/dist/locales/{4.3.56 → 4.3.58}/main/de.js +0 -0
  109. /package/dist/locales/{4.3.56 → 4.3.58}/main/es.js +0 -0
  110. /package/dist/locales/{4.3.56 → 4.3.58}/main/fr.js +0 -0
  111. /package/dist/locales/{4.3.56 → 4.3.58}/main/id.js +0 -0
  112. /package/dist/locales/{4.3.56 → 4.3.58}/main/it.js +0 -0
  113. /package/dist/locales/{4.3.56 → 4.3.58}/main/ja.js +0 -0
  114. /package/dist/locales/{4.3.56 → 4.3.58}/main/ko.js +0 -0
  115. /package/dist/locales/{4.3.56 → 4.3.58}/main/nl.js +0 -0
  116. /package/dist/locales/{4.3.56 → 4.3.58}/main/pl.js +0 -0
  117. /package/dist/locales/{4.3.56 → 4.3.58}/main/pt-br.js +0 -0
  118. /package/dist/locales/{4.3.56 → 4.3.58}/main/tr.js +0 -0
  119. /package/dist/locales/{4.3.56 → 4.3.58}/main/zh.js +0 -0
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./rolldown-runtime-DtPi1Y-2.js";
2
- import { S as t, d as n, f as r, l as i } from "./defaultLabels-BaVkGLw4.js";
3
- import { R as a } from "./orders--luy9Lyn.js";
2
+ import { C as t, f as n, p as r, u as i } from "./defaultLabels-CqkC-rOG.js";
3
+ import { z as a } from "./orders-DlyjunUM.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);
@@ -55,6 +55,9 @@ var e = {
55
55
  addOnCollectInPerson: "recoger en persona",
56
56
  addOnNeedsTicket: "Añade primero una entrada",
57
57
  addOnPerTicketLimit: "máx. {count} por entrada",
58
+ addOnsCheckoutTitle: "Añade algo a tu pedido",
59
+ addOnsCheckoutFailed: "No se pudo añadir: inténtalo de nuevo",
60
+ addOnsCheckoutUpdating: "Actualizando tu pedido…",
58
61
  subtotal: "Subtotal",
59
62
  serviceFees: "Cargos por servicio",
60
63
  taxes: "Impuestos",
@@ -98,6 +101,7 @@ var e = {
98
101
  lastNameRequired: "El apellido es obligatorio",
99
102
  emailRequired: "El correo electrónico es obligatorio",
100
103
  phoneRequired: "El teléfono es obligatorio",
104
+ questionAnswerRequired: "La respuesta es obligatoria",
101
105
  emailInvalid: "Ingresa una dirección de correo electrónico válida",
102
106
  emailInvalidShort: "Ingresa un correo electrónico válido",
103
107
  cardNumberRequired: "El número de tarjeta es obligatorio",
@@ -1,4 +1,4 @@
1
- import { b as e } from "./defaultLabels-BaVkGLw4.js";
1
+ import { x as e } from "./defaultLabels-CqkC-rOG.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,8 +1,8 @@
1
- import { c as e, d as t, i as n, s as r, u as i } from "./scarcity-CR1Pa81F.js";
2
- import { S as a } from "./defaultLabels-BaVkGLw4.js";
3
- import { t as o } from "./imageUrl-Bata3II2.js";
4
- import { F as s, I as c, L as l, M as u, R as d } from "./api-BsBSvoNj.js";
5
- import { t as f } from "./event-xgg-eiTq.js";
1
+ import { c as e, d as t, i as n, s as r, u as i } from "./scarcity-KJNxIMxj.js";
2
+ import { C as a } from "./defaultLabels-CqkC-rOG.js";
3
+ import { I as o, L as s, N as c, R as l, z as u } from "./api-Br260RVo.js";
4
+ import { t as d } from "./imageUrl-Bata3II2.js";
5
+ import { t as f } from "./event-DaWMe2IV.js";
6
6
  //#region src/lib/constants/colors.ts
7
7
  var p = {
8
8
  primary: "#0284fe",
@@ -114,7 +114,7 @@ var p = {
114
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"/>
115
115
  </svg>`);
116
116
  function v(e) {
117
- return o(e, { placeholder: _ });
117
+ return d(e, { placeholder: _ });
118
118
  }
119
119
  var y = /* @__PURE__ */ new Map(), b = 64;
120
120
  function x(e, t, n) {
@@ -188,10 +188,10 @@ function E(e, t = { mode: T.DETAIL }) {
188
188
  return n === T.BROWSE ? D(e, r, s, i) : O(e, r, s, i, o);
189
189
  }
190
190
  function D(e, t, r, i) {
191
- let a = t.startDateTime ? n(t.startDateTime, i) : "", c;
191
+ let a = t.startDateTime ? n(t.startDateTime, i) : "", s;
192
192
  if (typeof t.ticketsRemaining == "number" && typeof t.ticketsTotal == "number") {
193
193
  let e = t.ticketsRemaining, n = t.ticketsTotal;
194
- c = {
194
+ s = {
195
195
  totalRemaining: e,
196
196
  totalCapacity: n,
197
197
  isSoldOut: n > 0 && e <= 0
@@ -201,11 +201,11 @@ function D(e, t, r, i) {
201
201
  excludeDoorOnly: !0,
202
202
  publicOnly: !0
203
203
  });
204
- c = s(t);
204
+ s = o(t);
205
205
  }
206
206
  return {
207
207
  ...r,
208
- image: o(e, { placeholder: "" }),
208
+ image: d(e, { placeholder: "" }),
209
209
  date: a || t.date || "",
210
210
  status: t.status || "On Sale",
211
211
  timeline: C(t, i),
@@ -213,10 +213,10 @@ function D(e, t, r, i) {
213
213
  description: t.description || t.eventSummary || "",
214
214
  venueId: t.venueId,
215
215
  eventSeriesId: t.eventSeriesId || null,
216
- ticketsRemaining: c.totalRemaining,
217
- ticketsTotal: c.totalCapacity,
218
- isSoldOut: c.isSoldOut,
219
- hasPurchasableHiddenTickets: u(e),
216
+ ticketsRemaining: s.totalRemaining,
217
+ ticketsTotal: s.totalCapacity,
218
+ isSoldOut: s.isSoldOut,
219
+ hasPurchasableHiddenTickets: c(e),
220
220
  stageId: t.stageId ?? null,
221
221
  eventCategoryTypes: t.eventCategoryTypes ?? null,
222
222
  ageRestriction: t.ageRestriction ?? null,
@@ -232,11 +232,11 @@ function D(e, t, r, i) {
232
232
  function O(e, t, n, r, i) {
233
233
  let a = (e.availableTickets || []).map((e) => ({
234
234
  ...e,
235
- status: c(e)
235
+ status: s(e)
236
236
  })), o = l(a, {
237
237
  excludeDoorOnly: !1,
238
238
  publicOnly: !0
239
- }), s = w(t.startDateTime, r);
239
+ }), d = w(t.startDateTime, r);
240
240
  return {
241
241
  ...n,
242
242
  date: t.startDateTime ? k(t.startDateTime, r) : null,
@@ -248,16 +248,16 @@ function O(e, t, n, r, i) {
248
248
  hour12: !0
249
249
  }),
250
250
  location: t.venue?.googleLocationNameCache || t.venue?.address || "",
251
- ...s,
251
+ ...d,
252
252
  coverImage: i,
253
- price: d(e.availableTickets),
253
+ price: u(e.availableTickets),
254
254
  status: t.status || "On Sale",
255
255
  eventSummary: t.eventSummary,
256
256
  password: t.password,
257
257
  availableTickets: a,
258
258
  publicTickets: o,
259
259
  ...e.addOns ? { addOns: e.addOns } : {},
260
- hasPurchasableHiddenTickets: u(e),
260
+ hasPurchasableHiddenTickets: c(e),
261
261
  doorsOpenTime: t.doorsOpenTime,
262
262
  venue: t.venue,
263
263
  venueID: t.venueId,
@@ -1,5 +1,5 @@
1
1
  import { g as e } from "./sizing-CFDo_qh_.js";
2
- import { R as t, W as n } from "./orders--luy9Lyn.js";
2
+ import { G as t, z as n } from "./orders-DlyjunUM.js";
3
3
  //#region src/lib/public-calendar-flow/eventStatusStream.ts
4
4
  var r = e("VC"), i = /* @__PURE__ */ new Set([
5
5
  "canceled",
@@ -53,8 +53,8 @@ function s(e, t, n = {}) {
53
53
  };
54
54
  }
55
55
  function c(e, r) {
56
- let o = n(), c = `${t()}/events/${e}/stream`;
57
- return s(o ? `${t()}/events/${e}/stream?widget_key=${encodeURIComponent(o)}` : c, (e) => {
56
+ let o = t(), c = `${n()}/events/${e}/stream`;
57
+ return s(o ? `${n()}/events/${e}/stream?widget_key=${encodeURIComponent(o)}` : c, (e) => {
58
58
  r.onChange?.(e), i.has(e.action) ? r.onUnavailable?.(e.action) : a.has(e.action) && r.onAvailable?.(e.action);
59
59
  }, {
60
60
  keylessUrl: c,
@@ -62,8 +62,8 @@ function c(e, r) {
62
62
  });
63
63
  }
64
64
  function l(e, r) {
65
- let i = n(), a = `${t()}/venues/${e}/stream`;
66
- return s(i ? `${t()}/venues/${e}/stream?widget_key=${encodeURIComponent(i)}` : a, (e) => {
65
+ let i = t(), a = `${n()}/venues/${e}/stream`;
66
+ return s(i ? `${n()}/venues/${e}/stream?widget_key=${encodeURIComponent(i)}` : a, (e) => {
67
67
  let t = e.eventId ?? (e.entityType === "event" ? e.entityId : void 0);
68
68
  t && r.onEventChange?.(t, e);
69
69
  }, {
@@ -55,6 +55,9 @@ var e = {
55
55
  addOnCollectInPerson: "à retirer sur place",
56
56
  addOnNeedsTicket: "Ajoutez d'abord un billet",
57
57
  addOnPerTicketLimit: "max. {count} par billet",
58
+ addOnsCheckoutTitle: "Ajoutez à votre commande",
59
+ addOnsCheckoutFailed: "Impossible de l’ajouter — veuillez réessayer",
60
+ addOnsCheckoutUpdating: "Mise à jour de votre commande…",
58
61
  subtotal: "Sous-total",
59
62
  serviceFees: "Frais de service",
60
63
  taxes: "Taxes",
@@ -98,6 +101,7 @@ var e = {
98
101
  lastNameRequired: "Le nom est requis",
99
102
  emailRequired: "L'e-mail est requis",
100
103
  phoneRequired: "Le numéro de téléphone est requis",
104
+ questionAnswerRequired: "Une réponse est requise",
101
105
  emailInvalid: "Entrez une adresse e-mail valide",
102
106
  emailInvalidShort: "Entrez un e-mail valide",
103
107
  cardNumberRequired: "Le numéro de carte est requis",
@@ -1,6 +1,6 @@
1
1
  import { p as e } from "./sizing-CFDo_qh_.js";
2
- import { K as t } from "./scarcity-CR1Pa81F.js";
3
- import { B as n } from "./defaultLabels-BaVkGLw4.js";
2
+ import { K as t } from "./scarcity-KJNxIMxj.js";
3
+ import { V as n } from "./defaultLabels-CqkC-rOG.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,5 +1,5 @@
1
- import { t as e } from "./defaultLabels-BaVkGLw4.js";
2
- import { l as t } from "./orders--luy9Lyn.js";
1
+ import { t as e } from "./defaultLabels-CqkC-rOG.js";
2
+ import { u as t } from "./orders-DlyjunUM.js";
3
3
  //#endregion
4
4
  //#region src/lib/i18n/index.js
5
5
  var n = t({
@@ -1,10 +1,10 @@
1
- import { E as e, W as t, g as n, m as r, n as i, p as a, t as o, x as s } from "./scarcity-CR1Pa81F.js";
2
- import { C as c, b as l, d as u, h as d, l as f, u as p, x as m, z as h } from "./defaultLabels-BaVkGLw4.js";
1
+ import { E as e, W as t, g as n, m as r, n as i, p as a, t as o, x as s } from "./scarcity-KJNxIMxj.js";
2
+ import { B as c, S as l, d as u, f as d, g as f, u as p, w as m, x as h } from "./defaultLabels-CqkC-rOG.js";
3
3
  import { r as g } from "./Button-AZ8OLQqj.js";
4
- import { l as _ } from "./orders--luy9Lyn.js";
5
- import { t as v } from "./Text-CqjLjIF8.js";
6
- import { N as y, P as b } from "./api-BsBSvoNj.js";
7
- import { n as x } from "./constants-CJyMUKEX.js";
4
+ import { u as _ } from "./orders-DlyjunUM.js";
5
+ import { F as v, P as y } from "./api-Br260RVo.js";
6
+ import { t as b } from "./Text-CqjLjIF8.js";
7
+ import { n as x } from "./constants-DWS8C09a.js";
8
8
  import "svelte/internal/disclose-version";
9
9
  import * as S from "svelte/internal/client";
10
10
  //#region src/lib/api/cta.ts
@@ -20,24 +20,24 @@ function C(e, t, n = {}) {
20
20
  disabled: !0,
21
21
  reason: "postponed"
22
22
  };
23
- let s = l(e.endDateTime || e.startDateTime);
24
- if (s && d(s, o) < 0) return {
23
+ let s = h(e.endDateTime || e.startDateTime);
24
+ if (s && f(s, o) < 0) return {
25
25
  text: "Sales ended",
26
26
  disabled: !0,
27
27
  reason: "event_past"
28
28
  };
29
- let u = (e?.salesStatus || "").trim().toLowerCase(), f = u === "not_started";
30
- if (u === "paused") return {
29
+ let c = (e?.salesStatus || "").trim().toLowerCase(), l = c === "not_started";
30
+ if (c === "paused") return {
31
31
  text: "Sales paused",
32
32
  disabled: !0,
33
33
  reason: "sales_paused"
34
34
  };
35
- if (u === "ended") return {
35
+ if (c === "ended") return {
36
36
  text: "Sales ended",
37
37
  disabled: !0,
38
38
  reason: "sales_ended"
39
39
  };
40
- let p = e?.hasPurchasableHiddenTickets === !0 || Array.isArray(t) && t.some(y), m = () => p ? {
40
+ let u = e?.hasPurchasableHiddenTickets === !0 || Array.isArray(t) && t.some(y), d = () => u ? {
41
41
  text: i ? "Reserve a spot" : "Get tickets",
42
42
  disabled: !1,
43
43
  reason: "hidden_only"
@@ -50,9 +50,9 @@ function C(e, t, n = {}) {
50
50
  disabled: !0,
51
51
  reason: "sold_out"
52
52
  };
53
- if (u === "sold_out") return m();
54
- let h = (t || []).filter((e) => e.salesChannel !== 2 && !e.isHidden && !(typeof e.visibility == "number" && e.visibility >= b.HIDDEN));
55
- if (h.length === 0) return p ? {
53
+ if (c === "sold_out") return d();
54
+ let p = (t || []).filter((e) => e.salesChannel !== 2 && !e.isHidden && !(typeof e.visibility == "number" && e.visibility >= v.HIDDEN));
55
+ if (p.length === 0) return u ? {
56
56
  text: i ? "Reserve a spot" : "Get tickets",
57
57
  disabled: !1,
58
58
  reason: "hidden_only"
@@ -61,12 +61,12 @@ function C(e, t, n = {}) {
61
61
  disabled: !0,
62
62
  reason: "no_tickets"
63
63
  };
64
- let _ = !1, v = !0, x = !0, S = null;
65
- for (let e of h) {
66
- let t = l(e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart), n = l(e.salesEnd || e.saleEnd || e.onSaleEnd), r = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity, i = e.soldOut || r != null && r <= 0, a = t ? d(t, o) > 0 : !1, s = n ? d(n, o) < 0 : !1;
67
- !i && !a && !s && (_ = !0), i || (v = !1), a || (x = !1), a && t && !i && !s && (!S || d(t, S) < 0) && (S = t);
64
+ let _ = !1, b = !0, x = !0, S = null;
65
+ for (let e of p) {
66
+ let t = h(e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart), n = h(e.salesEnd || e.saleEnd || e.onSaleEnd), r = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity, i = e.soldOut || r != null && r <= 0, a = t ? f(t, o) > 0 : !1, s = n ? f(n, o) < 0 : !1;
67
+ !i && !a && !s && (_ = !0), i || (b = !1), a || (x = !1), a && t && !i && !s && (!S || f(t, S) < 0) && (S = t);
68
68
  }
69
- return f && _ ? p ? {
69
+ return l && _ ? u ? {
70
70
  text: i ? "Reserve a spot" : "Get tickets",
71
71
  disabled: !1,
72
72
  reason: "hidden_only"
@@ -78,15 +78,15 @@ function C(e, t, n = {}) {
78
78
  text: i ? "Reserve a spot" : "Get tickets",
79
79
  disabled: !1,
80
80
  reason: "available"
81
- } : x && S ? p ? {
81
+ } : x && S ? u ? {
82
82
  text: i ? "Reserve a spot" : "Get tickets",
83
83
  disabled: !1,
84
84
  reason: "hidden_only"
85
85
  } : {
86
- text: `On sale ${w(S, d(S, o), [e.timezone, e.timeZone].find((e) => !!e && c(e)))}`,
86
+ text: `On sale ${w(S, f(S, o), [e.timezone, e.timeZone].find((e) => !!e && m(e)))}`,
87
87
  disabled: !0,
88
88
  reason: "coming_soon"
89
- } : v ? m() : p ? {
89
+ } : b ? d() : u ? {
90
90
  text: i ? "Reserve a spot" : "Get tickets",
91
91
  disabled: !1,
92
92
  reason: "hidden_only"
@@ -99,8 +99,8 @@ function C(e, t, n = {}) {
99
99
  function w(e, n, r) {
100
100
  let i = n / 36e5, a = n / 864e5;
101
101
  if (r) {
102
- let t = e.toISOString(), n = m(r, e), o = `${u(t, r)} ${n}`;
103
- return i < 24 ? o : a <= 7 ? `${f(t, r, !0)} ${o}` : `${p(t, r, { includeYear: !1 })} ${o}`;
102
+ let t = e.toISOString(), n = l(r, e), o = `${d(t, r)} ${n}`;
103
+ return i < 24 ? o : a <= 7 ? `${p(t, r, !0)} ${o}` : `${u(t, r, { includeYear: !1 })} ${o}`;
104
104
  }
105
105
  let o = (e) => t(e, {
106
106
  hour: "numeric",
@@ -271,17 +271,17 @@ function J(e, t) {
271
271
  S.push(t, !0);
272
272
  let n = S.prop(t, "labels", 3, x), i = S.prop(t, "mode", 3, "full");
273
273
  function a(e) {
274
- return e == null ? "—" : s(h(e));
274
+ return e == null ? "—" : s(c(e));
275
275
  }
276
276
  function o(e) {
277
277
  return e.lineKey ?? `t:${String(e.ticketId)}`;
278
278
  }
279
- let c = S.derived(() => t.orderTotals.lines.filter((e) => e.kind !== "addon")), l = S.derived(() => t.orderTotals.lines.filter((e) => e.kind === "addon"));
280
- var u = q(), d = S.child(u), f = (e) => {
279
+ let l = S.derived(() => t.orderTotals.lines.filter((e) => e.kind !== "addon")), u = S.derived(() => t.orderTotals.lines.filter((e) => e.kind === "addon"));
280
+ var d = q(), f = S.child(d), p = (e) => {
281
281
  var t = W(), i = S.first_child(t);
282
- S.each(i, 17, () => S.get(c), (e) => o(e), (e, t) => {
282
+ S.each(i, 17, () => S.get(l), (e) => o(e), (e, t) => {
283
283
  var i = H(), a = S.child(i);
284
- v(a, {
284
+ b(a, {
285
285
  size: "sm",
286
286
  children: (e, n) => {
287
287
  S.next();
@@ -291,29 +291,29 @@ function J(e, t) {
291
291
  $$slots: { default: !0 }
292
292
  });
293
293
  var o = S.sibling(a, 2);
294
- v(o, {
294
+ b(o, {
295
295
  size: "sm",
296
296
  children: (e, i) => {
297
- var a = S.comment(), o = S.first_child(a), c = (e) => {
297
+ var a = S.comment(), o = S.first_child(a), l = (e) => {
298
298
  var t = S.text();
299
299
  t.nodeValue = "—", S.append(e, t);
300
- }, l = (e) => {
301
- var n = S.text();
302
- S.template_effect((e) => S.set_text(n, e), [() => s(h(S.get(t).subtotal))]), S.append(e, n);
303
300
  }, u = (e) => {
301
+ var n = S.text();
302
+ S.template_effect((e) => S.set_text(n, e), [() => s(c(S.get(t).subtotal))]), S.append(e, n);
303
+ }, d = (e) => {
304
304
  var i = S.text();
305
305
  S.template_effect((e) => S.set_text(i, e), [() => r(S.get(t).subtotal, n())]), S.append(e, i);
306
306
  };
307
307
  S.if(o, (e) => {
308
- S.get(t).subtotal == null ? e(c) : S.get(t).isDonation ? e(l, 1) : e(u, -1);
308
+ S.get(t).subtotal == null ? e(l) : S.get(t).isDonation ? e(u, 1) : e(d, -1);
309
309
  }), S.append(e, a);
310
310
  },
311
311
  $$slots: { default: !0 }
312
312
  }), S.reset(i), S.append(e, i);
313
313
  });
314
- var a = S.sibling(i, 2), u = (e) => {
314
+ var a = S.sibling(i, 2), d = (e) => {
315
315
  var t = U(), i = S.first_child(t), a = S.child(i);
316
- v(a, {
316
+ b(a, {
317
317
  size: "sm",
318
318
  color: "muted",
319
319
  children: (e, t) => {
@@ -324,9 +324,9 @@ function J(e, t) {
324
324
  $$slots: { default: !0 }
325
325
  }), S.reset(i);
326
326
  var s = S.sibling(i, 2);
327
- S.each(s, 17, () => S.get(l), (e) => o(e), (e, t) => {
327
+ S.each(s, 17, () => S.get(u), (e) => o(e), (e, t) => {
328
328
  var i = H(), a = S.child(i);
329
- v(a, {
329
+ b(a, {
330
330
  size: "sm",
331
331
  children: (e, n) => {
332
332
  S.next();
@@ -336,7 +336,7 @@ function J(e, t) {
336
336
  $$slots: { default: !0 }
337
337
  });
338
338
  var o = S.sibling(a, 2);
339
- v(o, {
339
+ b(o, {
340
340
  size: "sm",
341
341
  children: (e, i) => {
342
342
  var a = S.comment(), o = S.first_child(a), s = (e) => {
@@ -355,16 +355,16 @@ function J(e, t) {
355
355
  }), S.append(e, t);
356
356
  };
357
357
  S.if(a, (e) => {
358
- S.get(l).length > 0 && e(u);
358
+ S.get(u).length > 0 && e(d);
359
359
  }), S.append(e, t);
360
360
  };
361
- S.if(d, (e) => {
362
- i() !== "totals" && e(f);
361
+ S.if(f, (e) => {
362
+ i() !== "totals" && e(p);
363
363
  });
364
- var p = S.sibling(d, 2), m = (e) => {
365
- var r = K(), o = S.first_child(r), c = (e) => {
364
+ var m = S.sibling(f, 2), h = (e) => {
365
+ var r = K(), o = S.first_child(r), l = (e) => {
366
366
  var r = G(), i = S.child(r);
367
- v(i, {
367
+ b(i, {
368
368
  size: "sm",
369
369
  color: "muted",
370
370
  children: (e, t) => {
@@ -375,7 +375,7 @@ function J(e, t) {
375
375
  $$slots: { default: !0 }
376
376
  });
377
377
  var o = S.sibling(i, 2);
378
- v(o, {
378
+ b(o, {
379
379
  size: "sm",
380
380
  color: "muted",
381
381
  children: (e, n) => {
@@ -385,9 +385,9 @@ function J(e, t) {
385
385
  },
386
386
  $$slots: { default: !0 }
387
387
  }), S.reset(r), S.append(e, r);
388
- }, l = (e) => {
388
+ }, u = (e) => {
389
389
  var r = H(), i = S.child(r);
390
- v(i, {
390
+ b(i, {
391
391
  size: "sm",
392
392
  color: "muted",
393
393
  children: (e, t) => {
@@ -398,7 +398,7 @@ function J(e, t) {
398
398
  $$slots: { default: !0 }
399
399
  });
400
400
  var o = S.sibling(i, 2);
401
- v(o, {
401
+ b(o, {
402
402
  size: "sm",
403
403
  color: "muted",
404
404
  children: (e, n) => {
@@ -410,11 +410,11 @@ function J(e, t) {
410
410
  }), S.reset(r), S.append(e, r);
411
411
  };
412
412
  S.if(o, (e) => {
413
- i() === "full" && t.orderTotals.lines.length > 1 ? e(c) : t.orderTotals.lines.length > 1 && e(l, 1);
413
+ i() === "full" && t.orderTotals.lines.length > 1 ? e(l) : t.orderTotals.lines.length > 1 && e(u, 1);
414
414
  });
415
- var u = S.sibling(o, 2), d = (e) => {
415
+ var d = S.sibling(o, 2), f = (e) => {
416
416
  var r = H(), i = S.child(r);
417
- v(i, {
417
+ b(i, {
418
418
  size: "sm",
419
419
  color: "success",
420
420
  children: (e, t) => {
@@ -425,23 +425,23 @@ function J(e, t) {
425
425
  $$slots: { default: !0 }
426
426
  });
427
427
  var a = S.sibling(i, 2);
428
- v(a, {
428
+ b(a, {
429
429
  size: "sm",
430
430
  color: "success",
431
431
  children: (e, n) => {
432
432
  S.next();
433
433
  var r = S.text();
434
- S.template_effect((e) => S.set_text(r, `-${e ?? ""}`), [() => s(h(t.orderTotals.promoDiscount))]), S.append(e, r);
434
+ S.template_effect((e) => S.set_text(r, `-${e ?? ""}`), [() => s(c(t.orderTotals.promoDiscount))]), S.append(e, r);
435
435
  },
436
436
  $$slots: { default: !0 }
437
437
  }), S.reset(r), S.append(e, r);
438
438
  };
439
- S.if(u, (e) => {
440
- t.orderTotals.promoDiscount > 0 && e(d);
439
+ S.if(d, (e) => {
440
+ t.orderTotals.promoDiscount > 0 && e(f);
441
441
  });
442
- var f = S.sibling(u, 2), p = (e) => {
442
+ var p = S.sibling(d, 2), m = (e) => {
443
443
  var r = H(), i = S.child(r);
444
- v(i, {
444
+ b(i, {
445
445
  size: "sm",
446
446
  color: "muted",
447
447
  children: (e, t) => {
@@ -452,7 +452,7 @@ function J(e, t) {
452
452
  $$slots: { default: !0 }
453
453
  });
454
454
  var o = S.sibling(i, 2);
455
- v(o, {
455
+ b(o, {
456
456
  size: "sm",
457
457
  color: "muted",
458
458
  children: (e, n) => {
@@ -463,12 +463,12 @@ function J(e, t) {
463
463
  $$slots: { default: !0 }
464
464
  }), S.reset(r), S.append(e, r);
465
465
  };
466
- S.if(f, (e) => {
467
- (t.orderTotals.fees == null || t.orderTotals.fees > 0) && e(p);
466
+ S.if(p, (e) => {
467
+ (t.orderTotals.fees == null || t.orderTotals.fees > 0) && e(m);
468
468
  });
469
- var m = S.sibling(f, 2), g = (e) => {
469
+ var h = S.sibling(p, 2), g = (e) => {
470
470
  var r = H(), i = S.child(r);
471
- v(i, {
471
+ b(i, {
472
472
  size: "sm",
473
473
  color: "muted",
474
474
  children: (e, t) => {
@@ -479,23 +479,23 @@ function J(e, t) {
479
479
  $$slots: { default: !0 }
480
480
  });
481
481
  var a = S.sibling(i, 2);
482
- v(a, {
482
+ b(a, {
483
483
  size: "sm",
484
484
  color: "muted",
485
485
  children: (e, n) => {
486
486
  S.next();
487
487
  var r = S.text();
488
- S.template_effect((e) => S.set_text(r, e), [() => s(h(t.orderTotals.taxes))]), S.append(e, r);
488
+ S.template_effect((e) => S.set_text(r, e), [() => s(c(t.orderTotals.taxes))]), S.append(e, r);
489
489
  },
490
490
  $$slots: { default: !0 }
491
491
  }), S.reset(r), S.append(e, r);
492
492
  };
493
- S.if(m, (e) => {
493
+ S.if(h, (e) => {
494
494
  t.orderTotals.taxes > 0 && e(g);
495
495
  });
496
- var _ = S.sibling(m, 2), y = (e) => {
496
+ var _ = S.sibling(h, 2), v = (e) => {
497
497
  var r = H(), i = S.child(r);
498
- v(i, {
498
+ b(i, {
499
499
  size: "sm",
500
500
  color: "success",
501
501
  children: (e, t) => {
@@ -506,22 +506,22 @@ function J(e, t) {
506
506
  $$slots: { default: !0 }
507
507
  });
508
508
  var a = S.sibling(i, 2);
509
- v(a, {
509
+ b(a, {
510
510
  size: "sm",
511
511
  color: "success",
512
512
  children: (e, n) => {
513
513
  S.next();
514
514
  var r = S.text();
515
- S.template_effect((e) => S.set_text(r, `-${e ?? ""}`), [() => s(h(t.orderTotals.giftCardAmount))]), S.append(e, r);
515
+ S.template_effect((e) => S.set_text(r, `-${e ?? ""}`), [() => s(c(t.orderTotals.giftCardAmount))]), S.append(e, r);
516
516
  },
517
517
  $$slots: { default: !0 }
518
518
  }), S.reset(r), S.append(e, r);
519
519
  };
520
520
  S.if(_, (e) => {
521
- t.orderTotals.giftCardAmount > 0 && e(y);
521
+ t.orderTotals.giftCardAmount > 0 && e(v);
522
522
  });
523
- var b = S.sibling(_, 2), x = S.child(b);
524
- v(x, {
523
+ var y = S.sibling(_, 2), x = S.child(y);
524
+ b(x, {
525
525
  size: "base",
526
526
  weight: "semibold",
527
527
  children: (e, t) => {
@@ -532,7 +532,7 @@ function J(e, t) {
532
532
  $$slots: { default: !0 }
533
533
  });
534
534
  var C = S.sibling(x, 2);
535
- v(C, {
535
+ b(C, {
536
536
  size: "base",
537
537
  weight: "semibold",
538
538
  children: (e, n) => {
@@ -541,11 +541,11 @@ function J(e, t) {
541
541
  S.template_effect((e) => S.set_text(r, e), [() => a(t.orderTotals.total)]), S.append(e, r);
542
542
  },
543
543
  $$slots: { default: !0 }
544
- }), S.reset(b), S.append(e, r);
544
+ }), S.reset(y), S.append(e, r);
545
545
  };
546
- S.if(p, (e) => {
547
- i() !== "lines" && e(m);
548
- }), S.reset(u), S.template_effect(() => S.set_style(u, `transition-duration: ${R.normal ?? ""}ms;`)), S.append(e, u), S.pop();
546
+ S.if(m, (e) => {
547
+ i() !== "lines" && e(h);
548
+ }), S.reset(d), S.template_effect(() => S.set_style(d, `transition-duration: ${R.normal ?? ""}ms;`)), S.append(e, d), S.pop();
549
549
  }
550
550
  //#endregion
551
551
  //#region src/lib/public-calendar-flow/i18n/index.js
@@ -553,19 +553,19 @@ var Y = _({
553
553
  defaults: x,
554
554
  locales: { en: x },
555
555
  loaders: {
556
- es: () => import("./es-By1tBWcL.js").then((e) => e.es),
557
- fr: () => import("./fr-BF6a7cw7.js").then((e) => e.fr),
558
- "pt-br": () => import("./pt-br-BxzrK97M.js").then((e) => e.pt_br),
559
- pt: () => import("./pt-br-BxzrK97M.js").then((e) => e.pt_br),
560
- de: () => import("./de-CFh1o4IO.js").then((e) => e.de),
561
- ja: () => import("./ja-DOzvvYpK.js").then((e) => e.ja),
562
- zh: () => import("./zh-C2-VLP_R.js").then((e) => e.zh),
563
- ko: () => import("./ko-b-vWxFpt.js").then((e) => e.ko),
564
- it: () => import("./it-CQcRIzL4.js").then((e) => e.it),
565
- nl: () => import("./nl-Dazc9kaV.js").then((e) => e.nl),
566
- tr: () => import("./tr-DhAMB3UQ.js").then((e) => e.tr),
567
- id: () => import("./id-Lo_q281j.js").then((e) => e.id),
568
- pl: () => import("./pl-tSyy-lx_.js").then((e) => e.pl)
556
+ es: () => import("./es-Bd4g_HxR.js").then((e) => e.es),
557
+ fr: () => import("./fr-Blc79wvV.js").then((e) => e.fr),
558
+ "pt-br": () => import("./pt-br-Y40SBe4b.js").then((e) => e.pt_br),
559
+ pt: () => import("./pt-br-Y40SBe4b.js").then((e) => e.pt_br),
560
+ de: () => import("./de-BEfuIgIj.js").then((e) => e.de),
561
+ ja: () => import("./ja-eT4_QPKd.js").then((e) => e.ja),
562
+ zh: () => import("./zh-vNYvCXO7.js").then((e) => e.zh),
563
+ ko: () => import("./ko-B8Fmrldj.js").then((e) => e.ko),
564
+ it: () => import("./it-B4zXRsxu.js").then((e) => e.it),
565
+ nl: () => import("./nl-Dnug8LYt.js").then((e) => e.nl),
566
+ tr: () => import("./tr-2zIJ-vq2.js").then((e) => e.tr),
567
+ id: () => import("./id-DzzsiF4d.js").then((e) => e.id),
568
+ pl: () => import("./pl-C3XxoYWF.js").then((e) => e.pl)
569
569
  }
570
570
  });
571
571
  Y.resolveLocale;
@@ -55,6 +55,9 @@ var e = {
55
55
  addOnCollectInPerson: "ambil langsung di tempat",
56
56
  addOnNeedsTicket: "Tambahkan tiket terlebih dahulu",
57
57
  addOnPerTicketLimit: "maks. {count} per tiket",
58
+ addOnsCheckoutTitle: "Tambahkan ke pesanan Anda",
59
+ addOnsCheckoutFailed: "Tidak dapat ditambahkan — silakan coba lagi",
60
+ addOnsCheckoutUpdating: "Memperbarui pesanan Anda…",
58
61
  subtotal: "Subtotal",
59
62
  serviceFees: "Biaya layanan",
60
63
  taxes: "Pajak",
@@ -98,6 +101,7 @@ var e = {
98
101
  lastNameRequired: "Nama belakang wajib diisi",
99
102
  emailRequired: "Email wajib diisi",
100
103
  phoneRequired: "Nomor telepon wajib diisi",
104
+ questionAnswerRequired: "Jawaban wajib diisi",
101
105
  emailInvalid: "Masukkan alamat email yang valid",
102
106
  emailInvalidShort: "Masukkan email yang valid",
103
107
  cardNumberRequired: "Nomor kartu wajib diisi",
@@ -55,6 +55,9 @@ var e = {
55
55
  addOnCollectInPerson: "da ritirare di persona",
56
56
  addOnNeedsTicket: "Aggiungi prima un biglietto",
57
57
  addOnPerTicketLimit: "max {count} per biglietto",
58
+ addOnsCheckoutTitle: "Aggiungi al tuo ordine",
59
+ addOnsCheckoutFailed: "Non è stato possibile aggiungerlo — riprova",
60
+ addOnsCheckoutUpdating: "Aggiornamento dell’ordine…",
58
61
  subtotal: "Subtotale",
59
62
  serviceFees: "Commissioni di servizio",
60
63
  taxes: "Tasse",
@@ -98,6 +101,7 @@ var e = {
98
101
  lastNameRequired: "Il cognome è obbligatorio",
99
102
  emailRequired: "L'email è obbligatoria",
100
103
  phoneRequired: "Il numero di telefono è obbligatorio",
104
+ questionAnswerRequired: "La risposta è obbligatoria",
101
105
  emailInvalid: "Inserisci un indirizzo email valido",
102
106
  emailInvalidShort: "Inserisci un'email valida",
103
107
  cardNumberRequired: "Il numero di carta è obbligatorio",