@getmicdrop/venue-calendar 4.3.8 → 4.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/dist/{ArrowLeftIcon-DvIbVly-.js → ArrowLeftIcon-BYu_Qbkb.js} +1 -1
  2. package/dist/{Badge-vsC_L__r.js → Badge-DCHGGod2.js} +8 -10
  3. package/dist/{BlockPlaceholder-BMD1gnmE.js → BlockPlaceholder-BoPMt_9Z.js} +2 -2
  4. package/dist/{Button-Cm6xkipe.js → Button-vmWb6wKc.js} +117 -63
  5. package/dist/{Calendar-CPD8dS_i.js → Calendar-D11ctjrD.js} +307 -282
  6. package/dist/{CalendarFoundryView-BY1uJgYA.js → CalendarFoundryView-DKhpjxnV.js} +6510 -6504
  7. package/dist/{CalendarIcon-CCgHZAu4.js → CalendarIcon-C8-UVSje.js} +1 -1
  8. package/dist/{CartView-DVugxQ3D.js → CartView-IqOekmQg.js} +814 -814
  9. package/dist/Checkout-ByQsDGg3.js +1005 -0
  10. package/dist/Checkout-C0lQ0AwV.js +1846 -0
  11. package/dist/{CheckoutTimer-CgGCv_jP.js → CheckoutTimer-B0E9KnHc.js} +15 -15
  12. package/dist/{ChevronDownIcon-gELqaIeP.js → ChevronDownIcon-C1uJ2yvz.js} +1 -1
  13. package/dist/{ClockIcon-C4MxWMqH.js → ClockIcon-Dk9q65sX.js} +1 -1
  14. package/dist/{CloseIcon-D3NjpzeW.js → CloseIcon-CyR73vpD.js} +1 -1
  15. package/dist/{CollectionView-C55yLTPR.js → CollectionView-B-CNyf9Z.js} +17 -17
  16. package/dist/CropImage-4WcoXkHt.js +537 -0
  17. package/dist/{Event-ClxgC-gP.js → Event-B4x0sGkc.js} +1142 -870
  18. package/dist/{EventPage-ziJYmBIZ.js → EventPage--xwhM503.js} +244 -236
  19. package/dist/{Heading-D7TEStkb.js → Heading-Br1Yqnvg.js} +3 -4
  20. package/dist/{Image-CjM21MQP.js → Image-M5RaWbKU.js} +12 -13
  21. package/dist/{Input-CIRGYHTC.js → Input-Bk8lP6TX.js} +53 -53
  22. package/dist/{MailIcon-iy7T12Hz.js → MailIcon-Ic2SruY-.js} +1 -1
  23. package/dist/{Modal-wQSo-C1f.js → Modal-CLeZUJ_i.js} +2 -2
  24. package/dist/ModalFooter-CSoG_uic.js +470 -0
  25. package/dist/ModalHeader-DpKxDJT_.js +18 -0
  26. package/dist/{PasswordInput-Cj8i4djG.js → PasswordInput-BHj_lokg.js} +2 -2
  27. package/dist/RecommendationsRail-8AVZ0aLE.js +445 -0
  28. package/dist/{ScarcityBadge-DbUVeqpx.js → ScarcityBadge-DakRfDx4.js} +19 -19
  29. package/dist/{SeriesPage-doki-1XH.js → SeriesPage-BaOeDNb6.js} +5 -5
  30. package/dist/{Spinner-Dua8H4Z1.js → Spinner-a1KCKWxZ.js} +2 -2
  31. package/dist/{Success-DZOYl6St.js → Success-BtUgc4H7.js} +290 -257
  32. package/dist/{TagIcon-CCyZd0sm.js → TagIcon-BiYfs6T7.js} +1 -1
  33. package/dist/{ViewTicketsEmbed-CF2Aq-qy.js → ViewTicketsEmbed-Lxg7n02-.js} +109 -109
  34. package/dist/{WarningCircleIcon-BuVhRrHd.js → WarningCircleIcon-AuYbQdPU.js} +1 -1
  35. package/dist/{WarningTriIcon-0hefhcdZ.js → WarningTriIcon-BzI-tSDG.js} +1 -1
  36. package/dist/{__SKIP_PATHS__-Dyw31EsB.js → __SKIP_PATHS__-B3OPLTzA.js} +1 -1
  37. package/dist/api/api.cjs +1 -1
  38. package/dist/api/api.mjs +239 -237
  39. package/dist/{api-QG8CoGcM.js → api-C1M2t6HU.js} +114 -112
  40. package/dist/{browser-viCaCwoW.js → browser-DrfMvEfn.js} +7 -7
  41. package/dist/{labels-0dEJldQX.js → constants-YG4UeBdR.js} +17 -4
  42. package/dist/{copyToClipboard-C7KGa7gG.js → copyToClipboard-3SejVveg.js} +1 -1
  43. package/dist/{de-K0-gFyNH.js → de-CzupmMIa.js} +14 -1
  44. package/dist/{defaultLabels-BdLGAc3u.js → defaultLabels-CXCsTwix.js} +331 -356
  45. package/dist/{es-DsZSuXW4.js → es-B-vQxM9Z.js} +14 -1
  46. package/dist/{event-CyPf2sZS.js → event-DAjJ01GM.js} +1 -1
  47. package/dist/{event-transform-DQmD2u_S.js → event-transform-DNqGTQhp.js} +54 -53
  48. package/dist/{eventStatusStream-BFOvtJyO.js → eventStatusStream-CLLN-Rvf.js} +2 -2
  49. package/dist/{fr-BmHldIKE.js → fr-B2g-kG7i.js} +14 -1
  50. package/dist/{href-CbfSre4l.js → href-DuxMJt4c.js} +3 -3
  51. package/dist/{i18n-CSftOFAS.js → i18n-Ct9Bo-Vp.js} +179 -129
  52. package/dist/{i18n-D54CGXK2.js → i18n-KdVjJUV5.js} +2 -2
  53. package/dist/{id-CBHA4B6C.js → id-Dgu5-FC6.js} +14 -1
  54. package/dist/imageOptimizer-Ba8P7ZEJ.js +140 -0
  55. package/dist/{it-CK6ravjO.js → it-C580sMYp.js} +14 -1
  56. package/dist/{ja-COO0Ibrr.js → ja-DLki4zXU.js} +14 -1
  57. package/dist/{ko-D8YqNrZs.js → ko-BUcfb1Gi.js} +14 -1
  58. package/dist/locales/4.3.10/flow/de.js +1 -0
  59. package/dist/locales/4.3.10/flow/es.js +1 -0
  60. package/dist/locales/4.3.10/flow/fr.js +1 -0
  61. package/dist/locales/4.3.10/flow/id.js +1 -0
  62. package/dist/locales/4.3.10/flow/it.js +1 -0
  63. package/dist/locales/4.3.10/flow/ja.js +1 -0
  64. package/dist/locales/4.3.10/flow/ko.js +1 -0
  65. package/dist/locales/4.3.10/flow/nl.js +1 -0
  66. package/dist/locales/4.3.10/flow/pl.js +1 -0
  67. package/dist/locales/4.3.10/flow/pt-br.js +1 -0
  68. package/dist/locales/4.3.10/flow/tr.js +1 -0
  69. package/dist/locales/4.3.10/flow/zh.js +1 -0
  70. package/dist/modalManager.svelte-Cz_6x1Qd.js +37 -0
  71. package/dist/{nl-Bk3DPD7e.js → nl-CivAQA0D.js} +14 -1
  72. package/dist/order-totals-DyVkHVqG.js +151 -0
  73. package/dist/{orders-Bat2EL64.js → orders-rH0WZYOW.js} +18 -18
  74. package/dist/{phoneUtils-Cm9iv40N.js → phoneUtils-BFrVEwkQ.js} +1 -1
  75. package/dist/{pixels-Ha6vOCaS.js → pixels-mdd6C3Bk.js} +3 -3
  76. package/dist/{pl-CPmO94ic.js → pl-C5VwFH2B.js} +14 -1
  77. package/dist/{promo-DWzTN7u9.js → promo-CTRn_F4t.js} +1 -1
  78. package/dist/{pt-br-Ch6NFhW6.js → pt-br-B0w9dhVB.js} +14 -1
  79. package/dist/{constants-q-jR2-bz.js → scarcity-Ccj5RlrR.js} +2 -5
  80. package/dist/{serverTotals-BBlkfqMf.js → serverTotals-Dk3z9sIA.js} +1 -1
  81. package/dist/{showcase-state-options-CxRQ-phi.js → showcase-state-options-8-egiV5-.js} +1 -1
  82. package/dist/{to-event-card-props-BIl0qQs0.js → to-event-card-props-a4k6D100.js} +49 -49
  83. package/dist/{tr-CXnalLJT.js → tr-LGkP5gpA.js} +14 -1
  84. package/dist/{utils-ChgG4jiQ.js → utils-BseYYrbn.js} +82 -78
  85. package/dist/venue-calendar.css +1 -1
  86. package/dist/venue-calendar.es.js +994 -996
  87. package/dist/venue-calendar.iife.js +56 -57
  88. package/dist/venue-calendar.umd.js +51 -52
  89. package/dist/{zh-CM2J1Py4.js → zh-D2ZAdq3T.js} +14 -1
  90. package/package.json +2 -2
  91. package/dist/Checkout-D7KSikhw.js +0 -980
  92. package/dist/Checkout-Ddcw2_8F.js +0 -1846
  93. package/dist/CropImage-CxLcNArr.js +0 -445
  94. package/dist/ModalFooter-DlRXuHQz.js +0 -301
  95. package/dist/imageOptimizer-BwLwBMI6.js +0 -112
  96. package/dist/keyboard-fiZFqeNA.js +0 -29
  97. package/dist/locales/4.3.8/flow/de.js +0 -1
  98. package/dist/locales/4.3.8/flow/es.js +0 -1
  99. package/dist/locales/4.3.8/flow/fr.js +0 -1
  100. package/dist/locales/4.3.8/flow/id.js +0 -1
  101. package/dist/locales/4.3.8/flow/it.js +0 -1
  102. package/dist/locales/4.3.8/flow/ja.js +0 -1
  103. package/dist/locales/4.3.8/flow/ko.js +0 -1
  104. package/dist/locales/4.3.8/flow/nl.js +0 -1
  105. package/dist/locales/4.3.8/flow/pl.js +0 -1
  106. package/dist/locales/4.3.8/flow/pt-br.js +0 -1
  107. package/dist/locales/4.3.8/flow/tr.js +0 -1
  108. package/dist/locales/4.3.8/flow/zh.js +0 -1
  109. package/dist/modalManager.svelte-Dnv5jhxp.js +0 -53
  110. package/dist/order-totals-Ci_p6SG6.js +0 -131
  111. package/dist/portal-DqxEuE-7.js +0 -166
  112. package/dist/shareCopyFeedback.svelte-CW0Yy9Oz.js +0 -330
  113. /package/dist/locales/{4.3.8 → 4.3.10}/main/de.js +0 -0
  114. /package/dist/locales/{4.3.8 → 4.3.10}/main/es.js +0 -0
  115. /package/dist/locales/{4.3.8 → 4.3.10}/main/fr.js +0 -0
  116. /package/dist/locales/{4.3.8 → 4.3.10}/main/id.js +0 -0
  117. /package/dist/locales/{4.3.8 → 4.3.10}/main/it.js +0 -0
  118. /package/dist/locales/{4.3.8 → 4.3.10}/main/ja.js +0 -0
  119. /package/dist/locales/{4.3.8 → 4.3.10}/main/ko.js +0 -0
  120. /package/dist/locales/{4.3.8 → 4.3.10}/main/nl.js +0 -0
  121. /package/dist/locales/{4.3.8 → 4.3.10}/main/pl.js +0 -0
  122. /package/dist/locales/{4.3.8 → 4.3.10}/main/pt-br.js +0 -0
  123. /package/dist/locales/{4.3.8 → 4.3.10}/main/tr.js +0 -0
  124. /package/dist/locales/{4.3.8 → 4.3.10}/main/zh.js +0 -0
