@mjhls/mjh-framework 1.0.720-navigation-scroll-fix-v4 → 1.0.720

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 (277) hide show
  1. package/dist/cjs/AD.js +10 -9
  2. package/dist/cjs/AD300x250.js +25 -24
  3. package/dist/cjs/AD300x250x600.js +25 -24
  4. package/dist/cjs/AD728x90.js +28 -27
  5. package/dist/cjs/ADFloatingFooter.js +27 -26
  6. package/dist/cjs/ADFooter.js +15 -14
  7. package/dist/cjs/ADGutter.js +27 -26
  8. package/dist/cjs/{ADInfeed-5a561d7c.js → ADInfeed-2c7a6dd8.js} +13 -11
  9. package/dist/cjs/ADSkyscraper.js +27 -26
  10. package/dist/cjs/ADSponsoredResources.js +27 -26
  11. package/dist/cjs/ADWebcast.js +27 -26
  12. package/dist/cjs/ADWelcome.js +31 -30
  13. package/dist/cjs/{ADlgInfeed-c50f81d4.js → ADlgInfeed-fb101797.js} +9 -8
  14. package/dist/cjs/AccordionPanel.js +31 -29
  15. package/dist/cjs/AdSlot.js +32 -31
  16. package/dist/cjs/AdSlotsProvider.js +17 -16
  17. package/dist/cjs/AlphabeticList.js +25 -24
  18. package/dist/cjs/ArticleCarousel.js +24 -23
  19. package/dist/cjs/ArticleProgramLandingPage.js +55 -54
  20. package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
  21. package/dist/cjs/ArticleSeriesListing.js +60 -59
  22. package/dist/cjs/Auth.js +816 -330
  23. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
  24. package/dist/cjs/Beam.js +9 -9
  25. package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-eca358e4.js} +25 -24
  26. package/dist/cjs/Breadcrumbs.js +29 -27
  27. package/dist/cjs/CMEDeck.js +83 -83
  28. package/dist/cjs/Column1.js +14 -11
  29. package/dist/cjs/Column2.js +35 -32
  30. package/dist/cjs/Column3.js +58 -55
  31. package/dist/cjs/ConferenceArticleCard.js +23 -22
  32. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  33. package/dist/cjs/DeckContent.js +98 -94
  34. package/dist/cjs/DeckQueue.js +90 -86
  35. package/dist/cjs/{Dfp-ce7ac168.js → Dfp-a863cf48.js} +31 -30
  36. package/dist/cjs/EventsDeck.js +138 -131
  37. package/dist/cjs/ExternalResources.js +77 -76
  38. package/dist/cjs/Feature.js +27 -25
  39. package/dist/cjs/ForbesHero.js +41 -40
  40. package/dist/cjs/GridContent.js +181 -177
  41. package/dist/cjs/GridHero.js +43 -42
  42. package/dist/cjs/GroupDeck.js +59 -58
  43. package/dist/cjs/HamMagazine.js +142 -138
  44. package/dist/cjs/Header.js +13 -11
  45. package/dist/cjs/Hero.js +13 -12
  46. package/dist/cjs/HighlightenVideo.js +18 -17
  47. package/dist/cjs/HorizontalArticleListing.js +69 -68
  48. package/dist/cjs/HorizontalHero.js +26 -25
  49. package/dist/cjs/IssueContentDeck.js +77 -72
  50. package/dist/cjs/IssueDeck.js +75 -70
  51. package/dist/cjs/IssueLanding.js +41 -40
  52. package/dist/cjs/LeftNav.js +38 -36
  53. package/dist/cjs/MasterDeck.js +72 -71
  54. package/dist/cjs/NavDvm.js +80 -75
  55. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  56. package/dist/cjs/NavMagazine.js +143 -138
  57. package/dist/cjs/NavNative.js +123 -115
  58. package/dist/cjs/NavNormal.js +53 -48
  59. package/dist/cjs/OncliveHero.js +20 -20
  60. package/dist/cjs/OncliveLargeHero.js +67 -66
  61. package/dist/cjs/PageFilter.js +15 -14
  62. package/dist/cjs/PartnerDetailListing.js +106 -105
  63. package/dist/cjs/PdfDownload.js +9 -8
  64. package/dist/cjs/PopUpModal.js +21 -19
  65. package/dist/cjs/PublicationDeck.js +66 -61
  66. package/dist/cjs/PublicationLanding.js +78 -74
  67. package/dist/cjs/QueueDeckExpanded.js +292 -292
  68. package/dist/cjs/RecentNews.js +24 -23
  69. package/dist/cjs/RelatedContent.js +25 -24
  70. package/dist/cjs/RelatedTopicsDropdown.js +22 -19
  71. package/dist/cjs/RolesDeck.js +32 -27
  72. package/dist/cjs/Search.js +22 -18
  73. package/dist/cjs/Segment.js +7 -7
  74. package/dist/cjs/SetCookie.js +1 -1
  75. package/dist/cjs/SideFooter.js +36 -35
  76. package/dist/cjs/SocialIcons.js +10 -9
  77. package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-45c54bed.js} +40 -36
  78. package/dist/cjs/SocialShare.js +31 -29
  79. package/dist/cjs/TaxonomyCard.js +62 -57
  80. package/dist/cjs/TaxonomyDescription.js +52 -51
  81. package/dist/cjs/TemplateNormal.js +73 -72
  82. package/dist/cjs/ThumbnailCard.js +22 -20
  83. package/dist/cjs/Ustream.js +27 -26
  84. package/dist/cjs/VerticalHero.js +18 -17
  85. package/dist/cjs/VideoProgramLandingPage.js +74 -70
  86. package/dist/cjs/VideoSeriesCard.js +33 -32
  87. package/dist/cjs/VideoSeriesFilter.js +19 -19
  88. package/dist/cjs/VideoSeriesLandingPage.js +48 -47
  89. package/dist/cjs/VideoSeriesListing.js +75 -74
  90. package/dist/cjs/View.js +227 -224
  91. package/dist/cjs/YahooHero.js +40 -39
  92. package/dist/cjs/YoutubeGroup.js +63 -62
  93. package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
  94. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
  95. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
  96. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-bec5fcf2.js} +1 -1
  97. package/dist/cjs/{_set-species-f92c67c5.js → _set-species-a8cfdb84.js} +4 -4
  98. package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
  99. package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-2edcb6ad.js} +8 -8
  100. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  101. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-b4615fd3.js} +2 -2
  102. package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
  103. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
  104. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  105. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
  106. package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
  107. package/dist/cjs/getRelatedArticle.js +19 -19
  108. package/dist/cjs/getSerializers.js +42 -42
  109. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-497b581d.js} +2 -2
  110. package/dist/cjs/getTargeting.js +7 -7
  111. package/dist/cjs/iconBase-68959171.js +0 -3
  112. package/dist/cjs/{index-a2ecf598.js → index-3ce0ae25.js} +487 -476
  113. package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
  114. package/dist/cjs/{index-8bf6c863.js → index-5ad2b070.js} +30 -48
  115. package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
  116. package/dist/cjs/{index-39beccb3.js → index-d48b231c.js} +29 -24
  117. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  118. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  119. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
  120. package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
  121. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  122. package/dist/cjs/index.js +133 -133
  123. package/dist/cjs/{inherits-513d81cd.js → inherits-2eb23889.js} +8 -8
  124. package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
  125. package/dist/cjs/{lodash-7fd85bcf.js → lodash-4ef21f0f.js} +1 -1
  126. package/dist/cjs/{main-02daeefe.js → main-dc082238.js} +116 -80
  127. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  128. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  129. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-db24842a.js} +4 -4
  130. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  131. package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
  132. package/dist/cjs/timeDifferenceCalc.js +1 -1
  133. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
  134. package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
  135. package/dist/cjs/urlFor.js +2 -2
  136. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  137. package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
  138. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
  139. package/dist/esm/AD.js +7 -7
  140. package/dist/esm/AD300x250.js +21 -21
  141. package/dist/esm/AD300x250x600.js +21 -21
  142. package/dist/esm/AD728x90.js +24 -24
  143. package/dist/esm/ADFloatingFooter.js +23 -23
  144. package/dist/esm/ADFooter.js +11 -11
  145. package/dist/esm/ADGutter.js +23 -23
  146. package/dist/esm/{ADInfeed-bb62ee44.js → ADInfeed-3ee501b9.js} +7 -7
  147. package/dist/esm/ADSkyscraper.js +23 -23
  148. package/dist/esm/ADSponsoredResources.js +23 -23
  149. package/dist/esm/ADWebcast.js +23 -23
  150. package/dist/esm/ADWelcome.js +27 -27
  151. package/dist/esm/{ADlgInfeed-ef0a892e.js → ADlgInfeed-0bf06b17.js} +6 -6
  152. package/dist/esm/AccordionPanel.js +24 -24
  153. package/dist/esm/AdSlot.js +23 -23
  154. package/dist/esm/AdSlotsProvider.js +13 -13
  155. package/dist/esm/AlphabeticList.js +21 -21
  156. package/dist/esm/ArticleCarousel.js +20 -20
  157. package/dist/esm/ArticleProgramLandingPage.js +51 -51
  158. package/dist/esm/ArticleSeriesLandingPage.js +35 -35
  159. package/dist/esm/ArticleSeriesListing.js +54 -54
  160. package/dist/esm/Auth.js +797 -315
  161. package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-c7ff069f.js} +11 -11
  162. package/dist/esm/Beam.js +9 -9
  163. package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d8cd739c.js} +4 -4
  164. package/dist/esm/Breadcrumbs.js +17 -17
  165. package/dist/esm/CMEDeck.js +79 -79
  166. package/dist/esm/Column1.js +5 -5
  167. package/dist/esm/Column2.js +26 -26
  168. package/dist/esm/Column3.js +48 -48
  169. package/dist/esm/ConferenceArticleCard.js +18 -18
  170. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  171. package/dist/esm/DeckContent.js +76 -76
  172. package/dist/esm/DeckQueue.js +64 -64
  173. package/dist/esm/{Dfp-e9a07597.js → Dfp-5d779279.js} +20 -20
  174. package/dist/esm/EventsDeck.js +84 -84
  175. package/dist/esm/ExternalResources.js +70 -70
  176. package/dist/esm/Feature.js +18 -18
  177. package/dist/esm/ForbesHero.js +34 -34
  178. package/dist/esm/GridContent.js +139 -139
  179. package/dist/esm/GridHero.js +36 -36
  180. package/dist/esm/GroupDeck.js +46 -46
  181. package/dist/esm/HamMagazine.js +111 -112
  182. package/dist/esm/Header.js +7 -7
  183. package/dist/esm/Hero.js +9 -9
  184. package/dist/esm/HighlightenVideo.js +14 -14
  185. package/dist/esm/HorizontalArticleListing.js +65 -65
  186. package/dist/esm/HorizontalHero.js +21 -21
  187. package/dist/esm/IssueContentDeck.js +49 -49
  188. package/dist/esm/IssueDeck.js +46 -46
  189. package/dist/esm/IssueLanding.js +37 -37
  190. package/dist/esm/LeftNav.js +32 -32
  191. package/dist/esm/MasterDeck.js +65 -65
  192. package/dist/esm/NavDvm.js +57 -57
  193. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  194. package/dist/esm/NavMagazine.js +114 -114
  195. package/dist/esm/NavNative.js +91 -91
  196. package/dist/esm/NavNormal.js +36 -36
  197. package/dist/esm/OncliveHero.js +16 -17
  198. package/dist/esm/OncliveLargeHero.js +59 -59
  199. package/dist/esm/PageFilter.js +12 -12
  200. package/dist/esm/PartnerDetailListing.js +101 -101
  201. package/dist/esm/PdfDownload.js +6 -6
  202. package/dist/esm/PopUpModal.js +14 -14
  203. package/dist/esm/PublicationDeck.js +38 -38
  204. package/dist/esm/PublicationLanding.js +50 -50
  205. package/dist/esm/QueueDeckExpanded.js +272 -272
  206. package/dist/esm/RecentNews.js +20 -20
  207. package/dist/esm/RelatedContent.js +19 -19
  208. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  209. package/dist/esm/RolesDeck.js +13 -13
  210. package/dist/esm/Search.js +12 -12
  211. package/dist/esm/Segment.js +7 -7
  212. package/dist/esm/SetCookie.js +1 -1
  213. package/dist/esm/SideFooter.js +31 -31
  214. package/dist/esm/SocialIcons.js +7 -7
  215. package/dist/esm/{SocialSearchComponent-a2ae84d1.js → SocialSearchComponent-c3216d1a.js} +28 -28
  216. package/dist/esm/SocialShare.js +25 -25
  217. package/dist/esm/TaxonomyCard.js +41 -41
  218. package/dist/esm/TaxonomyDescription.js +46 -46
  219. package/dist/esm/TemplateNormal.js +66 -66
  220. package/dist/esm/ThumbnailCard.js +13 -13
  221. package/dist/esm/Ustream.js +23 -23
  222. package/dist/esm/VerticalHero.js +13 -13
  223. package/dist/esm/VideoProgramLandingPage.js +60 -60
  224. package/dist/esm/VideoSeriesCard.js +24 -24
  225. package/dist/esm/VideoSeriesFilter.js +16 -16
  226. package/dist/esm/VideoSeriesLandingPage.js +39 -39
  227. package/dist/esm/VideoSeriesListing.js +68 -68
  228. package/dist/esm/View.js +214 -215
  229. package/dist/esm/YahooHero.js +34 -34
  230. package/dist/esm/YoutubeGroup.js +46 -46
  231. package/dist/esm/{_is-array-58e95429.js → _is-array-674f71ec.js} +6 -6
  232. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-48516cd3.js} +2 -2
  233. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-fd3054d0.js} +1 -1
  234. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-8f409e54.js} +1 -1
  235. package/dist/esm/{_set-species-3f8319f5.js → _set-species-494ed292.js} +4 -4
  236. package/dist/esm/{_to-object-a4107da3.js → _to-object-97770c52.js} +5 -5
  237. package/dist/esm/{asyncToGenerator-502f13b4.js → asyncToGenerator-2bd4099a.js} +8 -8
  238. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
  239. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-d1d5ed02.js} +2 -2
  240. package/dist/esm/{define-property-8af5f002.js → define-property-ec6d528d.js} +1 -1
  241. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-ea516b15.js} +1 -1
  242. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  243. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-aa6068a3.js} +3 -3
  244. package/dist/esm/{extends-eb69e8ac.js → extends-31d65aba.js} +1 -1
  245. package/dist/esm/getRelatedArticle.js +13 -13
  246. package/dist/esm/getSerializers.js +42 -42
  247. package/dist/esm/{getTargeting-7211f12c.js → getTargeting-2d402d66.js} +2 -2
  248. package/dist/esm/getTargeting.js +7 -7
  249. package/dist/esm/{index-3849e3fe.js → index-3f5c03b2.js} +29 -24
  250. package/dist/esm/{index-a9e53f80.js → index-669ff425.js} +24 -43
  251. package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
  252. package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
  253. package/dist/esm/{index-2749e7d8.js → index-f98ea5e2.js} +421 -417
  254. package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
  255. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  256. package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
  257. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  258. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  259. package/dist/esm/index.js +111 -111
  260. package/dist/esm/{inherits-fb9b6e8f.js → inherits-5906fbea.js} +5 -5
  261. package/dist/esm/{keys-8eda7a5c.js → keys-a0b0c7a4.js} +2 -2
  262. package/dist/esm/{lodash-ec8c6b48.js → lodash-ad27652f.js} +1 -1
  263. package/dist/esm/{main-e4a934b2.js → main-1450d277.js} +113 -78
  264. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  265. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
  266. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-cdeaee08.js} +4 -4
  267. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  268. package/dist/esm/{stringify-4330ccdc.js → stringify-d4839bab.js} +1 -1
  269. package/dist/esm/timeDifferenceCalc.js +1 -1
  270. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-fa2dcda7.js} +4 -4
  271. package/dist/esm/{typeof-6435ba1c.js → typeof-e9cea9e8.js} +7 -7
  272. package/dist/esm/urlFor.js +1 -1
  273. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  274. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
  275. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-035980f3.js} +3 -3
  276. package/package.json +3 -3
  277. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
