@getmicdrop/venue-calendar 4.3.138 → 4.3.139

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 (211) hide show
  1. package/README.md +895 -840
  2. package/dist/AddOnCard-Dlt_4lut.js +475 -0
  3. package/dist/{Button-B_gbGd63.js → Button-Ch5dRGa2.js} +1 -1
  4. package/dist/{Button-B1cBhdtC.js → Button-DpeQSoQ7.js} +58 -45
  5. package/dist/Calendar-CNWS2xiR.js +396 -0
  6. package/dist/CalendarFoundryView-B5puOxH5.js +16431 -0
  7. package/dist/{ChartBlock-DcsCXfX8.js → ChartBlock-vihMKVdW.js} +2 -2
  8. package/dist/Checkout-B2FvX6Af.js +1070 -0
  9. package/dist/Checkout-y0x-v-XH.js +1995 -0
  10. package/dist/{ChevronDownOutline-kFgRY2cg.js → CloseOutline-Bh9UO94v.js} +2 -2
  11. package/dist/{CollectionView-C0vDg5oJ.js → CollectionView-CcLlV-1f.js} +22 -24
  12. package/dist/{CropImage-BWYeQXXA.js → CropImage-DqLAGy5s.js} +6 -6
  13. package/dist/{DatePicker-v-4ijT8N.js → DatePicker-D20Te0JY.js} +222 -215
  14. package/dist/{Event-vlu8IAxh.js → Event-DoIU0o6C.js} +799 -796
  15. package/dist/{EventCard-puoh3xag.js → EventCard-B8MYLyIW.js} +1 -1
  16. package/dist/EventPage-DM4tjCcL.js +1298 -0
  17. package/dist/{FilterChipGroup-DUGvOaRI.js → FilterChipGroup-BCjc7-pE.js} +1 -1
  18. package/dist/{ImageUploader-CKrf5amy.js → ImageUploader-BzxKIyLN.js} +324 -375
  19. package/dist/{Input-BQk4itex.js → Input-Bp5EgI1F.js} +5 -3
  20. package/dist/Modal-C6EXgkuF.js +159 -0
  21. package/dist/{ModalFooter-gFaDKsfj.js → ModalFooter-C4TD3-zP.js} +1 -1
  22. package/dist/{ModalTitle-CS5AGwrU.js → ModalTitle-BP4Bm3sA.js} +1 -1
  23. package/dist/{PasswordInput-C65GqxdF.js → PasswordInput-BlzSrkPs.js} +1 -1
  24. package/dist/{PhoneInput-Dj1I3bEn.js → PhoneInput-_ByjRGQ0.js} +2 -2
  25. package/dist/{RecommendationsRail-DC5qX1ei.js → RecommendationsRail-BDNnbL-p.js} +53 -50
  26. package/dist/{Search-BE64QcmK.js → Search-vhGEpog6.js} +1 -1
  27. package/dist/SeriesPage-YE8czX1M.js +32 -0
  28. package/dist/{SkeletonLoader-DfW0N9R3.js → SkeletonLoader-Beh2izdy.js} +1 -1
  29. package/dist/Spinner-DgubkWKo.js +88 -0
  30. package/dist/{Success-D3CrUeka.js → Success-CN5HB8gN.js} +164 -166
  31. package/dist/{TimePicker-HYzPI_Dc.js → TimePicker-BDuy9Ap8.js} +1 -1
  32. package/dist/{ViewTicketsEmbed-DzUCgtA3.js → ViewTicketsEmbed-DvoMIiKJ.js} +9 -10
  33. package/dist/{address-field-BwGHcMKY.js → address-field-DOalICpt.js} +2 -2
  34. package/dist/{allowlist-Bt1BHhNd.js → allowlist-DinkGF2L.js} +77 -68
  35. package/dist/api/api.cjs +1 -1
  36. package/dist/api/api.mjs +320 -297
  37. package/dist/api/client.d.ts +14 -53
  38. package/dist/api/events.d.ts +15 -1
  39. package/dist/api/result.d.ts +9 -0
  40. package/dist/{api-CRHFSJDI.js → api-CsAx0rmV.js} +150 -145
  41. package/dist/{avatar-picker-field-CSF5okeM.js → avatar-picker-field-CV4vRxTB.js} +14 -14
  42. package/dist/{checkoutState-BDNjJRMG.js → checkoutState-DSx7g3Vy.js} +12 -21
  43. package/dist/{client-BIN_q-of.js → client-SaDt6559.js} +18 -12
  44. package/dist/{constants-DrFV2oht.js → constants-sRRJh0u-.js} +1 -1
  45. package/dist/{date-field-3tgOYbzF.js → date-field-DylJx0y7.js} +9 -9
  46. package/dist/{date-range-field-D0Aq9me9.js → date-range-field-BOV1V2ab.js} +7 -7
  47. package/dist/{de-CUrE_4a4.js → de-CzkX3H3B.js} +1 -0
  48. package/dist/{defaultLabels-CybwJCNn.js → defaultLabels-DLK6rq4q.js} +1 -0
  49. package/dist/{defaults-B5wyre5O.js → defaults-Cbuin1WS.js} +2 -3
  50. package/dist/{es-B2-z2Kft.js → es-BOLzv8eD.js} +1 -0
  51. package/dist/{event-CEg17hts.js → event-ClsLWtR0.js} +1 -1
  52. package/dist/{event-transform-DqFigNQg.js → event-transform-Cs63X0hI.js} +42 -42
  53. package/dist/{eventStatusStream-DK5fWCTB.js → eventStatusStream-BAh5nJP2.js} +1 -1
  54. package/dist/{field-rules-CKFFB16Q.js → field-rules-Yb2JY1qT.js} +1 -1
  55. package/dist/{file-field-2mPz4Da-.js → file-field-Dwo80kDg.js} +4 -4
  56. package/dist/format-CehusdDg.js +1718 -0
  57. package/dist/{formatters-CzKNRUwz.js → formatters-DUWbI_Eg.js} +25 -35
  58. package/dist/{fr-CiePVIlj.js → fr-DYTIBBXo.js} +1 -0
  59. package/dist/{href-DpbLXQ4c.js → href-BXhNawil.js} +1 -1
  60. package/dist/i18n-BNF6a-QA.js +720 -0
  61. package/dist/i18n-F_QOaHVh.js +26 -0
  62. package/dist/{id-Ttw95_7t.js → id-CIyIkGhH.js} +1 -0
  63. package/dist/{image-field-B8x0WQ2j.js → image-field-DeLzsJlz.js} +2 -2
  64. package/dist/{it-CBbXcFY1.js → it-CF4Db_nK.js} +1 -0
  65. package/dist/{ja-B2Tag7J3.js → ja-5-7WNHD1.js} +1 -0
  66. package/dist/{ko-CcTn4lAi.js → ko-huIzHR3W.js} +1 -0
  67. package/dist/locales/4.3.139/main/de.js +1 -0
  68. package/dist/locales/4.3.139/main/es.js +1 -0
  69. package/dist/locales/4.3.139/main/fr.js +1 -0
  70. package/dist/locales/4.3.139/main/id.js +1 -0
  71. package/dist/locales/4.3.139/main/it.js +1 -0
  72. package/dist/locales/4.3.139/main/ja.js +1 -0
  73. package/dist/locales/4.3.139/main/ko.js +1 -0
  74. package/dist/locales/4.3.139/main/nl.js +1 -0
  75. package/dist/locales/4.3.139/main/pl.js +1 -0
  76. package/dist/locales/4.3.139/main/pt-br.js +1 -0
  77. package/dist/locales/4.3.139/main/tr.js +1 -0
  78. package/dist/locales/4.3.139/main/zh.js +1 -0
  79. package/dist/look-island.svelte-D87MvHNy.js +1296 -0
  80. package/dist/{look-names-JI6GE-Zj.js → look-names-B9MywEzX.js} +68 -58
  81. package/dist/looks/4.3.139/AddOnCard-CKdkGcHH.js +1 -0
  82. package/dist/looks/4.3.139/Checkout-D7CaFYTE.js +1 -0
  83. package/dist/looks/4.3.139/Checkout-DuP46PMi.js +3 -0
  84. package/dist/looks/4.3.139/CollectionView-CWm57JCx.js +1 -0
  85. package/dist/looks/4.3.139/Event-ePupb4qY.js +8 -0
  86. package/dist/looks/4.3.139/EventPage-CgexXhEU.js +1 -0
  87. package/dist/looks/4.3.139/RecommendationsRail-Bz-Mj_r4.js +2 -0
  88. package/dist/looks/4.3.139/SeriesPage-DI2uFF0Y.js +1 -0
  89. package/dist/looks/4.3.139/Success-BkMzmgmc.js +3 -0
  90. package/dist/looks/4.3.139/ViewTicketsEmbed-CbEJwRry.js +1 -0
  91. package/dist/looks/4.3.139/_vc-foundry-calendar-stub-BVbAFEK2.js +1 -0
  92. package/dist/looks/4.3.139/buyerEmail-CqCYa9UL.js +1 -0
  93. package/dist/looks/4.3.139/constants-CU_ZgyQu.js +3 -0
  94. package/dist/looks/4.3.139/defaults-B46SFFK4.js +2 -0
  95. package/dist/looks/4.3.139/dist-BWGSqtWN.js +1 -0
  96. package/dist/looks/4.3.139/eventStatusStream-CW5lJwsa.js +10 -0
  97. package/dist/looks/4.3.139/first-core-DrYq9wBy.js +151 -0
  98. package/dist/looks/4.3.139/first-mount.svelte-DFSLaJWm.js +1 -0
  99. package/dist/looks/4.3.139/first-seo-DvHuCXT6.js +1 -0
  100. package/dist/looks/4.3.139/first.js +1 -0
  101. package/dist/looks/4.3.139/full-widget-DDBk3i4U.js +2 -0
  102. package/dist/looks/4.3.139/gate-password-cache-D4Zls6QM.js +1 -0
  103. package/dist/looks/4.3.139/i18n-DRaFNYsQ.js +1 -0
  104. package/dist/looks/4.3.139/listing-BSaRTkxW.js +1 -0
  105. package/dist/looks/4.3.139/loaders.runtime-BNG8O6-A.js +1 -0
  106. package/dist/looks/4.3.139/looks.js +1 -0
  107. package/dist/looks/4.3.139/modalManager.svelte-CqQWYz9Y.js +1 -0
  108. package/dist/looks/4.3.139/rolldown-runtime-4tVxZq34.js +1 -0
  109. package/dist/looks/4.3.139/serverTotals-Bu1fAPLB.js +1 -0
  110. package/dist/looks/4.3.139/showcase-state-options-CpCMAKVD.js +1 -0
  111. package/dist/looks/4.3.139/utils-pGRhH4A-.js +1 -0
  112. package/dist/{media-field-HieD0ye0.js → media-field-PW8ye6EL.js} +2 -2
  113. package/dist/modalManager.svelte-BHE0t9q3.js +79 -0
  114. package/dist/{multiselect-field-CJ4lUJyS.js → multiselect-field-CmocFs5f.js} +2 -2
  115. package/dist/navigation-B8rkS2On.js +348 -0
  116. package/dist/{nl-DeIqgjIs.js → nl-B1dv1lqk.js} +1 -0
  117. package/dist/{number-field-D5GkkGLB.js → number-field-CUD936Ai.js} +3 -3
  118. package/dist/{numeric-filter-field-CRWZFu_P.js → numeric-filter-field-BmgSYhOt.js} +3 -3
  119. package/dist/{password-field-DdOHXEOo.js → password-field-BfvcZUi_.js} +1 -1
  120. package/dist/{phone-field-BaYmp56f.js → phone-field-DO0U_YZ6.js} +17 -18
  121. package/dist/{pixels-BXXzmoCb.js → pixels-ipedGW6i.js} +7 -7
  122. package/dist/{pl-Bm2FcD5y.js → pl-DLlM_IPo.js} +1 -0
  123. package/dist/{pt-br-XS1Lsa6z.js → pt-br-8V3mf7pu.js} +1 -0
  124. package/dist/repeating-field-BwtJ6VS1.js +488 -0
  125. package/dist/{richtext-field-KmUytgBW.js → richtext-field-DvLCxPvq.js} +2 -2
  126. package/dist/{datetime-BlEsN_-8.js → scarcity-DfQvyhJP.js} +74 -85
  127. package/dist/{searchable-select-field-DettZRav.js → searchable-select-field-zuIqfoQM.js} +17 -17
  128. package/dist/{select-field-Wc4gAtou.js → select-field-DNNN-a9q.js} +6 -6
  129. package/dist/seo/HostSeoController.d.ts +13 -0
  130. package/dist/seo/seo.cjs +1 -1
  131. package/dist/seo/seo.mjs +18 -11
  132. package/dist/{serverTotals-COsx7Mc5.js → serverTotals-BprgDwOw.js} +1 -1
  133. package/dist/{showcase-state-options-CHGUaZtl.js → showcase-state-options-bKRf48yz.js} +2 -2
  134. package/dist/{time-field-CnxZcziR.js → time-field-DmPCoppV.js} +2 -2
  135. package/dist/{to-event-card-props-C9v9dspT.js → to-event-card-props-KVcCJ2JF.js} +34 -34
  136. package/dist/{tr-zKAbMfgi.js → tr-DiUEV65j.js} +1 -0
  137. package/dist/{tree-picker-field-aqux58EQ.js → tree-picker-field-BJwSFAqm.js} +8 -8
  138. package/dist/types/index.d.ts +3 -0
  139. package/dist/{utils-AIszIHUb.js → utils-x8YXRKvr.js} +12 -12
  140. package/dist/venue-BjLCg-PW.js +38 -0
  141. package/dist/venue-calendar.css +1 -1
  142. package/dist/venue-calendar.es.js +1655 -1539
  143. package/dist/venue-calendar.iife.js +1 -54
  144. package/dist/venue-calendar.umd.js +69 -63
  145. package/dist/{widget-key-context-BrWW0fyM.js → widget-key-context-dHM9FiuJ.js} +8 -37
  146. package/dist/{zh-DHfgJplH.js → zh-Cej2EPQt.js} +1 -0
  147. package/package.json +2 -2
  148. package/src/lib/constants/scarcity.ts +1 -2
  149. package/dist/AddOnCard-DEAC26HA.js +0 -348
  150. package/dist/BlockPlaceholder-BKfoE795.js +0 -59
  151. package/dist/Calendar-9xskvKUf.js +0 -395
  152. package/dist/CalendarFoundryView-DbxZNmY7.js +0 -16356
  153. package/dist/CartView-DMINN6bY.js +0 -2200
  154. package/dist/Checkbox-sObkYRdj.js +0 -60
  155. package/dist/Checkout-H9RGBU9D.js +0 -1071
  156. package/dist/Checkout-VnochAZE.js +0 -1967
  157. package/dist/CheckoutTimer-mjcYR3XU.js +0 -42
  158. package/dist/EventPage-DycxjX5Z.js +0 -1301
  159. package/dist/Modal-DOpDiAwN.js +0 -102
  160. package/dist/ScarcityBadge-BAaV2CIY.js +0 -141
  161. package/dist/SeriesPage-Cx89s2B6.js +0 -34
  162. package/dist/Skeleton-B6qB_udJ.js +0 -31
  163. package/dist/Spinner-Bj4dr9kO.js +0 -19
  164. package/dist/Textarea-BDcuBI13.js +0 -72
  165. package/dist/__SKIP_NAVIGATION__-Znm_vYcG.js +0 -5
  166. package/dist/__SKIP_PATHS__-Bzzrca_a.js +0 -5
  167. package/dist/calendar-Cdu8fCIt.js +0 -111
  168. package/dist/cta-qbcIt5Gh.js +0 -116
  169. package/dist/format-CypC4vWs.js +0 -1587
  170. package/dist/heic-to-BoLfsr3l.js +0 -70
  171. package/dist/i18n-B_TWnExv.js +0 -495
  172. package/dist/i18n-CSaUFnlD.js +0 -26
  173. package/dist/instant-BkZCSGDm.js +0 -162
  174. package/dist/labels-D8LN8lY7.js +0 -227
  175. package/dist/locales/4.3.138/main/de.js +0 -1
  176. package/dist/locales/4.3.138/main/es.js +0 -1
  177. package/dist/locales/4.3.138/main/fr.js +0 -1
  178. package/dist/locales/4.3.138/main/id.js +0 -1
  179. package/dist/locales/4.3.138/main/it.js +0 -1
  180. package/dist/locales/4.3.138/main/ja.js +0 -1
  181. package/dist/locales/4.3.138/main/ko.js +0 -1
  182. package/dist/locales/4.3.138/main/nl.js +0 -1
  183. package/dist/locales/4.3.138/main/pl.js +0 -1
  184. package/dist/locales/4.3.138/main/pt-br.js +0 -1
  185. package/dist/locales/4.3.138/main/tr.js +0 -1
  186. package/dist/locales/4.3.138/main/zh.js +0 -1
  187. package/dist/look-island.svelte-B7UH_QVv.js +0 -1270
  188. package/dist/looks/4.3.138/looks.js +0 -248
  189. package/dist/modalManager.svelte-BvyrTI6p.js +0 -51
  190. package/dist/navigation-DpqP-ahJ.js +0 -241
  191. package/dist/repeating-field-B4OhsaGB.js +0 -488
  192. package/dist/venue-DLkL7xdj.js +0 -12
  193. /package/dist/checkout-libs/{4.3.138 → 4.3.139}/phone.js +0 -0
  194. /package/dist/checkout-libs/{4.3.138 → 4.3.139}/qrcode.js +0 -0
  195. /package/dist/locales/{4.3.138 → 4.3.139}/flow/de.js +0 -0
  196. /package/dist/locales/{4.3.138 → 4.3.139}/flow/es.js +0 -0
  197. /package/dist/locales/{4.3.138 → 4.3.139}/flow/fr.js +0 -0
  198. /package/dist/locales/{4.3.138 → 4.3.139}/flow/id.js +0 -0
  199. /package/dist/locales/{4.3.138 → 4.3.139}/flow/it.js +0 -0
  200. /package/dist/locales/{4.3.138 → 4.3.139}/flow/ja.js +0 -0
  201. /package/dist/locales/{4.3.138 → 4.3.139}/flow/ko.js +0 -0
  202. /package/dist/locales/{4.3.138 → 4.3.139}/flow/nl.js +0 -0
  203. /package/dist/locales/{4.3.138 → 4.3.139}/flow/pl.js +0 -0
  204. /package/dist/locales/{4.3.138 → 4.3.139}/flow/pt-br.js +0 -0
  205. /package/dist/locales/{4.3.138 → 4.3.139}/flow/tr.js +0 -0
  206. /package/dist/locales/{4.3.138 → 4.3.139}/flow/zh.js +0 -0
  207. /package/dist/looks/{4.3.138 → 4.3.139}/micdrop-wordmark-BYMG6vLR.svg +0 -0
  208. /package/dist/looks/{4.3.138 → 4.3.139}/microphone-Ccv4r-kd.webp +0 -0
  209. /package/dist/looks/{4.3.138 → 4.3.139}/superuser-CZF6a5gO.webp +0 -0
  210. /package/dist/looks/{4.3.138 → 4.3.139}/treasury-DUE7lZzT.webp +0 -0
  211. /package/dist/looks/{4.3.138 → 4.3.139}/user-image-yuS4errP.svg +0 -0
