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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +10 -9
  3. package/dist/cjs/AD300x250.js +29 -28
  4. package/dist/cjs/AD300x250x600.js +29 -28
  5. package/dist/cjs/AD728x90.js +32 -31
  6. package/dist/cjs/ADFloatingFooter.js +31 -30
  7. package/dist/cjs/ADFooter.js +13 -12
  8. package/dist/cjs/ADGutter.js +31 -30
  9. package/dist/cjs/{ADInfeed-2e48af77.js → ADInfeed-bce0ba07.js} +15 -13
  10. package/dist/cjs/ADSkyscraper.js +31 -30
  11. package/dist/cjs/ADSponsoredResources.js +31 -30
  12. package/dist/cjs/ADWebcast.js +31 -30
  13. package/dist/cjs/ADWelcome.js +32 -31
  14. package/dist/cjs/{ADlgInfeed-c39c7131.js → ADlgInfeed-950b414b.js} +11 -10
  15. package/dist/cjs/AccordionPanel.js +29 -27
  16. package/dist/cjs/AdSlot.js +32 -31
  17. package/dist/cjs/AdSlotsProvider.js +18 -909
  18. package/dist/cjs/AlgoliaSearch.js +1490 -1306
  19. package/dist/cjs/AlphabeticList.js +24 -23
  20. package/dist/cjs/ArticleCarousel.js +20 -19
  21. package/dist/cjs/ArticleProgramLandingPage.js +58 -57
  22. package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
  23. package/dist/cjs/ArticleSeriesListing.js +60 -59
  24. package/dist/cjs/Auth.js +680 -1504
  25. package/dist/cjs/AuthWrapper.js +1637 -419
  26. package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-39b37d84.js} +14 -13
  27. package/dist/cjs/Beam.js +6 -6
  28. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-9ebd251f.js} +56 -55
  29. package/dist/cjs/Breadcrumbs.js +27 -25
  30. package/dist/cjs/CMEDeck.js +81 -81
  31. package/dist/cjs/Column1.js +14 -11
  32. package/dist/cjs/Column2.js +34 -31
  33. package/dist/cjs/Column3.js +60 -57
  34. package/dist/cjs/ConferenceArticleCard.js +41 -40
  35. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  36. package/dist/cjs/ContentCardPaginated.js +98 -92
  37. package/dist/cjs/DeckContent.js +105 -101
  38. package/dist/cjs/DeckQueue.js +91 -87
  39. package/dist/cjs/DeckQueuePaginated.js +92 -86
  40. package/dist/cjs/{Dfp-f492f985.js → Dfp-9be904d5.js} +32 -31
  41. package/dist/cjs/EventsDeck.js +157 -150
  42. package/dist/cjs/ExternalResources.js +79 -78
  43. package/dist/cjs/Feature.js +29 -27
  44. package/dist/cjs/ForbesHero.js +41 -40
  45. package/dist/cjs/GridContent.js +189 -185
  46. package/dist/cjs/GridContentPaginated.js +190 -184
  47. package/dist/cjs/GridHero.js +43 -42
  48. package/dist/cjs/GroupDeck.js +58 -57
  49. package/dist/cjs/HamMagazine.js +144 -139
  50. package/dist/cjs/Header.js +14 -12
  51. package/dist/cjs/Hero.js +16 -15
  52. package/dist/cjs/HighlightenVideo.js +18 -17
  53. package/dist/cjs/HorizontalArticleListing.js +72 -71
  54. package/dist/cjs/HorizontalHero.js +29 -28
  55. package/dist/cjs/{ImageSlider-38f25e66.js → ImageSlider-b96720eb.js} +202 -1378
  56. package/dist/cjs/IssueContentDeck.js +76 -71
  57. package/dist/cjs/IssueDeck.js +75 -70
  58. package/dist/cjs/IssueLanding.js +94 -93
  59. package/dist/cjs/KMTracker.js +15 -15
  60. package/dist/cjs/LeftNav.js +39 -37
  61. package/dist/cjs/MasterDeck.js +79 -78
  62. package/dist/cjs/MasterDeckPaginated.js +76 -73
  63. package/dist/cjs/{MediaSeriesCard-8d27612b.js → MediaSeriesCard-8b4efd28.js} +1145 -1051
  64. package/dist/cjs/MediaSeriesLanding.js +93 -91
  65. package/dist/cjs/MediaSeriesLandingPaginated.js +95 -92
  66. package/dist/cjs/NavDvm.js +77 -72
  67. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  68. package/dist/cjs/NavMagazine.js +151 -146
  69. package/dist/cjs/NavNative.js +145 -137
  70. package/dist/cjs/OncliveHero.js +22 -22
  71. package/dist/cjs/OncliveLargeHero.js +71 -70
  72. package/dist/cjs/PageFilter.js +13 -12
  73. package/dist/cjs/Pagination-8f2038bf.js +53 -0
  74. package/dist/cjs/PartnerDetailListing.js +100 -98
  75. package/dist/cjs/PartnerDetailListingPaginated.js +99 -96
  76. package/dist/cjs/PdfDownload.js +10 -9
  77. package/dist/cjs/PopUpModal.js +19 -17
  78. package/dist/cjs/PubSection.js +41 -40
  79. package/dist/cjs/PubToc.js +14 -13
  80. package/dist/cjs/PublicationDeck.js +70 -65
  81. package/dist/cjs/{PublicationFeature-28c549f2.js → PublicationFeature-5ccf9b13.js} +40 -36
  82. package/dist/cjs/PublicationLanding.js +141 -133
  83. package/dist/cjs/QueueDeckExpanded.js +308 -308
  84. package/dist/cjs/QueueDeckExpandedPaginated.js +268 -267
  85. package/dist/cjs/RecentNews.js +23 -22
  86. package/dist/cjs/RelatedContent.js +58 -57
  87. package/dist/cjs/RelatedTopicsDropdown.js +32 -29
  88. package/dist/cjs/RolesDeck.js +32 -27
  89. package/dist/cjs/Schema.js +16 -15
  90. package/dist/cjs/Search.js +20 -16
  91. package/dist/cjs/Segment.js +4 -4
  92. package/dist/cjs/SeriesListingDeck.js +36 -36
  93. package/dist/cjs/{SeriesSlider-49b81b0b.js → SeriesSlider-ba0c5d1a.js} +40 -39
  94. package/dist/cjs/SetCookie.js +1 -1
  95. package/dist/cjs/SideFooter.js +37 -36
  96. package/dist/cjs/SocialIcons.js +10 -9
  97. package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-4942ddfc.js} +40 -36
  98. package/dist/cjs/SocialShare.js +31 -29
  99. package/dist/cjs/TaxonomyCard.js +66 -61
  100. package/dist/cjs/TaxonomyDescription.js +54 -53
  101. package/dist/cjs/TemplateNormal.js +73 -72
  102. package/dist/cjs/ThumbnailCard.js +26 -24
  103. package/dist/cjs/Ustream.js +29 -28
  104. package/dist/cjs/VerticalHero.js +20 -19
  105. package/dist/cjs/VideoProgramLandingPage.js +76 -72
  106. package/dist/cjs/VideoSeriesCard.js +33 -32
  107. package/dist/cjs/VideoSeriesFilter.js +16 -16
  108. package/dist/cjs/VideoSeriesLandingPage.js +48 -47
  109. package/dist/cjs/VideoSeriesListing.js +77 -76
  110. package/dist/cjs/View.js +267 -264
  111. package/dist/cjs/YahooHero.js +40 -39
  112. package/dist/cjs/YoutubeGroup.js +68 -67
  113. package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
  114. package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
  115. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  116. package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
  117. package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
  118. package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
  119. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  120. package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
  121. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  122. package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
  123. package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
  124. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  125. package/dist/cjs/{entities-310b46ee.js → entities-df1aed86.js} +5 -1
  126. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  127. package/dist/cjs/{extends-eed4f016.js → extends-7c86182f.js} +7 -7
  128. package/dist/cjs/faundadb.js +5 -5
  129. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  130. package/dist/cjs/getQuery.js +1 -1
  131. package/dist/cjs/getRelatedArticle.js +16 -16
  132. package/dist/cjs/getRootDocGroup.js +4 -4
  133. package/dist/cjs/getSerializers.js +43 -43
  134. package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
  135. package/dist/cjs/getTargeting.js +6 -6
  136. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  137. package/dist/cjs/{index-e2e62963.js → index-50be6759.js} +26 -10
  138. package/dist/cjs/{index-54adcbc3.js → index-6f89aea7.js} +1070 -1044
  139. package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
  140. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  141. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  142. package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
  143. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  144. package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
  145. package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
  146. package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-c1e16606.js} +4 -7
  147. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
  148. package/dist/cjs/index.js +175 -168
  149. package/dist/cjs/{inherits-12d44cca.js → inherits-de66ea16.js} +18 -18
  150. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  151. package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
  152. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  153. package/dist/cjs/main-f1c77adb.js +973 -0
  154. package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
  155. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  156. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  157. package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
  158. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  159. package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
  160. package/dist/cjs/timeDifferenceCalc.js +1 -1
  161. package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
  162. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  163. package/dist/cjs/typeof-1358762e.js +33 -0
  164. package/dist/cjs/{typeof-5f52cf64.js → typeof-567e31ff.js} +35 -35
  165. package/dist/cjs/urlFor.js +6 -6
  166. package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
  167. package/dist/cjs/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
  168. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  169. package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
  170. package/dist/esm/AD.js +1 -1
  171. package/dist/esm/AD300x250.js +22 -22
  172. package/dist/esm/AD300x250x600.js +22 -22
  173. package/dist/esm/AD728x90.js +25 -25
  174. package/dist/esm/ADFloatingFooter.js +21 -21
  175. package/dist/esm/ADFooter.js +4 -4
  176. package/dist/esm/ADGutter.js +21 -21
  177. package/dist/esm/{ADInfeed-d767ebe2.js → ADInfeed-0a55cd2d.js} +4 -4
  178. package/dist/esm/ADSkyscraper.js +21 -21
  179. package/dist/esm/ADSponsoredResources.js +21 -21
  180. package/dist/esm/ADWebcast.js +21 -21
  181. package/dist/esm/ADWelcome.js +18 -18
  182. package/dist/esm/{ADlgInfeed-cee95aa2.js → ADlgInfeed-013e1f4a.js} +4 -4
  183. package/dist/esm/AccordionPanel.js +6 -6
  184. package/dist/esm/AdSlot.js +20 -20
  185. package/dist/esm/AdSlotsProvider.js +14 -906
  186. package/dist/esm/AlgoliaSearch.js +717 -534
  187. package/dist/esm/AlphabeticList.js +8 -8
  188. package/dist/esm/ArticleCarousel.js +13 -13
  189. package/dist/esm/ArticleProgramLandingPage.js +48 -48
  190. package/dist/esm/ArticleSeriesLandingPage.js +30 -30
  191. package/dist/esm/ArticleSeriesListing.js +31 -31
  192. package/dist/esm/Auth.js +591 -1419
  193. package/dist/esm/AuthWrapper.js +1609 -392
  194. package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-11adff02.js} +1 -1
  195. package/dist/esm/Beam.js +6 -6
  196. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-1e73bd2c.js} +34 -34
  197. package/dist/esm/Breadcrumbs.js +5 -5
  198. package/dist/esm/CMEDeck.js +22 -22
  199. package/dist/esm/Column2.js +14 -14
  200. package/dist/esm/Column3.js +31 -31
  201. package/dist/esm/ConferenceArticleCard.js +25 -25
  202. package/dist/esm/ContentCardPaginated.js +36 -35
  203. package/dist/esm/DeckContent.js +41 -41
  204. package/dist/esm/DeckQueue.js +31 -31
  205. package/dist/esm/DeckQueuePaginated.js +32 -31
  206. package/dist/esm/{Dfp-f867d061.js → Dfp-102f0beb.js} +13 -13
  207. package/dist/esm/EventsDeck.js +41 -41
  208. package/dist/esm/ExternalResources.js +45 -45
  209. package/dist/esm/Feature.js +7 -7
  210. package/dist/esm/ForbesHero.js +10 -10
  211. package/dist/esm/GridContent.js +47 -47
  212. package/dist/esm/GridContentPaginated.js +46 -45
  213. package/dist/esm/GridHero.js +11 -11
  214. package/dist/esm/GroupDeck.js +12 -12
  215. package/dist/esm/HamMagazine.js +35 -35
  216. package/dist/esm/Hero.js +7 -7
  217. package/dist/esm/HighlightenVideo.js +2 -2
  218. package/dist/esm/HorizontalArticleListing.js +46 -46
  219. package/dist/esm/HorizontalHero.js +8 -8
  220. package/dist/esm/{ImageSlider-a3154b97.js → ImageSlider-de7846ea.js} +141 -1317
  221. package/dist/esm/IssueContentDeck.js +11 -11
  222. package/dist/esm/IssueDeck.js +14 -14
  223. package/dist/esm/IssueLanding.js +82 -82
  224. package/dist/esm/KMTracker.js +15 -15
  225. package/dist/esm/LeftNav.js +20 -20
  226. package/dist/esm/MasterDeck.js +40 -40
  227. package/dist/esm/MasterDeckPaginated.js +39 -38
  228. package/dist/esm/{MediaSeriesCard-1dd7eae8.js → MediaSeriesCard-51ebf1c0.js} +694 -602
  229. package/dist/esm/MediaSeriesLanding.js +58 -58
  230. package/dist/esm/MediaSeriesLandingPaginated.js +62 -61
  231. package/dist/esm/NavDvm.js +11 -11
  232. package/dist/esm/NavMagazine.js +39 -39
  233. package/dist/esm/NavNative.js +37 -37
  234. package/dist/esm/OncliveHero.js +7 -8
  235. package/dist/esm/OncliveLargeHero.js +11 -11
  236. package/dist/esm/PageFilter.js +4 -4
  237. package/dist/esm/Pagination-c0db7ca1.js +46 -0
  238. package/dist/esm/PartnerDetailListing.js +63 -62
  239. package/dist/esm/PartnerDetailListingPaginated.js +62 -60
  240. package/dist/esm/PdfDownload.js +2 -2
  241. package/dist/esm/PopUpModal.js +4 -4
  242. package/dist/esm/PubSection.js +32 -32
  243. package/dist/esm/PubToc.js +6 -6
  244. package/dist/esm/PublicationDeck.js +10 -10
  245. package/dist/esm/{PublicationFeature-fa24dedb.js → PublicationFeature-d88e76b9.js} +2 -2
  246. package/dist/esm/PublicationLanding.js +56 -52
  247. package/dist/esm/QueueDeckExpanded.js +36 -36
  248. package/dist/esm/QueueDeckExpandedPaginated.js +36 -35
  249. package/dist/esm/RecentNews.js +4 -4
  250. package/dist/esm/RelatedContent.js +38 -38
  251. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  252. package/dist/esm/Schema.js +10 -10
  253. package/dist/esm/Search.js +5 -5
  254. package/dist/esm/Segment.js +4 -4
  255. package/dist/esm/SeriesListingDeck.js +18 -18
  256. package/dist/esm/{SeriesSlider-ce19fa25.js → SeriesSlider-45adb8dc.js} +14 -14
  257. package/dist/esm/SetCookie.js +1 -1
  258. package/dist/esm/SideFooter.js +15 -15
  259. package/dist/esm/{SocialSearchComponent-dca69151.js → SocialSearchComponent-8e0fcf66.js} +10 -10
  260. package/dist/esm/TaxonomyCard.js +12 -12
  261. package/dist/esm/TaxonomyDescription.js +44 -44
  262. package/dist/esm/TemplateNormal.js +46 -46
  263. package/dist/esm/ThumbnailCard.js +10 -10
  264. package/dist/esm/Ustream.js +12 -12
  265. package/dist/esm/VerticalHero.js +6 -6
  266. package/dist/esm/VideoProgramLandingPage.js +49 -49
  267. package/dist/esm/VideoSeriesCard.js +14 -14
  268. package/dist/esm/VideoSeriesFilter.js +7 -7
  269. package/dist/esm/VideoSeriesLandingPage.js +36 -36
  270. package/dist/esm/VideoSeriesListing.js +31 -31
  271. package/dist/esm/View.js +89 -90
  272. package/dist/esm/YahooHero.js +13 -13
  273. package/dist/esm/YoutubeGroup.js +21 -21
  274. package/dist/esm/{_is-array-4df618a6.js → _is-array-8d21b9e3.js} +6 -6
  275. package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-98db3b07.js} +7 -7
  276. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  277. package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-7cee6f84.js} +1 -1
  278. package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-2300e51b.js} +2 -2
  279. package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-5ef104a7.js} +30 -30
  280. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
  281. package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-ea258bb1.js} +36 -36
  282. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  283. package/dist/esm/define-property-5f1bda73.js +18 -0
  284. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  285. package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8c30428f.js} +1 -1
  286. package/dist/esm/{entities-7cc3bf45.js → entities-6d9154b4.js} +5 -1
  287. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  288. package/dist/esm/{extends-5b1796d4.js → extends-6d8e3924.js} +7 -7
  289. package/dist/esm/faundadb.js +5 -5
  290. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  291. package/dist/esm/getQuery.js +1 -1
  292. package/dist/esm/getRelatedArticle.js +11 -11
  293. package/dist/esm/getRootDocGroup.js +4 -4
  294. package/dist/esm/getSerializers.js +43 -43
  295. package/dist/esm/{getTargeting-277c801e.js → getTargeting-4061f839.js} +11 -11
  296. package/dist/esm/getTargeting.js +6 -6
  297. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
  298. package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
  299. package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
  300. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  301. package/dist/esm/{index-aaa2dae0.js → index-98ca9cec.js} +26 -11
  302. package/dist/esm/{index-d1476645.js → index-ca0c9ff5.js} +615 -599
  303. package/dist/esm/{index-41a678ea.js → index-f0fc23eb.js} +4 -4
  304. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  305. package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
  306. package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-9b042655.js} +4 -7
  307. package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
  308. package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
  309. package/dist/esm/index.js +126 -122
  310. package/dist/esm/{inherits-2409637d.js → inherits-a6ba2ec4.js} +18 -18
  311. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  312. package/dist/esm/{keys-69989821.js → keys-31dcdb31.js} +6 -6
  313. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  314. package/dist/esm/main-1894c974.js +961 -0
  315. package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
  316. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  317. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
  318. package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-6ebcbfea.js} +12 -12
  319. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  320. package/dist/esm/stringify-2b084bee.js +15 -0
  321. package/dist/esm/timeDifferenceCalc.js +1 -1
  322. package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-f7074d7c.js} +7 -7
  323. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  324. package/dist/esm/typeof-2f07d0e8.js +30 -0
  325. package/dist/esm/{typeof-c05a82ba.js → typeof-e9fc0c5d.js} +35 -35
  326. package/dist/esm/urlFor.js +4 -4
  327. package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-d3714624.js} +4 -4
  328. package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
  329. package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-ab4dea5c.js} +2 -2
  330. package/package.json +112 -112
  331. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  332. package/dist/cjs/Pagination-90473595.js +0 -59
  333. package/dist/cjs/inherits-8d29278d.js +0 -110
  334. package/dist/cjs/main-02daeefe.js +0 -862
  335. package/dist/esm/Pagination-683fa8ef.js +0 -54
  336. package/dist/esm/define-property-6d26cb48.js +0 -18
  337. package/dist/esm/inherits-77d5e4fc.js +0 -101
  338. package/dist/esm/main-c0612122.js +0 -851
  339. package/dist/esm/stringify-70b72959.js +0 -15