@@ -1,12 +1,13 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
6
4
  var React = require('react');
7
- var React__default = _interopDefault(React);
8
5
  var PropTypes = require('prop-types');
9
- var PropTypes__default = _interopDefault(PropTypes);
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
10
11
 
11
12
  var domain;
12
13
 
@@ -508,7 +509,7 @@ function loadGPTScript() {
508
509
  });
509
510
 
510
511
  _commonjsHelpers.unwrapExports(utils);
511
- var utils_1 = utils.loadGPTScript;
512
+ utils.loadGPTScript;
512
513
 
513
514
  var manager = _commonjsHelpers.createCommonjsModule(function (module, exports) {
514
515
 
@@ -536,7 +537,6 @@ var disableInitialLoadEnabled = false;
536
537
  var lazyLoadEnabled = false;
537
538
  var lazyLoadConfig = null;
538
539
  var servePersonalizedAds = true;
539
- var serveCookies = true;
540
540
  var registeredSlots = {};
541
541
  var managerAlreadyInitialized = false;
542
542
  var globalTargetingArguments = {};
@@ -578,15 +578,9 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
578
578
  configurePersonalizedAds: function configurePersonalizedAds(value) {
579
579
  servePersonalizedAds = value;
580
580
  },
581
- configureCookieOption: function configureCookieOption(value) {
582
- serveCookies = value;
583
- },
584
581
  personalizedAdsEnabled: function personalizedAdsEnabled() {
585
582
  return servePersonalizedAds;
586
583
  },
587
- cookiesEnabled: function cookiesEnabled() {
588
- return serveCookies;
589
- },
590
584
  setAdSenseAttribute: function setAdSenseAttribute(key, value) {
591
585
  this.setAdSenseAttributes(_defineProperty({}, key, value));
592
586
  },
@@ -677,7 +671,6 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
677
671
  });