@@ -1,7 +1,7 @@
1
- import { a as e, n as t, s as n } from "./instant-BkZCSGDm.js";
1
+ import { A as e, O as t, T as n } from "./format-CehusdDg.js";
2
2
  import { n as r } from "./AppError-t1LnBwj_.js";
3
- import { t as i } from "./defaultLabels-CybwJCNn.js";
4
- import { _ as a, i as o, n as s, s as c, t as l, v as u } from "./datetime-BlEsN_-8.js";
3
+ import { t as i } from "./defaultLabels-DLK6rq4q.js";
4
+ import { g as a, i as o, l as s, n as c, o as l, r as u } from "./scarcity-DfQvyhJP.js";
5
5
  // node_modules/@getmicdrop/svelte-components/dist/richtext/index.js
6
6
  var d = /<\/(?:p|div|h[1-6]|li|ul|ol|blockquote|tr)>/gi, f = /<br\s*\/?>/gi, p = /<[^>]*>/g, m = {
7
7
  "&amp;": "&",
@@ -72,12 +72,12 @@ function S(e) {
72
72
  }
73
73
  function C(e, t) {
74
74
  if (e == null || t == null || t === 0 || e <= 0) return !1;
75
- let n = a(e, t);
75
+ let n = c(e, t);
76
76
  return n === "low" || n === "urgent";
77
77
  }
78
- function w(e, i) {
79
- if (!e) return null;
80
- let a = x(e.status ?? "");
78
+ function w(t, i) {
79
+ if (!t) return null;
80
+ let a = x(t.status ?? "");
81
81
  for (let o of b) switch (o) {
82
82
  case "cancelled":
83
83
  if (a === "cancelled" || a === "canceled") return {
@@ -92,16 +92,16 @@ function w(e, i) {
92
92
  };
93
93
  break;
94
94
  case "past":
95
- if (e.startDateTime) {
96
- let a = n(e.endDateTime || e.startDateTime);
97
- if (a && t(a, r()) < 0) return {
95
+ if (t.startDateTime) {
96
+ let a = e(t.endDateTime || t.startDateTime);
97
+ if (a && n(a, r()) < 0) return {
98
98
  text: i?.statusPastEvent || "Ended",
99
99
  type: "past"
100
100
  };
101
101
  }
102
102
  break;
103
103
  case "sold_out":
104
- if (a === "soldout" || e.ticketsRemaining != null && e.ticketsRemaining <= 0 && e.ticketsTotal != null && e.ticketsTotal > 0) return {
104
+ if (a === "soldout" || t.ticketsRemaining != null && t.ticketsRemaining <= 0 && t.ticketsTotal != null && t.ticketsTotal > 0) return {
105
105
  text: i?.statusSoldOut || "Sold out",
106
106
  type: "sold_out"
107
107
  };
@@ -118,7 +118,7 @@ function w(e, i) {
118
118
  type: "coming_soon"
119
119
  };
120
120
  break;
121
- case "scarcity": if (S(e)) return {
121
+ case "scarcity": if (S(t)) return {
122
122
  text: i?.statusSellingFast || "Selling fast",
123
123
  type: "scarcity"
124
124
  };
@@ -170,11 +170,11 @@ function D(e) {
170
170
  default: return "neutral";
171
171
  }
172
172
  }
173
- function O(t) {
174
- let n = e();
175
- return t.filter((e) => {
173
+ function O(e) {
174
+ let n = t();
175
+ return e.filter((e) => {
176
176
  if (x(e.status ?? "") === "postponed") return !0;
177
- let t = s(n, e.timeZone);
177
+ let t = o(n, e.timeZone);
178
178
  return e.date >= t;
179
179
  }).sort((e, t) => e.date.localeCompare(t.date));
180
180
  }
@@ -192,7 +192,7 @@ function j(e) {
192
192
  }
193
193
  // src/lib/browse-widgets/to-event-card-props.ts
194
194
  function M(e, t) {
195
- let n = e.ticketsRemaining ?? 0, r = e.ticketsTotal ?? 0, i = a(n, r);
195
+ let n = e.ticketsRemaining ?? 0, r = e.ticketsTotal ?? 0, i = c(n, r);
196
196
  return i === "sold-out" ? {
197
197
  text: t.statusSoldOut || "Sold out",
198
198
  variant: "neutral"
@@ -204,38 +204,38 @@ function M(e, t) {
204
204
  function N(e, t, n) {
205
205
  let r = [];
206
206
  if (e.stageName && r.push(e.stageName), e.displayDoorsTime === !0 && e.doorsOpenTime) {
207
- let i = o(e.doorsOpenTime, e.timeZone, n);
207
+ let i = l(e.doorsOpenTime, e.timeZone, n);
208
208
  i && r.push((t.doorsAtTime || "Doors {time}").replace("{time}", i));
209
209
  }
210
210
  return e.displayAgeRestriction && r.push(e.ageRestriction && e.ageRestriction > 0 ? (t.agesPlus || "Ages {age}+").replace("{age}", String(e.ageRestriction)) : t.allAges || "All ages"), r;
211
211
  }
212
- function P(e, t = i, n, r = null, a = {}) {
213
- let o = e.event, s = e.isSeries ? T(e.instances, t) : w(o, t), d = s && s.type !== "past" ? {
214
- text: s.text,
215
- variant: D(s.type)
212
+ function P(e, t = i, n, r = null, o = {}) {
213
+ let c = e.event, l = e.isSeries ? T(e.instances, t) : w(c, t), d = l && l.type !== "past" ? {
214
+ text: l.text,
215
+ variant: D(l.type)
216
216
  } : null;
217
- d && s?.type === "coming_soon" && o.onSaleAt && (d.text = (t.onSaleOn || "On sale {date}").replace("{date}", l(o.onSaleAt, o.timeZone, n))), !d && !e.isSeries && (d = M(o, t));
218
- let f = u(o), p = o.startDateTime && r?.date !== !1 ? l(o.startDateTime, o.timeZone, n) : "", m = e.isSeries ? e.instances : o.startDateTime ? [o] : [], h = m.map((e) => {
219
- let r = c(e.startDateTime, e.timeZone, n), i = w(e, t)?.type === "sold_out";
217
+ d && l?.type === "coming_soon" && c.onSaleAt && (d.text = (t.onSaleOn || "On sale {date}").replace("{date}", u(c.onSaleAt, c.timeZone, n))), !d && !e.isSeries && (d = M(c, t));
218
+ let f = a(c), p = c.startDateTime && r?.date !== !1 ? u(c.startDateTime, c.timeZone, n) : "", m = e.isSeries ? e.instances : c.startDateTime ? [c] : [], h = m.map((e) => {
219
+ let r = s(e.startDateTime, e.timeZone, n), i = w(e, t)?.type === "sold_out";
220
220
  return {
221
221
  timeLabel: r,
222
- href: u(e),
223
- ariaLabel: `${o.name} at ${r}${i ? ", sold out" : ""}`
222
+ href: a(e),
223
+ ariaLabel: `${c.name} at ${r}${i ? ", sold out" : ""}`
224
224
  };
225
- }), g = [o.name];
226
- o.startDateTime && g.push(`on ${l(o.startDateTime, o.timeZone, n)}`), e.isSeries ? g.push(`${e.instances.length} showtimes available`) : o.startDateTime && g.push(`at ${c(o.startDateTime, o.timeZone, n)}`), s && g.push(s.text);
227
- let v = N(o, t, n), y = j(o.imageUrl);
225
+ }), g = [c.name];
226
+ c.startDateTime && g.push(`on ${u(c.startDateTime, c.timeZone, n)}`), e.isSeries ? g.push(`${e.instances.length} showtimes available`) : c.startDateTime && g.push(`at ${s(c.startDateTime, c.timeZone, n)}`), l && g.push(l.text);
227
+ let v = N(c, t, n), y = j(c.imageUrl);
228
228
  return g.push(...v), {
229
- title: o.name,
229
+ title: c.name,
230
230
  href: f,
231
231
  imageUrl: y.src,
232
232
  placeholderImage: y.fallback,
233
233
  dateLabel: p,
234
- description: r?.description === !1 ? "" : _(o.description),
234
+ description: r?.description === !1 ? "" : _(c.description),
235
235
  ariaLabel: g.join(", "),
236
236
  hidePoster: r?.poster === !1,
237
- posterFit: a.posterFit ?? "fit",
238
- posterBackdrop: a.posterBackdrop ?? "blur",
237
+ posterFit: o.posterFit ?? "fit",
238
+ posterBackdrop: o.posterBackdrop ?? "blur",
239
239
  badge: d,
240
240
  pills: h,
241
241
  pillEvents: m,
@@ -105,6 +105,7 @@ var e = {
105
105
  networkErrorCancel: "İptal",
106
106
  retryingConnection: "Bağlantı tekrar deneniyor",
107
107
  couldNotLoadEvents: "Etkinlikler yüklenemedi. Lütfen internet bağlantınızı kontrol edip tekrar deneyin",
108
+ calendarNotEnabled: "Bu takvim bu site için etkinleştirilmemiş",
108
109
  offlineMessage: "Çevrim dışısınız. Yeniden bağlanana kadar bazı özellikler çalışmayabilir",
109
110
  poweredBy: "Altyapı",
110
111
  micdropAriaLabel: "MicDrop - Etkinlik biletleme platformu",
@@ -1,13 +1,13 @@
1
- import { t as e } from "./Search-BE64QcmK.js";
1
+ import { t as e } from "./Search-vhGEpog6.js";
2
2
  import { t } from "./ChevronDownIcon-Bkts84qA.js";
3
3
  import { t as n } from "./CloseIcon-DRlYvIPc.js";
4
4
  import { i as r } from "./typography-CKwYSv07.js";
5
- import { B as i, V as a, z as o } from "./field-rules-CKFFB16Q.js";
6
- import { t as s } from "./Button-B_gbGd63.js";
7
- import { t as c } from "./Checkbox-sObkYRdj.js";
8
- import { t as l } from "./FilterChipGroup-DUGvOaRI.js";
5
+ import { B as i, V as a, z as o } from "./field-rules-Yb2JY1qT.js";
6
+ import { t as s } from "./Button-Ch5dRGa2.js";
7
+ import { n as c } from "./Modal-C6EXgkuF.js";
8
+ import { t as l } from "./FilterChipGroup-BCjc7-pE.js";
9
9
  import { t as u } from "./foundryRuntime-DKyfdkUY.js";
10
- import { C as d, r as f, y as p } from "./CalendarFoundryView-DbxZNmY7.js";
10
+ import { b as d, r as f, w as p } from "./CalendarFoundryView-B5puOxH5.js";
11
11
  import "svelte/internal/disclose-version";
12
12
  import * as m from "svelte/internal/client";
13
13
  // node_modules/@getmicdrop/svelte-components/dist/foundry/blocks/fields/tree-picker-field.svelte
@@ -34,7 +34,7 @@ function w(w, T) {
34
34
  var i = m.comment(), a = m.first_child(i), o = (e) => {
35
35
  t(e, { size: "16" });
36
36
  }, s = m.derived(() => G(n().value)), c = (e) => {
37
- d(e, { size: "16" });
37
+ p(e, { size: "16" });
38
38
  };
39
39
  m.if(a, (e) => {
40
40
  m.get(s) ? e(o) : e(c, -1);
@@ -84,7 +84,7 @@ function w(w, T) {
84
84
  }, j = (e) => {
85
85
  {
86
86
  let t = m.derived(() => U(n().value));
87
- p(e, {
87
+ d(e, {
88
88
  get name() {
89
89
  return m.get(ne);
90
90
  },
@@ -174,6 +174,9 @@ export interface CalendarProps extends BaseInitOptions {
174
174
  /** Gallery/List/Carousel show at most this many events; null = all, with
175
175
  * load more on Gallery (default: null) */
176
176
  maxItems?: number | null;
177
+ /** The List looks (look-list, look-board) leave out this many of the first
178
+ * upcoming shows (default: 0) */
179
+ skipItems?: number | null;
177
180
  /** Hide card parts; only `false` hides (default: every part shown). A
178
181
  * `look-*` view also reads doorsTime, showTime, performers, price and
179
182
  * button, where `true` switches on a part the look leaves off. */
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./logger-DM8WW61-.js";
2
- import { F as t, P as n } from "./widget-key-context-BrWW0fyM.js";
3
- import { c as r, n as i, r as a } from "./client-BIN_q-of.js";
4
- import "./event-transform-DqFigNQg.js";
5
- import { f as o } from "./checkoutState-BDNjJRMG.js";
2
+ import { N as t, P as n } from "./widget-key-context-dHM9FiuJ.js";
3
+ import { c as r, n as i, r as a } from "./client-SaDt6559.js";
4
+ import "./event-transform-Cs63X0hI.js";
5
+ import { l as o } from "./checkoutState-DSx7g3Vy.js";
6
6
  // src/lib/api/surge-queue.ts
7
7
  var s = e("VC"), c = "queue_unavailable", l = {
8
8
  armed: !1,
@@ -135,10 +135,10 @@ function C(e) {
135
135
  async function w() {
136
136
  return null;
137
137
  }
138
- async function T(e, n) {
138
+ async function T(e, t) {
139
139
  try {
140
- let r = await i(`/venues/${e}`, { widgetKey: n?.widgetKey });
141
- if (!r.success) throw new t(r.error ?? `API error: ${r.statusCode}`, r.statusCode ?? 0, {
140
+ let r = await i(`/venues/${e}`, { widgetKey: t?.widgetKey });
141
+ if (!r.success) throw new n(r.error ?? `API error: ${r.statusCode}`, r.statusCode ?? 0, {
142
142
  endpoint: `/venues/${e}`,
143
143
  method: "GET"
144
144
  });
@@ -188,12 +188,12 @@ async function E(e = {}, t, n) {
188
188
  };
189
189
  }
190
190
  }
191
- async function D(e, n) {
191
+ async function D(e, t) {
192
192
  try {
193
- let r = await i(`/orders/${e}`, { widgetKey: n?.widgetKey });
193
+ let r = await i(`/orders/${e}`, { widgetKey: t?.widgetKey });
194
194
  if (!r.success) {
195
- let n = r.error ?? `Failed to fetch order (${r.statusCode})`;
196
- throw x.error("getOrder error response:", n), new t(n, r.statusCode ?? 0, {
195
+ let t = r.error ?? `Failed to fetch order (${r.statusCode})`;
196
+ throw x.error("getOrder error response:", t), new n(t, r.statusCode ?? 0, {
197
197
  endpoint: `/orders/${e}`,
198
198
  method: "GET"
199
199
  });
@@ -206,7 +206,7 @@ async function D(e, n) {
206
206
  // src/lib/utils/utm.ts
207
207
  var O = e("utm");
208
208
  async function k(e) {
209
- let t = new URLSearchParams(window.location.search), i = n(t.get("utm_source")) || "direct";
209
+ let n = new URLSearchParams(window.location.search), i = t(n.get("utm_source")) || "direct";
210
210
  try {
211
211
  await fetch(`${r()}/utm/${e}/${encodeURIComponent(i)}`);
212
212
  } catch (e) {
@@ -0,0 +1,38 @@
1
+ import { n as e } from "./imageUrl-iAS2Xo17.js";
2
+ // src/lib/api/transformers/venue.ts
3
+ function t(t) {
4
+ return e(t, { cdn: !0 });
5
+ }
6
+ function n(e) {
7
+ let n = e, r = n.logoUrl || n.logo_url || n.logo;
8
+ return {
9
+ id: n.id || n.ID || 0,
10
+ name: n.name || "",
11
+ slug: n.slug,
12
+ address: n.address,
13
+ googleLocationNameCache: n.googleLocationNameCache || n.google_location_name_cache,
14
+ city: n.city,
15
+ state: n.state,
16
+ zipCode: n.zipCode || n.zip_code || n.postalCode,
17
+ country: n.country,
18
+ timezone: n.timeZone || n.timezone || n.time_zone,
19
+ logoUrl: t(r),
20
+ serviceFeePercentage: n.serviceFeePercentage ?? n.service_fee_percentage ?? 0,
21
+ serviceFeeCents: n.serviceFeeCents ?? n.service_fee_cents ?? 0,
22
+ absorbServiceFee: (n.absorbServiceFee ?? n.absorb_service_fee) === !0,
23
+ taxPercentage: n.taxPercentage ?? n.tax_percentage ?? 0,
24
+ organizationId: n.organizationId || n.organization_id
25
+ };
26
+ }
27
+ var r = n;
28
+ function i(e) {
29
+ let t = e ?? {}, n = (t.questionPrompt ?? "").trim(), r = (t.hasCustomCheckout ?? !1) && !!n;
30
+ return {
31
+ askForPhoneAtCheckout: t.askForPhoneAtCheckout ?? !0,
32
+ requiredPhoneAtCheckout: (t.askForPhoneAtCheckout ?? !0) && (t.requiredPhoneAtCheckout ?? !1),
33
+ hasCustomCheckout: r,
34
+ requiredCustomCheckout: r && (t.requiredCustomCheckout ?? !1),
35
+ questionPrompt: r ? n : void 0
36
+ };
37
+ }
38
+ export { i as n, r as t };