@getmicdrop/venue-calendar 4.0.4 → 4.0.5

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 (51) hide show
  1. package/dist/{AirbnbSplitMain-CmX4EMJ2.js → AirbnbSplitMain-BVNtTJc-.js} +4 -4
  2. package/dist/{AirbnbSplitMain-CmX4EMJ2.js.map → AirbnbSplitMain-BVNtTJc-.js.map} +1 -1
  3. package/dist/{CarouselView.legacy-B4T9YnUY.js → CarouselView.legacy-B6HtvF8d.js} +3 -3
  4. package/dist/{CarouselView.legacy-B4T9YnUY.js.map → CarouselView.legacy-B6HtvF8d.js.map} +1 -1
  5. package/dist/{CartView-C0wKcLTe.js → CartView-DrOhr4Qi.js} +33 -33
  6. package/dist/CartView-DrOhr4Qi.js.map +1 -0
  7. package/dist/{Checkout-DAH2LEv7.js → Checkout-DB1Aocl-.js} +4 -4
  8. package/dist/{Checkout-DAH2LEv7.js.map → Checkout-DB1Aocl-.js.map} +1 -1
  9. package/dist/{Checkout.legacy-CsJlr7ac.js → Checkout.legacy-DpcjjHQu.js} +4 -4
  10. package/dist/{Checkout.legacy-CsJlr7ac.js.map → Checkout.legacy-DpcjjHQu.js.map} +1 -1
  11. package/dist/{CheckoutMain-CIfRFv_0.js → CheckoutMain-D0_1xfR8.js} +4 -4
  12. package/dist/{CheckoutMain-CIfRFv_0.js.map → CheckoutMain-D0_1xfR8.js.map} +1 -1
  13. package/dist/{CheckoutTimer-DQFe_RCq.js → CheckoutTimer-r1HaN6b6.js} +2 -2
  14. package/dist/{CheckoutTimer-DQFe_RCq.js.map → CheckoutTimer-r1HaN6b6.js.map} +1 -1
  15. package/dist/{CollectionView-RKiSB7Gj.js → CollectionView-5OzqEVQg.js} +5 -5
  16. package/dist/{CollectionView-RKiSB7Gj.js.map → CollectionView-5OzqEVQg.js.map} +1 -1
  17. package/dist/{CollectionView.legacy-CHiKdISC.js → CollectionView.legacy-CabEI40i.js} +3 -3
  18. package/dist/{CollectionView.legacy-CHiKdISC.js.map → CollectionView.legacy-CabEI40i.js.map} +1 -1
  19. package/dist/{EventDetailsView-BFXXDR_5.js → EventDetailsView-CiGPGPz5.js} +2 -2
  20. package/dist/{EventDetailsView-BFXXDR_5.js.map → EventDetailsView-CiGPGPz5.js.map} +1 -1
  21. package/dist/{FeaturedView.legacy-Bx8r9VRn.js → FeaturedView.legacy-tTPbRxSf.js} +2 -2
  22. package/dist/{FeaturedView.legacy-Bx8r9VRn.js.map → FeaturedView.legacy-tTPbRxSf.js.map} +1 -1
  23. package/dist/{GalleryCard-UVhZwNEr.js → GalleryCard-CBMPmdrM.js} +2 -2
  24. package/dist/{GalleryCard-UVhZwNEr.js.map → GalleryCard-CBMPmdrM.js.map} +1 -1
  25. package/dist/{GalleryView.legacy-CYYCS-Ik.js → GalleryView.legacy-4QPpX22O.js} +3 -3
  26. package/dist/{GalleryView.legacy-CYYCS-Ik.js.map → GalleryView.legacy-4QPpX22O.js.map} +1 -1
  27. package/dist/{GroupedListView.legacy-_lpo2UrM.js → GroupedListView.legacy-CPJRLePS.js} +2 -2
  28. package/dist/{GroupedListView.legacy-_lpo2UrM.js.map → GroupedListView.legacy-CPJRLePS.js.map} +1 -1
  29. package/dist/{SeriesPage-CFQLBhkC.js → SeriesPage-IZWQ53xg.js} +5 -5
  30. package/dist/{SeriesPage-CFQLBhkC.js.map → SeriesPage-IZWQ53xg.js.map} +1 -1
  31. package/dist/{SeriesPage.legacy-C-hADRCm.js → SeriesPage.legacy-4jSF2g-n.js} +2 -2
  32. package/dist/{SeriesPage.legacy-C-hADRCm.js.map → SeriesPage.legacy-4jSF2g-n.js.map} +1 -1
  33. package/dist/{Success-B_q1DLLZ.js → Success-DTSn26bg.js} +5 -5
  34. package/dist/{Success-B_q1DLLZ.js.map → Success-DTSn26bg.js.map} +1 -1
  35. package/dist/{Success.legacy-DU4ReWah.js → Success.legacy--ABrtyII.js} +2 -2
  36. package/dist/{Success.legacy-DU4ReWah.js.map → Success.legacy--ABrtyII.js.map} +1 -1
  37. package/dist/{VenueCalendar-BkiDPwSu.js → VenueCalendar-DpZ70okH.js} +14 -14
  38. package/dist/{VenueCalendar-BkiDPwSu.js.map → VenueCalendar-DpZ70okH.js.map} +1 -1
  39. package/dist/{ViewTicketsEmbed-Lh-WqskW.js → ViewTicketsEmbed-CgHcn-qh.js} +2 -2
  40. package/dist/{ViewTicketsEmbed-Lh-WqskW.js.map → ViewTicketsEmbed-CgHcn-qh.js.map} +1 -1
  41. package/dist/{labels-BJ37eSuH.js → labels-ClcIxHAF.js} +2 -2
  42. package/dist/{labels-BJ37eSuH.js.map → labels-ClcIxHAF.js.map} +1 -1
  43. package/dist/{transform-C3MxXi4m.js → transform-DW3JR-t5.js} +2 -2
  44. package/dist/{transform-C3MxXi4m.js.map → transform-DW3JR-t5.js.map} +1 -1
  45. package/dist/venue-calendar.es.js +1 -1
  46. package/dist/venue-calendar.iife.js +12 -12
  47. package/dist/venue-calendar.iife.js.map +1 -1
  48. package/dist/venue-calendar.umd.js +25 -25
  49. package/dist/venue-calendar.umd.js.map +1 -1
  50. package/package.json +1 -1
  51. package/dist/CartView-C0wKcLTe.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import "svelte/internal/disclose-version";
