@getmicdrop/venue-calendar 4.0.97 → 4.0.98

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 (50) hide show
  1. package/dist/{CartView-C3CM_of4.js → CartView-inr4N-_2.js} +7 -7
  2. package/dist/{CartView-C3CM_of4.js.map → CartView-inr4N-_2.js.map} +1 -1
  3. package/dist/{Checkout-DlwrJNFl.js → Checkout-BILhpPY7.js} +3 -3
  4. package/dist/{Checkout-DlwrJNFl.js.map → Checkout-BILhpPY7.js.map} +1 -1
  5. package/dist/{Checkout-C-M3GkqC.js → Checkout-CssZ6V2A.js} +9 -9
  6. package/dist/{Checkout-C-M3GkqC.js.map → Checkout-CssZ6V2A.js.map} +1 -1
  7. package/dist/{CheckoutTimer-BGpTXav2.js → CheckoutTimer-CKd1wmyV.js} +5 -5
  8. package/dist/{CheckoutTimer-BGpTXav2.js.map → CheckoutTimer-CKd1wmyV.js.map} +1 -1
  9. package/dist/{ClockIcon-CbUBc37W.js → ClockIcon-DTUfaeDB.js} +2 -2
  10. package/dist/{ClockIcon-CbUBc37W.js.map → ClockIcon-DTUfaeDB.js.map} +1 -1
  11. package/dist/{CollectionView-C8jLl4ZF.js → CollectionView-eLbVZUv0.js} +5 -5
  12. package/dist/{CollectionView-C8jLl4ZF.js.map → CollectionView-eLbVZUv0.js.map} +1 -1
  13. package/dist/{Event-BIxmGbtN.js → Event-DLA5gaig.js} +8 -8
  14. package/dist/{Event-BIxmGbtN.js.map → Event-DLA5gaig.js.map} +1 -1
  15. package/dist/{EventPage-CfFdjshw.js → EventPage-LK1nOFoA.js} +6 -6
  16. package/dist/{EventPage-CfFdjshw.js.map → EventPage-LK1nOFoA.js.map} +1 -1
  17. package/dist/{Heading-BftmeVf1.js → Heading-CYIcD7lJ.js} +2 -2
  18. package/dist/{Heading-BftmeVf1.js.map → Heading-CYIcD7lJ.js.map} +1 -1
  19. package/dist/{ScarcityBadge-Cj7ihi0s.js → ScarcityBadge-CB8Wv6_P.js} +2 -2
  20. package/dist/{ScarcityBadge-Cj7ihi0s.js.map → ScarcityBadge-CB8Wv6_P.js.map} +1 -1
  21. package/dist/{SeriesPage-LSLEq-VI.js → SeriesPage-BhwhYFnc.js} +5 -5
  22. package/dist/{SeriesPage-LSLEq-VI.js.map → SeriesPage-BhwhYFnc.js.map} +1 -1
  23. package/dist/{Spinner-D6pWJ-VV.js → Spinner-DllDTBA9.js} +2 -2
  24. package/dist/{Spinner-D6pWJ-VV.js.map → Spinner-DllDTBA9.js.map} +1 -1
  25. package/dist/{Success-BwzdTBRN.js → Success-CjemAJNU.js} +7 -7
  26. package/dist/{Success-BwzdTBRN.js.map → Success-CjemAJNU.js.map} +1 -1
  27. package/dist/{Text-DvAmz2c4.js → Text-BM11r41a.js} +2 -2
  28. package/dist/{Text-DvAmz2c4.js.map → Text-BM11r41a.js.map} +1 -1
  29. package/dist/{VenueCalendar-ZIexgvtu.js → VenueCalendar-DDEZQUrA.js} +21 -16
  30. package/dist/{VenueCalendar-ZIexgvtu.js.map → VenueCalendar-DDEZQUrA.js.map} +1 -1
  31. package/dist/{ViewTicketsEmbed-Ex-uXFdv.js → ViewTicketsEmbed-BIFKEUos.js} +5 -5
  32. package/dist/{ViewTicketsEmbed-Ex-uXFdv.js.map → ViewTicketsEmbed-BIFKEUos.js.map} +1 -1
  33. package/dist/api/api.cjs +1 -1
  34. package/dist/api/api.cjs.map +1 -1
  35. package/dist/api/api.mjs +86 -77
  36. package/dist/api/api.mjs.map +1 -1
  37. package/dist/{data-toggle-store.svelte-CIisuuz8.js → data-toggle-store.svelte-B6_uWGtS.js} +2 -2
  38. package/dist/{data-toggle-store.svelte-CIisuuz8.js.map → data-toggle-store.svelte-B6_uWGtS.js.map} +1 -1
  39. package/dist/{labels-CGPu9d2k.js → labels-DmANUTR_.js} +3 -3
  40. package/dist/{labels-CGPu9d2k.js.map → labels-DmANUTR_.js.map} +1 -1
  41. package/dist/{modalManager.svelte-CDhdha2m.js → modalManager.svelte-CT1YXxAF.js} +2 -2
  42. package/dist/{modalManager.svelte-CDhdha2m.js.map → modalManager.svelte-CT1YXxAF.js.map} +1 -1
  43. package/dist/{transform-ati8Nk1h.js → transform-RsoCHJIj.js} +2 -2
  44. package/dist/{transform-ati8Nk1h.js.map → transform-RsoCHJIj.js.map} +1 -1
  45. package/dist/venue-calendar.es.js +1 -1
  46. package/dist/venue-calendar.iife.js +2 -2
  47. package/dist/venue-calendar.iife.js.map +1 -1
  48. package/dist/venue-calendar.umd.js +2 -2
  49. package/dist/venue-calendar.umd.js.map +1 -1
  50. package/package.json +1 -1
