@mjhls/mjh-framework 1.0.886-beta.0 → 1.0.886

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 (339) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +10 -9
  3. package/dist/cjs/AD300x250.js +29 -28
  4. package/dist/cjs/AD300x250x600.js +29 -28
  5. package/dist/cjs/AD728x90.js +32 -31
  6. package/dist/cjs/ADFloatingFooter.js +31 -30
  7. package/dist/cjs/ADFooter.js +13 -12
  8. package/dist/cjs/ADGutter.js +31 -30
  9. package/dist/cjs/{ADInfeed-2e48af77.js → ADInfeed-bce0ba07.js} +15 -13
  10. package/dist/cjs/ADSkyscraper.js +31 -30
  11. package/dist/cjs/ADSponsoredResources.js +31 -30
  12. package/dist/cjs/ADWebcast.js +31 -30
  13. package/dist/cjs/ADWelcome.js +32 -31
  14. package/dist/cjs/{ADlgInfeed-c39c7131.js → ADlgInfeed-950b414b.js} +11 -10
  15. package/dist/cjs/AccordionPanel.js +29 -27
  16. package/dist/cjs/AdSlot.js +32 -31
  17. package/dist/cjs/AdSlotsProvider.js +18 -909
  18. package/dist/cjs/AlgoliaSearch.js +1490 -1306
  19. package/dist/cjs/AlphabeticList.js +24 -23
  20. package/dist/cjs/ArticleCarousel.js +20 -19
  21. package/dist/cjs/ArticleProgramLandingPage.js +58 -57
  22. package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
  23. package/dist/cjs/ArticleSeriesListing.js +60 -59
  24. package/dist/cjs/Auth.js +680 -1504
  25. package/dist/cjs/AuthWrapper.js +1637 -419
  26. package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-39b37d84.js} +14 -13
  27. package/dist/cjs/Beam.js +6 -6
  28. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-9ebd251f.js} +56 -55
  29. package/dist/cjs/Breadcrumbs.js +27 -25
  30. package/dist/cjs/CMEDeck.js +81 -81
  31. package/dist/cjs/Column1.js +14 -11
  32. package/dist/cjs/Column2.js +34 -31
  33. package/dist/cjs/Column3.js +60 -57
  34. package/dist/cjs/ConferenceArticleCard.js +41 -40
  35. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  36. package/dist/cjs/ContentCardPaginated.js +98 -92
  37. package/dist/cjs/DeckContent.js +105 -101
  38. package/dist/cjs/DeckQueue.js +91 -87
  39. package/dist/cjs/DeckQueuePaginated.js +92 -86
  40. package/dist/cjs/{Dfp-f492f985.js → Dfp-9be904d5.js} +32 -31
  41. package/dist/cjs/EventsDeck.js +157 -150
  42. package/dist/cjs/ExternalResources.js +79 -78
  43. package/dist/cjs/Feature.js +29 -27
  44. package/dist/cjs/ForbesHero.js +41 -40
  45. package/dist/cjs/GridContent.js +189 -185
  46. package/dist/cjs/GridContentPaginated.js +190 -184
  47. package/dist/cjs/GridHero.js +43 -42
  48. package/dist/cjs/GroupDeck.js +58 -57
  49. package/dist/cjs/HamMagazine.js +144 -139
  50. package/dist/cjs/Header.js +14 -12
  51. package/dist/cjs/Hero.js +16 -15
  52. package/dist/cjs/HighlightenVideo.js +18 -17
  53. package/dist/cjs/HorizontalArticleListing.js +72 -71
  54. package/dist/cjs/HorizontalHero.js +29 -28
  55. package/dist/cjs/{ImageSlider-38f25e66.js → ImageSlider-b96720eb.js} +202 -1378
  56. package/dist/cjs/IssueContentDeck.js +76 -71
  57. package/dist/cjs/IssueDeck.js +75 -70
  58. package/dist/cjs/IssueLanding.js +94 -93
  59. package/dist/cjs/KMTracker.js +15 -15
  60. package/dist/cjs/LeftNav.js +39 -37
  61. package/dist/cjs/MasterDeck.js +79 -78
  62. package/dist/cjs/MasterDeckPaginated.js +76 -73
  63. package/dist/cjs/{MediaSeriesCard-8d27612b.js → MediaSeriesCard-8b4efd28.js} +1145 -1051
  64. package/dist/cjs/MediaSeriesLanding.js +93 -91
  65. package/dist/cjs/MediaSeriesLandingPaginated.js +95 -92
  66. package/dist/cjs/NavDvm.js +77 -72
  67. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  68. package/dist/cjs/NavMagazine.js +151 -146
  69. package/dist/cjs/NavNative.js +145 -137
  70. package/dist/cjs/OncliveHero.js +22 -22
  71. package/dist/cjs/OncliveLargeHero.js +71 -70
  72. package/dist/cjs/PageFilter.js +13 -12
  73. package/dist/cjs/Pagination-8f2038bf.js +53 -0
  74. package/dist/cjs/PartnerDetailListing.js +100 -98
  75. package/dist/cjs/PartnerDetailListingPaginated.js +99 -96
  76. package/dist/cjs/PdfDownload.js +10 -9
  77. package/dist/cjs/PopUpModal.js +19 -17
  78. package/dist/cjs/PubSection.js +41 -40
  79. package/dist/cjs/PubToc.js +14 -13
  80. package/dist/cjs/PublicationDeck.js +70 -65
  81. package/dist/cjs/{PublicationFeature-28c549f2.js → PublicationFeature-5ccf9b13.js} +40 -36
  82. package/dist/cjs/PublicationLanding.js +141 -133
  83. package/dist/cjs/QueueDeckExpanded.js +308 -308
  84. package/dist/cjs/QueueDeckExpandedPaginated.js +268 -267
  85. package/dist/cjs/RecentNews.js +23 -22
  86. package/dist/cjs/RelatedContent.js +58 -57
  87. package/dist/cjs/RelatedTopicsDropdown.js +32 -29
  88. package/dist/cjs/RolesDeck.js +32 -27
  89. package/dist/cjs/Schema.js +16 -15
  90. package/dist/cjs/Search.js +20 -16
  91. package/dist/cjs/Segment.js +4 -4
  92. package/dist/cjs/SeriesListingDeck.js +36 -36
  93. package/dist/cjs/{SeriesSlider-49b81b0b.js → SeriesSlider-ba0c5d1a.js} +40 -39
  94. package/dist/cjs/SetCookie.js +1 -1
  95. package/dist/cjs/SideFooter.js +37 -36
  96. package/dist/cjs/SocialIcons.js +10 -9
  97. package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-4942ddfc.js} +40 -36
  98. package/dist/cjs/SocialShare.js +31 -29
  99. package/dist/cjs/TaxonomyCard.js +66 -61
  100. package/dist/cjs/TaxonomyDescription.js +54 -53
  101. package/dist/cjs/TemplateNormal.js +73 -72
  102. package/dist/cjs/ThumbnailCard.js +26 -24
  103. package/dist/cjs/Ustream.js +29 -28
  104. package/dist/cjs/VerticalHero.js +20 -19
  105. package/dist/cjs/VideoProgramLandingPage.js +76 -72
  106. package/dist/cjs/VideoSeriesCard.js +33 -32
  107. package/dist/cjs/VideoSeriesFilter.js +16 -16
  108. package/dist/cjs/VideoSeriesLandingPage.js +48 -47
  109. package/dist/cjs/VideoSeriesListing.js +77 -76
  110. package/dist/cjs/View.js +267 -264
  111. package/dist/cjs/YahooHero.js +40 -39
  112. package/dist/cjs/YoutubeGroup.js +68 -67
  113. package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
  114. package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
  115. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  116. package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
  117. package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
  118. package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
  119. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  120. package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
  121. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  122. package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
  123. package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
  124. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  125. package/dist/cjs/{entities-310b46ee.js → entities-df1aed86.js} +5 -1
  126. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  127. package/dist/cjs/{extends-eed4f016.js → extends-7c86182f.js} +7 -7
  128. package/dist/cjs/faundadb.js +5 -5
  129. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  130. package/dist/cjs/getQuery.js +1 -1
  131. package/dist/cjs/getRelatedArticle.js +16 -16
  132. package/dist/cjs/getRootDocGroup.js +4 -4
  133. package/dist/cjs/getSerializers.js +43 -43
  134. package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
  135. package/dist/cjs/getTargeting.js +6 -6
  136. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  137. package/dist/cjs/{index-e2e62963.js → index-50be6759.js} +26 -10
  138. package/dist/cjs/{index-54adcbc3.js → index-6f89aea7.js} +1070 -1044
  139. package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
  140. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  141. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  142. package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
  143. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  144. package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
  145. package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
  146. package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-c1e16606.js} +4 -7
  147. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
  148. package/dist/cjs/index.js +175 -168
  149. package/dist/cjs/{inherits-12d44cca.js → inherits-de66ea16.js} +18 -18
  150. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  151. package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
  152. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  153. package/dist/cjs/main-f1c77adb.js +973 -0
  154. package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
  155. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  156. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  157. package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
  158. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  159. package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
  160. package/dist/cjs/timeDifferenceCalc.js +1 -1
  161. package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
  162. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  163. package/dist/cjs/typeof-1358762e.js +33 -0
  164. package/dist/cjs/{typeof-5f52cf64.js → typeof-567e31ff.js} +35 -35
  165. package/dist/cjs/urlFor.js +6 -6
  166. package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
  167. package/dist/cjs/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
  168. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  169. package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
  170. package/dist/esm/AD.js +1 -1
  171. package/dist/esm/AD300x250.js +22 -22
  172. package/dist/esm/AD300x250x600.js +22 -22
  173. package/dist/esm/AD728x90.js +25 -25
  174. package/dist/esm/ADFloatingFooter.js +21 -21
  175. package/dist/esm/ADFooter.js +4 -4
  176. package/dist/esm/ADGutter.js +21 -21
  177. package/dist/esm/{ADInfeed-d767ebe2.js → ADInfeed-0a55cd2d.js} +4 -4
  178. package/dist/esm/ADSkyscraper.js +21 -21
  179. package/dist/esm/ADSponsoredResources.js +21 -21
  180. package/dist/esm/ADWebcast.js +21 -21
  181. package/dist/esm/ADWelcome.js +18 -18
  182. package/dist/esm/{ADlgInfeed-cee95aa2.js → ADlgInfeed-013e1f4a.js} +4 -4
  183. package/dist/esm/AccordionPanel.js +6 -6
  184. package/dist/esm/AdSlot.js +20 -20
  185. package/dist/esm/AdSlotsProvider.js +14 -906
  186. package/dist/esm/AlgoliaSearch.js +717 -534
  187. package/dist/esm/AlphabeticList.js +8 -8
  188. package/dist/esm/ArticleCarousel.js +13 -13
  189. package/dist/esm/ArticleProgramLandingPage.js +48 -48
  190. package/dist/esm/ArticleSeriesLandingPage.js +30 -30
  191. package/dist/esm/ArticleSeriesListing.js +31 -31
  192. package/dist/esm/Auth.js +591 -1419
  193. package/dist/esm/AuthWrapper.js +1609 -392
  194. package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-11adff02.js} +1 -1
  195. package/dist/esm/Beam.js +6 -6
  196. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-1e73bd2c.js} +34 -34
  197. package/dist/esm/Breadcrumbs.js +5 -5
  198. package/dist/esm/CMEDeck.js +22 -22
  199. package/dist/esm/Column2.js +14 -14
  200. package/dist/esm/Column3.js +31 -31
  201. package/dist/esm/ConferenceArticleCard.js +25 -25
  202. package/dist/esm/ContentCardPaginated.js +36 -35
  203. package/dist/esm/DeckContent.js +41 -41
  204. package/dist/esm/DeckQueue.js +31 -31
  205. package/dist/esm/DeckQueuePaginated.js +32 -31
  206. package/dist/esm/{Dfp-f867d061.js → Dfp-102f0beb.js} +13 -13
  207. package/dist/esm/EventsDeck.js +41 -41
  208. package/dist/esm/ExternalResources.js +45 -45
  209. package/dist/esm/Feature.js +7 -7
  210. package/dist/esm/ForbesHero.js +10 -10
  211. package/dist/esm/GridContent.js +47 -47
  212. package/dist/esm/GridContentPaginated.js +46 -45
  213. package/dist/esm/GridHero.js +11 -11
  214. package/dist/esm/GroupDeck.js +12 -12
  215. package/dist/esm/HamMagazine.js +35 -35
  216. package/dist/esm/Hero.js +7 -7
  217. package/dist/esm/HighlightenVideo.js +2 -2
  218. package/dist/esm/HorizontalArticleListing.js +46 -46
  219. package/dist/esm/HorizontalHero.js +8 -8
  220. package/dist/esm/{ImageSlider-a3154b97.js → ImageSlider-de7846ea.js} +141 -1317
  221. package/dist/esm/IssueContentDeck.js +11 -11
  222. package/dist/esm/IssueDeck.js +14 -14
  223. package/dist/esm/IssueLanding.js +82 -82
  224. package/dist/esm/KMTracker.js +15 -15
  225. package/dist/esm/LeftNav.js +20 -20
  226. package/dist/esm/MasterDeck.js +40 -40
  227. package/dist/esm/MasterDeckPaginated.js +39 -38
  228. package/dist/esm/{MediaSeriesCard-1dd7eae8.js → MediaSeriesCard-51ebf1c0.js} +694 -602
  229. package/dist/esm/MediaSeriesLanding.js +58 -58
  230. package/dist/esm/MediaSeriesLandingPaginated.js +62 -61
  231. package/dist/esm/NavDvm.js +11 -11
  232. package/dist/esm/NavMagazine.js +39 -39
  233. package/dist/esm/NavNative.js +37 -37
  234. package/dist/esm/OncliveHero.js +7 -8
  235. package/dist/esm/OncliveLargeHero.js +11 -11
  236. package/dist/esm/PageFilter.js +4 -4
  237. package/dist/esm/Pagination-c0db7ca1.js +46 -0
  238. package/dist/esm/PartnerDetailListing.js +63 -62
  239. package/dist/esm/PartnerDetailListingPaginated.js +62 -60
  240. package/dist/esm/PdfDownload.js +2 -2
  241. package/dist/esm/PopUpModal.js +4 -4
  242. package/dist/esm/PubSection.js +32 -32
  243. package/dist/esm/PubToc.js +6 -6
  244. package/dist/esm/PublicationDeck.js +10 -10
  245. package/dist/esm/{PublicationFeature-fa24dedb.js → PublicationFeature-d88e76b9.js} +2 -2
  246. package/dist/esm/PublicationLanding.js +56 -52
  247. package/dist/esm/QueueDeckExpanded.js +36 -36
  248. package/dist/esm/QueueDeckExpandedPaginated.js +36 -35
  249. package/dist/esm/RecentNews.js +4 -4
  250. package/dist/esm/RelatedContent.js +38 -38
  251. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  252. package/dist/esm/Schema.js +10 -10
  253. package/dist/esm/Search.js +5 -5
  254. package/dist/esm/Segment.js +4 -4
  255. package/dist/esm/SeriesListingDeck.js +18 -18
  256. package/dist/esm/{SeriesSlider-ce19fa25.js → SeriesSlider-45adb8dc.js} +14 -14
  257. package/dist/esm/SetCookie.js +1 -1
  258. package/dist/esm/SideFooter.js +15 -15
  259. package/dist/esm/{SocialSearchComponent-dca69151.js → SocialSearchComponent-8e0fcf66.js} +10 -10
  260. package/dist/esm/TaxonomyCard.js +12 -12
  261. package/dist/esm/TaxonomyDescription.js +44 -44
  262. package/dist/esm/TemplateNormal.js +46 -46
  263. package/dist/esm/ThumbnailCard.js +10 -10
  264. package/dist/esm/Ustream.js +12 -12
  265. package/dist/esm/VerticalHero.js +6 -6
  266. package/dist/esm/VideoProgramLandingPage.js +49 -49
  267. package/dist/esm/VideoSeriesCard.js +14 -14
  268. package/dist/esm/VideoSeriesFilter.js +7 -7
  269. package/dist/esm/VideoSeriesLandingPage.js +36 -36
  270. package/dist/esm/VideoSeriesListing.js +31 -31
  271. package/dist/esm/View.js +89 -90
  272. package/dist/esm/YahooHero.js +13 -13
  273. package/dist/esm/YoutubeGroup.js +21 -21
  274. package/dist/esm/{_is-array-4df618a6.js → _is-array-8d21b9e3.js} +6 -6
  275. package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-98db3b07.js} +7 -7
  276. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  277. package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-7cee6f84.js} +1 -1
  278. package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-2300e51b.js} +2 -2
  279. package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-5ef104a7.js} +30 -30
  280. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
  281. package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-ea258bb1.js} +36 -36
  282. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  283. package/dist/esm/define-property-5f1bda73.js +18 -0
  284. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  285. package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8c30428f.js} +1 -1
  286. package/dist/esm/{entities-7cc3bf45.js → entities-6d9154b4.js} +5 -1
  287. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  288. package/dist/esm/{extends-5b1796d4.js → extends-6d8e3924.js} +7 -7
  289. package/dist/esm/faundadb.js +5 -5
  290. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  291. package/dist/esm/getQuery.js +1 -1
  292. package/dist/esm/getRelatedArticle.js +11 -11
  293. package/dist/esm/getRootDocGroup.js +4 -4
  294. package/dist/esm/getSerializers.js +43 -43
  295. package/dist/esm/{getTargeting-277c801e.js → getTargeting-4061f839.js} +11 -11
  296. package/dist/esm/getTargeting.js +6 -6
  297. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
  298. package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
  299. package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
  300. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  301. package/dist/esm/{index-aaa2dae0.js → index-98ca9cec.js} +26 -11
  302. package/dist/esm/{index-d1476645.js → index-ca0c9ff5.js} +615 -599
  303. package/dist/esm/{index-41a678ea.js → index-f0fc23eb.js} +4 -4
  304. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  305. package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
  306. package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-9b042655.js} +4 -7
  307. package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
  308. package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
  309. package/dist/esm/index.js +126 -122
  310. package/dist/esm/{inherits-2409637d.js → inherits-a6ba2ec4.js} +18 -18
  311. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  312. package/dist/esm/{keys-69989821.js → keys-31dcdb31.js} +6 -6
  313. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  314. package/dist/esm/main-1894c974.js +961 -0
  315. package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
  316. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  317. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
  318. package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-6ebcbfea.js} +12 -12
  319. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  320. package/dist/esm/stringify-2b084bee.js +15 -0
  321. package/dist/esm/timeDifferenceCalc.js +1 -1
  322. package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-f7074d7c.js} +7 -7
  323. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  324. package/dist/esm/typeof-2f07d0e8.js +30 -0
  325. package/dist/esm/{typeof-c05a82ba.js → typeof-e9fc0c5d.js} +35 -35
  326. package/dist/esm/urlFor.js +4 -4
  327. package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-d3714624.js} +4 -4
  328. package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
  329. package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-ab4dea5c.js} +2 -2
  330. package/package.json +112 -112
  331. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  332. package/dist/cjs/Pagination-90473595.js +0 -59
  333. package/dist/cjs/inherits-8d29278d.js +0 -110
  334. package/dist/cjs/main-02daeefe.js +0 -862
  335. package/dist/esm/Pagination-683fa8ef.js +0 -54
  336. package/dist/esm/define-property-6d26cb48.js +0 -18
  337. package/dist/esm/inherits-77d5e4fc.js +0 -101
  338. package/dist/esm/main-c0612122.js +0 -851
  339. package/dist/esm/stringify-70b72959.js +0 -15