2
2
  import * as e from "svelte/internal/client";
3
3
  import { onMount as _ } from "svelte";
4
- import { G as k } from "./GalleryCard-UVhZwNEr.js";
5
- import { ax as C } from "./VenueCalendar-BkiDPwSu.js";
4
+ import { G as k } from "./GalleryCard-CBMPmdrM.js";
5
+ import { ax as C } from "./VenueCalendar-DpZ70okH.js";
6
6
  var S = e.from_html('<button class="carousel-arrow absolute top-1/2 -translate-y-1/2 z-10 w-10 h-10 rounded-full flex items-center justify-center bg-card/90 border border-border shadow-lg cursor-pointer transition-opacity duration-200 hover:bg-card hover: focus-visible:outline-2 focus-visible:outline-brand-primary:outline-brand-primary focus-visible:outline-offset-2 svelte-1lcnwer" style="left: 8px" aria-label="Scroll left"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 text-text-secondary"><polyline points="15 18 9 12 15 6"></polyline></svg></button>'), j = e.from_html('<div class="carousel-item svelte-1lcnwer" role="listitem"><!></div>'), B = e.from_html('<button class="carousel-arrow absolute top-1/2 -translate-y-1/2 z-10 w-10 h-10 rounded-full flex items-center justify-center bg-card/90 border border-border shadow-lg cursor-pointer transition-opacity duration-200 hover:bg-card hover: focus-visible:outline-2 focus-visible:outline-brand-primary:outline-brand-primary focus-visible:outline-offset-2 svelte-1lcnwer" style="right: 8px" aria-label="Scroll right"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 text-text-secondary"><polyline points="9 18 15 12 9 6"></polyline></svg></button>'), W = e.from_html('<section class="w-full" aria-label="Events carousel"><h2 class="sr-only svelte-1lcnwer">Upcoming events</h2> <div class="relative"><!> <div class="carousel-scroll flex gap-4 overflow-x-auto p-2 sm:p-3 lg:p-4 svelte-1lcnwer" role="list"></div> <!></div></section>');