@@ -12047,10 +12047,15 @@ async function Fp(n, t) {
12047
12047
  }
12048
12048
  async function Lp(n, t) {
12049
12049
  try {
12050
- const r = encodeURIComponent(t), a = await kr(
12051
- `${tt()}/events/${n}/check-password/${r}`
12050
+ const r = await kr(
12051
+ `${tt()}/events/${n}/check-password`,
12052
+ {
12053
+ method: "POST",
12054
+ headers: { "Content-Type": "application/json" },
12055
+ body: JSON.stringify({ password: t })
12056
+ }
12052
12057
  );
12053
- return typeof a == "boolean" ? { valid: a } : { valid: a?.valid === !0 };
12058
+ return typeof r == "boolean" ? { valid: r } : { valid: r?.valid === !0 };
12054
12059
  } catch (r) {
12055
12060
  return Ht.error("Error checking event password:", r), { valid: !1 };
12056
12061
  }
@@ -13728,7 +13733,7 @@ function Ra(n, t) {
13728
13733
  }
13729
13734
  }
13730
13735
  async function xd($) {
13731
- $ === "series" ? e.get(Se) || e.set(Se, (await import("./SeriesPage-LSLEq-VI.js")).default, !0) : $ === "collection" ? e.get(qe) || e.set(qe, (await import("./CollectionView-C8jLl4ZF.js")).default, !0) : e.get(se) || e.set(se, (await import("./EventPage-CfFdjshw.js")).default, !0);
13736
+ $ === "series" ? e.get(Se) || e.set(Se, (await import("./SeriesPage-BhwhYFnc.js")).default, !0) : $ === "collection" ? e.get(qe) || e.set(qe, (await import("./CollectionView-eLbVZUv0.js")).default, !0) : e.get(se) || e.set(se, (await import("./EventPage-LK1nOFoA.js")).default, !0);
13732
13737
  }
13733
13738
  async function Ot({
13734
13739
  type: $,
@@ -13793,12 +13798,12 @@ function Ra(n, t) {
13793
13798
  contentName: U?.name || U?.title || e.get(S)?.data?.name || e.get(S)?.data?.title || ""
13794
13799
  }), typeof window < "u" && requestAnimationFrame(() => {
13795
13800
  document.querySelector(".micdrop-calendar-container")?.scrollIntoView?.({ block: "start", behavior: "auto" });
13796
- }), e.get(Fe) || e.set(Fe, (await import("./Checkout-DlwrJNFl.js")).default, !0);
13801
+ }), e.get(Fe) || e.set(Fe, (await import("./Checkout-BILhpPY7.js")).default, !0);
13797
13802
  }