@@ -1,5 +1,5 @@
1
- import { a as isSymbol_1, _ as _root, i as isObject_1, b as _Symbol } from './isSymbol-1981418f.js';
2
- import { i as isFunction_1, e as eq_1 } from './eq-b470f743.js';
1
+ import { a as isSymbol_1, _ as _root, i as isObject_1, b as _Symbol } from './isSymbol-a7e9aafe.js';
2
+ import { i as isFunction_1, e as eq_1 } from './eq-bdcbf886.js';
3
3
 
4
4
  /**
5
5
  * Checks if `value` is classified as an `Array` object.
@@ -80,10 +80,10 @@ function isMasked(func) {
80
80
  var _isMasked = isMasked;
81
81
 
82
82
  /** Used for built-in method references. */
83
- var funcProto = Function.prototype;
83
+ var funcProto$1 = Function.prototype;
84
84
 
85
85
  /** Used to resolve the decompiled source of functions. */
86
- var funcToString = funcProto.toString;
86
+ var funcToString$1 = funcProto$1.toString;
87
87
 
88
88
  /**
89
89
  * Converts `func` to its source code.
@@ -95,7 +95,7 @@ var funcToString = funcProto.toString;
95
95
  function toSource(func) {
96
96
  if (func != null) {
97
97
  try {
98
- return funcToString.call(func);
98
+ return funcToString$1.call(func);
99
99
  } catch (e) {}
100
100
  try {
101
101
  return (func + '');
@@ -116,18 +116,18 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
116
116
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
117
117
 
118
118
  /** Used for built-in method references. */
