@mjhls/mjh-framework 1.0.881-beta.1 → 1.0.881-gtagfixv1

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 (315) 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 +61 -60
  22. package/dist/cjs/ArticleSeriesLandingPage.js +41 -42
  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/DeckContent.js +105 -101
  37. package/dist/cjs/DeckQueue.js +91 -388
  38. package/dist/cjs/{Dfp-14d2455c.js → Dfp-9be904d5.js} +33 -32
  39. package/dist/cjs/EventsDeck.js +157 -150
  40. package/dist/cjs/ExternalResources.js +79 -78
  41. package/dist/cjs/Feature.js +29 -27
  42. package/dist/cjs/ForbesHero.js +41 -40
  43. package/dist/cjs/GridContent.js +236 -231
  44. package/dist/cjs/GridHero.js +43 -42
  45. package/dist/cjs/GroupDeck.js +58 -57
  46. package/dist/cjs/HamMagazine.js +144 -139
  47. package/dist/cjs/Header.js +14 -12
  48. package/dist/cjs/Hero.js +16 -15
  49. package/dist/cjs/HighlightenVideo.js +18 -17
  50. package/dist/cjs/HorizontalArticleListing.js +72 -71
  51. package/dist/cjs/HorizontalHero.js +29 -28
  52. package/dist/cjs/IssueContentDeck.js +76 -71
  53. package/dist/cjs/IssueDeck.js +75 -70
  54. package/dist/cjs/IssueLanding.js +94 -94
  55. package/dist/cjs/KMTracker.js +15 -15
  56. package/dist/cjs/LeftNav.js +39 -37
  57. package/dist/cjs/MasterDeck.js +80 -482
  58. package/dist/cjs/MediaSeriesLanding.js +1238 -1590
  59. package/dist/cjs/NavDvm.js +77 -72
  60. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  61. package/dist/cjs/NavMagazine.js +151 -146
  62. package/dist/cjs/NavNative.js +145 -137
  63. package/dist/cjs/OncliveHero.js +22 -22
  64. package/dist/cjs/OncliveLargeHero.js +71 -70
  65. package/dist/cjs/PageFilter.js +13 -12
  66. package/dist/cjs/PartnerDetailListing.js +304 -1479
  67. package/dist/cjs/PdfDownload.js +10 -9
  68. package/dist/cjs/PopUpModal.js +19 -17
  69. package/dist/cjs/PubSection.js +41 -41
  70. package/dist/cjs/PubToc.js +14 -13
  71. package/dist/cjs/PublicationDeck.js +70 -65
  72. package/dist/cjs/PublicationLanding.js +141 -133
  73. package/dist/cjs/QueueDeckExpanded.js +322 -1654
  74. package/dist/cjs/RecentNews.js +23 -22
  75. package/dist/cjs/RelatedContent.js +58 -57
  76. package/dist/cjs/RelatedTopicsDropdown.js +32 -29
  77. package/dist/cjs/RolesDeck.js +32 -27
  78. package/dist/cjs/Search.js +20 -16
  79. package/dist/cjs/Segment.js +4 -4
  80. package/dist/cjs/SeriesListingDeck.js +36 -36
  81. package/dist/cjs/{SeriesSlider-49b81b0b.js → SeriesSlider-ba0c5d1a.js} +40 -39
  82. package/dist/cjs/SetCookie.js +1 -1
  83. package/dist/cjs/SideFooter.js +37 -36
  84. package/dist/cjs/SocialIcons.js +10 -9
  85. package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-4942ddfc.js} +40 -36
  86. package/dist/cjs/SocialShare.js +31 -29
  87. package/dist/cjs/TaxonomyCard.js +66 -61
  88. package/dist/cjs/TaxonomyDescription.js +54 -53
  89. package/dist/cjs/TemplateNormal.js +73 -72
  90. package/dist/cjs/ThumbnailCard.js +26 -24
  91. package/dist/cjs/Ustream.js +29 -28
  92. package/dist/cjs/VerticalHero.js +20 -19
  93. package/dist/cjs/VideoProgramLandingPage.js +78 -74
  94. package/dist/cjs/VideoSeriesCard.js +33 -32
  95. package/dist/cjs/VideoSeriesFilter.js +16 -16
  96. package/dist/cjs/VideoSeriesLandingPage.js +50 -51
  97. package/dist/cjs/VideoSeriesListing.js +77 -76
  98. package/dist/cjs/View.js +274 -268
  99. package/dist/cjs/YahooHero.js +40 -39
  100. package/dist/cjs/YoutubeGroup.js +68 -67
  101. package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
  102. package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
  103. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  104. package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
  105. package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
  106. package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
  107. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  108. package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
  109. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  110. package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
  111. package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
  112. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  113. package/dist/cjs/{entities-310b46ee.js → entities-df1aed86.js} +5 -1
  114. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  115. package/dist/cjs/{extends-eed4f016.js → extends-7c86182f.js} +7 -7
  116. package/dist/cjs/faundadb.js +19 -19
  117. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  118. package/dist/cjs/getRelatedArticle.js +16 -16
  119. package/dist/cjs/getRootDocGroup.js +6 -6
  120. package/dist/cjs/getSerializers.js +43 -43
  121. package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
  122. package/dist/cjs/getTargeting.js +6 -6
  123. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  124. package/dist/cjs/{index-e2e62963.js → index-50be6759.js} +26 -10
  125. package/dist/cjs/{index-bf60a71c.js → index-6763511d.js} +1070 -1044
  126. package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
  127. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  128. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  129. package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
  130. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  131. package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
  132. package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
  133. package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-c1e16606.js} +4 -7
  134. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
  135. package/dist/cjs/index.js +171 -165
  136. package/dist/cjs/{inherits-cba9c846.js → inherits-de66ea16.js} +19 -19
  137. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  138. package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
  139. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  140. package/dist/cjs/main-f1c77adb.js +973 -0
  141. package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
  142. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  143. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  144. package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
  145. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  146. package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
  147. package/dist/cjs/timeDifferenceCalc.js +1 -1
  148. package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
  149. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  150. package/dist/cjs/typeof-1358762e.js +33 -0
  151. package/dist/cjs/{typeof-5f52cf64.js → typeof-567e31ff.js} +35 -35
  152. package/dist/cjs/urlFor.js +6 -6
  153. package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
  154. package/dist/cjs/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
  155. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  156. package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
  157. package/dist/esm/AD.js +1 -1
  158. package/dist/esm/AD300x250.js +22 -22
  159. package/dist/esm/AD300x250x600.js +22 -22
  160. package/dist/esm/AD728x90.js +25 -25
  161. package/dist/esm/ADFloatingFooter.js +21 -21
  162. package/dist/esm/ADFooter.js +4 -4
  163. package/dist/esm/ADGutter.js +21 -21
  164. package/dist/esm/{ADInfeed-0c13c803.js → ADInfeed-0a55cd2d.js} +6 -6
  165. package/dist/esm/ADSkyscraper.js +21 -21
  166. package/dist/esm/ADSponsoredResources.js +21 -21
  167. package/dist/esm/ADWebcast.js +21 -21
  168. package/dist/esm/ADWelcome.js +18 -18
  169. package/dist/esm/{ADlgInfeed-e4e2031a.js → ADlgInfeed-013e1f4a.js} +4 -4
  170. package/dist/esm/AccordionPanel.js +6 -6
  171. package/dist/esm/AdSlot.js +20 -20
  172. package/dist/esm/AdSlotsProvider.js +14 -906
  173. package/dist/esm/AlgoliaSearch.js +717 -534
  174. package/dist/esm/AlphabeticList.js +8 -8
  175. package/dist/esm/ArticleCarousel.js +13 -13
  176. package/dist/esm/ArticleProgramLandingPage.js +48 -48
  177. package/dist/esm/ArticleSeriesLandingPage.js +30 -32
  178. package/dist/esm/ArticleSeriesListing.js +32 -32
  179. package/dist/esm/Auth.js +591 -1419
  180. package/dist/esm/AuthWrapper.js +1609 -392
  181. package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-11adff02.js} +1 -1
  182. package/dist/esm/Beam.js +6 -6
  183. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-1e73bd2c.js} +34 -34
  184. package/dist/esm/Breadcrumbs.js +5 -5
  185. package/dist/esm/CMEDeck.js +22 -22
  186. package/dist/esm/Column1.js +4 -4
  187. package/dist/esm/Column2.js +19 -19
  188. package/dist/esm/Column3.js +37 -37
  189. package/dist/esm/ConferenceArticleCard.js +25 -25
  190. package/dist/esm/DeckContent.js +55 -55
  191. package/dist/esm/DeckQueue.js +48 -349
  192. package/dist/esm/{Dfp-f867d061.js → Dfp-102f0beb.js} +13 -13
  193. package/dist/esm/EventsDeck.js +67 -67
  194. package/dist/esm/ExternalResources.js +46 -46
  195. package/dist/esm/Feature.js +7 -7
  196. package/dist/esm/ForbesHero.js +10 -10
  197. package/dist/esm/GridContent.js +88 -88
  198. package/dist/esm/GridHero.js +11 -11
  199. package/dist/esm/GroupDeck.js +12 -12
  200. package/dist/esm/HamMagazine.js +37 -37
  201. package/dist/esm/Hero.js +7 -7
  202. package/dist/esm/HighlightenVideo.js +2 -2
  203. package/dist/esm/HorizontalArticleListing.js +46 -46
  204. package/dist/esm/HorizontalHero.js +8 -8
  205. package/dist/esm/IssueContentDeck.js +25 -25
  206. package/dist/esm/IssueDeck.js +35 -35
  207. package/dist/esm/IssueLanding.js +82 -83
  208. package/dist/esm/KMTracker.js +15 -15
  209. package/dist/esm/LeftNav.js +20 -20
  210. package/dist/esm/MasterDeck.js +45 -448
  211. package/dist/esm/MediaSeriesLanding.js +757 -1112
  212. package/dist/esm/NavDvm.js +14 -14
  213. package/dist/esm/NavMagazine.js +42 -42
  214. package/dist/esm/NavNative.js +41 -41
  215. package/dist/esm/OncliveHero.js +7 -8
  216. package/dist/esm/OncliveLargeHero.js +11 -11
  217. package/dist/esm/PageFilter.js +4 -4
  218. package/dist/esm/PartnerDetailListing.js +210 -1386
  219. package/dist/esm/PdfDownload.js +2 -2
  220. package/dist/esm/PopUpModal.js +4 -4
  221. package/dist/esm/PubSection.js +32 -33
  222. package/dist/esm/PubToc.js +6 -6
  223. package/dist/esm/PublicationDeck.js +27 -27
  224. package/dist/esm/PublicationLanding.js +78 -74
  225. package/dist/esm/QueueDeckExpanded.js +64 -1396
  226. package/dist/esm/RecentNews.js +4 -4
  227. package/dist/esm/RelatedContent.js +38 -38
  228. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  229. package/dist/esm/RolesDeck.js +12 -12
  230. package/dist/esm/Search.js +6 -6
  231. package/dist/esm/Segment.js +4 -4
  232. package/dist/esm/SeriesListingDeck.js +18 -18
  233. package/dist/esm/{SeriesSlider-ce19fa25.js → SeriesSlider-45adb8dc.js} +14 -14
  234. package/dist/esm/SetCookie.js +1 -1
  235. package/dist/esm/SideFooter.js +15 -15
  236. package/dist/esm/{SocialSearchComponent-b5be0e6c.js → SocialSearchComponent-8e0fcf66.js} +12 -12
  237. package/dist/esm/TaxonomyCard.js +27 -27
  238. package/dist/esm/TaxonomyDescription.js +44 -44
  239. package/dist/esm/TemplateNormal.js +48 -48
  240. package/dist/esm/ThumbnailCard.js +10 -10
  241. package/dist/esm/Ustream.js +12 -12
  242. package/dist/esm/VerticalHero.js +6 -6
  243. package/dist/esm/VideoProgramLandingPage.js +52 -52
  244. package/dist/esm/VideoSeriesCard.js +14 -14
  245. package/dist/esm/VideoSeriesFilter.js +7 -7
  246. package/dist/esm/VideoSeriesLandingPage.js +36 -38
  247. package/dist/esm/VideoSeriesListing.js +33 -33
  248. package/dist/esm/View.js +95 -93
  249. package/dist/esm/YahooHero.js +13 -13
  250. package/dist/esm/YoutubeGroup.js +21 -21
  251. package/dist/esm/{_is-array-4df618a6.js → _is-array-8d21b9e3.js} +6 -6
  252. package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-98db3b07.js} +7 -7
  253. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  254. package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-7cee6f84.js} +1 -1
  255. package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-2300e51b.js} +2 -2
  256. package/dist/esm/{asyncToGenerator-64812e90.js → asyncToGenerator-5ef104a7.js} +31 -31
  257. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
  258. package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-ea258bb1.js} +36 -36
  259. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  260. package/dist/esm/define-property-5f1bda73.js +18 -0
  261. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  262. package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8c30428f.js} +1 -1
  263. package/dist/esm/{entities-7cc3bf45.js → entities-6d9154b4.js} +5 -1
  264. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  265. package/dist/esm/{extends-5b1796d4.js → extends-6d8e3924.js} +7 -7
  266. package/dist/esm/faundadb.js +5 -5
  267. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  268. package/dist/esm/getRelatedArticle.js +11 -11
  269. package/dist/esm/getRootDocGroup.js +4 -4
  270. package/dist/esm/getSerializers.js +43 -43
  271. package/dist/esm/{getTargeting-277c801e.js → getTargeting-4061f839.js} +11 -11
  272. package/dist/esm/getTargeting.js +6 -6
  273. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
  274. package/dist/esm/{index-e495ac6f.js → index-3ccc6d4b.js} +634 -618
  275. package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
  276. package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
  277. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  278. package/dist/esm/{index-aaa2dae0.js → index-98ca9cec.js} +26 -11
  279. package/dist/esm/{index-41a678ea.js → index-f0fc23eb.js} +4 -4
  280. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  281. package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
  282. package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-9b042655.js} +4 -7
  283. package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
  284. package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
  285. package/dist/esm/index.js +126 -123
  286. package/dist/esm/{inherits-2409637d.js → inherits-a6ba2ec4.js} +18 -18
  287. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  288. package/dist/esm/{keys-69989821.js → keys-31dcdb31.js} +6 -6
  289. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  290. package/dist/esm/main-1894c974.js +961 -0
  291. package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
  292. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  293. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
  294. package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-6ebcbfea.js} +12 -12
  295. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  296. package/dist/esm/stringify-2b084bee.js +15 -0
  297. package/dist/esm/timeDifferenceCalc.js +1 -1
  298. package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-f7074d7c.js} +7 -7
  299. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  300. package/dist/esm/typeof-2f07d0e8.js +30 -0
  301. package/dist/esm/{typeof-c05a82ba.js → typeof-e9fc0c5d.js} +35 -35
  302. package/dist/esm/urlFor.js +4 -4
  303. package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-d3714624.js} +4 -4
  304. package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
  305. package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-ab4dea5c.js} +2 -2
  306. package/package.json +112 -112
  307. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  308. package/dist/cjs/Pagination-f3ef7bc1.js +0 -59
  309. package/dist/cjs/inherits-8d29278d.js +0 -110
  310. package/dist/cjs/main-02daeefe.js +0 -862
  311. package/dist/esm/Pagination-a24855d4.js +0 -54
  312. package/dist/esm/define-property-6d26cb48.js +0 -18
  313. package/dist/esm/inherits-77d5e4fc.js +0 -101
  314. package/dist/esm/main-c0612122.js +0 -851
  315. package/dist/esm/stringify-70b72959.js +0 -15