13798
13803
  async function Sd($) {
13799
13804
  X++, e.set(F, $ || {}, !0), e.set(I, "success"), typeof window < "u" && requestAnimationFrame(() => {
13800
13805
  document.querySelector(".micdrop-calendar-container")?.scrollIntoView?.({ block: "start", behavior: "auto" });
13801
- }), e.get(He) || e.set(He, (await import("./Success-BwzdTBRN.js")).default, !0);
13806
+ }), e.get(He) || e.set(He, (await import("./Success-CjemAJNU.js")).default, !0);
13802
13807
  }
13803
13808
  function Td() {
13804
13809
  e.get(S) ? Ot({
@@ -15146,7 +15151,7 @@ if (typeof window < "u" && typeof HTMLElement < "u") {
15146
15151
  }
15147
15152
  }, customElements.get("micdrop-calendar") || customElements.define("micdrop-calendar", So);
15148
15153
  }
15149
- const F3 = "4.0.97", Yt = Je("VenueCalendar");
15154
+ const F3 = "4.0.98", Yt = Je("VenueCalendar");
15150
15155
  let ga = null;
15151
15156
  function yd(n = {}) {
15152
15157
  typeof n.onError == "function" && (ga = n.onError, Kn({
@@ -15182,35 +15187,35 @@ const Re = {
15182
15187
  // duplicate) has been deleted; everything uses EventPage.
15183
15188
  EventPage: () => Nt(
15184
15189
  "EventPage",
15185
- () => import("./EventPage-CfFdjshw.js").then((n) => n.default)
15190
+ () => import("./EventPage-LK1nOFoA.js").then((n) => n.default)
15186
15191
  ),
15187
15192
  Checkout: () => Nt(
15188
15193
  "Checkout",
15189
- () => import("./Checkout-DlwrJNFl.js").then((n) => n.default)
15194
+ () => import("./Checkout-BILhpPY7.js").then((n) => n.default)
15190
15195
  ),
15191
15196
  Success: () => Nt(
15192
15197
  "Success",
15193
- () => import("./Success-BwzdTBRN.js").then((n) => n.default)
15198
+ () => import("./Success-CjemAJNU.js").then((n) => n.default)
15194
15199
  ),
15195
15200
  CartView: () => Nt(
15196
15201
  "CartView",
15197
- () => import("./CartView-C3CM_of4.js").then((n) => n.default)
15202
+ () => import("./CartView-inr4N-_2.js").then((n) => n.default)
15198
15203
  ),
15199
15204
  ViewTicketsEmbed: () => Nt(
15200
15205
  "ViewTicketsEmbed",
15201
- () => import("./ViewTicketsEmbed-Ex-uXFdv.js").then((n) => n.default)
15206
+ () => import("./ViewTicketsEmbed-BIFKEUos.js").then((n) => n.default)
15202
15207
  ),
15203
15208
  CheckoutMain: () => Nt(
15204
15209
  "CheckoutMain",
15205
- () => import("./Checkout-C-M3GkqC.js").then((n) => n.b).then((n) => n.default)
15210
+ () => import("./Checkout-CssZ6V2A.js").then((n) => n.b).then((n) => n.default)
15206
15211
  ),
15207
15212
  SeriesPage: () => Nt(
15208
15213
  "SeriesPage",
15209
- () => import("./SeriesPage-LSLEq-VI.js").then((n) => n.default)
15214
+ () => import("./SeriesPage-BhwhYFnc.js").then((n) => n.default)
15210
15215
  ),
15211
15216
  CollectionView: () => Nt(
15212
15217
  "CollectionView",
15213
- () => import("./CollectionView-C8jLl4ZF.js").then((n) => n.default)
15218
+ () => import("./CollectionView-eLbVZUv0.js").then((n) => n.default)
15214
15219
  )
15215
15220
  };
15216
15221
  function qn(n, t) {
@@ -15671,4 +15676,4 @@ export {
15671
15676
  Yh as y,
15672
15677
  vp as z
15673
15678
  };
15674
- //# sourceMappingURL=VenueCalendar-ZIexgvtu.js.map
15679
+ //# sourceMappingURL=VenueCalendar-DDEZQUrA.js.map