678
672
  });
679
673
  pubadsService.setRequestNonPersonalizedAds(_this.personalizedAdsEnabled() ? 0 : 1);
680
- pubadsService.setCookieOptions(_this.cookiesEnabled() ? 0 : 1);
681
674
  });
682
675
  });
683
676
  }
@@ -789,9 +782,13 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
789
782
 
790
783
  googletag.cmd.push(function () {
791
784
  googletag.enableServices();
792
- slotsToInitialize.forEach(function (theSlotId) {
793
- googletag.display(theSlotId);
794
- });
785
+
786
+ if (!_this3.disableInitialLoadIsEnabled()) {
787
+ slotsToInitialize.forEach(function (theSlotId) {
788
+ googletag.display(theSlotId);
789
+ });
790
+ }
791
+
795
792
  resolve();
796
793
  });
797
794
  });
@@ -814,7 +811,6 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
814
811
  googletag.cmd.push(function () {
815
812
  var pubadsService = googletag.pubads();
816
813
  pubadsService.setRequestNonPersonalizedAds(_this5.personalizedAdsEnabled() ? 0 : 1);
817
- pubadsService.setCookieOptions(_this5.cookiesEnabled() ? 0 : 1);
818
814
 
819
815
  var targetingArguments = _this5.getTargetingArguments(); // set global targetting arguments
820
816
 
@@ -881,25 +877,17 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
881
877
  }, slots);