7
7
  function L(b, i) {
8
8
  e.push(i, !0);
@@ -62,4 +62,4 @@ e.delegate(["click"]);
62
62
  export {
63
63
  L as default
64
64
  };
65
- //# sourceMappingURL=CarouselView.legacy-B4T9YnUY.js.map
65
+ //# sourceMappingURL=CarouselView.legacy-B6HtvF8d.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselView.legacy-B4T9YnUY.js","sources":["../src/components/Calendar/CarouselView.legacy.svelte"],"sourcesContent":["<script>\n import { onMount } from \"svelte\";\n import GalleryCard from \"./GalleryCard.svelte\";\n import { filterTodayAndFuture } from \"$lib/utils/browse-status.js\";\n\n let { events = [], oneventClick } = $props();\n\n let scrollContainer;\n let canScrollLeft = $state(false);\n let canScrollRight = $state(false);\n let showArrows = $state(false);\n\n // Filter to today and future, sorted chronologically\n let futureEvents = $derived(filterTodayAndFuture(events));\n\n function updateScrollState() {\n if (!scrollContainer) return;\n const { scrollLeft, scrollWidth, clientWidth } = scrollContainer;\n canScrollLeft = scrollLeft > 1;\n canScrollRight = scrollLeft + clientWidth < scrollWidth - 1;\n showArrows = scrollWidth > clientWidth + 1;\n }\n\n function scrollByCard(direction) {\n if (!scrollContainer) return;\n // Get the width of the first card item\n const firstCard = scrollContainer.querySelector('.carousel-item');\n if (!firstCard) return;\n const cardWidth = firstCard.offsetWidth + 16; // card width + gap\n scrollContainer.scrollBy({ left: direction * cardWidth, behavior: 'smooth' });\n }\n\n onMount(() => {\n updateScrollState();\n // Use ResizeObserver to update on container resize\n const observer = new ResizeObserver(() => updateScrollState());\n if (scrollContainer) {\n observer.observe(scrollContainer);\n }\n return () => observer.disconnect();\n });\n</script>\n\n<section class=\"w-full\" aria-label=\"Events carousel\">\n <h2 class=\"sr-only\">Upcoming events</h2>\n\n <div class=\"relative\">\n <!-- Left arrow -->\n {#if showArrows && canScrollLeft}\n <button\n class=\"carousel-arrow absolute top-1/2 -translate-y-1/2 z-10 w-10 h-10 rounded-full flex items-center justify-center bg-card/90 border border-border shadow-lg cursor-pointer transition-opacity duration-200 hover:bg-card hover: focus-visible:outline-2 focus-visible:outline-brand-primary:outline-brand-primary focus-visible:outline-offset-2\"\n style=\"left: 8px\"\n onclick={() => scrollByCard(-1)}\n aria-label=\"Scroll left\"\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"w-5 h-5 text-text-secondary\"><polyline points=\"15 18 9 12 15 6\"></polyline></svg>\n </button>\n {/if}\n\n <!-- Scroll container -->\n <div\n class=\"carousel-scroll flex gap-4 overflow-x-auto p-2 sm:p-3 lg:p-4\"\n bind:this={scrollContainer}\n onscroll={updateScrollState}\n role=\"list\"\n >\n {#each futureEvents as event}\n <div class=\"carousel-item\" role=\"listitem\">\n <GalleryCard {event} {oneventClick} />\n </div>\n {/each}\n </div>\n\n <!-- Right arrow -->\n {#if showArrows && canScrollRight}\n <button\n class=\"carousel-arrow absolute top-1/2 -translate-y-1/2 z-10 w-10 h-10 rounded-full flex items-center justify-center bg-card/90 border border-border shadow-lg cursor-pointer transition-opacity duration-200 hover:bg-card hover: focus-visible:outline-2 focus-visible:outline-brand-primary:outline-brand-primary focus-visible:outline-offset-2\"\n style=\"right: 8px\"\n onclick={() => scrollByCard(1)}\n aria-label=\"Scroll right\"\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"w-5 h-5 text-text-secondary\"><polyline points=\"9 18 15 12 9 6\"></polyline></svg>\n </button>\n {/if}\n </div>\n</section>\n\n<style>\n .carousel-scroll {\n scroll-snap-type: x mandatory;\n -webkit-overflow-scrolling: touch;\n scrollbar-width: none;\n }\n\n .carousel-scroll::-webkit-scrollbar {\n display: none;\n }\n\n .carousel-item {\n scroll-snap-align: start;\n flex: 0 0 85%;\n }\n\n /* Tablet: 2 visible cards with peek */\n @media (width >= 640px) {\n .carousel-item {\n flex: 0 0 calc(50% - 8px);\n }\n }\n\n /* Desktop: 3 visible cards with peek */\n @media (width >= 1024px) {\n .carousel-item {\n flex: 0 0 calc(33.333% - 11px);\n }\n }\n\n /* Hide arrows on mobile -- touch scrolling is natural */\n @media (width <= 639px) {\n .carousel-arrow {\n display: none;\n }\n }\n\n /* Reduced motion */\n @media (prefers-reduced-motion: reduce) {\n .carousel-scroll {\n scroll-behavior: auto;\n }\n }\n\n /* Screen reader only text */\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n</style>\n"],"names":["events","$","$$props","scrollContainer","canScrollLeft","canScrollRight","showArrows","futureEvents","filterTodayAndFuture","updateScrollState","scrollLeft","scrollWidth","clientWidth","scrollByCard","direction","firstCard","cardWidth","onMount","observer","section","root","div","button","root_1","$$render","consequent","div_1","node","$$anchor","event","div_2","root_2","GalleryCard","node_1","$$value","button_1","root_3","consequent_1"],"mappings":";;;;;;iBAAA;;MAKQA,IAAMC,EAAA,KAAAC,GAAA,UAAA,IAAA,MAAA,EAAA,GAERC,GACAC,IAAgBH,EAAA,MAAO,EAAK,GAC5BI,IAAiBJ,EAAA,MAAO,EAAK,GAC7BK,IAAaL,EAAA,MAAO,EAAK,GAGzBM,IAAYN,EAAA,QAAA,MAAYO,EAAqBR,EAAM,CAAA,CAAA;AAE9C,WAAAS,IAAoB;SACtBN,EAAe;AACZ,UAAA,EAAA,YAAAO,GAAY,aAAAC,GAAa,aAAAC,EAAW,IAAKT;UACjDC,GAAgBM,IAAa,CAAC,GAC9BT,EAAA,IAAAI,GAAiBK,IAAaE,IAAcD,IAAc,CAAC,GAC3DV,EAAA,IAAAK,GAAaK,IAAcC,IAAc,CAAC;AAAA,EAC5C;WAESC,EAAaC,GAAW;SAC1BX,EAAe;AAEd,UAAAY,IAAYZ,EAAgB,cAAc,gBAAgB;SAC3DY,EAAS;AACR,UAAAC,IAAYD,EAAU,cAAc;AAC1C,IAAAZ,EAAgB,SAAQ,EAAG,MAAMW,IAAYE,GAAW,UAAU,UAAQ;AAAA,EAC5E;AAEA,EAAAC,EAAO,MAAO;AACZ,IAAAR,EAAiB;UAEXS,IAAQ,IAAO,eAAc,MAAOT,EAAiB,CAAA;AACvD,WAAAN,KACFe,EAAS,QAAQf,CAAe,GAErB,MAAAe,EAAS,WAAU;AAAA,EAClC,CAAC;MAGFC,IAAOC,EAAA,GAGLC,sBAHFF,CAAO,GAAA,CAAA,eAGLE,CAAG;;;UAGCC,IAAKC,EAAA;2BAALD,GAAK,MAGWT,EAAY,EAAG,CAAA,eAH/BS,CAAK;AAAA;;AADH,MAAArB,EAAA,IAAAK,CAAU,WAAIF,CAAa,KAAAoB,EAAAC,CAAA;AAAA;;MAY/BC,IAAEzB,EAAA,QAAA0B,GAAA,CAAA;SAAFD,GAAE,IAAA,MAAAzB,EAAA,IAMMM,CAAY,GAAAN,EAAA,OAAA,CAAA2B,GAAIC,MAAK;QACzBC,IAAGC,EAAA,eAAHD,CAAG;AACD,IAAAE,EAAWC,GAAA;AAAA;qBAAEJ,CAAK;AAAA;;;;gBADpBC,CAAG,eAAHA,CAAG;AAAA,cAPPJ,CAAE,eAAFA,GAAE,CAAAQ,MAEU/B,IAAe+B,GAAA,MAAf/B,CAAe;oBAF3BuB,GAAE,CAAA;;;UAeAS,IAAKC,EAAA;2BAALD,GAAK,MAGWtB,EAAa,CAAC,CAAA,eAH9BsB,CAAK;AAAA;;AADH,MAAAlC,EAAA,IAAAK,CAAU,WAAID,CAAc,KAAAmB,EAAAa,CAAA;AAAA;;UA5BlChB,CAAG,WAHLF,CAAO,GAiBHlB,EAAA,MAAA,UAAAyB,GAGWjB,CAAiB,eApBhCU,CAAO;AAFA;;"}
1
+ {"version":3,"file":"CarouselView.legacy-B6HtvF8d.js","sources":["../src/components/Calendar/CarouselView.legacy.svelte"],"sourcesContent":["<script>\n import { onMount } from \"svelte\";\n import GalleryCard from \"./GalleryCard.svelte\";\n import { filterTodayAndFuture } from \"$lib/utils/browse-status.js\";\n\n let { events = [], oneventClick } = $props();\n\n let scrollContainer;\n let canScrollLeft = $state(false);\n let canScrollRight = $state(false);\n let showArrows = $state(false);\n\n // Filter to today and future, sorted chronologically\n let futureEvents = $derived(filterTodayAndFuture(events));\n\n function updateScrollState() {\n if (!scrollContainer) return;\n const { scrollLeft, scrollWidth, clientWidth } = scrollContainer;\n canScrollLeft = scrollLeft > 1;\n canScrollRight = scrollLeft + clientWidth < scrollWidth - 1;\n showArrows = scrollWidth > clientWidth + 1;\n }\n\n function scrollByCard(direction) {\n if (!scrollContainer) return;\n // Get the width of the first card item\n const firstCard = scrollContainer.querySelector('.carousel-item');\n if (!firstCard) return;\n const cardWidth = firstCard.offsetWidth + 16; // card width + gap\n scrollContainer.scrollBy({ left: direction * cardWidth, behavior: 'smooth' });\n }\n\n onMount(() => {\n updateScrollState();\n // Use ResizeObserver to update on container resize\n const observer = new ResizeObserver(() => updateScrollState());\n if (scrollContainer) {\n observer.observe(scrollContainer);\n }\n return () => observer.disconnect();\n });\n</script>\n\n<section class=\"w-full\" aria-label=\"Events carousel\">\n <h2 class=\"sr-only\">Upcoming events</h2>\n\n <div class=\"relative\">\n <!-- Left arrow -->\n {#if showArrows && canScrollLeft}\n <button\n class=\"carousel-arrow absolute top-1/2 -translate-y-1/2 z-10 w-10 h-10 rounded-full flex items-center justify-center bg-card/90 border border-border shadow-lg cursor-pointer transition-opacity duration-200 hover:bg-card hover: focus-visible:outline-2 focus-visible:outline-brand-primary:outline-brand-primary focus-visible:outline-offset-2\"\n style=\"left: 8px\"\n onclick={() => scrollByCard(-1)}\n aria-label=\"Scroll left\"\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"w-5 h-5 text-text-secondary\"><polyline points=\"15 18 9 12 15 6\"></polyline></svg>\n </button>\n {/if}\n\n <!-- Scroll container -->\n <div\n class=\"carousel-scroll flex gap-4 overflow-x-auto p-2 sm:p-3 lg:p-4\"\n bind:this={scrollContainer}\n onscroll={updateScrollState}\n role=\"list\"\n >\n {#each futureEvents as event}\n <div class=\"carousel-item\" role=\"listitem\">\n <GalleryCard {event} {oneventClick} />\n </div>\n {/each}\n </div>\n\n <!-- Right arrow -->\n {#if showArrows && canScrollRight}\n <button\n class=\"carousel-arrow absolute top-1/2 -translate-y-1/2 z-10 w-10 h-10 rounded-full flex items-center justify-center bg-card/90 border border-border shadow-lg cursor-pointer transition-opacity duration-200 hover:bg-card hover: focus-visible:outline-2 focus-visible:outline-brand-primary:outline-brand-primary focus-visible:outline-offset-2\"\n style=\"right: 8px\"\n onclick={() => scrollByCard(1)}\n aria-label=\"Scroll right\"\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"w-5 h-5 text-text-secondary\"><polyline points=\"9 18 15 12 9 6\"></polyline></svg>\n </button>\n {/if}\n </div>\n</section>\n\n<style>\n .carousel-scroll {\n scroll-snap-type: x mandatory;\n -webkit-overflow-scrolling: touch;\n scrollbar-width: none;\n }\n\n .carousel-scroll::-webkit-scrollbar {\n display: none;\n }\n\n .carousel-item {\n scroll-snap-align: start;\n flex: 0 0 85%;\n }\n\n /* Tablet: 2 visible cards with peek */\n @media (width >= 640px) {\n .carousel-item {\n flex: 0 0 calc(50% - 8px);\n }\n }\n\n /* Desktop: 3 visible cards with peek */\n @media (width >= 1024px) {\n .carousel-item {\n flex: 0 0 calc(33.333% - 11px);\n }\n }\n\n /* Hide arrows on mobile -- touch scrolling is natural */\n @media (width <= 639px) {\n .carousel-arrow {\n display: none;\n }\n }\n\n /* Reduced motion */\n @media (prefers-reduced-motion: reduce) {\n .carousel-scroll {\n scroll-behavior: auto;\n }\n }\n\n /* Screen reader only text */\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n }\n</style>\n"],"names":["events","$","$$props","scrollContainer","canScrollLeft","canScrollRight","showArrows","futureEvents","filterTodayAndFuture","updateScrollState","scrollLeft","scrollWidth","clientWidth","scrollByCard","direction","firstCard","cardWidth","onMount","observer","section","root","div","button","root_1","$$render","consequent","div_1","node","$$anchor","event","div_2","root_2","GalleryCard","node_1","$$value","button_1","root_3","consequent_1"],"mappings":";;;;;;iBAAA;;MAKQA,IAAMC,EAAA,KAAAC,GAAA,UAAA,IAAA,MAAA,EAAA,GAERC,GACAC,IAAgBH,EAAA,MAAO,EAAK,GAC5BI,IAAiBJ,EAAA,MAAO,EAAK,GAC7BK,IAAaL,EAAA,MAAO,EAAK,GAGzBM,IAAYN,EAAA,QAAA,MAAYO,EAAqBR,EAAM,CAAA,CAAA;AAE9C,WAAAS,IAAoB;SACtBN,EAAe;AACZ,UAAA,EAAA,YAAAO,GAAY,aAAAC,GAAa,aAAAC,EAAW,IAAKT;UACjDC,GAAgBM,IAAa,CAAC,GAC9BT,EAAA,IAAAI,GAAiBK,IAAaE,IAAcD,IAAc,CAAC,GAC3DV,EAAA,IAAAK,GAAaK,IAAcC,IAAc,CAAC;AAAA,EAC5C;WAESC,EAAaC,GAAW;SAC1BX,EAAe;AAEd,UAAAY,IAAYZ,EAAgB,cAAc,gBAAgB;SAC3DY,EAAS;AACR,UAAAC,IAAYD,EAAU,cAAc;AAC1C,IAAAZ,EAAgB,SAAQ,EAAG,MAAMW,IAAYE,GAAW,UAAU,UAAQ;AAAA,EAC5E;AAEA,EAAAC,EAAO,MAAO;AACZ,IAAAR,EAAiB;UAEXS,IAAQ,IAAO,eAAc,MAAOT,EAAiB,CAAA;AACvD,WAAAN,KACFe,EAAS,QAAQf,CAAe,GAErB,MAAAe,EAAS,WAAU;AAAA,EAClC,CAAC;MAGFC,IAAOC,EAAA,GAGLC,sBAHFF,CAAO,GAAA,CAAA,eAGLE,CAAG;;;UAGCC,IAAKC,EAAA;2BAALD,GAAK,MAGWT,EAAY,EAAG,CAAA,eAH/BS,CAAK;AAAA;;AADH,MAAArB,EAAA,IAAAK,CAAU,WAAIF,CAAa,KAAAoB,EAAAC,CAAA;AAAA;;MAY/BC,IAAEzB,EAAA,QAAA0B,GAAA,CAAA;SAAFD,GAAE,IAAA,MAAAzB,EAAA,IAMMM,CAAY,GAAAN,EAAA,OAAA,CAAA2B,GAAIC,MAAK;QACzBC,IAAGC,EAAA,eAAHD,CAAG;AACD,IAAAE,EAAWC,GAAA;AAAA;qBAAEJ,CAAK;AAAA;;;;gBADpBC,CAAG,eAAHA,CAAG;AAAA,cAPPJ,CAAE,eAAFA,GAAE,CAAAQ,MAEU/B,IAAe+B,GAAA,MAAf/B,CAAe;oBAF3BuB,GAAE,CAAA;;;UAeAS,IAAKC,EAAA;2BAALD,GAAK,MAGWtB,EAAa,CAAC,CAAA,eAH9BsB,CAAK;AAAA;;AADH,MAAAlC,EAAA,IAAAK,CAAU,WAAID,CAAc,KAAAmB,EAAAa,CAAA;AAAA;;UA5BlChB,CAAG,WAHLF,CAAO,GAiBHlB,EAAA,MAAA,UAAAyB,GAGWjB,CAAiB,eApBhCU,CAAO;AAFA;;"}
@@ -1,5 +1,5 @@
1
1
  import "svelte/internal/disclose-version";
2
- import { f as Ce, X as pt, B as Ie, Y as mt, Z as ht, I as vt, _ as _t, $ as nt, h as gt, a0 as Ue, a1 as bt, a2 as He, u as xt, A as yt, a3 as kt, a4 as Tt, J as wt, a5 as Dt, a6 as It, v as it, a7 as St, M as lt, U as Ct, t as ot, b as Et, a8 as st, p as At, a9 as Pt, aa as Mt, q as Ot, ab as dt, ac as ct, ad as Ft } from "./VenueCalendar-BkiDPwSu.js";
2
+ import { f as Ce, X as pt, B as Ie, Y as mt, Z as ht, I as vt, _ as _t, $ as nt, h as gt, a0 as Ue, a1 as bt, a2 as He, u as xt, A as yt, a3 as kt, a4 as Tt, J as wt, a5 as Dt, a6 as It, v as it, a7 as St, M as lt, U as Ct, t as ot, b as Et, a8 as st, p as At, a9 as Pt, aa as Mt, q as Ot, ab as dt, ac as ct, ad as Ft } from "./VenueCalendar-DpZ70okH.js";
3
3
  import * as e from "svelte/internal/client";
4
4
  import "svelte/internal/flags/legacy";
5
5
  import "svelte/transition";
@@ -7,7 +7,7 @@ import "svelte/easing";
7
7
  import { onMount as ft, onDestroy as Bt } from "svelte";
8
8
  import { g as ut } from "./__SKIP_NAVIGATION__-CJ96TTPE.js";
9
9
  import { O as Qt } from "./OrderSummarySkeleton-dDKUH741.js";
10
- import { C as Lt } from "./CheckoutTimer-DQFe_RCq.js";
10
+ import { C as Lt } from "./CheckoutTimer-r1HaN6b6.js";
11
11
  function qt(ie, t) {
12
12
  if (!ie || typeof ie != "object") return {};
13
13
  if (!Array.isArray(t) || t.length === 0) {
@@ -184,9 +184,9 @@ function ea(ie, t) {
184
184
  return null;
185
185
  }
186
186
  })());