@@ -0,0 +1,151 @@
1
+ import { D as e, E as t } from "./scarcity-Ccj5RlrR.js";
2
+ import { I as n, R as r, k as i } from "./defaultLabels-CXCsTwix.js";
3
+ import { n as a } from "./promo-CTRn_F4t.js";
4
+ var o = .029, s = .3;
5
+ function c(e) {
6
+ return e.discountedPrice ?? e.price;
7
+ }
8
+ function l(n, r = {}) {
9
+ if (n <= 0) return 0;
10
+ let i = r.serviceFeePercentage ?? 5, a = (r.serviceFeeCents ?? 150) / 100;
11
+ switch (t(r.serviceFeeChargeType)) {
12
+ case "percentage": return e(i / 100 * n);
13
+ case "fixed": return e(a);
14
+ default: return e(i / 100 * n + a);
15
+ }
16
+ }
17
+ function u(e, t) {
18
+ return (o * (e + t) + s) / .971;
19
+ }
20
+ function d(e = {}) {
21
+ return e.absorbServiceFee === !0;
22
+ }
23
+ function f(t) {
24
+ return e(t.serviceFee + t.cardProcessing);
25
+ }
26
+ function p(t, n = {}) {
27
+ let r = e(t.reduce((e, t) => e + c(t) * t.quantity, 0));
28
+ if (r <= 0 || d(n)) return {
29
+ face: r,
30
+ serviceFee: 0,
31
+ cardProcessing: 0,
32
+ total: r
33
+ };
34
+ let i = t.reduce((e, t) => e + Math.min(l(c(t), n), 10) * t.quantity, 0), a = u(r, i), o = e(a), s = e(i);
35
+ return {
36
+ face: r,
37
+ serviceFee: s,
38
+ cardProcessing: o,
39
+ total: e(r + s + o)
40
+ };
41
+ }
42
+ //#endregion
43
+ //#region src/lib/public-calendar-flow/order-totals.ts
44
+ function m(t, o, s, c, l, u) {
45
+ let d = [], f = 0, p = 0, m = 0, h = !1;
46
+ for (let e of t) {
47
+ let t = o[e.id] ?? 0;
48
+ if (t <= 0) continue;
49
+ let n = e.isDonation || e.ticketType === 2, i = n ? parseFloat(s[e.id]) || 0 : e.price;
50
+ if (i == null || !Number.isFinite(i)) {
51
+ d.push({
52
+ ticketId: r(e.id),
53
+ lineKey: `t:${e.id}`,
54
+ kind: "ticket",
55
+ ticketName: e.name,
56
+ quantity: t,
57
+ unitPrice: null,
58
+ fee: e.fee,
59
+ subtotal: null,
60
+ isDonation: !1
61
+ }), h = !0;
62
+ continue;
63
+ }
64
+ let l = i, u = n ? 0 : e.fee, g = 0;
65
+ if (c.isApplied && c.discountAmount > 0 && !n && a(c.discountTicketIds, e.id)) {
66
+ if (c.discountType === "%") {
67
+ let e = c.discountAmount;
68
+ g = Math.min(l, e / 100 * l);
69
+ } else c.discountType === "$" && (m += l * t);
70
+ }
71
+ let _ = l * t;
72
+ d.push({
73
+ ticketId: r(e.id),
74
+ lineKey: `t:${e.id}`,
75
+ kind: "ticket",
76
+ ticketName: e.name,
77
+ quantity: t,
78
+ unitPrice: l,
79
+ fee: u,
80
+ subtotal: _,
81
+ isDonation: n
82
+ }), f += _, p += g * t;
83
+ }
84
+ for (let t of u ?? []) {
85
+ let a = t.quantity;
86
+ if (a <= 0) continue;
87
+ let o = i(n(t.addOn.priceCents));
88
+ d.push({
89
+ ticketId: r(t.addOn.id),
90
+ lineKey: `a:${t.addOn.id}`,
91
+ kind: "addon",
92
+ ticketName: t.addOn.name,
93
+ quantity: a,
94
+ unitPrice: o,
95
+ fee: 0,
96
+ subtotal: e(o * a),
97
+ isDonation: !1
98
+ }), f += o * a;
99
+ }
100
+ return c.isApplied && c.discountAmount > 0 && c.discountType === "$" && (p = Math.min(c.discountAmount, m)), f = e(f), p = e(p), h ? {
101
+ lines: d,
102
+ subtotal: null,
103
+ fees: null,
104
+ taxes: 0,
105
+ total: null,
106
+ promoDiscount: p,
107
+ giftCardAmount: 0
108
+ } : f === 0 ? {
109
+ lines: d,
110
+ subtotal: 0,
111
+ fees: 0,
112
+ taxes: 0,
113
+ total: 0,
114
+ promoDiscount: p,
115
+ giftCardAmount: 0
116
+ } : {
117
+ lines: d,
118
+ subtotal: f,
119
+ fees: null,
120
+ taxes: 0,
121
+ total: null,
122
+ promoDiscount: p,
123
+ giftCardAmount: 0
124
+ };
125
+ }
126
+ function h(e) {
127
+ return {
128
+ serviceFeePercentage: e.serviceFeePercentage,
129
+ serviceFeeCents: e.serviceFeeCents,
130
+ serviceFeeChargeType: e.serviceFeeChargeType,
131
+ absorbServiceFee: e.absorbServiceFee
132
+ };
133
+ }
134
+ function g(e) {
135
+ return !e.isDonation && e.quantity > 0 && e.unitPrice != null && Number.isFinite(e.unitPrice) && e.unitPrice > 0;
136
+ }
137
+ function _(e, t, n = !1) {
138
+ return !g({
139
+ unitPrice: e,
140
+ quantity: 1,
141
+ isDonation: n
142
+ }) || t.absorbServiceFee === !0 ? 0 : Math.min(l(e, h(t)), 10);
143
+ }
144
+ function v(e, t) {
145
+ return f(p(e.filter(g).map((e) => ({
146
+ price: e.unitPrice,
147
+ quantity: e.quantity
148
+ })), h(t)));
149
+ }
150
+ //#endregion
151
+ export { v as n, _ as r, m as t };
@@ -1,5 +1,5 @@
1
- import { C as e, S as t, x as n } from "./Button-Cm6xkipe.js";
2
- import { I as r, T as i, a, k as o, o as s } from "./defaultLabels-BdLGAc3u.js";
1
+ import { D as e, E as t, O as n } from "./Button-vmWb6wKc.js";
2
+ import { I as r, T as i, a, k as o, o as s } from "./defaultLabels-CXCsTwix.js";
3
3
  import * as c from "svelte/internal/client";