@@ -1,908 +1,16 @@
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
2
+ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
+ import React__default, { useEffect } from 'react';
4
+ import ReactGA from 'react-ga';
5
+ import { l as lib_3, b as lib_1 } from './index-f0fc23eb.js';
6
+ import { d as main_24, m as main_43 } from './main-1894c974.js';
1
7
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-86d4db69.js';
8
+ import './core.get-iterator-method-ea258bb1.js';
9
+ import './web.dom.iterable-ab4dea5c.js';
3
10
  import './_library-528f1934.js';
4
- import './_iter-detect-130ee549.js';
5
- import { _ as _toConsumableArray$1 } from './toConsumableArray-32282905.js';
6
- import './web.dom.iterable-f8f967cd.js';
7
- import React__default, { Component, useEffect } from 'react';
11
+ import './_iter-detect-98db3b07.js';
8
12
  import './events-6c3a7a63.js';
9
- import { l as lib_3, b as lib_1 } from './index-41a678ea.js';
10
- import PropTypes from 'prop-types';
11
- import { d as main_22, m as main_36 } from './main-c0612122.js';
12
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
13
-
14
- function warn(s) {
15
- console.warn('[react-ga]', s);
16
- }
17
-
18
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
19
-
20
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
21
-
22
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
23
-
24
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
25
-
26
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
27
-
28
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
29
-
30
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
31
-
32
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
33
-
34
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
35
-
36
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
-
38
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
39
-
40
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
41
-
42
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
43
-
44
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
45
-
46
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
47
-
48
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
49
- var NEWTAB = '_blank';
50
- var MIDDLECLICK = 1;
51
-
52
- var OutboundLink = /*#__PURE__*/function (_Component) {
53
- _inherits(OutboundLink, _Component);
54
-
55
- var _super = _createSuper(OutboundLink);
56
-
57
- function OutboundLink() {
58
- var _this;
59
-
60
- _classCallCheck(this, OutboundLink);
61
-
62
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
63
- args[_key] = arguments[_key];
64
- }
65
-
66
- _this = _super.call.apply(_super, [this].concat(args));
67
-
68
- _defineProperty(_assertThisInitialized(_this), "handleClick", function (event) {
69
- var _this$props = _this.props,
70
- target = _this$props.target,
71
- eventLabel = _this$props.eventLabel,
72
- to = _this$props.to,
73
- onClick = _this$props.onClick,
74
- trackerNames = _this$props.trackerNames;
75
- var eventMeta = {
76
- label: eventLabel
77
- };
78
- var sameTarget = target !== NEWTAB;
79
- var normalClick = !(event.ctrlKey || event.shiftKey || event.metaKey || event.button === MIDDLECLICK);
80
-
81
- if (sameTarget && normalClick) {
82
- event.preventDefault();
83
- OutboundLink.trackLink(eventMeta, function () {
84
- window.location.href = to;
85
- }, trackerNames);
86
- } else {
87
- OutboundLink.trackLink(eventMeta, function () {}, trackerNames);
88
- }
89
-
90
- if (onClick) {
91
- onClick(event);
92
- }
93
- });
94
-
95
- return _this;
96
- }
97
-
98
- _createClass(OutboundLink, [{
99
- key: "render",
100
- value: function render() {
101
- var _this$props2 = this.props,
102
- href = _this$props2.to,
103
- target = _this$props2.target,
104
- oldProps = _objectWithoutProperties(_this$props2, ["to", "target"]);
105
-
106
- var props = _objectSpread(_objectSpread({}, oldProps), {}, {
107
- target: target,
108
- href: href,
109
- onClick: this.handleClick
110
- });
111
-
112
- if (target === NEWTAB) {
113
- props.rel = "".concat(props.rel ? props.rel : '', " noopener noreferrer").trim();
114
- }
115
-
116
- delete props.eventLabel;
117
- delete props.trackerNames;
118
- return /*#__PURE__*/React__default.createElement('a', props);
119
- }
120
- }]);
121
-
122
- return OutboundLink;
123
- }(Component);
124
-
125
- _defineProperty(OutboundLink, "trackLink", function () {
126
- warn('ga tracking not enabled');
127
- });
128
- OutboundLink.propTypes = {
129
- eventLabel: PropTypes.string.isRequired,
130
- target: PropTypes.string,
131
- to: PropTypes.string,
132
- onClick: PropTypes.func,
133
- trackerNames: PropTypes.arrayOf(PropTypes.string)
134
- };
135
- OutboundLink.defaultProps = {
136
- target: null,
137
- to: null,
138
- onClick: null,
139
- trackerNames: null
140
- };
141
-
142
- // See if s could be an email address. We don't want to send personal data like email.
143
- // https://support.google.com/analytics/answer/2795983?hl=en
144
- function mightBeEmail(s) {
145
- // There's no point trying to validate rfc822 fully, just look for ...@...
146
- return typeof s === 'string' && s.indexOf('@') !== -1;
147
- }
148
-
149
- var redacted = 'REDACTED (Potential Email Address)';
150
- function redactEmail(string) {
151
- if (mightBeEmail(string)) {
152
- warn('This arg looks like an email address, redacting.');
153
- return redacted;
154
- }
155
-
156
- return string;
157
- }
158
-
159
- // GA strings need to have leading/trailing whitespace trimmed, and not all
160
- // browsers have String.prototoype.trim().
161
- function trim(s) {
162
- return s && s.toString().replace(/^\s+|\s+$/g, '');
163
- }
164
-
165
- /**
166
- * To Title Case 2.1 - http://individed.com/code/to-title-case/
167
- * Copyright 2008-2013 David Gouch. Licensed under the MIT License.
168
- * https://github.com/gouch/to-title-case
169
- */
170
- var smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i; // test
171
-
172
- function toTitleCase(string) {
173
- return trim(string).replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g, function (match, index, title) {
174
- if (index > 0 && index + match.length !== title.length && match.search(smallWords) > -1 && title.charAt(index - 2) !== ':' && (title.charAt(index + match.length) !== '-' || title.charAt(index - 1) === '-') && title.charAt(index - 1).search(/[^\s-]/) < 0) {
175
- return match.toLowerCase();
176
- }
177
-
178
- if (match.substr(1).search(/[A-Z]|\../) > -1) {
179
- return match;
180
- }
181
-
182
- return match.charAt(0).toUpperCase() + match.substr(1);
183
- });
184
- }
185
-
186
- function format() {
187
- var s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
188
- var titleCase = arguments.length > 1 ? arguments[1] : undefined;
189
- var redactingEmail = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
190
-
191
- var _str = s || '';
192
-
193
- if (titleCase) {
194
- _str = toTitleCase(s);
195
- }
196
-
197
- if (redactingEmail) {
198
- _str = redactEmail(_str);
199
- }
200
-
201
- return _str;
202
- }
203
-
204
- function removeLeadingSlash(string) {
205
- if (string.substring(0, 1) === '/') {
206
- return string.substring(1);
207
- }
208
-
209
- return string;
210
- }
211
-
212
- var isLoaded = false;
213
- function loadGA (options) {
214
- if (isLoaded) return;
215
- isLoaded = true;
216
- var gaAddress = 'https://www.google-analytics.com/analytics.js';
217
-
218
- if (options && options.gaAddress) {
219
- gaAddress = options.gaAddress;
220
- } else if (options && options.debug) {
221
- gaAddress = 'https://www.google-analytics.com/analytics_debug.js';
222
- }
223
-
224
- var onerror = options && options.onerror; // https://developers.google.com/analytics/devguides/collection/analyticsjs/
225
-
226
- /* eslint-disable */
227
-
228
- (function (i, s, o, g, r, a, m) {
229
- i['GoogleAnalyticsObject'] = r;
230
- i[r] = i[r] || function () {
231
- (i[r].q = i[r].q || []).push(arguments);
232
- }, i[r].l = 1 * new Date();
233
- a = s.createElement(o), m = s.getElementsByTagName(o)[0];
234
- a.async = 1;
235
- a.src = g;
236
- a.onerror = onerror;
237
- m.parentNode.insertBefore(a, m);
238
- })(window, document, 'script', gaAddress, 'ga');
239
- /* eslint-enable */
240
-
241
- }
242
-
243
- function log(s) {
244
- console.info('[react-ga]', s);
245
- }
246
-
247
- var gaCalls = [];
248
- var TestModeAPI = {
249
- calls: gaCalls,
250
- ga: function ga() {
251
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
252
- args[_key] = arguments[_key];
253
- }
254
-
255
- gaCalls.push([].concat(args));
256
- },
257
- resetCalls: function resetCalls() {
258
- gaCalls.length = 0;
259
- }
260
- };
261
-
262
- function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$1(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
263
-
264
- function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
265
-
266
- function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
267
-
268
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
269
-
270
- function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
271
-
272
- function _typeof$1(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$1(obj); }
273
-
274
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
275
-
276
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
277
-
278
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
279
-
280
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
281
-
282
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
283
-
284
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
285
-
286
- var _isNotBrowser = typeof window === 'undefined' || typeof document === 'undefined';
287
-
288
- var _debug = false;
289
- var _titleCase = true;
290
- var _testMode = false;
291
- var _alwaysSendToDefaultTracker = true;
292
- var _redactEmail = true;
293
-
294
- var internalGa = function internalGa() {
295
- var _window;
296
-
297
- if (_testMode) return TestModeAPI.ga.apply(TestModeAPI, arguments);
298
- if (_isNotBrowser) return false;
299
- if (!window.ga) return warn('ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually');
300
- return (_window = window).ga.apply(_window, arguments);
301
- };
302
-
303
- function _format(s) {
304
- return format(s, _titleCase, _redactEmail);
305
- }
306
-
307
- function _gaCommand(trackerNames) {
308
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
309
- args[_key - 1] = arguments[_key];
310
- }
311
-
312
- var command = args[0];
313
-
314
- if (typeof internalGa === 'function') {
315
- if (typeof command !== 'string') {
316
- warn('ga command must be a string');
317
- return;
318
- }
319
-
320
- if (_alwaysSendToDefaultTracker || !Array.isArray(trackerNames)) internalGa.apply(void 0, args);
321
-
322
- if (Array.isArray(trackerNames)) {
323
- trackerNames.forEach(function (name) {
324
- internalGa.apply(void 0, _toConsumableArray(["".concat(name, ".").concat(command)].concat(args.slice(1))));
325
- });
326
- }
327
- }
328
- }
329
-
330
- function _initialize(gaTrackingID, options) {
331
- if (!gaTrackingID) {
332
- warn('gaTrackingID is required in initialize()');
333
- return;
334
- }
335
-
336
- if (options) {
337
- if (options.debug && options.debug === true) {
338
- _debug = true;
339
- }
340
-
341
- if (options.titleCase === false) {
342
- _titleCase = false;
343
- }
344
-
345
- if (options.redactEmail === false) {
346
- _redactEmail = false;
347
- }
348
-
349
- if (options.useExistingGa) {
350
- return;
351
- }
352
- }
353
-
354
- if (options && options.gaOptions) {
355
- internalGa('create', gaTrackingID, options.gaOptions);
356
- } else {
357
- internalGa('create', gaTrackingID, 'auto');
358
- }
359
- }
360
-
361
- function addTrackers(configsOrTrackingId, options) {
362
- if (Array.isArray(configsOrTrackingId)) {
363
- configsOrTrackingId.forEach(function (config) {
364
- if (_typeof$1(config) !== 'object') {
365
- warn('All configs must be an object');
366
- return;
367
- }
368
-
369
- _initialize(config.trackingId, config);
370
- });
371
- } else {
372
- _initialize(configsOrTrackingId, options);
373
- }
374
-
375
- return true;
376
- }
377
- function initialize(configsOrTrackingId, options) {
378
- if (options && options.testMode === true) {
379
- _testMode = true;
380
- } else {
381
- if (_isNotBrowser) {
382
- return;
383
- }
384
-
385
- if (!options || options.standardImplementation !== true) loadGA(options);
386
- }
387
-
388
- _alwaysSendToDefaultTracker = options && typeof options.alwaysSendToDefaultTracker === 'boolean' ? options.alwaysSendToDefaultTracker : true;
389
- addTrackers(configsOrTrackingId, options);
390
- }
391
- /**
392
- * ga:
393
- * Returns the original GA object.
394
- */
395
-
396
- function ga() {
397
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
398
- args[_key2] = arguments[_key2];
399
- }
400
-
401
- if (args.length > 0) {
402
- internalGa.apply(void 0, args);
403
-
404
- if (_debug) {
405
- log("called ga('arguments');");
406
- log("with arguments: ".concat(JSON.stringify(args)));
407
- }
408
- }
409
-
410
- return window.ga;
411
- }
412
- /**
413
- * set:
414
- * GA tracker set method
415
- * @param {Object} fieldsObject - a field/value pair or a group of field/value pairs on the tracker
416
- * @param {Array} trackerNames - (optional) a list of extra trackers to run the command on
417
- */
418
-
419
- function set(fieldsObject, trackerNames) {
420
- if (!fieldsObject) {
421
- warn('`fieldsObject` is required in .set()');
422
- return;
423
- }
424
-
425
- if (_typeof$1(fieldsObject) !== 'object') {
426
- warn('Expected `fieldsObject` arg to be an Object');
427
- return;
428
- }
429
-
430
- if (Object.keys(fieldsObject).length === 0) {
431
- warn('empty `fieldsObject` given to .set()');
432
- }
433
-
434
- _gaCommand(trackerNames, 'set', fieldsObject);
435
-
436
- if (_debug) {
437
- log("called ga('set', fieldsObject);");
438
- log("with fieldsObject: ".concat(JSON.stringify(fieldsObject)));
439
- }
440
- }
441
- /**
442
- * send:
443
- * Clone of the low level `ga.send` method
444
- * WARNING: No validations will be applied to this
445
- * @param {Object} fieldObject - field object for tracking different analytics
446
- * @param {Array} trackerNames - trackers to send the command to
447
- * @param {Array} trackerNames - (optional) a list of extra trackers to run the command on
448
- */
449
-
450
- function send(fieldObject, trackerNames) {
451
- _gaCommand(trackerNames, 'send', fieldObject);
452
-
453
- if (_debug) {
454
- log("called ga('send', fieldObject);");
455
- log("with fieldObject: ".concat(JSON.stringify(fieldObject)));
456
- log("with trackers: ".concat(JSON.stringify(trackerNames)));
457
- }
458
- }
459
- /**
460
- * pageview:
461
- * Basic GA pageview tracking
462
- * @param {String} path - the current page page e.g. '/about'
463
- * @param {Array} trackerNames - (optional) a list of extra trackers to run the command on
464
- * @param {String} title - (optional) the page title e. g. 'My Website'
465
- */
466
-
467
- function pageview(rawPath, trackerNames, title) {
468
- if (!rawPath) {
469
- warn('path is required in .pageview()');
470
- return;
471
- }
472
-
473
- var path = trim(rawPath);
474
-
475
- if (path === '') {
476
- warn('path cannot be an empty string in .pageview()');
477
- return;
478
- }
479
-
480
- var extraFields = {};
481
-
482
- if (title) {
483
- extraFields.title = title;
484
- }
485
-
486
- if (typeof ga === 'function') {
487
- _gaCommand(trackerNames, 'send', _objectSpread$1({
488
- hitType: 'pageview',
489
- page: path
490
- }, extraFields));
491
-
492
- if (_debug) {
493
- log("called ga('send', 'pageview', path);");
494
- var extraLog = '';
495
-
496
- if (title) {
497
- extraLog = " and title: ".concat(title);
498
- }
499
-
500
- log("with path: ".concat(path).concat(extraLog));
501
- }
502
- }
503
- }
504
- /**
505
- * modalview:
506
- * a proxy to basic GA pageview tracking to consistently track
507
- * modal views that are an equivalent UX to a traditional pageview
508
- * @param {String} modalName e.g. 'add-or-edit-club'
509
- * @param {Array} trackerNames - (optional) a list of extra trackers to run the command on
510
- */
511
-
512
- function modalview(rawModalName, trackerNames) {
513
- if (!rawModalName) {
514
- warn('modalName is required in .modalview(modalName)');
515
- return;
516
- }
517
-
518
- var modalName = removeLeadingSlash(trim(rawModalName));
519
-
520
- if (modalName === '') {
521
- warn('modalName cannot be an empty string or a single / in .modalview()');
522
- return;
523
- }
524
-
525
- if (typeof ga === 'function') {
526
- var path = "/modal/".concat(modalName);
527
-
528
- _gaCommand(trackerNames, 'send', 'pageview', path);
529
-
530
- if (_debug) {
531
- log("called ga('send', 'pageview', path);");
532
- log("with path: ".concat(path));
533
- }
534
- }
535
- }
536
- /**
537
- * timing:
538
- * GA timing
539
- * @param args.category {String} required
540
- * @param args.variable {String} required
541
- * @param args.value {Int} required
542
- * @param args.label {String} required
543
- * @param {Array} trackerNames - (optional) a list of extra trackers to run the command on
544
- */
545
-
546
- function timing() {
547
- var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
548
- category = _ref.category,
549
- variable = _ref.variable,
550
- value = _ref.value,
551
- label = _ref.label;
552
-
553
- var trackerNames = arguments.length > 1 ? arguments[1] : undefined;
554
-
555
- if (typeof ga === 'function') {
556
- if (!category || !variable || typeof value !== 'number') {
557
- warn('args.category, args.variable ' + 'AND args.value are required in timing() ' + 'AND args.value has to be a number');
558
- return;
559
- } // Required Fields
560
-
561
-
562
- var fieldObject = {
563
- hitType: 'timing',
564
- timingCategory: _format(category),
565
- timingVar: _format(variable),
566
- timingValue: value
567
- };
568
-
569
- if (label) {
570
- fieldObject.timingLabel = _format(label);
571
- }
572
-
573
- send(fieldObject, trackerNames);
574
- }
575
- }
576
- /**
577
- * event:
578
- * GA event tracking
579
- * @param args.category {String} required
580
- * @param args.action {String} required
581
- * @param args.label {String} optional
582
- * @param args.value {Int} optional
583
- * @param args.nonInteraction {boolean} optional
584
- * @param args.transport {string} optional
585
- * @param {{action: string, category: string}} trackerNames - (optional) a list of extra trackers to run the command on
586
- */
587
-
588
- function event() {
589
- var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
590
- category = _ref2.category,
591
- action = _ref2.action,
592
- label = _ref2.label,
593
- value = _ref2.value,
594
- nonInteraction = _ref2.nonInteraction,
595
- transport = _ref2.transport,
596
- args = _objectWithoutProperties$1(_ref2, ["category", "action", "label", "value", "nonInteraction", "transport"]);
597
-
598
- var trackerNames = arguments.length > 1 ? arguments[1] : undefined;
599
-
600
- if (typeof ga === 'function') {
601
- // Simple Validation
602
- if (!category || !action) {
603
- warn('args.category AND args.action are required in event()');
604
- return;
605
- } // Required Fields
606
-
607
-
608
- var fieldObject = {
609
- hitType: 'event',
610
- eventCategory: _format(category),
611
- eventAction: _format(action)
612
- }; // Optional Fields
613
-
614
- if (label) {
615
- fieldObject.eventLabel = _format(label);
616
- }
617
-
618
- if (typeof value !== 'undefined') {
619
- if (typeof value !== 'number') {
620
- warn('Expected `args.value` arg to be a Number.');
621
- } else {
622
- fieldObject.eventValue = value;
623
- }
624
- }
625
-
626
- if (typeof nonInteraction !== 'undefined') {
627
- if (typeof nonInteraction !== 'boolean') {
628
- warn('`args.nonInteraction` must be a boolean.');
629
- } else {
630
- fieldObject.nonInteraction = nonInteraction;
631
- }
632
- }
633
-
634
- if (typeof transport !== 'undefined') {
635
- if (typeof transport !== 'string') {
636
- warn('`args.transport` must be a string.');
637
- } else {
638
- if (['beacon', 'xhr', 'image'].indexOf(transport) === -1) {
639
- warn('`args.transport` must be either one of these values: `beacon`, `xhr` or `image`');
640
- }
641
-
642
- fieldObject.transport = transport;
643
- }
644
- }
645
-
646
- Object.keys(args).filter(function (key) {
647
- return key.substr(0, 'dimension'.length) === 'dimension';
648
- }).forEach(function (key) {
649
- fieldObject[key] = args[key];
650
- });
651
- Object.keys(args).filter(function (key) {
652
- return key.substr(0, 'metric'.length) === 'metric';
653
- }).forEach(function (key) {
654
- fieldObject[key] = args[key];
655
- }); // Send to GA
656
-
657
- send(fieldObject, trackerNames);
658
- }
659
- }
660
- /**
661
- * exception:
662
- * GA exception tracking
663
- * @param args.description {String} optional
664
- * @param args.fatal {boolean} optional
665
- * @param {Array} trackerNames - (optional) a list of extra trackers to run the command on
666
- */
667
-
668
- function exception(_ref3, trackerNames) {
669
- var description = _ref3.description,
670
- fatal = _ref3.fatal;
671
-
672
- if (typeof ga === 'function') {
673
- // Required Fields
674
- var fieldObject = {
675
- hitType: 'exception'
676
- }; // Optional Fields
677
-
678
- if (description) {
679
- fieldObject.exDescription = _format(description);
680
- }
681
-
682
- if (typeof fatal !== 'undefined') {
683
- if (typeof fatal !== 'boolean') {
684
- warn('`args.fatal` must be a boolean.');
685
- } else {
686
- fieldObject.exFatal = fatal;
687
- }
688
- } // Send to GA
689
-
690
-
691
- send(fieldObject, trackerNames);
692
- }
693
- }
694
- var plugin = {
695
- /**
696
- * require:
697
- * GA requires a plugin
698
- * @param name {String} e.g. 'ecommerce' or 'myplugin'
699
- * @param options {Object} optional e.g {path: '/log', debug: true}
700
- * @param trackerName {String} optional e.g 'trackerName'
701
- */
702
- require: function require(rawName, options, trackerName) {
703
- if (typeof ga === 'function') {
704
- // Required Fields
705
- if (!rawName) {
706
- warn('`name` is required in .require()');
707
- return;
708
- }
709
-
710
- var name = trim(rawName);
711
-
712
- if (name === '') {
713
- warn('`name` cannot be an empty string in .require()');
714
- return;
715
- }
716
-
717
- var requireString = trackerName ? "".concat(trackerName, ".require") : 'require'; // Optional Fields
718
-
719
- if (options) {
720
- if (_typeof$1(options) !== 'object') {
721
- warn('Expected `options` arg to be an Object');
722
- return;
723
- }
724
-
725
- if (Object.keys(options).length === 0) {
726
- warn('Empty `options` given to .require()');
727
- }
728
-
729
- ga(requireString, name, options);
730
-
731
- if (_debug) {
732
- log("called ga('require', '".concat(name, "', ").concat(JSON.stringify(options)));
733
- }
734
- } else {
735
- ga(requireString, name);
736
-
737
- if (_debug) {
738
- log("called ga('require', '".concat(name, "');"));
739
- }
740
- }
741
- }
742
- },
743
-
744
- /**
745
- * execute:
746
- * GA execute action for plugin
747
- * Takes variable number of arguments
748
- * @param pluginName {String} e.g. 'ecommerce' or 'myplugin'
749
- * @param action {String} e.g. 'addItem' or 'myCustomAction'
750
- * @param actionType {String} optional e.g. 'detail'
751
- * @param payload {Object} optional e.g { id: '1x5e', name : 'My product to track' }
752
- */
753
- execute: function execute(pluginName, action) {
754
- var payload;
755
- var actionType;
756
-
757
- for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
758
- args[_key3 - 2] = arguments[_key3];
759
- }
760
-
761
- if (args.length === 1) {
762
- payload = args[0];
763
- } else {
764
- actionType = args[0];
765
- payload = args[1];
766
- }
767
-
768
- if (typeof ga === 'function') {
769
- if (typeof pluginName !== 'string') {
770
- warn('Expected `pluginName` arg to be a String.');
771
- } else if (typeof action !== 'string') {
772
- warn('Expected `action` arg to be a String.');
773
- } else {
774
- var command = "".concat(pluginName, ":").concat(action);
775
- payload = payload || null;
776
-
777
- if (actionType && payload) {
778
- ga(command, actionType, payload);
779
-
780
- if (_debug) {
781
- log("called ga('".concat(command, "');"));
782
- log("actionType: \"".concat(actionType, "\" with payload: ").concat(JSON.stringify(payload)));
783
- }
784
- } else if (payload) {
785
- ga(command, payload);
786
-
787
- if (_debug) {
788
- log("called ga('".concat(command, "');"));
789
- log("with payload: ".concat(JSON.stringify(payload)));
790
- }
791
- } else {
792
- ga(command);
793
-
794
- if (_debug) {
795
- log("called ga('".concat(command, "');"));
796
- }
797
- }
798
- }
799
- }
800
- }
801
- };
802
- /**
803
- * outboundLink:
804
- * GA outboundLink tracking
805
- * @param args.label {String} e.g. url, or 'Create an Account'
806
- * @param {function} hitCallback - Called after processing a hit.
807
- */
808
-
809
- function outboundLink(args, hitCallback, trackerNames) {
810
- if (typeof hitCallback !== 'function') {
811
- warn('hitCallback function is required');
812
- return;
813
- }
814
-
815
- if (typeof ga === 'function') {
816
- // Simple Validation
817
- if (!args || !args.label) {
818
- warn('args.label is required in outboundLink()');
819
- return;
820
- } // Required Fields
821
-
822
-
823
- var fieldObject = {
824
- hitType: 'event',
825
- eventCategory: 'Outbound',
826
- eventAction: 'Click',
827
- eventLabel: _format(args.label)
828
- };
829
- var safetyCallbackCalled = false;
830
-
831
- var safetyCallback = function safetyCallback() {
832
- // This prevents a delayed response from GA
833
- // causing hitCallback from being fired twice
834
- safetyCallbackCalled = true;
835
- hitCallback();
836
- }; // Using a timeout to ensure the execution of critical application code
837
- // in the case when the GA server might be down
838
- // or an ad blocker prevents sending the data
839
- // register safety net timeout:
840
-
841
-
842
- var t = setTimeout(safetyCallback, 250);
843
-
844
- var clearableCallbackForGA = function clearableCallbackForGA() {
845
- clearTimeout(t);
846
-
847
- if (!safetyCallbackCalled) {
848
- hitCallback();
849
- }
850
- };
851
-
852
- fieldObject.hitCallback = clearableCallbackForGA; // Send to GA
853
-
854
- send(fieldObject, trackerNames);
855
- } else {
856
- // if ga is not defined, return the callback so the application
857
- // continues to work as expected
858
- setTimeout(hitCallback, 0);
859
- }
860
- }
861
- var testModeAPI = TestModeAPI;
862
- var core = {
863
- initialize: initialize,
864
- ga: ga,
865
- set: set,
866
- send: send,
867
- pageview: pageview,
868
- modalview: modalview,
869
- timing: timing,
870
- event: event,
871
- exception: exception,
872
- plugin: plugin,
873
- outboundLink: outboundLink,
874
- testModeAPI: TestModeAPI
875
- };
876
-
877
- var Defaults = /*#__PURE__*/Object.freeze({
878
- __proto__: null,
879
- addTrackers: addTrackers,
880
- initialize: initialize,
881
- ga: ga,
882
- set: set,
883
- send: send,
884
- pageview: pageview,
885
- modalview: modalview,
886
- timing: timing,
887
- event: event,
888
- exception: exception,
889
- plugin: plugin,
890
- outboundLink: outboundLink,
891
- testModeAPI: testModeAPI,
892
- 'default': core
893
- });
894
-
895
- function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
896
-
897
- function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$2(Object(source), true).forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
898
-
899
- function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
900
- OutboundLink.origTrackLink = OutboundLink.trackLink;
901
- OutboundLink.trackLink = outboundLink;
902
- var OutboundLink$1 = OutboundLink;
903
- var ReactGA = _objectSpread$2(_objectSpread$2({}, Defaults), {}, {
904
- OutboundLink: OutboundLink$1
905
- });
13
+ import 'prop-types';
906
14
 