187
- var _e = $t();
187
+ var be = $t();
188
188
  let Fe;
189
- var Ee = e.child(_e), Be = e.child(Ee), Ae = e.child(Be), Te = e.child(Ae), Ne = e.child(Te, !0);
189
+ var Ee = e.child(be), Be = e.child(Ee), Ae = e.child(Be), Te = e.child(Ae), Ne = e.child(Te, !0);
190
190
  e.reset(Te), e.reset(Ae);
191
191
  var Pe = e.sibling(Ae, 2);
192
192
  {
@@ -258,7 +258,7 @@ function ea(ie, t) {
258
258
  });
259
259
  }
260
260
  e.reset(Be), e.reset(Ee);
261
- var Qe = e.sibling(Ee, 4), be = e.child(Qe), Oe = e.child(be);
261
+ var Qe = e.sibling(Ee, 4), xe = e.child(Qe), Oe = e.child(xe);
262
262
  {
263
263
  var Ge = (l) => {
264
264
  var n = Ht(), v = e.child(n);
@@ -348,8 +348,8 @@ function ea(ie, t) {
348
348
  e.get(J) ? l(Ge) : e.get(d) !== null ? l($e, 1) : e.get(se) === 0 ? l(De, 2) : l(le, !1);
349
349
  });
350
350
  }
