@mjhls/mjh-framework 1.0.733 → 1.0.734-beta-0.2

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 (284) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +30 -29
  4. package/dist/cjs/AD300x250x600.js +30 -29
  5. package/dist/cjs/AD728x90.js +33 -32
  6. package/dist/cjs/ADFloatingFooter.js +32 -31
  7. package/dist/cjs/ADFooter.js +14 -15
  8. package/dist/cjs/ADGutter.js +32 -31
  9. package/dist/cjs/{ADInfeed-5fe7fd9d.js → ADInfeed-d1d7e784.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +32 -31
  11. package/dist/cjs/ADSponsoredResources.js +32 -31
  12. package/dist/cjs/ADWebcast.js +32 -31
  13. package/dist/cjs/ADWelcome.js +36 -35
  14. package/dist/cjs/{ADlgInfeed-a62d2f9b.js → ADlgInfeed-b6116a72.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +31 -32
  17. package/dist/cjs/AdSlotsProvider.js +16 -17
  18. package/dist/cjs/AlphabeticList.js +24 -25
  19. package/dist/cjs/ArticleCarousel.js +23 -24
  20. package/dist/cjs/ArticleProgramLandingPage.js +54 -55
  21. package/dist/cjs/ArticleSeriesLandingPage.js +38 -39
  22. package/dist/cjs/ArticleSeriesListing.js +59 -60
  23. package/dist/cjs/Auth.js +330 -816
  24. package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
  25. package/dist/cjs/Beam.js +9 -9
  26. package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-80b15fac.js} +24 -25
  27. package/dist/cjs/Breadcrumbs.js +27 -29
  28. package/dist/cjs/CMEDeck.js +83 -83
  29. package/dist/cjs/Column1.js +11 -14
  30. package/dist/cjs/Column2.js +32 -35
  31. package/dist/cjs/Column3.js +55 -58
  32. package/dist/cjs/ConferenceArticleCard.js +22 -23
  33. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  34. package/dist/cjs/DeckContent.js +94 -98
  35. package/dist/cjs/DeckQueue.js +86 -90
  36. package/dist/cjs/{Dfp-80146e98.js → Dfp-ce7ac168.js} +30 -31
  37. package/dist/cjs/EventsDeck.js +131 -138
  38. package/dist/cjs/ExternalResources.js +76 -77
  39. package/dist/cjs/Feature.js +25 -27
  40. package/dist/cjs/ForbesHero.js +40 -41
  41. package/dist/cjs/GridContent.js +183 -183
  42. package/dist/cjs/GridHero.js +42 -43
  43. package/dist/cjs/GroupDeck.js +58 -59
  44. package/dist/cjs/HamMagazine.js +130 -135
  45. package/dist/cjs/Header.js +11 -13
  46. package/dist/cjs/Hero.js +12 -13
  47. package/dist/cjs/HighlightenVideo.js +17 -18
  48. package/dist/cjs/HorizontalArticleListing.js +68 -69
  49. package/dist/cjs/HorizontalHero.js +25 -26
  50. package/dist/cjs/IssueContentDeck.js +72 -77
  51. package/dist/cjs/IssueDeck.js +70 -75
  52. package/dist/cjs/IssueLanding.js +40 -41
  53. package/dist/cjs/LeftNav.js +36 -38
  54. package/dist/cjs/MasterDeck.js +77 -74
  55. package/dist/cjs/NavDvm.js +75 -80
  56. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  57. package/dist/cjs/NavMagazine.js +138 -143
  58. package/dist/cjs/NavNative.js +115 -123
  59. package/dist/cjs/NavNormal.js +48 -53
  60. package/dist/cjs/OncliveHero.js +20 -20
  61. package/dist/cjs/OncliveLargeHero.js +66 -67
  62. package/dist/cjs/PageFilter.js +14 -15
  63. package/dist/cjs/PartnerDetailListing.js +105 -106
  64. package/dist/cjs/PdfDownload.js +8 -9
  65. package/dist/cjs/PopUpModal.js +19 -21
  66. package/dist/cjs/PubSection.js +37 -38
  67. package/dist/cjs/PubToc.js +16 -17
  68. package/dist/cjs/PublicationDeck.js +61 -66
  69. package/dist/cjs/PublicationLanding.js +74 -78
  70. package/dist/cjs/QueueDeckExpanded.js +298 -294
  71. package/dist/cjs/RecentNews.js +23 -24
  72. package/dist/cjs/RelatedContent.js +24 -25
  73. package/dist/cjs/RelatedTopicsDropdown.js +19 -22
  74. package/dist/cjs/RolesDeck.js +27 -32
  75. package/dist/cjs/Search.js +18 -22
  76. package/dist/cjs/Segment.js +7 -7
  77. package/dist/cjs/SetCookie.js +1 -1
  78. package/dist/cjs/SideFooter.js +35 -36
  79. package/dist/cjs/SocialIcons.js +9 -10
  80. package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
  81. package/dist/cjs/SocialShare.js +29 -31
  82. package/dist/cjs/TaxonomyCard.js +57 -62
  83. package/dist/cjs/TaxonomyDescription.js +51 -52
  84. package/dist/cjs/TemplateNormal.js +72 -73
  85. package/dist/cjs/ThumbnailCard.js +20 -22
  86. package/dist/cjs/Ustream.js +26 -27
  87. package/dist/cjs/VerticalHero.js +17 -18
  88. package/dist/cjs/VideoProgramLandingPage.js +70 -74
  89. package/dist/cjs/VideoSeriesCard.js +32 -33
  90. package/dist/cjs/VideoSeriesFilter.js +19 -19
  91. package/dist/cjs/VideoSeriesLandingPage.js +47 -48
  92. package/dist/cjs/VideoSeriesListing.js +74 -75
  93. package/dist/cjs/View.js +324 -251
  94. package/dist/cjs/YahooHero.js +39 -40
  95. package/dist/cjs/YoutubeGroup.js +62 -63
  96. package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
  97. package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
  98. package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
  99. package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
  100. package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
  101. package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
  102. package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
  103. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  104. package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
  105. package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
  106. package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
  107. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  108. package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
  109. package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
  110. package/dist/cjs/getQuery.js +1 -2
  111. package/dist/cjs/getRelatedArticle.js +21 -21
  112. package/dist/cjs/getSerializers.js +42 -42
  113. package/dist/cjs/{getTargeting-497b581d.js → getTargeting-5eef5b58.js} +7 -5
  114. package/dist/cjs/getTargeting.js +7 -7
  115. package/dist/cjs/iconBase-68959171.js +3 -0
  116. package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
  117. package/dist/cjs/{index-d48b231c.js → index-39beccb3.js} +24 -29
  118. package/dist/cjs/{index-5260126b.js → index-41222a33.js} +476 -487
  119. package/dist/cjs/{index-0e4427c8.js → index-8bf6c863.js} +11 -12
  120. package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
  121. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  122. package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
  123. package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
  124. package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
  125. package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
  126. package/dist/cjs/index.js +156 -159
  127. package/dist/cjs/{inherits-2eb23889.js → inherits-513d81cd.js} +8 -8
  128. package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
  129. package/dist/cjs/{lodash-4ef21f0f.js → lodash-7fd85bcf.js} +1 -1
  130. package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
  131. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  132. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  133. package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
  134. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  135. package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
  136. package/dist/cjs/timeDifferenceCalc.js +1 -1
  137. package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
  138. package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
  139. package/dist/cjs/urlFor.js +2 -2
  140. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  141. package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
  142. package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
  143. package/dist/esm/AD.js +7 -7
  144. package/dist/esm/AD300x250.js +27 -25
  145. package/dist/esm/AD300x250x600.js +27 -25
  146. package/dist/esm/AD728x90.js +30 -28
  147. package/dist/esm/ADFloatingFooter.js +29 -27
  148. package/dist/esm/ADFooter.js +11 -11
  149. package/dist/esm/ADGutter.js +29 -27
  150. package/dist/esm/{ADInfeed-3a9eef39.js → ADInfeed-0299bf7e.js} +9 -9
  151. package/dist/esm/ADSkyscraper.js +29 -27
  152. package/dist/esm/ADSponsoredResources.js +29 -27
  153. package/dist/esm/ADWebcast.js +29 -27
  154. package/dist/esm/ADWelcome.js +33 -31
  155. package/dist/esm/{ADlgInfeed-8d63ff91.js → ADlgInfeed-7b627388.js} +8 -8
  156. package/dist/esm/AccordionPanel.js +24 -24
  157. package/dist/esm/AdSlot.js +23 -23
  158. package/dist/esm/AdSlotsProvider.js +13 -13
  159. package/dist/esm/AlphabeticList.js +21 -21
  160. package/dist/esm/ArticleCarousel.js +20 -20
  161. package/dist/esm/ArticleProgramLandingPage.js +51 -51
  162. package/dist/esm/ArticleSeriesLandingPage.js +35 -35
  163. package/dist/esm/ArticleSeriesListing.js +54 -54
  164. package/dist/esm/Auth.js +315 -797
  165. package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-34b16174.js} +11 -11
  166. package/dist/esm/Beam.js +9 -9
  167. package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-c409aca5.js} +4 -4
  168. package/dist/esm/Breadcrumbs.js +17 -17
  169. package/dist/esm/CMEDeck.js +79 -79
  170. package/dist/esm/Column1.js +5 -5
  171. package/dist/esm/Column2.js +26 -26
  172. package/dist/esm/Column3.js +48 -48
  173. package/dist/esm/ConferenceArticleCard.js +18 -18
  174. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  175. package/dist/esm/DeckContent.js +76 -76
  176. package/dist/esm/DeckQueue.js +64 -64
  177. package/dist/esm/{Dfp-8bfbd310.js → Dfp-e9a07597.js} +20 -20
  178. package/dist/esm/EventsDeck.js +84 -84
  179. package/dist/esm/ExternalResources.js +70 -70
  180. package/dist/esm/Feature.js +18 -18
  181. package/dist/esm/ForbesHero.js +34 -34
  182. package/dist/esm/GridContent.js +145 -141
  183. package/dist/esm/GridHero.js +36 -36
  184. package/dist/esm/GroupDeck.js +46 -46
  185. package/dist/esm/HamMagazine.js +104 -104
  186. package/dist/esm/Header.js +7 -7
  187. package/dist/esm/Hero.js +9 -9
  188. package/dist/esm/HighlightenVideo.js +14 -14
  189. package/dist/esm/HorizontalArticleListing.js +65 -65
  190. package/dist/esm/HorizontalHero.js +21 -21
  191. package/dist/esm/IssueContentDeck.js +49 -49
  192. package/dist/esm/IssueDeck.js +46 -46
  193. package/dist/esm/IssueLanding.js +37 -37
  194. package/dist/esm/LeftNav.js +32 -32
  195. package/dist/esm/MasterDeck.js +71 -67
  196. package/dist/esm/NavDvm.js +57 -57
  197. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  198. package/dist/esm/NavMagazine.js +114 -114
  199. package/dist/esm/NavNative.js +91 -91
  200. package/dist/esm/NavNormal.js +36 -36
  201. package/dist/esm/OncliveHero.js +17 -16
  202. package/dist/esm/OncliveLargeHero.js +59 -59
  203. package/dist/esm/PageFilter.js +12 -12
  204. package/dist/esm/PartnerDetailListing.js +101 -101
  205. package/dist/esm/PdfDownload.js +6 -6
  206. package/dist/esm/PopUpModal.js +14 -14
  207. package/dist/esm/PubSection.js +34 -34
  208. package/dist/esm/PubToc.js +13 -13
  209. package/dist/esm/PublicationDeck.js +38 -38
  210. package/dist/esm/PublicationLanding.js +50 -50
  211. package/dist/esm/QueueDeckExpanded.js +278 -274
  212. package/dist/esm/RecentNews.js +20 -20
  213. package/dist/esm/RelatedContent.js +19 -19
  214. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  215. package/dist/esm/RolesDeck.js +13 -13
  216. package/dist/esm/Search.js +12 -12
  217. package/dist/esm/Segment.js +7 -7
  218. package/dist/esm/SetCookie.js +1 -1
  219. package/dist/esm/SideFooter.js +31 -31
  220. package/dist/esm/SocialIcons.js +7 -7
  221. package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-a2ae84d1.js} +28 -28
  222. package/dist/esm/SocialShare.js +25 -25
  223. package/dist/esm/TaxonomyCard.js +41 -41
  224. package/dist/esm/TaxonomyDescription.js +46 -46
  225. package/dist/esm/TemplateNormal.js +66 -66
  226. package/dist/esm/ThumbnailCard.js +13 -13
  227. package/dist/esm/Ustream.js +23 -23
  228. package/dist/esm/VerticalHero.js +13 -13
  229. package/dist/esm/VideoProgramLandingPage.js +60 -60
  230. package/dist/esm/VideoSeriesCard.js +24 -24
  231. package/dist/esm/VideoSeriesFilter.js +16 -16
  232. package/dist/esm/VideoSeriesLandingPage.js +39 -39
  233. package/dist/esm/VideoSeriesListing.js +68 -68
  234. package/dist/esm/View.js +315 -238
  235. package/dist/esm/YahooHero.js +34 -34
  236. package/dist/esm/YoutubeGroup.js +46 -46
  237. package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
  238. package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
  239. package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
  240. package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
  241. package/dist/esm/{_set-species-494ed292.js → _set-species-3f8319f5.js} +4 -4
  242. package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
  243. package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-502f13b4.js} +8 -8
  244. package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
  245. package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
  246. package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
  247. package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
  248. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  249. package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
  250. package/dist/esm/{extends-31d65aba.js → extends-eb69e8ac.js} +1 -1
  251. package/dist/esm/getQuery.js +1 -2
  252. package/dist/esm/getRelatedArticle.js +15 -15
  253. package/dist/esm/getSerializers.js +42 -42
  254. package/dist/esm/{getTargeting-2d402d66.js → getTargeting-9413f34a.js} +7 -5
  255. package/dist/esm/getTargeting.js +7 -7
  256. package/dist/esm/{index-d6ad9248.js → index-196b1669.js} +417 -421
  257. package/dist/esm/{index-3f5c03b2.js → index-3849e3fe.js} +24 -29
  258. package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
  259. package/dist/esm/{index-888f9253.js → index-a9e53f80.js} +6 -6
  260. package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
  261. package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
  262. package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
  263. package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
  264. package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
  265. package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
  266. package/dist/esm/index.js +126 -126
  267. package/dist/esm/{inherits-5906fbea.js → inherits-fb9b6e8f.js} +5 -5
  268. package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
  269. package/dist/esm/{lodash-ad27652f.js → lodash-ec8c6b48.js} +1 -1
  270. package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
  271. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  272. package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
  273. package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
  274. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  275. package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
  276. package/dist/esm/timeDifferenceCalc.js +1 -1
  277. package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
  278. package/dist/esm/{typeof-e9cea9e8.js → typeof-6435ba1c.js} +7 -7
  279. package/dist/esm/urlFor.js +1 -1
  280. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  281. package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
  282. package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
  283. package/package.json +3 -3
  284. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
