@scrippsproduct/networks-ui-library 1.1.0-alpha.0 → 1.1.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/dist/Carousel.module-CNJzZW2-.mjs +14 -0
  2. package/dist/{ChoicesItem-CGIr6Qga.mjs → ChoicesItem-CT9fXB0I.mjs} +22 -23
  3. package/dist/PageHero.module-BM0IV1P5.mjs +8 -0
  4. package/dist/ResultsTable.module-1zxhXaem.mjs +14 -0
  5. package/dist/{SocialShareButton-BXGVUD-z.mjs → SocialShareButton-BMhRS9Qr.mjs} +12 -7
  6. package/dist/assets/ActionButton.css +1 -1
  7. package/dist/assets/AdBlock.css +1 -1
  8. package/dist/assets/AirDateFormatter.css +1 -1
  9. package/dist/assets/AnchorTag.css +1 -1
  10. package/dist/assets/BasicGridModule.css +1 -1
  11. package/dist/assets/Button.css +1 -1
  12. package/dist/assets/Carousel.css +1 -1
  13. package/dist/assets/CarouselSlide.css +1 -1
  14. package/dist/assets/ChannelSearch.css +1 -1
  15. package/dist/assets/ChoicesItem.css +1 -1
  16. package/dist/assets/ContentHero.css +1 -1
  17. package/dist/assets/CtaBlock.css +1 -1
  18. package/dist/assets/CustomDataList.css +1 -1
  19. package/dist/assets/DateNavigation.css +1 -1
  20. package/dist/assets/DeviceAndPlatformLists.css +1 -1
  21. package/dist/assets/Figure.css +1 -1
  22. package/dist/assets/Figure2.css +1 -1
  23. package/dist/assets/FindUs.css +1 -1
  24. package/dist/assets/GradientButton.css +1 -1
  25. package/dist/assets/ImageCard.css +1 -1
  26. package/dist/assets/InlineNavigation.css +1 -1
  27. package/dist/assets/LogoListItem.css +1 -1
  28. package/dist/assets/ModalContainer.css +1 -1
  29. package/dist/assets/PageHero.css +1 -1
  30. package/dist/assets/ProgramAirdate.css +1 -1
  31. package/dist/assets/PromotionBlock.css +1 -1
  32. package/dist/assets/ResultsTable.css +1 -1
  33. package/dist/assets/ScheduleLayout.css +1 -0
  34. package/dist/assets/ScheduleList.css +1 -1
  35. package/dist/assets/ShowAboutLayout.css +1 -1
  36. package/dist/assets/ShowSlide.css +1 -1
  37. package/dist/assets/SocialLinks.css +1 -1
  38. package/dist/assets/TextSlide.css +1 -1
  39. package/dist/assets/TwoColumnSlide.css +1 -1
  40. package/dist/assets/UpcomingList.css +1 -1
  41. package/dist/components/ActionButton/ActionButton.d.ts +20 -1
  42. package/dist/components/ActionButton/ActionButton.js +36 -36
  43. package/dist/components/ActionButton/index.d.ts +2 -1
  44. package/dist/components/AdBlock/AdBlock.d.ts +20 -1
  45. package/dist/components/AdBlock/AdBlock.js +118 -83
  46. package/dist/components/AdBlock/index.d.ts +2 -1
  47. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
  48. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
  49. package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
  50. package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
  51. package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
  52. package/dist/components/AirDateFormatter/index.d.ts +2 -1
  53. package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
  54. package/dist/components/AnchorTag/AnchorTag.js +22 -23
  55. package/dist/components/AnchorTag/index.d.ts +2 -1
  56. package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
  57. package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
  58. package/dist/components/BCVideoPlayer/index.d.ts +2 -1
  59. package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
  60. package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
  61. package/dist/components/BasicGridModule/index.d.ts +2 -1
  62. package/dist/components/Button/Button.d.ts +18 -17
  63. package/dist/components/Button/Button.js +31 -32
  64. package/dist/components/Button/index.d.ts +2 -1
  65. package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
  66. package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
  67. package/dist/components/ButtonAnchor/index.d.ts +2 -1
  68. package/dist/components/Carousel/Carousel.d.ts +7 -24
  69. package/dist/components/Carousel/Carousel.js +113 -113
  70. package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
  71. package/dist/components/Carousel/CarouselUtils.class.js +85 -55
  72. package/dist/components/Carousel/index.d.ts +2 -1
  73. package/dist/components/Carousel/navigations/Pagination.js +12 -10
  74. package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
  75. package/dist/components/CarouselSlide/CarouselSlide.js +25 -23
  76. package/dist/components/CarouselSlide/index.d.ts +2 -1
  77. package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
  78. package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
  79. package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
  80. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
  81. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
  82. package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
  83. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
  84. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
  85. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
  86. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
  87. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
  88. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +11 -12
  89. package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
  90. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
  91. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
  92. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
  93. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
  94. package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
  95. package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
  96. package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
  97. package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
  98. package/dist/components/ChannelSearch/index.d.ts +2 -1
  99. package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
  100. package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
  101. package/dist/components/ChoicesItem/index.d.ts +2 -1
  102. package/dist/components/ChoicesItem/index.js +1 -1
  103. package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
  104. package/dist/components/ChoicesList/ChoicesList.js +3 -4
  105. package/dist/components/ChoicesList/index.d.ts +2 -1
  106. package/dist/components/Concat/Concat.d.ts +4 -3
  107. package/dist/components/Concat/Concat.js +5 -5
  108. package/dist/components/Concat/index.d.ts +2 -1
  109. package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
  110. package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
  111. package/dist/components/CreateChoiceList/index.d.ts +2 -1
  112. package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
  113. package/dist/components/CtaBlock/CtaBlock.js +23 -22
  114. package/dist/components/CtaBlock/index.d.ts +2 -1
  115. package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
  116. package/dist/components/CustomDataList/CustomDataList.js +200 -174
  117. package/dist/components/CustomDataList/index.d.ts +2 -1
  118. package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
  119. package/dist/components/CustomSelect/CustomSelect.js +224 -154
  120. package/dist/components/CustomSelect/index.d.ts +2 -1
  121. package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
  122. package/dist/components/DateNavigation/DateNavigation.js +125 -82
  123. package/dist/components/DateNavigation/index.d.ts +2 -1
  124. package/dist/components/DatePicker/index.d.ts +2 -1
  125. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
  126. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
  127. package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
  128. package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
  129. package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
  130. package/dist/components/DrawerNavigation/index.d.ts +2 -1
  131. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
  132. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
  133. package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
  134. package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
  135. package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
  136. package/dist/components/EqualSizeGrid/index.d.ts +2 -1
  137. package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
  138. package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
  139. package/dist/components/ErrorHandler/index.d.ts +2 -1
  140. package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
  141. package/dist/components/FeaturedList/FeaturedList.js +44 -36
  142. package/dist/components/FeaturedList/index.d.ts +2 -1
  143. package/dist/components/Figure/Figure.d.ts +5 -4
  144. package/dist/components/Figure/Figure.js +8 -9
  145. package/dist/components/Figure/index.d.ts +2 -1
  146. package/dist/components/FindUs/FindUs.d.ts +24 -1
  147. package/dist/components/FindUs/FindUs.js +70 -63
  148. package/dist/components/FindUs/index.d.ts +2 -1
  149. package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
  150. package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
  151. package/dist/components/FooterNavigation/index.d.ts +2 -1
  152. package/dist/components/GenericList/GenericList.d.ts +6 -5
  153. package/dist/components/GenericList/GenericList.js +13 -14
  154. package/dist/components/GenericList/index.d.ts +2 -1
  155. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
  156. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
  157. package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
  158. package/dist/components/GradientButton/GradientButton.d.ts +15 -14
  159. package/dist/components/GradientButton/GradientButton.js +37 -40
  160. package/dist/components/GradientButton/index.d.ts +2 -1
  161. package/dist/components/GridList/GridList.d.ts +6 -5
  162. package/dist/components/GridList/GridList.js +14 -10
  163. package/dist/components/GridList/index.d.ts +2 -1
  164. package/dist/components/ImageCard/ImageCard.d.ts +27 -1
  165. package/dist/components/ImageCard/ImageCard.js +59 -58
  166. package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
  167. package/dist/components/ImageCard/ImageCardCore.js +115 -89
  168. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
  169. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
  170. package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
  171. package/dist/components/InfoPanel/InfoPanel.js +2 -2
  172. package/dist/components/InfoPanel/index.d.ts +2 -1
  173. package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
  174. package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
  175. package/dist/components/Input/Input.d.ts +10 -9
  176. package/dist/components/Input/Input.js +47 -40
  177. package/dist/components/Input/index.d.ts +2 -1
  178. package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
  179. package/dist/components/InstructionsList/InstructionsList.js +20 -10
  180. package/dist/components/InstructionsList/index.d.ts +2 -1
  181. package/dist/components/Loading/Loading.d.ts +8 -7
  182. package/dist/components/Loading/Loading.js +25 -20
  183. package/dist/components/Loading/index.d.ts +2 -1
  184. package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
  185. package/dist/components/LoadingV2/LoadingV2.js +31 -21
  186. package/dist/components/LoadingV2/index.d.ts +2 -1
  187. package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
  188. package/dist/components/LogoListItem/LogoListItem.js +34 -17
  189. package/dist/components/LogoListItem/index.d.ts +2 -1
  190. package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
  191. package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
  192. package/dist/components/LogoNavigation/index.d.ts +2 -1
  193. package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
  194. package/dist/components/ModalContainer/ModalContainer.js +84 -72
  195. package/dist/components/ModalContainer/index.d.ts +2 -1
  196. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
  197. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
  198. package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
  199. package/dist/components/NavList/NavList.d.ts +9 -7
  200. package/dist/components/NavList/NavList.js +56 -20
  201. package/dist/components/NavList/index.d.ts +2 -1
  202. package/dist/components/Overlay/Overlay.d.ts +5 -5
  203. package/dist/components/Overlay/Overlay.js +8 -5
  204. package/dist/components/PageHero/PageHero.d.ts +6 -5
  205. package/dist/components/PageHero/PageHero.js +29 -16
  206. package/dist/components/PageHero/index.d.ts +2 -1
  207. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
  208. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
  209. package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
  210. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
  211. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
  212. package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
  213. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
  214. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
  215. package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
  216. package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
  217. package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
  218. package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
  219. package/dist/components/ProgramAirdate/index.d.ts +2 -1
  220. package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
  221. package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
  222. package/dist/components/PromotionBlock/index.d.ts +2 -1
  223. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
  224. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
  225. package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
  226. package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
  227. package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
  228. package/dist/components/PromotionsRowModule/index.d.ts +2 -1
  229. package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
  230. package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
  231. package/dist/components/RescanInstructions/index.d.ts +2 -1
  232. package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
  233. package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
  234. package/dist/components/ResponsiveImage/index.d.ts +2 -1
  235. package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
  236. package/dist/components/ResultsTable/ResultsTable.js +21 -16
  237. package/dist/components/ResultsTable/index.d.ts +2 -1
  238. package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
  239. package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
  240. package/dist/components/ResultsTableBody/index.d.ts +2 -1
  241. package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
  242. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
  243. package/dist/components/ResultsTableHeader/index.d.ts +2 -1
  244. package/dist/components/ScheduleLayout/ScheduleContext.d.ts +27 -0
  245. package/dist/components/ScheduleLayout/ScheduleContext.js +1931 -0
  246. package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +16 -5
  247. package/dist/components/ScheduleLayout/ScheduleLayout.js +98 -24
  248. package/dist/components/ScheduleLayout/index.d.ts +2 -1
  249. package/dist/components/ScheduleLayout/useScheduleContext.d.ts +15 -0
  250. package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
  251. package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
  252. package/dist/components/ScheduleList/ScheduleList.js +162 -60
  253. package/dist/components/ScheduleList/index.d.ts +2 -1
  254. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
  255. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +28 -17
  256. package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
  257. package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
  258. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
  259. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +48 -32
  260. package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
  261. package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
  262. package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
  263. package/dist/components/SectionedContent/SectionedContent.js +14 -15
  264. package/dist/components/SectionedContent/index.d.ts +2 -1
  265. package/dist/components/Select/Select.d.ts +15 -11
  266. package/dist/components/Select/Select.js +21 -21
  267. package/dist/components/Select/index.d.ts +2 -1
  268. package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
  269. package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
  270. package/dist/components/ShowAboutContent/index.d.ts +2 -1
  271. package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
  272. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
  273. package/dist/components/ShowAboutLayout/index.d.ts +2 -1
  274. package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
  275. package/dist/components/SocialLinks/SocialLinks.js +192 -138
  276. package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
  277. package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
  278. package/dist/components/SocialShareBlock/index.d.ts +2 -1
  279. package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
  280. package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
  281. package/dist/components/SocialShareButton/index.d.ts +2 -1
  282. package/dist/components/SocialShareButton/index.js +1 -1
  283. package/dist/components/StringList/StringList.d.ts +6 -5
  284. package/dist/components/StringList/StringList.js +16 -12
  285. package/dist/components/StringList/index.d.ts +2 -1
  286. package/dist/components/TabContent/TabContent.d.ts +5 -4
  287. package/dist/components/TabContent/TabContent.js +9 -7
  288. package/dist/components/TabContent/index.d.ts +2 -1
  289. package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
  290. package/dist/components/TabNavigation/TabNavigation.js +58 -53
  291. package/dist/components/TabNavigation/index.d.ts +2 -1
  292. package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
  293. package/dist/components/TabbedContent/TabbedContent.js +24 -8
  294. package/dist/components/TabbedContent/index.d.ts +2 -1
  295. package/dist/components/TextArea/TextArea.d.ts +9 -1
  296. package/dist/components/TextArea/TextArea.js +13 -13
  297. package/dist/components/TextArea/index.d.ts +2 -1
  298. package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
  299. package/dist/components/UpcomingList/UpcomingList.js +55 -41
  300. package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
  301. package/dist/containers/GetFeatruedListContainer.js +16 -16
  302. package/dist/containers/NowPlayingContainer.d.ts +17 -15
  303. package/dist/containers/NowPlayingContainer.js +18 -16
  304. package/dist/custom-elements.d.js +1 -0
  305. package/dist/data-resources/FakeDataResource.d.ts +77 -68
  306. package/dist/data-resources/FakeDataResource.js +244 -142
  307. package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
  308. package/dist/error-boundries/BlankErrorBoundry.js +5 -5
  309. package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
  310. package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
  311. package/dist/hooks/{useGetSchedule.d.ts → getSchedule.d.ts} +12 -4
  312. package/dist/hooks/getSchedule.js +62 -0
  313. package/dist/hooks/useGetUpcoming.d.ts +8 -6
  314. package/dist/hooks/useGetUpcoming.js +22 -25
  315. package/dist/icons/Facebook.js +6 -6
  316. package/dist/icons/Tiktok.js +15 -7
  317. package/dist/icons/Twitter.js +7 -7
  318. package/dist/index.d.ts +1 -0
  319. package/dist/index.js +35 -33
  320. package/dist/logger-C0N7U0YY.mjs +67 -0
  321. package/dist/settings.d.ts +4 -3
  322. package/dist/settings.js +6 -5
  323. package/dist/types.d.js +27 -0
  324. package/dist/utils/Redirect.d.ts +2 -2
  325. package/dist/utils/analytics.js +1 -1
  326. package/dist/utils/date-helpers.d.ts +3 -2
  327. package/dist/utils/date-helpers.js +26 -26
  328. package/dist/utils/events.js +8 -6
  329. package/dist/utils/getFeaturedList.d.ts +28 -8
  330. package/dist/utils/getFeaturedList.js +58 -45
  331. package/dist/utils/getFeaturedListImages.d.ts +15 -5
  332. package/dist/utils/getFeaturedListImages.js +27 -16
  333. package/dist/utils/getOnNowProgram.d.ts +17 -3
  334. package/dist/utils/getOnNowProgram.js +106 -68
  335. package/dist/utils/getSchedule.d.ts +8 -6
  336. package/dist/utils/getSchedule.js +6 -1
  337. package/dist/utils/getUpcomingPrograms.d.ts +10 -7
  338. package/dist/utils/getUpcomingPrograms.js +5 -4
  339. package/dist/utils/getViewingPlatforms.d.ts +6 -16
  340. package/dist/utils/getViewingPlatforms.js +14 -11
  341. package/dist/utils/gtm.js +1 -1
  342. package/dist/utils/helpers.d.ts +9 -9
  343. package/dist/utils/helpers.js +69 -65
  344. package/dist/utils/program-helpers.d.ts +14 -20
  345. package/dist/utils/program-helpers.js +9 -8
  346. package/dist/utils/series-helpers.d.ts +14 -20
  347. package/dist/utils/series-helpers.js +9 -8
  348. package/package.json +23 -13
  349. package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
  350. package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
  351. package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
  352. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
  353. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
  354. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
  355. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
  356. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
  357. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
  358. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
  359. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
  360. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
  361. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
  362. package/dist/facebook-HCcA1M1m.mjs +0 -54
  363. package/dist/hooks/useGetSchedule.js +0 -58