351
- e.reset(be);
352
- var ze = e.sibling(be, 2);
351
+ e.reset(xe);
352
+ var ze = e.sibling(xe, 2);
353
353
  {
354
354
  var Ve = (l) => {
355
355
  var n = Jt(), v = e.child(n);
@@ -443,19 +443,19 @@ function ea(ie, t) {
443
443
  i() && s() !== "sales_ended" && s() !== "scheduled" && l(Le);
444
444
  });
445
445
  }
446
- e.reset(Qe), e.reset(_e), e.template_effect(
446
+ e.reset(Qe), e.reset(be), e.template_effect(
447
447
  (l, n, v) => {
448
- Fe = e.set_class(_e, 1, `ticket-block rounded-lg border transition-all ${b() > 0 ? "shadow-sm" : ""}`, "svelte-12zmutv", Fe, {
448
+ Fe = e.set_class(be, 1, `ticket-block rounded-lg border transition-all ${b() > 0 ? "shadow-sm" : ""}`, "svelte-12zmutv", Fe, {
449
449
  selected: b() > 0,
450
450
  "disabled-ticket": I() || s() === "scheduled" || s() === "sales_ended"
451
- }), e.set_attribute(_e, "aria-label", `${l ?? ""}${(I() ? f().ticketSoldOutSuffix || ", sold out" : "") ?? ""}${(s() === "scheduled" ? f().ticketSalesNotStartedSuffix || ", sales not yet started" : "") ?? ""}${(s() === "sales_ended" ? f().ticketSalesEndedSuffix || ", sales ended" : "") ?? ""}`), e.set_attribute(Te, "id", `ticket-title-${n ?? ""}`), e.set_text(Ne, t.title), e.set_attribute(be, "id", `ticket-price-${v ?? ""}`);
451
+ }), e.set_attribute(be, "aria-label", `${l ?? ""}${(I() ? f().ticketSoldOutSuffix || ", sold out" : "") ?? ""}${(s() === "scheduled" ? f().ticketSalesNotStartedSuffix || ", sales not yet started" : "") ?? ""}${(s() === "sales_ended" ? f().ticketSalesEndedSuffix || ", sales ended" : "") ?? ""}`), e.set_attribute(Te, "id", `ticket-title-${n ?? ""}`), e.set_text(Ne, t.title), e.set_attribute(xe, "id", `ticket-price-${v ?? ""}`);
452
452
  },
453
453
  [
454
454
  () => (f().ticketAriaLabel || "{title} ticket").replace("{title}", t.title),
455
455
  () => t.title?.replace(/\s+/g, "-").toLowerCase() || "ticket",
456
456
  () => t.title?.replace(/\s+/g, "-").toLowerCase() || "ticket"
457
457
  ]
458
- ), e.append(ie, _e), e.pop();
458
+ ), e.append(ie, be), e.pop();
459
459
  }