882
878
  },
883
879
  refresh: function refresh() {
884
- var _this6 = this;
885
-
886
- for (var _len4 = arguments.length, slots = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
887
- slots[_key4] = arguments[_key4];
888
- }
889
-
890
880
  if (loadPromise === null) {
891
881
  this.load();
892
882
  } else {
893
- loadPromise.then(function () {
894
- _this6.gptRefreshAds(Object.keys(_this6.getRefreshableSlots.apply(_this6, slots)));
895
- });
883
+ this.gptRefreshAds(Object.keys(this.getRefreshableSlots.apply(this, arguments)));
896
884
  }
897
885
  },
898
886
  gptRefreshAds: function gptRefreshAds(slots) {
899
- var _this7 = this;
887
+ var _this6 = this;
900
888
 
901
889
  return this.getGoogletag().then(function (googletag) {
902
- _this7.configureOptions(googletag);
890
+ _this6.configureOptions(googletag);
903
891
 
904
892
  googletag.cmd.push(function () {
905
893
  var pubadsService = googletag.pubads();
@@ -910,17 +898,17 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
910
898
  });
911
899
  },
912
900
  reload: function reload() {
913
- var _this8 = this;
901
+ var _this7 = this;
914
902
 
915
903
  return this.destroyGPTSlots.apply(this, arguments).then(function () {
916
- return _this8.load();
904
+ return _this7.load();
917
905
  });
918
906
  },
919
907
  destroyGPTSlots: function destroyGPTSlots() {
920
- var _this9 = this;
908
+ var _this8 = this;
921
909
 
922
- for (var _len5 = arguments.length, slotsToDestroy = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
923
- slotsToDestroy[_key5] = arguments[_key5];
910
+ for (var _len4 = arguments.length, slotsToDestroy = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
911
+ slotsToDestroy[_key4] = arguments[_key4];
924
912
  }
925
913
 
926
914
  if (slotsToDestroy.length === 0) {
@@ -937,7 +925,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
937
925
  slots.push(slot);
938
926
  }
939
927
 
940
- _this9.getGoogletag().then(function (googletag) {
928
+ _this8.getGoogletag().then(function (googletag) {
941
929
  googletag.cmd.push(function () {
942
930
  if (managerAlreadyInitialized === true) {
943
931
  if (slotsToDestroy.length > 0) {
@@ -960,7 +948,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
960
948
  });
961
949
  },
962
950
  registerSlot: function registerSlot(_ref) {
963
- var _this10 = this;
951
+ var _this9 = this;
964
952
 
965
953
  var slotId = _ref.slotId,
966
954
  dfpNetworkId = _ref.dfpNetworkId,
@@ -999,7 +987,7 @@ var DFPManager = Object.assign(new EventEmitter.EventEmitter().setMaxListeners(0
999
987
  gptSlot = slot.gptSlot;
1000
988
 
1001
989
  if (loading === false && !gptSlot) {
1002
- _this10.load(slotId);
990
+ _this9.load(slotId);
1003
991
  }
1004
992
  }
1005
993
  });
@@ -1046,9 +1034,9 @@ Object.defineProperty(exports, "__esModule", {
1046
1034
  });
1047
1035
  exports.default = exports.Context = void 0;
1048
1036
 
1049
- var _react = _interopRequireDefault(React__default);
1037
+ var _react = _interopRequireDefault(React__default['default']);
1050
1038
 
1051
- var _propTypes = _interopRequireDefault(PropTypes__default);
1039
+ var _propTypes = _interopRequireDefault(PropTypes__default['default']);
1052
1040
 
1053
1041
  var _manager = _interopRequireDefault(manager);
1054
1042
 
@@ -1189,8 +1177,6 @@ function (_React$Component) {
1189
1177
  value: function applyConfigs() {
1190
1178
  _manager.default.configurePersonalizedAds(this.props.personalizedAds);
1191
1179
 
1192
- _manager.default.configureCookieOption(this.props.cookieOption);
1193
-
1194
1180
  _manager.default.configureSingleRequest(this.props.singleRequest);
1195
1181
 
1196
1182
  _manager.default.configureDisableInitialLoad(this.props.disableInitialLoad);
@@ -1287,7 +1273,6 @@ _defineProperty(DFPSlotsProvider, "propTypes", {
1287
1273
  autoReload: _propTypes.default.shape({
1288
1274
  dfpNetworkId: _propTypes.default.bool,
1289
1275
  personalizedAds: _propTypes.default.bool,
1290
- cookieOption: _propTypes.default.bool,
1291
1276
  singleRequest: _propTypes.default.bool,
1292
1277
  disableInitialLoad: _propTypes.default.bool,
1293
1278
  adUnit: _propTypes.default.bool,
@@ -1299,7 +1284,6 @@ _defineProperty(DFPSlotsProvider, "propTypes", {
1299
1284
  }),
1300
1285
  dfpNetworkId: _propTypes.default.string.isRequired,
1301
1286
  personalizedAds: _propTypes.default.bool,
1302
- cookieOption: _propTypes.default.bool,
1303
1287
  singleRequest: _propTypes.default.bool,
1304
1288
  disableInitialLoad: _propTypes.default.bool,
1305
1289
  adUnit: _propTypes.default.string,
@@ -1320,7 +1304,6 @@ _defineProperty(DFPSlotsProvider, "defaultProps", {
1320
1304
  autoReload: {
1321
1305
  dfpNetworkId: false,
1322
1306
  personalizedAds: false,
1323
- cookieOption: false,
1324
1307
  singleRequest: false,
1325
1308
  disableInitialLoad: false,
1326
1309
  adUnit: false,
@@ -1331,7 +1314,6 @@ _defineProperty(DFPSlotsProvider, "defaultProps", {
1331
1314
  lazyLoad: false
1332
1315
  },
1333
1316
  personalizedAds: true,
1334
- cookieOption: true,
1335
1317
  singleRequest: true,
1336
1318
  disableInitialLoad: false,
1337
1319
  collapseEmptyDivs: null,
@@ -1351,7 +1333,7 @@ if (Context === null) {
1351
1333
  });
1352
1334
 
1353
1335
  _commonjsHelpers.unwrapExports(dfpslotsprovider);
1354
- var dfpslotsprovider_1 = dfpslotsprovider.Context;
1336
+ dfpslotsprovider.Context;
1355
1337
 
1356
1338
  var adslot = _commonjsHelpers.createCommonjsModule(function (module, exports) {
1357
1339
 
@@ -1360,9 +1342,9 @@ Object.defineProperty(exports, "__esModule", {
1360
1342
  });
1361
1343
  exports.default = exports.AdSlot = void 0;
1362
1344
 
1363
- var _react = _interopRequireDefault(React__default);
1345
+ var _react = _interopRequireDefault(React__default['default']);
1364
1346
 
1365
- var _propTypes = _interopRequireDefault(PropTypes__default);
1347
+ var _propTypes = _interopRequireDefault(PropTypes__default['default']);
1366
1348
 
1367
1349
  var _manager = _interopRequireDefault(manager);
1368
1350
 
@@ -1647,7 +1629,7 @@ exports.default = _default;
1647
1629
  });
1648
1630
 
1649
1631
  _commonjsHelpers.unwrapExports(adslot);
1650
- var adslot_1 = adslot.AdSlot;
1632
+ adslot.AdSlot;
1651
1633
 
1652
1634
  var lib = _commonjsHelpers.createCommonjsModule(function (module, exports) {
1653
1635
 
@@ -1,13 +1,15 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
6
4
  var React = require('react');
7
- var React__default = _interopDefault(React);
5
+ var reactDom = require('react-dom');
8
6
  var PropTypes = require('prop-types');
9
- var PropTypes__default = _interopDefault(PropTypes);
10
- var reactDom = _interopDefault(require('react-dom'));
7
+
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
+ var reactDom__default = /*#__PURE__*/_interopDefaultLegacy(reactDom);
12
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
11
13
 
12
14
  var event = _commonjsHelpers.createCommonjsModule(function (module, exports) {
13
15
 
@@ -38,8 +40,8 @@ function off(el, eventName, callback, opts) {
38
40
  });
39
41
 
40
42
  _commonjsHelpers.unwrapExports(event);
41
- var event_1 = event.on;
42
- var event_2 = event.off;
43
+ event.on;
44
+ event.off;
43
45
 
44
46
  var scrollParent = _commonjsHelpers.createCommonjsModule(function (module, exports) {
45
47
 
@@ -185,15 +187,15 @@ var _createClass = function () { function defineProperties(target, props) { for
185
187
 
186
188
 
187
189
 
188
- var _react2 = _interopRequireDefault(React__default);
190
+ var _react2 = _interopRequireDefault(React__default['default']);
189
191
 
190
192
 
191
193
 
192
- var _reactDom2 = _interopRequireDefault(reactDom);
194
+ var _reactDom2 = _interopRequireDefault(reactDom__default['default']);
193
195
 
194
196
 
195
197
 
196
- var _propTypes2 = _interopRequireDefault(PropTypes__default);
198
+ var _propTypes2 = _interopRequireDefault(PropTypes__default['default']);
197
199
 
198
200
 
199
201
 
@@ -536,7 +538,7 @@ var LazyLoad = function (_Component) {
536
538
  }]);
537
539
 
538
540
  return LazyLoad;
539
- }(React__default.Component);
541
+ }(React__default['default'].Component);
540
542
 
541
543
  LazyLoad.propTypes = {
542
544
  once: _propTypes2.default.bool,
@@ -593,7 +595,7 @@ var decorator = function decorator() {
593
595
  }]);
594
596
 
595
597
  return LazyLoadDecorated;
596
- }(React__default.Component);
598
+ }(React__default['default'].Component);
597
599
  };
598
600
  };
599
601
 
@@ -604,8 +606,8 @@ exports.forceVisible = forceVisible;
604
606
  });
605
607
 
606
608
  var LazyLoad = _commonjsHelpers.unwrapExports(lib);
607
- var lib_1 = lib.forceVisible;
608
- var lib_2 = lib.forceCheck;
609
- var lib_3 = lib.lazyload;
609
+ lib.forceVisible;
610
+ lib.forceCheck;
611
+ lib.lazyload;
610
612
 
611
613
  exports.LazyLoad = LazyLoad;
@@ -60,35 +60,35 @@ function parseSource(source) {
60
60
  if (typeof source === 'string' && isUrl(source)) {
61
61
  // Someone passed an existing image url?
62
62
  image = {
63
- asset: { _ref: urlToId(source) }
63
+ asset: { _ref: urlToId(source) },
64
64
  };
65
65
  }
66
66
  else if (typeof source === 'string') {
67
67
  // Just an asset id
68
68
  image = {
69
- asset: { _ref: source }
69
+ asset: { _ref: source },
70
70
  };
71
71
  }
72
72
  else if (isRef(source)) {
73
73
  // We just got passed an asset directly
74
74
  image = {
75
- asset: source
75
+ asset: source,
76
76
  };
77
77
  }
78
78
  else if (isAsset(source)) {
79
79
  // If we were passed an image asset document
80
80
  image = {
81
81
  asset: {
82
- _ref: source._id || ''
83
- }
82
+ _ref: source._id || '',
83
+ },
84
84
  };
85
85
  }
86
86
  else if (isAssetStub(source)) {
87
87
  // If we were passed a partial asset (`url`, but no `_id`)
88
88
  image = {
89
89
  asset: {
90
- _ref: urlToId(source.asset.url)
91
- }
90
+ _ref: urlToId(source.asset.url),
91
+ },
92
92
  };
93
93
  }
94
94
  else if (typeof source.asset === 'object') {
@@ -129,7 +129,7 @@ function applyDefaults(image) {
129
129
  left: 0,
130
130
  top: 0,
131
131
  bottom: 0,
132
- right: 0
132
+ right: 0,
133
133
  };
134
134
  }
135
135
  if (!result.hotspot) {
@@ -137,7 +137,7 @@ function applyDefaults(image) {
137
137
  x: 0.5,
138
138
  y: 0.5,
139
139
  height: 1.0,
140
- width: 1.0
140
+ width: 1.0,
141
141
  };
142
142
  }
143
143
  return result;
@@ -184,7 +184,8 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
184
184
  ['crop', 'crop'],
185
185
  ['saturation', 'sat'],
186
186
  ['auto', 'auto'],
187
- ['dpr', 'dpr']
187
+ ['dpr', 'dpr'],
188
+ ['pad', 'pad'],
188
189
  ];
189
190
  function urlForImage(options) {
190
191
  var spec = __assign({}, (options || {}));
@@ -203,7 +204,7 @@ function urlForImage(options) {
203
204
  left: cropLeft,
204
205
  top: cropTop,
205
206
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
206
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
207
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
207
208
  };
208
209
  // Compute hot spot rect in terms of pixel coordinates
209
210
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -214,7 +215,7 @@ function urlForImage(options) {
214
215
  left: hotSpotCenterX - hotSpotHorizontalRadius,
215
216
  top: hotSpotCenterY - hotSpotVerticalRadius,
216
217
  right: hotSpotCenterX + hotSpotHorizontalRadius,
217
- bottom: hotSpotCenterY + hotSpotVerticalRadius
218
+ bottom: hotSpotCenterY + hotSpotVerticalRadius,
218
219
  };
219
220
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
220
221
  // the crop/hotspot.
@@ -296,7 +297,7 @@ function fit(source, spec) {
296
297
  left: Math.round(left),
297
298
  top: Math.round(top_2),
298
299
  width: Math.round(width),
299
- height: Math.round(height)
300
+ height: Math.round(height),
300
301
  };
301
302
  }
302
303
  else {
@@ -318,21 +319,21 @@ function fit(source, spec) {
318
319
  left: Math.max(0, Math.floor(left)),
319
320
  top: Math.max(0, Math.floor(top_3)),
320
321
  width: Math.round(width),
321
- height: Math.round(height)
322
+ height: Math.round(height),
322
323
  };
323
324
  }
324
325
  return {
325
326
  width: imgWidth,
326
327
  height: imgHeight,
327
- rect: cropRect
328
+ rect: cropRect,
328
329
  };
329
330
  }
330
331
 
331
332
  });
332
333
 
333
334
  _commonjsHelpers.unwrapExports(urlForImage_1);
334
- var urlForImage_2 = urlForImage_1.parseSource;
335
- var urlForImage_3 = urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
335
+ urlForImage_1.parseSource;
336
+ urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
336
337
 
337
338
  var builder = _commonjsHelpers.createCommonjsModule(function (module, exports) {
338
339
  var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
@@ -358,7 +359,7 @@ var urlForImage_1$1 = __importStar(urlForImage_1);
358
359
  var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
359
360
  var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
360
361
  var validAutoModes = ['format'];
361
- function isSanityClient(client) {
362
+ function isSanityClientLike(client) {
362
363
  return client ? typeof client.clientConfig === 'object' : false;
363
364
  }
364
365
  function rewriteSpecName(key) {
@@ -375,14 +376,14 @@ function rewriteSpecName(key) {
375
376
  function urlBuilder(options) {
376
377
  // Did we get a SanityClient?
377
378
  var client = options;
378
- if (isSanityClient(client)) {
379
+ if (isSanityClientLike(client)) {
379
380
  // Inherit config from client
380
381
  var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
381
382
  var apiHost = apiUrl || 'https://api.sanity.io';
382
383
  return new ImageUrlBuilder(null, {
383
384
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
384
385
  projectId: projectId,
385
- dataset: dataset
386
+ dataset: dataset,
386
387
  });
387
388
  }
388
389
  // Or just accept the options as given
@@ -395,7 +396,7 @@ var ImageUrlBuilder = /** @class */ (function () {
395
396
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
396
397
  }
397
398
  ImageUrlBuilder.prototype.withOptions = function (options) {
398
- var baseUrl = options.baseUrl || '';
399
+ var baseUrl = options.baseUrl || this.options.baseUrl;
399
400
  var newOptions = { baseUrl: baseUrl };
400
401
  for (var key in options) {
401
402
  if (options.hasOwnProperty(key)) {
@@ -489,7 +490,7 @@ var ImageUrlBuilder = /** @class */ (function () {
489
490
  ImageUrlBuilder.prototype.flipHorizontal = function () {
490
491
  return this.withOptions({ flipHorizontal: true });
491
492
  };
492
- // Flip image verically
493
+ // Flip image vertically
493
494
  ImageUrlBuilder.prototype.flipVertical = function () {
494
495
  return this.withOptions({ flipVertical: true });
495
496
  };
@@ -519,11 +520,15 @@ var ImageUrlBuilder = /** @class */ (function () {
519
520
  }
520
521
  return this.withOptions({ auto: value });
521
522
  };
523
+ // Specify the number of pixels to pad the image
524
+ ImageUrlBuilder.prototype.pad = function (pad) {
525
+ return this.withOptions({ pad: pad });
526
+ };
522
527
  // Gets the url based on the submitted parameters
523
528
  ImageUrlBuilder.prototype.url = function () {
524
529
  return urlForImage_1$1.default(this.options);
525
530
  };
526
- // Synonym for url()
531
+ // Alias for url()
527
532
  ImageUrlBuilder.prototype.toString = function () {
528
533
  return this.url();
529
534
  };
@@ -534,7 +539,7 @@ exports.ImageUrlBuilder = ImageUrlBuilder;
534
539
  });
535
540
 
536
541
  _commonjsHelpers.unwrapExports(builder);
537
- var builder_1 = builder.ImageUrlBuilder;
542
+ builder.ImageUrlBuilder;
538
543
 
539
544
  var node = _commonjsHelpers.createCommonjsModule(function (module) {
540
545
  var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
3
  var React = require('react');
6
- var React__default = _interopDefault(React);
4
+
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
7
8
 
8
9
  /*! *****************************************************************************
9
10
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -268,6 +269,9 @@ var InfiniteScroll = /** @class */ (function (_super) {
268
269
  _this.dragging = false;
269
270
  if (_this.state.pullToRefreshThresholdBreached) {
270
271
  _this.props.refreshFunction && _this.props.refreshFunction();
272
+ _this.setState({
273
+ pullToRefreshThresholdBreached: false,
274
+ });
271
275
  }
272
276
  requestAnimationFrame(function () {
273
277
  // this._infScroll
@@ -293,7 +297,9 @@ var InfiniteScroll = /** @class */ (function (_super) {
293
297
  // prevents multiple triggers.
294
298
  if (_this.actionTriggered)
295
299
  return;
296
- var atBottom = _this.isElementAtBottom(target, _this.props.scrollThreshold);
300
+ var atBottom = _this.props.inverse
301
+ ? _this.isElementAtTop(target, _this.props.scrollThreshold)
302
+ : _this.isElementAtBottom(target, _this.props.scrollThreshold);
297
303
  // call the `next` function in the props to trigger the next data fetch
298
304
  if (atBottom && _this.props.hasMore) {
299
305
  _this.actionTriggered = true;
@@ -366,17 +372,30 @@ var InfiniteScroll = /** @class */ (function (_super) {
366
372
  }
367
373
  };
368
374
  InfiniteScroll.prototype.UNSAFE_componentWillReceiveProps = function (props) {
369
- // do nothing when dataLength and key are unchanged
370
- if (this.props.key === props.key &&
371
- this.props.dataLength === props.dataLength)
375
+ // do nothing when dataLength is unchanged
376
+ if (this.props.dataLength === props.dataLength)
372
377
  return;
373
378
  this.actionTriggered = false;
374
379
  // update state when new data was sent in
375
380
  this.setState({
376
381
  showLoader: false,
377
- pullToRefreshThresholdBreached: false,
378
382
  });
379
383
  };
384
+ InfiniteScroll.prototype.isElementAtTop = function (target, scrollThreshold) {
385
+ if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
386
+ var clientHeight = target === document.body || target === document.documentElement
387
+ ? window.screen.availHeight
388
+ : target.clientHeight;
389
+ var threshold = parseThreshold(scrollThreshold);
390
+ if (threshold.unit === ThresholdUnits.Pixel) {
391
+ return (target.scrollTop <=
392
+ threshold.value + clientHeight - target.scrollHeight + 1 ||
393
+ target.scrollTop === 0);
394
+ }
395
+ return (target.scrollTop <=
396
+ threshold.value / 100 + clientHeight - target.scrollHeight + 1 ||
397
+ target.scrollTop === 0);
398
+ };
380
399
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
381
400
  if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
382
401
  var clientHeight = target === document.body || target === document.documentElement
@@ -401,10 +420,10 @@ var InfiniteScroll = /** @class */ (function (_super) {
401
420
  var outerDivStyle = this.props.pullDownToRefresh && this.props.height
402
421
  ? { overflow: 'auto' }
403
422
  : {};
404
- return (React__default.createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
405
- React__default.createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
406
- this.props.pullDownToRefresh && (React__default.createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
407
- React__default.createElement("div", { style: {
423
+ return (React__default['default'].createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
424
+ React__default['default'].createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
425
+ this.props.pullDownToRefresh && (React__default['default'].createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
426
+ React__default['default'].createElement("div", { style: {
408
427
  position: 'absolute',
409
428
  left: 0,
410
429
  right: 0,
@@ -3,22 +3,15 @@
3
3
  var iconBase = require('./iconBase-68959171.js');
4
4
 
5
5
  // THIS FILE IS AUTO GENERATED
6
- var FaLongArrowAltRight = function (props) {
6
+ function FaLongArrowAltRight (props) {
7
7
  return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z"}}]})(props);
8
- };
9
- FaLongArrowAltRight.displayName = "FaLongArrowAltRight";
10
- var FaMinus = function (props) {
8
+ }function FaMinus (props) {
11
9
  return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(props);
12
- };
13
- FaMinus.displayName = "FaMinus";
14
- var FaPlus = function (props) {
10
+ }function FaPlus (props) {
15
11
  return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(props);
16
- };
17
- FaPlus.displayName = "FaPlus";
18
- var FaRegWindowClose = function (props) {
12
+ }function FaRegWindowClose (props) {
19
13
  return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v340zM356.5 194.6L295.1 256l61.4 61.4c4.6 4.6 4.6 12.1 0 16.8l-22.3 22.3c-4.6 4.6-12.1 4.6-16.8 0L256 295.1l-61.4 61.4c-4.6 4.6-12.1 4.6-16.8 0l-22.3-22.3c-4.6-4.6-4.6-12.1 0-16.8l61.4-61.4-61.4-61.4c-4.6-4.6-4.6-12.1 0-16.8l22.3-22.3c4.6-4.6 12.1-4.6 16.8 0l61.4 61.4 61.4-61.4c4.6-4.6 12.1-4.6 16.8 0l22.3 22.3c4.7 4.6 4.7 12.1 0 16.8z"}}]})(props);
20
- };
21
- FaRegWindowClose.displayName = "FaRegWindowClose";
14
+ }
22
15
 
23
16
  exports.FaLongArrowAltRight = FaLongArrowAltRight;
24
17
  exports.FaMinus = FaMinus;
@@ -3,18 +3,13 @@
3
3
  var iconBase = require('./iconBase-68959171.js');
4
4
 
5
5
  // THIS FILE IS AUTO GENERATED
6
- var MdEmail = function (props) {
6
+ function MdEmail (props) {
7
7
  return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}}]})(props);
8
- };
9
- MdEmail.displayName = "MdEmail";
10
- var MdMouse = function (props) {
8
+ }function MdMouse (props) {
11
9
  return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z"}}]})(props);
12
- };
13
- MdMouse.displayName = "MdMouse";
14
- var MdPictureAsPdf = function (props) {
10
+ }function MdPictureAsPdf (props) {
15
11
  return iconBase.GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}}]})(props);
16
- };
17
- MdPictureAsPdf.displayName = "MdPictureAsPdf";
12
+ }
18
13
 
19
14
  exports.MdEmail = MdEmail;
20
15
  exports.MdMouse = MdMouse;