@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/GridContent.js
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
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';
|
|
6
17
|
import Container from 'react-bootstrap/Container';
|
|
7
18
|
import Row from 'react-bootstrap/Row';
|
|
8
19
|
import Col from 'react-bootstrap/Col';
|
|
9
20
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import {
|
|
11
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
21
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
12
22
|
import { withRouter } from 'next/router';
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-5e36f317.js';
|
|
18
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
|
-
import { g as get_1 } from './get-3c308da4.js';
|
|
20
|
-
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
21
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
22
|
-
import urlFor from './urlFor.js';
|
|
23
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
24
|
-
import './AD.js';
|
|
25
|
-
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
26
|
-
import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
|
|
27
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
29
|
-
import './_iter-detect-98db3b07.js';
|
|
30
|
-
import './_object-pie-133f504a.js';
|
|
31
|
-
import './_object-sap-7cee6f84.js';
|
|
32
|
-
import './define-property-5f1bda73.js';
|
|
33
|
-
import './typeof-e9fc0c5d.js';
|
|
34
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
35
|
-
import './_is-array-8d21b9e3.js';
|
|
36
|
-
import './_library-528f1934.js';
|
|
37
|
-
import './events-6c3a7a63.js';
|
|
38
|
-
import 'prop-types';
|
|
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';
|
|
39
27
|
import 'react-dom';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
28
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
+
import './slicedToArray-99bcfd93.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
33
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
34
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
+
import './stringify-0c65d837.js';
|
|
36
|
+
import './asyncToGenerator-9c835201.js';
|
|
45
37
|
import './Segment.js';
|
|
46
|
-
import './
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
49
|
-
import './
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './AdSlot.js';
|
|
40
|
+
import { A as ADInfeed } from './ADInfeed-36973a76.js';
|
|
41
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
42
|
+
import { A as ADlgInfeed } from './ADlgInfeed-f6e898d5.js';
|
|
43
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
44
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
45
|
+
import './eq-b470f743.js';
|
|
46
|
+
import './AD.js';
|
|
47
|
+
import { A as AuthorComponent } from './AuthorComponent-b0a47123.js';
|
|
50
48
|
import 'react-bootstrap/Button';
|
|
49
|
+
import { P as PublicationFeature } from './PublicationFeature-0379cc20.js';
|
|
51
50
|
|
|
52
51
|
var GridContent = function (_React$Component) {
|
|
53
52
|
_inherits(GridContent, _React$Component);
|
|
@@ -162,9 +161,9 @@ var GridContent = function (_React$Component) {
|
|
|
162
161
|
}
|
|
163
162
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
164
163
|
var _this$props2 = _this.props,
|
|
165
|
-
seoPaginate = _this$props2.seoPaginate
|
|
166
|
-
_this$props2.pageview
|
|
167
|
-
|
|
164
|
+
seoPaginate = _this$props2.seoPaginate,
|
|
165
|
+
pageview = _this$props2.pageview,
|
|
166
|
+
router = _this$props2.router;
|
|
168
167
|
var currentPage = _this.state.currentPage;
|
|
169
168
|
|
|
170
169
|
if (seoPaginate) {
|
|
@@ -229,7 +228,7 @@ var GridContent = function (_React$Component) {
|
|
|
229
228
|
var rightItems = _this.props.rightItems;
|
|
230
229
|
|
|
231
230
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
232
|
-
return
|
|
231
|
+
return React.createElement(
|
|
233
232
|
'div',
|
|
234
233
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
235
234
|
rightItems[i].component
|
|
@@ -238,15 +237,15 @@ var GridContent = function (_React$Component) {
|
|
|
238
237
|
var nextPagePostsCount = _ref2.nextPagePostsCount;
|
|
239
238
|
var currentPage = _this.state.currentPage;
|
|
240
239
|
|
|
241
|
-
return
|
|
240
|
+
return React.createElement(
|
|
242
241
|
'div',
|
|
243
242
|
{ className: 'd-flex justify-content-between' },
|
|
244
|
-
currentPage && currentPage > 1 &&
|
|
243
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
245
244
|
'a',
|
|
246
245
|
{ href: '?page=' + (currentPage - 1) },
|
|
247
246
|
'<< Previous'
|
|
248
247
|
),
|
|
249
|
-
!(_this.state.lastDataSize < _this.state.itemsPerPage) && nextPagePostsCount > 0 &&
|
|
248
|
+
!(_this.state.lastDataSize < _this.state.itemsPerPage) && nextPagePostsCount > 0 && React.createElement(
|
|
250
249
|
'a',
|
|
251
250
|
{ href: '?page=' + (currentPage + 1) },
|
|
252
251
|
'Next >>'
|
|
@@ -281,62 +280,62 @@ var GridContent = function (_React$Component) {
|
|
|
281
280
|
var numberOfItemsBeforeAd = 6;
|
|
282
281
|
var numberOfItemsBeforeVideo = 3;
|
|
283
282
|
if (variant === 'stack') {
|
|
284
|
-
return
|
|
283
|
+
return React.createElement(
|
|
285
284
|
Row,
|
|
286
285
|
null,
|
|
287
286
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
288
287
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
289
|
-
return
|
|
288
|
+
return React.createElement(
|
|
290
289
|
Col,
|
|
291
290
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
292
|
-
|
|
291
|
+
React.createElement(
|
|
293
292
|
Card,
|
|
294
293
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
295
|
-
|
|
294
|
+
React.createElement(
|
|
296
295
|
Row,
|
|
297
296
|
{ style: { flexDirection: 'row' } },
|
|
298
|
-
|
|
297
|
+
React.createElement(
|
|
299
298
|
Col,
|
|
300
299
|
{ md: 12, lg: 4 },
|
|
301
|
-
|
|
300
|
+
React.createElement(
|
|
302
301
|
'a',
|
|
303
302
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
304
|
-
|
|
303
|
+
React.createElement(
|
|
305
304
|
LazyLoad,
|
|
306
305
|
{ height: _this2.props.imageHeight },
|
|
307
|
-
|
|
306
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
308
307
|
)
|
|
309
308
|
)
|
|
310
309
|
),
|
|
311
|
-
|
|
310
|
+
React.createElement(
|
|
312
311
|
Col,
|
|
313
312
|
null,
|
|
314
|
-
|
|
313
|
+
React.createElement(
|
|
315
314
|
Card.Body,
|
|
316
315
|
{ style: { padding: '20px' } },
|
|
317
|
-
|
|
316
|
+
React.createElement(
|
|
318
317
|
Card.Title,
|
|
319
318
|
null,
|
|
320
|
-
|
|
319
|
+
React.createElement(
|
|
321
320
|
'a',
|
|
322
321
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
323
322
|
row.title
|
|
324
323
|
)
|
|
325
324
|
),
|
|
326
|
-
_this2.props.showPublished && row.published &&
|
|
325
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
327
326
|
Card.Subtitle,
|
|
328
327
|
{ style: { marginTop: 0 } },
|
|
329
328
|
moment(row.published).format('MMMM DD, YYYY')
|
|
330
329
|
),
|
|
331
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
330
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
332
331
|
LazyLoad,
|
|
333
332
|
{ height: 50 },
|
|
334
|
-
|
|
333
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
335
334
|
),
|
|
336
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
335
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
337
336
|
LazyLoad,
|
|
338
337
|
{ height: 50 },
|
|
339
|
-
|
|
338
|
+
React.createElement(
|
|
340
339
|
'p',
|
|
341
340
|
{
|
|
342
341
|
className: 'article-category',
|
|
@@ -351,7 +350,7 @@ var GridContent = function (_React$Component) {
|
|
|
351
350
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
352
351
|
)
|
|
353
352
|
),
|
|
354
|
-
|
|
353
|
+
React.createElement(
|
|
355
354
|
Card.Text,
|
|
356
355
|
null,
|
|
357
356
|
clean_html_1(row.summary)
|
|
@@ -361,13 +360,13 @@ var GridContent = function (_React$Component) {
|
|
|
361
360
|
)
|
|
362
361
|
)
|
|
363
362
|
);
|
|
364
|
-
}) :
|
|
363
|
+
}) : React.createElement(
|
|
365
364
|
'div',
|
|
366
365
|
null,
|
|
367
|
-
|
|
366
|
+
React.createElement(
|
|
368
367
|
'h5',
|
|
369
368
|
null,
|
|
370
|
-
|
|
369
|
+
React.createElement(
|
|
371
370
|
'em',
|
|
372
371
|
null,
|
|
373
372
|
'New content coming soon, please check back later.'
|
|
@@ -493,7 +492,7 @@ var GridContent = function (_React$Component) {
|
|
|
493
492
|
//For Javascript Disabled Cases. data is not remapped if JS is disabled.
|
|
494
493
|
posts = this.state.data;
|
|
495
494
|
}
|
|
496
|
-
return
|
|
495
|
+
return React.createElement(
|
|
497
496
|
'div',
|
|
498
497
|
{ className: 'grid-container' },
|
|
499
498
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -503,58 +502,58 @@ var GridContent = function (_React$Component) {
|
|
|
503
502
|
if (row._type === 'feature') {
|
|
504
503
|
featureCount++;
|
|
505
504
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
506
|
-
return
|
|
507
|
-
|
|
505
|
+
return React.createElement(
|
|
506
|
+
React.Fragment,
|
|
508
507
|
{ key: itemCounter },
|
|
509
|
-
|
|
508
|
+
React.createElement(
|
|
510
509
|
VisibilitySensor,
|
|
511
510
|
{
|
|
512
511
|
partialVisibility: true,
|
|
513
512
|
onChange: function onChange(isVisible) {
|
|
514
513
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
515
514
|
} },
|
|
516
|
-
|
|
515
|
+
React.createElement(
|
|
517
516
|
'div',
|
|
518
517
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
519
|
-
|
|
518
|
+
React.createElement(
|
|
520
519
|
Card,
|
|
521
520
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
522
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
521
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
523
522
|
'a',
|
|
524
523
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
525
|
-
|
|
524
|
+
React.createElement(
|
|
526
525
|
LazyLoad,
|
|
527
526
|
{ height: _this2.props.imageHeight },
|
|
528
|
-
|
|
527
|
+
React.createElement(Card.Img, {
|
|
529
528
|
variant: 'top',
|
|
530
529
|
src: _this2.renderCardImage(row, page),
|
|
531
530
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
532
531
|
})
|
|
533
532
|
)
|
|
534
533
|
),
|
|
535
|
-
|
|
534
|
+
React.createElement(
|
|
536
535
|
Card.Body,
|
|
537
536
|
null,
|
|
538
|
-
|
|
537
|
+
React.createElement(
|
|
539
538
|
'a',
|
|
540
539
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
541
|
-
|
|
540
|
+
React.createElement(
|
|
542
541
|
Card.Title,
|
|
543
542
|
null,
|
|
544
543
|
row.title
|
|
545
544
|
)
|
|
546
545
|
),
|
|
547
|
-
_this2.props.showPublished && row.published &&
|
|
546
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
548
547
|
Card.Subtitle,
|
|
549
548
|
{ style: { marginTop: 0 } },
|
|
550
549
|
moment(row.published).format('MMMM DD, YYYY')
|
|
551
550
|
),
|
|
552
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
551
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
553
552
|
LazyLoad,
|
|
554
553
|
{ height: 50 },
|
|
555
|
-
|
|
554
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
556
555
|
),
|
|
557
|
-
|
|
556
|
+
React.createElement(
|
|
558
557
|
Card.Text,
|
|
559
558
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
560
559
|
clean_html_1(row.summary)
|
|
@@ -563,62 +562,62 @@ var GridContent = function (_React$Component) {
|
|
|
563
562
|
)
|
|
564
563
|
)
|
|
565
564
|
),
|
|
566
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
567
|
-
|
|
565
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
566
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
568
567
|
);
|
|
569
568
|
} else {
|
|
570
|
-
return
|
|
571
|
-
|
|
569
|
+
return React.createElement(
|
|
570
|
+
React.Fragment,
|
|
572
571
|
{ key: itemCounter },
|
|
573
|
-
|
|
572
|
+
React.createElement(
|
|
574
573
|
VisibilitySensor,
|
|
575
574
|
{
|
|
576
575
|
partialVisibility: true,
|
|
577
576
|
onChange: function onChange(isVisible) {
|
|
578
577
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
579
578
|
} },
|
|
580
|
-
|
|
579
|
+
React.createElement(
|
|
581
580
|
'div',
|
|
582
581
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
583
|
-
|
|
582
|
+
React.createElement(
|
|
584
583
|
Card,
|
|
585
584
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
586
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
585
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
587
586
|
'a',
|
|
588
587
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
589
|
-
|
|
588
|
+
React.createElement(
|
|
590
589
|
LazyLoad,
|
|
591
590
|
{ height: _this2.props.imageHeight },
|
|
592
|
-
|
|
591
|
+
React.createElement(Card.Img, {
|
|
593
592
|
variant: 'top',
|
|
594
593
|
src: _this2.renderCardImage(row, page),
|
|
595
594
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
596
595
|
})
|
|
597
596
|
)
|
|
598
597
|
),
|
|
599
|
-
|
|
598
|
+
React.createElement(
|
|
600
599
|
Card.Body,
|
|
601
600
|
null,
|
|
602
|
-
|
|
601
|
+
React.createElement(
|
|
603
602
|
'a',
|
|
604
603
|
{ href: row.url.current },
|
|
605
|
-
|
|
604
|
+
React.createElement(
|
|
606
605
|
Card.Title,
|
|
607
606
|
null,
|
|
608
607
|
row.title
|
|
609
608
|
)
|
|
610
609
|
),
|
|
611
|
-
_this2.props.showPublished && row.published &&
|
|
610
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
612
611
|
Card.Subtitle,
|
|
613
612
|
{ style: { marginTop: 0 } },
|
|
614
613
|
moment(row.published).format('MMMM DD, YYYY')
|
|
615
614
|
),
|
|
616
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
615
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
617
616
|
LazyLoad,
|
|
618
617
|
{ height: 50 },
|
|
619
|
-
|
|
618
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
620
619
|
),
|
|
621
|
-
|
|
620
|
+
React.createElement(
|
|
622
621
|
Card.Text,
|
|
623
622
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
624
623
|
clean_html_1(row.summary)
|
|
@@ -627,71 +626,71 @@ var GridContent = function (_React$Component) {
|
|
|
627
626
|
)
|
|
628
627
|
)
|
|
629
628
|
),
|
|
630
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
631
|
-
|
|
629
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
630
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
632
631
|
);
|
|
633
632
|
}
|
|
634
633
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
635
|
-
return
|
|
634
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
636
635
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
637
|
-
return
|
|
638
|
-
} else if (row._type === 'publication') return
|
|
636
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
637
|
+
} else if (row._type === 'publication') return React.createElement(PublicationFeature, { data: row, defaultImage: _this2.defaultImage, issueMapping: _this2.props.issueMapping, client: _this2.client });
|
|
639
638
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
640
|
-
return
|
|
641
|
-
|
|
639
|
+
return React.createElement(
|
|
640
|
+
React.Fragment,
|
|
642
641
|
{ key: itemCounter },
|
|
643
|
-
|
|
642
|
+
React.createElement(
|
|
644
643
|
VisibilitySensor,
|
|
645
644
|
{
|
|
646
645
|
onChange: function onChange(isVisible) {
|
|
647
646
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
648
647
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
649
648
|
} },
|
|
650
|
-
|
|
649
|
+
React.createElement(
|
|
651
650
|
'div',
|
|
652
651
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
653
|
-
|
|
652
|
+
React.createElement(
|
|
654
653
|
Card,
|
|
655
654
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
656
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
655
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
657
656
|
'a',
|
|
658
657
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
659
|
-
|
|
658
|
+
React.createElement(
|
|
660
659
|
LazyLoad,
|
|
661
660
|
{ height: _this2.props.imageHeight },
|
|
662
|
-
|
|
661
|
+
React.createElement(Card.Img, {
|
|
663
662
|
variant: 'top',
|
|
664
663
|
src: _this2.renderCardImage(row, page),
|
|
665
664
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
666
665
|
})
|
|
667
666
|
)
|
|
668
667
|
),
|
|
669
|
-
|
|
668
|
+
React.createElement(
|
|
670
669
|
Card.Body,
|
|
671
670
|
null,
|
|
672
|
-
|
|
671
|
+
React.createElement(
|
|
673
672
|
'a',
|
|
674
673
|
{ href: linkHref },
|
|
675
|
-
|
|
674
|
+
React.createElement(
|
|
676
675
|
Card.Title,
|
|
677
676
|
null,
|
|
678
677
|
row.title
|
|
679
678
|
)
|
|
680
679
|
),
|
|
681
|
-
_this2.props.showPublished && row.published &&
|
|
680
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
682
681
|
Card.Subtitle,
|
|
683
682
|
{ style: { marginTop: 0 } },
|
|
684
683
|
moment(row.published).format('MMMM DD, YYYY')
|
|
685
684
|
),
|
|
686
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
685
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
687
686
|
LazyLoad,
|
|
688
687
|
{ height: 50 },
|
|
689
|
-
|
|
688
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
690
689
|
),
|
|
691
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
690
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
692
691
|
LazyLoad,
|
|
693
692
|
{ height: 50 },
|
|
694
|
-
|
|
693
|
+
React.createElement(
|
|
695
694
|
'p',
|
|
696
695
|
{
|
|
697
696
|
className: 'article-category',
|
|
@@ -706,7 +705,7 @@ var GridContent = function (_React$Component) {
|
|
|
706
705
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
707
706
|
)
|
|
708
707
|
),
|
|
709
|
-
|
|
708
|
+
React.createElement(
|
|
710
709
|
Card.Text,
|
|
711
710
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
712
711
|
clean_html_1(row.summary)
|
|
@@ -715,17 +714,17 @@ var GridContent = function (_React$Component) {
|
|
|
715
714
|
)
|
|
716
715
|
)
|
|
717
716
|
),
|
|
718
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
719
|
-
|
|
717
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
718
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
720
719
|
);
|
|
721
720
|
} else return null;
|
|
722
|
-
}) :
|
|
721
|
+
}) : React.createElement(
|
|
723
722
|
'div',
|
|
724
723
|
null,
|
|
725
|
-
|
|
724
|
+
React.createElement(
|
|
726
725
|
'h5',
|
|
727
726
|
null,
|
|
728
|
-
|
|
727
|
+
React.createElement(
|
|
729
728
|
'em',
|
|
730
729
|
null,
|
|
731
730
|
'New content coming soon, please check back later.'
|
|
@@ -752,38 +751,38 @@ var GridContent = function (_React$Component) {
|
|
|
752
751
|
nextPagePostsCount = _props$nextPagePostsC === undefined ? 3 : _props$nextPagePostsC;
|
|
753
752
|
|
|
754
753
|
|
|
755
|
-
return
|
|
754
|
+
return React.createElement(
|
|
756
755
|
'div',
|
|
757
756
|
{ className: 'contentDeck' },
|
|
758
|
-
autoScroll ?
|
|
759
|
-
|
|
757
|
+
autoScroll ? React.createElement(
|
|
758
|
+
React.Fragment,
|
|
760
759
|
null,
|
|
761
|
-
|
|
760
|
+
React.createElement(
|
|
762
761
|
InfiniteScroll,
|
|
763
762
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
764
|
-
|
|
763
|
+
React.createElement(
|
|
765
764
|
Container,
|
|
766
765
|
null,
|
|
767
766
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
768
767
|
)
|
|
769
768
|
),
|
|
770
|
-
|
|
769
|
+
React.createElement(
|
|
771
770
|
'noscript',
|
|
772
771
|
null,
|
|
773
772
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
774
773
|
)
|
|
775
|
-
) :
|
|
776
|
-
|
|
774
|
+
) : React.createElement(
|
|
775
|
+
React.Fragment,
|
|
777
776
|
null,
|
|
778
|
-
|
|
777
|
+
React.createElement(
|
|
779
778
|
Container,
|
|
780
779
|
null,
|
|
781
780
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
782
781
|
),
|
|
783
|
-
|
|
782
|
+
React.createElement(
|
|
784
783
|
'div',
|
|
785
784
|
{ style: { padding: '0px 10px' } },
|
|
786
|
-
this.state.scrolling ?
|
|
785
|
+
this.state.scrolling ? React.createElement(
|
|
787
786
|
'button',
|
|
788
787
|
{
|
|
789
788
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -791,17 +790,17 @@ var GridContent = function (_React$Component) {
|
|
|
791
790
|
_this3.loadMore();
|
|
792
791
|
} },
|
|
793
792
|
'Load More'
|
|
794
|
-
) :
|
|
793
|
+
) : React.createElement(
|
|
795
794
|
'p',
|
|
796
795
|
{ style: { textAlign: 'center' } },
|
|
797
|
-
|
|
796
|
+
React.createElement(
|
|
798
797
|
'b',
|
|
799
798
|
null,
|
|
800
799
|
'End of data'
|
|
801
800
|
)
|
|
802
801
|
)
|
|
803
802
|
),
|
|
804
|
-
|
|
803
|
+
React.createElement(
|
|
805
804
|
'noscript',
|
|
806
805
|
null,
|
|
807
806
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
@@ -812,8 +811,8 @@ var GridContent = function (_React$Component) {
|
|
|
812
811
|
}]);
|
|
813
812
|
|
|
814
813
|
return GridContent;
|
|
815
|
-
}(
|
|
814
|
+
}(React.Component);
|
|
816
815
|
|
|
817
|
-
var GridContent$1 =
|
|
816
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
818
817
|
|
|
819
|
-
export
|
|
818
|
+
export default GridContent$1;
|