@mjhls/mjh-framework 1.0.1005-ce-test-v3 → 1.0.1005-next12
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.
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -22
- package/dist/cjs/AD300x250x600.js +21 -22
- package/dist/cjs/AD728x90.js +24 -25
- package/dist/cjs/ADFloatingFooter.js +20 -21
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -21
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-08a6ef56.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -21
- package/dist/cjs/ADSponsoredResources.js +20 -21
- package/dist/cjs/ADWebcast.js +20 -21
- package/dist/cjs/ADWelcome.js +17 -18
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-f46139b2.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -20
- package/dist/cjs/AdSlotsProvider.js +11 -12
- package/dist/cjs/AlgoliaSearch.js +31 -14300
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +52 -52
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -30
- package/dist/cjs/ArticleSeriesListing.js +30 -31
- package/dist/cjs/Auth.js +355 -494
- package/dist/cjs/AuthWrapper.js +13 -1772
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -27
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -31
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +13 -14
- package/dist/cjs/EventsDeck.js +54 -27
- package/dist/cjs/ExternalResources.js +48 -48
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -46
- package/dist/cjs/GridContentPaginated.js +47 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +28 -28
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HealthCareProfessionalModal.js +2 -2
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +50 -50
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +58 -58
- package/dist/cjs/LeftNav.js +21 -22
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -33
- package/dist/cjs/{MediaSeriesCard-594c5edf.js → MediaSeriesCard-a6e3f32e.js} +5 -5
- package/dist/cjs/MediaSeriesLanding.js +54 -55
- package/dist/cjs/MediaSeriesLandingPaginated.js +60 -60
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +31 -31
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/Pagination-7624a3bd.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +64 -65
- package/dist/cjs/PartnerDetailListingPaginated.js +64 -64
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PixelTracking.js +7 -7
- package/dist/cjs/PodcastsLanding.js +63 -63
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PtceDeck.js +10 -10
- package/dist/cjs/PubSection.js +32 -33
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +27 -31
- package/dist/cjs/QueueDeckExpanded.js +35 -36
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-08699353.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +11 -11
- package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-59192efd.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +48 -48
- package/dist/cjs/TemplateNormal.js +44 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-7be5df78.js} +804 -1029
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +54 -54
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -36
- package/dist/cjs/VideoSeriesListing.js +30 -31
- package/dist/cjs/View.js +120 -123
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{entities-df1aed86.js → entities-310b46ee.js} +1 -5
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getPtceActivities.js +4 -4
- package/dist/cjs/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +48 -48
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-5eabd6e2.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-144b90c4.js → index-b278e08f.js} +167 -429
- package/dist/cjs/{index-d48b231c.js → index-b5eb3ff8.js} +6 -11
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-1461604c.js → index.esm-f4cf6943.js} +2 -2
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +146 -148
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +5 -5
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +8 -8
- package/dist/esm/AD300x250.js +25 -26
- package/dist/esm/AD300x250x600.js +25 -26
- package/dist/esm/AD728x90.js +28 -29
- package/dist/esm/ADFloatingFooter.js +27 -28
- package/dist/esm/ADFooter.js +10 -10
- package/dist/esm/ADGutter.js +27 -28
- package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-36973a76.js} +9 -9
- package/dist/esm/ADSkyscraper.js +27 -28
- package/dist/esm/ADSponsoredResources.js +27 -28
- package/dist/esm/ADWebcast.js +27 -28
- package/dist/esm/ADWelcome.js +28 -29
- package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-f6e898d5.js} +8 -8
- package/dist/esm/AccordionPanel.js +23 -23
- package/dist/esm/AdSlot.js +23 -24
- package/dist/esm/AdSlotsProvider.js +13 -14
- package/dist/esm/AlgoliaSearch.js +56 -14325
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +59 -59
- package/dist/esm/ArticleSeriesLandingPage.js +36 -37
- package/dist/esm/ArticleSeriesListing.js +55 -56
- package/dist/esm/Auth.js +427 -565
- package/dist/esm/AuthWrapper.js +27 -1787
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-b0a47123.js} +11 -11
- package/dist/esm/Beam.js +7 -7
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +16 -16
- package/dist/esm/CMEDeck.js +78 -83
- package/dist/esm/Column1.js +7 -6
- package/dist/esm/Column2.js +25 -24
- package/dist/esm/Column3.js +50 -50
- package/dist/esm/ConferenceArticleCard.js +24 -24
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +73 -73
- package/dist/esm/DeckContent.js +77 -78
- package/dist/esm/DeckQueue.js +71 -72
- package/dist/esm/DeckQueuePaginated.js +64 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-e151d2de.js} +21 -22
- package/dist/esm/EventsDeck.js +114 -87
- package/dist/esm/ExternalResources.js +76 -76
- package/dist/esm/Feature.js +22 -22
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +146 -147
- package/dist/esm/GridContentPaginated.js +135 -135
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +106 -105
- package/dist/esm/Header.js +10 -9
- package/dist/esm/HealthCareProfessionalModal.js +13 -13
- package/dist/esm/Hero.js +14 -14
- package/dist/esm/HighlightenVideo.js +15 -15
- package/dist/esm/HorizontalArticleListing.js +73 -73
- package/dist/esm/HorizontalHero.js +27 -27
- package/dist/esm/ImageSlider-5ae6287a.js +1375 -0
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +67 -67
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +64 -65
- package/dist/esm/MasterDeckPaginated.js +56 -56
- package/dist/esm/{MediaSeriesCard-f56c8274.js → MediaSeriesCard-66045ffb.js} +19 -19
- package/dist/esm/MediaSeriesLanding.js +80 -81
- package/dist/esm/MediaSeriesLandingPaginated.js +84 -84
- package/dist/esm/NavDvm.js +57 -56
- package/dist/esm/{NavFooter-3272e9cd.js → NavFooter-da30eae3.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -113
- package/dist/esm/NavNative.js +104 -103
- package/dist/esm/OncliveHero.js +20 -20
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +11 -11
- package/dist/esm/Pagination-1e09918f.js +82 -0
- package/dist/esm/PartnerDetailListing.js +100 -101
- package/dist/esm/PartnerDetailListingPaginated.js +99 -99
- package/dist/esm/PdfDownload.js +8 -8
- package/dist/esm/PixelTracking.js +16 -16
- package/dist/esm/PodcastsLanding.js +75 -75
- package/dist/esm/PopUpModal.js +13 -13
- package/dist/esm/PtceDeck.js +24 -24
- package/dist/esm/PubSection.js +38 -39
- package/dist/esm/PubToc.js +11 -11
- package/dist/esm/PublicationDeck.js +43 -43
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-0379cc20.js} +23 -23
- package/dist/esm/PublicationLanding.js +75 -79
- package/dist/esm/QueueDeckExpanded.js +274 -275
- package/dist/esm/QueueDeckExpandedPaginated.js +254 -254
- package/dist/esm/RecentNews.js +21 -21
- package/dist/esm/RelatedContent.js +24 -24
- package/dist/esm/RelatedTopicsDropdown.js +12 -12
- package/dist/esm/RolesDeck.js +14 -14
- package/dist/esm/Schema.js +13 -13
- package/dist/esm/Search.js +11 -11
- package/dist/esm/Segment.js +5 -5
- package/dist/esm/SeriesListingDeck.js +31 -32
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-b364d074.js} +31 -31
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +8 -8
- package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-09b55779.js} +33 -33
- package/dist/esm/SocialShare.js +26 -26
- package/dist/esm/TaxonomyCard.js +45 -45
- package/dist/esm/TaxonomyDescription.js +53 -53
- package/dist/esm/TemplateNormal.js +65 -66
- package/dist/esm/ThumbnailCard.js +18 -18
- package/dist/esm/{Tooltip-95655b44.js → Tooltip-af3e4ee9.js} +792 -1017
- package/dist/esm/Ustream.js +30 -30
- package/dist/esm/VerticalHero.js +18 -18
- package/dist/esm/VideoProgramLandingPage.js +67 -67
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +14 -14
- package/dist/esm/VideoSeriesLandingPage.js +41 -42
- package/dist/esm/VideoSeriesListing.js +71 -72
- package/dist/esm/View.js +327 -331
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +49 -49
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-31d40a83.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-72edfd60.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-4201ccf6.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-fa0feeff.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-9c835201.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-8c71f470.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-a8a00786.js +18 -0
- package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-7fbbe94e.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getPtceActivities.js +4 -4
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +70 -134
- package/dist/esm/getRootDocGroup.js +5 -5
- package/dist/esm/getSerializers.js +48 -48
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-eed01f73.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-1819118a.js} +490 -44
- package/dist/esm/{index-5d8b0a9d.js → index-3a7c5bbe.js} +581 -844
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-07c37a92.js → index.esm-9d701385.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +172 -174
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-d26c739e.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/keys-5e9bd229.js +23 -0
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-99bcfd93.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-0c65d837.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +2 -2
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-47a5394a.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-d92ed6e0.js} +34 -34
- package/dist/esm/urlFor.js +5 -5
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-0fc42ed8.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-cbba615a.js} +5 -5
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-406140e0.js} +2 -2
- package/package.json +1 -2
- package/dist/cjs/CEDeckSupabase.js +0 -450
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- package/dist/cjs/Pagination-2a3d0103.js +0 -97
- package/dist/cjs/defineProperty-9673846a.js +0 -34
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/getTIData.js +0 -92
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/CEDeckSupabase.js +0 -444
- package/dist/esm/ImageSlider-f84174cb.js +0 -2804
- package/dist/esm/Pagination-dc30727b.js +0 -90
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/defineProperty-8c30428f.js +0 -32
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/getTIData.js +0 -90
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/keys-31dcdb31.js +0 -23
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
package/dist/esm/LeftNav.js
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import React__default, { useRef, useEffect } from 'react';
|
|
2
|
-
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
|
-
import ADWebcast from './ADWebcast.js';
|
|
4
|
-
import Segment from './Segment.js';
|
|
5
|
-
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
6
|
-
import './slicedToArray-6ebcbfea.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
2
|
+
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-72edfd60.js';
|
|
5
|
+
import './_object-pie-33c40e79.js';
|
|
6
|
+
import './extends-7fbbe94e.js';
|
|
7
|
+
import './web.dom.iterable-406140e0.js';
|
|
8
|
+
import React, { useRef, useEffect } from 'react';
|
|
9
|
+
import './index-1819118a.js';
|
|
13
10
|
import 'prop-types';
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
11
|
+
import './isSymbol-1981418f.js';
|
|
12
|
+
import './debounce-9207d8ee.js';
|
|
13
|
+
import './toNumber-2f7a84cd.js';
|
|
14
|
+
import './slicedToArray-99bcfd93.js';
|
|
15
|
+
import './main-43ca42fe.js';
|
|
16
|
+
import './stringify-0c65d837.js';
|
|
17
|
+
import './asyncToGenerator-9c835201.js';
|
|
18
|
+
import Segment from './Segment.js';
|
|
19
19
|
import './Beam.js';
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import '
|
|
23
|
-
import './
|
|
24
|
-
import './main-1894c974.js';
|
|
20
|
+
import './AdSlot.js';
|
|
21
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
22
|
+
import ListGroup from 'react-bootstrap/ListGroup';
|
|
23
|
+
import ADWebcast from './ADWebcast.js';
|
|
25
24
|
|
|
26
25
|
var LeftNav = function LeftNav(props) {
|
|
27
26
|
var leftItems = props.leftItems,
|
|
@@ -65,7 +64,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
65
64
|
|
|
66
65
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
67
66
|
if (checkUrlIsExternal(subRow.url)) {
|
|
68
|
-
return
|
|
67
|
+
return React.createElement(
|
|
69
68
|
'a',
|
|
70
69
|
{
|
|
71
70
|
target: subRow.blank ? '_blank' : '_self',
|
|
@@ -76,7 +75,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
76
75
|
);
|
|
77
76
|
}
|
|
78
77
|
|
|
79
|
-
return
|
|
78
|
+
return React.createElement(
|
|
80
79
|
'a',
|
|
81
80
|
{
|
|
82
81
|
href: subRow.url || '#',
|
|
@@ -87,7 +86,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
87
86
|
);
|
|
88
87
|
};
|
|
89
88
|
|
|
90
|
-
return
|
|
89
|
+
return React.createElement(
|
|
91
90
|
'section',
|
|
92
91
|
{ ref: leftNavRef },
|
|
93
92
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -95,27 +94,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
95
94
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
96
95
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
97
96
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
98
|
-
return
|
|
97
|
+
return React.createElement(
|
|
99
98
|
'div',
|
|
100
99
|
{ key: index },
|
|
101
|
-
|
|
100
|
+
React.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
102
101
|
);
|
|
103
102
|
} else {
|
|
104
|
-
return
|
|
103
|
+
return React.createElement(
|
|
105
104
|
'nav',
|
|
106
105
|
{ key: index, 'aria-label': 'Secondary' },
|
|
107
|
-
|
|
106
|
+
React.createElement(
|
|
108
107
|
'div',
|
|
109
108
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
110
|
-
|
|
109
|
+
React.createElement(
|
|
111
110
|
'span',
|
|
112
111
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
113
112
|
row.name
|
|
114
113
|
),
|
|
115
|
-
row.url && SeeAll &&
|
|
114
|
+
row.url && SeeAll && React.createElement(
|
|
116
115
|
'span',
|
|
117
116
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
118
|
-
|
|
117
|
+
React.createElement(
|
|
119
118
|
'a',
|
|
120
119
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url, rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
121
120
|
'See All ',
|
|
@@ -123,11 +122,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
123
122
|
)
|
|
124
123
|
)
|
|
125
124
|
),
|
|
126
|
-
|
|
125
|
+
React.createElement(
|
|
127
126
|
'ul',
|
|
128
127
|
{ style: sideNavStyles },
|
|
129
128
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
130
|
-
return
|
|
129
|
+
return React.createElement(
|
|
131
130
|
ListGroup.Item,
|
|
132
131
|
{ as: 'li', key: subIndex + '_2' },
|
|
133
132
|
renderListGroupItem(subRow)
|
|
@@ -140,6 +139,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
140
139
|
);
|
|
141
140
|
};
|
|
142
141
|
|
|
143
|
-
var LeftNav$1 =
|
|
142
|
+
var LeftNav$1 = React.memo(LeftNav);
|
|
144
143
|
|
|
145
|
-
export
|
|
144
|
+
export default LeftNav$1;
|
|
145
|
+
export { LeftNav };
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -1,43 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-72edfd60.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-47a5394a.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
8
|
+
import './_object-sap-4201ccf6.js';
|
|
9
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d26c739e.js';
|
|
10
|
+
import './define-property-a8a00786.js';
|
|
11
|
+
import './web.dom.iterable-406140e0.js';
|
|
12
|
+
import './typeof-d92ed6e0.js';
|
|
13
|
+
import './_is-array-31d40a83.js';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
16
|
+
import 'prop-types';
|
|
7
17
|
import Container from 'react-bootstrap/Container';
|
|
8
18
|
import 'react-bootstrap/Row';
|
|
9
19
|
import 'react-bootstrap/Col';
|
|
10
20
|
import 'react-bootstrap/Card';
|
|
11
|
-
import './moment-
|
|
21
|
+
import './moment-b6f49411.js';
|
|
12
22
|
import { withRouter } from 'next/router';
|
|
13
|
-
import
|
|
14
|
-
import { d as debounce_1 } from './debounce-
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import './slicedToArray-6ebcbfea.js';
|
|
18
|
-
import './index-3f5c03b2.js';
|
|
19
|
-
import { A as ADlgInfeed } from './ADlgInfeed-5e36f317.js';
|
|
20
|
-
import { A as ADInfeed } from './ADInfeed-5765a73a.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';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
36
27
|
import 'react-dom';
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
28
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
+
import './slicedToArray-99bcfd93.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import './main-43ca42fe.js';
|
|
32
|
+
import './stringify-0c65d837.js';
|
|
33
|
+
import { a as _Promise } from './asyncToGenerator-9c835201.js';
|
|
40
34
|
import './Segment.js';
|
|
35
|
+
import './Beam.js';
|
|
36
|
+
import './AdSlot.js';
|
|
37
|
+
import { A as ADInfeed } from './ADInfeed-36973a76.js';
|
|
38
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
39
|
+
import { A as ADlgInfeed } from './ADlgInfeed-f6e898d5.js';
|
|
41
40
|
|
|
42
41
|
var MasterDeck = function (_React$Component) {
|
|
43
42
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -326,7 +325,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
326
325
|
}
|
|
327
326
|
});
|
|
328
327
|
|
|
329
|
-
return
|
|
328
|
+
return React.createElement(
|
|
330
329
|
'div',
|
|
331
330
|
null,
|
|
332
331
|
data && _this.state.dataRemapped && data.length > 0 ? // If JS enabled and Data remapped with ads
|
|
@@ -334,24 +333,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
334
333
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
335
334
|
|
|
336
335
|
if (row._type === 'lg-infeed' && row.adUnit) {
|
|
337
|
-
return
|
|
336
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
338
337
|
// Returning view for infeed Ad
|
|
339
338
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
340
|
-
return
|
|
339
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
341
340
|
} else if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
342
341
|
// Returning view for articles
|
|
343
|
-
return
|
|
342
|
+
return React.createElement(
|
|
344
343
|
VisibilitySensor,
|
|
345
344
|
{
|
|
346
345
|
key: row._id ? row._id : index,
|
|
347
346
|
onChange: function onChange(isVisible) {
|
|
348
347
|
isVisible && _this.changePageNumber(pageNumber);
|
|
349
348
|
} },
|
|
350
|
-
|
|
351
|
-
|
|
349
|
+
React.createElement(
|
|
350
|
+
React.Fragment,
|
|
352
351
|
{ key: index },
|
|
353
|
-
|
|
354
|
-
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
352
|
+
React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding }),
|
|
353
|
+
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
|
|
355
354
|
'div',
|
|
356
355
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
357
356
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -365,24 +364,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
365
364
|
data.map(function (row, index) {
|
|
366
365
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
367
366
|
if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
368
|
-
return
|
|
367
|
+
return React.createElement(
|
|
369
368
|
VisibilitySensor,
|
|
370
369
|
{
|
|
371
370
|
key: row._id ? row._id : index,
|
|
372
371
|
onChange: function onChange(isVisible) {
|
|
373
372
|
isVisible && _this.changePageNumber(pageNumber);
|
|
374
373
|
} },
|
|
375
|
-
|
|
376
|
-
|
|
374
|
+
React.createElement(
|
|
375
|
+
React.Fragment,
|
|
377
376
|
{ key: index },
|
|
378
|
-
|
|
377
|
+
React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding })
|
|
379
378
|
)
|
|
380
379
|
);
|
|
381
380
|
}
|
|
382
|
-
}) :
|
|
381
|
+
}) : React.createElement(
|
|
383
382
|
'div',
|
|
384
383
|
null,
|
|
385
|
-
|
|
384
|
+
React.createElement(
|
|
386
385
|
'em',
|
|
387
386
|
null,
|
|
388
387
|
'New content coming soon, please check back later.'
|
|
@@ -391,7 +390,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
391
390
|
);
|
|
392
391
|
}, _this.renderMobileAd = function (index, numberOfItemsBeforeAd, rightItems) {
|
|
393
392
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
394
|
-
return
|
|
393
|
+
return React.createElement(
|
|
395
394
|
'div',
|
|
396
395
|
{ className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
|
|
397
396
|
rightItems[i].component
|
|
@@ -406,15 +405,15 @@ var MasterDeck = function (_React$Component) {
|
|
|
406
405
|
console.log('lastDataSize:', lastDataSize);
|
|
407
406
|
console.log('itemsPerPage:', itemsPerPage);
|
|
408
407
|
console.log('nextPagePostsCount:', nextPagePostsCount);
|
|
409
|
-
return
|
|
408
|
+
return React.createElement(
|
|
410
409
|
'div',
|
|
411
410
|
{ className: 'd-flex justify-content-between' },
|
|
412
|
-
currentPage && currentPage > 1 &&
|
|
411
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
413
412
|
'a',
|
|
414
413
|
{ href: '?page=' + (currentPage - 1) },
|
|
415
414
|
'<< Previous'
|
|
416
415
|
),
|
|
417
|
-
!(lastDataSize < itemsPerPage) && nextPagePostsCount > 0 &&
|
|
416
|
+
!(lastDataSize < itemsPerPage) && nextPagePostsCount > 0 && React.createElement(
|
|
418
417
|
'a',
|
|
419
418
|
{ href: '?page=' + (currentPage + 1) },
|
|
420
419
|
'Next >>'
|
|
@@ -480,38 +479,38 @@ var MasterDeck = function (_React$Component) {
|
|
|
480
479
|
_props$nextPagePostsC = _props.nextPagePostsCount,
|
|
481
480
|
nextPagePostsCount = _props$nextPagePostsC === undefined ? 2 : _props$nextPagePostsC;
|
|
482
481
|
|
|
483
|
-
return
|
|
482
|
+
return React.createElement(
|
|
484
483
|
'div',
|
|
485
484
|
{ className: 'contentDeck' },
|
|
486
|
-
autoScroll ?
|
|
487
|
-
|
|
485
|
+
autoScroll ? React.createElement(
|
|
486
|
+
React.Fragment,
|
|
488
487
|
null,
|
|
489
|
-
|
|
488
|
+
React.createElement(
|
|
490
489
|
InfiniteScroll,
|
|
491
490
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
492
|
-
|
|
491
|
+
React.createElement(
|
|
493
492
|
Container,
|
|
494
493
|
null,
|
|
495
494
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
496
495
|
)
|
|
497
496
|
),
|
|
498
|
-
|
|
497
|
+
React.createElement(
|
|
499
498
|
'noscript',
|
|
500
499
|
null,
|
|
501
500
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
502
501
|
)
|
|
503
|
-
) :
|
|
504
|
-
|
|
502
|
+
) : React.createElement(
|
|
503
|
+
React.Fragment,
|
|
505
504
|
null,
|
|
506
|
-
|
|
505
|
+
React.createElement(
|
|
507
506
|
Container,
|
|
508
507
|
null,
|
|
509
508
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
510
509
|
),
|
|
511
|
-
|
|
510
|
+
React.createElement(
|
|
512
511
|
'div',
|
|
513
512
|
{ style: { padding: '0px 10px' } },
|
|
514
|
-
this.state.scrolling &&
|
|
513
|
+
this.state.scrolling && React.createElement(
|
|
515
514
|
'button',
|
|
516
515
|
{
|
|
517
516
|
className: 'btn',
|
|
@@ -531,7 +530,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
531
530
|
'Load More'
|
|
532
531
|
)
|
|
533
532
|
),
|
|
534
|
-
|
|
533
|
+
React.createElement(
|
|
535
534
|
'noscript',
|
|
536
535
|
null,
|
|
537
536
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
@@ -542,8 +541,8 @@ var MasterDeck = function (_React$Component) {
|
|
|
542
541
|
}]);
|
|
543
542
|
|
|
544
543
|
return MasterDeck;
|
|
545
|
-
}(
|
|
544
|
+
}(React.Component);
|
|
546
545
|
|
|
547
546
|
var MasterDeck$1 = withRouter(MasterDeck);
|
|
548
547
|
|
|
549
|
-
export
|
|
548
|
+
export default MasterDeck$1;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
2
|
-
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
3
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
|
-
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
5
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
6
|
-
import React__default from 'react';
|
|
7
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
8
|
-
import Container from 'react-bootstrap/Container';
|
|
9
|
-
import Spinner from 'react-bootstrap/Spinner';
|
|
10
|
-
import { withRouter } from 'next/router';
|
|
11
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
13
|
-
import { A as ADlgInfeed } from './ADlgInfeed-5e36f317.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-5765a73a.js';
|
|
15
|
-
import { P as Pagination } from './Pagination-dc30727b.js';
|
|
16
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
|
-
import './core.get-iterator-method-
|
|
18
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-8c71f470.js';
|
|
19
3
|
import './_library-528f1934.js';
|
|
20
|
-
import './_iter-detect-
|
|
21
|
-
import './
|
|
22
|
-
import './_object-
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import './
|
|
26
|
-
import './
|
|
4
|
+
import './_iter-detect-72edfd60.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-47a5394a.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
8
|
+
import './_object-sap-4201ccf6.js';
|
|
9
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d26c739e.js';
|
|
10
|
+
import './define-property-a8a00786.js';
|
|
11
|
+
import './web.dom.iterable-406140e0.js';
|
|
12
|
+
import './typeof-d92ed6e0.js';
|
|
13
|
+
import './_is-array-31d40a83.js';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
27
16
|
import 'prop-types';
|
|
28
|
-
import '
|
|
17
|
+
import Container from 'react-bootstrap/Container';
|
|
29
18
|
import 'react-bootstrap/Card';
|
|
30
|
-
import '
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
33
|
-
import './toNumber-
|
|
34
|
-
import './
|
|
19
|
+
import { withRouter } from 'next/router';
|
|
20
|
+
import './isSymbol-1981418f.js';
|
|
21
|
+
import './debounce-9207d8ee.js';
|
|
22
|
+
import './toNumber-2f7a84cd.js';
|
|
23
|
+
import './slicedToArray-99bcfd93.js';
|
|
24
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
25
|
+
import { _ as _JSON$stringify } from './stringify-0c65d837.js';
|
|
26
|
+
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-9c835201.js';
|
|
35
27
|
import './Segment.js';
|
|
28
|
+
import './Beam.js';
|
|
29
|
+
import './AdSlot.js';
|
|
30
|
+
import { A as ADInfeed } from './ADInfeed-36973a76.js';
|
|
31
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
32
|
+
import { A as ADlgInfeed } from './ADlgInfeed-f6e898d5.js';
|
|
36
33
|
import 'react-bootstrap/Button';
|
|
37
|
-
import './
|
|
38
|
-
import '
|
|
34
|
+
import './iconBase-602d52fe.js';
|
|
35
|
+
import Spinner from 'react-bootstrap/Spinner';
|
|
36
|
+
import './index.esm-d1125763.js';
|
|
37
|
+
import 'react-paginate';
|
|
38
|
+
import { P as Pagination } from './Pagination-1e09918f.js';
|
|
39
39
|
|
|
40
40
|
var MasterDeck = function (_React$Component) {
|
|
41
41
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -212,22 +212,22 @@ var MasterDeck = function (_React$Component) {
|
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
214
|
|
|
215
|
-
return
|
|
215
|
+
return React.createElement(
|
|
216
216
|
'div',
|
|
217
217
|
null,
|
|
218
218
|
data && _this.state.dataRemapped && data.length > 0 ? // If JS enabled and Data remapped with ads
|
|
219
219
|
data.map(function (row, index) {
|
|
220
220
|
if (row._type === 'lg-infeed' && row.adUnit) {
|
|
221
|
-
return
|
|
221
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
222
222
|
// Returning view for infeed Ad
|
|
223
223
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
224
|
-
return
|
|
224
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
225
225
|
} else if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
226
226
|
// Returning view for articles
|
|
227
|
-
return
|
|
228
|
-
|
|
227
|
+
return React.createElement(
|
|
228
|
+
React.Fragment,
|
|
229
229
|
{ key: index },
|
|
230
|
-
|
|
230
|
+
React.createElement(_this2.Deck, {
|
|
231
231
|
data: row,
|
|
232
232
|
currentPage: _this.state.currentPage,
|
|
233
233
|
itemsPerPage: _this.state.itemsPerPage,
|
|
@@ -237,7 +237,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
237
237
|
defaultImage: _this.defaultImage,
|
|
238
238
|
isSeriesLanding: _this.isSeriesLanding
|
|
239
239
|
}),
|
|
240
|
-
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
240
|
+
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
|
|
241
241
|
'div',
|
|
242
242
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
243
243
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -249,10 +249,10 @@ var MasterDeck = function (_React$Component) {
|
|
|
249
249
|
}) : data && data.length > 0 ? // For Javascript Disabled Cases. data is not remapped if JS is disabled.
|
|
250
250
|
data.map(function (row, index) {
|
|
251
251
|
if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
252
|
-
return
|
|
253
|
-
|
|
252
|
+
return React.createElement(
|
|
253
|
+
React.Fragment,
|
|
254
254
|
{ key: index },
|
|
255
|
-
|
|
255
|
+
React.createElement(_this2.Deck, {
|
|
256
256
|
data: row,
|
|
257
257
|
currentPage: _this.state.currentPage,
|
|
258
258
|
itemsPerPage: _this.state.itemsPerPage,
|
|
@@ -264,10 +264,10 @@ var MasterDeck = function (_React$Component) {
|
|
|
264
264
|
})
|
|
265
265
|
);
|
|
266
266
|
}
|
|
267
|
-
}) :
|
|
267
|
+
}) : React.createElement(
|
|
268
268
|
'div',
|
|
269
269
|
null,
|
|
270
|
-
|
|
270
|
+
React.createElement(
|
|
271
271
|
'em',
|
|
272
272
|
null,
|
|
273
273
|
'New content coming soon, please check back later.'
|
|
@@ -276,7 +276,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
276
276
|
);
|
|
277
277
|
}, _this.renderMobileAd = function (index, numberOfItemsBeforeAd, rightItems) {
|
|
278
278
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
279
|
-
return
|
|
279
|
+
return React.createElement(
|
|
280
280
|
'div',
|
|
281
281
|
{ className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
|
|
282
282
|
rightItems[i].component
|
|
@@ -399,36 +399,36 @@ var MasterDeck = function (_React$Component) {
|
|
|
399
399
|
currentPage = _state.currentPage,
|
|
400
400
|
isDataLoading = _state.isDataLoading;
|
|
401
401
|
|
|
402
|
-
return
|
|
402
|
+
return React.createElement(
|
|
403
403
|
'div',
|
|
404
404
|
{ className: 'contentDeck' },
|
|
405
|
-
isDataLoading ?
|
|
405
|
+
isDataLoading ? React.createElement(
|
|
406
406
|
'div',
|
|
407
407
|
{ className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
|
|
408
|
-
|
|
408
|
+
React.createElement(
|
|
409
409
|
Spinner,
|
|
410
410
|
{ animation: 'border', role: 'status' },
|
|
411
|
-
|
|
411
|
+
React.createElement(
|
|
412
412
|
'span',
|
|
413
413
|
{ className: 'sr-only' },
|
|
414
414
|
'Loading...'
|
|
415
415
|
)
|
|
416
416
|
)
|
|
417
|
-
) : data && data.length > 0 ?
|
|
417
|
+
) : data && data.length > 0 ? React.createElement(
|
|
418
418
|
Container,
|
|
419
419
|
null,
|
|
420
420
|
this.cardLoader({ variant: variant, brandInsightAd: brandInsightAd, showBI: showBI, lgInfeedAd: lgInfeedAd }),
|
|
421
|
-
|
|
421
|
+
React.createElement(
|
|
422
422
|
'div',
|
|
423
423
|
{ className: 'pagination-wrapper' },
|
|
424
|
-
|
|
424
|
+
React.createElement(Pagination, {
|
|
425
425
|
pageCount: Math.ceil(totalDataCount / itemsPerPage),
|
|
426
|
-
pageRangeDisplayed:
|
|
426
|
+
pageRangeDisplayed: main_40 ? 3 : 9,
|
|
427
427
|
currentPage: currentPage,
|
|
428
428
|
onPageChange: this.handlePageChange,
|
|
429
429
|
needLargePaginateButtons: this.props.needLargePaginateButtons
|
|
430
430
|
}),
|
|
431
|
-
|
|
431
|
+
React.createElement(
|
|
432
432
|
'style',
|
|
433
433
|
{ jsx: 'true' },
|
|
434
434
|
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
@@ -454,8 +454,8 @@ var MasterDeck = function (_React$Component) {
|
|
|
454
454
|
}]);
|
|
455
455
|
|
|
456
456
|
return MasterDeck;
|
|
457
|
-
}(
|
|
457
|
+
}(React.Component);
|
|
458
458
|
|
|
459
459
|
var MasterDeck$1 = withRouter(MasterDeck);
|
|
460
460
|
|
|
461
|
-
export
|
|
461
|
+
export default MasterDeck$1;
|