@@ -1,449 +1,47 @@
1
- import './_commonjsHelpers-0c4b6f40.js';
2
- import './core.get-iterator-method-86d4db69.js';
3
- import './_library-528f1934.js';
4
- import './_iter-detect-130ee549.js';
5
- import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
6
- import './_object-pie-33c40e79.js';
7
- import { _ as _extends } from './extends-5b1796d4.js';
8
- import './_object-sap-8b8ea5a9.js';
9
- import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-2409637d.js';
10
- import './define-property-6d26cb48.js';
11
- import './web.dom.iterable-f8f967cd.js';
12
- import './typeof-c05a82ba.js';
13
- import './_is-array-4df618a6.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
2
+ import { _ as _Promise } from './asyncToGenerator-5ef104a7.js';
3
+ import { _ as _extends } from './extends-6d8e3924.js';
4
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
14
5
  import React__default from 'react';
15
- import './events-6c3a7a63.js';
16
- import { l as lib_3 } from './index-41a678ea.js';
17
- import 'prop-types';
18
- import Container$1 from 'react-bootstrap/Container';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
+ import Container from 'react-bootstrap/Container';
19
8
  import 'react-bootstrap/Row';
20
9
  import 'react-bootstrap/Col';
21
10
  import 'react-bootstrap/Card';
