@getmicdrop/venue-calendar 4.3.136 → 4.3.138

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 (265) hide show
  1. package/dist/{AddOnCard-Ck_b8lsf.js → AddOnCard-DEAC26HA.js} +102 -105
  2. package/dist/AppError-t1LnBwj_.js +30 -0
  3. package/dist/{ArrowLeftIcon-OhmQKtD4.js → ArrowLeftIcon-P8BRVhVl.js} +2 -3
  4. package/dist/Badge-CmYqIClC.js +51 -0
  5. package/dist/{BlockPlaceholder-Cjbm5hoG.js → BlockPlaceholder-BKfoE795.js} +30 -23
  6. package/dist/BottomSheet-D27k0B05.js +154 -0
  7. package/dist/Button-B1cBhdtC.js +234 -0
  8. package/dist/Button-B_gbGd63.js +149 -0
  9. package/dist/Calendar-9xskvKUf.js +395 -0
  10. package/dist/CalendarFoundryView-DbxZNmY7.js +16356 -0
  11. package/dist/{CalendarIcon-DCLzgpBo.js → CalendarIcon-MAVEqtql.js} +2 -3
  12. package/dist/{CloseOutline-qpVa62mu.js → CalendarOutline-CApIWx8i.js} +2 -3
  13. package/dist/CartView-DMINN6bY.js +2200 -0
  14. package/dist/{ChartBlock-SYOAO1s_.js → ChartBlock-DcsCXfX8.js} +85 -112
  15. package/dist/{CheckIcon-BjPbytbt.js → CheckIcon-BH9EAoee.js} +2 -3
  16. package/dist/{Checkbox-BtJwg_CF.js → Checkbox-sObkYRdj.js} +2 -3
  17. package/dist/Checkout-H9RGBU9D.js +1071 -0
  18. package/dist/Checkout-VnochAZE.js +1967 -0
  19. package/dist/{CheckoutTimer-DzYupNUI.js → CheckoutTimer-mjcYR3XU.js} +9 -11
  20. package/dist/{ChevronDownIcon-O-Q8C_Qg.js → ChevronDownIcon-Bkts84qA.js} +2 -3
  21. package/dist/{ChevronDownOutline-D7YDiKBF.js → ChevronDownOutline-kFgRY2cg.js} +1 -2
  22. package/dist/{ChevronRightOutline-CiG8UHni.js → ChevronRightOutline-D-5Qw6-Y.js} +2 -4
  23. package/dist/CloseIcon-DRlYvIPc.js +24 -0
  24. package/dist/{CollectionView-Dp529P99.js → CollectionView-C0vDg5oJ.js} +48 -58
  25. package/dist/CropImage-BWYeQXXA.js +547 -0
  26. package/dist/DatePicker-v-4ijT8N.js +650 -0
  27. package/dist/{EmptyState-CMFePII9.js → EmptyState-BhK78ogy.js} +10 -12
  28. package/dist/{Event-BHnHfeO-.js → Event-vlu8IAxh.js} +1181 -1187
  29. package/dist/{EventCard-DIFJADV7.js → EventCard-puoh3xag.js} +15 -15
  30. package/dist/{EventPage-DGrkeBd_.js → EventPage-DycxjX5Z.js} +391 -446
  31. package/dist/{ExclamationCircleOutline-D3XbhOwM.js → ExclamationCircleOutline-CPelT1Bu.js} +1 -2
  32. package/dist/FilterChipGroup-DUGvOaRI.js +103 -0
  33. package/dist/Grid-DRRXcWRE.js +41 -0
  34. package/dist/{Heading-vOVPxhJF.js → Heading-WcF3Rh3o.js} +4 -6
  35. package/dist/Image-dhbgrhG-.js +89 -0
  36. package/dist/ImageUploader-CKrf5amy.js +1050 -0
  37. package/dist/{Input-BG9DbwUe.js → Input-BQk4itex.js} +43 -43
  38. package/dist/LiveRegion-Ds0mjIVj.js +17 -0
  39. package/dist/{LocationIcon-BEx96ng8.js → LocationIcon-BNPEzWv2.js} +3 -5
  40. package/dist/{Modal-rt9KVfYa.js → Modal-DOpDiAwN.js} +3 -4
  41. package/dist/ModalFooter-gFaDKsfj.js +299 -0
  42. package/dist/ModalTitle-CS5AGwrU.js +26 -0
  43. package/dist/{PasswordInput-BQdpZ9HL.js → PasswordInput-C65GqxdF.js} +11 -13
  44. package/dist/{PhoneInput-5l-M5ykF.js → PhoneInput-Dj1I3bEn.js} +80 -89
  45. package/dist/{RecommendationsRail-BRthm1Iu.js → RecommendationsRail-DC5qX1ei.js} +145 -159
  46. package/dist/RequiredIndicator-CRZ_coyR.js +16 -0
  47. package/dist/{ScarcityBadge-Dt0r5r2M.js → ScarcityBadge-BAaV2CIY.js} +37 -41
  48. package/dist/Search-BE64QcmK.js +82 -0
  49. package/dist/SearchIcon-BzOhoKm8.js +24 -0
  50. package/dist/{SeriesPage-0sHD6hcq.js → SeriesPage-Cx89s2B6.js} +6 -7
  51. package/dist/SheetHandle-CCfYCPbY.js +66 -0
  52. package/dist/Skeleton-B6qB_udJ.js +31 -0
  53. package/dist/SkeletonLoader-DfW0N9R3.js +121 -0
  54. package/dist/{Spinner-e-Mg0Eyb.js → Spinner-Bj4dr9kO.js} +7 -7
  55. package/dist/Stack-Ck1wrJ0l.js +34 -0
  56. package/dist/{Success-DWdMk7gp.js → Success-D3CrUeka.js} +273 -305
  57. package/dist/{TagIcon-BIJYPXYq.js → TagIcon-Dp7n6eKU.js} +2 -3
  58. package/dist/{Textarea-Cymhixzd.js → Textarea-BDcuBI13.js} +11 -11
  59. package/dist/TimePicker-HYzPI_Dc.js +215 -0
  60. package/dist/ValidationError-BxKB_SVA.js +48 -0
  61. package/dist/{ViewTicketsEmbed-CjH3N_VJ.js → ViewTicketsEmbed-DzUCgtA3.js} +227 -244
  62. package/dist/{WarningCircleIcon-Uuc8KHJN.js → WarningCircleIcon-jC3nXehu.js} +4 -7
  63. package/dist/{WarningTriIcon-SX24XObM.js → WarningTriIcon-BMa-jcUr.js} +2 -3
  64. package/dist/{__SKIP_NAVIGATION__-AOx8SI54.js → __SKIP_NAVIGATION__-Znm_vYcG.js} +1 -2
  65. package/dist/{__SKIP_PATHS__-C0ixDSSm.js → __SKIP_PATHS__-Bzzrca_a.js} +1 -2
  66. package/dist/address-field-BwGHcMKY.js +295 -0
  67. package/dist/{href-ZuPjzr6t.js → allowlist-Bt1BHhNd.js} +244 -315
  68. package/dist/api/api.cjs +1 -1
  69. package/dist/api/api.mjs +213 -227
  70. package/dist/api/cta.d.ts +4 -0
  71. package/dist/api/events.d.ts +13 -0
  72. package/dist/api-CRHFSJDI.js +502 -0
  73. package/dist/avatar-picker-field-CSF5okeM.js +115 -0
  74. package/dist/{browser-BzcyBbWS.js → browser-DEUBVMmV.js} +8 -9
  75. package/dist/bundle-mjs-COnlheJX.js +1776 -0
  76. package/dist/{buyerEmail-BfCq-gDt.js → buyerEmail-CvPpEiON.js} +2 -3
  77. package/dist/calendar-Cdu8fCIt.js +111 -0
  78. package/dist/checkout-libs/4.3.138/phone.js +6 -0
  79. package/dist/checkout-libs/{4.3.136 → 4.3.138}/qrcode.js +3 -3
  80. package/dist/{checkoutState-wrwq9TD7.js → checkoutState-BDNjJRMG.js} +7 -10
  81. package/dist/classNames-CPSQ9uy4.js +25 -0
  82. package/dist/clickOutside-D448uRpo.js +22 -0
  83. package/dist/{client-SmFkruvn.js → client-BIN_q-of.js} +4 -7
  84. package/dist/colors-CdP193E5.js +106 -0
  85. package/dist/colors-D67OMr_8.js +22 -0
  86. package/dist/{constants-D_7LswXe.js → constants-DrFV2oht.js} +3 -5
  87. package/dist/controlAria-Do9QK0WI.js +13 -0
  88. package/dist/{copyToClipboard-BzoArVPb.js → copyToClipboard-CjNjDZeW.js} +3 -5
  89. package/dist/createErrorGate.svelte-DUXI6Yor.js +82 -0
  90. package/dist/cta-qbcIt5Gh.js +116 -0
  91. package/dist/date-field-3tgOYbzF.js +88 -0
  92. package/dist/date-range-field-D0Aq9me9.js +163 -0
  93. package/dist/datetime-BlEsN_-8.js +176 -0
  94. package/dist/{de-DC0pKC1H.js → de-CUrE_4a4.js} +1 -2
  95. package/dist/{de-BbjhLBzm.js → de-vKpbo9Zl.js} +1 -2
  96. package/dist/defaultLabels-CybwJCNn.js +563 -0
  97. package/dist/defaults-B5wyre5O.js +148 -0
  98. package/dist/deprecation-BCjqE5lW.js +4 -0
  99. package/dist/{dist-bwbfGPKR.js → dist-Dptst9ym.js} +2 -4
  100. package/dist/{es-38yS4d3G.js → es-8qe0Mo-8.js} +1 -2
  101. package/dist/{es-DxoJfXOC.js → es-B2-z2Kft.js} +1 -2
  102. package/dist/{event-DXsgCbu0.js → event-CEg17hts.js} +3 -4
  103. package/dist/event-transform-DqFigNQg.js +250 -0
  104. package/dist/{eventStatusStream-JWP2AXnQ.js → eventStatusStream-DK5fWCTB.js} +4 -7
  105. package/dist/field-rules-CKFFB16Q.js +416 -0
  106. package/dist/file-field-2mPz4Da-.js +210 -0
  107. package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-CuNOjGbP.js} +20 -27
  108. package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-CVtQwdIK.js} +25 -27
  109. package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-CMPs7yGQ.js} +21 -23
  110. package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-DKsOZAGe.js} +12 -27
  111. package/dist/{floatingPosition-XIv5DYuP.js → floatingPosition-BCUPmGCN.js} +8 -13
  112. package/dist/format-CypC4vWs.js +1587 -0
  113. package/dist/formatters-CzKNRUwz.js +113 -0
  114. package/dist/foundryRuntime-DKyfdkUY.js +13 -0
  115. package/dist/{fr-LivMhlfx.js → fr-BmpShjUG.js} +1 -2
  116. package/dist/{fr-DCdoZpLm.js → fr-CiePVIlj.js} +1 -2
  117. package/dist/{gate-password-cache-oOcDm9Ki.js → gate-password-cache-zIbewXQ2.js} +1 -2
  118. package/dist/heic-to-BoLfsr3l.js +70 -0
  119. package/dist/hexToHsl-D-BPy03y.js +24 -0
  120. package/dist/href-DpbLXQ4c.js +18 -0
  121. package/dist/{i18n-Xwod-PFp.js → i18n-B_TWnExv.js} +148 -150
  122. package/dist/i18n-CSaUFnlD.js +26 -0
  123. package/dist/iconWeight-BRXEDAh2.js +12 -0
  124. package/dist/{id-XuEVsPu6.js → id-Ttw95_7t.js} +1 -2
  125. package/dist/{id-BvOr8-aw.js → id-_6GFAYBn.js} +1 -2
  126. package/dist/image-field-B8x0WQ2j.js +139 -0
  127. package/dist/{imageUrl-xyMedKrE.js → imageUrl-iAS2Xo17.js} +1 -2
  128. package/dist/instant-BkZCSGDm.js +162 -0
  129. package/dist/{it-RdUTxnO5.js → it-CBbXcFY1.js} +1 -2
  130. package/dist/{it-mzikQJIm.js → it-Dc-H_PdY.js} +1 -2
  131. package/dist/{ja-DgVJimHs.js → ja-B2Tag7J3.js} +1 -2
  132. package/dist/{ja-D9PSUNMd.js → ja-Cobhk-xH.js} +1 -2
  133. package/dist/keyboard-Dk2PfrEz.js +28 -0
  134. package/dist/{ko-CcPM8_aU.js → ko-CcTn4lAi.js} +1 -2
  135. package/dist/{ko-DEgW43V6.js → ko-CyTlg6vA.js} +1 -2
  136. package/dist/labels-CjSrA6gx.js +9 -0
  137. package/dist/{labels-BGvfcm36.js → labels-D8LN8lY7.js} +1 -2
  138. package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-jG8k1apa.js} +1 -2
  139. package/dist/loaders.static-Bw9asjrm.js +3 -0
  140. package/dist/logger-DM8WW61-.js +89 -0
  141. package/dist/look-island.svelte-B7UH_QVv.js +1270 -0
  142. package/dist/look-names-JI6GE-Zj.js +175 -0
  143. package/dist/looks/4.3.138/looks.js +248 -0
  144. package/dist/media-field-HieD0ye0.js +65 -0
  145. package/dist/modalManager.svelte-BvyrTI6p.js +51 -0
  146. package/dist/multiselect-field-CJ4lUJyS.js +61 -0
  147. package/dist/{navigation-D6W4anEV.js → navigation-DpqP-ahJ.js} +28 -32
  148. package/dist/{nl-DjFukZvI.js → nl-BObQMscG.js} +1 -2
  149. package/dist/{nl-DdxH5fLm.js → nl-DeIqgjIs.js} +1 -2
  150. package/dist/{normalizers-CqGXhPZo.js → normalizers-WYh8Nr3V.js} +3 -5
  151. package/dist/number-field-D5GkkGLB.js +126 -0
  152. package/dist/numeric-filter-field-CRWZFu_P.js +131 -0
  153. package/dist/password-field-DdOHXEOo.js +157 -0
  154. package/dist/phone-CVYVhLn8.js +5 -0
  155. package/dist/phone-field-BaYmp56f.js +129 -0
  156. package/dist/{phoneShape-DlWC17He.js → phoneShape-VqbamHOn.js} +1 -2
  157. package/dist/{phoneUtils-CL8tIxoM.js → phoneUtils-BhOvrS4S.js} +133 -193
  158. package/dist/{pixels-DO7kbZa_.js → pixels-BXXzmoCb.js} +12 -18
  159. package/dist/{pl-B99nQZCh.js → pl-Bm2FcD5y.js} +1 -2
  160. package/dist/{pl-COAiNJDs.js → pl-_Sbz4Ou-.js} +1 -2
  161. package/dist/portal-BSuo4flQ.js +64 -0
  162. package/dist/portalContainment-DSZUw-No.js +78 -0
  163. package/dist/{pt-br-_KntrgGE.js → pt-br-CpmhafxS.js} +1 -2
  164. package/dist/{pt-br-jT56QM8s.js → pt-br-XS1Lsa6z.js} +1 -2
  165. package/dist/qrcode-By7ce_6K.js +5 -0
  166. package/dist/repeating-field-B4OhsaGB.js +488 -0
  167. package/dist/richtext-field-KmUytgBW.js +212 -0
  168. package/dist/{rolldown-runtime-DtPi1Y-2.js → rolldown-runtime-CYdcPHCu.js} +2 -3
  169. package/dist/searchable-select-field-DettZRav.js +138 -0
  170. package/dist/select-field-Wc4gAtou.js +72 -0
  171. package/dist/seo/seo.cjs +1 -1
  172. package/dist/seo/seo.mjs +24 -42
  173. package/dist/seo/types.d.ts +4 -1
  174. package/dist/serverTotals-COsx7Mc5.js +950 -0
  175. package/dist/{showcase-state-options-D5UTR7zF.js → showcase-state-options-CHGUaZtl.js} +5 -5
  176. package/dist/sizing-Chy28j6-.js +61 -0
  177. package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-Wq6bSSEz.js} +29 -49
  178. package/dist/spacing-Y1dLegqt.js +48 -0
  179. package/dist/{src-DZgagYE3.js → src-BpVpi-n3.js} +256 -398
  180. package/dist/time-field-CnxZcziR.js +53 -0
  181. package/dist/to-event-card-props-C9v9dspT.js +245 -0
  182. package/dist/{tr-8IIuKwpQ.js → tr-CN8DGCc-.js} +1 -2
  183. package/dist/{tr-B5sI__p7.js → tr-zKAbMfgi.js} +1 -2
  184. package/dist/transitions-DST-mWoo.js +201 -0
  185. package/dist/tree-picker-field-aqux58EQ.js +344 -0
  186. package/dist/types/index.d.ts +2 -1
  187. package/dist/typography-CKwYSv07.js +57 -0
  188. package/dist/{utils-S6mZHEaC.js → utils-AIszIHUb.js} +8 -11
  189. package/dist/variants-B46fK2iV.js +63 -0
  190. package/dist/{venue-BBoZBuhu.js → venue-DLkL7xdj.js} +1 -2
  191. package/dist/venue-calendar.css +1 -1
  192. package/dist/venue-calendar.es.js +1636 -1802
  193. package/dist/venue-calendar.iife.js +24 -39
  194. package/dist/venue-calendar.umd.js +68 -76
  195. package/dist/{widget-key-context-Xn6MT23x.js → widget-key-context-BrWW0fyM.js} +28 -43
  196. package/dist/{zh-apNTBV5B.js → zh-BaZ_hYJV.js} +1 -2
  197. package/dist/{zh-DLwlt3JO.js → zh-DHfgJplH.js} +1 -2
  198. package/package.json +14 -14
  199. package/src/lib/theme.js +222 -222
  200. package/dist/Button-B58iYo_t.js +0 -1951
  201. package/dist/Button-VUB2WJ88.js +0 -178
  202. package/dist/Calendar-B6yNPdBl.js +0 -466
  203. package/dist/CalendarFoundryView-BfGZj-_Z.js +0 -21608
  204. package/dist/CartView-CA_wZlil.js +0 -2304
  205. package/dist/Checkout-C_Dn_RZI.js +0 -1878
  206. package/dist/Checkout-JdT81S88.js +0 -1082
  207. package/dist/CloseIcon-40klpaYz.js +0 -35
  208. package/dist/CropImage-D1M-bKxG.js +0 -548
  209. package/dist/Grid-kuP6V0GW.js +0 -89
  210. package/dist/ModalFooter-Cru7v0io.js +0 -394
  211. package/dist/ModalHeader-CpgkuttK.js +0 -18
  212. package/dist/action-test-id-7RXdHucW.js +0 -145
  213. package/dist/adapter-z116JHU0.js +0 -164
  214. package/dist/api-Dvn2tGdx.js +0 -489
  215. package/dist/checkout-libs/4.3.136/phone.js +0 -6
  216. package/dist/controlAria-CGb-KeRn.js +0 -30
  217. package/dist/createErrorGate.svelte-CZVc_TpX.js +0 -114
  218. package/dist/cta-CTb57V0F.js +0 -116
  219. package/dist/datetime-Co_z9IUQ.js +0 -410
  220. package/dist/defaultLabels-Q5_A1ZrR.js +0 -2558
  221. package/dist/defaults-BDbx3_c0.js +0 -96
  222. package/dist/event-transform-iOZIJrTf.js +0 -353
  223. package/dist/i18n-cI0EPfvw.js +0 -28
  224. package/dist/imageOptimizer-Gew5vPWh.js +0 -224
  225. package/dist/keyboard-DhCcdIyh.js +0 -55
  226. package/dist/loaders.static-xwcJwfk2.js +0 -4
  227. package/dist/look-island.svelte-BldqMkPS.js +0 -1305
  228. package/dist/looks/4.3.136/looks.js +0 -242
  229. package/dist/modalManager.svelte-Cz_6x1Qd.js +0 -37
  230. package/dist/phone-D76_-CNi.js +0 -6
  231. package/dist/portal-D-oaEWsY.js +0 -43
  232. package/dist/portalContainment-CeAVqIb-.js +0 -281
  233. package/dist/qrcode-Cehaq1db.js +0 -6
  234. package/dist/serverTotals-C-S3hONA.js +0 -712
  235. package/dist/sizing-B7ixYndz.js +0 -216
  236. package/dist/to-event-card-props-CPYickue.js +0 -205
  237. /package/dist/locales/{4.3.136 → 4.3.138}/flow/de.js +0 -0
  238. /package/dist/locales/{4.3.136 → 4.3.138}/flow/es.js +0 -0
  239. /package/dist/locales/{4.3.136 → 4.3.138}/flow/fr.js +0 -0
  240. /package/dist/locales/{4.3.136 → 4.3.138}/flow/id.js +0 -0
  241. /package/dist/locales/{4.3.136 → 4.3.138}/flow/it.js +0 -0
  242. /package/dist/locales/{4.3.136 → 4.3.138}/flow/ja.js +0 -0
  243. /package/dist/locales/{4.3.136 → 4.3.138}/flow/ko.js +0 -0
  244. /package/dist/locales/{4.3.136 → 4.3.138}/flow/nl.js +0 -0
  245. /package/dist/locales/{4.3.136 → 4.3.138}/flow/pl.js +0 -0
  246. /package/dist/locales/{4.3.136 → 4.3.138}/flow/pt-br.js +0 -0
  247. /package/dist/locales/{4.3.136 → 4.3.138}/flow/tr.js +0 -0
  248. /package/dist/locales/{4.3.136 → 4.3.138}/flow/zh.js +0 -0
  249. /package/dist/locales/{4.3.136 → 4.3.138}/main/de.js +0 -0
  250. /package/dist/locales/{4.3.136 → 4.3.138}/main/es.js +0 -0
  251. /package/dist/locales/{4.3.136 → 4.3.138}/main/fr.js +0 -0
  252. /package/dist/locales/{4.3.136 → 4.3.138}/main/id.js +0 -0
  253. /package/dist/locales/{4.3.136 → 4.3.138}/main/it.js +0 -0
  254. /package/dist/locales/{4.3.136 → 4.3.138}/main/ja.js +0 -0
  255. /package/dist/locales/{4.3.136 → 4.3.138}/main/ko.js +0 -0
  256. /package/dist/locales/{4.3.136 → 4.3.138}/main/nl.js +0 -0
  257. /package/dist/locales/{4.3.136 → 4.3.138}/main/pl.js +0 -0
  258. /package/dist/locales/{4.3.136 → 4.3.138}/main/pt-br.js +0 -0
  259. /package/dist/locales/{4.3.136 → 4.3.138}/main/tr.js +0 -0
  260. /package/dist/locales/{4.3.136 → 4.3.138}/main/zh.js +0 -0
  261. /package/dist/looks/{4.3.136 → 4.3.138}/micdrop-wordmark-BYMG6vLR.svg +0 -0
  262. /package/dist/looks/{4.3.136 → 4.3.138}/microphone-Ccv4r-kd.webp +0 -0
  263. /package/dist/looks/{4.3.136 → 4.3.138}/superuser-CZF6a5gO.webp +0 -0
  264. /package/dist/looks/{4.3.136 → 4.3.138}/treasury-DUE7lZzT.webp +0 -0
  265. /package/dist/looks/{4.3.136 → 4.3.138}/user-image-yuS4errP.svg +0 -0
