@mjhls/mjh-framework 1.0.703-testing-module-splittingv6 → 1.0.704-beta-v2

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 (272) hide show
  1. package/README.md +172 -172
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +24 -26
  4. package/dist/cjs/AD300x250x600.js +24 -26
  5. package/dist/cjs/AD728x90.js +27 -29
  6. package/dist/cjs/ADFloatingFooter.js +29 -31
  7. package/dist/cjs/ADFooter.js +14 -16
  8. package/dist/cjs/ADGutter.js +26 -28
  9. package/dist/cjs/{ADInfeed-d36dc3ca.js → ADInfeed-38066a36.js} +11 -13
  10. package/dist/cjs/ADSkyscraper.js +26 -28
  11. package/dist/cjs/ADSponsoredResources.js +26 -28
  12. package/dist/cjs/ADWebcast.js +26 -28
  13. package/dist/cjs/ADWelcome.js +31 -33
  14. package/dist/cjs/{ADlgInfeed-93205fa0.js → ADlgInfeed-d95c9027.js} +8 -9
  15. package/dist/cjs/AccordionPanel.js +29 -32
  16. package/dist/cjs/AdSlot.js +31 -33
  17. package/dist/cjs/AdSlotsProvider.js +7 -8
  18. package/dist/cjs/AlphabeticList.js +24 -26
  19. package/dist/cjs/ArticleCarousel.js +21 -23
  20. package/dist/cjs/ArticleSeriesListing.js +57 -59
  21. package/dist/cjs/Auth.js +330 -817
  22. package/dist/cjs/{AuthorComponent-482218ce.js → AuthorComponent-bb831b74.js} +13 -14
  23. package/dist/cjs/Beam.js +9 -10
  24. package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-80b15fac.js} +24 -25
  25. package/dist/cjs/Breadcrumbs.js +27 -30
  26. package/dist/cjs/BrowseVideosListing.js +39 -41
  27. package/dist/cjs/CMEDeck.js +78 -79
  28. package/dist/cjs/Column1.js +11 -14
  29. package/dist/cjs/Column2.js +32 -36
  30. package/dist/cjs/Column3.js +55 -59
  31. package/dist/cjs/ConferenceArticleCard.js +37 -38
  32. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  33. package/dist/cjs/DeckContent.js +102 -107
  34. package/dist/cjs/DeckQueue.js +86 -91
  35. package/dist/cjs/{Dfp-80c3d853.js → Dfp-390337bf.js} +30 -32
  36. package/dist/cjs/EventsDeck.js +149 -157
  37. package/dist/cjs/ExternalResources.js +74 -76
  38. package/dist/cjs/Feature.js +25 -27
  39. package/dist/cjs/ForbesHero.js +40 -42
  40. package/dist/cjs/GridContent.js +177 -182
  41. package/dist/cjs/GridHero.js +42 -44
  42. package/dist/cjs/GroupDeck.js +49 -51
  43. package/dist/cjs/HamMagazine.js +139 -145
  44. package/dist/cjs/Header.js +11 -13
  45. package/dist/cjs/Hero.js +12 -13
  46. package/dist/cjs/HighlightenVideo.js +17 -18
  47. package/dist/cjs/HorizontalHero.js +25 -26
  48. package/dist/cjs/IssueContentDeck.js +72 -78
  49. package/dist/cjs/IssueDeck.js +70 -76
  50. package/dist/cjs/IssueLanding.js +69 -71
  51. package/dist/cjs/KMTracker.js +15 -15
  52. package/dist/cjs/LeftNav.js +36 -39
  53. package/dist/cjs/MasterDeck.js +79 -81
  54. package/dist/cjs/NavDvm.js +75 -81
  55. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  56. package/dist/cjs/NavMagazine.js +148 -154
  57. package/dist/cjs/NavNative.js +124 -133
  58. package/dist/cjs/NavNormal.js +48 -54
  59. package/dist/cjs/OncliveHero.js +20 -20
  60. package/dist/cjs/OncliveLargeHero.js +66 -68
  61. package/dist/cjs/PageFilter.js +14 -16
  62. package/dist/cjs/PartnerDetailListing.js +105 -107
  63. package/dist/cjs/PdfDownload.js +8 -9
  64. package/dist/cjs/PopUpModal.js +19 -22
  65. package/dist/cjs/PublicationDeck.js +61 -66
  66. package/dist/cjs/PublicationLanding.js +114 -119
  67. package/dist/cjs/QueueDeckExpanded.js +292 -293
  68. package/dist/cjs/RecentNews.js +23 -24
  69. package/dist/cjs/RelatedContent.js +52 -53
  70. package/dist/cjs/RelatedTopicsDropdown.js +29 -32
  71. package/dist/cjs/RolesDeck.js +27 -32
  72. package/dist/cjs/Search.js +18 -23
  73. package/dist/cjs/Segment.js +7 -8
  74. package/dist/cjs/SetCookie.js +1 -1
  75. package/dist/cjs/SideFooter.js +37 -39
  76. package/dist/cjs/SocialIcons.js +9 -10
  77. package/dist/cjs/{SocialSearchComponent-a49e8e9d.js → SocialSearchComponent-56d49a1a.js} +36 -40
  78. package/dist/cjs/SocialShare.js +29 -31
  79. package/dist/cjs/TaxonomyCard.js +57 -63
  80. package/dist/cjs/TemplateNormal.js +72 -74
  81. package/dist/cjs/ThumbnailCard.js +20 -22
  82. package/dist/cjs/Ustream.js +26 -28
  83. package/dist/cjs/VerticalHero.js +17 -18
  84. package/dist/cjs/VideoSeriesCard.js +33 -35
  85. package/dist/cjs/VideoSeriesFilter.js +19 -20
  86. package/dist/cjs/VideoSeriesListing.js +72 -74
  87. package/dist/cjs/View.js +220 -224
  88. package/dist/cjs/YahooHero.js +39 -41
  89. package/dist/cjs/YoutubeGroup.js +68 -70
  90. package/dist/cjs/{_is-array-4c61cfba.js → _is-array-754e012d.js} +12 -13
  91. package/dist/cjs/{_iter-detect-2a826637.js → _iter-detect-60b2f026.js} +4 -4
  92. package/dist/cjs/_object-sap-5e74ba08.js +16 -0
  93. package/dist/cjs/{_set-species-d088ff6e.js → _set-species-f92c67c5.js} +9 -10
  94. package/dist/cjs/{_export-7e018e14.js → _to-object-329a650b.js} +146 -2
  95. package/dist/cjs/{asyncToGenerator-7ca8f87e.js → asyncToGenerator-533d476a.js} +57 -58
  96. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  97. package/dist/cjs/{core.get-iterator-method-14f49e03.js → core.get-iterator-method-f62321d4.js} +3 -4
  98. package/dist/cjs/{define-property-fd46a81e.js → define-property-f4d12f4e.js} +3 -3
  99. package/dist/cjs/{defineProperty-edc12c5a.js → defineProperty-55548b25.js} +1 -1
  100. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  101. package/dist/cjs/{es6.string.iterator-a390d61f.js → es6.string.iterator-cc0bbaa4.js} +17 -18
  102. package/dist/cjs/{extends-0a166456.js → extends-60837c34.js} +5 -6
  103. package/dist/cjs/getRelatedArticle.js +76 -139
  104. package/dist/cjs/getSerializers.js +41 -42
  105. package/dist/cjs/{getTargeting-57edbc60.js → getTargeting-fee8c429.js} +11 -11
  106. package/dist/cjs/getTargeting.js +7 -8
  107. package/dist/cjs/iconBase-68959171.js +3 -0
  108. package/dist/cjs/{index-5ad2b070.js → index-099d45ae.js} +17 -16
  109. package/dist/cjs/{index-cb6ed1fc.js → index-3294d3bc.js} +18 -17
  110. package/dist/cjs/{index-d48b231c.js → index-39beccb3.js} +24 -29
  111. package/dist/cjs/{index-0e3597c2.js → index-58dae365.js} +429 -440
  112. package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
  113. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  114. package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
  115. package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
  116. package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
  117. package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
  118. package/dist/cjs/index.js +261 -9
  119. package/dist/cjs/{inherits-a9209207.js → inherits-513d81cd.js} +15 -16
  120. package/dist/cjs/{keys-d2f5bcf0.js → keys-a586b7a0.js} +3 -4
  121. package/dist/cjs/{lodash-4ef21f0f.js → lodash-7fd85bcf.js} +1 -1
  122. package/dist/cjs/{main-eeffe77b.js → main-03ffa84c.js} +80 -116
  123. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  124. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  125. package/dist/cjs/{slicedToArray-60dafa9c.js → slicedToArray-8f385299.js} +7 -7
  126. package/dist/cjs/{smoothscroll-1abb448e.js → smoothscroll-95231a70.js} +1 -1
  127. package/dist/cjs/{stringify-44244c64.js → stringify-7c5aff47.js} +2 -2
  128. package/dist/cjs/timeDifferenceCalc.js +1 -1
  129. package/dist/cjs/{toConsumableArray-4bb00640.js → toConsumableArray-9a3476fe.js} +8 -9
  130. package/dist/cjs/{typeof-03c3fdc8.js → typeof-725500bc.js} +49 -50
  131. package/dist/cjs/urlFor.js +2 -2
  132. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  133. package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
  134. package/dist/cjs/{web.dom.iterable-2d47ebe6.js → web.dom.iterable-a0e279c1.js} +5 -6
  135. package/dist/esm/AD.js +7 -7
  136. package/dist/esm/AD300x250.js +22 -23
  137. package/dist/esm/AD300x250x600.js +22 -23
  138. package/dist/esm/AD728x90.js +25 -26
  139. package/dist/esm/ADFloatingFooter.js +27 -28
  140. package/dist/esm/ADFooter.js +11 -12
  141. package/dist/esm/ADGutter.js +24 -25
  142. package/dist/esm/{ADInfeed-bf7de12d.js → ADInfeed-7b1b2fcb.js} +7 -7
  143. package/dist/esm/ADSkyscraper.js +24 -25
  144. package/dist/esm/ADSponsoredResources.js +24 -25
  145. package/dist/esm/ADWebcast.js +24 -25
  146. package/dist/esm/ADWelcome.js +29 -30
  147. package/dist/esm/{ADlgInfeed-3ac04591.js → ADlgInfeed-2afe92e6.js} +6 -6
  148. package/dist/esm/AccordionPanel.js +24 -25
  149. package/dist/esm/AdSlot.js +23 -24
  150. package/dist/esm/AdSlotsProvider.js +4 -4
  151. package/dist/esm/AlphabeticList.js +22 -23
  152. package/dist/esm/ArticleCarousel.js +18 -19
  153. package/dist/esm/ArticleSeriesListing.js +52 -53
  154. package/dist/esm/Auth.js +315 -798
  155. package/dist/esm/{AuthorComponent-22790017.js → AuthorComponent-00f13201.js} +11 -11
  156. package/dist/esm/Beam.js +9 -10
  157. package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-c409aca5.js} +4 -4
  158. package/dist/esm/Breadcrumbs.js +17 -18
  159. package/dist/esm/BrowseVideosListing.js +36 -37
  160. package/dist/esm/CMEDeck.js +75 -76
  161. package/dist/esm/Column1.js +5 -5
  162. package/dist/esm/Column2.js +26 -27
  163. package/dist/esm/Column3.js +49 -50
  164. package/dist/esm/ConferenceArticleCard.js +33 -33
  165. package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
  166. package/dist/esm/DeckContent.js +84 -85
  167. package/dist/esm/DeckQueue.js +64 -65
  168. package/dist/esm/{Dfp-08279047.js → Dfp-741c01be.js} +20 -21
  169. package/dist/esm/EventsDeck.js +100 -101
  170. package/dist/esm/ExternalResources.js +69 -70
  171. package/dist/esm/Feature.js +18 -18
  172. package/dist/esm/ForbesHero.js +34 -35
  173. package/dist/esm/GridContent.js +139 -140
  174. package/dist/esm/GridHero.js +36 -37
  175. package/dist/esm/GroupDeck.js +45 -46
  176. package/dist/esm/HamMagazine.js +113 -114
  177. package/dist/esm/Header.js +7 -7
  178. package/dist/esm/Hero.js +9 -9
  179. package/dist/esm/HighlightenVideo.js +14 -14
  180. package/dist/esm/HorizontalHero.js +21 -21
  181. package/dist/esm/IssueContentDeck.js +49 -50
  182. package/dist/esm/IssueDeck.js +46 -47
  183. package/dist/esm/IssueLanding.js +67 -68
  184. package/dist/esm/KMTracker.js +15 -15
  185. package/dist/esm/LeftNav.js +33 -34
  186. package/dist/esm/MasterDeck.js +73 -74
  187. package/dist/esm/NavDvm.js +57 -58
  188. package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
  189. package/dist/esm/NavMagazine.js +124 -125
  190. package/dist/esm/NavNative.js +100 -101
  191. package/dist/esm/NavNormal.js +36 -37
  192. package/dist/esm/OncliveHero.js +17 -16
  193. package/dist/esm/OncliveLargeHero.js +59 -60
  194. package/dist/esm/PageFilter.js +12 -13
  195. package/dist/esm/PartnerDetailListing.js +102 -103
  196. package/dist/esm/PdfDownload.js +6 -6
  197. package/dist/esm/PopUpModal.js +14 -15
  198. package/dist/esm/PublicationDeck.js +38 -38
  199. package/dist/esm/PublicationLanding.js +75 -76
  200. package/dist/esm/QueueDeckExpanded.js +273 -274
  201. package/dist/esm/RecentNews.js +20 -20
  202. package/dist/esm/RelatedContent.js +47 -47
  203. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  204. package/dist/esm/RolesDeck.js +13 -13
  205. package/dist/esm/Search.js +12 -13
  206. package/dist/esm/Segment.js +7 -8
  207. package/dist/esm/SetCookie.js +1 -1
  208. package/dist/esm/SideFooter.js +33 -34
  209. package/dist/esm/SocialIcons.js +7 -7
  210. package/dist/esm/{SocialSearchComponent-46ea0f4d.js → SocialSearchComponent-677ed3bd.js} +28 -28
  211. package/dist/esm/SocialShare.js +25 -25
  212. package/dist/esm/TaxonomyCard.js +41 -42
  213. package/dist/esm/TemplateNormal.js +67 -68
  214. package/dist/esm/ThumbnailCard.js +13 -13
  215. package/dist/esm/Ustream.js +23 -24
  216. package/dist/esm/VerticalHero.js +13 -13
  217. package/dist/esm/VideoSeriesCard.js +25 -26
  218. package/dist/esm/VideoSeriesFilter.js +16 -17
  219. package/dist/esm/VideoSeriesListing.js +66 -67
  220. package/dist/esm/View.js +212 -212
  221. package/dist/esm/YahooHero.js +34 -35
  222. package/dist/esm/YoutubeGroup.js +53 -54
  223. package/dist/esm/{_is-array-46713c19.js → _is-array-49698029.js} +6 -7
  224. package/dist/esm/{_iter-detect-60cd145f.js → _iter-detect-59409a32.js} +2 -2
  225. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-71ac75a4.js} +1 -1
  226. package/dist/esm/{_object-sap-108a1939.js → _object-sap-4d59d5bd.js} +1 -1
  227. package/dist/esm/{_set-species-a4b3fe39.js → _set-species-cede29f8.js} +5 -6
  228. package/dist/esm/{_export-9029ebab.js → _to-object-ded78eb9.js} +134 -3
  229. package/dist/esm/{asyncToGenerator-7714cea4.js → asyncToGenerator-7c654f36.js} +9 -10
  230. package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
  231. package/dist/esm/{core.get-iterator-method-6636b3ef.js → core.get-iterator-method-54d2e411.js} +2 -3
  232. package/dist/esm/{define-property-f2d6f244.js → define-property-de3fc946.js} +1 -1
  233. package/dist/esm/{defineProperty-69f06029.js → defineProperty-b798470d.js} +1 -1
  234. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  235. package/dist/esm/{es6.string.iterator-2efae22d.js → es6.string.iterator-9b2af4a5.js} +3 -4
  236. package/dist/esm/{extends-f866c8d0.js → extends-cc5da797.js} +2 -3
  237. package/dist/esm/getRelatedArticle.js +71 -134
  238. package/dist/esm/getSerializers.js +41 -42
  239. package/dist/esm/{getTargeting-5cdca4e1.js → getTargeting-2acdec91.js} +11 -11
  240. package/dist/esm/getTargeting.js +8 -9
  241. package/dist/esm/{index-3f5c03b2.js → index-3849e3fe.js} +24 -29
  242. package/dist/esm/{index-669ff425.js → index-3f4dd6f2.js} +12 -10
  243. package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
  244. package/dist/esm/{index-5db919a6.js → index-7779a6df.js} +380 -384
  245. package/dist/esm/{index-750a7380.js → index-ef6d5dcf.js} +18 -17
  246. package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
  247. package/dist/esm/{index.esm-57f377a5.js → index.esm-29e48d38.js} +16 -7
  248. package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
  249. package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
  250. package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
  251. package/dist/esm/index.js +173 -11
  252. package/dist/esm/{inherits-75d6495f.js → inherits-7ee3e0c1.js} +5 -6
  253. package/dist/esm/{keys-78217618.js → keys-fc2d4c34.js} +2 -3
  254. package/dist/esm/{lodash-ad27652f.js → lodash-ec8c6b48.js} +1 -1
  255. package/dist/esm/{main-decc48f4.js → main-35ff7b4f.js} +78 -113
  256. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  257. package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
  258. package/dist/esm/{slicedToArray-fa9240c4.js → slicedToArray-7021e5df.js} +4 -4
  259. package/dist/esm/{smoothscroll-ab6e0238.js → smoothscroll-4b699764.js} +1 -1
  260. package/dist/esm/{stringify-22907f56.js → stringify-008c8802.js} +1 -1
  261. package/dist/esm/timeDifferenceCalc.js +1 -1
  262. package/dist/esm/{toConsumableArray-bd01c637.js → toConsumableArray-725434a0.js} +4 -5
  263. package/dist/esm/{typeof-668f30cd.js → typeof-08f2c380.js} +8 -9
  264. package/dist/esm/urlFor.js +1 -1
  265. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  266. package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
  267. package/dist/esm/{web.dom.iterable-89515070.js → web.dom.iterable-8956f9a5.js} +3 -4
  268. package/package.json +105 -105
  269. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  270. package/dist/cjs/_object-sap-4ac28868.js +0 -16
  271. package/dist/cjs/_to-object-233fc5c9.js +0 -149
  272. package/dist/esm/_to-object-62924b74.js +0 -135