22
- import './moment-e2f9b20c.js';
11
+ import './moment-bc12cb97.js';
23
12
  import { withRouter } from 'next/router';
24
- import './isSymbol-1981418f.js';
25
- import { d as debounce_1 } from './debounce-9207d8ee.js';
26
- import './toNumber-2f7a84cd.js';
27
- import { I as InfiniteScroll } from './index.es-29c1cef5.js';
28
- import 'react-dom';
13
+ import { l as lodash } from './lodash-f97fd99a.js';
14
+ import { d as debounce_1 } from './debounce-533d9748.js';
15
+ import { I as InfiniteScroll } from './index.es-a6137319.js';
29
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
30
- import './slicedToArray-67a08c9c.js';
31
- import './index-73819142.js';
32
- import { m as main_36 } from './main-c0612122.js';
33
- import { _ as _JSON$stringify } from './stringify-70b72959.js';
34
- import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-64812e90.js';
35
- import './Segment.js';
36
- import './Beam.js';
17
+ import './slicedToArray-6ebcbfea.js';
18
+ import './index-3f5c03b2.js';
19
+ import { A as ADlgInfeed } from './ADlgInfeed-013e1f4a.js';
20
+ import { A as ADInfeed } from './ADInfeed-0a55cd2d.js';
21
+ import './main-1894c974.js';
22
+ import './_commonjsHelpers-0c4b6f40.js';
23
+ import './core.get-iterator-method-ea258bb1.js';
24
+ import './_iter-detect-98db3b07.js';
25
+ import './web.dom.iterable-ab4dea5c.js';
26
+ import './_library-528f1934.js';
27
+ import './_object-pie-133f504a.js';
28
+ import './_object-sap-7cee6f84.js';
29
+ import './define-property-5f1bda73.js';
30
+ import './typeof-e9fc0c5d.js';
31
+ import './_is-array-8d21b9e3.js';
32
+ import './events-6c3a7a63.js';
33
+ import 'prop-types';
34
+ import './isSymbol-a7e9aafe.js';
35
+ import './toNumber-5aeba6e7.js';
36
+ import 'react-dom';
37
37
  import './AdSlot.js';