@@ -1,20 +1,22 @@
1
- import { X as e, d as t, n } from "./datetime-Co_z9IUQ.js";
2
- import { t as r } from "./copyToClipboard-BzoArVPb.js";
3
- import { _ as i, f as a, w as o, y as s } from "./defaultLabels-Q5_A1ZrR.js";
4
- import { r as c } from "./Button-VUB2WJ88.js";
5
- import { n as l } from "./widget-key-context-Xn6MT23x.js";
6
- import { t as u } from "./Heading-vOVPxhJF.js";
7
- import { c as d, g as f, u as p } from "./client-SmFkruvn.js";
8
- import { t as m } from "./Grid-kuP6V0GW.js";
9
- import { t as h } from "./EventCard-DIFJADV7.js";
10
- import { n as g } from "./imageUrl-xyMedKrE.js";
11
- import { _ } from "./navigation-D6W4anEV.js";
12
- import { o as v, t as y } from "./to-event-card-props-CPYickue.js";
13
- import { t as b } from "./event-DXsgCbu0.js";
14
- import { t as x } from "./venue-BBoZBuhu.js";
1
+ import { n as e } from "./iconWeight-BRXEDAh2.js";
2
+ import { t } from "./copyToClipboard-CjNjDZeW.js";
3
+ import { n, s as r } from "./instant-BkZCSGDm.js";
4
+ import { n as i } from "./AppError-t1LnBwj_.js";
5
+ import { c as a, d as o } from "./format-CypC4vWs.js";
6
+ import { n as s } from "./widget-key-context-BrWW0fyM.js";
7
+ import { t as c } from "./Heading-WcF3Rh3o.js";
8
+ import { c as l, g as u, u as d } from "./client-BIN_q-of.js";
9
+ import { s as f, t as p } from "./to-event-card-props-C9v9dspT.js";
10
+ import { t as m } from "./Grid-DRRXcWRE.js";
11
+ import { t as h } from "./EventCard-puoh3xag.js";
12
+ import { n as g } from "./imageUrl-iAS2Xo17.js";
13
+ import { _ } from "./navigation-DpqP-ahJ.js";
14
+ import { d as v, n as y } from "./datetime-BlEsN_-8.js";
15
+ import { t as b } from "./event-CEg17hts.js";
16
+ import { t as x } from "./venue-DLkL7xdj.js";
15
17
  import "svelte/internal/disclose-version";