@@ -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,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
 
@@ -821,13 +821,15 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
821
821
  });
822
822
 
823
823
  if (_this5.lazyLoadIsEnabled()) {
824
+ var args = [];
825
+
824
826
  var config = _this5.getLazyLoadConfig();
825
827
 
826
- if (config) {
827
- pubadsService.enableLazyLoad(config);
828
- } else {
829
- pubadsService.enableLazyLoad();
828
+ if (config !== null) {
829
+ args.push(config);
830
830
  }
831
+
832
+ pubadsService.enableLazyLoad.call(args);
831
833
  }
832
834
 
833
835
  if (_this5.singleRequestIsEnabled()) {
@@ -1027,7 +1029,7 @@ Object.defineProperty(exports, "__esModule", {
1027
1029
  });
1028
1030
  exports.default = exports.Context = void 0;
1029
1031
 
1030
- var _react = _interopRequireDefault(React);
1032
+ var _react = _interopRequireDefault(React__default);
1031
1033
 
1032
1034
  var _propTypes = _interopRequireDefault(PropTypes);
1033
1035
 
@@ -1326,7 +1328,7 @@ if (Context === null) {
1326
1328
  });
1327
1329
 
1328
1330
  unwrapExports(dfpslotsprovider);
1329
- dfpslotsprovider.Context;
1331
+ var dfpslotsprovider_1 = dfpslotsprovider.Context;
1330
1332
 
1331
1333
  var adslot = createCommonjsModule(function (module, exports) {
1332
1334
 
@@ -1335,7 +1337,7 @@ Object.defineProperty(exports, "__esModule", {
1335
1337
  });
1336
1338
  exports.default = exports.AdSlot = void 0;
1337
1339
 
1338
- var _react = _interopRequireDefault(React);
1340
+ var _react = _interopRequireDefault(React__default);
1339
1341
 
1340
1342
  var _propTypes = _interopRequireDefault(PropTypes);
1341
1343
 
@@ -1622,7 +1624,7 @@ exports.default = _default;
1622
1624
  });
1623
1625
 
1624
1626
  unwrapExports(adslot);
1625
- adslot.AdSlot;
1627
+ var adslot_1 = adslot.AdSlot;
1626
1628
 
1627
1629
  var lib = createCommonjsModule(function (module, exports) {
1628
1630
 
@@ -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 };