@mjhls/mjh-framework 1.0.921 → 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/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-51a39495.js → ADInfeed-a4d973da.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-12db4509.js → ADlgInfeed-def2c25d.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -19
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +49 -48
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +9 -586
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +39 -39
- package/dist/cjs/DeckQueue.js +29 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-bcaa7e3f.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +46 -45
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridContentPaginated.js +46 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -46
- 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 +84 -83
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +38 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-d237146e.js → MediaSeriesCard-be3f9e36.js} +446 -646
- package/dist/cjs/MediaSeriesLanding.js +55 -54
- package/dist/cjs/MediaSeriesLandingPaginated.js +61 -60
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +39 -39
- package/dist/cjs/NavNative.js +39 -39
- 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 +59 -59
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -59
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +32 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-be5f3503.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +38 -38
- package/dist/cjs/RelatedTopicsDropdown.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 -17
- package/dist/cjs/{SeriesSlider-f9128638.js → SeriesSlider-88e59074.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +45 -44
- package/dist/cjs/TemplateNormal.js +45 -45
- 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 -50
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +30 -30
- package/dist/cjs/View.js +94 -92
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- 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-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- 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 +69 -133
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-1359b868.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-0e4427c8.js → index-44481153.js} +21 -40
- 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-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-e6ba0197.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 +143 -143
- 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-6f784d85.js → util-f2c1b65b.js} +1 -1
- 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 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-bba8b026.js → ADInfeed-7ba4f982.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-a45afa1d.js → ADlgInfeed-8eb5060f.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +49 -49
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +55 -54
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +416 -552
- package/dist/esm/AuthWrapper.js +27 -605
- package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -49
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +67 -67
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-4b99f79d.js → Dfp-23281963.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +72 -71
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -142
- package/dist/esm/GridContentPaginated.js +133 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- 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 -68
- 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 +92 -91
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-131f2659.js → MediaSeriesCard-b6034225.js} +707 -907
- package/dist/esm/MediaSeriesLanding.js +80 -79
- package/dist/esm/MediaSeriesLandingPaginated.js +84 -83
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +121 -121
- package/dist/esm/NavNative.js +110 -110
- 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 +93 -93
- package/dist/esm/PartnerDetailListingPaginated.js +91 -91
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-03500094.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- 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 -30
- package/dist/esm/{SeriesSlider-98b7a870.js → SeriesSlider-0a8cfca0.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-1d8a9f59.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 -48
- package/dist/esm/TemplateNormal.js +65 -65
- 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 -62
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +251 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-f089461c.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-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-b4dfe691.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-e903ff31.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-99e66838.js → define-property-6d26cb48.js} +6 -6
- package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-dc6a71fd.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 -44
- package/dist/esm/{getTargeting-0cdf8983.js → getTargeting-ba1ffe43.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-1819118a.js} +24 -43
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-01c66814.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 +138 -138
- package/dist/esm/{inherits-8a801a18.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-425c8ab0.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-ca2c8b8d.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-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-83d9eb10.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-413f5ddb.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +114 -114
- package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/esm/ImageSlider-eab2fe41.js +0 -176
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-c21932b3.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
3
|
-
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
4
|
-
import React__default, { useEffect, useState, useRef } from 'react';
|
|
5
|
-
import { Container, Media } from 'react-bootstrap';
|
|
6
|
-
import urlFor from './urlFor.js';
|
|
7
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
|
-
import { l as lib_3 } from './index-5cc7b406.js';
|
|
11
|
-
import { useRouter } from 'next/router';
|
|
12
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
14
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-bba8b026.js';
|
|
16
|
-
import { A as AuthorComponent } from './AuthorComponent-defe68b6.js';
|
|
17
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-a45afa1d.js';
|
|
19
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
|
-
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import './_iter-detect-
|
|
25
|
-
import './
|
|
26
|
-
import './
|
|
27
|
-
import '
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
8
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
9
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
10
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
28
11
|
import 'prop-types';
|
|
29
12
|
import 'react-bootstrap/Card';
|
|
30
|
-
import './
|
|
31
|
-
import '
|
|
32
|
-
import './isSymbol-
|
|
33
|
-
import './
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import '
|
|
37
|
-
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 { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
19
|
+
import 'react-dom';
|
|
20
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
21
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
22
|
+
import './index-51a80699.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
25
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
26
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
27
|
+
import './stringify-70b72959.js';
|
|
28
|
+
import './asyncToGenerator-7bf8bc4d.js';
|
|
38
29
|
import './Segment.js';
|
|
30
|
+
import './Beam.js';
|
|
31
|
+
import './AdSlot.js';
|
|
32
|
+
import { A as ADInfeed } from './ADInfeed-7ba4f982.js';
|
|
33
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
34
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8eb5060f.js';
|
|
35
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
36
|
+
import { A as AuthorComponent } from './AuthorComponent-37ebc2bd.js';
|
|
37
|
+
import { Container, Media } from 'react-bootstrap';
|
|
38
|
+
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
39
39
|
|
|
40
40
|
var renderCardImage = function renderCardImage(row, client) {
|
|
41
41
|
var imageHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
@@ -251,7 +251,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
251
251
|
});
|
|
252
252
|
|
|
253
253
|
var featureCount = 0;
|
|
254
|
-
return
|
|
254
|
+
return React.createElement(
|
|
255
255
|
'div',
|
|
256
256
|
null,
|
|
257
257
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -262,7 +262,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
262
262
|
if (article._type === 'feature') {
|
|
263
263
|
featureCount++;
|
|
264
264
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
265
|
-
return
|
|
265
|
+
return React.createElement(
|
|
266
266
|
VisibilitySensor,
|
|
267
267
|
{
|
|
268
268
|
key: article._id ? article._id : index,
|
|
@@ -270,51 +270,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
270
270
|
onChange: function onChange(isVisible) {
|
|
271
271
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
272
272
|
} },
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
React.createElement(
|
|
274
|
+
React.Fragment,
|
|
275
275
|
null,
|
|
276
|
-
|
|
276
|
+
React.createElement(
|
|
277
277
|
Media,
|
|
278
278
|
{
|
|
279
279
|
key: article._id ? article._id : index,
|
|
280
280
|
className: 'feature-media',
|
|
281
281
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
282
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
282
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
283
283
|
'a',
|
|
284
284
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
285
|
-
|
|
285
|
+
React.createElement(
|
|
286
286
|
LazyLoad,
|
|
287
|
-
{ height: imageHeight, placeholder:
|
|
288
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
287
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
288
|
+
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 })
|
|
289
289
|
),
|
|
290
|
-
article.source &&
|
|
290
|
+
article.source && React.createElement(
|
|
291
291
|
'div',
|
|
292
292
|
{ className: 'content-category-label' },
|
|
293
|
-
|
|
293
|
+
React.createElement(
|
|
294
294
|
'div',
|
|
295
295
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
296
296
|
article.source
|
|
297
297
|
)
|
|
298
298
|
)
|
|
299
299
|
),
|
|
300
|
-
|
|
300
|
+
React.createElement(
|
|
301
301
|
Media.Body,
|
|
302
302
|
null,
|
|
303
|
-
|
|
303
|
+
React.createElement(
|
|
304
304
|
'a',
|
|
305
305
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
306
|
-
article.title &&
|
|
306
|
+
article.title && React.createElement(
|
|
307
307
|
'h4',
|
|
308
308
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
309
309
|
article.title
|
|
310
310
|
)
|
|
311
311
|
),
|
|
312
|
-
showPublished && !showTimeDiff && article.published &&
|
|
312
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
313
313
|
'p',
|
|
314
314
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
315
315
|
moment(article.published).format('MMMM DD, YYYY')
|
|
316
316
|
),
|
|
317
|
-
showTimeDiff && article.published &&
|
|
317
|
+
showTimeDiff && article.published && React.createElement(
|
|
318
318
|
'p',
|
|
319
319
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
320
320
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -322,20 +322,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
322
322
|
return null;
|
|
323
323
|
}
|
|
324
324
|
if (index === 3) {
|
|
325
|
-
return
|
|
326
|
-
|
|
325
|
+
return React.createElement(
|
|
326
|
+
React.Fragment,
|
|
327
327
|
null,
|
|
328
|
-
|
|
328
|
+
React.createElement(
|
|
329
329
|
'em',
|
|
330
330
|
{ style: { marginRight: '.5rem' } },
|
|
331
331
|
'...'
|
|
332
332
|
)
|
|
333
333
|
);
|
|
334
334
|
}
|
|
335
|
-
return
|
|
336
|
-
|
|
335
|
+
return React.createElement(
|
|
336
|
+
React.Fragment,
|
|
337
337
|
null,
|
|
338
|
-
|
|
338
|
+
React.createElement(
|
|
339
339
|
'em',
|
|
340
340
|
null,
|
|
341
341
|
taxonomy.name
|
|
@@ -345,30 +345,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
345
345
|
);
|
|
346
346
|
}),
|
|
347
347
|
' ',
|
|
348
|
-
|
|
348
|
+
React.createElement(
|
|
349
349
|
'span',
|
|
350
350
|
{ style: { display: 'inline-block' } },
|
|
351
351
|
timeDifferenceCalc(article.published)
|
|
352
352
|
)
|
|
353
353
|
),
|
|
354
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
354
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
355
355
|
LazyLoad,
|
|
356
356
|
{ height: 50 },
|
|
357
|
-
|
|
357
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
358
358
|
),
|
|
359
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
359
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
360
360
|
'div',
|
|
361
361
|
{ className: 'content-category-label' },
|
|
362
|
-
|
|
362
|
+
React.createElement(
|
|
363
363
|
'div',
|
|
364
364
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
365
365
|
article.source
|
|
366
366
|
)
|
|
367
367
|
),
|
|
368
|
-
|
|
368
|
+
React.createElement(
|
|
369
369
|
'div',
|
|
370
370
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
371
|
-
showCategory && article.contentCategory &&
|
|
371
|
+
showCategory && article.contentCategory && React.createElement(
|
|
372
372
|
'p',
|
|
373
373
|
{
|
|
374
374
|
className: 'article-category',
|
|
@@ -382,7 +382,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
382
382
|
} },
|
|
383
383
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
384
384
|
),
|
|
385
|
-
article.issueSection && article.issueSection.name &&
|
|
385
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
386
386
|
'p',
|
|
387
387
|
{
|
|
388
388
|
className: 'issueSection',
|
|
@@ -398,21 +398,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
398
398
|
article.issueSection.name
|
|
399
399
|
)
|
|
400
400
|
),
|
|
401
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
401
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
402
402
|
'div',
|
|
403
403
|
{ className: 'pubInfo' },
|
|
404
|
-
article.volume &&
|
|
404
|
+
article.volume && React.createElement(
|
|
405
405
|
'p',
|
|
406
406
|
{ className: 'qdeVolume' },
|
|
407
407
|
article.volume
|
|
408
408
|
),
|
|
409
|
-
article.issue &&
|
|
409
|
+
article.issue && React.createElement(
|
|
410
410
|
'p',
|
|
411
411
|
{ className: 'qdeIssue' },
|
|
412
412
|
article.issue
|
|
413
413
|
)
|
|
414
414
|
),
|
|
415
|
-
showIntro && article.summary &&
|
|
415
|
+
showIntro && article.summary && React.createElement(
|
|
416
416
|
'p',
|
|
417
417
|
{ className: 'pt-2 card-text' },
|
|
418
418
|
clean_html_1(article.summary)
|
|
@@ -422,7 +422,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
422
422
|
)
|
|
423
423
|
);
|
|
424
424
|
} else {
|
|
425
|
-
return
|
|
425
|
+
return React.createElement(
|
|
426
426
|
VisibilitySensor,
|
|
427
427
|
{
|
|
428
428
|
key: article._id ? article._id : index,
|
|
@@ -430,51 +430,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
430
430
|
onChange: function onChange(isVisible) {
|
|
431
431
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
432
432
|
} },
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
React.createElement(
|
|
434
|
+
React.Fragment,
|
|
435
435
|
null,
|
|
436
|
-
|
|
436
|
+
React.createElement(
|
|
437
437
|
Media,
|
|
438
438
|
{
|
|
439
439
|
key: article._id ? article._id : index,
|
|
440
440
|
className: 'feature-media',
|
|
441
441
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
442
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
442
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
443
443
|
'a',
|
|
444
444
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
445
|
-
|
|
445
|
+
React.createElement(
|
|
446
446
|
LazyLoad,
|
|
447
|
-
{ height: imageHeight, placeholder:
|
|
448
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
447
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
448
|
+
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 })
|
|
449
449
|
),
|
|
450
|
-
article.source &&
|
|
450
|
+
article.source && React.createElement(
|
|
451
451
|
'div',
|
|
452
452
|
{ className: 'content-category-label' },
|
|
453
|
-
|
|
453
|
+
React.createElement(
|
|
454
454
|
'div',
|
|
455
455
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
456
456
|
article.source
|
|
457
457
|
)
|
|
458
458
|
)
|
|
459
459
|
),
|
|
460
|
-
|
|
460
|
+
React.createElement(
|
|
461
461
|
Media.Body,
|
|
462
462
|
null,
|
|
463
|
-
|
|
463
|
+
React.createElement(
|
|
464
464
|
'a',
|
|
465
465
|
{ href: article.url.current },
|
|
466
|
-
article.title &&
|
|
466
|
+
article.title && React.createElement(
|
|
467
467
|
'h4',
|
|
468
468
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
469
469
|
article.title
|
|
470
470
|
)
|
|
471
471
|
),
|
|
472
|
-
showPublished && !showTimeDiff && article.published &&
|
|
472
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
473
473
|
'p',
|
|
474
474
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
475
475
|
moment(article.published).format('MMMM DD, YYYY')
|
|
476
476
|
),
|
|
477
|
-
showTimeDiff && article.published &&
|
|
477
|
+
showTimeDiff && article.published && React.createElement(
|
|
478
478
|
'p',
|
|
479
479
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
480
480
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -482,10 +482,10 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
482
482
|
return null;
|
|
483
483
|
}
|
|
484
484
|
if (index === 3) {
|
|
485
|
-
return
|
|
486
|
-
|
|
485
|
+
return React.createElement(
|
|
486
|
+
React.Fragment,
|
|
487
487
|
null,
|
|
488
|
-
|
|
488
|
+
React.createElement(
|
|
489
489
|
'em',
|
|
490
490
|
{ style: { marginRight: '.5rem' } },
|
|
491
491
|
'...'
|
|
@@ -493,20 +493,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
493
493
|
);
|
|
494
494
|
}
|
|
495
495
|
if (index === 3) {
|
|
496
|
-
return
|
|
497
|
-
|
|
496
|
+
return React.createElement(
|
|
497
|
+
React.Fragment,
|
|
498
498
|
null,
|
|
499
|
-
|
|
499
|
+
React.createElement(
|
|
500
500
|
'em',
|
|
501
501
|
{ style: { marginRight: '.5rem' } },
|
|
502
502
|
'...'
|
|
503
503
|
)
|
|
504
504
|
);
|
|
505
505
|
}
|
|
506
|
-
return
|
|
507
|
-
|
|
506
|
+
return React.createElement(
|
|
507
|
+
React.Fragment,
|
|
508
508
|
null,
|
|
509
|
-
|
|
509
|
+
React.createElement(
|
|
510
510
|
'em',
|
|
511
511
|
null,
|
|
512
512
|
taxonomy.name
|
|
@@ -516,30 +516,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
516
516
|
);
|
|
517
517
|
}),
|
|
518
518
|
' ',
|
|
519
|
-
|
|
519
|
+
React.createElement(
|
|
520
520
|
'span',
|
|
521
521
|
{ style: { display: 'inline-block' } },
|
|
522
522
|
timeDifferenceCalc(article.published)
|
|
523
523
|
)
|
|
524
524
|
),
|
|
525
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
525
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
526
526
|
LazyLoad,
|
|
527
527
|
{ height: 50 },
|
|
528
|
-
|
|
528
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
529
529
|
),
|
|
530
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
530
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
531
531
|
'div',
|
|
532
532
|
{ className: 'content-category-label' },
|
|
533
|
-
|
|
533
|
+
React.createElement(
|
|
534
534
|
'div',
|
|
535
535
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
536
536
|
article.source
|
|
537
537
|
)
|
|
538
538
|
),
|
|
539
|
-
|
|
539
|
+
React.createElement(
|
|
540
540
|
'div',
|
|
541
541
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
542
|
-
showCategory && article.contentCategory &&
|
|
542
|
+
showCategory && article.contentCategory && React.createElement(
|
|
543
543
|
'p',
|
|
544
544
|
{
|
|
545
545
|
className: 'article-category',
|
|
@@ -553,7 +553,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
553
553
|
} },
|
|
554
554
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
555
555
|
),
|
|
556
|
-
article.issueSection && article.issueSection.name &&
|
|
556
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
557
557
|
'p',
|
|
558
558
|
{
|
|
559
559
|
className: 'issueSection',
|
|
@@ -569,21 +569,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
569
569
|
article.issueSection.name
|
|
570
570
|
)
|
|
571
571
|
),
|
|
572
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
572
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
573
573
|
'div',
|
|
574
574
|
{ className: 'pubInfo' },
|
|
575
|
-
article.volume &&
|
|
575
|
+
article.volume && React.createElement(
|
|
576
576
|
'p',
|
|
577
577
|
{ className: 'qdeVolume' },
|
|
578
578
|
article.volume
|
|
579
579
|
),
|
|
580
|
-
article.issue &&
|
|
580
|
+
article.issue && React.createElement(
|
|
581
581
|
'p',
|
|
582
582
|
{ className: 'qdeIssue' },
|
|
583
583
|
article.issue
|
|
584
584
|
)
|
|
585
585
|
),
|
|
586
|
-
showIntro && article.summary &&
|
|
586
|
+
showIntro && article.summary && React.createElement(
|
|
587
587
|
'p',
|
|
588
588
|
{ className: 'pt-2 card-text' },
|
|
589
589
|
clean_html_1(article.summary)
|
|
@@ -594,12 +594,12 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
594
594
|
);
|
|
595
595
|
}
|
|
596
596
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
597
|
-
return
|
|
597
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
598
598
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
599
|
-
return
|
|
599
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
600
600
|
}
|
|
601
601
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
602
|
-
return
|
|
602
|
+
return React.createElement(
|
|
603
603
|
VisibilitySensor,
|
|
604
604
|
{
|
|
605
605
|
key: article._id ? article._id : index,
|
|
@@ -607,50 +607,50 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
607
607
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
608
608
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
609
609
|
} },
|
|
610
|
-
|
|
611
|
-
|
|
610
|
+
React.createElement(
|
|
611
|
+
React.Fragment,
|
|
612
612
|
null,
|
|
613
|
-
|
|
613
|
+
React.createElement(
|
|
614
614
|
Media,
|
|
615
615
|
{
|
|
616
616
|
key: article._id ? article._id : index,
|
|
617
617
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
618
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
618
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
619
619
|
'a',
|
|
620
620
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
621
|
-
|
|
621
|
+
React.createElement(
|
|
622
622
|
LazyLoad,
|
|
623
|
-
{ height: imageHeight, placeholder:
|
|
624
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
623
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
624
|
+
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 })
|
|
625
625
|
),
|
|
626
|
-
article.source &&
|
|
626
|
+
article.source && React.createElement(
|
|
627
627
|
'div',
|
|
628
628
|
{ className: 'content-category-label' },
|
|
629
|
-
|
|
629
|
+
React.createElement(
|
|
630
630
|
'div',
|
|
631
631
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
632
632
|
article.source
|
|
633
633
|
)
|
|
634
634
|
)
|
|
635
635
|
),
|
|
636
|
-
|
|
636
|
+
React.createElement(
|
|
637
637
|
Media.Body,
|
|
638
638
|
null,
|
|
639
|
-
|
|
639
|
+
React.createElement(
|
|
640
640
|
'a',
|
|
641
641
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
642
|
-
article.title &&
|
|
642
|
+
article.title && React.createElement(
|
|
643
643
|
'h4',
|
|
644
644
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
645
645
|
article.title
|
|
646
646
|
)
|
|
647
647
|
),
|
|
648
|
-
showPublished && !showTimeDiff && article.published &&
|
|
648
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
649
649
|
'p',
|
|
650
650
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
651
651
|
moment(article.published).format('MMMM DD, YYYY')
|
|
652
652
|
),
|
|
653
|
-
showTimeDiff && article.published &&
|
|
653
|
+
showTimeDiff && article.published && React.createElement(
|
|
654
654
|
'p',
|
|
655
655
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
656
656
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -658,20 +658,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
658
658
|
return null;
|
|
659
659
|
}
|
|
660
660
|
if (index === 3) {
|
|
661
|
-
return
|
|
662
|
-
|
|
661
|
+
return React.createElement(
|
|
662
|
+
React.Fragment,
|
|
663
663
|
null,
|
|
664
|
-
|
|
664
|
+
React.createElement(
|
|
665
665
|
'em',
|
|
666
666
|
{ style: { marginRight: '.5rem' } },
|
|
667
667
|
'...'
|
|
668
668
|
)
|
|
669
669
|
);
|
|
670
670
|
}
|
|
671
|
-
return
|
|
672
|
-
|
|
671
|
+
return React.createElement(
|
|
672
|
+
React.Fragment,
|
|
673
673
|
null,
|
|
674
|
-
|
|
674
|
+
React.createElement(
|
|
675
675
|
'em',
|
|
676
676
|
null,
|
|
677
677
|
taxonomy.name
|
|
@@ -681,34 +681,34 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
681
681
|
);
|
|
682
682
|
}),
|
|
683
683
|
' ',
|
|
684
|
-
|
|
684
|
+
React.createElement(
|
|
685
685
|
'span',
|
|
686
686
|
{ style: { display: 'inline-block' } },
|
|
687
687
|
timeDifferenceCalc(article.published)
|
|
688
688
|
)
|
|
689
689
|
),
|
|
690
|
-
|
|
690
|
+
React.createElement(
|
|
691
691
|
'div',
|
|
692
692
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
693
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
693
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
694
694
|
LazyLoad,
|
|
695
695
|
{ height: 50 },
|
|
696
|
-
|
|
696
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
697
697
|
)
|
|
698
698
|
),
|
|
699
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
699
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
700
700
|
'div',
|
|
701
701
|
{ className: 'content-category-label' },
|
|
702
|
-
|
|
702
|
+
React.createElement(
|
|
703
703
|
'div',
|
|
704
704
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
705
705
|
article.source
|
|
706
706
|
)
|
|
707
707
|
),
|
|
708
|
-
|
|
708
|
+
React.createElement(
|
|
709
709
|
'div',
|
|
710
710
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
711
|
-
showCategory && article.contentCategory &&
|
|
711
|
+
showCategory && article.contentCategory && React.createElement(
|
|
712
712
|
'p',
|
|
713
713
|
{
|
|
714
714
|
className: 'article-category',
|
|
@@ -722,7 +722,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
722
722
|
} },
|
|
723
723
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
724
724
|
),
|
|
725
|
-
article.issueSection && article.issueSection.name &&
|
|
725
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
726
726
|
'p',
|
|
727
727
|
{
|
|
728
728
|
className: 'issueSection',
|
|
@@ -738,38 +738,38 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
738
738
|
article.issueSection.name
|
|
739
739
|
)
|
|
740
740
|
),
|
|
741
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
741
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
742
742
|
'div',
|
|
743
743
|
{ className: 'pubInfo' },
|
|
744
|
-
article.volume &&
|
|
744
|
+
article.volume && React.createElement(
|
|
745
745
|
'p',
|
|
746
746
|
{ className: 'qdeVolume' },
|
|
747
747
|
article.volume
|
|
748
748
|
),
|
|
749
|
-
article.issue &&
|
|
749
|
+
article.issue && React.createElement(
|
|
750
750
|
'p',
|
|
751
751
|
{ className: 'qdeIssue' },
|
|
752
752
|
article.issue
|
|
753
753
|
)
|
|
754
754
|
),
|
|
755
|
-
showIntro && article.summary &&
|
|
755
|
+
showIntro && article.summary && React.createElement(
|
|
756
756
|
'p',
|
|
757
757
|
{ className: 'pt-2 card-text' },
|
|
758
758
|
clean_html_1(article.summary)
|
|
759
759
|
)
|
|
760
760
|
)
|
|
761
761
|
),
|
|
762
|
-
|
|
762
|
+
React.createElement(
|
|
763
763
|
'div',
|
|
764
764
|
null,
|
|
765
|
-
|
|
765
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
766
766
|
)
|
|
767
767
|
)
|
|
768
768
|
);
|
|
769
769
|
} else return null;
|
|
770
770
|
}) :
|
|
771
771
|
// For Javascript Disabled Cases
|
|
772
|
-
|
|
772
|
+
React.createElement(
|
|
773
773
|
'noscript',
|
|
774
774
|
null,
|
|
775
775
|
data.map(function (article, index) {
|
|
@@ -779,7 +779,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
779
779
|
if (article._type === 'feature') {
|
|
780
780
|
featureCount++;
|
|
781
781
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
782
|
-
return
|
|
782
|
+
return React.createElement(
|
|
783
783
|
VisibilitySensor,
|
|
784
784
|
{
|
|
785
785
|
key: article._id ? article._id : index,
|
|
@@ -787,51 +787,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
787
787
|
onChange: function onChange(isVisible) {
|
|
788
788
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
789
789
|
} },
|
|
790
|
-
|
|
791
|
-
|
|
790
|
+
React.createElement(
|
|
791
|
+
React.Fragment,
|
|
792
792
|
null,
|
|
793
|
-
|
|
793
|
+
React.createElement(
|
|
794
794
|
Media,
|
|
795
795
|
{
|
|
796
796
|
key: article._id ? article._id : index,
|
|
797
797
|
className: 'feature-media',
|
|
798
798
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
799
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
799
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
800
800
|
'a',
|
|
801
801
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
802
|
-
|
|
802
|
+
React.createElement(
|
|
803
803
|
LazyLoad,
|
|
804
|
-
{ height: imageHeight, placeholder:
|
|
805
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
804
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
805
|
+
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 })
|
|
806
806
|
),
|
|
807
|
-
article.source &&
|
|
807
|
+
article.source && React.createElement(
|
|
808
808
|
'div',
|
|
809
809
|
{ className: 'content-category-label' },
|
|
810
|
-
|
|
810
|
+
React.createElement(
|
|
811
811
|
'div',
|
|
812
812
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
813
813
|
article.source
|
|
814
814
|
)
|
|
815
815
|
)
|
|
816
816
|
),
|
|
817
|
-
|
|
817
|
+
React.createElement(
|
|
818
818
|
Media.Body,
|
|
819
819
|
null,
|
|
820
|
-
|
|
820
|
+
React.createElement(
|
|
821
821
|
'a',
|
|
822
822
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
823
|
-
article.title &&
|
|
823
|
+
article.title && React.createElement(
|
|
824
824
|
'h4',
|
|
825
825
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
826
826
|
article.title
|
|
827
827
|
)
|
|
828
828
|
),
|
|
829
|
-
showPublished && article.published &&
|
|
829
|
+
showPublished && article.published && React.createElement(
|
|
830
830
|
'p',
|
|
831
831
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
832
832
|
moment(article.published).format('MMMM DD, YYYY')
|
|
833
833
|
),
|
|
834
|
-
showTimeDiff && article.published &&
|
|
834
|
+
showTimeDiff && article.published && React.createElement(
|
|
835
835
|
'p',
|
|
836
836
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
837
837
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -839,20 +839,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
839
839
|
return null;
|
|
840
840
|
}
|
|
841
841
|
if (index === 3) {
|
|
842
|
-
return
|
|
843
|
-
|
|
842
|
+
return React.createElement(
|
|
843
|
+
React.Fragment,
|
|
844
844
|
null,
|
|
845
|
-
|
|
845
|
+
React.createElement(
|
|
846
846
|
'em',
|
|
847
847
|
{ style: { marginRight: '.5rem' } },
|
|
848
848
|
'...'
|
|
849
849
|
)
|
|
850
850
|
);
|
|
851
851
|
}
|
|
852
|
-
return
|
|
853
|
-
|
|
852
|
+
return React.createElement(
|
|
853
|
+
React.Fragment,
|
|
854
854
|
null,
|
|
855
|
-
|
|
855
|
+
React.createElement(
|
|
856
856
|
'em',
|
|
857
857
|
null,
|
|
858
858
|
taxonomy.name
|
|
@@ -862,30 +862,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
862
862
|
);
|
|
863
863
|
}),
|
|
864
864
|
' ',
|
|
865
|
-
|
|
865
|
+
React.createElement(
|
|
866
866
|
'span',
|
|
867
867
|
{ style: { display: 'inline-block' } },
|
|
868
868
|
timeDifferenceCalc(article.published)
|
|
869
869
|
)
|
|
870
870
|
),
|
|
871
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
871
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
872
872
|
LazyLoad,
|
|
873
873
|
{ height: 50 },
|
|
874
|
-
|
|
874
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
875
875
|
),
|
|
876
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
876
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
877
877
|
'div',
|
|
878
878
|
{ className: 'content-category-label' },
|
|
879
|
-
|
|
879
|
+
React.createElement(
|
|
880
880
|
'div',
|
|
881
881
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
882
882
|
article.source
|
|
883
883
|
)
|
|
884
884
|
),
|
|
885
|
-
|
|
885
|
+
React.createElement(
|
|
886
886
|
'div',
|
|
887
887
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
888
|
-
showCategory && article.contentCategory &&
|
|
888
|
+
showCategory && article.contentCategory && React.createElement(
|
|
889
889
|
'p',
|
|
890
890
|
{
|
|
891
891
|
className: 'article-category',
|
|
@@ -899,7 +899,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
899
899
|
} },
|
|
900
900
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
901
901
|
),
|
|
902
|
-
article.issueSection && article.issueSection.name &&
|
|
902
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
903
903
|
'p',
|
|
904
904
|
{
|
|
905
905
|
className: 'issueSection',
|
|
@@ -915,21 +915,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
915
915
|
article.issueSection.name
|
|
916
916
|
)
|
|
917
917
|
),
|
|
918
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
918
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
919
919
|
'div',
|
|
920
920
|
{ className: 'pubInfo' },
|
|
921
|
-
article.volume &&
|
|
921
|
+
article.volume && React.createElement(
|
|
922
922
|
'p',
|
|
923
923
|
{ className: 'qdeVolume' },
|
|
924
924
|
article.volume
|
|
925
925
|
),
|
|
926
|
-
article.issue &&
|
|
926
|
+
article.issue && React.createElement(
|
|
927
927
|
'p',
|
|
928
928
|
{ className: 'qdeIssue' },
|
|
929
929
|
article.issue
|
|
930
930
|
)
|
|
931
931
|
),
|
|
932
|
-
showIntro && article.summary &&
|
|
932
|
+
showIntro && article.summary && React.createElement(
|
|
933
933
|
'p',
|
|
934
934
|
{ className: 'pt-2 card-text' },
|
|
935
935
|
clean_html_1(article.summary)
|
|
@@ -939,7 +939,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
939
939
|
)
|
|
940
940
|
);
|
|
941
941
|
} else {
|
|
942
|
-
return
|
|
942
|
+
return React.createElement(
|
|
943
943
|
VisibilitySensor,
|
|
944
944
|
{
|
|
945
945
|
key: article._id ? article._id : index,
|
|
@@ -947,51 +947,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
947
947
|
onChange: function onChange(isVisible) {
|
|
948
948
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
949
949
|
} },
|
|
950
|
-
|
|
951
|
-
|
|
950
|
+
React.createElement(
|
|
951
|
+
React.Fragment,
|
|
952
952
|
null,
|
|
953
|
-
|
|
953
|
+
React.createElement(
|
|
954
954
|
Media,
|
|
955
955
|
{
|
|
956
956
|
key: article._id ? article._id : index,
|
|
957
957
|
className: 'feature-media',
|
|
958
958
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
959
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
959
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
960
960
|
'a',
|
|
961
961
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
962
|
-
|
|
962
|
+
React.createElement(
|
|
963
963
|
LazyLoad,
|
|
964
|
-
{ height: imageHeight, placeholder:
|
|
965
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
964
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
965
|
+
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 })
|
|
966
966
|
),
|
|
967
|
-
article.source &&
|
|
967
|
+
article.source && React.createElement(
|
|
968
968
|
'div',
|
|
969
969
|
{ className: 'content-category-label' },
|
|
970
|
-
|
|
970
|
+
React.createElement(
|
|
971
971
|
'div',
|
|
972
972
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
973
973
|
article.source
|
|
974
974
|
)
|
|
975
975
|
)
|
|
976
976
|
),
|
|
977
|
-
|
|
977
|
+
React.createElement(
|
|
978
978
|
Media.Body,
|
|
979
979
|
null,
|
|
980
|
-
|
|
980
|
+
React.createElement(
|
|
981
981
|
'a',
|
|
982
982
|
{ href: article.url.current },
|
|
983
|
-
article.title &&
|
|
983
|
+
article.title && React.createElement(
|
|
984
984
|
'h4',
|
|
985
985
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
986
986
|
article.title
|
|
987
987
|
)
|
|
988
988
|
),
|
|
989
|
-
showPublished && article.published &&
|
|
989
|
+
showPublished && article.published && React.createElement(
|
|
990
990
|
'p',
|
|
991
991
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
992
992
|
moment(article.published).format('MMMM DD, YYYY')
|
|
993
993
|
),
|
|
994
|
-
showTimeDiff && article.published &&
|
|
994
|
+
showTimeDiff && article.published && React.createElement(
|
|
995
995
|
'p',
|
|
996
996
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
997
997
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -999,20 +999,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
999
999
|
return null;
|
|
1000
1000
|
}
|
|
1001
1001
|
if (index === 3) {
|
|
1002
|
-
return
|
|
1003
|
-
|
|
1002
|
+
return React.createElement(
|
|
1003
|
+
React.Fragment,
|
|
1004
1004
|
null,
|
|
1005
|
-
|
|
1005
|
+
React.createElement(
|
|
1006
1006
|
'em',
|
|
1007
1007
|
{ style: { marginRight: '.5rem' } },
|
|
1008
1008
|
'...'
|
|
1009
1009
|
)
|
|
1010
1010
|
);
|
|
1011
1011
|
}
|
|
1012
|
-
return
|
|
1013
|
-
|
|
1012
|
+
return React.createElement(
|
|
1013
|
+
React.Fragment,
|
|
1014
1014
|
null,
|
|
1015
|
-
|
|
1015
|
+
React.createElement(
|
|
1016
1016
|
'em',
|
|
1017
1017
|
null,
|
|
1018
1018
|
taxonomy.name
|
|
@@ -1022,30 +1022,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1022
1022
|
);
|
|
1023
1023
|
}),
|
|
1024
1024
|
' ',
|
|
1025
|
-
|
|
1025
|
+
React.createElement(
|
|
1026
1026
|
'span',
|
|
1027
1027
|
{ style: { display: 'inline-block' } },
|
|
1028
1028
|
timeDifferenceCalc(article.published)
|
|
1029
1029
|
)
|
|
1030
1030
|
),
|
|
1031
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1031
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1032
1032
|
LazyLoad,
|
|
1033
1033
|
{ height: 50 },
|
|
1034
|
-
|
|
1034
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1035
1035
|
),
|
|
1036
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1036
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1037
1037
|
'div',
|
|
1038
1038
|
{ className: 'content-category-label' },
|
|
1039
|
-
|
|
1039
|
+
React.createElement(
|
|
1040
1040
|
'div',
|
|
1041
1041
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1042
1042
|
article.source
|
|
1043
1043
|
)
|
|
1044
1044
|
),
|
|
1045
|
-
|
|
1045
|
+
React.createElement(
|
|
1046
1046
|
'div',
|
|
1047
1047
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1048
|
-
showCategory && article.contentCategory &&
|
|
1048
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1049
1049
|
'p',
|
|
1050
1050
|
{
|
|
1051
1051
|
className: 'article-category',
|
|
@@ -1059,7 +1059,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1059
1059
|
} },
|
|
1060
1060
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1061
1061
|
),
|
|
1062
|
-
article.issueSection && article.issueSection.name &&
|
|
1062
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1063
1063
|
'p',
|
|
1064
1064
|
{
|
|
1065
1065
|
className: 'issueSection',
|
|
@@ -1075,21 +1075,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1075
1075
|
article.issueSection.name
|
|
1076
1076
|
)
|
|
1077
1077
|
),
|
|
1078
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1078
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1079
1079
|
'div',
|
|
1080
1080
|
{ className: 'pubInfo' },
|
|
1081
|
-
article.volume &&
|
|
1081
|
+
article.volume && React.createElement(
|
|
1082
1082
|
'p',
|
|
1083
1083
|
{ className: 'qdeVolume' },
|
|
1084
1084
|
article.volume
|
|
1085
1085
|
),
|
|
1086
|
-
article.issue &&
|
|
1086
|
+
article.issue && React.createElement(
|
|
1087
1087
|
'p',
|
|
1088
1088
|
{ className: 'qdeIssue' },
|
|
1089
1089
|
article.issue
|
|
1090
1090
|
)
|
|
1091
1091
|
),
|
|
1092
|
-
showIntro && article.summary &&
|
|
1092
|
+
showIntro && article.summary && React.createElement(
|
|
1093
1093
|
'p',
|
|
1094
1094
|
{ className: 'pt-2 card-text' },
|
|
1095
1095
|
clean_html_1(article.summary)
|
|
@@ -1100,12 +1100,12 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1100
1100
|
);
|
|
1101
1101
|
}
|
|
1102
1102
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
1103
|
-
return
|
|
1103
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
1104
1104
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
1105
|
-
return
|
|
1105
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
1106
1106
|
}
|
|
1107
1107
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
1108
|
-
return
|
|
1108
|
+
return React.createElement(
|
|
1109
1109
|
VisibilitySensor,
|
|
1110
1110
|
{
|
|
1111
1111
|
key: article._id ? article._id : index,
|
|
@@ -1113,50 +1113,50 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1113
1113
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
1114
1114
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
1115
1115
|
} },
|
|
1116
|
-
|
|
1117
|
-
|
|
1116
|
+
React.createElement(
|
|
1117
|
+
React.Fragment,
|
|
1118
1118
|
null,
|
|
1119
|
-
|
|
1119
|
+
React.createElement(
|
|
1120
1120
|
Media,
|
|
1121
1121
|
{
|
|
1122
1122
|
key: article._id ? article._id : index,
|
|
1123
1123
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
1124
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
1124
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
1125
1125
|
'a',
|
|
1126
1126
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
1127
|
-
|
|
1127
|
+
React.createElement(
|
|
1128
1128
|
LazyLoad,
|
|
1129
|
-
{ height: imageHeight, placeholder:
|
|
1130
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
1129
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
1130
|
+
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 })
|
|
1131
1131
|
),
|
|
1132
|
-
article.source &&
|
|
1132
|
+
article.source && React.createElement(
|
|
1133
1133
|
'div',
|
|
1134
1134
|
{ className: 'content-category-label' },
|
|
1135
|
-
|
|
1135
|
+
React.createElement(
|
|
1136
1136
|
'div',
|
|
1137
1137
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1138
1138
|
article.source
|
|
1139
1139
|
)
|
|
1140
1140
|
)
|
|
1141
1141
|
),
|
|
1142
|
-
|
|
1142
|
+
React.createElement(
|
|
1143
1143
|
Media.Body,
|
|
1144
1144
|
null,
|
|
1145
|
-
|
|
1145
|
+
React.createElement(
|
|
1146
1146
|
'a',
|
|
1147
1147
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
1148
|
-
article.title &&
|
|
1148
|
+
article.title && React.createElement(
|
|
1149
1149
|
'h4',
|
|
1150
1150
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
1151
1151
|
article.title
|
|
1152
1152
|
)
|
|
1153
1153
|
),
|
|
1154
|
-
showPublished && article.published &&
|
|
1154
|
+
showPublished && article.published && React.createElement(
|
|
1155
1155
|
'p',
|
|
1156
1156
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1157
1157
|
moment(article.published).format('MMMM DD, YYYY')
|
|
1158
1158
|
),
|
|
1159
|
-
showTimeDiff && article.published &&
|
|
1159
|
+
showTimeDiff && article.published && React.createElement(
|
|
1160
1160
|
'p',
|
|
1161
1161
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1162
1162
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1164,20 +1164,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1164
1164
|
return null;
|
|
1165
1165
|
}
|
|
1166
1166
|
if (index === 3) {
|
|
1167
|
-
return
|
|
1168
|
-
|
|
1167
|
+
return React.createElement(
|
|
1168
|
+
React.Fragment,
|
|
1169
1169
|
null,
|
|
1170
|
-
|
|
1170
|
+
React.createElement(
|
|
1171
1171
|
'em',
|
|
1172
1172
|
{ style: { marginRight: '.5rem' } },
|
|
1173
1173
|
'...'
|
|
1174
1174
|
)
|
|
1175
1175
|
);
|
|
1176
1176
|
}
|
|
1177
|
-
return
|
|
1178
|
-
|
|
1177
|
+
return React.createElement(
|
|
1178
|
+
React.Fragment,
|
|
1179
1179
|
null,
|
|
1180
|
-
|
|
1180
|
+
React.createElement(
|
|
1181
1181
|
'em',
|
|
1182
1182
|
null,
|
|
1183
1183
|
taxonomy.name
|
|
@@ -1187,34 +1187,34 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1187
1187
|
);
|
|
1188
1188
|
}),
|
|
1189
1189
|
' ',
|
|
1190
|
-
|
|
1190
|
+
React.createElement(
|
|
1191
1191
|
'span',
|
|
1192
1192
|
{ style: { display: 'inline-block' } },
|
|
1193
1193
|
timeDifferenceCalc(article.published)
|
|
1194
1194
|
)
|
|
1195
1195
|
),
|
|
1196
|
-
|
|
1196
|
+
React.createElement(
|
|
1197
1197
|
'div',
|
|
1198
1198
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1199
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1199
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1200
1200
|
LazyLoad,
|
|
1201
1201
|
{ height: 50 },
|
|
1202
|
-
|
|
1202
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1203
1203
|
)
|
|
1204
1204
|
),
|
|
1205
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1205
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1206
1206
|
'div',
|
|
1207
1207
|
{ className: 'content-category-label' },
|
|
1208
|
-
|
|
1208
|
+
React.createElement(
|
|
1209
1209
|
'div',
|
|
1210
1210
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1211
1211
|
article.source
|
|
1212
1212
|
)
|
|
1213
1213
|
),
|
|
1214
|
-
|
|
1214
|
+
React.createElement(
|
|
1215
1215
|
'div',
|
|
1216
1216
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1217
|
-
showCategory && article.contentCategory &&
|
|
1217
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1218
1218
|
'p',
|
|
1219
1219
|
{
|
|
1220
1220
|
className: 'article-category',
|
|
@@ -1228,7 +1228,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1228
1228
|
} },
|
|
1229
1229
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1230
1230
|
),
|
|
1231
|
-
article.issueSection && article.issueSection.name &&
|
|
1231
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1232
1232
|
'p',
|
|
1233
1233
|
{
|
|
1234
1234
|
className: 'issueSection',
|
|
@@ -1244,50 +1244,50 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1244
1244
|
article.issueSection.name
|
|
1245
1245
|
)
|
|
1246
1246
|
),
|
|
1247
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1247
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1248
1248
|
'div',
|
|
1249
1249
|
{ className: 'pubInfo' },
|
|
1250
|
-
article.volume &&
|
|
1250
|
+
article.volume && React.createElement(
|
|
1251
1251
|
'p',
|
|
1252
1252
|
{ className: 'qdeVolume' },
|
|
1253
1253
|
article.volume
|
|
1254
1254
|
),
|
|
1255
|
-
article.issue &&
|
|
1255
|
+
article.issue && React.createElement(
|
|
1256
1256
|
'p',
|
|
1257
1257
|
{ className: 'qdeIssue' },
|
|
1258
1258
|
article.issue
|
|
1259
1259
|
)
|
|
1260
1260
|
),
|
|
1261
|
-
showIntro && article.summary &&
|
|
1261
|
+
showIntro && article.summary && React.createElement(
|
|
1262
1262
|
'p',
|
|
1263
1263
|
{ className: 'pt-2 card-text' },
|
|
1264
1264
|
clean_html_1(article.summary)
|
|
1265
1265
|
)
|
|
1266
1266
|
)
|
|
1267
1267
|
),
|
|
1268
|
-
|
|
1268
|
+
React.createElement(
|
|
1269
1269
|
'div',
|
|
1270
1270
|
null,
|
|
1271
|
-
|
|
1271
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1272
1272
|
)
|
|
1273
1273
|
)
|
|
1274
1274
|
);
|
|
1275
1275
|
} else return null;
|
|
1276
1276
|
})
|
|
1277
|
-
) :
|
|
1277
|
+
) : React.createElement(
|
|
1278
1278
|
'div',
|
|
1279
1279
|
null,
|
|
1280
|
-
|
|
1280
|
+
React.createElement(
|
|
1281
1281
|
'h5',
|
|
1282
1282
|
null,
|
|
1283
|
-
|
|
1283
|
+
React.createElement(
|
|
1284
1284
|
'em',
|
|
1285
1285
|
null,
|
|
1286
1286
|
'New content coming soon, please check back later.'
|
|
1287
1287
|
)
|
|
1288
1288
|
)
|
|
1289
1289
|
),
|
|
1290
|
-
|
|
1290
|
+
React.createElement(
|
|
1291
1291
|
'style',
|
|
1292
1292
|
{ jsx: 'true' },
|
|
1293
1293
|
'\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 '
|
|
@@ -1296,11 +1296,11 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1296
1296
|
};
|
|
1297
1297
|
|
|
1298
1298
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1299
|
-
return
|
|
1300
|
-
|
|
1299
|
+
return React.createElement(
|
|
1300
|
+
React.Fragment,
|
|
1301
1301
|
null,
|
|
1302
|
-
|
|
1303
|
-
|
|
1302
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1303
|
+
React.createElement(
|
|
1304
1304
|
'style',
|
|
1305
1305
|
{ jsx: 'true' },
|
|
1306
1306
|
'\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 '
|
|
@@ -1310,7 +1310,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1310
1310
|
|
|
1311
1311
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1312
1312
|
var i = numberOfItemsBeforeAd < 6 ? 0 : ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1313
|
-
return
|
|
1313
|
+
return React.createElement(
|
|
1314
1314
|
'div',
|
|
1315
1315
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1316
1316
|
rightItems[i].component
|
|
@@ -1415,15 +1415,15 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1415
1415
|
return null;
|
|
1416
1416
|
}
|
|
1417
1417
|
|
|
1418
|
-
return
|
|
1418
|
+
return React.createElement(
|
|
1419
1419
|
'div',
|
|
1420
1420
|
{ className: 'd-flex justify-content-between' },
|
|
1421
|
-
currentPage && currentPage > 1 &&
|
|
1421
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1422
1422
|
'a',
|
|
1423
1423
|
{ href: '?page=' + (currentPage - 1) },
|
|
1424
1424
|
'<< Previous'
|
|
1425
1425
|
),
|
|
1426
|
-
|
|
1426
|
+
React.createElement(
|
|
1427
1427
|
'a',
|
|
1428
1428
|
{ href: '?page=' + (currentPage + 1) },
|
|
1429
1429
|
'Next >>'
|
|
@@ -1470,40 +1470,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1470
1470
|
// }
|
|
1471
1471
|
// }
|
|
1472
1472
|
|
|
1473
|
-
return
|
|
1473
|
+
return React.createElement(
|
|
1474
1474
|
'div',
|
|
1475
1475
|
null,
|
|
1476
|
-
autoScroll ?
|
|
1477
|
-
|
|
1476
|
+
autoScroll ? React.createElement(
|
|
1477
|
+
React.Fragment,
|
|
1478
1478
|
null,
|
|
1479
|
-
|
|
1479
|
+
React.createElement(
|
|
1480
1480
|
InfiniteScroll,
|
|
1481
1481
|
{ dataLength: data && data.length, next: function next() {
|
|
1482
1482
|
return loadMore(values, setValues, itemsPerPage);
|
|
1483
1483
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1484
|
-
|
|
1484
|
+
React.createElement(
|
|
1485
1485
|
Container,
|
|
1486
1486
|
null,
|
|
1487
1487
|
cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1488
1488
|
)
|
|
1489
1489
|
),
|
|
1490
|
-
|
|
1490
|
+
React.createElement(
|
|
1491
1491
|
'noscript',
|
|
1492
1492
|
null,
|
|
1493
1493
|
renderManualPagination(currentPage)
|
|
1494
1494
|
)
|
|
1495
|
-
) :
|
|
1496
|
-
|
|
1495
|
+
) : React.createElement(
|
|
1496
|
+
React.Fragment,
|
|
1497
1497
|
null,
|
|
1498
|
-
|
|
1498
|
+
React.createElement(
|
|
1499
1499
|
Container,
|
|
1500
1500
|
null,
|
|
1501
1501
|
cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1502
1502
|
),
|
|
1503
|
-
|
|
1503
|
+
React.createElement(
|
|
1504
1504
|
'div',
|
|
1505
1505
|
{ style: { padding: '0px 10px' } },
|
|
1506
|
-
scrolling ?
|
|
1506
|
+
scrolling ? React.createElement(
|
|
1507
1507
|
'button',
|
|
1508
1508
|
{
|
|
1509
1509
|
className: 'load-more-btn',
|
|
@@ -1512,17 +1512,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1512
1512
|
loadMore(values, setValues, itemsPerPage);
|
|
1513
1513
|
} },
|
|
1514
1514
|
'Load More'
|
|
1515
|
-
) :
|
|
1515
|
+
) : React.createElement(
|
|
1516
1516
|
'p',
|
|
1517
1517
|
{ style: { textAlign: 'center' } },
|
|
1518
|
-
|
|
1518
|
+
React.createElement(
|
|
1519
1519
|
'b',
|
|
1520
1520
|
null,
|
|
1521
1521
|
'End of data'
|
|
1522
1522
|
)
|
|
1523
1523
|
)
|
|
1524
1524
|
),
|
|
1525
|
-
|
|
1525
|
+
React.createElement(
|
|
1526
1526
|
'noscript',
|
|
1527
1527
|
null,
|
|
1528
1528
|
renderManualPagination(currentPage)
|