16
18
  import * as S from "svelte/internal/client";
17
- //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
19
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
18
20
  var C = S.from_svg("<path d=\"M216,112v96a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V112A16,16,0,0,1,56,96h64v48a8,8,0,0,0,16,0V96h64A16,16,0,0,1,216,112ZM136,43.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,69.66L120,43.31V96h16Z\"></path>"), w = S.from_svg("<path d=\"M176,104h24a8,8,0,0,1,8,8v96a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8H80\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><polyline points=\"88 64 128 24 168 64\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline><line x1=\"128\" y1=\"24\" x2=\"128\" y2=\"136\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line>", 1), T = S.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
19
21
  function E(t, n) {
20
22
  S.push(n, !0);
@@ -34,8 +36,7 @@ function E(t, n) {
34
36
  S.set_class(c, 0, S.clsx(a())), S.set_attribute(c, "width", r()), S.set_attribute(c, "height", r()), l = S.set_style(c, "", l, { color: i() === "currentColor" ? void 0 : i() });
35
37
  }), S.append(t, c), S.pop();
36
38
  }
37
- //#endregion
38
- //#region src/lib/api/transformers/address.ts
39
+ // src/lib/api/transformers/address.ts
39
40
  function D(e) {
40
41
  if (!e) return [];
41
42
  let t = e.split(",").map((e) => e.trim());
@@ -50,8 +51,7 @@ function D(e) {
50
51
  function O(e) {
51
52
  return e ? `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(e)}` : "";
52
53
  }
53
- //#endregion
54
- //#region src/lib/api/transformers/faq.ts
54
+ // src/lib/api/transformers/faq.ts
55
55
  var k = "FAQ", A = 40, j = /^q\s*[:.)-]\s*/i, M = /^a\s*[:.)-]\s*/i;