38
- import { A as ADInfeed } from './ADInfeed-0c13c803.js';
39
- import { l as lodash } from './lodash-17fdfebb.js';
40
- import { A as ADlgInfeed } from './ADlgInfeed-e4e2031a.js';
41
- import Spinner$1 from 'react-bootstrap/Spinner';
42
- import { P as Pagination } from './Pagination-a24855d4.js';
38
+ import './Beam.js';
39
+ import './stringify-2b084bee.js';
40
+ import './Segment.js';
43
41
 
44
42
  var MasterDeck = function (_React$Component) {
45
43
  _inherits(MasterDeck, _React$Component);
46
44
 
47
- function MasterDeck() {
48
- var _ref,
49
- _this2 = this;
50
-
51
- var _temp, _this, _ret;
52
-
53
- _classCallCheck(this, MasterDeck);
54
-
55
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
56
- args[_key] = arguments[_key];
57
- }
58
-
59
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = MasterDeck.__proto__ || _Object$getPrototypeOf(MasterDeck)).call.apply(_ref, [this].concat(args))), _this), _this.Deck = _this.props.deck, _this.data = _this.props.dataRecord || [], _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.rightItems = _this.props.rightItems ? _this.props.rightItems : false, _this.isSeriesLanding = _this.props.isSeriesLanding ? _this.props.isSeriesLanding : false, _this.state = {
60
- isDataLoading: false,
61
- data: _this.data,
62
- prevData: _this.data,
63
- currentPage: _this.props.currentPage || 1,
64
- dataRemapped: !_this.props.showBI || !_this.props.brandInsightAd,
65
- itemsPerPage: _this.props.params ? _this.props.params.to - _this.props.params.from : 2,
66
- mobileView: false
67
- }, _this.seoPagination = function (pageNumber) {
68
- var _this$props = _this.props,
69
- pageview = _this$props.pageview,
70
- router = _this$props.router;
71
-
72
- var path = router.asPath;
73
- var qrIndex = path.indexOf('?');
74
- var pathname = router.pathname;
75
- var queryString = '';
76
-
77
- if (qrIndex > 0) {
78
- path = path.substring(1, qrIndex);
79
-
80
- var partialQS = router.asPath.substring(qrIndex + 1);
81
- var partialQSArr = partialQS.split('&');
82
-
83
- // exclude page=xxx from query string
84
- partialQSArr.map(function (item) {
85
- var itemArr = item.split('=');
86
- var key = itemArr[0];
87
- var val = itemArr[1];
88
-
89
- if (key !== 'page') {
90
- queryString += (queryString.length === 0 ? '' : '&') + key + '=' + val;
91
- }
92
- });
93
- }
94
-
95
- if (queryString.length > 0) {
96
- path += '?' + queryString;
97
- }
98
-
99
- pageNumber = parseInt(pageNumber);
100
-
101
- if (path[0] !== '/') {
102
- path = '/' + path;
103
- }
104
- var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
105
- if (window.location.href.includes('?')) {
106
- if (window.location.href.includes('?page')) {
107
- newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
108
- } else {
109
- newPath = pageNumber === 1 ? '' + path : path + '&page=' + pageNumber;
110
- }
111
- }
112
-
113
- // please leave this for later debug purpose : Yong Jun.
114
- /* console.log('page change reported', {
115
- currentPage: currentPage,
116
- pageNumber: pageNumber,
117
- pathname: pathname,
118
- path: path,
119
- newPath: newPath,
120
- firstPage: pageNumber === 1,
121
- queryString: queryString
122
- }) */
123
-
124
- if (pageview) {
125
- pageview(newPath);
126
- }
127
-
128
- router.push(pathname, newPath, {
129
- shallow: true
130
- });
131
- }, _this.cardLoader = function (_ref2) {
132
- var variant = _ref2.variant,
133
- brandInsightAd = _ref2.brandInsightAd,
134
- showBI = _ref2.showBI,
135
- lgInfeedAd = _ref2.lgInfeedAd;
136
-
137
- var numberOfItemsBeforeAd = 6;
138
- var data = _this.state.data;
139
- var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
140
- return [].concat(_toConsumableArray(arr.slice(0, index)), [newElement], _toConsumableArray(arr.slice(index)));
141
- };
142
- // Need to pass flag "lgInfeedAd={true}" along with brandInsightAd from site level for large infeed-ad to render
143
- // Checking lgInfeedAd flag in desktop view ( window >= 1400px ).
144
- // Integrating large infeed AD
145
- if (lgInfeedAd && brandInsightAd && typeof window !== 'undefined' && window.innerWidth >= 1400) {
146
- var lgInfeed = {
147
- _type: 'lg-infeed',
148
- adUnit: brandInsightAd.adUnit,
149
- className: 'lg-infeed',
150
- networkID: brandInsightAd.networkID,
151
- sizes: [728, 90],
152
- sizeMapping: [{
153
- viewport: [1400, 0],
154
- sizes: [[728, 90]]
155
- }, { viewport: [0, 0], sizes: [] }],
156
- targeting: {
157
- content_placement: brandInsightAd.targeting.content_placement,
158
- document_url: brandInsightAd.targeting.document_url,
159
- rootDocumentGroup: brandInsightAd.targeting.rootDocumentGroup
160
- },
161
- /* Passing refresh flag */
162
- refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
163
- };
164
-
165
- var chunks = lodash.chunk(data, 6).map(function (chunk) {
166
- var set = lodash.chunk(chunk, 2);
167
- for (var i = 0; i < set.length; i++) {
168
- if (i !== set.length - 1) {
169
- set[i].push(lgInfeed);
170
- }
171
- }
172
- return lodash.flattenDeep(set);
173
- });
174
- data = lodash.flatten(chunks);
175
- !_this.state.dataRemapped && _this.setState({ dataRemapped: true }); // To detect if appending of insights ads are completed
176
- }
177
-
178
- // Integrating infeed AD
179
- if (showBI && brandInsightAd) {
180
- // Checking lgInfeedAd flag in desktop view ( window >= 1400px ).
181
- if (lgInfeedAd && typeof window !== 'undefined' && window.innerWidth >= 1400) brandInsightAd.interval = 8;
182
- var pos = 0;
183
- for (var i = 1; pos < data.length; i++) {
184
- var inFeedAd = {
185
- adUnit: brandInsightAd.adUnit,
186
- className: brandInsightAd.className,
187
- networkID: brandInsightAd.networkID,
188
- sizes: brandInsightAd.sizes,
189
- slotId: brandInsightAd.slotId + '_' + i,
190
- targeting: {
191
- pos: 'infeed',
192
- content_placement: brandInsightAd.targeting.content_placement,
193
- document_url: brandInsightAd.targeting.document_url,
194
- rootDocumentGroup: brandInsightAd.targeting.rootDocumentGroup
195
- },
196
- _type: 'brandInsightAd',
197
- /* Passing refresh flag */
198
- refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
199
- };
200
-
201
- data = insertBrandInsightAd(data, pos, inFeedAd);
202
- pos += brandInsightAd.interval + 1;
203
- }
204
- }
205
-
206
- // 'index' was including the indexes for infeed ads along with article count making the page number change before it reaches last article.
207
- data = data.map(function (ele, i) {
208
- if (ele._type === 'lg-infeed') {
209
- // Setting pos as top2 for the first occurence of large infeed ad
210
- // const pos = data.indexOf(data.find((d) => d._type === 'lg-infeed')) === i ? 'top2' : `lg-infeed_${i}`
211
- return _extends({}, ele, { slotId: 'lg-infeed_' + i, targeting: _extends({}, ele.targeting, { pos: 'lg-infeed' }) });
212
- } else {
213
- return ele;
214
- }
215
- });
216
-
217
- return React__default.createElement(
218
- 'div',
219
- null,
220
- data && _this.state.dataRemapped && data.length > 0 ? // If JS enabled and Data remapped with ads
221
- data.map(function (row, index) {
222
- if (row._type === 'lg-infeed' && row.adUnit) {
223
- return React__default.createElement(ADlgInfeed, _extends({ index: index }, row));
224
- // Returning view for infeed Ad
225
- } else if (row._type === 'brandInsightAd' && row.adUnit) {
226
- return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
227
- } else if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
228
- // Returning view for articles
229
- return React__default.createElement(
230
- React__default.Fragment,
231
- { key: index },
232
- React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding }),
233
- _this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
234
- 'div',
235
- { className: 'ad-container', style: { margin: '0 auto' } },
236
- _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
237
- )
238
- );
239
- } else {
240
- return null;
241
- }
242
- }) : data && data.length > 0 ? // For Javascript Disabled Cases. data is not remapped if JS is disabled.
243
- data.map(function (row, index) {
244
- if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
245
- return React__default.createElement(
246
- React__default.Fragment,
247
- { key: index },
248
- React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding })
249
- );
250
- }
251
- }) : React__default.createElement(
252
- 'div',
253
- null,
254
- React__default.createElement(
255
- 'em',
256
- null,
257
- 'New content coming soon, please check back later.'
258
- )
259
- )
260
- );
261
- }, _this.renderMobileAd = function (index, numberOfItemsBeforeAd, rightItems) {
262
- var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
263
- return React__default.createElement(
264
- 'div',
265
- { className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
266
- rightItems[i].component
267
- );
268
- }, _this.handlePageChange = function () {
269
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(selectedPage) {
270
- var itemsPerPage, _this$props2, query, params, client, dataHandler, seoPaginate, start, newParams, dataHandlerPromise, newData;
271
-
272
- return regenerator.wrap(function _callee$(_context) {
273
- while (1) {
274
- switch (_context.prev = _context.next) {
275
- case 0:
276
- itemsPerPage = _this.state.itemsPerPage;
277
- _this$props2 = _this.props, query = _this$props2.query, params = _this$props2.params, client = _this$props2.client, dataHandler = _this$props2.dataHandler, seoPaginate = _this$props2.seoPaginate;
278
-
279
- _this.setState({ isDataLoading: true, currentPage: selectedPage });
280
- seoPaginate && _this.seoPagination(selectedPage);
281
- lib_3.refresh();
282
- document.body.scrollTop = 0;
283
- document.documentElement.scrollTop = 0;
284
- start = (selectedPage - 1) * itemsPerPage;
285
- newParams = _extends({}, params, {
286
- from: start,
287
- to: start + itemsPerPage
288
- });
289
- dataHandlerPromise = null;
290
-
291
- if (dataHandler) {
292
- dataHandlerPromise = new _Promise(function (resolve, reject) {
293
- try {
294
- var result = dataHandler(newParams);
295
- resolve(result);
296
- } catch (e) {
297
- reject(e);
298
- }
299
- });
300
- }
301
-
302
- _context.prev = 11;
303
-
304
- if (!dataHandlerPromise) {
305
- _context.next = 18;
306
- break;
307
- }
308
-
309
- _context.next = 15;
310
- return dataHandlerPromise;
311
-
312
- case 15:
313
- _context.t0 = _context.sent;
314
- _context.next = 21;
315
- break;
316
-
317
- case 18:
318
- _context.next = 20;
319
- return client.fetch(query, newParams);
320
-
321
- case 20:
322
- _context.t0 = _context.sent;
323
-
324
- case 21:
325
- newData = _context.t0;
326
-
327
- if (_this.pointer && _this.pointerArray) newData = newData[_this.pointerArray][_this.pointer];
328
- if (newData && newData.length > 0) {
329
- _this.setState({ isDataLoading: false, data: newData });
330
- }
331
- _context.next = 29;
332
- break;
333
-
334
- case 26:
335
- _context.prev = 26;
336
- _context.t1 = _context['catch'](11);
337
-
338
- console.error(_context.t1);
339
-
340
- case 29:
341
- case 'end':
342
- return _context.stop();
343
- }
344
- }
345
- }, _callee, _this2, [[11, 26]]);
346
- }));
347
-
348
- return function (_x) {
349
- return _ref3.apply(this, arguments);
350
- };
351
- }(), _temp), _possibleConstructorReturn(_this, _ret);
352
- }
353
-
354
- _createClass(MasterDeck, [{
355
- key: 'componentDidUpdate',
356
- value: function componentDidUpdate(prevProps, prevState) {
357
- if (_JSON$stringify(prevState.prevData) !== _JSON$stringify(this.state.prevData)) {
358
- this.seoPagination(this.state.currentPage);
359
- }
360
- // set dataRemap to true as there are no infeed or BI ads or window width is less than limit
361
- if (typeof window !== 'undefined' && (!this.props.lgInfeedAd || !this.props.brandInsightAd || window.innerWidth < 1400) && !this.state.dataRemapped) {
362
- !this.state.dataRemapped && this.setState({ dataRemapped: true });
363
- }
364
- if (typeof window !== 'undefined' && window.innerWidth <= 1191) {
365
- !this.state.mobileView && this.setState({ mobileView: true });
366
- }
367
- }
368
- }, {
369
- key: 'render',
370
- value: function render() {
371
- // Setting default value for 'showBI' and 'lgInfeedAd'
372
- var _props = this.props,
373
- variant = _props.variant,
374
- brandInsightAd = _props.brandInsightAd,
375
- _props$showBI = _props.showBI,
376
- showBI = _props$showBI === undefined ? false : _props$showBI,
377
- _props$lgInfeedAd = _props.lgInfeedAd,
378
- lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd,
379
- totalDataCount = _props.totalDataCount;
380
- var _state = this.state,
381
- data = _state.data,
382
- itemsPerPage = _state.itemsPerPage,
383
- currentPage = _state.currentPage,
384
- isDataLoading = _state.isDataLoading;
385
-
386
- return React__default.createElement(
387
- 'div',
388
- { className: 'contentDeck' },
389
- isDataLoading ? React__default.createElement(
390
- 'div',
391
- { className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
392
- React__default.createElement(
393
- Spinner$1,
394
- { animation: 'border', role: 'status' },
395
- React__default.createElement(
396
- 'span',
397
- { className: 'sr-only' },
398
- 'Loading...'
399
- )
400
- )
401
- ) : data && data.length > 0 ? React__default.createElement(
402
- Container$1,
403
- null,
404
- this.cardLoader({ variant: variant, brandInsightAd: brandInsightAd, showBI: showBI, lgInfeedAd: lgInfeedAd }),
405
- React__default.createElement(
406
- 'div',
407
- { className: 'pagination-wrapper' },
408
- React__default.createElement(Pagination, {
409
- pageCount: Math.ceil(totalDataCount / itemsPerPage),
410
- pageRangeDisplayed: main_36 ? 3 : 9,
411
- currentPage: currentPage,
412
- onPageChange: this.handlePageChange
413
- }),
414
- React__default.createElement(
415
- 'style',
416
- { jsx: 'true' },
417
- '\n .pagination-wrapper {\n margin: 3rem 0;\n }\n @media only screen and (max-width: 768px) {\n .pagination-wrapper {\n margin-bottom: 6rem;\n }\n }\n '
418
- )
419
- )
420
- ) : null
421
- );
422
- }
423
- }], [{
424
- key: 'getDerivedStateFromProps',
425
- value: function getDerivedStateFromProps(props, state) {
426
- if (_JSON$stringify(props.dataRecord) !== _JSON$stringify(state.prevData)) {
427
- return {
428
- data: props.dataRecord,
429
- prevData: props.dataRecord,
430
- currentPage: props.currentPage
431
- };
432
- }
433
- return null;
434
- }
435
- // Passing 'brandInsightAd','showBI' and 'lgInfeedAd'
436
-
437
- }]);
438
-
439
- return MasterDeck;
440
- }(React__default.Component);
441
-
442
- var MasterDeckPaginated = withRouter(MasterDeck);
443
-
444
- var MasterDeck$1 = function (_React$Component) {
445
- _inherits(MasterDeck, _React$Component);
446
-
447
45
  function MasterDeck() {
448
46
  var _ref,
449
47
  _this2 = this;
@@ -625,14 +223,14 @@ var MasterDeck$1 = function (_React$Component) {
625
223
  }
626
224
 
627
225
  // please leave this for later debug purpose : Yong Jun.
628
- /* console.log('page change reported', {
629
- currentPage: currentPage,
630
- pageNumber: pageNumber,
631
- pathname: pathname,
632
- path: path,
633
- newPath: newPath,
634
- firstPage: pageNumber === 1,
635
- queryString: queryString
226
+ /* console.log('page change reported', {
227
+ currentPage: currentPage,
228
+ pageNumber: pageNumber,
229
+ pathname: pathname,
230
+ path: path,
231
+ newPath: newPath,
232
+ firstPage: pageNumber === 1,
233
+ queryString: queryString
636
234
  }) */
637
235
 
638
236
  if (pageview) {
@@ -869,7 +467,6 @@ var MasterDeck$1 = function (_React$Component) {
869
467
  value: function render() {
870
468
  var _this3 = this;
871
469
 
872
- if (this.props.totalDataCount) return React__default.createElement(MasterDeckPaginated, this.props);
873
470
  // Setting default value for 'showBI' and 'lgInfeedAd'
874
471
  var _props = this.props,
875
472
  columns = _props.columns,
@@ -892,7 +489,7 @@ var MasterDeck$1 = function (_React$Component) {
892
489
  InfiniteScroll,
893
490
  { dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
894
491
  React__default.createElement(
895
- Container$1,
492
+ Container,
896
493
  null,
897
494
  this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
898
495
  )
@@ -906,7 +503,7 @@ var MasterDeck$1 = function (_React$Component) {
906
503
  React__default.Fragment,
907
504
  null,
908
505
  React__default.createElement(
909
- Container$1,
506
+ Container,
910
507
  null,
911
508
  this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
912
509
  ),
@@ -946,6 +543,6 @@ var MasterDeck$1 = function (_React$Component) {
946
543
  return MasterDeck;
947
544
  }(React__default.Component);
948
545
 
949
- var MasterDeck$2 = withRouter(MasterDeck$1);
546
+ var MasterDeck$1 = withRouter(MasterDeck);
950
547
 
951
- export default MasterDeck$2;
548
+ export default MasterDeck$1;