@@ -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,8 +182,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
182
182
  ['crop', 'crop'],
183
183
  ['saturation', 'sat'],
184
184
  ['auto', 'auto'],
185
- ['dpr', 'dpr'],
186
- ['pad', 'pad'],
185
+ ['dpr', 'dpr']
187
186
  ];
188
187
  function urlForImage(options) {
189
188
  var spec = __assign({}, (options || {}));
@@ -202,7 +201,7 @@ function urlForImage(options) {
202
201
  left: cropLeft,
203
202
  top: cropTop,
204
203
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
205
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
204
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
206
205
  };
207
206
  // Compute hot spot rect in terms of pixel coordinates
208
207
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -213,7 +212,7 @@ function urlForImage(options) {
213
212
  left: hotSpotCenterX - hotSpotHorizontalRadius,
214
213
  top: hotSpotCenterY - hotSpotVerticalRadius,
215
214
  right: hotSpotCenterX + hotSpotHorizontalRadius,
216
- bottom: hotSpotCenterY + hotSpotVerticalRadius,
215
+ bottom: hotSpotCenterY + hotSpotVerticalRadius
217
216
  };
218
217
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
219
218
  // the crop/hotspot.
@@ -295,7 +294,7 @@ function fit(source, spec) {
295
294
  left: Math.round(left),
296
295
  top: Math.round(top_2),
297
296
  width: Math.round(width),
298
- height: Math.round(height),
297
+ height: Math.round(height)
299
298
  };
300
299
  }