4
4
  //#region node_modules/@getmicdrop/svelte-components/dist/errors/classes/ApiError.js
5
5
  var l = class e extends i {
@@ -59,12 +59,12 @@ function f(e, t, n) {
59
59
  }
60
60
  return d(r, n);
61
61
  }
62
- function ee(e, n, r) {
63
- if (!e) return !1;
62
+ function ee(t, n, r) {
63
+ if (!t) return !1;
64
64
  try {
65
- return e.setItem(n, JSON.stringify(r)), !0;
66
- } catch (e) {
67
- return t.warn(`storage: failed to write "${n}"`, e), !1;
65
+ return t.setItem(n, JSON.stringify(r)), !0;
66
+ } catch (t) {
67
+ return e.warn(`storage: failed to write "${n}"`, t), !1;
68
68
  }
69
69
  }
70
70
  function te(e, t) {
@@ -101,7 +101,7 @@ function ae(e) {
101
101
  }
102
102
  //#endregion
103
103
  //#region src/lib/config.js
104
- var oe = n("VC:config", { enabled: !0 }), v = null;
104
+ var oe = t("VC:config", { enabled: !0 }), v = null;
105
105
  function se(e) {
106
106
  let t = e || null;
107
107
  v && t && t !== v && oe.warn("[VC] setWidgetKey called again with a DIFFERENT key. The widget key is module-global, so every calendar on this page will now use the last one set — any element configured with the previous key will get 403s on its public reads and render empty. Give each element its own widget-key attribute (threaded per-instance) rather than calling setWidgetKey() more than once."), v = t;
@@ -132,7 +132,7 @@ function me() {
132
132
  }
133
133
  //#endregion
134
134
  //#region src/lib/api/client.ts
135
- var b = n("VC"), x = /* @__PURE__ */ new Set();
135
+ var b = t("VC"), x = /* @__PURE__ */ new Set();
136
136
  function he(e) {
137
137
  return x.add(e), () => {
138
138
  x.delete(e);
@@ -491,7 +491,7 @@ function q() {
491
491
  }
492
492
  //#endregion
493
493
  //#region src/lib/tracking/beacon.ts
494
- var Ze = n("tracking"), Qe = /* @__PURE__ */ new Set([
494
+ var Ze = t("tracking"), Qe = /* @__PURE__ */ new Set([
495
495
  "chunk_load_error",
496
496
  "type_error",
497
497
  "reference_error",
@@ -659,10 +659,10 @@ function vt() {
659
659
  function Z() {
660
660
  return typeof navigator > "u" ? null : navigator.language || navigator.userLanguage || null;
661
661
  }
662
- function yt({ defaults: t, locales: n = {}, loaders: r = {} }) {
663
- let i = n.en ?? t, a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
662
+ function yt({ defaults: e, locales: t = {}, loaders: r = {} }) {
663
+ let i = t.en ?? e, a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
664
664
  function s(e) {
665
- return n[e] ? n[e] : a.has(e) ? a.get(e) : null;
665
+ return t[e] ? t[e] : a.has(e) ? a.get(e) : null;
666
666
  }
667
667
  function c(e) {
668
668
  let t = s(e);
@@ -696,9 +696,9 @@ function yt({ defaults: t, locales: n = {}, loaders: r = {} }) {
696
696
  locale: "en"
697
697
  });
698
698
  }
699
- function u(n = void 0, r = {}) {
700
- let { labels: i } = l(n || Z() || "en");
701
- return e(e(t, i), r);
699
+ function u(t = void 0, r = {}) {
700
+ let { labels: i } = l(t || Z() || "en");
701
+ return n(n(e, i), r);
702
702
  }
703
703
  function d(e) {
704
704
  if (!e || typeof e != "string") return Promise.resolve(i);
@@ -708,7 +708,7 @@ function yt({ defaults: t, locales: n = {}, loaders: r = {} }) {
708
708
  return s(n) || r[n] ? c(n) : Promise.resolve(null);
709
709
  }
710
710
  function f() {
711
- return Array.from(/* @__PURE__ */ new Set([...Object.keys(n), ...Object.keys(r)]));
711
+ return Array.from(/* @__PURE__ */ new Set([...Object.keys(t), ...Object.keys(r)]));
712
712
  }
713
713
  return {
714
714
  resolveLocale: l,
@@ -798,7 +798,7 @@ function Q(e) {
798
798
  }
799
799
  //#endregion
800
800
  //#region src/lib/api/orders.ts
801
- var $ = n("VC");
801
+ var $ = t("VC");
802
802
  async function St(e, t, n, r, i) {
803
803
  let a = Q(i);
804
804
  try {
@@ -1,4 +1,4 @@
1
- import { J as e } from "./constants-q-jR2-bz.js";
1
+ import { q as e } from "./scarcity-Ccj5RlrR.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/ExclamationTriangleOutline.svelte
@@ -1,6 +1,6 @@
1
- import { x as e } from "./Button-Cm6xkipe.js";
2
- import { D as t } from "./defaultLabels-BdLGAc3u.js";
3
- import { S as n, T as r, x as i } from "./orders-Bat2EL64.js";
1
+ import { E as e } from "./Button-vmWb6wKc.js";
2
+ import { D as t } from "./defaultLabels-CXCsTwix.js";
3
+ import { S as n, T as r, x as i } from "./orders-rH0WZYOW.js";
4
4
  //#region src/lib/embed-bridge.js
5
5
  var a = e("embed-bridge"), o = "micdrop-calendar", s = Object.freeze({
6
6
  NAVIGATION: "MICDROP_NAVIGATION",
@@ -48,6 +48,13 @@ var e = {
48
48
  cancel: "Anuluj",
49
49
  continue: "Dalej",
50
50
  submit: "Zatwierdź",
51
+ addOns: "Dodatki",
52
+ addOnRedeemBar: "do odbioru w barze",
53
+ addOnRedeemHost: "zgłoś się do obsługi",
54
+ addOnRedeemMerch: "do odbioru przy stoisku",
55
+ addOnCollectInPerson: "do odbioru osobistego",
56
+ addOnNeedsTicket: "Najpierw dodaj bilet",
57
+ addOnPerTicketLimit: "maks. {count} na bilet",
51
58
  subtotal: "Suma częściowa",
52
59
  serviceFees: "Opłaty serwisowe",
53
60
  taxes: "Podatki",
@@ -187,7 +194,13 @@ var e = {
187
194
  queueWaitMinutes: "{n} minut",
188
195
  queueKeepPageOpen: "Nie zamykaj tej strony — Twoje miejsce jest zarezerwowane",
189
196
  queueAdmittedTitle: "Twoja kolej",
190
- queueAdmittedBody: "Teraz Twoja kolej — możesz kupić bilety"
197
+ queueAdmittedBody: "Teraz Twoja kolej — możesz kupić bilety",
198
+ recommendationsHeading: "Więcej w tym miejscu",
199
+ recommendationFromTonightsLineup: "Z dzisiejszego składu",
200
+ recommendationSimilarShow: "Podobne wydarzenie",
201
+ recommendationSameNight: "Ten sam dzień tygodnia",
202
+ recommendationYouMightLike: "To też może Ci się spodobać",
203
+ recommendationFeatured: "Polecane"
191
204
  };
192
205
  //#endregion
193
206
  export { e as pl };
@@ -1,4 +1,4 @@
1
- import { A as e, F as t, M as n, k as r } from "./defaultLabels-BdLGAc3u.js";
1
+ import { A as e, F as t, M as n, k as r } from "./defaultLabels-CXCsTwix.js";
2
2
  //#region src/lib/utils/promo.ts
3
3
  var i = [
4
4
  "percentage",
@@ -48,6 +48,13 @@ var e = {
48
48
  cancel: "Cancelar",
49
49
  continue: "Continuar",
50
50
  submit: "Enviar",
51
+ addOns: "Adicionais",
52
+ addOnRedeemBar: "retirar no bar",
53
+ addOnRedeemHost: "apresente-se na recepção",
54
+ addOnRedeemMerch: "retirar na banca de produtos",
55
+ addOnCollectInPerson: "retirar pessoalmente",
56
+ addOnNeedsTicket: "Adicione um ingresso primeiro",
57
+ addOnPerTicketLimit: "máx. {count} por ingresso",
51
58
  subtotal: "Subtotal",
52
59
  serviceFees: "Taxas de serviço",
53
60
  taxes: "Impostos",
@@ -187,7 +194,13 @@ var e = {
187
194
  queueWaitMinutes: "{n} minutos",
188
195
  queueKeepPageOpen: "Mantenha esta página aberta — seu lugar está guardado",
189
196
  queueAdmittedTitle: "É a sua vez",
190
- queueAdmittedBody: "Chegou a sua vez — agora você pode comprar seus ingressos"
197
+ queueAdmittedBody: "Chegou a sua vez — agora você pode comprar seus ingressos",
198
+ recommendationsHeading: "Mais neste local",
199
+ recommendationFromTonightsLineup: "Do line-up desta noite",
200
+ recommendationSimilarShow: "Show parecido",
201
+ recommendationSameNight: "Mesmo dia da semana",
202
+ recommendationYouMightLike: "Você também pode gostar",
203
+ recommendationFeatured: "Destaque"
191
204
  };
192
205
  //#endregion
193
206
  export { e as pt_br };
@@ -1,4 +1,4 @@
1
- import { C as e, D as t, E as n, L as r, S as i, b as a, h as o, m as s, p as c, r as l, t as u, w as d } from "./defaultLabels-BdLGAc3u.js";
1
+ import { C as e, D as t, E as n, L as r, S as i, b as a, h as o, m as s, p as c, r as l, t as u, w as d } from "./defaultLabels-CXCsTwix.js";
2
2
  import { getContext as f, setContext as p } from "svelte";
3
3
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/iconWeight.js
4
4
  var m = Symbol("mds-icon-weight");
@@ -360,7 +360,4 @@ function be(e, t) {
360
360
  return n <= o && e <= a ? "urgent" : n <= s ? "low" : "plenty";
361
361
  }
362
362
  //#endregion
363
- //#region src/lib/utils/constants.js
364
- var xe = "/placeholder-event.svg";
365
- //#endregion
366
- export { ee as A, D as B, F as C, U as D, z as E, M as F, ne as G, te as H, oe as I, g as J, y as K, j as L, ae as M, k as N, P as O, N as P, w as R, H as S, V as T, C as U, O as V, E as W, de as _, pe as a, I as b, Y as c, ge as d, me as f, q as g, fe as h, Z as i, ie as j, A as k, ve as l, G as m, Q as n, ye as o, he as p, h as q, be as r, _e as s, xe as t, X as u, K as v, se as w, B as x, ce as y, T as z };
363
+ export { ie as A, O as B, se as C, P as D, U as E, oe as F, y as G, C as H, j as I, h as K, w as L, k as M, N, A as O, M as P, T as R, F as S, z as T, E as U, te as V, ne as W, K as _, ye as a, B as b, ve as c, me as d, he as f, de as g, q as h, pe as i, ae as j, ee as k, X as l, fe as m, be as n, _e as o, G as p, g as q, Z as r, Y as s, Q as t, ge as u, ce as v, V as w, H as x, I as y, D as z };
@@ -1,4 +1,4 @@
1
- import { I as e, k as t } from "./defaultLabels-BdLGAc3u.js";
1
+ import { I as e, k as t } from "./defaultLabels-CXCsTwix.js";
2
2
  //#region node_modules/zod/v4/core/core.js
3
3
  var n;
4
4
  function r(e, t, n) {
@@ -1,4 +1,4 @@
1
- import { E as e, n as t } from "./defaultLabels-BdLGAc3u.js";
1
+ import { E as e, n as t } from "./defaultLabels-CXCsTwix.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,7 @@
1
- import { _ as e } from "./Button-Cm6xkipe.js";
2
- import { D as t, b as n, h as r, i, t as a, v as o } from "./defaultLabels-BdLGAc3u.js";
3
- import { a as s, i as c, r as l, u } from "./constants-q-jR2-bz.js";
4
- import { t as d } from "./Badge-vsC_L__r.js";
1
+ import { S as e } from "./Button-vmWb6wKc.js";
2
+ import { i as t, l as n, n as r, r as i } from "./scarcity-Ccj5RlrR.js";
3
+ import { t as a } from "./Badge-DCHGGod2.js";
4
+ import { D as o, b as s, h as c, i as l, t as u, v as d } from "./defaultLabels-CXCsTwix.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as f from "svelte/internal/client";
7
7
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/BlurBackdropImage/BlurBackdropImage.svelte
@@ -146,7 +146,7 @@ function S() {
146
146
  var C = f.from_html("<div class=\"event-card__poster w-full aspect-video bg-muted shrink-0 overflow-hidden svelte-18ndok6\"><!></div>"), w = f.from_html("<span class=\"event-card__badge svelte-18ndok6\"><!></span>"), T = f.from_html("<span> </span>"), E = f.from_html("<div class=\"event-card__pills flex flex-wrap gap-2 relative svelte-18ndok6\"></div>"), D = f.from_html("<p class=\"event-card__description type-body tone-secondary m-0 svelte-18ndok6\"> </p>"), O = f.from_html("<article class=\"event-card relative rounded-lg border bg-card border-border overflow-hidden flex flex-col svelte-18ndok6\"><!> <div class=\"event-card__content flex flex-col flex-1 min-w-0 svelte-18ndok6\"><header class=\"event-card__header\"><h3><!> <a class=\"event-card__title-link svelte-18ndok6\" rel=\"external\"> </a></h3></header> <!> <!> <!></div></article>");
147
147
  function k(t, n) {
148
148
  f.push(n, !0);
149
- let r = f.prop(n, "layout", 3, "vertical"), a = f.prop(n, "density", 3, "standard"), o = f.prop(n, "imageUrl", 3, ""), s = f.prop(n, "placeholderImage", 3, ""), c = f.prop(n, "hidePoster", 3, !1), l = f.prop(n, "dateLabel", 3, ""), u = f.prop(n, "description", 3, ""), p = f.prop(n, "badge", 3, null), m = f.prop(n, "pills", 19, () => []), h = f.prop(n, "pillVariant", 3, "alternative"), _ = f.prop(n, "showDescription", 3, !1), v = f.prop(n, "hideDate", 3, !1), y = f.derived(() => b[a()]), x = `event-card-title-${S()}`, k = f.derived(() => _() && !!u() && (a() === "standard" || a() === "featured")), A = f.derived(() => !v() && a() !== "micro" && !!l());
149
+ let r = f.prop(n, "layout", 3, "vertical"), i = f.prop(n, "density", 3, "standard"), o = f.prop(n, "imageUrl", 3, ""), s = f.prop(n, "placeholderImage", 3, ""), c = f.prop(n, "hidePoster", 3, !1), u = f.prop(n, "dateLabel", 3, ""), d = f.prop(n, "description", 3, ""), p = f.prop(n, "badge", 3, null), m = f.prop(n, "pills", 19, () => []), h = f.prop(n, "pillVariant", 3, "alternative"), _ = f.prop(n, "showDescription", 3, !1), v = f.prop(n, "hideDate", 3, !1), y = f.derived(() => b[i()]), x = `event-card-title-${S()}`, k = f.derived(() => _() && !!d() && (i() === "standard" || i() === "featured")), A = f.derived(() => !v() && i() !== "micro" && !!u());
150
150
  function j(e, t) {
151
151
  t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || n.onpillclick && (t.preventDefault(), t.stopPropagation(), n.onpillclick(e));
152
152
  }
@@ -170,7 +170,7 @@ function k(t, n) {
170
170
  });
171
171
  var I = f.sibling(P, 2), L = f.child(I), R = f.child(L), z = f.child(R), B = (e) => {
172
172
  var t = w(), n = f.child(t);
173
- d(n, {
173
+ a(n, {
174
174
  get variant() {
175
175
  return p().variant;
176
176
  },
@@ -193,7 +193,7 @@ function k(t, n) {
193
193
  var U = f.sibling(L, 2), W = (t) => {
194
194
  var n = T(), r = f.child(n, !0);
195
195
  f.reset(n), f.template_effect(() => {
196
- f.set_class(n, 1, `event-card__date tone-secondary ${e.emphasis ?? ""}`, "svelte-18ndok6"), f.set_text(r, l());
196
+ f.set_class(n, 1, `event-card__date tone-secondary ${e.emphasis ?? ""}`, "svelte-18ndok6"), f.set_text(r, u());
197
197
  }), f.append(t, n);
198
198
  };
199
199
  f.if(U, (e) => {
@@ -203,8 +203,8 @@ function k(t, n) {
203
203
  var t = E();
204
204
  f.each(t, 21, m, f.index, (e, t, n) => {
205
205
  {
206
- let r = f.derived(() => h() === "primary" ? "default" : "alternative"), a = f.derived(() => f.get(t).ariaLabel ?? f.get(t).timeLabel);
207
- i(e, {
206
+ let r = f.derived(() => h() === "primary" ? "default" : "alternative"), i = f.derived(() => f.get(t).ariaLabel ?? f.get(t).timeLabel);
207
+ l(e, {
208
208
  get href() {
209
209
  return f.get(t).href;
210
210
  },
@@ -216,7 +216,7 @@ function k(t, n) {
216
216
  },
217
217
  onclick: (e) => j(n, e),
218
218
  get "aria-label"() {
219
- return f.get(a);
219
+ return f.get(i);
220
220
  },
221
221
  children: (e, n) => {
222
222
  f.next();
@@ -233,12 +233,12 @@ function k(t, n) {
233
233
  });
234
234
  var q = f.sibling(G, 2), J = (e) => {
235
235
  var t = D(), n = f.child(t, !0);
236
- f.reset(t), f.template_effect(() => f.set_text(n, u())), f.append(e, t);
236
+ f.reset(t), f.template_effect(() => f.set_text(n, d())), f.append(e, t);
237
237
  };
238
238
  f.if(q, (e) => {
239
239
  f.get(k) && e(J);
240
240
  }), f.reset(I), f.reset(N), f.template_effect(() => {
241
- f.set_attribute(N, "data-layout", r()), f.set_attribute(N, "data-density", a()), f.set_attribute(N, "data-hide-poster", c()), f.set_attribute(N, "aria-labelledby", x), f.set_class(R, 1, `event-card__title ${e.strong ?? ""} tone-primary m-0`, "svelte-18ndok6"), f.set_attribute(R, "id", x), f.set_attribute(V, "href", n.href), f.set_attribute(V, "aria-label", n.ariaLabel ?? n.title), f.set_text(H, n.title);
241
+ f.set_attribute(N, "data-layout", r()), f.set_attribute(N, "data-density", i()), f.set_attribute(N, "data-hide-poster", c()), f.set_attribute(N, "aria-labelledby", x), f.set_class(R, 1, `event-card__title ${e.strong ?? ""} tone-primary m-0`, "svelte-18ndok6"), f.set_attribute(R, "id", x), f.set_attribute(V, "href", n.href), f.set_attribute(V, "aria-label", n.ariaLabel ?? n.title), f.set_text(H, n.title);
242
242
  }), f.delegated("click", V, M), f.append(t, N), f.pop();
243
243
  }
244
244
  f.delegate(["click"]);
@@ -301,54 +301,54 @@ function I(e) {
301
301
  }
302
302
  function L(e) {
303
303
  if (I(e.status) !== "onsale" || e.ticketsRemaining == null || e.ticketsTotal == null || e.ticketsTotal === 0 || e.ticketsRemaining <= 0) return !1;
304
- let t = l(e.ticketsRemaining, e.ticketsTotal);
304
+ let t = r(e.ticketsRemaining, e.ticketsTotal);
305
305
  return t === "low" || t === "urgent";
306
306
  }
307
- function R(e, i) {
307
+ function R(e, t) {
308
308
  if (!e) return null;
309
- let a = I(e.status ?? "");
310
- for (let o of F) switch (o) {
309
+ let n = I(e.status ?? "");
310
+ for (let r of F) switch (r) {
311
311
  case "cancelled":
312
- if (a === "cancelled" || a === "canceled") return {
313
- text: i?.statusCancelled || "Cancelled",
312
+ if (n === "cancelled" || n === "canceled") return {
313
+ text: t?.statusCancelled || "Cancelled",
314
314
  type: "cancelled"
315
315
  };
316
316
  break;
317
317
  case "postponed":
318
- if (a === "postponed") return {
319
- text: i?.statusPostponed || "Postponed",
318
+ if (n === "postponed") return {
319
+ text: t?.statusPostponed || "Postponed",
320
320
  type: "postponed"
321
321
  };
322
322
  break;
323
323
  case "past":
324
324
  if (e.startDateTime) {
325
- let a = n(e.endDateTime || e.startDateTime);
326
- if (a && r(a, t()) < 0) return {
327
- text: i?.statusPastEvent || "Past event",
325
+ let n = s(e.endDateTime || e.startDateTime);
326
+ if (n && c(n, o()) < 0) return {
327
+ text: t?.statusPastEvent || "Past event",
328
328
  type: "past"
329
329
  };
330
330
  }
331
331
  break;
332
332
  case "sold_out":
333
- if (a === "soldout" || e.ticketsRemaining != null && e.ticketsRemaining <= 0 && e.ticketsTotal != null && e.ticketsTotal > 0) return {
334
- text: i?.statusSoldOut || "Sold out",
333
+ if (n === "soldout" || e.ticketsRemaining != null && e.ticketsRemaining <= 0 && e.ticketsTotal != null && e.ticketsTotal > 0) return {
334
+ text: t?.statusSoldOut || "Sold out",
335
335
  type: "sold_out"
336
336
  };
337
337
  break;
338
338
  case "sales_ended":
339
- if (a === "salesended") return {
340
- text: i?.statusSalesEnded || "Sales ended",
339
+ if (n === "salesended") return {
340
+ text: t?.statusSalesEnded || "Sales ended",
341
341
  type: "sales_ended"
342
342
  };
343
343
  break;
344
344
  case "coming_soon":
345
- if (a === "comingsoon") return {
346
- text: i?.statusComingSoon || "Coming soon",
345
+ if (n === "comingsoon") return {
346
+ text: t?.statusComingSoon || "Coming soon",
347
347
  type: "coming_soon"
348
348
  };
349
349
  break;
350
350
  case "scarcity": if (L(e)) return {
351
- text: i?.statusSellingFast || "Selling fast",
351
+ text: t?.statusSellingFast || "Selling fast",
352
352
  type: "scarcity"
353
353
  };
354
354
  }
@@ -400,11 +400,11 @@ function V(e) {
400
400
  }
401
401
  }
402
402
  function H(e) {
403
- let t = o();
403
+ let n = d();
404
404
  return e.filter((e) => {
405
405
  if (I(e.status ?? "") === "postponed") return !0;
406
- let n = s(t, e.timeZone);
407
- return e.date >= n;
406
+ let r = t(n, e.timeZone);
407
+ return e.date >= r;
408
408
  }).sort((e, t) => e.date.localeCompare(t.date));
409
409
  }
410
410
  //#endregion
@@ -420,29 +420,29 @@ function W(e, t) {
420
420
  variant: "warning"
421
421
  } : null;
422
422
  }
423
- function G(e, t = a, n, r = null) {
424
- let i = e.event, o = e.isSeries ? z(e.instances, t) : R(i, t), s = o && o.type !== "past" ? {
425
- text: o.text,
426
- variant: V(o.type)
423
+ function G(e, t = u, r, a = null) {
424
+ let o = e.event, s = e.isSeries ? z(e.instances, t) : R(o, t), c = s && s.type !== "past" ? {
425
+ text: s.text,
426
+ variant: V(s.type)
427
427
  } : null;
428
- !s && !e.isSeries && (s = W(i, t));
429
- let l = N(i), d = i.startDateTime && r?.date !== !1 ? c(i.startDateTime, i.timeZone, n) : "", f = e.isSeries ? e.instances : i.startDateTime ? [i] : [], p = f.map((e) => {
430
- let r = u(e.startDateTime, e.timeZone, n), a = R(e, t)?.type === "sold_out";
428
+ !c && !e.isSeries && (c = W(o, t));
429
+ let l = N(o), d = o.startDateTime && a?.date !== !1 ? i(o.startDateTime, o.timeZone, r) : "", f = e.isSeries ? e.instances : o.startDateTime ? [o] : [], p = f.map((e) => {
430
+ let i = n(e.startDateTime, e.timeZone, r), a = R(e, t)?.type === "sold_out";
431
431
  return {
432
- timeLabel: r,
432
+ timeLabel: i,
433
433
  href: N(e),
434
- ariaLabel: `${i.name} at ${r}${a ? ", sold out" : ""}`
434
+ ariaLabel: `${o.name} at ${i}${a ? ", sold out" : ""}`
435
435
  };
436
- }), m = [i.name];
437
- return i.startDateTime && m.push(`on ${c(i.startDateTime, i.timeZone, n)}`), e.isSeries ? m.push(`${e.instances.length} showtimes available`) : i.startDateTime && m.push(`at ${u(i.startDateTime, i.timeZone, n)}`), o && m.push(o.text), {
438
- title: i.name,
436
+ }), m = [o.name];
437
+ return o.startDateTime && m.push(`on ${i(o.startDateTime, o.timeZone, r)}`), e.isSeries ? m.push(`${e.instances.length} showtimes available`) : o.startDateTime && m.push(`at ${n(o.startDateTime, o.timeZone, r)}`), s && m.push(s.text), {
438
+ title: o.name,
439
439
  href: l,
440
- imageUrl: i.imageUrl ?? "",
440
+ imageUrl: o.imageUrl ?? "",
441
441
  dateLabel: d,
442
- description: r?.description === !1 ? "" : i.description ?? "",
442
+ description: a?.description === !1 ? "" : o.description ?? "",
443
443
  ariaLabel: m.join(", "),
444
- hidePoster: r?.poster === !1,
445
- badge: s,
444
+ hidePoster: a?.poster === !1,
445
+ badge: c,
446
446
  pills: p,
447
447
  pillEvents: f
448
448
  };
@@ -48,6 +48,13 @@ var e = {
48
48
  cancel: "İptal",
49
49
  continue: "Devam Et",
50
50
  submit: "Gönder",
51
+ addOns: "Ekstralar",
52
+ addOnRedeemBar: "barda teslim alın",
53
+ addOnRedeemHost: "karşılama masasına başvurun",
54
+ addOnRedeemMerch: "ürün standından teslim alın",
55
+ addOnCollectInPerson: "elden teslim alın",
56
+ addOnNeedsTicket: "Önce bir bilet ekleyin",
57
+ addOnPerTicketLimit: "bilet başına en fazla {count}",
51
58
  subtotal: "Ara toplam",
52
59
  serviceFees: "Hizmet bedelleri",
53
60
  taxes: "Vergiler",
@@ -187,7 +194,13 @@ var e = {
187
194
  queueWaitMinutes: "{n} dakika",
188
195
  queueKeepPageOpen: "Bu sayfayı açık tutun — yeriniz korunuyor",
189
196
  queueAdmittedTitle: "Sıra sizde",
190
- queueAdmittedBody: "Sıra sizde — biletlerinizi şimdi alabilirsiniz"
197
+ queueAdmittedBody: "Sıra sizde — biletlerinizi şimdi alabilirsiniz",
198
+ recommendationsHeading: "Bu mekânda daha fazlası",
199
+ recommendationFromTonightsLineup: "Bu geceki kadrodan",
200
+ recommendationSimilarShow: "Benzer gösteri",
201
+ recommendationSameNight: "Haftanın aynı günü",
202
+ recommendationYouMightLike: "Bunu da beğenebilirsiniz",
203
+ recommendationFeatured: "Öne çıkan"
191
204
  };
192
205
  //#endregion
193
206
  export { e as tr };