119
- var funcProto$1 = Function.prototype,
120
- objectProto = Object.prototype;
119
+ var funcProto = Function.prototype,
120
+ objectProto$2 = Object.prototype;
121
121
 
122
122
  /** Used to resolve the decompiled source of functions. */
123
- var funcToString$1 = funcProto$1.toString;
123
+ var funcToString = funcProto.toString;
124
124
 
125
125
  /** Used to check objects for own properties. */
126
- var hasOwnProperty = objectProto.hasOwnProperty;
126
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
127
127
 
128
128
  /** Used to detect if a method is native. */
129
129
  var reIsNative = RegExp('^' +
130
- funcToString$1.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
130
+ funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
131
131
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
132
132
  );
133
133
 
@@ -216,7 +216,7 @@ function hashDelete(key) {
216
216
  var _hashDelete = hashDelete;
217
217
 
218
218
  /** Used to stand-in for `undefined` hash values. */
219
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
219
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
220
220
 
221
221
  /** Used for built-in method references. */
222
222
  var objectProto$1 = Object.prototype;
@@ -237,7 +237,7 @@ function hashGet(key) {
237
237
  var data = this.__data__;
238
238
  if (_nativeCreate) {
239
239
  var result = data[key];
240
- return result === HASH_UNDEFINED ? undefined : result;
240
+ return result === HASH_UNDEFINED$1 ? undefined : result;
241
241
  }
242
242
  return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
243
243
  }
@@ -245,10 +245,10 @@ function hashGet(key) {
245
245
  var _hashGet = hashGet;
246
246
 
247
247
  /** Used for built-in method references. */
248
- var objectProto$2 = Object.prototype;
248
+ var objectProto = Object.prototype;
249
249
 
250
250
  /** Used to check objects for own properties. */
251
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
251
+ var hasOwnProperty = objectProto.hasOwnProperty;
252
252
 
253
253
  /**
254
254
  * Checks if a hash value for `key` exists.
@@ -261,13 +261,13 @@ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
261
261
  */
262
262
  function hashHas(key) {
263
263
  var data = this.__data__;
264
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty$2.call(data, key);
264
+ return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
265
265
  }
266
266
 
267
267
  var _hashHas = hashHas;
268
268
 
269
269
  /** Used to stand-in for `undefined` hash values. */
270
- var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
270
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
271
271
 
272
272
  /**
273
273
  * Sets the hash `key` to `value`.
@@ -282,7 +282,7 @@ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
282
282
  function hashSet(key, value) {
283
283
  var data = this.__data__;
284
284
  this.size += this.has(key) ? 0 : 1;
285
- data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED$1 : value;
285
+ data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
286
286
  return this;
287
287
  }
288
288
 
@@ -765,7 +765,7 @@ function arrayMap(array, iteratee) {
765
765
  var _arrayMap = arrayMap;
766
766
 
767
767
  /** Used as references for various `Number` constants. */
768
- var INFINITY = 1 / 0;
768
+ var INFINITY$1 = 1 / 0;
769
769
 
770
770
  /** Used to convert symbols to primitives and strings. */
771
771
  var symbolProto = _Symbol ? _Symbol.prototype : undefined,
@@ -792,7 +792,7 @@ function baseToString(value) {
792
792
  return symbolToString ? symbolToString.call(value) : '';
793
793
  }
794
794
  var result = (value + '');
795
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
795
+ return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
796
796
  }
797
797
 
798
798
  var _baseToString = baseToString;
@@ -842,7 +842,7 @@ function castPath(value, object) {
842
842
  var _castPath = castPath;
843
843
 
844
844
  /** Used as references for various `Number` constants. */
845
- var INFINITY$1 = 1 / 0;
845
+ var INFINITY = 1 / 0;
846
846
 
847
847
  /**
848
848
  * Converts `value` to a string key if it's not a string or symbol.
@@ -856,7 +856,7 @@ function toKey(value) {
856
856
  return value;
857
857
  }
858
858
  var result = (value + '');
859
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
859
+ return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
860
860
  }
861
861
 
862
862
  var _toKey = toKey;
@@ -12,7 +12,7 @@ var getQuery = function getQuery(type) {
12
12
  case 'article':
13
13
  return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
14
14
  case 'publication':
15
- return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
15
+ return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
16
16
  case 'issue':
17
17
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && identifier.current == $issue][0] {\n ...,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] | order(published desc) {\n ...,\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n }\n }\n }\n }';
18
18
  case 'externalResources':
@@ -1,11 +1,11 @@
1
- import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-86d4db69.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-130ee549.js';
5
- import './web.dom.iterable-f8f967cd.js';
6
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
2
+ import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
7
3
  import { c as cookie } from './index-db3bb315.js';
8
4
  import getQuery from './getQuery.js';
5
+ import './core.get-iterator-method-ea258bb1.js';
6
+ import './web.dom.iterable-ab4dea5c.js';
7
+ import './_library-528f1934.js';
8
+ import './_iter-detect-98db3b07.js';
9
9
 
10
10
  var defaultParseOptions = {
11
11
  decodeValues: true,
@@ -286,10 +286,10 @@ exports.areCookiesEqual = areCookiesEqual;
286
286
  });
287
287
 
288
288
  unwrapExports(utils);
289
- var utils_1 = utils.areCookiesEqual;
290
- var utils_2 = utils.hasSameProperties;
291
- var utils_3 = utils.createCookie;
292
- var utils_4 = utils.isBrowser;
289
+ utils.areCookiesEqual;
290
+ utils.hasSameProperties;
291
+ utils.createCookie;
292
+ utils.isBrowser;
293
293
 
294
294
  var dist = createCommonjsModule(function (module, exports) {
295
295
  var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
@@ -416,7 +416,7 @@ exports.default = {
416
416
  });
417
417
 
418
418
  unwrapExports(dist);
419
- var dist_1 = dist.destroyCookie;
419
+ dist.destroyCookie;
420
420
  var dist_2 = dist.setCookie;
421
421
  var dist_3 = dist.parseCookies;
422
422
 
@@ -1,9 +1,9 @@
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
1
2
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-86d4db69.js';
3
+ import './core.get-iterator-method-ea258bb1.js';
4
+ import './web.dom.iterable-ab4dea5c.js';
3
5
  import './_library-528f1934.js';
4
- import './_iter-detect-130ee549.js';
5
- import './web.dom.iterable-f8f967cd.js';
6
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
6
+ import './_iter-detect-98db3b07.js';
7
7
 
8
8
  var _this = undefined;
9
9
 
@@ -1,55 +1,55 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-86d4db69.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-130ee549.js';
5
- import './toConsumableArray-32282905.js';
6
- import './_object-pie-33c40e79.js';
7
- import './extends-5b1796d4.js';
8
- import './_object-sap-8b8ea5a9.js';
9
- import './inherits-2409637d.js';
10
- import './define-property-6d26cb48.js';
11
- import './web.dom.iterable-f8f967cd.js';
12
- import './typeof-c05a82ba.js';
13
- import './_is-array-4df618a6.js';
1
+ import './extends-6d8e3924.js';
14
2
  import 'react';
3
+ export { g as default } from './index-ca0c9ff5.js';
4
+ import './BlockContent-1e73bd2c.js';
5
+ import './entities-6d9154b4.js';
6
+ import './_commonjsHelpers-0c4b6f40.js';
7
+ import './core.get-iterator-method-ea258bb1.js';
8
+ import './_object-pie-133f504a.js';
9
+ import './slicedToArray-6ebcbfea.js';
10
+ import './web.dom.iterable-ab4dea5c.js';
11
+ import 'react-bootstrap';
12
+ import './urlFor.js';
13
+ import './index-3f5c03b2.js';
14
+ import './index-f0fc23eb.js';
15
15
  import './events-6c3a7a63.js';
16
- import './index-41a678ea.js';
17
16
  import 'prop-types';
18
- import 'react-bootstrap/Row';
19
- import 'react-bootstrap/Col';
20
- import './moment-e2f9b20c.js';
21
17
  import 'next/router';
22
- import './isSymbol-1981418f.js';
23
- import './debounce-9207d8ee.js';
24
- import './toNumber-2f7a84cd.js';
25
- import 'react-dom';
26
- import './slicedToArray-67a08c9c.js';
27
- import './index-73819142.js';
28
- import './urlFor.js';
29
- import './index-5f7e79e7.js';
30
- import './main-c0612122.js';
31
- import './entities-7cc3bf45.js';
32
- import './stringify-70b72959.js';
33
- import './asyncToGenerator-7bf8bc4d.js';
34
- import './Segment.js';
35
- import './Beam.js';
36
- import './AdSlot.js';
37
- import 'react-bootstrap/Button';
38
- import './BlockContent-e9b4ddcf.js';
39
18
  import './index-c7e2ac95.js';
40
- import './smoothscroll-0cd4c7a6.js';
19
+ import './util-8ed16d48.js';
20
+ import './Beam.js';
21
+ import './stringify-2b084bee.js';
22
+ import './asyncToGenerator-5ef104a7.js';
23
+ import './_library-528f1934.js';
24
+ import './_iter-detect-98db3b07.js';
25
+ import './Segment.js';
26
+ import './main-1894c974.js';
27
+ import './index-755f2cc2.js';
28
+ import 'react-dom';
29
+ import './typeof-e9fc0c5d.js';
30
+ import './_is-array-8d21b9e3.js';
31
+ import './brightcove-react-player-loader.es-57a70a56.js';
41
32
  import './GroupDeck.js';
42
- import 'react-bootstrap';
43
- import './iconBase-602d52fe.js';
44
- import './index.esm-29e48d38.js';
45
- export { g as default } from './index-d1476645.js';
46
- import './util-7700fc59.js';
47
- import './brightcove-react-player-loader.es-83f53e4e.js';
33
+ import './smoothscroll-fa4e3f8c.js';
34
+ import './moment-bc12cb97.js';
35
+ import './SocialShare.js';
48
36
  import 'next/head';
49
37
  import 'react-share';
50
- import './SocialShare.js';
51
- import './_object-to-array-c54dd835.js';
38
+ import './_object-to-array-2300e51b.js';
39
+ import './toConsumableArray-f7074d7c.js';
52
40
  import 'react-bootstrap/Pagination';
41
+ import 'react-bootstrap/Button';
42
+ import './AdSlot.js';
43
+ import './debounce-533d9748.js';
44
+ import './isSymbol-a7e9aafe.js';
45
+ import './toNumber-5aeba6e7.js';
46
+ import 'react-bootstrap/Row';
47
+ import 'react-bootstrap/Col';
48
+ import './inherits-a6ba2ec4.js';
49
+ import './_object-sap-7cee6f84.js';
50
+ import './define-property-5f1bda73.js';
51
+ import './index.esm-f6156a57.js';
52
+ import './iconBase-ccc56b97.js';
53
53
  import 'react-bootstrap/Figure';
54
54
  import 'react-bootstrap/OverlayTrigger';
55
55
  import 'react-bootstrap/Tooltip';
@@ -1,19 +1,19 @@
1
- import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
2
- import { _ as _extends } from './extends-5b1796d4.js';
1
+ import { _ as _extends } from './extends-6d8e3924.js';
2
+ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
- var cp_url = '';
6
- if (cp.ancestor && typeof cp.ancestor == 'string') {
7
- cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
- }
5
+ var cp_url = '';
6
+ if (cp.ancestor && typeof cp.ancestor == 'string') {
7
+ cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
8
+ }
9
9
 
10
- if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
- cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
- }
10
+ if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
+ cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
+ }
13
13
 
14
- cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
14
+ cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
15
15
 
16
- return cp_url;
16
+ return cp_url;
17
17
  };
18
18
 
19
19
  var getTargeting = function getTargeting(props) {
@@ -1,7 +1,7 @@
1
+ import './extends-6d8e3924.js';
2
+ import './toConsumableArray-f7074d7c.js';
3
+ export { g as default } from './getTargeting-4061f839.js';
1
4
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-86d4db69.js';
3
- import './_iter-detect-130ee549.js';
4
- import './toConsumableArray-32282905.js';
5
- import './_object-pie-33c40e79.js';
6
- import './extends-5b1796d4.js';
7
- export { g as default } from './getTargeting-277c801e.js';
5
+ import './core.get-iterator-method-ea258bb1.js';
6
+ import './_object-pie-133f504a.js';
7
+ import './_iter-detect-98db3b07.js';
@@ -1,9 +1,4 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var React = require('react');
6
- var React__default = _interopDefault(React);
1
+ import * as React from 'react';
7
2
 
8
3
  var DefaultContext = {
9
4
  color: undefined,
@@ -83,5 +78,4 @@ function IconBase(props) {
83
78
  }) : elem(DefaultContext);
84
79
  }
85
80
 
86
- exports.GenIcon = GenIcon;
87
- exports.IconContext = IconContext;
81
+ export { GenIcon as G, IconContext as I };
@@ -58,35 +58,35 @@ function parseSource(source) {
58
58
  if (typeof source === 'string' && isUrl(source)) {
59
59
  // Someone passed an existing image url?
60
60
  image = {
61
- asset: { _ref: urlToId(source) }
61
+ asset: { _ref: urlToId(source) },
62
62
  };
63
63
  }
64
64
  else if (typeof source === 'string') {
65
65
  // Just an asset id
66
66
  image = {
67
- asset: { _ref: source }
67
+ asset: { _ref: source },
68
68
  };
69
69
  }
70
70
  else if (isRef(source)) {
71
71
  // We just got passed an asset directly
72
72
  image = {
73
- asset: source
73
+ asset: source,
74
74
  };
75
75
  }
76
76
  else if (isAsset(source)) {
77
77
  // If we were passed an image asset document
78
78
  image = {
79
79
  asset: {
80
- _ref: source._id || ''
81
- }
80
+ _ref: source._id || '',
81
+ },
82
82
  };
83
83
  }
84
84
  else if (isAssetStub(source)) {
85
85
  // If we were passed a partial asset (`url`, but no `_id`)
86
86
  image = {
87
87
  asset: {
88
- _ref: urlToId(source.asset.url)
89
- }
88
+ _ref: urlToId(source.asset.url),
89
+ },
90
90
  };
91
91
  }
92
92
  else if (typeof source.asset === 'object') {
@@ -127,7 +127,7 @@ function applyDefaults(image) {
127
127
  left: 0,
128
128
  top: 0,
129
129
  bottom: 0,
130
- right: 0
130
+ right: 0,
131
131
  };
132
132
  }
133
133
  if (!result.hotspot) {
@@ -135,7 +135,7 @@ function applyDefaults(image) {
135
135
  x: 0.5,
136
136
  y: 0.5,
137
137
  height: 1.0,
138
- width: 1.0
138
+ width: 1.0,
139
139
  };
140
140
  }
141
141
  return result;
@@ -182,7 +182,8 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
182
182
  ['crop', 'crop'],
183
183
  ['saturation', 'sat'],
184
184
  ['auto', 'auto'],
185
- ['dpr', 'dpr']
185
+ ['dpr', 'dpr'],
186
+ ['pad', 'pad'],
186
187
  ];
187
188
  function urlForImage(options) {
188
189
  var spec = __assign({}, (options || {}));
@@ -201,7 +202,7 @@ function urlForImage(options) {
201
202
  left: cropLeft,
202
203
  top: cropTop,
203
204
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
204
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
205
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
205
206
  };
206
207
  // Compute hot spot rect in terms of pixel coordinates
207
208
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -212,7 +213,7 @@ function urlForImage(options) {
212
213
  left: hotSpotCenterX - hotSpotHorizontalRadius,
213
214
  top: hotSpotCenterY - hotSpotVerticalRadius,
214
215
  right: hotSpotCenterX + hotSpotHorizontalRadius,
215
- bottom: hotSpotCenterY + hotSpotVerticalRadius
216
+ bottom: hotSpotCenterY + hotSpotVerticalRadius,
216
217
  };
217
218
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
218
219
  // the crop/hotspot.
@@ -294,7 +295,7 @@ function fit(source, spec) {
294
295
  left: Math.round(left),
295
296
  top: Math.round(top_2),
296
297
  width: Math.round(width),
297
- height: Math.round(height)
298
+ height: Math.round(height),
298
299
  };
299
300
  }
300
301
  else {
@@ -316,21 +317,21 @@ function fit(source, spec) {
316
317
  left: Math.max(0, Math.floor(left)),
317
318
  top: Math.max(0, Math.floor(top_3)),
318
319
  width: Math.round(width),
319
- height: Math.round(height)
320
+ height: Math.round(height),
320
321
  };
321
322
  }
322
323
  return {
323
324
  width: imgWidth,
324
325
  height: imgHeight,
325
- rect: cropRect
326
+ rect: cropRect,
326
327
  };
327
328
  }
328
329
 
329
330
  });
330
331
 
331
332
  unwrapExports(urlForImage_1);
332
- var urlForImage_2 = urlForImage_1.parseSource;
333
- var urlForImage_3 = urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
333
+ urlForImage_1.parseSource;
334
+ urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
334
335
 
335
336
  var builder = createCommonjsModule(function (module, exports) {
336
337
  var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
@@ -356,7 +357,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
356
357
  var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
357
358
  var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
358
359
  var validAutoModes = ['format'];
359
- function isSanityClient(client) {
360
+ function isSanityClientLike(client) {
360
361
  return client ? typeof client.clientConfig === 'object' : false;
361
362
  }
362
363
  function rewriteSpecName(key) {
@@ -373,13 +374,14 @@ function rewriteSpecName(key) {
373
374
  function urlBuilder(options) {
374
375
  // Did we get a SanityClient?
375
376
  var client = options;
376
- if (isSanityClient(client)) {
377
+ if (isSanityClientLike(client)) {
377
378
  // Inherit config from client
378
- var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
379
+ var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
380
+ var apiHost = apiUrl || 'https://api.sanity.io';
379
381
  return new ImageUrlBuilder(null, {
380
382
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
381
383
  projectId: projectId,
382
- dataset: dataset
384
+ dataset: dataset,
383
385
  });
384
386
  }
385
387
  // Or just accept the options as given
@@ -392,7 +394,7 @@ var ImageUrlBuilder = /** @class */ (function () {
392
394
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
393
395
  }
394
396
  ImageUrlBuilder.prototype.withOptions = function (options) {
395
- var baseUrl = options.baseUrl || '';
397
+ var baseUrl = options.baseUrl || this.options.baseUrl;
396
398
  var newOptions = { baseUrl: baseUrl };
397
399
  for (var key in options) {
398
400
  if (options.hasOwnProperty(key)) {
@@ -486,7 +488,7 @@ var ImageUrlBuilder = /** @class */ (function () {
486
488
  ImageUrlBuilder.prototype.flipHorizontal = function () {
487
489
  return this.withOptions({ flipHorizontal: true });
488
490
  };
489
- // Flip image verically
491
+ // Flip image vertically
490
492
  ImageUrlBuilder.prototype.flipVertical = function () {
491
493
  return this.withOptions({ flipVertical: true });
492
494
  };
@@ -516,11 +518,15 @@ var ImageUrlBuilder = /** @class */ (function () {
516
518
  }
517
519
  return this.withOptions({ auto: value });
518
520
  };
521
+ // Specify the number of pixels to pad the image
522
+ ImageUrlBuilder.prototype.pad = function (pad) {
523
+ return this.withOptions({ pad: pad });
524
+ };
519
525
  // Gets the url based on the submitted parameters
520
526
  ImageUrlBuilder.prototype.url = function () {
521
527
  return urlForImage_1$1.default(this.options);
522
528
  };
523
- // Synonym for url()
529
+ // Alias for url()
524
530
  ImageUrlBuilder.prototype.toString = function () {
525
531
  return this.url();
526
532
  };
@@ -531,7 +537,7 @@ exports.ImageUrlBuilder = ImageUrlBuilder;
531
537
  });
532
538
 
533
539
  unwrapExports(builder);
534
- var builder_1 = builder.ImageUrlBuilder;
540
+ builder.ImageUrlBuilder;
535
541
 
536
542
  var node = createCommonjsModule(function (module) {
537
543
  var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
@@ -1,7 +1,7 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import PropTypes from 'prop-types';
4
3
  import ReactDOM from 'react-dom';
4
+ import PropTypes from 'prop-types';
5
5
 
6
6
  var event = createCommonjsModule(function (module, exports) {
7
7
 
@@ -32,8 +32,8 @@ function off(el, eventName, callback, opts) {
32
32
  });
33
33
 
34
34
  unwrapExports(event);
35
- var event_1 = event.on;
36
- var event_2 = event.off;
35
+ event.on;
36
+ event.off;
37
37
 
38
38
  var scrollParent = createCommonjsModule(function (module, exports) {
39
39
 
@@ -598,8 +598,8 @@ exports.forceVisible = forceVisible;
598
598
  });
599
599
 
600
600
  var LazyLoad = unwrapExports(lib);
601
- var lib_1 = lib.forceVisible;
602
- var lib_2 = lib.forceCheck;
603
- var lib_3 = lib.lazyload;
601
+ lib.forceVisible;
602
+ lib.forceCheck;
603
+ lib.lazyload;
604
604
 
605
605
  export { LazyLoad as L };