460
460
  var ta = e.from_html('<div class="rounded-lg overflow-hidden animate-pulse bg-surface-primary border-default" role="status" aria-busy="true"><span class="sr-only svelte-1hpsukj">Loading ticket...</span> <div class="px-3 py-2.5 rounded-t-lg border-t border-l border-r border-border" aria-hidden="true"><div class="skeleton h-4 w-2/3 mb-2"></div> <div class="skeleton h-3 w-1/2"></div></div> <div class="flex items-center gap-2" aria-hidden="true"><div class="border w-6 rounded-full h-6 -ml-3 -mt-0.5 bg-card border-border"></div> <hr class="skeleton-divider w-full my-3 svelte-1hpsukj"/> <div class="border w-6 rounded-full h-6 -mr-3 -mt-0.5 bg-card border-border"></div></div> <div class="flex justify-between items-center px-3 py-2.5 rounded-b-lg -mt-0.5 border-b border-l border-r border-border" aria-hidden="true"><div class="space-y-1"><div class="h-4 rounded w-16 bg-bg-tertiary"></div> <div class="h-3 rounded w-20 bg-muted"></div></div> <div class="flex items-center gap-2"><div class="w-10 h-10 rounded-md bg-bg-tertiary"></div> <div class="w-10 h-10 rounded-md bg-muted"></div> <div class="w-10 h-10 rounded-md bg-bg-tertiary"></div></div></div></div>');