56
56
  function N(e) {
57
57
  if (Array.isArray(e)) return e.map((e) => ({
@@ -74,24 +74,19 @@ function N(e) {
74
74
  continue;
75
75
  }
76
76
  let a = e.replace(M, "").trim();
77
- if (!i) {
78
- i = {
79
- question: k,
80
- answer: a
81
- };
82
- continue;
83
- }
84
- i.answer = i.answer ? `${i.answer}\n${a}` : a;
77
+ i ? i.answer = i.answer ? `${i.answer}\n${a}` : a : i = {
78
+ question: k,
79
+ answer: a
80
+ };
85
81
  }
86
82
  return i && r.push(i), r.some((e) => e.question !== k) ? r.filter((e) => e.question || e.answer).slice(0, A) : [{
87
83
  question: k,
88
84
  answer: n.join("\n")
89
85
  }];
90
86
  }
91
- //#endregion
92
- //#region src/lib/api/transformers/series.ts
87
+ // src/lib/api/transformers/series.ts
93
88
  function P(e) {
94
- let t = e.seriesId ?? e.id ?? 0, r = e, i = s(e.timeZone || r.timezone || r.time_zone), a = g(e.image || "", { cdn: !0 }), o = (e.occurrences || []).map((e) => {
89
+ let t = e.seriesId ?? e.id ?? 0, n = e, r = a(e.timeZone || n.timezone || n.time_zone), i = g(e.image || "", { cdn: !0 }), o = (e.occurrences || []).map((e) => {
95
90
  let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
96
91
  t.address,
97
92
  t.city,
@@ -109,34 +104,34 @@ function P(e) {
109
104
  ...n ? { venueName: n } : {},
110
105
  ...r ? { venueAddress: r } : {}
111
106
  };
112
- }), c = e.occurrences?.[0], l = c?.startDateTime ? n(c.startDateTime, i) : "", u = N(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
107
+ }), s = e.occurrences?.[0], c = s?.startDateTime ? y(s.startDateTime, r) : "", l = N(e.venue?.faq), u = (e.performers || []).map((e, t) => ({
113
108
  id: t + 1,
114
109
  displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
115
110
  profileImage: e.profileImage || void 0
116
- })), f = e.venue?.location || e.venue?.googleLocationNameCache || "";
111
+ })), d = e.venue?.location || e.venue?.googleLocationNameCache || "";
117
112
  return {
118
113
  id: t,
119
114
  title: e.title || "",
120
115
  slug: "",
121
116
  description: e.description || e.eventSummary || "",
122
- date: l,
123
- startDateTime: c?.startDateTime || "",
124
- endDateTime: c?.endDateTime || "",
117
+ date: c,
118
+ startDateTime: s?.startDateTime || "",
119
+ endDateTime: s?.endDateTime || "",
125
120
  doorsOpenTime: "",
126
- timezone: i,
127
- imageUrl: a,
121
+ timezone: r,
122
+ imageUrl: i,
128
123
  venue: {
129
124
  id: e.venue?.id || 0,
130
125
  name: e.venue?.name || "",
131
- address: f,
132
- timezone: i,
126
+ address: d,
127
+ timezone: r,
133
128
  serviceFeePercentage: 0,
134
129
  serviceFeeCents: 0,
135
130
  taxPercentage: 0
136
131
  },
137
- performers: d,
132
+ performers: u,
138
133
  tickets: [],
139
- faqs: u,
134
+ faqs: l,
140
135
  disclaimer: e.venue?.disclaimer || void 0,
141
136
  ...x(e.venue),
142
137
  status: "on_sale",
@@ -146,12 +141,11 @@ function P(e) {
146
141
  isRegistrationEvent: !1,
147
142
  totalTicketsRemaining: 0,
148
143
  totalTicketsCapacity: 0,
149
- venueAddressLines: D(f),
150
- googleMapsUrl: O(f)
144
+ venueAddressLines: D(d),
145
+ googleMapsUrl: O(d)
151
146
  };
152
147
  }
153
- //#endregion
154
- //#region src/lib/api/transformers/collection.ts
148
+ // src/lib/api/transformers/collection.ts
155
149
  function F(e) {
156
150
  let t = (e.events || []).map((e) => ({
157
151
  id: e.id,
@@ -195,15 +189,14 @@ function F(e) {
195
189
  totalTicketsCapacity: 0
196
190
  };
197
191
  }
198
- //#endregion
199
- //#region src/lib/public-calendar-flow/transform.ts
192
+ // src/lib/public-calendar-flow/transform.ts
200
193
  function I(e) {
201
- let t = c(), n = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0, r = e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart, o = e.salesEnd || e.saleEnd || e.onSaleEnd;
202
- if (n <= 0) return "sold_out";
203
- let s = i(o);
204
- if (s && a(s, t) < 0) return "sales_ended";
205
- let l = i(r);
206
- return l && a(l, t) > 0 ? "coming_soon" : "on_sale";
194
+ let t = i(), a = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0, o = e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart, s = e.salesEnd || e.saleEnd || e.onSaleEnd;
195
+ if (a <= 0) return "sold_out";
196
+ let c = r(s);
197
+ if (c && n(c, t) < 0) return "sales_ended";
198
+ let l = r(o);
199
+ return l && n(l, t) > 0 ? "coming_soon" : "on_sale";
207
200
  }
208
201
  function L(e, t, n = !1) {
209
202
  let r = (e || "").toLowerCase().replace(/\s+/g, "_");
@@ -220,11 +213,11 @@ function L(e, t, n = !1) {
220
213
  return r === "sold_out" || r === "soldout" ? "sold_out" : r === "coming_soon" || r === "comingsoon" ? "coming_soon" : r === "sales_ended" || r === "salesended" ? "sales_ended" : "on_sale";
221
214
  }
222
215
  function R(e) {
223
- let r = b(e), i = r.venue || {}, a = s(r.timeZone || r.timezone || i.timeZone || i.timezone), o = (e.availableTickets || []).map((e) => ({
216
+ let t = b(e), n = t.venue || {}, r = a(t.timeZone || t.timezone || n.timeZone || n.timezone), i = (e.availableTickets || []).map((e) => ({
224
217
  id: e.id || e.ID,
225
218
  name: e.name || e.title || "",
226
219
  description: e.description || void 0,
227
- price: t(e.price),
220
+ price: v(e.price),
228
221
  fee: e.fee == null ? 0 : e.fee,
229
222
  quantityAvailable: e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0,
230
223
  quantityTotal: e.totalCapacity ?? e.total ?? e.sectionCapacity ?? e.quantity ?? 0,
@@ -237,22 +230,22 @@ function R(e) {
237
230
  isHidden: e.isHidden === !0 || typeof e.visibility == "number" && e.visibility >= _.HIDDEN,
238
231
  ticketType: e.type || e.ticketType || void 0,
239
232
  sectionName: e.sectionName || e.section || void 0
240
- })), c = o.filter((e) => !e.isHidden && !e.isDonation && e.status === "on_sale"), l = c.reduce((e, t) => e + t.quantityAvailable, 0), u = c.reduce((e, t) => e + t.quantityTotal, 0), d = e.hasPurchasableHiddenTickets === !0, f = L(r.status, o, d), p = e.image || e.imageUrl || e.image_url || "", m = p.startsWith("http") ? p : g(p, { cdn: !0 }), h = {
241
- id: i.id || i.ID || 0,
242
- name: i.name || i.googleLocationNameCache || "",
243
- address: i.address || i.googleLocationNameCache || "",
244
- timezone: a,
245
- serviceFeePercentage: i.serviceFeePercentage ?? i.fee ?? 0,
246
- serviceFeeCents: i.serviceFeeCents == null ? 0 : i.serviceFeeCents,
247
- taxPercentage: i.taxPercentage ?? i.tax ?? 0,
248
- contactEmail: i.contactEmail || i.email || void 0,
249
- ...typeof i.hasMultipleStages == "boolean" ? { hasMultipleStages: i.hasMultipleStages } : {}
250
- }, v = (r.performers || []).map((e) => ({
233
+ })), o = i.filter((e) => !e.isHidden && !e.isDonation && e.status === "on_sale"), s = o.reduce((e, t) => e + t.quantityAvailable, 0), c = o.reduce((e, t) => e + t.quantityTotal, 0), l = e.hasPurchasableHiddenTickets === !0, u = L(t.status, i, l), d = e.image || e.imageUrl || e.image_url || "", f = d.startsWith("http") ? d : g(d, { cdn: !0 }), p = {
234
+ id: n.id || n.ID || 0,
235
+ name: n.name || n.googleLocationNameCache || "",
236
+ address: n.address || n.googleLocationNameCache || "",
237
+ timezone: r,
238
+ serviceFeePercentage: n.serviceFeePercentage ?? n.fee ?? 0,
239
+ serviceFeeCents: n.serviceFeeCents == null ? 0 : n.serviceFeeCents,
240
+ taxPercentage: n.taxPercentage ?? n.tax ?? 0,
241
+ contactEmail: n.contactEmail || n.email || void 0,
242
+ ...typeof n.hasMultipleStages == "boolean" ? { hasMultipleStages: n.hasMultipleStages } : {}
243
+ }, m = (t.performers || []).map((e) => ({
251
244
  id: e.id || e.ID,
252
245
  displayName: e.displayName || e.name || "",
253
246
  profileImage: e.avatar || e.profileImage || void 0,
254
247
  role: e.role || void 0
255
- })), y = r.faqs ? N(r.faqs) : N(i.faq), S = (r.showtimes || []).filter((e) => e.published !== !1).map((e, t) => ({
248
+ })), h = t.faqs ? N(t.faqs) : N(n.faq), S = (t.showtimes || []).filter((e) => e.published !== !1).map((e, t) => ({
256
249
  id: e.id ?? e.eventId ?? t + 1,
257
250
  slug: e.slug || "",
258
251
  startDateTime: e.startDateTime || e.startTime || "",
@@ -261,47 +254,47 @@ function R(e) {
261
254
  ctaText: e.ctaState?.text || "",
262
255
  ctaDisabled: e.ctaState?.disabled || !1,
263
256
  ...e.ctaState?.reason ? { ctaReason: e.ctaState.reason } : {}
264
- })), C = r.startDateTime ? n(r.startDateTime, a) : "";
257
+ })), C = t.startDateTime ? y(t.startDateTime, r) : "";
265
258
  return {
266
- id: r.id,
267
- title: r.title || "",
268
- slug: r.slug || "",
269
- description: r.description || r.eventSummary || "",
259
+ id: t.id,
260
+ title: t.title || "",
261
+ slug: t.slug || "",
262
+ description: t.description || t.eventSummary || "",
270
263
  date: C,
271
- startDateTime: r.startDateTime || "",
272
- endDateTime: r.endDateTime || "",
273
- doorsOpenTime: r.doorsOpenTime || "",
274
- timezone: a,
275
- imageUrl: m,
276
- venue: h,
277
- performers: v,
278
- tickets: o,
264
+ startDateTime: t.startDateTime || "",
265
+ endDateTime: t.endDateTime || "",
266
+ doorsOpenTime: t.doorsOpenTime || "",
267
+ timezone: r,
268
+ imageUrl: f,
269
+ venue: p,
270
+ performers: m,
271
+ tickets: i,
279
272
  ...Array.isArray(e.addOns) && e.addOns.length > 0 ? { addOns: e.addOns } : {},
280
- faqs: y,
281
- disclaimer: r.disclaimer || i.disclaimer || void 0,
282
- ...x(i),
283
- status: f,
284
- salesStatus: r.salesStatus || void 0,
285
- ...d ? { hasPurchasableHiddenTickets: !0 } : {},
286
- eventSeriesId: r.eventSeriesId || void 0,
273
+ faqs: h,
274
+ disclaimer: t.disclaimer || n.disclaimer || void 0,
275
+ ...x(n),
276
+ status: u,
277
+ salesStatus: t.salesStatus || void 0,
278
+ ...l ? { hasPurchasableHiddenTickets: !0 } : {},
279
+ eventSeriesId: t.eventSeriesId || void 0,
287
280
  seriesOccurrences: S.length ? S : void 0,
288
- isPasswordProtected: r.hasPassword === !0 || !!r.password,
289
- isRegistrationEvent: r.ticketType === 1 || r.eventTicketingType === 1,
290
- totalTicketsRemaining: l,
291
- totalTicketsCapacity: u,
292
- stageName: r.stage?.name || r.stageName || void 0,
293
- ageRestriction: r.ageRestriction || void 0,
294
- displayAgeRestriction: r.displayAgeRestriction ?? !1,
295
- displayStartTime: r.displayStartTime ?? !0,
296
- displayEndTime: r.displayEndTime ?? !0,
297
- displayDoorsTime: r.displayDoorsTime ?? !0,
298
- displayTicketsLeft: r.displayTicketsLeft ?? !0,
299
- summary: r.eventSummary || void 0,
300
- postSalesMessage: r.postSalesMessage || void 0,
301
- ...V(f, r),
302
- collectionId: r.collectionId || void 0,
303
- venueAddressLines: D(i.address || i.googleLocationNameCache || ""),
304
- googleMapsUrl: O(i.address || i.googleLocationNameCache || "")
281
+ isPasswordProtected: t.hasPassword === !0 || !!t.password,
282
+ isRegistrationEvent: t.ticketType === 1 || t.eventTicketingType === 1,
283
+ totalTicketsRemaining: s,
284
+ totalTicketsCapacity: c,
285
+ stageName: t.stage?.name || t.stageName || void 0,
286
+ ageRestriction: t.ageRestriction || void 0,
287
+ displayAgeRestriction: t.displayAgeRestriction ?? !1,
288
+ displayStartTime: t.displayStartTime ?? !0,
289
+ displayEndTime: t.displayEndTime ?? !0,
290
+ displayDoorsTime: t.displayDoorsTime ?? !0,
291
+ displayTicketsLeft: t.displayTicketsLeft ?? !0,
292
+ summary: t.eventSummary || void 0,
293
+ postSalesMessage: t.postSalesMessage || void 0,
294
+ ...V(u, t),
295
+ collectionId: t.collectionId || void 0,
296
+ venueAddressLines: D(n.address || n.googleLocationNameCache || ""),
297
+ googleMapsUrl: O(n.address || n.googleLocationNameCache || "")
305
298
  };
306
299
  }
307
300
  function z(e) {
@@ -314,10 +307,9 @@ function V(e, t) {
314
307
  let n = e === "cancelled" ? t.canceledReason : e === "postponed" ? t.postponedReason : void 0;
315
308
  return n?.trim() ? { stateMessage: n.trim() } : {};
316
309
  }
317
- //#endregion
318
- //#region src/lib/public-calendar-flow/shareEventLink.ts
319
- async function H(e, t) {
320
- return await U(e, t) ? "shared" : await r(e) ? "copied" : "failed";
310
+ // src/lib/public-calendar-flow/shareEventLink.ts
311
+ async function H(e, n) {
312
+ return await U(e, n) ? "shared" : await t(e) ? "copied" : "failed";
321
313
  }
322
314
  async function U(e, t) {
323
315
  if (typeof navigator > "u" || typeof navigator.share != "function") return !1;
@@ -340,53 +332,50 @@ function W(e, t, n) {
340
332
  x: `https://x.com/intent/post?text=${i}&url=${r}`
341
333
  };
342
334
  }
343
- //#endregion
344
- //#region src/lib/public-calendar-flow/shareCopyFeedback.svelte.ts
335
+ // src/lib/public-calendar-flow/shareCopyFeedback.svelte.ts
345
336
  function G({ copiedMs: e = 2500 } = {}) {
346
- let t = S.state("idle"), n = S.state(""), i;
337
+ let n = S.state("idle"), r = S.state(""), i;
347
338
  async function a(e, t) {
348
339
  s(await H(e, t), e);
349
340
  }
350
341
  async function o(e) {
351
- s(await r(e) ? "copied" : "failed", e);
342
+ s(await t(e) ? "copied" : "failed", e);
352
343
  }
353
- function s(r, a) {
354
- r === "copied" ? (S.set(n, ""), S.set(t, "copied"), clearTimeout(i), i = setTimeout(() => S.set(t, "idle"), e)) : r === "failed" && (clearTimeout(i), S.set(t, "failed"), S.set(n, a, !0));
344
+ function s(t, a) {
345
+ t === "copied" ? (S.set(r, ""), S.set(n, "copied"), clearTimeout(i), i = setTimeout(() => S.set(n, "idle"), e)) : t === "failed" && (clearTimeout(i), S.set(n, "failed"), S.set(r, a, !0));
355
346
  }
356
347
  function c() {
357
348
  clearTimeout(i);
358
349
  }
359
350
  return {
360
351
  get copyState() {
361
- return S.get(t);
352
+ return S.get(n);
362
353
  },
363
354
  get copyFailedUrl() {
364
- return S.get(n);
355
+ return S.get(r);
365
356
  },
366
357
  share: a,
367
358
  copy: o,
368
359
  dispose: c
369
360
  };
370
361
  }
371
- //#endregion
372
- //#region src/lib/api/recommendations.ts
362
+ // src/lib/api/recommendations.ts
373
363
  var K = /* @__PURE__ */ new Map();
374
364
  function q(e, t = "event_page", n) {
375
365
  if (!e) return Promise.resolve([]);
376
- let r = `${d()}/events/${e}/recommendations?surface=${t}`, i = n || f() || "", a = `${r}|${i}`, o = K.get(a);
366
+ let r = `${l()}/events/${e}/recommendations?surface=${t}`, i = n || u() || "", a = `${r}|${i}`, o = K.get(a);
377
367
  if (o) return o;
378
- let s = p(r, { widgetKey: i || void 0 }).then((e) => e?.recommendations ?? [], () => []);
368
+ let s = d(r, { widgetKey: i || void 0 }).then((e) => e?.recommendations ?? [], () => []);
379
369
  K.set(a, s);
380
370
  let c = () => K.delete(a);
381
371
  return s.then(c, c), s;
382
372
  }
383
- //#endregion
384
- //#region src/lib/public-calendar-flow/recommendation-cards.ts
373
+ // src/lib/public-calendar-flow/recommendation-cards.ts
385
374
  function J(e) {
386
375
  return e.filter((e) => !!e.startsAt).map((e) => ({
387
376
  eventID: e.eventId,
388
377
  name: e.title,
389
- date: n(e.startsAt, e.timeZone),
378
+ date: y(e.startsAt, e.timeZone),
390
379
  startDateTime: e.startsAt,
391
380
  imageUrl: e.image ?? "",
392
381
  status: "on_sale",
@@ -396,12 +385,11 @@ function J(e) {
396
385
  ticketsTotal: void 0
397
386
  }));
398
387
  }
399
- //#endregion
400
- //#region src/lib/public-calendar-flow/RecommendationsRail.svelte
388
+ // src/lib/public-calendar-flow/RecommendationsRail.svelte
401
389
  var Y = S.from_html("<span class=\"self-start rounded-full bg-status-info-bg px-2 py-0.5 text-status-info-text\" data-testid=\"recommendation-why\"> </span>"), X = S.from_html("<div class=\"flex flex-col gap-2\"><!> <!></div>"), Z = S.from_html("<section data-testid=\"recommendations-rail\"><div class=\"mb-4\"><!></div> <!></section>");
402
390
  function Q(e, t) {
403
391
  S.push(t, !0);
404
- let n = S.prop(t, "surface", 3, "event_page"), r = S.prop(t, "locale", 3, "en"), i = S.prop(t, "widgetKey", 19, l), a = S.state(S.proxy([]));
392
+ let n = S.prop(t, "surface", 3, "event_page"), r = S.prop(t, "locale", 3, "en"), i = S.prop(t, "widgetKey", 19, s), a = S.state(S.proxy([]));
405
393
  S.user_effect(() => {
406
394
  let e = t.eventId, r = !0;
407
395
  return q(e, n(), i()).then((n) => {
@@ -410,9 +398,9 @@ function Q(e, t) {
410
398
  r = !1;
411
399
  };
412
400
  });
413
- let o = S.derived(() => v(J(S.get(a))));
414
- function s(e) {
415
- let n = c(e);
401
+ let o = S.derived(() => f(J(S.get(a))));
402
+ function l(e) {
403
+ let n = u(e);
416
404
  if (!n) return "";
417
405
  switch (n.rule) {
418
406
  case "performer": return t.labels.recommendationFromTonightsLineup;
@@ -423,20 +411,16 @@ function Q(e, t) {
423
411
  default: return "";
424
412
  }
425
413
  }
426
- function c(e) {
414
+ function u(e) {
427
415
  return S.get(a).find((t) => t.eventId === e.eventID);
428
416
  }
429
417
  function d(e) {
430
- let n = c(e)?.url;
431
- if (n) {
432
- window.location.assign(n);
433
- return;
434
- }
435
- t.onselect?.(e);
418
+ let n = u(e)?.url;
419
+ n ? window.location.assign(n) : t.onselect?.(e);
436
420
  }
437
- var f = S.comment(), p = S.first_child(f), g = (e) => {
421
+ var g = S.comment(), _ = S.first_child(g), v = (e) => {
438
422
  var n = Z(), i = S.child(n), a = S.child(i);
439
- u(a, {
423
+ c(a, {
440
424
  size: "xl",
441
425
  weight: "semibold",
442
426
  children: (e, n) => {
@@ -446,8 +430,8 @@ function Q(e, t) {
446
430
  },
447
431
  $$slots: { default: !0 }
448
432
  }), S.reset(i);
449
- var c = S.sibling(i, 2);
450
- m(c, {
433
+ var s = S.sibling(i, 2);
434
+ m(s, {
451
435
  cols: "auto",
452
436
  minWidth: "240px",
453
437
  gap: "6",
@@ -455,36 +439,38 @@ function Q(e, t) {
455
439
  var i = S.comment(), a = S.first_child(i);
456
440
  S.each(a, 17, () => S.get(o), (e) => e.event.eventID, (e, n) => {
457
441
  let i = S.derived(() => {
458
- let { pillEvents: e, ...i } = y(S.get(n), t.labels, r());
442
+ let { pillEvents: e, ...i } = p(S.get(n), t.labels, r());
459
443
  return {
460
444
  _pillEvents: e,
461
445
  card: i
462
446
  };
463
447
  });
464
448
  var a = X(), o = S.child(a);
465
- h(o, S.spread_props(() => S.get(i).card, {
466
- layout: "vertical",
467
- density: "standard",
468
- get placeholderImage() {
469
- return t.placeholderImage;
470
- },
471
- onclick: () => d(S.get(n).event)
472
- }));
473
- var c = S.sibling(o, 2), l = (e) => {
474
- var t = Y(), r = S.child(t, !0);
475
- S.reset(t), S.template_effect((e) => S.set_text(r, e), [() => s(S.get(n).event)]), S.append(e, t);
476
- }, u = S.derived(() => s(S.get(n).event));
477
- S.if(c, (e) => {
478
- S.get(u) && e(l);
449
+ {
450
+ let e = S.derived(() => S.get(i).card.placeholderImage || t.placeholderImage);
451
+ h(o, S.spread_props(() => S.get(i).card, {
452
+ layout: "vertical",
453
+ density: "standard",
454
+ get placeholderImage() {
455
+ return S.get(e);
456
+ },
457
+ onclick: () => d(S.get(n).event)
458
+ }));
459
+ }
460
+ var s = S.sibling(o, 2), c = (e) => {
461
+ var t = Y(), r = S.only_child(t, !0);
462
+ S.template_effect((e) => S.set_text(r, e), [() => l(S.get(n).event)]), S.append(e, t);
463
+ }, u = S.derived(() => l(S.get(n).event));
464
+ S.if(s, (e) => {
465
+ S.get(u) && e(c);
479
466
  }), S.reset(a), S.append(e, a);
480
467
  }), S.append(e, i);
481
468
  },
482
469
  $$slots: { default: !0 }
483
470
  }), S.reset(n), S.append(e, n);
484
471
  };
485
- S.if(p, (e) => {
486
- S.get(o).length > 0 && e(g);
487
- }), S.append(e, f), S.pop();
472
+ S.if(_, (e) => {
473
+ S.get(o).length > 0 && e(v);
474
+ }), S.append(e, g), S.pop();
488
475
  }
489
- //#endregion
490
476
  export { R as a, E as c, U as i, G as n, B as o, W as r, z as s, Q as t };
@@ -0,0 +1,16 @@
1
+ import "svelte/internal/disclose-version";
2
+ import * as e from "svelte/internal/client";
3
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/RequiredIndicator/RequiredIndicator.svelte
4
+ var t = e.from_html("<span aria-hidden=\"true\">*</span>");
5
+ function n(n, r) {
6
+ e.push(r, !0);
7
+ let i = e.prop(r, "required", 3, !0), a = e.prop(r, "class", 3, "");
8
+ var o = e.comment(), s = e.first_child(o), c = (n) => {
9
+ var r = t();
10
+ e.template_effect((t) => e.set_class(r, 1, t), [() => e.clsx(`text-accent-danger ml-0.5 ${a()}`.trim())]), e.append(n, r);
11
+ };
12
+ e.if(s, (e) => {
13
+ i() && e(c);
14
+ }), e.append(n, o), e.pop();
15
+ }
16
+ export { n as t };