@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
@@ -55,6 +55,9 @@ var e = {
55
55
  addOnCollectInPerson: "retirar pessoalmente",
56
56
  addOnNeedsTicket: "Adicione um ingresso primeiro",
57
57
  addOnPerTicketLimit: "máx. {count} por ingresso",
58
+ addOnsCheckoutTitle: "Adicione ao seu pedido",
59
+ addOnsCheckoutFailed: "Não foi possível adicionar — tente novamente",
60
+ addOnsCheckoutUpdating: "Atualizando seu pedido…",
58
61
  subtotal: "Subtotal",
59
62
  serviceFees: "Taxas de serviço",
60
63
  taxes: "Impostos",
@@ -98,6 +101,7 @@ var e = {
98
101
  lastNameRequired: "O sobrenome é obrigatório",
99
102
  emailRequired: "O e-mail é obrigatório",
100
103
  phoneRequired: "O telefone é obrigatório",
104
+ questionAnswerRequired: "A resposta é obrigatória",
101
105
  emailInvalid: "Digite um e-mail válido",
102
106
  emailInvalidShort: "E-mail inválido",
103
107
  cardNumberRequired: "O número do cartão é obrigatório",
@@ -1,88 +1,88 @@
1
- import { D as e, E as t, L as n, T as r, b as i, h as a, m as o, p as s, r as c, t as l, w as ee } from "./defaultLabels-BaVkGLw4.js";
2
- import { r as u } from "./Button-AZ8OLQqj.js";
3
- import { getContext as d, setContext as f } from "svelte";
1
+ import { D as e, E as t, O as n, R as r, T as i, g as a, h as o, m as s, r as c, t as l, x as u } from "./defaultLabels-CqkC-rOG.js";
2
+ import { r as d } from "./Button-AZ8OLQqj.js";
3
+ import { getContext as f, setContext as p } from "svelte";
4
4
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/iconWeight.js
5
- var p = Symbol("mds-icon-weight");
6
- function m(e) {
7
- f(p, { get weight() {
5
+ var m = Symbol("mds-icon-weight");
6
+ function h(e) {
7
+ p(m, { get weight() {
8
8
  return e();
9
9
  } });
10
10
  }
11
- function h() {
12
- return d(p);
11
+ function g() {
12
+ return f(m);
13
13
  }
14
14
  //#endregion
15
15
  //#region node_modules/@getmicdrop/svelte-components/dist/datetime/local.js
16
- function g(e) {
16
+ function _(e) {
17
17
  return e < 10 ? `0${e}` : String(e);
18
18
  }
19
- function _(e) {
20
- return `${e.getFullYear()}-${g(e.getMonth() + 1)}-${g(e.getDate())}`;
19
+ function v(e) {
20
+ return `${e.getFullYear()}-${_(e.getMonth() + 1)}-${_(e.getDate())}`;
21
21
  }
22
- function v(e, t, n = "en-US") {
22
+ function y(e, t, n = "en-US") {
23
23
  return new Intl.DateTimeFormat(n, t).format(e);
24
24
  }
25
25
  //#endregion
26
26
  //#region node_modules/@getmicdrop/svelte-components/dist/datetime/calendar.js
27
- function y(e, t, n) {
27
+ function b(e, t, n) {
28
28
  return new Date(e, t, n);
29
29
  }
30
- function b(e) {
30
+ function x(e) {
31
31
  return Date.UTC(e.getFullYear(), e.getMonth(), e.getDate());
32
32
  }
33
- function x(e, n) {
34
- if (typeof e != "number" || !Number.isInteger(e)) throw new r(`${n} must be an integer, got ${JSON.stringify(e)}`, t.INVALID_DATE, { value: e });
33
+ function S(n, r) {
34
+ if (typeof n != "number" || !Number.isInteger(n)) throw new t(`${r} must be an integer, got ${JSON.stringify(n)}`, e.INVALID_DATE, { value: n });
35
35
  }
36
- function S(e) {
37
- return o(e, "toLocalDay(date)"), y(e.getFullYear(), e.getMonth(), e.getDate());
36
+ function C(e) {
37
+ return o(e, "toLocalDay(date)"), b(e.getFullYear(), e.getMonth(), e.getDate());
38
38
  }
39
- function C(e, n, i) {
40
- if (x(e, "localDayFromParts(year)"), x(n, "localDayFromParts(monthIndex)"), x(i, "localDayFromParts(day)"), n < 0 || n > 11) throw new r(`localDayFromParts(monthIndex) must be 0-11 (0 = January), got ${n}`, t.INVALID_DATE, {
41
- year: e,
42
- monthIndex: n,
39
+ function w(n, r, i) {
40
+ if (S(n, "localDayFromParts(year)"), S(r, "localDayFromParts(monthIndex)"), S(i, "localDayFromParts(day)"), r < 0 || r > 11) throw new t(`localDayFromParts(monthIndex) must be 0-11 (0 = January), got ${r}`, e.INVALID_DATE, {
41
+ year: n,
42
+ monthIndex: r,
43
43
  day: i
44
44
  });
45
- let a = y(e, n, i);
46
- if (a.getFullYear() !== e || a.getMonth() !== n || a.getDate() !== i || Number.isNaN(a.getTime())) throw new r(`localDayFromParts: ${e}-${n + 1}-${i} is not a real calendar date`, t.INVALID_DATE, {
47
- year: e,
48
- monthIndex: n,
45
+ let a = b(n, r, i);
46
+ if (a.getFullYear() !== n || a.getMonth() !== r || a.getDate() !== i || Number.isNaN(a.getTime())) throw new t(`localDayFromParts: ${n}-${r + 1}-${i} is not a real calendar date`, e.INVALID_DATE, {
47
+ year: n,
48
+ monthIndex: r,
49
49
  day: i
50
50
  });
51
51
  return a;
52
52
  }
53
- function w(e) {
54
- if (typeof e != "string" || !/^\d{4}-\d{2}-\d{2}$/.test(e)) throw new r(`localDayFromYMD expects a YYYY-MM-DD date, got ${JSON.stringify(e)}`, t.INVALID_DATE, { value: e });
55
- let [n, i, a] = e.split("-").map(Number);
56
- return C(n, i - 1, a);
53
+ function T(n) {
54
+ if (typeof n != "string" || !/^\d{4}-\d{2}-\d{2}$/.test(n)) throw new t(`localDayFromYMD expects a YYYY-MM-DD date, got ${JSON.stringify(n)}`, e.INVALID_DATE, { value: n });
55
+ let [r, i, a] = n.split("-").map(Number);
56
+ return w(r, i - 1, a);
57
57
  }
58
- function T() {
59
- return S(u());
58
+ function E() {
59
+ return C(d());
60
60
  }
61
- function te(e) {
62
- return o(e, "localDayYMD(day)"), n(_(e));
61
+ function D(e) {
62
+ return o(e, "localDayYMD(day)"), r(v(e));
63
63
  }
64
- function E(e) {
64
+ function O(e) {
65
65
  return o(e, "localWeekday(day)"), e.getDay();
66
66
  }
67
- function D(e, t) {
68
- return C(e, t, 1), y(e, t + 1, 0).getDate();
67
+ function k(e, t) {
68
+ return w(e, t, 1), b(e, t + 1, 0).getDate();
69
69
  }
70
- function O(e, t) {
71
- return o(e, "addLocalDays(day)"), x(t, "addLocalDays(n)"), y(e.getFullYear(), e.getMonth(), e.getDate() + t);
70
+ function A(e, t) {
71
+ return o(e, "addLocalDays(day)"), S(t, "addLocalDays(n)"), b(e.getFullYear(), e.getMonth(), e.getDate() + t);
72
72
  }
73
- function ne(e, t) {
74
- o(e, "addLocalMonths(day)"), x(t, "addLocalMonths(n)");
75
- let n = y(e.getFullYear(), e.getMonth() + t, 1), r = n.getFullYear(), i = n.getMonth(), a = y(r, i + 1, 0).getDate();
76
- return y(r, i, Math.min(e.getDate(), a));
73
+ function ee(e, t) {
74
+ o(e, "addLocalMonths(day)"), S(t, "addLocalMonths(n)");
75
+ let n = b(e.getFullYear(), e.getMonth() + t, 1), r = n.getFullYear(), i = n.getMonth(), a = b(r, i + 1, 0).getDate();
76
+ return b(r, i, Math.min(e.getDate(), a));
77
77
  }
78
- function k(e) {
79
- return o(e, "startOfLocalMonth(day)"), y(e.getFullYear(), e.getMonth(), 1);
78
+ function te(e) {
79
+ return o(e, "startOfLocalMonth(day)"), b(e.getFullYear(), e.getMonth(), 1);
80
80
  }
81
- function A(e, t) {
82
- return o(e, "wholeDaysBetween(a)"), o(t, "wholeDaysBetween(b)"), (b(t) - b(e)) / 864e5;
81
+ function ne(e, t) {
82
+ return o(e, "wholeDaysBetween(a)"), o(t, "wholeDaysBetween(b)"), (x(t) - x(e)) / 864e5;
83
83
  }
84
84
  function j(e, t) {
85
- return o(e, "isSameLocalDay(a)"), o(t, "isSameLocalDay(b)"), b(e) === b(t);
85
+ return o(e, "isSameLocalDay(a)"), o(t, "isSameLocalDay(b)"), x(e) === x(t);
86
86
  }
87
87
  function M(e, t) {
88
88
  return a(e, t) < 0;
@@ -91,10 +91,10 @@ function N(e, t) {
91
91
  return a(e, t) > 0;
92
92
  }
93
93
  function re(e) {
94
- return M(e, T());
94
+ return M(e, E());
95
95
  }
96
96
  function ie(e, t, n = {}) {
97
- let { weekStartsOn: r = 0, fillAdjacent: i = !0 } = n, a = C(e, t, 1), o = D(e, t), s = T(), c = [], l = (e, t) => {
97
+ let { weekStartsOn: r = 0, fillAdjacent: i = !0 } = n, a = w(e, t, 1), o = k(e, t), s = E(), c = [], l = (e, t) => {
98
98
  c.push({
99
99
  day: e,
100
100
  inMonth: t,
@@ -102,24 +102,24 @@ function ie(e, t, n = {}) {
102
102
  });
103
103
  };
104
104
  if (i) {
105
- let e = (E(a) - r + 7) % 7;
106
- for (let t = e; t > 0; t--) l(O(a, -t), !1);
105
+ let e = (O(a) - r + 7) % 7;
106
+ for (let t = e; t > 0; t--) l(A(a, -t), !1);
107
107
  }
108
- for (let e = 0; e < o; e++) l(O(a, e), !0);
108
+ for (let e = 0; e < o; e++) l(A(a, e), !0);
109
109
  if (i) {
110
- let e = (7 - c.length % 7) % 7, t = O(a, o - 1);
111
- for (let n = 1; n <= e; n++) l(O(t, n), !1);
110
+ let e = (7 - c.length % 7) % 7, t = A(a, o - 1);
111
+ for (let n = 1; n <= e; n++) l(A(t, n), !1);
112
112
  }
113
113
  return c;
114
114
  }
115
115
  function ae(e, t = {}) {
116
- let { weekStartsOn: n = 0 } = t, r = O(e, -((E(e) - n + 7) % 7));
117
- return Array.from({ length: 7 }, (e, t) => O(r, t));
116
+ let { weekStartsOn: n = 0 } = t, r = A(e, -((O(e) - n + 7) % 7));
117
+ return Array.from({ length: 7 }, (e, t) => A(r, t));
118
118
  }
119
119
  function oe(e, t = {}) {
120
120
  o(e, "isLocalDayDisabled(day)");
121
121
  let { min: n, max: r, disablePast: i = !1, allowedWeekdays: a } = t;
122
- return !!(i && re(e) || n && M(e, n) || r && N(e, r) || a && !a.includes(E(e)));
122
+ return !!(i && re(e) || n && M(e, n) || r && N(e, r) || a && !a.includes(O(e)));
123
123
  }
124
124
  //#endregion
125
125
  //#region node_modules/@getmicdrop/svelte-components/dist/utils/formatters.js
@@ -155,7 +155,7 @@ function I(e) {
155
155
  return Number.isFinite(t) ? (t / 100).toFixed(2) : "";
156
156
  }
157
157
  function L(e) {
158
- return e == null ? null : e instanceof Date ? isNaN(e.getTime()) ? null : e : i(e);
158
+ return e == null ? null : e instanceof Date ? isNaN(e.getTime()) ? null : e : u(e);
159
159
  }
160
160
  function R(e, t) {
161
161
  return new Intl.DateTimeFormat("en-US", {
@@ -164,43 +164,43 @@ function R(e, t) {
164
164
  timeZone: t
165
165
  }).format(e);
166
166
  }
167
- function z(e, n = {}) {
168
- let i = n.timeZone;
169
- if (i !== void 0 && !ee(i)) throw new r(`Invalid timezone: ${i}`, t.INVALID_TIMEZONE, { timezone: i });
170
- let a = L(e);
171
- if (!a) return "";
172
- let o = u(), c = a.getTime() - o.getTime(), l = Math.round(c / 6e4), d = c / 36e5, f = n.locale || "en-US";
173
- if (l > 0 && l < 60) {
174
- let e = Math.max(1, l);
175
- return (e === 1 ? n.inNMinute || "in {n} minute" : n.inNMinutes || "in {n} minutes").replace("{n}", String(e));
167
+ function z(n, r = {}) {
168
+ let a = r.timeZone;
169
+ if (a !== void 0 && !i(a)) throw new t(`Invalid timezone: ${a}`, e.INVALID_TIMEZONE, { timezone: a });
170
+ let o = L(n);
171
+ if (!o) return "";
172
+ let c = d(), l = o.getTime() - c.getTime(), u = Math.round(l / 6e4), f = l / 36e5, p = r.locale || "en-US";
173
+ if (u > 0 && u < 60) {
174
+ let e = Math.max(1, u);
175
+ return (e === 1 ? r.inNMinute || "in {n} minute" : r.inNMinutes || "in {n} minutes").replace("{n}", String(e));
176
176
  }
177
- if (d > 0 && d < 24) {
178
- let e = Math.max(1, Math.round(d));
179
- return (e === 1 ? n.inNHour || "in {n} hour" : n.inNHours || "in {n} hours").replace("{n}", String(e));
177
+ if (f > 0 && f < 24) {
178
+ let e = Math.max(1, Math.round(f));
179
+ return (e === 1 ? r.inNHour || "in {n} hour" : r.inNHours || "in {n} hours").replace("{n}", String(e));
180
180
  }
181
- let p = (e) => {
182
- if (i === void 0) return S(e);
183
- let t = s(e.toISOString(), i);
184
- return t === null ? null : w(t);
185
- }, m = p(a), h = p(o);
186
- if (m && h && j(m, O(h, 1))) {
187
- let e = R(a, i);
188
- return (n.tomorrowAtTime || "tomorrow at {time}").replace("{time}", e);
181
+ let m = (e) => {
182
+ if (a === void 0) return C(e);
183
+ let t = s(e.toISOString(), a);
184
+ return t === null ? null : T(t);
185
+ }, h = m(o), g = m(c);
186
+ if (h && g && j(h, A(g, 1))) {
187
+ let e = R(o, a);
188
+ return (r.tomorrowAtTime || "tomorrow at {time}").replace("{time}", e);
189
189
  }
190
- let g = c / 864e5;
191
- if (g > 0 && g <= 7) {
192
- let e = new Intl.DateTimeFormat(f, {
190
+ let _ = l / 864e5;
191
+ if (_ > 0 && _ <= 7) {
192
+ let e = new Intl.DateTimeFormat(p, {
193
193
  weekday: "long",
194
- timeZone: i
195
- }).format(a), t = R(a, i);
196
- return (n.onDayAtTime || "on {day} at {time}").replace("{day}", e).replace("{time}", t);
194
+ timeZone: a
195
+ }).format(o), t = R(o, a);
196
+ return (r.onDayAtTime || "on {day} at {time}").replace("{day}", e).replace("{time}", t);
197
197
  }
198
- let _ = new Intl.DateTimeFormat(f, {
198
+ let v = new Intl.DateTimeFormat(p, {
199
199
  month: "short",
200
200
  day: "numeric",
201
- timeZone: i
202
- }).format(a);
203
- return (n.onDate || "on {date}").replace("{date}", _);
201
+ timeZone: a
202
+ }).format(o);
203
+ return (r.onDate || "on {date}").replace("{date}", v);
204
204
  }
205
205
  function B(e, t, n = "en-US") {
206
206
  if (e == null) return "";
@@ -263,10 +263,10 @@ function J(e) {
263
263
  let t = new Date(e);
264
264
  return isNaN(t.getTime()) ? null : t;
265
265
  }
266
- function Y(t, n, r, i) {
267
- let a = J(t);
266
+ function Y(e, t, r, i) {
267
+ let a = J(e);
268
268
  if (!a) return "";
269
- let o = c(n) ? n : e;
269
+ let o = c(t) ? t : n;
270
270
  return ue(i || "en-US", {
271
271
  ...r,
272
272
  timeZone: o
@@ -292,19 +292,19 @@ function me(e, t, n, r) {
292
292
  let a = X(t, n, r);
293
293
  return i && a ? `${i} - ${a}` : i;
294
294
  }
295
- function he(t, n, r) {
296
- if (!J(t)) return {
295
+ function he(e, t, r) {
296
+ if (!J(e)) return {
297
297
  day: "",
298
298
  month: "",
299
299
  date: 0,
300
300
  year: 0
301
301
  };
302
- let i = c(n) ? n : e;
302
+ let i = c(t) ? t : n;
303
303
  return {
304
- day: Y(t, i, { weekday: "short" }, r),
305
- month: Y(t, i, { month: "short" }, r),
306
- date: parseInt(Y(t, i, { day: "numeric" }, "en-US"), 10),
307
- year: parseInt(Y(t, i, { year: "numeric" }, "en-US"), 10)
304
+ day: Y(e, i, { weekday: "short" }, r),
305
+ month: Y(e, i, { month: "short" }, r),
306
+ date: parseInt(Y(e, i, { day: "numeric" }, "en-US"), 10),
307
+ year: parseInt(Y(e, i, { year: "numeric" }, "en-US"), 10)
308
308
  };
309
309
  }
310
310
  function Z(e, t, n) {
@@ -352,4 +352,4 @@ function ye(e, t) {
352
352
  return n <= o && e <= a ? "urgent" : n <= s ? "low" : "plenty";
353
353
  }
354
354
  //#endregion
355
- export { ae as A, k as B, V as C, O as D, P as E, j as F, m as G, T as H, C as I, h as K, w as L, N as M, M as N, ne as O, oe as P, te as R, se as S, U as T, A as U, S as V, v as W, ce as _, ve as a, H as b, X as c, he as d, G as f, K as g, de as h, pe as i, D as j, ie as k, ge as l, q as m, ye as n, _e as o, fe as p, Z as r, Y as s, Q as t, me as u, I as v, z as w, F as x, B as y, E as z };
355
+ export { ae as A, te as B, V as C, A as D, P as E, j as F, h as G, E as H, w as I, g as K, T as L, N as M, M as N, ee as O, oe as P, D as R, se as S, U as T, ne as U, C as V, y as W, ce as _, ve as a, H as b, X as c, he as d, G as f, K as g, de as h, pe as i, k as j, ie as k, ge as l, q as m, ye as n, _e as o, fe as p, Z as r, Y as s, Q as t, me as u, I as v, z as w, F as x, B as y, O as z };
@@ -1,4 +1,4 @@
1
- import { I as e, k as t } from "./defaultLabels-BaVkGLw4.js";
1
+ import { A as e, L as t } from "./defaultLabels-CqkC-rOG.js";
2
2
  //#region node_modules/zod/v4/core/core.js
3
3
  var n;
4
4
  function r(e, t, n) {
@@ -686,15 +686,15 @@ var Q = /* @__PURE__ */ Z(/* @__PURE__ */ X(/* @__PURE__ */ J()), /* @__PURE__ *
686
686
  function De(n) {
687
687
  let r = Ee.safeParse(n);
688
688
  if (!r.success) return null;
689
- let i = r.data, a = i.stripe_amount ?? i.amount_total, o = t(e(a));
689
+ let i = r.data, a = i.stripe_amount ?? i.amount_total, o = e(t(a));
690
690
  return {
691
- subtotal: t(e(i.subtotal + i.discount)),
692
- fees: t(e(i.service_fee + i.card_processing + i.venue_kickback)),
693
- cardProcessing: t(e(i.card_processing)),
694
- taxes: t(e(i.tax_amount_exclusive ?? i.tax)),
691
+ subtotal: e(t(i.subtotal + i.discount)),
692
+ fees: e(t(i.service_fee + i.card_processing + i.venue_kickback)),
693
+ cardProcessing: e(t(i.card_processing)),
694
+ taxes: e(t(i.tax_amount_exclusive ?? i.tax)),
695
695
  total: o,
696
- promoDiscount: t(e(i.discount)),
697
- giftCardAmount: t(e(i.gift_card_amount)),
696
+ promoDiscount: e(t(i.discount)),
697
+ giftCardAmount: e(t(i.gift_card_amount)),
698
698
  stripeAmount: o,
699
699
  currency: i.currency ? String(i.currency).toUpperCase() : "USD"
700
700
  };
@@ -1,4 +1,4 @@
1
- import { D as e, n as t } from "./defaultLabels-BaVkGLw4.js";
1
+ import { O as e, n as t } from "./defaultLabels-CqkC-rOG.js";
2
2
  import * as n from "svelte/internal/client";
3
3
  //#region src/lib/public-calendar-flow/mock-data.ts
4
4
  function r(e, t, n = 0) {
@@ -1,7 +1,6 @@
1
1
  import { f as e, p as t } from "./sizing-CFDo_qh_.js";
2
- import { a as n, c as r, i, n as a, r as o } from "./scarcity-CR1Pa81F.js";
3
- import { t as s } from "./Badge-BsWJrQII.js";
4
- import { B as c, b as l, h as u, t as d, v as f } from "./defaultLabels-BaVkGLw4.js";
2
+ import { a as n, c as r, i, n as a, r as o } from "./scarcity-KJNxIMxj.js";
3
+ import { V as s, g as c, i as l, t as u, x as d, y as f } from "./defaultLabels-CqkC-rOG.js";
5
4
  import { r as p, t as m } from "./Button-AZ8OLQqj.js";
6
5
  import "svelte/internal/disclose-version";
7
6
  import * as h from "svelte/internal/client";
@@ -30,7 +29,7 @@ function v() {
30
29
  var y = h.from_html("<div class=\"event-card__poster-fallback svelte-18ndok6\" aria-hidden=\"true\"><span> </span></div>"), b = h.from_html("<div><!></div>"), ee = h.from_html("<span class=\"event-card__badge svelte-18ndok6\"><!></span>"), te = h.from_html("<span> </span>"), ne = h.from_html("<span class=\"event-card__meta-sep svelte-18ndok6\" aria-hidden=\"true\">·</span>"), x = h.from_html("<!> <span class=\"event-card__meta-item svelte-18ndok6\"> </span>", 1), re = h.from_html("<p class=\"event-card__meta tone-secondary m-0 svelte-18ndok6\"></p>"), S = h.from_html("<div class=\"event-card__pills flex flex-wrap gap-2 relative svelte-18ndok6\"></div>"), C = h.from_html("<p class=\"event-card__description type-body tone-secondary m-0 svelte-18ndok6\"> </p>"), w = h.from_html("<article class=\"event-card relative rounded-lg border bg-card border-border overflow-hidden svelte-18ndok6\"><!> <div class=\"event-card__content flex flex-col flex-1 min-w-0 svelte-18ndok6\"><header class=\"event-card__header\"><h3><span class=\"event-card__title-text\"><!> <a class=\"event-card__title-link svelte-18ndok6\" rel=\"external\"> </a></span></h3></header> <!> <!> <!> <!></div></article>");
31
30
  function T(n, r) {
32
31
  h.push(r, !0);
33
- let i = h.prop(r, "layout", 3, "vertical"), a = h.prop(r, "density", 3, "standard"), o = h.prop(r, "imageUrl", 3, ""), l = h.prop(r, "placeholderImage", 3, ""), u = h.prop(r, "hidePoster", 3, !1), d = h.prop(r, "posterFit", 3, "fit"), f = h.prop(r, "posterBackdrop", 3, "blur"), p = h.prop(r, "dateLabel", 3, ""), _ = h.prop(r, "meta", 19, () => []), T = h.prop(r, "description", 3, ""), E = h.prop(r, "badge", 3, null), D = h.prop(r, "pills", 19, () => []), O = h.prop(r, "pillVariant", 3, "alternative"), k = h.prop(r, "showDescription", 3, !1), A = h.prop(r, "hideDate", 3, !1), j = h.derived(() => g[a()]), M = h.derived(() => d() === "fit" && f() === "color"), N = `event-card-title-${v()}`, P = h.derived(() => k() && !!T() && (a() === "standard" || a() === "featured")), F = h.derived(() => !A() && a() !== "micro" && !!p()), I = h.derived(() => _().filter((e) => typeof e == "string" && e.trim() !== "")), L = h.derived(() => a() !== "micro" && h.get(I).length > 0), R = h.derived(() => !o() && !l());
32
+ let i = h.prop(r, "layout", 3, "vertical"), a = h.prop(r, "density", 3, "standard"), o = h.prop(r, "imageUrl", 3, ""), c = h.prop(r, "placeholderImage", 3, ""), u = h.prop(r, "hidePoster", 3, !1), d = h.prop(r, "posterFit", 3, "fit"), f = h.prop(r, "posterBackdrop", 3, "blur"), p = h.prop(r, "dateLabel", 3, ""), _ = h.prop(r, "meta", 19, () => []), T = h.prop(r, "description", 3, ""), E = h.prop(r, "badge", 3, null), D = h.prop(r, "pills", 19, () => []), O = h.prop(r, "pillVariant", 3, "alternative"), k = h.prop(r, "showDescription", 3, !1), A = h.prop(r, "hideDate", 3, !1), j = h.derived(() => g[a()]), M = h.derived(() => d() === "fit" && f() === "color"), N = `event-card-title-${v()}`, P = h.derived(() => k() && !!T() && (a() === "standard" || a() === "featured")), F = h.derived(() => !A() && a() !== "micro" && !!p()), I = h.derived(() => _().filter((e) => typeof e == "string" && e.trim() !== "")), L = h.derived(() => a() !== "micro" && h.get(I).length > 0), R = h.derived(() => !o() && !c());
34
33
  function z(e, t) {
35
34
  t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || r.onpillclick && (t.preventDefault(), t.stopPropagation(), r.onpillclick(e));
36
35
  }
@@ -38,18 +37,18 @@ function T(n, r) {
38
37
  e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || r.onclick && (e.preventDefault(), r.onclick());
39
38
  }
40
39
  var V = w(), H = h.child(V), U = (n) => {
41
- var i = b(), a = h.child(i), s = (n) => {
40
+ var i = b(), a = h.child(i), l = (n) => {
42
41
  var i = y(), a = h.child(i), o = h.child(a, !0);
43
42
  h.reset(a), h.reset(i), h.template_effect(() => {
44
43
  h.set_class(a, 1, `event-card__poster-fallback-text ${t.strong ?? ""} ${e.tight ?? ""}`, "svelte-18ndok6"), h.set_text(o, r.title);
45
44
  }), h.append(n, i);
46
45
  }, u = (e) => {
47
- c(e, {
46
+ s(e, {
48
47
  get src() {
49
48
  return o();
50
49
  },
51
50
  get fallback() {
52
- return l();
51
+ return c();
53
52
  },
54
53
  fit: "contain",
55
54
  branded: !1,
@@ -58,12 +57,12 @@ function T(n, r) {
58
57
  }, f = (e) => {
59
58
  {
60
59
  let t = h.derived(() => d() === "fill" ? "cover" : "blur-backdrop");
61
- c(e, {
60
+ s(e, {
62
61
  get src() {
63
62
  return o();
64
63
  },
65
64
  get fallback() {
66
- return l();
65
+ return c();
67
66
  },
68
67
  get fit() {
69
68
  return h.get(t);
@@ -74,7 +73,7 @@ function T(n, r) {
74
73
  }
75
74
  };
76
75
  h.if(a, (e) => {
77
- h.get(R) ? e(s) : h.get(M) ? e(u, 1) : e(f, -1);
76
+ h.get(R) ? e(l) : h.get(M) ? e(u, 1) : e(f, -1);
78
77
  }), h.reset(i), h.template_effect(() => {
79
78
  h.set_class(i, 1, `event-card__poster aspect-video shrink-0 overflow-hidden ${h.get(M) ? "bg-bg-primary" : "bg-muted"}`, "svelte-18ndok6"), h.set_attribute(i, "data-poster-backdrop", h.get(M) ? "color" : void 0);
80
79
  }), h.append(n, i);
@@ -84,7 +83,7 @@ function T(n, r) {
84
83
  });
85
84
  var W = h.sibling(H, 2), G = h.child(W), K = h.child(G), q = h.child(K), J = h.child(q), Y = (e) => {
86
85
  var t = ee(), n = h.child(t);
87
- s(n, {
86
+ l(n, {
88
87
  get variant() {
89
88
  return E().variant;
90
89
  },
@@ -253,8 +252,8 @@ function P(e, t) {
253
252
  break;
254
253
  case "past":
255
254
  if (e.startDateTime) {
256
- let n = l(e.endDateTime || e.startDateTime);
257
- if (n && u(n, p()) < 0) return {
255
+ let n = d(e.endDateTime || e.startDateTime);
256
+ if (n && c(n, p()) < 0) return {
258
257
  text: t?.statusPastEvent || "Past event",
259
258
  type: "past"
260
259
  };
@@ -363,13 +362,13 @@ function V(e, t, i, a) {
363
362
  }
364
363
  return e.displayAgeRestriction && o.push(e.ageRestriction && e.ageRestriction > 0 ? (i.agesPlus || "Ages {age}+").replace("{age}", String(e.ageRestriction)) : i.allAges || "All ages"), o;
365
364
  }
366
- function H(e, t = d, n, i = null, a = {}) {
365
+ function H(e, t = u, n, i = null, a = {}) {
367
366
  let s = e.event, c = e.isSeries ? F(e.instances, t) : P(s, t), l = c && c.type !== "past" ? {
368
367
  text: c.text,
369
368
  variant: L(c.type)
370
369
  } : null;
371
370
  !l && !e.isSeries && (l = B(s, t));
372
- let u = k(s), f = s.startDateTime && i?.date !== !1 ? o(s.startDateTime, s.timeZone, n) : "", p = e.isSeries ? e.instances : s.startDateTime ? [s] : [], m = p.map((e) => {
371
+ let d = k(s), f = s.startDateTime && i?.date !== !1 ? o(s.startDateTime, s.timeZone, n) : "", p = e.isSeries ? e.instances : s.startDateTime ? [s] : [], m = p.map((e) => {
373
372
  let i = r(e.startDateTime, e.timeZone, n), a = P(e, t)?.type === "sold_out";
374
373
  return {
375
374
  timeLabel: i,
@@ -381,7 +380,7 @@ function H(e, t = d, n, i = null, a = {}) {
381
380
  let g = V(s, e.isSeries, t, n);
382
381
  return h.push(...g), {
383
382
  title: s.name,
384
- href: u,
383
+ href: d,
385
384
  imageUrl: s.imageUrl ?? "",
386
385
  dateLabel: f,
387
386
  description: i?.description === !1 ? "" : s.description ?? "",
@@ -55,6 +55,9 @@ var e = {
55
55
  addOnCollectInPerson: "elden teslim alın",
56
56
  addOnNeedsTicket: "Önce bir bilet ekleyin",
57
57
  addOnPerTicketLimit: "bilet başına en fazla {count}",
58
+ addOnsCheckoutTitle: "Siparişine ekle",
59
+ addOnsCheckoutFailed: "Eklenemedi — lütfen tekrar deneyin",
60
+ addOnsCheckoutUpdating: "Siparişin güncelleniyor…",
58
61
  subtotal: "Ara toplam",
59
62
  serviceFees: "Hizmet bedelleri",
60
63
  taxes: "Vergiler",
@@ -98,6 +101,7 @@ var e = {
98
101
  lastNameRequired: "Soyad alanı zorunludur",
99
102
  emailRequired: "E-posta alanı zorunludur",
100
103
  phoneRequired: "Telefon numarası zorunludur",
104
+ questionAnswerRequired: "Bir yanıt zorunludur",
101
105
  emailInvalid: "Geçerli bir e-posta adresi girin",
102
106
  emailInvalidShort: "Geçerli bir e-posta girin",
103
107
  cardNumberRequired: "Kart numarası zorunludur",
@@ -550,6 +550,20 @@ export const SeriesHomeView: any;
550
550
  */
551
551
  export const CollectionView: any;
552
552
 
553
+ /**
554
+ * ViewTicketsEmbed — the buyer's post-purchase ticket view (dice-swipe), as a
555
+ * LOADER: calling it resolves to the component, which is what keeps the view in
556
+ * its own chunk. Takes `{ orderUUID, locale?, labels? }` and self-fetches the
557
+ * order.
558
+ *
559
+ * This file is hand-written, so an export missing from it is invisible until a
560
+ * consumer imports it: the runtime barrel has exported this one since v3.6.0,
561
+ * and micdrop-frontend's apex `/tickets/<orderUUID>` route (MIC-3859) could not
562
+ * type-check against the published package without a local module augmentation.
563
+ * That augmentation can be deleted once a release carrying this line is pinned.
564
+ */
565
+ export const ViewTicketsEmbed: any;
566
+
553
567
  // ============================================================================
554
568
  // Default Export
555
569
  // ============================================================================