907
15
  var _this = undefined;
908
16
 
@@ -969,7 +77,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
969
77
  adsToRefresh = domAds.reduce(function (acc, item) {
970
78
  ads.forEach(function (ad) {
971
79
  if (item.includes(ad)) {
972
- acc = [].concat(_toConsumableArray$1(acc), [item]);
80
+ acc = [].concat(_toConsumableArray(acc), [item]);
973
81
  }
974
82
  });
975
83
  return acc;
@@ -1004,7 +112,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
1004
112
  _refreshADs$mobileAds = refreshADs.mobileAds, mobileAds = _refreshADs$mobileAds === undefined ? ['leaderboard-ad'] : _refreshADs$mobileAds, _refreshADs$desktopAd = refreshADs.desktopAds, desktopAds = _refreshADs$desktopAd === undefined ? [] : _refreshADs$desktopAd;
1005
113
  ads = [];
1006
114
 
1007
- if (!main_36) {
115
+ if (!main_43) {
1008
116
  _context2.next = 8;
1009
117
  break;
1010
118
  }
@@ -1018,7 +126,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
1018
126
  break;
1019
127
 
1020
128
  case 8:
1021
- if (!main_22) {
129
+ if (!main_24) {
1022
130
  _context2.next = 12;
1023
131
  break;
1024
132
  }
@@ -1030,7 +138,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
1030
138
  ads = _context2.sent;
1031
139
 
1032
140
  case 12:
1033
- lib_3.refresh.apply(lib_3, _toConsumableArray$1(ads));
141
+ lib_3.refresh.apply(lib_3, _toConsumableArray(ads));
1034
142
  logEvent('AD Refresh', 'AD');
1035
143
  adRefreshCount++;
1036
144
  console.log('NumOfTimesAd refreshed', adRefreshCount);