@@ -1,24 +1,28 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { Children as i, cloneElement as s } from "react";
3
- import '../../assets/EqualSizeFlexRow.css';const f = {
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { Children as s, cloneElement as i, isValidElement as f } from "react";
3
+ import '../../assets/EqualSizeFlexRow.css';const m = {
4
4
  "equal-size-flex-row__item": "_equal-size-flex-row__item_qnkaz_11"
5
- }, u = (r, e, t) => `${t.length <= e ? 1 : 0} 1 calc(${t.length <= e ? 100 / t.length : 100 / e}% - ${r})`;
6
- function h({ children: r, gap: e = "1.5rem", maxItemsPerRow: t = 4 }) {
7
- const l = i.toArray(r), a = l.length === 1 ? "0 1 50%" : u(e, t, l);
8
- return /* @__PURE__ */ o(
5
+ }, u = (n, e, t) => `${t.length <= e ? 1 : 0} 1 calc(${t.length <= e ? 100 / t.length : 100 / e}% - ${n})`;
6
+ function c({
7
+ children: n,
8
+ gap: e = "1.5rem",
9
+ maxItemsPerRow: t = 4
10
+ }) {
11
+ const l = s.toArray(n), o = l.length === 1 ? "0 1 50%" : u(e, t, l);
12
+ return /* @__PURE__ */ a(
9
13
  "equal-size-flex-row",
10
14
  {
15
+ "data-item-count": l.length,
11
16
  style: {
12
17
  "--esfr-gap-size": e,
13
- "--esfr-item-flex": a,
18
+ "--esfr-item-flex": o,
14
19
  "--esfr-flex-wrap": l.length > t ? "wrap" : "nowrap"
15
20
  },
16
- "data-item-count": l.length,
17
- children: l.map((n) => /* @__PURE__ */ o(
21
+ children: l.map((r) => /* @__PURE__ */ a(
18
22
  "div",
19
23
  {
20
- className: f["equal-size-flex-row__item"],
21
- children: s(n, n.props)
24
+ className: m["equal-size-flex-row__item"],
25
+ children: f(r) ? i(r, r.props) : r
22
26
  },
23
27
  `esfr-${Math.round(Math.random() * 1e7)}`
24
28
  ))
@@ -26,6 +30,6 @@ function h({ children: r, gap: e = "1.5rem", maxItemsPerRow: t = 4 }) {
26
30
  );
27
31
  }
28
32
  export {
29
- h as EqualSizeFlexRow,
30
- h as default
33
+ c as EqualSizeFlexRow,
34
+ c as default
31
35
  };
@@ -1 +1,2 @@
1
- export { EqualSizeFlexRow, EqualSizeFlexRow as default } from './EqualSizeFlexRow';
1
+ export { EqualSizeFlexRow } from './EqualSizeFlexRow';
2
+ export { EqualSizeFlexRow as default } from './EqualSizeFlexRow';
@@ -1,7 +1,8 @@
1
- export function EqualSizeGrid({ children, gap, itemsPerRow, classname }: {
2
- children: any;
3
- gap?: string | undefined;
4
- itemsPerRow?: number | undefined;
5
- classname?: string | undefined;
6
- }): import("react/jsx-runtime").JSX.Element;
1
+ type EqualSizeGridProps = {
2
+ children: React.ReactNode;
3
+ gap?: string;
4
+ itemsPerRow?: number;
5
+ classname?: string;
6
+ };
7
+ export declare function EqualSizeGrid({ children, gap, itemsPerRow, classname, }: EqualSizeGridProps): JSX.Element;
7
8
  export default EqualSizeGrid;
@@ -1,22 +1,27 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { Children as l, cloneElement as o } from "react";
3
- import '../../assets/EqualSizeGrid.css';const m = {};
4
- function u({ children: s, gap: a = "1.5rem", itemsPerRow: i = 4, classname: n = "" }) {
5
- const e = l.toArray(s);
2
+ import { Children as l, cloneElement as o, isValidElement as m } from "react";
3
+ import '../../assets/EqualSizeGrid.css';const d = {};
4
+ function c({
5
+ children: s,
6
+ gap: a = "1.5rem",
7
+ itemsPerRow: n = 4,
8
+ classname: i = ""
9
+ }) {
10
+ const r = l.toArray(s);
6
11
  return /* @__PURE__ */ t(
7
12
  "equal-size-grid",
8
13
  {
14
+ class: i,
15
+ "data-item-count": r.length,
9
16
  style: {
10
17
  "--esg-gap-size": a,
11
- "--esg-template-columns": `repeat(${i}, 1fr)`
18
+ "--esg-template-columns": `repeat(${n}, 1fr)`
12
19
  },
13
- "data-item-count": e.length,
14
- class: n,
15
- children: e.map((r) => /* @__PURE__ */ t(
20
+ children: r.map((e) => /* @__PURE__ */ t(
16
21
  "div",
17
22
  {
18
- className: m["equal-size-grid__item"],
19
- children: o(r, r.props)
23
+ className: d["equal-size-grid__item"],
24
+ children: m(e) ? o(e, e.props) : e
20
25
  },
21
26
  `esfr-${Math.round(Math.random() * 1e7)}`
22
27
  ))
@@ -24,6 +29,6 @@ function u({ children: s, gap: a = "1.5rem", itemsPerRow: i = 4, classname: n =
24
29
  );
25
30
  }
26
31
  export {
27
- u as EqualSizeGrid,
28
- u as default
32
+ c as EqualSizeGrid,
33
+ c as default
29
34
  };
@@ -1 +1,2 @@
1
- export { EqualSizeGrid, EqualSizeGrid as default } from './EqualSizeGrid';
1
+ export { EqualSizeGrid } from './EqualSizeGrid';
2
+ export { EqualSizeGrid as default } from './EqualSizeGrid';
@@ -1,5 +1,6 @@
1
- export function ErrorHandler({ title, message }: {
2
- title: any;
3
- message: any;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ type ErrorHandlerProps = {
2
+ title: string;
3
+ message: string;
4
+ };
5
+ export declare function ErrorHandler({ title, message }: ErrorHandlerProps): JSX.Element;
5
6
  export default ErrorHandler;
@@ -1,17 +1,16 @@
1
1
  import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
- import "react";
3
2
  import { p as _ } from "../../index-VjANCDXC.mjs";
4
3
  import { classes as e } from "../../utils/helpers.js";
5
4
  import '../../assets/ErrorHandler.css';const s = {
6
5
  "error-handler__message": "_error-handler__message_4uq8z_1"
7
6
  };
8
- function h({ title: a, message: l }) {
7
+ function m({ title: a, message: l }) {
9
8
  return /* @__PURE__ */ r("error-handler", { children: /* @__PURE__ */ o("div", { className: e([s["error-handler__message"], "error-handler__message"]), children: [
10
9
  /* @__PURE__ */ r("h2", { className: e([s["error-handler__title"], "error-handler__title"]), children: a }),
11
10
  /* @__PURE__ */ r("p", { className: e([s["error-handler__message-text"], "error-handler__message-text"]), children: _(l) })
12
11
  ] }) });
13
12
  }
14
13
  export {
15
- h as ErrorHandler,
16
- h as default
14
+ m as ErrorHandler,
15
+ m as default
17
16
  };
@@ -1 +1,2 @@
1
- export { ErrorHandler, ErrorHandler as default } from './ErrorHandler';
1
+ export { ErrorHandler } from './ErrorHandler';
2
+ export { ErrorHandler as default } from './ErrorHandler';
@@ -1,7 +1,9 @@
1
- export function FeaturedList({ list, imageAspectRatio, hasSeriesPages, handleClicks, }: {
2
- list?: never[] | undefined;
3
- imageAspectRatio?: number | undefined;
4
- hasSeriesPages?: boolean | undefined;
5
- handleClicks?: (() => void) | undefined;
6
- }): import("react/jsx-runtime").JSX.Element | undefined;
1
+ import { ScheduleItem, HandleClicksDetails } from '../../types';
2
+ type FeaturedListProps = {
3
+ list: ScheduleItem[] | null;
4
+ imageAspectRatio?: number;
5
+ hasSeriesPages?: boolean;
6
+ handleClicks?: (details: HandleClicksDetails) => void;
7
+ };
8
+ export declare function FeaturedList({ list, imageAspectRatio, hasSeriesPages, handleClicks, }: FeaturedListProps): JSX.Element;
7
9
  export default FeaturedList;
@@ -1,48 +1,56 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import "react";
3
- import { convert12to24 as i } from "../../utils/helpers.js";
2
+ import { createElement as p } from "react";
3
+ import { convert12to24 as c } from "../../utils/helpers.js";
4
4
  import { determineSeriesPrefix as s } from "../../utils/program-helpers.js";
5
- import { ImageCard as p } from "../ImageCard/ImageCard.js";
6
- import { Loading as c } from "../Loading/Loading.js";
7
- import { AirDateFormatter as u } from "../AirDateFormatter/AirDateFormatter.js";
8
- import '../../assets/FeaturedList.css';function y({
9
- list: a = [],
5
+ import { ImageCard as u } from "../ImageCard/ImageCard.js";
6
+ import { Loading as f } from "../Loading/Loading.js";
7
+ import { AirDateFormatter as m } from "../AirDateFormatter/AirDateFormatter.js";
8
+ import '../../assets/FeaturedList.css';function k({
9
+ list: a = null,
10
10
  imageAspectRatio: n = 800 / 1393,
11
- hasSeriesPages: o = !0,
11
+ hasSeriesPages: l = !0,
12
12
  handleClicks: d = () => {
13
13
  }
14
14
  }) {
15
- if (a === null) return /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, {}) });
16
- if (a.length) return /* @__PURE__ */ e("featured-list", { children: a.map((r) => {
17
- var l, t;
18
- return /* @__PURE__ */ e(
19
- p,
20
- {
21
- image: {
22
- url: ((l = r == null ? void 0 : r.content) == null ? void 0 : l.image) ?? "",
23
- aspectRatio: n,
24
- altText: r.program
25
- },
26
- content: /* @__PURE__ */ e(u, { airdateStr: `${r.start_date} ${i(r.start_time)}`, separatorType: "pipe" }),
27
- fullCardClickable: !0,
28
- handleClicks: o ? () => {
29
- } : d,
30
- cta: {
31
- label: "View Upcoming",
32
- href: (t = r == null ? void 0 : r.content) != null && t.slug && o ? r.program_class === "Film" ? `/movie/${r.content.slug}` : `/show/${r.content.slug}` : "",
33
- type: o ? "internal-link" : "show-modal",
34
- relatedResourceId: r.program_class === "Film" ? r.title_code : s(r.series_prefix),
35
- relatedResourceType: r.program_class === "Film" ? "film" : "series"
36
- },
15
+ return a === null ? /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(f, {}) }) : a.length ? /* @__PURE__ */ e("featured-list", { children: a.map((r) => {
16
+ var o, t;
17
+ const i = {
18
+ fullCardClickable: !0,
19
+ content: /* @__PURE__ */ e(
20
+ m,
21
+ {
22
+ airdateStr: `${r.start_date} ${c(r.start_time)}`,
23
+ separatorType: "pipe"
24
+ }
25
+ ),
26
+ cta: {
27
+ label: "View Upcoming",
28
+ href: (o = r == null ? void 0 : r.content) != null && o.slug && l ? r.program_class === "Film" ? `/movie/${r.content.slug}` : `/show/${r.content.slug}` : "",
29
+ type: l ? "internal-link" : "show-modal",
37
30
  relatedResourceId: r.program_class === "Film" ? r.title_code : s(r.series_prefix),
38
- displayCTA: !1
31
+ relatedResourceType: r.program_class === "Film" ? "film" : "series"
32
+ },
33
+ displayCTA: !1,
34
+ handleClicks: l ? () => {
35
+ } : d,
36
+ image: {
37
+ url: ((t = r == null ? void 0 : r.content) == null ? void 0 : t.image) ?? "",
38
+ aspectRatio: n,
39
+ altText: r.program
39
40
  },
40
- `featured-list-${r.id}`
41
+ key: `featured-list-${r.id}`,
42
+ relatedResourceId: r.program_class === "Film" ? r.title_code : s(r.series_prefix)
43
+ };
44
+ return /* @__PURE__ */ p(
45
+ u,
46
+ {
47
+ ...i,
48
+ key: `featured-list-item-${r.id}`
49
+ }
41
50
  );
42
- }) });
43
- if (!a.length) return /* @__PURE__ */ e("div", { className: "featured-list__no-results", children: "There are no items to display." });
51
+ }) }) : /* @__PURE__ */ e("div", { className: "featured-list__no-results", children: "There are no items to display." });
44
52
  }
45
53
  export {
46
- y as FeaturedList,
47
- y as default
54
+ k as FeaturedList,
55
+ k as default
48
56
  };
@@ -1 +1,2 @@
1
- export { FeaturedList, FeaturedList as default } from './FeaturedList';
1
+ export { FeaturedList } from './FeaturedList';
2
+ export { FeaturedList as default } from './FeaturedList';
@@ -1,8 +1,9 @@
1
- export function Figure({ image }: {
1
+ type FigureProps = {
2
2
  image?: {
3
3
  url: string;
4
4
  altText: string;
5
- caption: string;
6
- } | undefined;
7
- }): import("react/jsx-runtime").JSX.Element;
5
+ caption?: string;
6
+ };
7
+ };
8
+ export declare function Figure({ image }: FigureProps): JSX.Element;
8
9
  export default Figure;
@@ -1,23 +1,22 @@
1
1
  import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
- import "react";
3
- import { p as o } from "../../index-VjANCDXC.mjs";
4
- import '../../assets/Figure2.css';const s = "_figure_1wcw1_1", c = {
5
- figure: s
2
+ import { p as s } from "../../index-VjANCDXC.mjs";
3
+ import '../../assets/Figure2.css';const o = "_figure_1alhd_1", c = {
4
+ figure: o
6
5
  };
7
- function f({ image: t = { url: "", altText: "", caption: "" } }) {
6
+ function e({ image: t = { url: "", altText: "", caption: "" } }) {
8
7
  return /* @__PURE__ */ l(
9
8
  "figure",
10
9
  {
11
10
  className: c.figure,
12
11
  title: t.altText !== "" ? t.altText : "",
13
12
  children: [
14
- /* @__PURE__ */ r("img", { src: t.url, alt: t.altText }),
15
- (t == null ? void 0 : t.caption) && /* @__PURE__ */ r("figcaption", { children: o(t.caption) })
13
+ /* @__PURE__ */ r("img", { alt: t.altText, src: t.url }),
14
+ (t == null ? void 0 : t.caption) && /* @__PURE__ */ r("figcaption", { children: s(t.caption) })
16
15
  ]
17
16
  }
18
17
  );
19
18
  }
20
19
  export {
21
- f as Figure,
22
- f as default
20
+ e as Figure,
21
+ e as default
23
22
  };
@@ -1 +1,2 @@
1
- export { Figure, Figure as default } from './Figure';
1
+ export { Figure } from './Figure';
2
+ export { Figure as default } from './Figure';
@@ -1,3 +1,26 @@
1
+ type FindUsProps = {
2
+ network: {
3
+ brand_name: string;
4
+ slug: string;
5
+ platformsSlug: string;
6
+ };
7
+ baseApiUrl: string;
8
+ platformsApiUrl?: string;
9
+ authApiUrl?: string;
10
+ allowStateSearch?: boolean;
11
+ allowZipcodeSearch?: boolean;
12
+ allowAutoScroll?: boolean;
13
+ autoScrollOffset?: number;
14
+ compactLayout?: boolean;
15
+ showChannelSearchAndRescan?: boolean;
16
+ numberOfColumns?: number;
17
+ ad?: {
18
+ campaign?: string | undefined;
19
+ source?: string | undefined;
20
+ medium?: string | undefined;
21
+ content?: string | undefined;
22
+ };
23
+ };
1
24
  /**
2
25
  * FindUs component for rendering the "Find Us" section.
3
26
  * @param {*} param0 - Component props.
@@ -19,5 +42,5 @@
19
42
  * @param {string} [param0.ad.content='learn_more'] - The ad content.
20
43
  * @returns {JSX.Element} The rendered "Find Us" section.
21
44
  */
22
- export function FindUs({ network, baseApiUrl, platformsApiUrl, authApiUrl, allowStateSearch, allowZipcodeSearch, allowAutoScroll, autoScrollOffset, compactLayout, showChannelSearchAndRescan, numberOfColumns, ad }: any): JSX.Element;
45
+ export declare function FindUs({ network, baseApiUrl, platformsApiUrl, allowStateSearch, allowZipcodeSearch, allowAutoScroll, autoScrollOffset, compactLayout, showChannelSearchAndRescan, numberOfColumns, ad, }: FindUsProps): JSX.Element;
23
46
  export default FindUs;
@@ -1,111 +1,118 @@
1
- import { jsxs as s, jsx as e, Fragment as j } from "react/jsx-runtime";
2
- import { useState as v, useEffect as N } from "react";
3
- import { getViewingPlatforms as W } from "../../utils/getViewingPlatforms.js";
4
- import { ChannelSearch as b } from "../ChannelSearch/ChannelSearch.js";
5
- import { RescanInstructions as M } from "../RescanInstructions/RescanInstructions.js";
6
- import { DeviceAndPlatformLists as x } from "../DeviceAndPlatformLists/DeviceAndPlatformLists.js";
7
- import { GeneralErrorBoundary as c } from "../../error-boundries/GeneralErrorBoundry.js";
8
- import '../../assets/FindUs.css';const F = "_findus__column_mvuro_8", u = {
9
- "grid-wrapper": "_grid-wrapper_mvuro_1",
10
- findus__column: F
1
+ import { jsxs as s, jsx as e, Fragment as W } from "react/jsx-runtime";
2
+ import { useState as m, useEffect as w } from "react";
3
+ import { getViewingPlatforms as O } from "../../utils/getViewingPlatforms.js";
4
+ import { ChannelSearch as P } from "../ChannelSearch/ChannelSearch.js";
5
+ import { RescanInstructions as x } from "../RescanInstructions/RescanInstructions.js";
6
+ import { DeviceAndPlatformLists as z } from "../DeviceAndPlatformLists/DeviceAndPlatformLists.js";
7
+ import { GeneralErrorBoundary as f } from "../../error-boundries/GeneralErrorBoundry.js";
8
+ import '../../assets/FindUs.css';const E = "_findus__column_136bp_8", h = {
9
+ "grid-wrapper": "_grid-wrapper_136bp_1",
10
+ findus__column: E
11
11
  };
12
12
  function G({
13
- network: t,
14
- baseApiUrl: d,
15
- platformsApiUrl: m = "https://api.scrippscloud.com/viewing-platforms/v1",
16
- authApiUrl: f = "",
17
- allowStateSearch: h = !0,
18
- allowZipcodeSearch: p = !0,
19
- allowAutoScroll: i = !0,
13
+ network: n,
14
+ baseApiUrl: p,
15
+ platformsApiUrl: _ = "https://api.scrippscloud.com/viewing-platforms/v1",
16
+ allowStateSearch: g = !0,
17
+ allowZipcodeSearch: v = !0,
18
+ allowAutoScroll: o = !0,
20
19
  autoScrollOffset: a = 25,
21
- compactLayout: n = !0,
22
- showChannelSearchAndRescan: l = !0,
23
- numberOfColumns: _,
24
- ad: y = {
20
+ compactLayout: t = !0,
21
+ showChannelSearchAndRescan: c = !0,
22
+ numberOfColumns: b,
23
+ ad: l = {
25
24
  campaign: "",
26
25
  source: "",
27
26
  medium: "referral",
28
27
  content: "learn_more"
29
28
  }
30
29
  }) {
31
- const [r, w] = v(null), [g, I] = v(i ? a : 0);
32
- return N(() => {
30
+ const [r, y] = m(null), [N, j] = m(o ? a : 0), [u, I] = m(null);
31
+ return w(() => {
33
32
  r === null && (async () => {
34
- const o = await W({ network: t.platformsSlug, platformsApiUrl: m });
35
- w(o);
33
+ const i = await O({ network: n.platformsSlug, platformsApiUrl: _ });
34
+ if (Object.prototype.hasOwnProperty.call(i, "error")) {
35
+ I("An error occured while fetching the platforms."), console.error("An error occured while fetching the platforms:", i), y(/* @__PURE__ */ new Map());
36
+ return;
37
+ }
38
+ y(i);
36
39
  })();
37
- }, [r, t.platformsSlug, m]), N(() => {
40
+ }, [r, n.platformsSlug, _]), w(() => {
38
41
  if (window.innerWidth <= 960) {
39
- const o = setInterval(() => {
42
+ const i = setInterval(() => {
40
43
  if (document.querySelector(".mobile-nav")) {
41
- clearInterval(o);
42
- const P = document.querySelector(".mobile-nav").offsetHeight;
43
- I(P + a);
44
+ clearInterval(i);
45
+ const d = document.querySelector(".mobile-nav"), M = (d == null ? void 0 : d.offsetHeight) ?? 0;
46
+ j(M + a);
44
47
  }
45
48
  }, 100);
46
49
  }
47
- }, [a]), /* @__PURE__ */ s("section", { className: [u["find-us"], n ? "find-us--compact" : ""].join(" "), children: [
48
- l && !n && /* @__PURE__ */ e(
49
- c,
50
+ }, [a]), /* @__PURE__ */ s("section", { className: [h["find-us"], t ? "find-us--compact" : ""].join(" "), children: [
51
+ c && !t && /* @__PURE__ */ e(
52
+ f,
50
53
  {
51
- errorTitle: "We're sorry, there's currently an issue with our channel search.",
52
54
  errorMessage: "Please try again later. If the problem persists please use the <strong>contact us</strong> link below to report the issue.",
55
+ errorTitle: "We're sorry, there's currently an issue with our channel search.",
53
56
  children: /* @__PURE__ */ e("div", { className: "find-us__channel-search-section", children: /* @__PURE__ */ e(
54
- b,
57
+ P,
55
58
  {
56
- network: t,
57
- baseApiUrl: d,
58
- authApiUrl: f,
59
- allowZipcodeSearch: p,
60
- allowStateSearch: h,
61
- allowAutoScroll: i,
62
- autoScrollOffset: g,
63
- compactLayout: n,
64
- ad: y
59
+ ad: {
60
+ campaign: l.campaign ?? "",
61
+ source: l.source ?? "",
62
+ medium: l.medium ?? "referral",
63
+ content: l.content ?? "learn_more"
64
+ },
65
+ allowAutoScroll: o,
66
+ allowStateSearch: g,
67
+ allowZipcodeSearch: v,
68
+ autoScrollOffset: N,
69
+ baseApiUrl: p,
70
+ compactLayout: t,
71
+ network: n
65
72
  }
66
73
  ) })
67
74
  }
68
75
  ),
69
- /* @__PURE__ */ e("div", { className: "find-us__rescan-platform-section", children: /* @__PURE__ */ s("div", { className: [u["grid-wrapper"], "findus__grid-wrapper", l ? "" : "findus__grid-wrapper--full-width"].join(" "), children: [
70
- l && /* @__PURE__ */ s("div", { className: [u.findus__column, "findus__column"].join(" "), children: [
71
- n && /* @__PURE__ */ s(j, { children: [
76
+ /* @__PURE__ */ e("div", { className: "find-us__rescan-platform-section", children: /* @__PURE__ */ s("div", { className: [h["grid-wrapper"], "findus__grid-wrapper", c ? "" : "findus__grid-wrapper--full-width"].join(" "), children: [
77
+ c && /* @__PURE__ */ s("div", { className: [h.findus__column, "findus__column"].join(" "), children: [
78
+ t && /* @__PURE__ */ s(W, { children: [
72
79
  /* @__PURE__ */ s("h4", { className: "channel-search__header", children: [
73
80
  "Digital Antenna ",
74
81
  /* @__PURE__ */ e("span", { className: "channel-search__header--lighter", children: "(Over-the-Air Broadcast)" })
75
82
  ] }),
76
83
  /* @__PURE__ */ e(
77
- c,
84
+ f,
78
85
  {
79
- errorTitle: "We're sorry, there's currently an issue with our channel search.",
80
86
  errorMessage: "Please try again later. If the problem persists please use the <strong>contact us</strong> link below to report the issue.",
87
+ errorTitle: "We're sorry, there's currently an issue with our channel search.",
81
88
  children: /* @__PURE__ */ e(
82
- b,
89
+ P,
83
90
  {
84
- network: t,
85
- baseApiUrl: d,
86
- authApiUrl: f,
87
- allowZipcodeSearch: p,
88
- allowStateSearch: h,
89
- allowAutoScroll: i,
90
- autoScrollOffset: g,
91
- compactLayout: n
91
+ allowAutoScroll: o,
92
+ allowStateSearch: g,
93
+ allowZipcodeSearch: v,
94
+ autoScrollOffset: N,
95
+ baseApiUrl: p,
96
+ compactLayout: t,
97
+ network: n
92
98
  }
93
99
  )
94
100
  }
95
101
  )
96
102
  ] }),
97
- /* @__PURE__ */ e(M, { brandName: t.brand_name })
103
+ /* @__PURE__ */ e(x, { brandName: n.brand_name })
98
104
  ] }),
99
105
  /* @__PURE__ */ s(
100
- c,
106
+ f,
101
107
  {
102
- errorTitle: "We're sorry, there's currently an issue with our device and platform lists.",
103
108
  errorMessage: "Please try again later. If the problem persists please use the <strong>contact us</strong> link below to report the issue.",
109
+ errorTitle: "We're sorry, there's currently an issue with our device and platform lists.",
104
110
  children: [
105
- r !== null && r.size > 0 && r.get("error") === void 0 && /* @__PURE__ */ e(x, { platformResources: r, ..._ && { numberOfColumns: _ } }),
111
+ r !== null && r.size > 0 && u === null && /* @__PURE__ */ e(z, { platformResources: r, ...b && { numberOfColumns: b } }),
112
+ r !== null && r.size > 0 && u !== null && /* @__PURE__ */ e("div", { className: "find-us__error", children: /* @__PURE__ */ e("p", { className: "find-us__error-message", children: u }) }),
106
113
  r !== null && r.size === 0 && /* @__PURE__ */ e("div", { className: "find-us__error", children: /* @__PURE__ */ s("p", { className: "find-us__error-message", children: [
107
114
  "We couldn't find any viewing platforms for ",
108
- t.brand_name,
115
+ n.brand_name,
109
116
  "."
110
117
  ] }) })
111
118
  ]
@@ -1 +1,2 @@
1
- export { FindUs, FindUs as default } from './FindUs';
1
+ export { FindUs } from './FindUs';
2
+ export { FindUs as default } from './FindUs';
@@ -1,4 +1,10 @@
1
- export function FooterNavigation({ sections }: {
2
- sections?: never[] | undefined;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { AnchorLink } from '../../types';
2
+ type FooterNavigationProps = {
3
+ sections?: Array<{
4
+ classname?: string;
5
+ title?: string;
6
+ links?: AnchorLink[];
7
+ }>;
8
+ };
9
+ export declare function FooterNavigation({ sections }: FooterNavigationProps): JSX.Element;
4
10
  export default FooterNavigation;
@@ -1,24 +1,23 @@
1
- import { jsxs as n, jsx as a } from "react/jsx-runtime";
2
- import "react";
1
+ import { jsxs as n, jsx as o } from "react/jsx-runtime";
3
2
  import { NavList as e } from "../NavList/NavList.js";
4
3
  import '../../assets/FooterNavigation.css';const r = {
5
4
  "footer-navigation": "_footer-navigation_8qkwj_1"
6
5
  };
7
- function m({ sections: t = [] }) {
8
- return /* @__PURE__ */ n("nav", { className: r["footer-navigation"], "aria-labelledby": "footer-navigation", children: [
9
- /* @__PURE__ */ a("h4", { className: "sr-only", id: "footer-navigation", children: "Footer Navigation" }),
10
- t.map((o, i) => /* @__PURE__ */ a(
6
+ function f({ sections: t = [] }) {
7
+ return /* @__PURE__ */ n("nav", { "aria-labelledby": "footer-navigation", className: r["footer-navigation"], children: [
8
+ /* @__PURE__ */ o("h4", { className: "sr-only", id: "footer-navigation", children: "Footer Navigation" }),
9
+ t.map((a, i) => /* @__PURE__ */ o(
11
10
  e,
12
11
  {
13
- links: o.links,
14
- title: o.title,
15
- classname: o.classname
12
+ classname: a.classname,
13
+ links: a.links,
14
+ title: a.title
16
15
  },
17
16
  `footer-section-${i + 1}`
18
17
  ))
19
18
  ] });
20
19
  }
21
20
  export {
22
- m as FooterNavigation,
23
- m as default
21
+ f as FooterNavigation,
22
+ f as default
24
23
  };
@@ -1 +1,2 @@
1
- export { FooterNavigation, FooterNavigation as default } from './FooterNavigation';
1
+ export { FooterNavigation } from './FooterNavigation';
2
+ export { FooterNavigation as default } from './FooterNavigation';
@@ -1,6 +1,7 @@
1
- export function GenericList({ list, type, classname }: {
2
- list?: never[] | undefined;
3
- type?: string | undefined;
4
- classname?: string | undefined;
5
- }): import("react/jsx-runtime").JSX.Element;
1
+ type GenericListProps = {
2
+ list?: Array<string | JSX.Element>;
3
+ type?: 'unordered' | 'ordered';
4
+ classname?: string;
5
+ };
6
+ export declare function GenericList({ list, type, classname, }: GenericListProps): JSX.Element;
6
7
  export default GenericList;