461
461
  function aa(ie, t) {
@@ -535,8 +535,8 @@ function la(ie, t) {
535
535
  var ue = (G) => {
536
536
  var Y = e.comment(), ne = e.first_child(Y);
537
537
  e.each(ne, 17, u, e.index, (ve, _) => {
538
- const qe = e.derived(() => e.get(_).visibility >= 2 && h() || i().includes(e.get(_).ID)), ke = e.derived(() => S()?.discountTicketIds || []), ge = e.derived(() => e.get(ke).length === 0 || e.get(ke).includes(e.get(_).ID)), _e = e.derived(() => S()?.provideDiscount && e.get(ge) && (S()?.discountType === "%" || S()?.discountType === "$")), Fe = e.derived(() => (() => {
539
- if (!e.get(_e)) return null;
538
+ const qe = e.derived(() => e.get(_).visibility >= 2 && h() || i().includes(e.get(_).ID)), ke = e.derived(() => S()?.discountTicketIds || []), ge = e.derived(() => e.get(ke).length === 0 || e.get(ke).includes(e.get(_).ID)), be = e.derived(() => S()?.provideDiscount && e.get(ge) && (S()?.discountType === "%" || S()?.discountType === "$")), Fe = e.derived(() => (() => {
539
+ if (!e.get(be)) return null;
540
540
  const Se = parseFloat(e.get(_).price) || 0, we = parseFloat(S()?.amount || "0") || 0;
541
541
  return S().discountType === "%" ? (Se * (1 - we / 100)).toFixed(2) : S().discountType === "$" ? Math.max(
542
542
  0,
@@ -546,7 +546,7 @@ function la(ie, t) {
546
546
  })()), Ee = e.derived(() => H(e.get(_))), Be = e.derived(() => oe(e.get(_))), Ae = e.derived(() => e.get(_).minQuantity ?? 1), Te = e.derived(() => e.get(_).remainingCapacity), Ne = e.derived(() => e.get(_).soldOut || e.get(Te) !== null && e.get(Te) !== void 0 && e.get(Ae) > e.get(Te)), Pe = e.derived(() => e.get(_).type ?? 0);
547
547
  e.derived(() => e.get(Pe) === 2);
548
548
  {
549
- let Se = e.derived(() => I()[e.get(_).ID] ?? 0), we = e.derived(() => e.get(_).totalCapacity ?? e.get(_).quantity ?? e.get(_).remainingCapacity), Me = e.derived(() => e.get(_).minQuantity ?? 1), Qe = e.derived(() => e.get(_).maxQuantity ?? null), be = e.derived(() => s()[e.get(_).ID] ?? "");
549
+ let Se = e.derived(() => I()[e.get(_).ID] ?? 0), we = e.derived(() => e.get(_).totalCapacity ?? e.get(_).quantity ?? e.get(_).remainingCapacity), Me = e.derived(() => e.get(_).minQuantity ?? 1), Qe = e.derived(() => e.get(_).maxQuantity ?? null), xe = e.derived(() => s()[e.get(_).ID] ?? "");
550
550
  ea(ve, {
551
551
  get labels() {
552
552
  return C();
@@ -594,13 +594,13 @@ function la(ie, t) {
594
594
  return e.get(qe);
595
595
  },
596
596
  get isDiscounted() {
597
- return e.get(_e);
597
+ return e.get(be);
598
598
  },
599
599
  get ticketType() {
600
600
  return e.get(Pe);
601
601
  },
602
602
  get donationAmount() {
603
- return e.get(be);
603
+ return e.get(xe);
604
604
  },
605
605
  onincrement: () => t.handleQuantityChange(e.get(_).ID, 1),
606
606
  ondecrement: () => t.handleQuantityChange(e.get(_).ID, -1),
@@ -894,7 +894,7 @@ function ha(ie, t) {
894
894
  }), e.append(ie, ee), e.pop();
895
895
  }
896
896
  e.delegate(["click"]);
897
- const xe = gt("CartView");
897
+ const _e = gt("CartView");
898
898
  var _a = e.from_html('<div class="flex items-center justify-center py-12" role="status" aria-live="polite"><p class="text-text-secondary"> </p></div>'), ba = e.from_html('<div class="text-center py-8" role="alert"><p class="text-accent-danger mb-2"> </p> <button class="go-back-btn text-white mt-4 px-4 py-2 rounded-lg svelte-19g9ni4"> </button></div>'), xa = e.from_html('<div class="text-center py-12" role="alert"><p class="text-xl font-semibold text-text-primary mb-2"> </p> <p class="text-text-secondary mb-6"> </p> <button class="go-back-btn text-white px-4 py-2 rounded-lg svelte-19g9ni4"> </button></div>'), ya = e.from_html('<div class="text-center py-12" role="alert"><p class="text-xl font-semibold text-text-primary mb-2">This event has ended</p> <p class="text-text-secondary mb-6">Tickets are no longer available for this event.</p> <button class="go-back-btn px-4 py-2 rounded-lg svelte-19g9ni4" aria-label="Go back to event details">Go back</button></div>'), ka = e.from_html('<div class="px-4 md:px-5 pt-3"><!></div>'), Ta = e.from_html('<div class="px-4 md:px-5 pt-3"><!></div>'), wa = e.from_html('<div class="hidden md:block w-80 h-[calc(100vh-40px)]"></div>'), Da = e.from_html('<div class="w-full flex md:gap-5 flex-wrap"><div class="flex-1 pb-16 md:pb-0"><div class="bg-card border-border rounded-lg md:shadow md:border py-3"><!> <!> <!> <div class="space-y-4 md:px-5"><!></div></div></div> <!> <div><!></div></div>'), Ia = e.from_html('<h3 id="error-modal-title" class="heading-lg"><!></h3>'), Sa = e.from_html('<p class="body-sm"> </p> <p class="text-text-secondary mt-2"> </p>', 1), Ca = e.from_html('<p class="body-sm"> </p> <p class="text-text-secondary mt-2"> </p>', 1), Ea = e.from_html('<div id="error-modal-description"><!></div>'), Aa = e.from_html("<!> <!>", 1), Pa = e.from_html('<div role="group" aria-label="Error modal actions"><!></div>'), Ma = e.from_html('<div class="fixed inset-0 z-50 flex items-center justify-center bg-black/50" role="alertdialog" aria-labelledby="expired-modal-title" aria-describedby="expired-modal-description"><div class="bg-card rounded-xl shadow-lg p-6 max-w-sm mx-4 text-center"><h3 id="expired-modal-title" class="text-lg font-semibold text-text-primary mb-2"> </h3> <p id="expired-modal-description" class="text-text-secondary text-sm mb-6"> </p> <button class="px-6 py-2.5 bg-brand-primary text-white rounded-lg font-medium hover:opacity-90 transition-opacity"> </button></div></div>'), Oa = e.from_html('<h3 id="availability-modal-title" class="heading-lg"> </h3>'), Fa = e.from_html('<li class="text-text-secondary text-sm"><span class="font-medium"> </span> <!></li>'), Ba = e.from_html('<p class="text-text-secondary mt-4"> </p>'), Qa = e.from_html('<p class="text-text-secondary mt-4"> </p>'), La = e.from_html('<div id="availability-modal-description"><p class="text-text-secondary mb-4"> </p> <ul class="space-y-2"></ul> <!></div>'), qa = e.from_html('<div role="group" aria-label="Availability modal actions"><!> <!></div>'), Na = e.from_html('<div class="px-5 md:px-10 py-12 bg-card"><!></div> <!> <!> <!>', 1);
899
899
  function Ja(ie, t) {
900
900
  e.push(t, !0);
@@ -911,7 +911,7 @@ function Ja(ie, t) {
911
911
  },
912
912
  0
913
913
  ))), G = e.state(0), Y = e.state(0), ne = e.state(0), ve = e.state(!1), _ = null, qe = e.derived(() => it(e.get(ye) + e.get(G) + e.get(Y))), ke = !1, ge = !1;
914
- function _e(a, r) {
914
+ function be(a, r) {
915
915
  e.set(
916
916
  T,
917
917
  {
@@ -937,7 +937,7 @@ function Ja(ie, t) {
937
937
  });
938
938
  a?.success && a.uuid && (ge = !0, Ve());
939
939
  } catch (a) {
940
- xe.error("Error creating cart on ticket select:", a);
940
+ _e.error("Error creating cart on ticket select:", a);
941
941
  } finally {
942
942
  ke = !1;
943
943
  }
@@ -982,14 +982,14 @@ function Ja(ie, t) {
982
982
  body: JSON.stringify({ venueId: Number(e.get(i).venueID), lineItems: a })
983
983
  });
984
984
  if (!r.ok) {
985
- xe.error("Tax preview failed:", r.status), e.set(ne, 0), e.set(Y, 0), e.set(ve, !1);
985
+ r.status === 422 ? _e.debug("Tax preview: venue has no tax address, falling back to 0") : _e.error("Tax preview failed:", r.status), e.set(ne, 0), e.set(Y, 0), e.set(ve, !1);
986
986
  return;
987
987
  }
988
988
  const o = await r.json();
989
989
  e.set(ne, (o.taxTotal ?? 0) / 100), e.set(Y, e.get(ne), !0);
990
990
  } catch (r) {
991
991
  if (r.name === "AbortError") return;
992
- xe.error("Tax preview error:", r), e.set(ne, 0), e.set(Y, 0);
992
+ _e.error("Tax preview error:", r), e.set(ne, 0), e.set(Y, 0);
993
993
  } finally {
994
994
  _?.signal?.aborted || e.set(ve, !1);
995
995
  }
@@ -1020,7 +1020,7 @@ function Ja(ie, t) {
1020
1020
  }
1021
1021
  return r;
1022
1022
  } catch (a) {
1023
- return xe.error("Error checking ticket availability:", a), [];
1023
+ return _e.error("Error checking ticket availability:", a), [];
1024
1024
  }
1025
1025
  }
1026
1026
  async function Ne() {
@@ -1053,7 +1053,7 @@ function Ja(ie, t) {
1053
1053
  }
1054
1054
  e.set(G, a.serviceFee ?? 0, !0), e.set(k, !0);
1055
1055
  } catch (a) {
1056
- xe.error("Order initiation failed:", a), e.set(H, !1), e.set(w, "cart_failed"), e.set(u, !0);
1056
+ _e.error("Order initiation failed:", a), e.set(H, !1), e.set(w, "cart_failed"), e.set(u, !0);
1057
1057
  return;
1058
1058
  }
1059
1059
  try {
@@ -1066,7 +1066,7 @@ function Ja(ie, t) {
1066
1066
  const r = `/?${a.toString()}`;
1067
1067
  ut(r, { noScroll: !1 }), e.set(H, !1);
1068
1068
  } catch (a) {
1069
- xe.error("Navigation failed after cart creation:", a), e.set(H, !1), e.set(w, "cart_success_network_error"), e.set(u, !0);
1069
+ _e.error("Navigation failed after cart creation:", a), e.set(H, !1), e.set(w, "cart_success_network_error"), e.set(u, !0);
1070
1070
  }
1071
1071
  }
1072
1072
  function Se() {
@@ -1086,7 +1086,7 @@ function Ja(ie, t) {
1086
1086
  function Qe() {
1087
1087
  e.set(u, !1), window.location.reload();
1088
1088
  }
1089
- function be() {
1089
+ function xe() {
1090
1090
  e.set(ce, window.innerWidth < 767);
1091
1091
  }
1092
1092
  let Oe = !1;
@@ -1170,7 +1170,7 @@ function Ja(ie, t) {
1170
1170
  const c = await st(t.eventId, o);
1171
1171
  c.length > 0 && e.get(i) && e.set(i, { ...e.get(i), availableTickets: c }, !0);
1172
1172
  } catch (c) {
1173
- xe.error("Error re-fetching tickets with promo:", c);
1173
+ _e.error("Error re-fetching tickets with promo:", c);
1174
1174
  }
1175
1175
  }
1176
1176
  let et = e.derived(() => e.get(i) ? Ue(`checkout-promo-reveal-${e.get(i).eventID}`) === "1" : !1), Re = e.derived(() => {
@@ -1202,7 +1202,7 @@ function Ja(ie, t) {
1202
1202
  if (e.set(S, await Et(t.eventId), !0), !e.get(N)) return;
1203
1203
  e.set(i, ot(e.get(S)), !0);
1204
1204
  } catch (o) {
1205
- xe.error("Event fetch failed:", o), e.set(ee, s().failedToLoadEvent || "Failed to load event", !0), e.set(oe, !1);
1205
+ _e.error("Event fetch failed:", o), e.set(ee, s().failedToLoadEvent || "Failed to load event", !0), e.set(oe, !1);
1206
1206
  return;
1207
1207
  }
1208
1208
  try {
@@ -1210,7 +1210,7 @@ function Ja(ie, t) {
1210
1210
  e.get(C).length > 0 && (e.get(i).availableTickets = e.get(C));
1211
1211
  } catch (o) {
1212
1212
  if (!e.get(N)) return;
1213
- xe.error("Error fetching tickets:", o), e.set(C, e.get(i).availableTickets || [], !0);
1213
+ _e.error("Error fetching tickets:", o), e.set(C, e.get(i).availableTickets || [], !0);
1214
1214
  }
1215
1215
  }
1216
1216
  e.get(i).availableTickets && e.get(i).availableTickets.forEach((o) => e.get(T)[o.ID] = 0);
@@ -1219,18 +1219,18 @@ function Ja(ie, t) {
1219
1219
  return;
1220
1220
  e.set(h, !0), Ee(), Object.values(e.get(T)).reduce((o, g) => o + g, 0) > 0 && Ve(), Ae(), await Mt({ eventID: e.get(i).eventID });
1221
1221
  } catch (a) {
1222
- e.get(N) && (xe.error("Error loading event:", a), e.set(ee, a.message || s().failedToLoadEvent || "Failed to load event", !0));
1222
+ e.get(N) && (_e.error("Error loading event:", a), e.set(ee, a.message || s().failedToLoadEvent || "Failed to load event", !0));
1223
1223
  } finally {
1224
1224
  e.get(N) && e.set(oe, !1);
1225
1225
  }
1226
1226
  }
1227
1227
  }
1228
- ft(async () => (e.set(N, !0), be(), window.addEventListener("resize", be), window.addEventListener("scroll", Ge), await Ye(), St(t.eventId).then((a) => {
1228
+ ft(async () => (e.set(N, !0), xe(), window.addEventListener("resize", xe), window.addEventListener("scroll", Ge), await Ye(), St(t.eventId).then((a) => {
1229
1229
  e.set(x, a, !0);
1230
1230
  }).catch(() => {
1231
1231
  e.set(x, !0);
1232
1232
  }), () => {
1233
- window.removeEventListener("resize", be), window.removeEventListener("scroll", Ge);
1233
+ window.removeEventListener("resize", xe), window.removeEventListener("scroll", Ge);
1234
1234
  })), Bt(() => {
1235
1235
  e.set(N, !1), X && clearInterval(X), _ && _.abort();
1236
1236
  });
@@ -1336,7 +1336,7 @@ function Ja(ie, t) {
1336
1336
  get quantities() {
1337
1337
  return e.get(T);
1338
1338
  },
1339
- handleQuantityChange: _e,
1339
+ handleQuantityChange: be,
1340
1340
  get revealHiddenTickets() {
1341
1341
  return e.get(et);
1342
1342
  },
@@ -1664,4 +1664,4 @@ e.delegate(["click"]);
1664
1664
  export {
1665
1665
  Ja as default
1666
1666
  };
1667
- //# sourceMappingURL=CartView-C0wKcLTe.js.map
1667
+ //# sourceMappingURL=CartView-DrOhr4Qi.js.map