301
300
  else {
@@ -317,21 +316,21 @@ function fit(source, spec) {
317
316
  left: Math.max(0, Math.floor(left)),
318
317
  top: Math.max(0, Math.floor(top_3)),
319
318
  width: Math.round(width),
320
- height: Math.round(height),
319
+ height: Math.round(height)
321
320
  };
322
321
  }
323
322
  return {
324
323
  width: imgWidth,
325
324
  height: imgHeight,
326
- rect: cropRect,
325
+ rect: cropRect
327
326
  };
328
327
  }
329
328
 
330
329
  });
331
330
 
332
331
  unwrapExports(urlForImage_1);
333
- urlForImage_1.parseSource;
334
- urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
332
+ var urlForImage_2 = urlForImage_1.parseSource;
333
+ var urlForImage_3 = urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
335
334
 
336
335
  var builder = createCommonjsModule(function (module, exports) {
337
336
  var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
@@ -357,7 +356,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
357
356
  var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
358
357
  var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
359
358
  var validAutoModes = ['format'];
360
- function isSanityClientLike(client) {
359
+ function isSanityClient(client) {
361
360
  return client ? typeof client.clientConfig === 'object' : false;
362
361
  }
363
362
  function rewriteSpecName(key) {
@@ -374,14 +373,14 @@ function rewriteSpecName(key) {
374
373
  function urlBuilder(options) {
375
374
  // Did we get a SanityClient?
376
375
  var client = options;
377
- if (isSanityClientLike(client)) {
376
+ if (isSanityClient(client)) {
378
377
  // Inherit config from client
379
378
  var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
380
379
  var apiHost = apiUrl || 'https://api.sanity.io';
381
380
  return new ImageUrlBuilder(null, {
382
381
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
383
382
  projectId: projectId,
384
- dataset: dataset,
383
+ dataset: dataset
385
384
  });
386
385
  }
387
386
  // Or just accept the options as given
@@ -394,7 +393,7 @@ var ImageUrlBuilder = /** @class */ (function () {
394
393
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
395
394
  }
396
395
  ImageUrlBuilder.prototype.withOptions = function (options) {
397
- var baseUrl = options.baseUrl || this.options.baseUrl;
396
+ var baseUrl = options.baseUrl || '';
398
397
  var newOptions = { baseUrl: baseUrl };
399
398
  for (var key in options) {
400
399
  if (options.hasOwnProperty(key)) {
@@ -488,7 +487,7 @@ var ImageUrlBuilder = /** @class */ (function () {
488
487
  ImageUrlBuilder.prototype.flipHorizontal = function () {
489
488
  return this.withOptions({ flipHorizontal: true });
490
489
  };
491
- // Flip image vertically
490
+ // Flip image verically
492
491
  ImageUrlBuilder.prototype.flipVertical = function () {
493
492
  return this.withOptions({ flipVertical: true });
494
493
  };
@@ -518,15 +517,11 @@ var ImageUrlBuilder = /** @class */ (function () {
518
517
  }
519
518
  return this.withOptions({ auto: value });
520
519
  };
521
- // Specify the number of pixels to pad the image
522
- ImageUrlBuilder.prototype.pad = function (pad) {
523
- return this.withOptions({ pad: pad });
524
- };
525
520
  // Gets the url based on the submitted parameters
526
521
  ImageUrlBuilder.prototype.url = function () {
527
522
  return urlForImage_1$1.default(this.options);
528
523
  };
529
- // Alias for url()
524
+ // Synonym for url()
530
525
  ImageUrlBuilder.prototype.toString = function () {
531
526
  return this.url();
532
527
  };
@@ -537,7 +532,7 @@ exports.ImageUrlBuilder = ImageUrlBuilder;
537
532
  });
538
533
 
539
534
  unwrapExports(builder);
540
- builder.ImageUrlBuilder;
535
+ var builder_1 = builder.ImageUrlBuilder;
541
536
 
542
537
  var node = createCommonjsModule(function (module) {
543
538
  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
- import React from 'react';
3
- import reactDom from 'react-dom';
2
+ import React__default from 'react';
4
3
  import PropTypes from 'prop-types';
4
+ import reactDom from 'react-dom';
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
- event.on;
36
- event.off;
35
+ var event_1 = event.on;
36
+ var event_2 = event.off;
37
37
 
38
38
  var scrollParent = createCommonjsModule(function (module, exports) {
39
39
 
@@ -179,7 +179,7 @@ var _createClass = function () { function defineProperties(target, props) { for
179
179
 
180
180
 
181
181
 
182
- var _react2 = _interopRequireDefault(React);
182
+ var _react2 = _interopRequireDefault(React__default);
183
183
 
184
184
 
185
185
 
@@ -530,7 +530,7 @@ var LazyLoad = function (_Component) {
530
530
  }]);
531
531
 
532
532
  return LazyLoad;
533
- }(React.Component);
533
+ }(React__default.Component);
534
534
 
535
535
  LazyLoad.propTypes = {
536
536
  once: _propTypes2.default.bool,
@@ -587,7 +587,7 @@ var decorator = function decorator() {
587
587
  }]);
588
588
 
589
589
  return LazyLoadDecorated;
590
- }(React.Component);
590
+ }(React__default.Component);
591
591
  };
592
592
  };
593
593
 
@@ -598,8 +598,8 @@ exports.forceVisible = forceVisible;
598
598
  });
599
599
 
600
600
  var LazyLoad = unwrapExports(lib);
601
- lib.forceVisible;
602
- lib.forceCheck;
603
- lib.lazyload;
601
+ var lib_1 = lib.forceVisible;
602
+ var lib_2 = lib.forceCheck;
603
+ var lib_3 = lib.lazyload;
604
604
 
605
605
  export { LazyLoad as L };
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import React from 'react';
2
+ import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
 
5
5
  var domain;
@@ -502,7 +502,7 @@ function loadGPTScript() {
502
502
  });
503
503
 
504
504
  unwrapExports(utils);
505
- utils.loadGPTScript;
505
+ var utils_1 = utils.loadGPTScript;
506
506
 
507
507
  var manager = createCommonjsModule(function (module, exports) {
508
508
 
@@ -1040,7 +1040,7 @@ Object.defineProperty(exports, "__esModule", {
1040
1040
  });
1041
1041
  exports.default = exports.Context = void 0;
1042
1042
 
1043
- var _react = _interopRequireDefault(React);
1043
+ var _react = _interopRequireDefault(React__default);
1044
1044
 
1045
1045
  var _propTypes = _interopRequireDefault(PropTypes);
1046
1046
 
@@ -1345,7 +1345,7 @@ if (Context === null) {
1345
1345
  });
1346
1346
 
1347
1347
  unwrapExports(dfpslotsprovider);
1348
- dfpslotsprovider.Context;
1348
+ var dfpslotsprovider_1 = dfpslotsprovider.Context;
1349
1349
 
1350
1350
  var adslot = createCommonjsModule(function (module, exports) {
1351
1351
 
@@ -1354,7 +1354,7 @@ Object.defineProperty(exports, "__esModule", {
1354
1354
  });
1355
1355
  exports.default = exports.AdSlot = void 0;
1356
1356
 
1357
- var _react = _interopRequireDefault(React);
1357
+ var _react = _interopRequireDefault(React__default);
1358
1358
 
1359
1359
  var _propTypes = _interopRequireDefault(PropTypes);
1360
1360
 
@@ -1641,7 +1641,7 @@ exports.default = _default;
1641
1641
  });
1642
1642
 
1643
1643
  unwrapExports(adslot);
1644
- adslot.AdSlot;
1644
+ var adslot_1 = adslot.AdSlot;
1645
1645
 
1646
1646
  var lib = createCommonjsModule(function (module, exports) {
1647
1647