@mjhls/mjh-framework 1.0.922 → 1.0.923
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-bce0ba07.js → ADInfeed-a4d973da.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-950b414b.js → ADlgInfeed-def2c25d.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 -14178
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +49 -49
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -30
- package/dist/cjs/ArticleSeriesListing.js +30 -31
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +13 -1766
- 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 -23
- 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 -38
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -34
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +12 -13
- package/dist/cjs/EventsDeck.js +26 -26
- package/dist/cjs/ExternalResources.js +46 -46
- 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 +46 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -47
- 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 +55 -55
- package/dist/cjs/LeftNav.js +19 -20
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -34
- package/dist/cjs/{MediaSeriesCard-34235827.js → MediaSeriesCard-be3f9e36.js} +799 -1002
- package/dist/cjs/MediaSeriesLanding.js +50 -51
- package/dist/cjs/MediaSeriesLandingPaginated.js +56 -57
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +29 -29
- package/dist/cjs/NavNative.js +30 -30
- 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-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +61 -62
- package/dist/cjs/PartnerDetailListingPaginated.js +61 -62
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- 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 -39
- 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 +25 -8
- package/dist/cjs/SeriesListingDeck.js +17 -18
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-88e59074.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +45 -45
- package/dist/cjs/TemplateNormal.js +45 -46
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +51 -51
- 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 +92 -91
- 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/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- 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/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-1359b868.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-d48b231c.js → index-b5eb3ff8.js} +6 -11
- package/dist/cjs/{index-f9f5f7c0.js → index-faf269e6.js} +157 -407
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- 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-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +144 -146
- 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} +4 -4
- 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 +7 -7
- package/dist/esm/AD300x250.js +24 -25
- package/dist/esm/AD300x250x600.js +24 -25
- package/dist/esm/AD728x90.js +27 -28
- package/dist/esm/ADFloatingFooter.js +26 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-0a55cd2d.js → ADInfeed-7ba4f982.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +27 -28
- package/dist/esm/{ADlgInfeed-013e1f4a.js → ADlgInfeed-8eb5060f.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -23
- package/dist/esm/AdSlotsProvider.js +12 -13
- package/dist/esm/AlgoliaSearch.js +55 -14202
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +55 -55
- package/dist/esm/ArticleSeriesLandingPage.js +35 -36
- package/dist/esm/ArticleSeriesListing.js +54 -55
- package/dist/esm/Auth.js +417 -553
- package/dist/esm/AuthWrapper.js +26 -1780
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -78
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -50
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -73
- package/dist/esm/DeckContent.js +76 -77
- package/dist/esm/DeckQueue.js +67 -68
- package/dist/esm/DeckQueuePaginated.js +63 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-23281963.js} +20 -21
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +72 -72
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -143
- package/dist/esm/GridContentPaginated.js +133 -134
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -69
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +63 -63
- package/dist/esm/LeftNav.js +32 -33
- package/dist/esm/MasterDeck.js +63 -64
- package/dist/esm/MasterDeckPaginated.js +55 -56
- package/dist/esm/{MediaSeriesCard-8a9b91e6.js → MediaSeriesCard-b6034225.js} +799 -1002
- package/dist/esm/MediaSeriesLanding.js +75 -76
- package/dist/esm/MediaSeriesLandingPaginated.js +79 -80
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +101 -101
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +94 -95
- package/dist/esm/PartnerDetailListingPaginated.js +92 -93
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -38
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +74 -78
- package/dist/esm/QueueDeckExpanded.js +273 -274
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -254
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +25 -8
- package/dist/esm/SeriesListingDeck.js +30 -31
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-0a8cfca0.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +49 -49
- package/dist/esm/TemplateNormal.js +65 -66
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +63 -63
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -41
- package/dist/esm/VideoSeriesListing.js +70 -71
- package/dist/esm/View.js +249 -248
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-130ee549.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-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-7bf8bc4d.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-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-6d26cb48.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-d7d9b577.js} +1 -1
- 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-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-ba1ffe43.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-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-4d8a8743.js → index-93fc4be2.js} +551 -802
- 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-37268dca.js → index.esm-8ee5ff72.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 +139 -141
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-69989821.js} +6 -6
- 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-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-4c4fe0ba.js} +4 -4
- 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-f8f967cd.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- 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/ImageSlider-f84174cb.js +0 -2804
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- 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
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-5ef104a7.js';
|
|
2
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
5
|
-
import React__default, { useState, useEffect, useRef } from 'react';
|
|
6
|
-
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
7
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
8
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
9
|
-
import { useRouter } from 'next/router';
|
|
10
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
13
|
-
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-0a55cd2d.js';
|
|
15
|
-
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
16
|
-
import { A as ADlgInfeed } from './ADlgInfeed-013e1f4a.js';
|
|
17
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
18
|
-
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
19
|
-
import urlFor from './urlFor.js';
|
|
20
|
-
import { P as Pagination } from './Pagination-59436882.js';
|
|
21
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
-
import './core.get-iterator-method-
|
|
23
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
24
3
|
import './_library-528f1934.js';
|
|
25
|
-
import './_iter-detect-
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
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-a4230287.js';
|
|
8
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
9
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
10
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
28
11
|
import 'prop-types';
|
|
29
|
-
import 'react-dom';
|
|
30
12
|
import 'react-bootstrap/Card';
|
|
31
|
-
import './
|
|
32
|
-
import '
|
|
33
|
-
import './isSymbol-
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import '
|
|
13
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
14
|
+
import { useRouter } from 'next/router';
|
|
15
|
+
import './isSymbol-1981418f.js';
|
|
16
|
+
import './debounce-9207d8ee.js';
|
|
17
|
+
import './toNumber-2f7a84cd.js';
|
|
18
|
+
import 'react-dom';
|
|
19
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
20
|
+
import './index-51a80699.js';
|
|
21
|
+
import urlFor from './urlFor.js';
|
|
22
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
23
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
24
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
25
|
+
import './stringify-70b72959.js';
|
|
26
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
|
|
37
27
|
import './Segment.js';
|
|
38
|
-
import './
|
|
39
|
-
import '
|
|
28
|
+
import './Beam.js';
|
|
29
|
+
import './AdSlot.js';
|
|
30
|
+
import { A as ADInfeed } from './ADInfeed-7ba4f982.js';
|
|
31
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
32
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8eb5060f.js';
|
|
33
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
34
|
+
import { A as AuthorComponent } from './AuthorComponent-37ebc2bd.js';
|
|
40
35
|
import 'react-bootstrap/Button';
|
|
41
|
-
import '
|
|
42
|
-
import './
|
|
36
|
+
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
37
|
+
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
38
|
+
import './iconBase-602d52fe.js';
|
|
39
|
+
import './index.esm-d1125763.js';
|
|
40
|
+
import 'react-paginate';
|
|
41
|
+
import { P as Pagination } from './Pagination-185dfca0.js';
|
|
43
42
|
|
|
44
43
|
var _this = undefined;
|
|
45
44
|
|
|
@@ -168,7 +167,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
168
167
|
});
|
|
169
168
|
|
|
170
169
|
var featureCount = 0;
|
|
171
|
-
return
|
|
170
|
+
return React.createElement(
|
|
172
171
|
'div',
|
|
173
172
|
null,
|
|
174
173
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -178,48 +177,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
178
177
|
if (article._type === 'feature') {
|
|
179
178
|
featureCount++;
|
|
180
179
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
181
|
-
return
|
|
180
|
+
return React.createElement(
|
|
182
181
|
Media,
|
|
183
182
|
{
|
|
184
183
|
key: article._id ? article._id : index,
|
|
185
184
|
className: 'feature-media',
|
|
186
185
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
187
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
186
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
188
187
|
'a',
|
|
189
188
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
190
|
-
|
|
189
|
+
React.createElement(
|
|
191
190
|
LazyLoad,
|
|
192
|
-
{ height: imageHeight, placeholder:
|
|
193
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
191
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
192
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
194
193
|
),
|
|
195
|
-
article.source &&
|
|
194
|
+
article.source && React.createElement(
|
|
196
195
|
'div',
|
|
197
196
|
{ className: 'content-category-label' },
|
|
198
|
-
|
|
197
|
+
React.createElement(
|
|
199
198
|
'div',
|
|
200
199
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
201
200
|
article.source
|
|
202
201
|
)
|
|
203
202
|
)
|
|
204
203
|
),
|
|
205
|
-
|
|
204
|
+
React.createElement(
|
|
206
205
|
Media.Body,
|
|
207
206
|
null,
|
|
208
|
-
|
|
207
|
+
React.createElement(
|
|
209
208
|
'a',
|
|
210
209
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
211
|
-
article.title &&
|
|
210
|
+
article.title && React.createElement(
|
|
212
211
|
'h4',
|
|
213
212
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
214
213
|
article.title
|
|
215
214
|
)
|
|
216
215
|
),
|
|
217
|
-
showPublished && !showTimeDiff && article.published &&
|
|
216
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
218
217
|
'p',
|
|
219
218
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
220
219
|
moment(article.published).format('MMMM DD, YYYY')
|
|
221
220
|
),
|
|
222
|
-
showTimeDiff && article.published &&
|
|
221
|
+
showTimeDiff && article.published && React.createElement(
|
|
223
222
|
'p',
|
|
224
223
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
225
224
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -227,20 +226,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
227
226
|
return null;
|
|
228
227
|
}
|
|
229
228
|
if (index === 3) {
|
|
230
|
-
return
|
|
231
|
-
|
|
229
|
+
return React.createElement(
|
|
230
|
+
React.Fragment,
|
|
232
231
|
null,
|
|
233
|
-
|
|
232
|
+
React.createElement(
|
|
234
233
|
'em',
|
|
235
234
|
{ style: { marginRight: '.5rem' } },
|
|
236
235
|
'...'
|
|
237
236
|
)
|
|
238
237
|
);
|
|
239
238
|
}
|
|
240
|
-
return
|
|
241
|
-
|
|
239
|
+
return React.createElement(
|
|
240
|
+
React.Fragment,
|
|
242
241
|
null,
|
|
243
|
-
|
|
242
|
+
React.createElement(
|
|
244
243
|
'em',
|
|
245
244
|
null,
|
|
246
245
|
taxonomy.name
|
|
@@ -250,30 +249,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
250
249
|
);
|
|
251
250
|
}),
|
|
252
251
|
' ',
|
|
253
|
-
|
|
252
|
+
React.createElement(
|
|
254
253
|
'span',
|
|
255
254
|
{ style: { display: 'inline-block' } },
|
|
256
255
|
timeDifferenceCalc(article.published)
|
|
257
256
|
)
|
|
258
257
|
),
|
|
259
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
258
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
260
259
|
LazyLoad,
|
|
261
260
|
{ height: 50 },
|
|
262
|
-
|
|
261
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
263
262
|
),
|
|
264
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
263
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
265
264
|
'div',
|
|
266
265
|
{ className: 'content-category-label' },
|
|
267
|
-
|
|
266
|
+
React.createElement(
|
|
268
267
|
'div',
|
|
269
268
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
270
269
|
article.source
|
|
271
270
|
)
|
|
272
271
|
),
|
|
273
|
-
|
|
272
|
+
React.createElement(
|
|
274
273
|
'div',
|
|
275
274
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
276
|
-
showCategory && article.contentCategory &&
|
|
275
|
+
showCategory && article.contentCategory && React.createElement(
|
|
277
276
|
'p',
|
|
278
277
|
{
|
|
279
278
|
className: 'article-category',
|
|
@@ -287,7 +286,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
287
286
|
} },
|
|
288
287
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
289
288
|
),
|
|
290
|
-
article.issueSection && article.issueSection.name &&
|
|
289
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
291
290
|
'p',
|
|
292
291
|
{
|
|
293
292
|
className: 'issueSection',
|
|
@@ -303,21 +302,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
303
302
|
article.issueSection.name
|
|
304
303
|
)
|
|
305
304
|
),
|
|
306
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
305
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
307
306
|
'div',
|
|
308
307
|
{ className: 'pubInfo' },
|
|
309
|
-
article.volume &&
|
|
308
|
+
article.volume && React.createElement(
|
|
310
309
|
'p',
|
|
311
310
|
{ className: 'qdeVolume' },
|
|
312
311
|
article.volume
|
|
313
312
|
),
|
|
314
|
-
article.issue &&
|
|
313
|
+
article.issue && React.createElement(
|
|
315
314
|
'p',
|
|
316
315
|
{ className: 'qdeIssue' },
|
|
317
316
|
article.issue
|
|
318
317
|
)
|
|
319
318
|
),
|
|
320
|
-
showIntro && article.summary &&
|
|
319
|
+
showIntro && article.summary && React.createElement(
|
|
321
320
|
'p',
|
|
322
321
|
{ className: 'pt-2 card-text' },
|
|
323
322
|
clean_html_1(article.summary)
|
|
@@ -325,48 +324,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
325
324
|
)
|
|
326
325
|
);
|
|
327
326
|
} else {
|
|
328
|
-
return
|
|
327
|
+
return React.createElement(
|
|
329
328
|
Media,
|
|
330
329
|
{
|
|
331
330
|
key: article._id ? article._id : index,
|
|
332
331
|
className: 'feature-media',
|
|
333
332
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
334
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
333
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
335
334
|
'a',
|
|
336
335
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
337
|
-
|
|
336
|
+
React.createElement(
|
|
338
337
|
LazyLoad,
|
|
339
|
-
{ height: imageHeight, placeholder:
|
|
340
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
338
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
339
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
341
340
|
),
|
|
342
|
-
article.source &&
|
|
341
|
+
article.source && React.createElement(
|
|
343
342
|
'div',
|
|
344
343
|
{ className: 'content-category-label' },
|
|
345
|
-
|
|
344
|
+
React.createElement(
|
|
346
345
|
'div',
|
|
347
346
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
348
347
|
article.source
|
|
349
348
|
)
|
|
350
349
|
)
|
|
351
350
|
),
|
|
352
|
-
|
|
351
|
+
React.createElement(
|
|
353
352
|
Media.Body,
|
|
354
353
|
null,
|
|
355
|
-
|
|
354
|
+
React.createElement(
|
|
356
355
|
'a',
|
|
357
356
|
{ href: article.url.current },
|
|
358
|
-
article.title &&
|
|
357
|
+
article.title && React.createElement(
|
|
359
358
|
'h4',
|
|
360
359
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
361
360
|
article.title
|
|
362
361
|
)
|
|
363
362
|
),
|
|
364
|
-
showPublished && !showTimeDiff && article.published &&
|
|
363
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
365
364
|
'p',
|
|
366
365
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
367
366
|
moment(article.published).format('MMMM DD, YYYY')
|
|
368
367
|
),
|
|
369
|
-
showTimeDiff && article.published &&
|
|
368
|
+
showTimeDiff && article.published && React.createElement(
|
|
370
369
|
'p',
|
|
371
370
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
372
371
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -374,10 +373,10 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
374
373
|
return null;
|
|
375
374
|
}
|
|
376
375
|
if (index === 3) {
|
|
377
|
-
return
|
|
378
|
-
|
|
376
|
+
return React.createElement(
|
|
377
|
+
React.Fragment,
|
|
379
378
|
null,
|
|
380
|
-
|
|
379
|
+
React.createElement(
|
|
381
380
|
'em',
|
|
382
381
|
{ style: { marginRight: '.5rem' } },
|
|
383
382
|
'...'
|
|
@@ -385,20 +384,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
385
384
|
);
|
|
386
385
|
}
|
|
387
386
|
if (index === 3) {
|
|
388
|
-
return
|
|
389
|
-
|
|
387
|
+
return React.createElement(
|
|
388
|
+
React.Fragment,
|
|
390
389
|
null,
|
|
391
|
-
|
|
390
|
+
React.createElement(
|
|
392
391
|
'em',
|
|
393
392
|
{ style: { marginRight: '.5rem' } },
|
|
394
393
|
'...'
|
|
395
394
|
)
|
|
396
395
|
);
|
|
397
396
|
}
|
|
398
|
-
return
|
|
399
|
-
|
|
397
|
+
return React.createElement(
|
|
398
|
+
React.Fragment,
|
|
400
399
|
null,
|
|
401
|
-
|
|
400
|
+
React.createElement(
|
|
402
401
|
'em',
|
|
403
402
|
null,
|
|
404
403
|
taxonomy.name
|
|
@@ -408,30 +407,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
408
407
|
);
|
|
409
408
|
}),
|
|
410
409
|
' ',
|
|
411
|
-
|
|
410
|
+
React.createElement(
|
|
412
411
|
'span',
|
|
413
412
|
{ style: { display: 'inline-block' } },
|
|
414
413
|
timeDifferenceCalc(article.published)
|
|
415
414
|
)
|
|
416
415
|
),
|
|
417
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
416
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
418
417
|
LazyLoad,
|
|
419
418
|
{ height: 50 },
|
|
420
|
-
|
|
419
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
421
420
|
),
|
|
422
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
421
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
423
422
|
'div',
|
|
424
423
|
{ className: 'content-category-label' },
|
|
425
|
-
|
|
424
|
+
React.createElement(
|
|
426
425
|
'div',
|
|
427
426
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
428
427
|
article.source
|
|
429
428
|
)
|
|
430
429
|
),
|
|
431
|
-
|
|
430
|
+
React.createElement(
|
|
432
431
|
'div',
|
|
433
432
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
434
|
-
showCategory && article.contentCategory &&
|
|
433
|
+
showCategory && article.contentCategory && React.createElement(
|
|
435
434
|
'p',
|
|
436
435
|
{
|
|
437
436
|
className: 'article-category',
|
|
@@ -445,7 +444,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
445
444
|
} },
|
|
446
445
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
447
446
|
),
|
|
448
|
-
article.issueSection && article.issueSection.name &&
|
|
447
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
449
448
|
'p',
|
|
450
449
|
{
|
|
451
450
|
className: 'issueSection',
|
|
@@ -461,21 +460,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
461
460
|
article.issueSection.name
|
|
462
461
|
)
|
|
463
462
|
),
|
|
464
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
463
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
465
464
|
'div',
|
|
466
465
|
{ className: 'pubInfo' },
|
|
467
|
-
article.volume &&
|
|
466
|
+
article.volume && React.createElement(
|
|
468
467
|
'p',
|
|
469
468
|
{ className: 'qdeVolume' },
|
|
470
469
|
article.volume
|
|
471
470
|
),
|
|
472
|
-
article.issue &&
|
|
471
|
+
article.issue && React.createElement(
|
|
473
472
|
'p',
|
|
474
473
|
{ className: 'qdeIssue' },
|
|
475
474
|
article.issue
|
|
476
475
|
)
|
|
477
476
|
),
|
|
478
|
-
showIntro && article.summary &&
|
|
477
|
+
showIntro && article.summary && React.createElement(
|
|
479
478
|
'p',
|
|
480
479
|
{ className: 'pt-2 card-text' },
|
|
481
480
|
clean_html_1(article.summary)
|
|
@@ -484,55 +483,55 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
484
483
|
);
|
|
485
484
|
}
|
|
486
485
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
487
|
-
return
|
|
486
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
488
487
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
489
|
-
return
|
|
488
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
490
489
|
}
|
|
491
490
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
492
|
-
return
|
|
493
|
-
|
|
491
|
+
return React.createElement(
|
|
492
|
+
React.Fragment,
|
|
494
493
|
{ key: article._id ? article._id : index },
|
|
495
|
-
|
|
494
|
+
React.createElement(
|
|
496
495
|
Media,
|
|
497
496
|
{
|
|
498
497
|
key: article._id ? article._id : index,
|
|
499
498
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
500
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
499
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
501
500
|
'a',
|
|
502
501
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
503
|
-
|
|
502
|
+
React.createElement(
|
|
504
503
|
LazyLoad,
|
|
505
|
-
{ height: imageHeight, placeholder:
|
|
506
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
504
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
505
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
507
506
|
),
|
|
508
|
-
article.source &&
|
|
507
|
+
article.source && React.createElement(
|
|
509
508
|
'div',
|
|
510
509
|
{ className: 'content-category-label' },
|
|
511
|
-
|
|
510
|
+
React.createElement(
|
|
512
511
|
'div',
|
|
513
512
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
514
513
|
article.source
|
|
515
514
|
)
|
|
516
515
|
)
|
|
517
516
|
),
|
|
518
|
-
|
|
517
|
+
React.createElement(
|
|
519
518
|
Media.Body,
|
|
520
519
|
null,
|
|
521
|
-
|
|
520
|
+
React.createElement(
|
|
522
521
|
'a',
|
|
523
522
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
524
|
-
article.title &&
|
|
523
|
+
article.title && React.createElement(
|
|
525
524
|
'h4',
|
|
526
525
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
527
526
|
article.title
|
|
528
527
|
)
|
|
529
528
|
),
|
|
530
|
-
showPublished && !showTimeDiff && article.published &&
|
|
529
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
531
530
|
'p',
|
|
532
531
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
533
532
|
moment(article.published).format('MMMM DD, YYYY')
|
|
534
533
|
),
|
|
535
|
-
showTimeDiff && article.published &&
|
|
534
|
+
showTimeDiff && article.published && React.createElement(
|
|
536
535
|
'p',
|
|
537
536
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
538
537
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -540,20 +539,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
540
539
|
return null;
|
|
541
540
|
}
|
|
542
541
|
if (index === 3) {
|
|
543
|
-
return
|
|
544
|
-
|
|
542
|
+
return React.createElement(
|
|
543
|
+
React.Fragment,
|
|
545
544
|
null,
|
|
546
|
-
|
|
545
|
+
React.createElement(
|
|
547
546
|
'em',
|
|
548
547
|
{ style: { marginRight: '.5rem' } },
|
|
549
548
|
'...'
|
|
550
549
|
)
|
|
551
550
|
);
|
|
552
551
|
}
|
|
553
|
-
return
|
|
554
|
-
|
|
552
|
+
return React.createElement(
|
|
553
|
+
React.Fragment,
|
|
555
554
|
null,
|
|
556
|
-
|
|
555
|
+
React.createElement(
|
|
557
556
|
'em',
|
|
558
557
|
null,
|
|
559
558
|
taxonomy.name
|
|
@@ -563,34 +562,34 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
563
562
|
);
|
|
564
563
|
}),
|
|
565
564
|
' ',
|
|
566
|
-
|
|
565
|
+
React.createElement(
|
|
567
566
|
'span',
|
|
568
567
|
{ style: { display: 'inline-block' } },
|
|
569
568
|
timeDifferenceCalc(article.published)
|
|
570
569
|
)
|
|
571
570
|
),
|
|
572
|
-
|
|
571
|
+
React.createElement(
|
|
573
572
|
'div',
|
|
574
573
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
575
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
574
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
576
575
|
LazyLoad,
|
|
577
576
|
{ height: 50 },
|
|
578
|
-
|
|
577
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
579
578
|
)
|
|
580
579
|
),
|
|
581
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
580
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
582
581
|
'div',
|
|
583
582
|
{ className: 'content-category-label' },
|
|
584
|
-
|
|
583
|
+
React.createElement(
|
|
585
584
|
'div',
|
|
586
585
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
587
586
|
article.source
|
|
588
587
|
)
|
|
589
588
|
),
|
|
590
|
-
|
|
589
|
+
React.createElement(
|
|
591
590
|
'div',
|
|
592
591
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
593
|
-
showCategory && article.contentCategory &&
|
|
592
|
+
showCategory && article.contentCategory && React.createElement(
|
|
594
593
|
'p',
|
|
595
594
|
{
|
|
596
595
|
className: 'article-category',
|
|
@@ -604,7 +603,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
604
603
|
} },
|
|
605
604
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
606
605
|
),
|
|
607
|
-
article.issueSection && article.issueSection.name &&
|
|
606
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
608
607
|
'p',
|
|
609
608
|
{
|
|
610
609
|
className: 'issueSection',
|
|
@@ -620,37 +619,37 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
620
619
|
article.issueSection.name
|
|
621
620
|
)
|
|
622
621
|
),
|
|
623
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
622
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
624
623
|
'div',
|
|
625
624
|
{ className: 'pubInfo' },
|
|
626
|
-
article.volume &&
|
|
625
|
+
article.volume && React.createElement(
|
|
627
626
|
'p',
|
|
628
627
|
{ className: 'qdeVolume' },
|
|
629
628
|
article.volume
|
|
630
629
|
),
|
|
631
|
-
article.issue &&
|
|
630
|
+
article.issue && React.createElement(
|
|
632
631
|
'p',
|
|
633
632
|
{ className: 'qdeIssue' },
|
|
634
633
|
article.issue
|
|
635
634
|
)
|
|
636
635
|
),
|
|
637
|
-
showIntro && article.summary &&
|
|
636
|
+
showIntro && article.summary && React.createElement(
|
|
638
637
|
'p',
|
|
639
638
|
{ className: 'pt-2 card-text' },
|
|
640
639
|
clean_html_1(article.summary)
|
|
641
640
|
)
|
|
642
641
|
)
|
|
643
642
|
),
|
|
644
|
-
|
|
643
|
+
React.createElement(
|
|
645
644
|
'div',
|
|
646
645
|
null,
|
|
647
|
-
|
|
646
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
648
647
|
)
|
|
649
648
|
);
|
|
650
649
|
} else return null;
|
|
651
650
|
}) :
|
|
652
651
|
// For Javascript Disabled Cases
|
|
653
|
-
|
|
652
|
+
React.createElement(
|
|
654
653
|
'noscript',
|
|
655
654
|
null,
|
|
656
655
|
data.map(function (article, index) {
|
|
@@ -659,48 +658,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
659
658
|
if (article._type === 'feature') {
|
|
660
659
|
featureCount++;
|
|
661
660
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
662
|
-
return
|
|
661
|
+
return React.createElement(
|
|
663
662
|
Media,
|
|
664
663
|
{
|
|
665
664
|
key: article._id ? article._id : index,
|
|
666
665
|
className: 'feature-media',
|
|
667
666
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
668
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
667
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
669
668
|
'a',
|
|
670
669
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
671
|
-
|
|
670
|
+
React.createElement(
|
|
672
671
|
LazyLoad,
|
|
673
|
-
{ height: imageHeight, placeholder:
|
|
674
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
672
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
673
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
675
674
|
),
|
|
676
|
-
article.source &&
|
|
675
|
+
article.source && React.createElement(
|
|
677
676
|
'div',
|
|
678
677
|
{ className: 'content-category-label' },
|
|
679
|
-
|
|
678
|
+
React.createElement(
|
|
680
679
|
'div',
|
|
681
680
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
682
681
|
article.source
|
|
683
682
|
)
|
|
684
683
|
)
|
|
685
684
|
),
|
|
686
|
-
|
|
685
|
+
React.createElement(
|
|
687
686
|
Media.Body,
|
|
688
687
|
null,
|
|
689
|
-
|
|
688
|
+
React.createElement(
|
|
690
689
|
'a',
|
|
691
690
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
692
|
-
article.title &&
|
|
691
|
+
article.title && React.createElement(
|
|
693
692
|
'h4',
|
|
694
693
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
695
694
|
article.title
|
|
696
695
|
)
|
|
697
696
|
),
|
|
698
|
-
showPublished && article.published &&
|
|
697
|
+
showPublished && article.published && React.createElement(
|
|
699
698
|
'p',
|
|
700
699
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
701
700
|
moment(article.published).format('MMMM DD, YYYY')
|
|
702
701
|
),
|
|
703
|
-
showTimeDiff && article.published &&
|
|
702
|
+
showTimeDiff && article.published && React.createElement(
|
|
704
703
|
'p',
|
|
705
704
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
706
705
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -708,20 +707,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
708
707
|
return null;
|
|
709
708
|
}
|
|
710
709
|
if (index === 3) {
|
|
711
|
-
return
|
|
712
|
-
|
|
710
|
+
return React.createElement(
|
|
711
|
+
React.Fragment,
|
|
713
712
|
null,
|
|
714
|
-
|
|
713
|
+
React.createElement(
|
|
715
714
|
'em',
|
|
716
715
|
{ style: { marginRight: '.5rem' } },
|
|
717
716
|
'...'
|
|
718
717
|
)
|
|
719
718
|
);
|
|
720
719
|
}
|
|
721
|
-
return
|
|
722
|
-
|
|
720
|
+
return React.createElement(
|
|
721
|
+
React.Fragment,
|
|
723
722
|
null,
|
|
724
|
-
|
|
723
|
+
React.createElement(
|
|
725
724
|
'em',
|
|
726
725
|
null,
|
|
727
726
|
taxonomy.name
|
|
@@ -731,30 +730,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
731
730
|
);
|
|
732
731
|
}),
|
|
733
732
|
' ',
|
|
734
|
-
|
|
733
|
+
React.createElement(
|
|
735
734
|
'span',
|
|
736
735
|
{ style: { display: 'inline-block' } },
|
|
737
736
|
timeDifferenceCalc(article.published)
|
|
738
737
|
)
|
|
739
738
|
),
|
|
740
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
739
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
741
740
|
LazyLoad,
|
|
742
741
|
{ height: 50 },
|
|
743
|
-
|
|
742
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
744
743
|
),
|
|
745
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
744
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
746
745
|
'div',
|
|
747
746
|
{ className: 'content-category-label' },
|
|
748
|
-
|
|
747
|
+
React.createElement(
|
|
749
748
|
'div',
|
|
750
749
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
751
750
|
article.source
|
|
752
751
|
)
|
|
753
752
|
),
|
|
754
|
-
|
|
753
|
+
React.createElement(
|
|
755
754
|
'div',
|
|
756
755
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
757
|
-
showCategory && article.contentCategory &&
|
|
756
|
+
showCategory && article.contentCategory && React.createElement(
|
|
758
757
|
'p',
|
|
759
758
|
{
|
|
760
759
|
className: 'article-category',
|
|
@@ -768,7 +767,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
768
767
|
} },
|
|
769
768
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
770
769
|
),
|
|
771
|
-
article.issueSection && article.issueSection.name &&
|
|
770
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
772
771
|
'p',
|
|
773
772
|
{
|
|
774
773
|
className: 'issueSection',
|
|
@@ -784,21 +783,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
784
783
|
article.issueSection.name
|
|
785
784
|
)
|
|
786
785
|
),
|
|
787
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
786
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
788
787
|
'div',
|
|
789
788
|
{ className: 'pubInfo' },
|
|
790
|
-
article.volume &&
|
|
789
|
+
article.volume && React.createElement(
|
|
791
790
|
'p',
|
|
792
791
|
{ className: 'qdeVolume' },
|
|
793
792
|
article.volume
|
|
794
793
|
),
|
|
795
|
-
article.issue &&
|
|
794
|
+
article.issue && React.createElement(
|
|
796
795
|
'p',
|
|
797
796
|
{ className: 'qdeIssue' },
|
|
798
797
|
article.issue
|
|
799
798
|
)
|
|
800
799
|
),
|
|
801
|
-
showIntro && article.summary &&
|
|
800
|
+
showIntro && article.summary && React.createElement(
|
|
802
801
|
'p',
|
|
803
802
|
{ className: 'pt-2 card-text' },
|
|
804
803
|
clean_html_1(article.summary)
|
|
@@ -806,48 +805,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
806
805
|
)
|
|
807
806
|
);
|
|
808
807
|
} else {
|
|
809
|
-
return
|
|
808
|
+
return React.createElement(
|
|
810
809
|
Media,
|
|
811
810
|
{
|
|
812
811
|
key: article._id ? article._id : index,
|
|
813
812
|
className: 'feature-media',
|
|
814
813
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
815
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
814
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
816
815
|
'a',
|
|
817
816
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
818
|
-
|
|
817
|
+
React.createElement(
|
|
819
818
|
LazyLoad,
|
|
820
|
-
{ height: imageHeight, placeholder:
|
|
821
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
819
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
820
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
822
821
|
),
|
|
823
|
-
article.source &&
|
|
822
|
+
article.source && React.createElement(
|
|
824
823
|
'div',
|
|
825
824
|
{ className: 'content-category-label' },
|
|
826
|
-
|
|
825
|
+
React.createElement(
|
|
827
826
|
'div',
|
|
828
827
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
829
828
|
article.source
|
|
830
829
|
)
|
|
831
830
|
)
|
|
832
831
|
),
|
|
833
|
-
|
|
832
|
+
React.createElement(
|
|
834
833
|
Media.Body,
|
|
835
834
|
null,
|
|
836
|
-
|
|
835
|
+
React.createElement(
|
|
837
836
|
'a',
|
|
838
837
|
{ href: article.url.current },
|
|
839
|
-
article.title &&
|
|
838
|
+
article.title && React.createElement(
|
|
840
839
|
'h4',
|
|
841
840
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
842
841
|
article.title
|
|
843
842
|
)
|
|
844
843
|
),
|
|
845
|
-
showPublished && article.published &&
|
|
844
|
+
showPublished && article.published && React.createElement(
|
|
846
845
|
'p',
|
|
847
846
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
848
847
|
moment(article.published).format('MMMM DD, YYYY')
|
|
849
848
|
),
|
|
850
|
-
showTimeDiff && article.published &&
|
|
849
|
+
showTimeDiff && article.published && React.createElement(
|
|
851
850
|
'p',
|
|
852
851
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
853
852
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -855,20 +854,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
855
854
|
return null;
|
|
856
855
|
}
|
|
857
856
|
if (index === 3) {
|
|
858
|
-
return
|
|
859
|
-
|
|
857
|
+
return React.createElement(
|
|
858
|
+
React.Fragment,
|
|
860
859
|
null,
|
|
861
|
-
|
|
860
|
+
React.createElement(
|
|
862
861
|
'em',
|
|
863
862
|
{ style: { marginRight: '.5rem' } },
|
|
864
863
|
'...'
|
|
865
864
|
)
|
|
866
865
|
);
|
|
867
866
|
}
|
|
868
|
-
return
|
|
869
|
-
|
|
867
|
+
return React.createElement(
|
|
868
|
+
React.Fragment,
|
|
870
869
|
null,
|
|
871
|
-
|
|
870
|
+
React.createElement(
|
|
872
871
|
'em',
|
|
873
872
|
null,
|
|
874
873
|
taxonomy.name
|
|
@@ -878,30 +877,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
878
877
|
);
|
|
879
878
|
}),
|
|
880
879
|
' ',
|
|
881
|
-
|
|
880
|
+
React.createElement(
|
|
882
881
|
'span',
|
|
883
882
|
{ style: { display: 'inline-block' } },
|
|
884
883
|
timeDifferenceCalc(article.published)
|
|
885
884
|
)
|
|
886
885
|
),
|
|
887
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
886
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
888
887
|
LazyLoad,
|
|
889
888
|
{ height: 50 },
|
|
890
|
-
|
|
889
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
891
890
|
),
|
|
892
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
891
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
893
892
|
'div',
|
|
894
893
|
{ className: 'content-category-label' },
|
|
895
|
-
|
|
894
|
+
React.createElement(
|
|
896
895
|
'div',
|
|
897
896
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
898
897
|
article.source
|
|
899
898
|
)
|
|
900
899
|
),
|
|
901
|
-
|
|
900
|
+
React.createElement(
|
|
902
901
|
'div',
|
|
903
902
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
904
|
-
showCategory && article.contentCategory &&
|
|
903
|
+
showCategory && article.contentCategory && React.createElement(
|
|
905
904
|
'p',
|
|
906
905
|
{
|
|
907
906
|
className: 'article-category',
|
|
@@ -915,7 +914,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
915
914
|
} },
|
|
916
915
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
917
916
|
),
|
|
918
|
-
article.issueSection && article.issueSection.name &&
|
|
917
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
919
918
|
'p',
|
|
920
919
|
{
|
|
921
920
|
className: 'issueSection',
|
|
@@ -931,21 +930,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
931
930
|
article.issueSection.name
|
|
932
931
|
)
|
|
933
932
|
),
|
|
934
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
933
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
935
934
|
'div',
|
|
936
935
|
{ className: 'pubInfo' },
|
|
937
|
-
article.volume &&
|
|
936
|
+
article.volume && React.createElement(
|
|
938
937
|
'p',
|
|
939
938
|
{ className: 'qdeVolume' },
|
|
940
939
|
article.volume
|
|
941
940
|
),
|
|
942
|
-
article.issue &&
|
|
941
|
+
article.issue && React.createElement(
|
|
943
942
|
'p',
|
|
944
943
|
{ className: 'qdeIssue' },
|
|
945
944
|
article.issue
|
|
946
945
|
)
|
|
947
946
|
),
|
|
948
|
-
showIntro && article.summary &&
|
|
947
|
+
showIntro && article.summary && React.createElement(
|
|
949
948
|
'p',
|
|
950
949
|
{ className: 'pt-2 card-text' },
|
|
951
950
|
clean_html_1(article.summary)
|
|
@@ -954,55 +953,55 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
954
953
|
);
|
|
955
954
|
}
|
|
956
955
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
957
|
-
return
|
|
956
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
958
957
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
959
|
-
return
|
|
958
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
960
959
|
}
|
|
961
960
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
962
|
-
return
|
|
963
|
-
|
|
961
|
+
return React.createElement(
|
|
962
|
+
React.Fragment,
|
|
964
963
|
{ key: article._id ? article._id : index },
|
|
965
|
-
|
|
964
|
+
React.createElement(
|
|
966
965
|
Media,
|
|
967
966
|
{
|
|
968
967
|
key: article._id ? article._id : index,
|
|
969
968
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
970
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
969
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
971
970
|
'a',
|
|
972
971
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
973
|
-
|
|
972
|
+
React.createElement(
|
|
974
973
|
LazyLoad,
|
|
975
|
-
{ height: imageHeight, placeholder:
|
|
976
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
974
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
975
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
977
976
|
),
|
|
978
|
-
article.source &&
|
|
977
|
+
article.source && React.createElement(
|
|
979
978
|
'div',
|
|
980
979
|
{ className: 'content-category-label' },
|
|
981
|
-
|
|
980
|
+
React.createElement(
|
|
982
981
|
'div',
|
|
983
982
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
984
983
|
article.source
|
|
985
984
|
)
|
|
986
985
|
)
|
|
987
986
|
),
|
|
988
|
-
|
|
987
|
+
React.createElement(
|
|
989
988
|
Media.Body,
|
|
990
989
|
null,
|
|
991
|
-
|
|
990
|
+
React.createElement(
|
|
992
991
|
'a',
|
|
993
992
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
994
|
-
article.title &&
|
|
993
|
+
article.title && React.createElement(
|
|
995
994
|
'h4',
|
|
996
995
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
997
996
|
article.title
|
|
998
997
|
)
|
|
999
998
|
),
|
|
1000
|
-
showPublished && article.published &&
|
|
999
|
+
showPublished && article.published && React.createElement(
|
|
1001
1000
|
'p',
|
|
1002
1001
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1003
1002
|
moment(article.published).format('MMMM DD, YYYY')
|
|
1004
1003
|
),
|
|
1005
|
-
showTimeDiff && article.published &&
|
|
1004
|
+
showTimeDiff && article.published && React.createElement(
|
|
1006
1005
|
'p',
|
|
1007
1006
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1008
1007
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1010,20 +1009,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1010
1009
|
return null;
|
|
1011
1010
|
}
|
|
1012
1011
|
if (index === 3) {
|
|
1013
|
-
return
|
|
1014
|
-
|
|
1012
|
+
return React.createElement(
|
|
1013
|
+
React.Fragment,
|
|
1015
1014
|
null,
|
|
1016
|
-
|
|
1015
|
+
React.createElement(
|
|
1017
1016
|
'em',
|
|
1018
1017
|
{ style: { marginRight: '.5rem' } },
|
|
1019
1018
|
'...'
|
|
1020
1019
|
)
|
|
1021
1020
|
);
|
|
1022
1021
|
}
|
|
1023
|
-
return
|
|
1024
|
-
|
|
1022
|
+
return React.createElement(
|
|
1023
|
+
React.Fragment,
|
|
1025
1024
|
null,
|
|
1026
|
-
|
|
1025
|
+
React.createElement(
|
|
1027
1026
|
'em',
|
|
1028
1027
|
null,
|
|
1029
1028
|
taxonomy.name
|
|
@@ -1033,34 +1032,34 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1033
1032
|
);
|
|
1034
1033
|
}),
|
|
1035
1034
|
' ',
|
|
1036
|
-
|
|
1035
|
+
React.createElement(
|
|
1037
1036
|
'span',
|
|
1038
1037
|
{ style: { display: 'inline-block' } },
|
|
1039
1038
|
timeDifferenceCalc(article.published)
|
|
1040
1039
|
)
|
|
1041
1040
|
),
|
|
1042
|
-
|
|
1041
|
+
React.createElement(
|
|
1043
1042
|
'div',
|
|
1044
1043
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1045
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1044
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1046
1045
|
LazyLoad,
|
|
1047
1046
|
{ height: 50 },
|
|
1048
|
-
|
|
1047
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1049
1048
|
)
|
|
1050
1049
|
),
|
|
1051
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1050
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1052
1051
|
'div',
|
|
1053
1052
|
{ className: 'content-category-label' },
|
|
1054
|
-
|
|
1053
|
+
React.createElement(
|
|
1055
1054
|
'div',
|
|
1056
1055
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1057
1056
|
article.source
|
|
1058
1057
|
)
|
|
1059
1058
|
),
|
|
1060
|
-
|
|
1059
|
+
React.createElement(
|
|
1061
1060
|
'div',
|
|
1062
1061
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1063
|
-
showCategory && article.contentCategory &&
|
|
1062
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1064
1063
|
'p',
|
|
1065
1064
|
{
|
|
1066
1065
|
className: 'article-category',
|
|
@@ -1074,7 +1073,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1074
1073
|
} },
|
|
1075
1074
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1076
1075
|
),
|
|
1077
|
-
article.issueSection && article.issueSection.name &&
|
|
1076
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1078
1077
|
'p',
|
|
1079
1078
|
{
|
|
1080
1079
|
className: 'issueSection',
|
|
@@ -1090,49 +1089,49 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1090
1089
|
article.issueSection.name
|
|
1091
1090
|
)
|
|
1092
1091
|
),
|
|
1093
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1092
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1094
1093
|
'div',
|
|
1095
1094
|
{ className: 'pubInfo' },
|
|
1096
|
-
article.volume &&
|
|
1095
|
+
article.volume && React.createElement(
|
|
1097
1096
|
'p',
|
|
1098
1097
|
{ className: 'qdeVolume' },
|
|
1099
1098
|
article.volume
|
|
1100
1099
|
),
|
|
1101
|
-
article.issue &&
|
|
1100
|
+
article.issue && React.createElement(
|
|
1102
1101
|
'p',
|
|
1103
1102
|
{ className: 'qdeIssue' },
|
|
1104
1103
|
article.issue
|
|
1105
1104
|
)
|
|
1106
1105
|
),
|
|
1107
|
-
showIntro && article.summary &&
|
|
1106
|
+
showIntro && article.summary && React.createElement(
|
|
1108
1107
|
'p',
|
|
1109
1108
|
{ className: 'pt-2 card-text' },
|
|
1110
1109
|
clean_html_1(article.summary)
|
|
1111
1110
|
)
|
|
1112
1111
|
)
|
|
1113
1112
|
),
|
|
1114
|
-
|
|
1113
|
+
React.createElement(
|
|
1115
1114
|
'div',
|
|
1116
1115
|
null,
|
|
1117
|
-
|
|
1116
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1118
1117
|
)
|
|
1119
1118
|
);
|
|
1120
1119
|
} else return null;
|
|
1121
1120
|
})
|
|
1122
|
-
) :
|
|
1121
|
+
) : React.createElement(
|
|
1123
1122
|
'div',
|
|
1124
1123
|
null,
|
|
1125
|
-
|
|
1124
|
+
React.createElement(
|
|
1126
1125
|
'h5',
|
|
1127
1126
|
null,
|
|
1128
|
-
|
|
1127
|
+
React.createElement(
|
|
1129
1128
|
'em',
|
|
1130
1129
|
null,
|
|
1131
1130
|
'New content coming soon, please check back later.'
|
|
1132
1131
|
)
|
|
1133
1132
|
)
|
|
1134
1133
|
),
|
|
1135
|
-
|
|
1134
|
+
React.createElement(
|
|
1136
1135
|
'style',
|
|
1137
1136
|
{ jsx: 'true' },
|
|
1138
1137
|
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: fit-content;\n width: -moz-fit-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .sanityDisplayLabel {\n max-width: 100%;\n }\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
@@ -1141,11 +1140,11 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1141
1140
|
};
|
|
1142
1141
|
|
|
1143
1142
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1144
|
-
return
|
|
1145
|
-
|
|
1143
|
+
return React.createElement(
|
|
1144
|
+
React.Fragment,
|
|
1146
1145
|
null,
|
|
1147
|
-
|
|
1148
|
-
|
|
1146
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1147
|
+
React.createElement(
|
|
1149
1148
|
'style',
|
|
1150
1149
|
{ jsx: 'true' },
|
|
1151
1150
|
'\n .queuedeck-exp-image-placeholder {\n width: 240px;\n height: 0;\n padding-top: calc(240px * 9 / 16);\n margin: 0 1rem 0 0;\n }\n @media only screen and (max-width: 767px) {\n .queuedeck-exp-image-placeholder {\n width: 100%;\n height: 0;\n padding-top: calc(100% * 9 / 16);\n margin: 0 0 1rem 0;\n }\n }\n '
|
|
@@ -1155,7 +1154,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1155
1154
|
|
|
1156
1155
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1157
1156
|
var i = numberOfItemsBeforeAd < 6 ? 0 : ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1158
|
-
return
|
|
1157
|
+
return React.createElement(
|
|
1159
1158
|
'div',
|
|
1160
1159
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1161
1160
|
rightItems[i].component
|
|
@@ -1317,25 +1316,25 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1317
1316
|
};
|
|
1318
1317
|
}();
|
|
1319
1318
|
|
|
1320
|
-
return
|
|
1319
|
+
return React.createElement(
|
|
1321
1320
|
'div',
|
|
1322
1321
|
{ className: 'queuedeck-expanded' },
|
|
1323
|
-
isDataLoading ?
|
|
1322
|
+
isDataLoading ? React.createElement(
|
|
1324
1323
|
'div',
|
|
1325
1324
|
{ className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
|
|
1326
|
-
|
|
1325
|
+
React.createElement(
|
|
1327
1326
|
Spinner,
|
|
1328
1327
|
{ animation: 'border', role: 'status' },
|
|
1329
|
-
|
|
1328
|
+
React.createElement(
|
|
1330
1329
|
'span',
|
|
1331
1330
|
{ className: 'sr-only' },
|
|
1332
1331
|
'Loading...'
|
|
1333
1332
|
)
|
|
1334
1333
|
)
|
|
1335
|
-
) :
|
|
1334
|
+
) : React.createElement(
|
|
1336
1335
|
Container,
|
|
1337
1336
|
null,
|
|
1338
|
-
|
|
1337
|
+
React.createElement(CardLoader, {
|
|
1339
1338
|
data: data,
|
|
1340
1339
|
client: client,
|
|
1341
1340
|
mapping: mapping,
|
|
@@ -1358,17 +1357,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1358
1357
|
showTaxonomies: showTaxonomies,
|
|
1359
1358
|
showIntro: showIntro
|
|
1360
1359
|
}),
|
|
1361
|
-
|
|
1360
|
+
React.createElement(
|
|
1362
1361
|
'div',
|
|
1363
1362
|
{ className: 'pagination-wrapper' },
|
|
1364
|
-
|
|
1363
|
+
React.createElement(Pagination, {
|
|
1365
1364
|
pageCount: Math.ceil(totalDataCount / itemsPerPage),
|
|
1366
|
-
pageRangeDisplayed:
|
|
1365
|
+
pageRangeDisplayed: main_40 ? 3 : 9,
|
|
1367
1366
|
currentPage: currentPage,
|
|
1368
1367
|
onPageChange: handlePageChange,
|
|
1369
1368
|
needLargePaginateButtons: props.needLargePaginateButtons
|
|
1370
1369
|
}),
|
|
1371
|
-
|
|
1370
|
+
React.createElement(
|
|
1372
1371
|
'style',
|
|
1373
1372
|
{ jsx: 'true' },
|
|
1374
1373
|
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|