@mjhls/mjh-framework 1.0.875 → 1.0.876
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 +1 -1
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +28 -27
- package/dist/cjs/AD300x250x600.js +28 -27
- package/dist/cjs/AD728x90.js +31 -30
- package/dist/cjs/ADFloatingFooter.js +31 -30
- package/dist/cjs/ADFooter.js +13 -12
- package/dist/cjs/ADGutter.js +31 -30
- package/dist/cjs/{ADInfeed-326c6278.js → ADInfeed-b9e5ff3f.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +31 -30
- package/dist/cjs/ADSponsoredResources.js +31 -30
- package/dist/cjs/ADWebcast.js +31 -30
- package/dist/cjs/ADWelcome.js +32 -31
- package/dist/cjs/{ADlgInfeed-a14f79ce.js → ADlgInfeed-3cdefebd.js} +11 -10
- package/dist/cjs/AccordionPanel.js +29 -27
- package/dist/cjs/AdSlot.js +32 -31
- package/dist/cjs/AdSlotsProvider.js +17 -15
- package/dist/cjs/AlgoliaSearch.js +1033 -1042
- package/dist/cjs/AlphabeticList.js +24 -23
- package/dist/cjs/ArticleCarousel.js +20 -19
- package/dist/cjs/ArticleProgramLandingPage.js +58 -57
- package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
- package/dist/cjs/ArticleSeriesListing.js +60 -59
- package/dist/cjs/Auth.js +287 -283
- package/dist/cjs/AuthWrapper.js +45 -44
- package/dist/cjs/{AuthorComponent-421d5ec1.js → AuthorComponent-39b37d84.js} +14 -13
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-bac780ac.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +27 -25
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +34 -31
- package/dist/cjs/Column3.js +59 -56
- package/dist/cjs/ConferenceArticleCard.js +26 -25
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +96 -92
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-57cecb43.js → Dfp-9be904d5.js} +33 -32
- package/dist/cjs/EventsDeck.js +140 -133
- package/dist/cjs/ExternalResources.js +79 -78
- package/dist/cjs/Feature.js +28 -26
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +236 -231
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +58 -57
- package/dist/cjs/HamMagazine.js +131 -126
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +16 -15
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +72 -71
- package/dist/cjs/HorizontalHero.js +28 -27
- package/dist/cjs/IssueContentDeck.js +76 -71
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +65 -64
- package/dist/cjs/LeftNav.js +39 -37
- package/dist/cjs/MasterDeck.js +71 -70
- package/dist/cjs/MediaSeriesLanding.js +978 -986
- package/dist/cjs/NavDvm.js +77 -72
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +138 -133
- package/dist/cjs/NavNative.js +134 -126
- package/dist/cjs/OncliveHero.js +22 -21
- package/dist/cjs/OncliveLargeHero.js +71 -70
- package/dist/cjs/PageFilter.js +13 -12
- package/dist/cjs/PartnerDetailListing.js +113 -112
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +19 -17
- package/dist/cjs/PubSection.js +41 -40
- package/dist/cjs/PubToc.js +14 -13
- package/dist/cjs/PublicationDeck.js +70 -65
- package/dist/cjs/PublicationLanding.js +110 -106
- package/dist/cjs/QueueDeckExpanded.js +308 -308
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +30 -29
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +20 -16
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +34 -34
- package/dist/cjs/{SeriesSlider-372e418f.js → SeriesSlider-ce3261cb.js} +31 -30
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +35 -34
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-80a2130a.js → SocialSearchComponent-5ec44406.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +66 -61
- package/dist/cjs/TaxonomyDescription.js +54 -53
- package/dist/cjs/TemplateNormal.js +72 -71
- package/dist/cjs/ThumbnailCard.js +26 -24
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +20 -19
- package/dist/cjs/VideoProgramLandingPage.js +76 -72
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +49 -48
- package/dist/cjs/VideoSeriesListing.js +77 -76
- package/dist/cjs/View.js +284 -277
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +59 -58
- package/dist/cjs/{_is-array-bd978497.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-ee3d4802.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-fee50a62.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-18379aba.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-15014394.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/{core.get-iterator-method-5cb3af28.js → core.get-iterator-method-5643aa10.js} +33 -33
- package/dist/cjs/{debounce-6191c8ee.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-530a5e9e.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-5ca424cd.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{extends-1d905ddb.js → extends-7c86182f.js} +7 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +18 -18
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-9d63325d.js → getTargeting-9d509319.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-75e4415e.js → index-6a2a3e03.js} +581 -571
- package/dist/cjs/{index-53e27416.js → index-8041a4eb.js} +10 -16
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-ff69979f.js → index-efca863c.js} +8 -8
- package/dist/cjs/{index-79eed652.js → index-f86bb269.js} +6 -6
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-bf016399.js → index.esm-8123cf40.js} +18 -17
- package/dist/cjs/index.js +167 -164
- package/dist/cjs/{inherits-1dcf1280.js → inherits-de66ea16.js} +21 -21
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-91f31941.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-b5e0d5f6.js → lodash-f0783643.js} +1 -1
- package/dist/cjs/{main-bc7d4bf8.js → main-025fdc78.js} +73 -72
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-0a78cdf3.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-13405ce2.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-39fd0757.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-f2f8744b.js → toNumber-5e1fac58.js} +1 -1
- package/dist/cjs/{typeof-3dd6d3df.js → typeof-567e31ff.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{ustream-api-5619c1fa.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a9359910.js → web.dom.iterable-d98303e0.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 +27 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +27 -27
- package/dist/esm/{ADInfeed-dbdb0513.js → ADInfeed-6c6093ae.js} +11 -11
- package/dist/esm/ADSkyscraper.js +27 -27
- package/dist/esm/ADSponsoredResources.js +27 -27
- package/dist/esm/ADWebcast.js +27 -27
- package/dist/esm/ADWelcome.js +28 -28
- package/dist/esm/{ADlgInfeed-f1c2c5cd.js → ADlgInfeed-5d7386e8.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +10 -10
- package/dist/esm/AlgoliaSearch.js +681 -691
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -54
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +55 -55
- package/dist/esm/Auth.js +268 -268
- package/dist/esm/AuthWrapper.js +42 -42
- package/dist/esm/{AuthorComponent-2277b67c.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-ea93e8f7.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +28 -28
- package/dist/esm/Column3.js +53 -53
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +87 -87
- package/dist/esm/DeckQueue.js +81 -81
- package/dist/esm/{Dfp-d6a5629f.js → Dfp-4ca12f2e.js} +20 -20
- package/dist/esm/EventsDeck.js +110 -110
- package/dist/esm/ExternalResources.js +72 -72
- package/dist/esm/Feature.js +20 -20
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +196 -196
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +101 -101
- 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 +68 -68
- package/dist/esm/HorizontalHero.js +25 -25
- package/dist/esm/IssueContentDeck.js +59 -59
- package/dist/esm/IssueDeck.js +63 -63
- package/dist/esm/IssueLanding.js +61 -61
- package/dist/esm/LeftNav.js +33 -33
- package/dist/esm/MasterDeck.js +67 -67
- package/dist/esm/MediaSeriesLanding.js +616 -627
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +103 -103
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/PartnerDetailListing.js +109 -109
- package/dist/esm/PdfDownload.js +6 -6
- 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 +56 -56
- package/dist/esm/PublicationLanding.js +93 -93
- package/dist/esm/QueueDeckExpanded.js +271 -271
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +11 -11
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-ae692d40.js → SeriesSlider-485f514e.js} +22 -22
- 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-998cb92d.js → SocialSearchComponent-a5b11613.js} +26 -26
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +56 -56
- package/dist/esm/TaxonomyDescription.js +48 -48
- package/dist/esm/TemplateNormal.js +67 -67
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +65 -65
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +72 -72
- package/dist/esm/View.js +272 -269
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +43 -43
- package/dist/esm/{_is-array-8914b83f.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-13e31915.js → _iter-detect-f089461c.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-fc9da7e8.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-ee8f6d98.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-40371743.js → asyncToGenerator-b4dfe691.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{core.get-iterator-method-0fb60d94.js → core.get-iterator-method-e903ff31.js} +34 -34
- package/dist/esm/{debounce-89969f66.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-73034847.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-e66a2c7c.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{extends-9a61581c.js → extends-dc6a71fd.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +12 -12
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-e6820763.js → getTargeting-ff2c9409.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/esm/{index-f7fdcc91.js → index-0dbff1d1.js} +8 -8
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-fd89ce38.js → index-5bbd1562.js} +528 -528
- package/dist/esm/{index-637e8f49.js → index-67e1773f.js} +10 -16
- package/dist/esm/{index-511bdaa5.js → index-79cfd25c.js} +6 -6
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-ed50151c.js → index.esm-8016b507.js} +15 -15
- package/dist/esm/index.js +137 -137
- package/dist/esm/{inherits-eeaf6740.js → inherits-8a801a18.js} +18 -18
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-a5ffafe7.js → keys-425c8ab0.js} +6 -6
- package/dist/esm/{lodash-a818d390.js → lodash-f97fd99a.js} +1 -1
- package/dist/esm/{main-ae902629.js → main-b5c5aac1.js} +72 -72
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-9c3bb613.js → slicedToArray-ca2c8b8d.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-c21932b3.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-e333293f.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-e3dcad26.js → toNumber-5aeba6e7.js} +1 -1
- package/dist/esm/{typeof-938ae770.js → typeof-83d9eb10.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-d325d196.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-6b037ff9.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/esm/stringify-ebc16384.js +0 -15
|
@@ -1,42 +1,42 @@
|
|
|
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, { 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-c6222053.js';
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
10
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
11
|
+
import { useRouter } from 'next/router';
|
|
12
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
13
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-6c6093ae.js';
|
|
16
|
+
import { A as AuthorComponent } from './AuthorComponent-46a745ba.js';
|
|
17
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-5d7386e8.js';
|
|
19
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
|
+
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
1
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import
|
|
6
|
-
import './
|
|
7
|
-
import
|
|
8
|
-
import './web.dom.iterable-6b037ff9.js';
|
|
9
|
-
import React__default, { useEffect, useState, useRef } from 'react';
|
|
22
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
23
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
24
|
+
import './_iter-detect-f089461c.js';
|
|
25
|
+
import './_object-pie-133f504a.js';
|
|
26
|
+
import './index-0dbff1d1.js';
|
|
27
|
+
import 'react-dom';
|
|
10
28
|
import './events-6c3a7a63.js';
|
|
11
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
12
29
|
import 'prop-types';
|
|
13
30
|
import 'react-bootstrap/Card';
|
|
14
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
15
|
-
import { useRouter } from 'next/router';
|
|
16
|
-
import './isSymbol-1981418f.js';
|
|
17
|
-
import './debounce-89969f66.js';
|
|
18
|
-
import './toNumber-e3dcad26.js';
|
|
19
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
20
|
-
import 'react-dom';
|
|
21
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
22
|
-
import { _ as _slicedToArray } from './slicedToArray-9c3bb613.js';
|
|
23
|
-
import './index-f7fdcc91.js';
|
|
24
|
-
import urlFor from './urlFor.js';
|
|
25
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
26
|
-
import { m as main_43 } from './main-ae902629.js';
|
|
27
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
28
|
-
import './stringify-ebc16384.js';
|
|
29
|
-
import './asyncToGenerator-40371743.js';
|
|
30
|
-
import './Segment.js';
|
|
31
|
-
import './Beam.js';
|
|
32
31
|
import './AdSlot.js';
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
32
|
+
import './debounce-533d9748.js';
|
|
33
|
+
import './isSymbol-a7e9aafe.js';
|
|
34
|
+
import './toNumber-5aeba6e7.js';
|
|
35
|
+
import './Beam.js';
|
|
36
|
+
import './stringify-c21932b3.js';
|
|
37
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
38
|
+
import './_library-528f1934.js';
|
|
39
|
+
import './Segment.js';
|
|
40
40
|
|
|
41
41
|
var renderCardImage = function renderCardImage(row, client) {
|
|
42
42
|
var imageHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
@@ -252,7 +252,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
252
252
|
});
|
|
253
253
|
|
|
254
254
|
var featureCount = 0;
|
|
255
|
-
return
|
|
255
|
+
return React.createElement(
|
|
256
256
|
'div',
|
|
257
257
|
null,
|
|
258
258
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -263,7 +263,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
263
263
|
if (article._type === 'feature') {
|
|
264
264
|
featureCount++;
|
|
265
265
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
266
|
-
return
|
|
266
|
+
return React.createElement(
|
|
267
267
|
VisibilitySensor,
|
|
268
268
|
{
|
|
269
269
|
key: article._id ? article._id : index,
|
|
@@ -271,51 +271,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
271
271
|
onChange: function onChange(isVisible) {
|
|
272
272
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
273
273
|
} },
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
React.createElement(
|
|
275
|
+
React.Fragment,
|
|
276
276
|
null,
|
|
277
|
-
|
|
277
|
+
React.createElement(
|
|
278
278
|
Media,
|
|
279
279
|
{
|
|
280
280
|
key: article._id ? article._id : index,
|
|
281
281
|
className: 'feature-media',
|
|
282
282
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
283
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
283
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
284
284
|
'a',
|
|
285
285
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
286
|
-
|
|
286
|
+
React.createElement(
|
|
287
287
|
LazyLoad,
|
|
288
|
-
{ height: imageHeight, placeholder:
|
|
289
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
288
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
289
|
+
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 })
|
|
290
290
|
),
|
|
291
|
-
article.source &&
|
|
291
|
+
article.source && React.createElement(
|
|
292
292
|
'div',
|
|
293
293
|
{ className: 'content-category-label' },
|
|
294
|
-
|
|
294
|
+
React.createElement(
|
|
295
295
|
'div',
|
|
296
296
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
297
297
|
article.source
|
|
298
298
|
)
|
|
299
299
|
)
|
|
300
300
|
),
|
|
301
|
-
|
|
301
|
+
React.createElement(
|
|
302
302
|
Media.Body,
|
|
303
303
|
null,
|
|
304
|
-
|
|
304
|
+
React.createElement(
|
|
305
305
|
'a',
|
|
306
306
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
307
|
-
article.title &&
|
|
307
|
+
article.title && React.createElement(
|
|
308
308
|
'h4',
|
|
309
309
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
310
310
|
article.title
|
|
311
311
|
)
|
|
312
312
|
),
|
|
313
|
-
showPublished && !showTimeDiff && article.published &&
|
|
313
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
314
314
|
'p',
|
|
315
315
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
316
316
|
moment(article.published).format('MMMM DD, YYYY')
|
|
317
317
|
),
|
|
318
|
-
showTimeDiff && article.published &&
|
|
318
|
+
showTimeDiff && article.published && React.createElement(
|
|
319
319
|
'p',
|
|
320
320
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
321
321
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -323,20 +323,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
323
323
|
return null;
|
|
324
324
|
}
|
|
325
325
|
if (index === 3) {
|
|
326
|
-
return
|
|
327
|
-
|
|
326
|
+
return React.createElement(
|
|
327
|
+
React.Fragment,
|
|
328
328
|
null,
|
|
329
|
-
|
|
329
|
+
React.createElement(
|
|
330
330
|
'em',
|
|
331
331
|
{ style: { marginRight: '.5rem' } },
|
|
332
332
|
'...'
|
|
333
333
|
)
|
|
334
334
|
);
|
|
335
335
|
}
|
|
336
|
-
return
|
|
337
|
-
|
|
336
|
+
return React.createElement(
|
|
337
|
+
React.Fragment,
|
|
338
338
|
null,
|
|
339
|
-
|
|
339
|
+
React.createElement(
|
|
340
340
|
'em',
|
|
341
341
|
null,
|
|
342
342
|
taxonomy.name
|
|
@@ -346,30 +346,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
346
346
|
);
|
|
347
347
|
}),
|
|
348
348
|
' ',
|
|
349
|
-
|
|
349
|
+
React.createElement(
|
|
350
350
|
'span',
|
|
351
351
|
{ style: { display: 'inline-block' } },
|
|
352
352
|
timeDifferenceCalc(article.published)
|
|
353
353
|
)
|
|
354
354
|
),
|
|
355
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
355
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
356
356
|
LazyLoad,
|
|
357
357
|
{ height: 50 },
|
|
358
|
-
|
|
358
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
359
359
|
),
|
|
360
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
360
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
361
361
|
'div',
|
|
362
362
|
{ className: 'content-category-label' },
|
|
363
|
-
|
|
363
|
+
React.createElement(
|
|
364
364
|
'div',
|
|
365
365
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
366
366
|
article.source
|
|
367
367
|
)
|
|
368
368
|
),
|
|
369
|
-
|
|
369
|
+
React.createElement(
|
|
370
370
|
'div',
|
|
371
371
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
372
|
-
showCategory && article.contentCategory &&
|
|
372
|
+
showCategory && article.contentCategory && React.createElement(
|
|
373
373
|
'p',
|
|
374
374
|
{
|
|
375
375
|
className: 'article-category',
|
|
@@ -383,7 +383,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
383
383
|
} },
|
|
384
384
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
385
385
|
),
|
|
386
|
-
article.issueSection && article.issueSection.name &&
|
|
386
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
387
387
|
'p',
|
|
388
388
|
{
|
|
389
389
|
className: 'issueSection',
|
|
@@ -399,21 +399,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
399
399
|
article.issueSection.name
|
|
400
400
|
)
|
|
401
401
|
),
|
|
402
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
402
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
403
403
|
'div',
|
|
404
404
|
{ className: 'pubInfo' },
|
|
405
|
-
article.volume &&
|
|
405
|
+
article.volume && React.createElement(
|
|
406
406
|
'p',
|
|
407
407
|
{ className: 'qdeVolume' },
|
|
408
408
|
article.volume
|
|
409
409
|
),
|
|
410
|
-
article.issue &&
|
|
410
|
+
article.issue && React.createElement(
|
|
411
411
|
'p',
|
|
412
412
|
{ className: 'qdeIssue' },
|
|
413
413
|
article.issue
|
|
414
414
|
)
|
|
415
415
|
),
|
|
416
|
-
showIntro && article.summary &&
|
|
416
|
+
showIntro && article.summary && React.createElement(
|
|
417
417
|
'p',
|
|
418
418
|
{ className: 'pt-2 card-text' },
|
|
419
419
|
clean_html_1(article.summary)
|
|
@@ -423,7 +423,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
423
423
|
)
|
|
424
424
|
);
|
|
425
425
|
} else {
|
|
426
|
-
return
|
|
426
|
+
return React.createElement(
|
|
427
427
|
VisibilitySensor,
|
|
428
428
|
{
|
|
429
429
|
key: article._id ? article._id : index,
|
|
@@ -431,51 +431,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
431
431
|
onChange: function onChange(isVisible) {
|
|
432
432
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
433
433
|
} },
|
|
434
|
-
|
|
435
|
-
|
|
434
|
+
React.createElement(
|
|
435
|
+
React.Fragment,
|
|
436
436
|
null,
|
|
437
|
-
|
|
437
|
+
React.createElement(
|
|
438
438
|
Media,
|
|
439
439
|
{
|
|
440
440
|
key: article._id ? article._id : index,
|
|
441
441
|
className: 'feature-media',
|
|
442
442
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
443
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
443
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
444
444
|
'a',
|
|
445
445
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
446
|
-
|
|
446
|
+
React.createElement(
|
|
447
447
|
LazyLoad,
|
|
448
|
-
{ height: imageHeight, placeholder:
|
|
449
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
448
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
449
|
+
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 })
|
|
450
450
|
),
|
|
451
|
-
article.source &&
|
|
451
|
+
article.source && React.createElement(
|
|
452
452
|
'div',
|
|
453
453
|
{ className: 'content-category-label' },
|
|
454
|
-
|
|
454
|
+
React.createElement(
|
|
455
455
|
'div',
|
|
456
456
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
457
457
|
article.source
|
|
458
458
|
)
|
|
459
459
|
)
|
|
460
460
|
),
|
|
461
|
-
|
|
461
|
+
React.createElement(
|
|
462
462
|
Media.Body,
|
|
463
463
|
null,
|
|
464
|
-
|
|
464
|
+
React.createElement(
|
|
465
465
|
'a',
|
|
466
466
|
{ href: article.url.current },
|
|
467
|
-
article.title &&
|
|
467
|
+
article.title && React.createElement(
|
|
468
468
|
'h4',
|
|
469
469
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
470
470
|
article.title
|
|
471
471
|
)
|
|
472
472
|
),
|
|
473
|
-
showPublished && !showTimeDiff && article.published &&
|
|
473
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
474
474
|
'p',
|
|
475
475
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
476
476
|
moment(article.published).format('MMMM DD, YYYY')
|
|
477
477
|
),
|
|
478
|
-
showTimeDiff && article.published &&
|
|
478
|
+
showTimeDiff && article.published && React.createElement(
|
|
479
479
|
'p',
|
|
480
480
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
481
481
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -483,10 +483,10 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
483
483
|
return null;
|
|
484
484
|
}
|
|
485
485
|
if (index === 3) {
|
|
486
|
-
return
|
|
487
|
-
|
|
486
|
+
return React.createElement(
|
|
487
|
+
React.Fragment,
|
|
488
488
|
null,
|
|
489
|
-
|
|
489
|
+
React.createElement(
|
|
490
490
|
'em',
|
|
491
491
|
{ style: { marginRight: '.5rem' } },
|
|
492
492
|
'...'
|
|
@@ -494,20 +494,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
494
494
|
);
|
|
495
495
|
}
|
|
496
496
|
if (index === 3) {
|
|
497
|
-
return
|
|
498
|
-
|
|
497
|
+
return React.createElement(
|
|
498
|
+
React.Fragment,
|
|
499
499
|
null,
|
|
500
|
-
|
|
500
|
+
React.createElement(
|
|
501
501
|
'em',
|
|
502
502
|
{ style: { marginRight: '.5rem' } },
|
|
503
503
|
'...'
|
|
504
504
|
)
|
|
505
505
|
);
|
|
506
506
|
}
|
|
507
|
-
return
|
|
508
|
-
|
|
507
|
+
return React.createElement(
|
|
508
|
+
React.Fragment,
|
|
509
509
|
null,
|
|
510
|
-
|
|
510
|
+
React.createElement(
|
|
511
511
|
'em',
|
|
512
512
|
null,
|
|
513
513
|
taxonomy.name
|
|
@@ -517,30 +517,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
517
517
|
);
|
|
518
518
|
}),
|
|
519
519
|
' ',
|
|
520
|
-
|
|
520
|
+
React.createElement(
|
|
521
521
|
'span',
|
|
522
522
|
{ style: { display: 'inline-block' } },
|
|
523
523
|
timeDifferenceCalc(article.published)
|
|
524
524
|
)
|
|
525
525
|
),
|
|
526
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
526
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
527
527
|
LazyLoad,
|
|
528
528
|
{ height: 50 },
|
|
529
|
-
|
|
529
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
530
530
|
),
|
|
531
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
531
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
532
532
|
'div',
|
|
533
533
|
{ className: 'content-category-label' },
|
|
534
|
-
|
|
534
|
+
React.createElement(
|
|
535
535
|
'div',
|
|
536
536
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
537
537
|
article.source
|
|
538
538
|
)
|
|
539
539
|
),
|
|
540
|
-
|
|
540
|
+
React.createElement(
|
|
541
541
|
'div',
|
|
542
542
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
543
|
-
showCategory && article.contentCategory &&
|
|
543
|
+
showCategory && article.contentCategory && React.createElement(
|
|
544
544
|
'p',
|
|
545
545
|
{
|
|
546
546
|
className: 'article-category',
|
|
@@ -554,7 +554,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
554
554
|
} },
|
|
555
555
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
556
556
|
),
|
|
557
|
-
article.issueSection && article.issueSection.name &&
|
|
557
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
558
558
|
'p',
|
|
559
559
|
{
|
|
560
560
|
className: 'issueSection',
|
|
@@ -570,21 +570,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
570
570
|
article.issueSection.name
|
|
571
571
|
)
|
|
572
572
|
),
|
|
573
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
573
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
574
574
|
'div',
|
|
575
575
|
{ className: 'pubInfo' },
|
|
576
|
-
article.volume &&
|
|
576
|
+
article.volume && React.createElement(
|
|
577
577
|
'p',
|
|
578
578
|
{ className: 'qdeVolume' },
|
|
579
579
|
article.volume
|
|
580
580
|
),
|
|
581
|
-
article.issue &&
|
|
581
|
+
article.issue && React.createElement(
|
|
582
582
|
'p',
|
|
583
583
|
{ className: 'qdeIssue' },
|
|
584
584
|
article.issue
|
|
585
585
|
)
|
|
586
586
|
),
|
|
587
|
-
showIntro && article.summary &&
|
|
587
|
+
showIntro && article.summary && React.createElement(
|
|
588
588
|
'p',
|
|
589
589
|
{ className: 'pt-2 card-text' },
|
|
590
590
|
clean_html_1(article.summary)
|
|
@@ -595,12 +595,12 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
595
595
|
);
|
|
596
596
|
}
|
|
597
597
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
598
|
-
return
|
|
598
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
599
599
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
600
|
-
return
|
|
600
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
601
601
|
}
|
|
602
602
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
603
|
-
return
|
|
603
|
+
return React.createElement(
|
|
604
604
|
VisibilitySensor,
|
|
605
605
|
{
|
|
606
606
|
key: article._id ? article._id : index,
|
|
@@ -608,50 +608,50 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
608
608
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
609
609
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
610
610
|
} },
|
|
611
|
-
|
|
612
|
-
|
|
611
|
+
React.createElement(
|
|
612
|
+
React.Fragment,
|
|
613
613
|
null,
|
|
614
|
-
|
|
614
|
+
React.createElement(
|
|
615
615
|
Media,
|
|
616
616
|
{
|
|
617
617
|
key: article._id ? article._id : index,
|
|
618
618
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
619
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
619
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
620
620
|
'a',
|
|
621
621
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
622
|
-
|
|
622
|
+
React.createElement(
|
|
623
623
|
LazyLoad,
|
|
624
|
-
{ height: imageHeight, placeholder:
|
|
625
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
624
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
625
|
+
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 })
|
|
626
626
|
),
|
|
627
|
-
article.source &&
|
|
627
|
+
article.source && React.createElement(
|
|
628
628
|
'div',
|
|
629
629
|
{ className: 'content-category-label' },
|
|
630
|
-
|
|
630
|
+
React.createElement(
|
|
631
631
|
'div',
|
|
632
632
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
633
633
|
article.source
|
|
634
634
|
)
|
|
635
635
|
)
|
|
636
636
|
),
|
|
637
|
-
|
|
637
|
+
React.createElement(
|
|
638
638
|
Media.Body,
|
|
639
639
|
null,
|
|
640
|
-
|
|
640
|
+
React.createElement(
|
|
641
641
|
'a',
|
|
642
642
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
643
|
-
article.title &&
|
|
643
|
+
article.title && React.createElement(
|
|
644
644
|
'h4',
|
|
645
645
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
646
646
|
article.title
|
|
647
647
|
)
|
|
648
648
|
),
|
|
649
|
-
showPublished && !showTimeDiff && article.published &&
|
|
649
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
650
650
|
'p',
|
|
651
651
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
652
652
|
moment(article.published).format('MMMM DD, YYYY')
|
|
653
653
|
),
|
|
654
|
-
showTimeDiff && article.published &&
|
|
654
|
+
showTimeDiff && article.published && React.createElement(
|
|
655
655
|
'p',
|
|
656
656
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
657
657
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -659,20 +659,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
659
659
|
return null;
|
|
660
660
|
}
|
|
661
661
|
if (index === 3) {
|
|
662
|
-
return
|
|
663
|
-
|
|
662
|
+
return React.createElement(
|
|
663
|
+
React.Fragment,
|
|
664
664
|
null,
|
|
665
|
-
|
|
665
|
+
React.createElement(
|
|
666
666
|
'em',
|
|
667
667
|
{ style: { marginRight: '.5rem' } },
|
|
668
668
|
'...'
|
|
669
669
|
)
|
|
670
670
|
);
|
|
671
671
|
}
|
|
672
|
-
return
|
|
673
|
-
|
|
672
|
+
return React.createElement(
|
|
673
|
+
React.Fragment,
|
|
674
674
|
null,
|
|
675
|
-
|
|
675
|
+
React.createElement(
|
|
676
676
|
'em',
|
|
677
677
|
null,
|
|
678
678
|
taxonomy.name
|
|
@@ -682,34 +682,34 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
682
682
|
);
|
|
683
683
|
}),
|
|
684
684
|
' ',
|
|
685
|
-
|
|
685
|
+
React.createElement(
|
|
686
686
|
'span',
|
|
687
687
|
{ style: { display: 'inline-block' } },
|
|
688
688
|
timeDifferenceCalc(article.published)
|
|
689
689
|
)
|
|
690
690
|
),
|
|
691
|
-
|
|
691
|
+
React.createElement(
|
|
692
692
|
'div',
|
|
693
693
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
694
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
694
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
695
695
|
LazyLoad,
|
|
696
696
|
{ height: 50 },
|
|
697
|
-
|
|
697
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
698
698
|
)
|
|
699
699
|
),
|
|
700
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
700
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
701
701
|
'div',
|
|
702
702
|
{ className: 'content-category-label' },
|
|
703
|
-
|
|
703
|
+
React.createElement(
|
|
704
704
|
'div',
|
|
705
705
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
706
706
|
article.source
|
|
707
707
|
)
|
|
708
708
|
),
|
|
709
|
-
|
|
709
|
+
React.createElement(
|
|
710
710
|
'div',
|
|
711
711
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
712
|
-
showCategory && article.contentCategory &&
|
|
712
|
+
showCategory && article.contentCategory && React.createElement(
|
|
713
713
|
'p',
|
|
714
714
|
{
|
|
715
715
|
className: 'article-category',
|
|
@@ -723,7 +723,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
723
723
|
} },
|
|
724
724
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
725
725
|
),
|
|
726
|
-
article.issueSection && article.issueSection.name &&
|
|
726
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
727
727
|
'p',
|
|
728
728
|
{
|
|
729
729
|
className: 'issueSection',
|
|
@@ -739,28 +739,28 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
739
739
|
article.issueSection.name
|
|
740
740
|
)
|
|
741
741
|
),
|
|
742
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
742
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
743
743
|
'div',
|
|
744
744
|
{ className: 'pubInfo' },
|
|
745
|
-
article.volume &&
|
|
745
|
+
article.volume && React.createElement(
|
|
746
746
|
'p',
|
|
747
747
|
{ className: 'qdeVolume' },
|
|
748
748
|
article.volume
|
|
749
749
|
),
|
|
750
|
-
article.issue &&
|
|
750
|
+
article.issue && React.createElement(
|
|
751
751
|
'p',
|
|
752
752
|
{ className: 'qdeIssue' },
|
|
753
753
|
article.issue
|
|
754
754
|
)
|
|
755
755
|
),
|
|
756
|
-
showIntro && article.summary &&
|
|
756
|
+
showIntro && article.summary && React.createElement(
|
|
757
757
|
'p',
|
|
758
758
|
{ className: 'pt-2 card-text' },
|
|
759
759
|
clean_html_1(article.summary)
|
|
760
760
|
)
|
|
761
761
|
)
|
|
762
762
|
),
|
|
763
|
-
|
|
763
|
+
React.createElement(
|
|
764
764
|
'div',
|
|
765
765
|
null,
|
|
766
766
|
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
@@ -770,7 +770,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
770
770
|
} else return null;
|
|
771
771
|
}) :
|
|
772
772
|
// For Javascript Disabled Cases
|
|
773
|
-
|
|
773
|
+
React.createElement(
|
|
774
774
|
'noscript',
|
|
775
775
|
null,
|
|
776
776
|
data.map(function (article, index) {
|
|
@@ -780,7 +780,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
780
780
|
if (article._type === 'feature') {
|
|
781
781
|
featureCount++;
|
|
782
782
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
783
|
-
return
|
|
783
|
+
return React.createElement(
|
|
784
784
|
VisibilitySensor,
|
|
785
785
|
{
|
|
786
786
|
key: article._id ? article._id : index,
|
|
@@ -788,51 +788,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
788
788
|
onChange: function onChange(isVisible) {
|
|
789
789
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
790
790
|
} },
|
|
791
|
-
|
|
792
|
-
|
|
791
|
+
React.createElement(
|
|
792
|
+
React.Fragment,
|
|
793
793
|
null,
|
|
794
|
-
|
|
794
|
+
React.createElement(
|
|
795
795
|
Media,
|
|
796
796
|
{
|
|
797
797
|
key: article._id ? article._id : index,
|
|
798
798
|
className: 'feature-media',
|
|
799
799
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
800
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
800
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
801
801
|
'a',
|
|
802
802
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
803
|
-
|
|
803
|
+
React.createElement(
|
|
804
804
|
LazyLoad,
|
|
805
|
-
{ height: imageHeight, placeholder:
|
|
806
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
805
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
806
|
+
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 })
|
|
807
807
|
),
|
|
808
|
-
article.source &&
|
|
808
|
+
article.source && React.createElement(
|
|
809
809
|
'div',
|
|
810
810
|
{ className: 'content-category-label' },
|
|
811
|
-
|
|
811
|
+
React.createElement(
|
|
812
812
|
'div',
|
|
813
813
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
814
814
|
article.source
|
|
815
815
|
)
|
|
816
816
|
)
|
|
817
817
|
),
|
|
818
|
-
|
|
818
|
+
React.createElement(
|
|
819
819
|
Media.Body,
|
|
820
820
|
null,
|
|
821
|
-
|
|
821
|
+
React.createElement(
|
|
822
822
|
'a',
|
|
823
823
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
824
|
-
article.title &&
|
|
824
|
+
article.title && React.createElement(
|
|
825
825
|
'h4',
|
|
826
826
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
827
827
|
article.title
|
|
828
828
|
)
|
|
829
829
|
),
|
|
830
|
-
showPublished && article.published &&
|
|
830
|
+
showPublished && article.published && React.createElement(
|
|
831
831
|
'p',
|
|
832
832
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
833
833
|
moment(article.published).format('MMMM DD, YYYY')
|
|
834
834
|
),
|
|
835
|
-
showTimeDiff && article.published &&
|
|
835
|
+
showTimeDiff && article.published && React.createElement(
|
|
836
836
|
'p',
|
|
837
837
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
838
838
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -840,20 +840,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
840
840
|
return null;
|
|
841
841
|
}
|
|
842
842
|
if (index === 3) {
|
|
843
|
-
return
|
|
844
|
-
|
|
843
|
+
return React.createElement(
|
|
844
|
+
React.Fragment,
|
|
845
845
|
null,
|
|
846
|
-
|
|
846
|
+
React.createElement(
|
|
847
847
|
'em',
|
|
848
848
|
{ style: { marginRight: '.5rem' } },
|
|
849
849
|
'...'
|
|
850
850
|
)
|
|
851
851
|
);
|
|
852
852
|
}
|
|
853
|
-
return
|
|
854
|
-
|
|
853
|
+
return React.createElement(
|
|
854
|
+
React.Fragment,
|
|
855
855
|
null,
|
|
856
|
-
|
|
856
|
+
React.createElement(
|
|
857
857
|
'em',
|
|
858
858
|
null,
|
|
859
859
|
taxonomy.name
|
|
@@ -863,30 +863,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
863
863
|
);
|
|
864
864
|
}),
|
|
865
865
|
' ',
|
|
866
|
-
|
|
866
|
+
React.createElement(
|
|
867
867
|
'span',
|
|
868
868
|
{ style: { display: 'inline-block' } },
|
|
869
869
|
timeDifferenceCalc(article.published)
|
|
870
870
|
)
|
|
871
871
|
),
|
|
872
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
872
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
873
873
|
LazyLoad,
|
|
874
874
|
{ height: 50 },
|
|
875
|
-
|
|
875
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
876
876
|
),
|
|
877
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
877
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
878
878
|
'div',
|
|
879
879
|
{ className: 'content-category-label' },
|
|
880
|
-
|
|
880
|
+
React.createElement(
|
|
881
881
|
'div',
|
|
882
882
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
883
883
|
article.source
|
|
884
884
|
)
|
|
885
885
|
),
|
|
886
|
-
|
|
886
|
+
React.createElement(
|
|
887
887
|
'div',
|
|
888
888
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
889
|
-
showCategory && article.contentCategory &&
|
|
889
|
+
showCategory && article.contentCategory && React.createElement(
|
|
890
890
|
'p',
|
|
891
891
|
{
|
|
892
892
|
className: 'article-category',
|
|
@@ -900,7 +900,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
900
900
|
} },
|
|
901
901
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
902
902
|
),
|
|
903
|
-
article.issueSection && article.issueSection.name &&
|
|
903
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
904
904
|
'p',
|
|
905
905
|
{
|
|
906
906
|
className: 'issueSection',
|
|
@@ -916,21 +916,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
916
916
|
article.issueSection.name
|
|
917
917
|
)
|
|
918
918
|
),
|
|
919
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
919
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
920
920
|
'div',
|
|
921
921
|
{ className: 'pubInfo' },
|
|
922
|
-
article.volume &&
|
|
922
|
+
article.volume && React.createElement(
|
|
923
923
|
'p',
|
|
924
924
|
{ className: 'qdeVolume' },
|
|
925
925
|
article.volume
|
|
926
926
|
),
|
|
927
|
-
article.issue &&
|
|
927
|
+
article.issue && React.createElement(
|
|
928
928
|
'p',
|
|
929
929
|
{ className: 'qdeIssue' },
|
|
930
930
|
article.issue
|
|
931
931
|
)
|
|
932
932
|
),
|
|
933
|
-
showIntro && article.summary &&
|
|
933
|
+
showIntro && article.summary && React.createElement(
|
|
934
934
|
'p',
|
|
935
935
|
{ className: 'pt-2 card-text' },
|
|
936
936
|
clean_html_1(article.summary)
|
|
@@ -940,7 +940,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
940
940
|
)
|
|
941
941
|
);
|
|
942
942
|
} else {
|
|
943
|
-
return
|
|
943
|
+
return React.createElement(
|
|
944
944
|
VisibilitySensor,
|
|
945
945
|
{
|
|
946
946
|
key: article._id ? article._id : index,
|
|
@@ -948,51 +948,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
948
948
|
onChange: function onChange(isVisible) {
|
|
949
949
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
950
950
|
} },
|
|
951
|
-
|
|
952
|
-
|
|
951
|
+
React.createElement(
|
|
952
|
+
React.Fragment,
|
|
953
953
|
null,
|
|
954
|
-
|
|
954
|
+
React.createElement(
|
|
955
955
|
Media,
|
|
956
956
|
{
|
|
957
957
|
key: article._id ? article._id : index,
|
|
958
958
|
className: 'feature-media',
|
|
959
959
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
960
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
960
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
961
961
|
'a',
|
|
962
962
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
963
|
-
|
|
963
|
+
React.createElement(
|
|
964
964
|
LazyLoad,
|
|
965
|
-
{ height: imageHeight, placeholder:
|
|
966
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
965
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
966
|
+
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 })
|
|
967
967
|
),
|
|
968
|
-
article.source &&
|
|
968
|
+
article.source && React.createElement(
|
|
969
969
|
'div',
|
|
970
970
|
{ className: 'content-category-label' },
|
|
971
|
-
|
|
971
|
+
React.createElement(
|
|
972
972
|
'div',
|
|
973
973
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
974
974
|
article.source
|
|
975
975
|
)
|
|
976
976
|
)
|
|
977
977
|
),
|
|
978
|
-
|
|
978
|
+
React.createElement(
|
|
979
979
|
Media.Body,
|
|
980
980
|
null,
|
|
981
|
-
|
|
981
|
+
React.createElement(
|
|
982
982
|
'a',
|
|
983
983
|
{ href: article.url.current },
|
|
984
|
-
article.title &&
|
|
984
|
+
article.title && React.createElement(
|
|
985
985
|
'h4',
|
|
986
986
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
987
987
|
article.title
|
|
988
988
|
)
|
|
989
989
|
),
|
|
990
|
-
showPublished && article.published &&
|
|
990
|
+
showPublished && article.published && React.createElement(
|
|
991
991
|
'p',
|
|
992
992
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
993
993
|
moment(article.published).format('MMMM DD, YYYY')
|
|
994
994
|
),
|
|
995
|
-
showTimeDiff && article.published &&
|
|
995
|
+
showTimeDiff && article.published && React.createElement(
|
|
996
996
|
'p',
|
|
997
997
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
998
998
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1000,20 +1000,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1000
1000
|
return null;
|
|
1001
1001
|
}
|
|
1002
1002
|
if (index === 3) {
|
|
1003
|
-
return
|
|
1004
|
-
|
|
1003
|
+
return React.createElement(
|
|
1004
|
+
React.Fragment,
|
|
1005
1005
|
null,
|
|
1006
|
-
|
|
1006
|
+
React.createElement(
|
|
1007
1007
|
'em',
|
|
1008
1008
|
{ style: { marginRight: '.5rem' } },
|
|
1009
1009
|
'...'
|
|
1010
1010
|
)
|
|
1011
1011
|
);
|
|
1012
1012
|
}
|
|
1013
|
-
return
|
|
1014
|
-
|
|
1013
|
+
return React.createElement(
|
|
1014
|
+
React.Fragment,
|
|
1015
1015
|
null,
|
|
1016
|
-
|
|
1016
|
+
React.createElement(
|
|
1017
1017
|
'em',
|
|
1018
1018
|
null,
|
|
1019
1019
|
taxonomy.name
|
|
@@ -1023,30 +1023,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1023
1023
|
);
|
|
1024
1024
|
}),
|
|
1025
1025
|
' ',
|
|
1026
|
-
|
|
1026
|
+
React.createElement(
|
|
1027
1027
|
'span',
|
|
1028
1028
|
{ style: { display: 'inline-block' } },
|
|
1029
1029
|
timeDifferenceCalc(article.published)
|
|
1030
1030
|
)
|
|
1031
1031
|
),
|
|
1032
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1032
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1033
1033
|
LazyLoad,
|
|
1034
1034
|
{ height: 50 },
|
|
1035
|
-
|
|
1035
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1036
1036
|
),
|
|
1037
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1037
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1038
1038
|
'div',
|
|
1039
1039
|
{ className: 'content-category-label' },
|
|
1040
|
-
|
|
1040
|
+
React.createElement(
|
|
1041
1041
|
'div',
|
|
1042
1042
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1043
1043
|
article.source
|
|
1044
1044
|
)
|
|
1045
1045
|
),
|
|
1046
|
-
|
|
1046
|
+
React.createElement(
|
|
1047
1047
|
'div',
|
|
1048
1048
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1049
|
-
showCategory && article.contentCategory &&
|
|
1049
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1050
1050
|
'p',
|
|
1051
1051
|
{
|
|
1052
1052
|
className: 'article-category',
|
|
@@ -1060,7 +1060,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1060
1060
|
} },
|
|
1061
1061
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1062
1062
|
),
|
|
1063
|
-
article.issueSection && article.issueSection.name &&
|
|
1063
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1064
1064
|
'p',
|
|
1065
1065
|
{
|
|
1066
1066
|
className: 'issueSection',
|
|
@@ -1076,21 +1076,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1076
1076
|
article.issueSection.name
|
|
1077
1077
|
)
|
|
1078
1078
|
),
|
|
1079
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1079
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1080
1080
|
'div',
|
|
1081
1081
|
{ className: 'pubInfo' },
|
|
1082
|
-
article.volume &&
|
|
1082
|
+
article.volume && React.createElement(
|
|
1083
1083
|
'p',
|
|
1084
1084
|
{ className: 'qdeVolume' },
|
|
1085
1085
|
article.volume
|
|
1086
1086
|
),
|
|
1087
|
-
article.issue &&
|
|
1087
|
+
article.issue && React.createElement(
|
|
1088
1088
|
'p',
|
|
1089
1089
|
{ className: 'qdeIssue' },
|
|
1090
1090
|
article.issue
|
|
1091
1091
|
)
|
|
1092
1092
|
),
|
|
1093
|
-
showIntro && article.summary &&
|
|
1093
|
+
showIntro && article.summary && React.createElement(
|
|
1094
1094
|
'p',
|
|
1095
1095
|
{ className: 'pt-2 card-text' },
|
|
1096
1096
|
clean_html_1(article.summary)
|
|
@@ -1101,12 +1101,12 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1101
1101
|
);
|
|
1102
1102
|
}
|
|
1103
1103
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
1104
|
-
return
|
|
1104
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
1105
1105
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
1106
|
-
return
|
|
1106
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
1107
1107
|
}
|
|
1108
1108
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
1109
|
-
return
|
|
1109
|
+
return React.createElement(
|
|
1110
1110
|
VisibilitySensor,
|
|
1111
1111
|
{
|
|
1112
1112
|
key: article._id ? article._id : index,
|
|
@@ -1114,50 +1114,50 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1114
1114
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
1115
1115
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
1116
1116
|
} },
|
|
1117
|
-
|
|
1118
|
-
|
|
1117
|
+
React.createElement(
|
|
1118
|
+
React.Fragment,
|
|
1119
1119
|
null,
|
|
1120
|
-
|
|
1120
|
+
React.createElement(
|
|
1121
1121
|
Media,
|
|
1122
1122
|
{
|
|
1123
1123
|
key: article._id ? article._id : index,
|
|
1124
1124
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
1125
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
1125
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
1126
1126
|
'a',
|
|
1127
1127
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
1128
|
-
|
|
1128
|
+
React.createElement(
|
|
1129
1129
|
LazyLoad,
|
|
1130
|
-
{ height: imageHeight, placeholder:
|
|
1131
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
1130
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
1131
|
+
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 })
|
|
1132
1132
|
),
|
|
1133
|
-
article.source &&
|
|
1133
|
+
article.source && React.createElement(
|
|
1134
1134
|
'div',
|
|
1135
1135
|
{ className: 'content-category-label' },
|
|
1136
|
-
|
|
1136
|
+
React.createElement(
|
|
1137
1137
|
'div',
|
|
1138
1138
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1139
1139
|
article.source
|
|
1140
1140
|
)
|
|
1141
1141
|
)
|
|
1142
1142
|
),
|
|
1143
|
-
|
|
1143
|
+
React.createElement(
|
|
1144
1144
|
Media.Body,
|
|
1145
1145
|
null,
|
|
1146
|
-
|
|
1146
|
+
React.createElement(
|
|
1147
1147
|
'a',
|
|
1148
1148
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
1149
|
-
article.title &&
|
|
1149
|
+
article.title && React.createElement(
|
|
1150
1150
|
'h4',
|
|
1151
1151
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
1152
1152
|
article.title
|
|
1153
1153
|
)
|
|
1154
1154
|
),
|
|
1155
|
-
showPublished && article.published &&
|
|
1155
|
+
showPublished && article.published && React.createElement(
|
|
1156
1156
|
'p',
|
|
1157
1157
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1158
1158
|
moment(article.published).format('MMMM DD, YYYY')
|
|
1159
1159
|
),
|
|
1160
|
-
showTimeDiff && article.published &&
|
|
1160
|
+
showTimeDiff && article.published && React.createElement(
|
|
1161
1161
|
'p',
|
|
1162
1162
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1163
1163
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1165,20 +1165,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1165
1165
|
return null;
|
|
1166
1166
|
}
|
|
1167
1167
|
if (index === 3) {
|
|
1168
|
-
return
|
|
1169
|
-
|
|
1168
|
+
return React.createElement(
|
|
1169
|
+
React.Fragment,
|
|
1170
1170
|
null,
|
|
1171
|
-
|
|
1171
|
+
React.createElement(
|
|
1172
1172
|
'em',
|
|
1173
1173
|
{ style: { marginRight: '.5rem' } },
|
|
1174
1174
|
'...'
|
|
1175
1175
|
)
|
|
1176
1176
|
);
|
|
1177
1177
|
}
|
|
1178
|
-
return
|
|
1179
|
-
|
|
1178
|
+
return React.createElement(
|
|
1179
|
+
React.Fragment,
|
|
1180
1180
|
null,
|
|
1181
|
-
|
|
1181
|
+
React.createElement(
|
|
1182
1182
|
'em',
|
|
1183
1183
|
null,
|
|
1184
1184
|
taxonomy.name
|
|
@@ -1188,34 +1188,34 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1188
1188
|
);
|
|
1189
1189
|
}),
|
|
1190
1190
|
' ',
|
|
1191
|
-
|
|
1191
|
+
React.createElement(
|
|
1192
1192
|
'span',
|
|
1193
1193
|
{ style: { display: 'inline-block' } },
|
|
1194
1194
|
timeDifferenceCalc(article.published)
|
|
1195
1195
|
)
|
|
1196
1196
|
),
|
|
1197
|
-
|
|
1197
|
+
React.createElement(
|
|
1198
1198
|
'div',
|
|
1199
1199
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1200
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1200
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1201
1201
|
LazyLoad,
|
|
1202
1202
|
{ height: 50 },
|
|
1203
|
-
|
|
1203
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1204
1204
|
)
|
|
1205
1205
|
),
|
|
1206
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1206
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1207
1207
|
'div',
|
|
1208
1208
|
{ className: 'content-category-label' },
|
|
1209
|
-
|
|
1209
|
+
React.createElement(
|
|
1210
1210
|
'div',
|
|
1211
1211
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1212
1212
|
article.source
|
|
1213
1213
|
)
|
|
1214
1214
|
),
|
|
1215
|
-
|
|
1215
|
+
React.createElement(
|
|
1216
1216
|
'div',
|
|
1217
1217
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1218
|
-
showCategory && article.contentCategory &&
|
|
1218
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1219
1219
|
'p',
|
|
1220
1220
|
{
|
|
1221
1221
|
className: 'article-category',
|
|
@@ -1229,7 +1229,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1229
1229
|
} },
|
|
1230
1230
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1231
1231
|
),
|
|
1232
|
-
article.issueSection && article.issueSection.name &&
|
|
1232
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1233
1233
|
'p',
|
|
1234
1234
|
{
|
|
1235
1235
|
className: 'issueSection',
|
|
@@ -1245,28 +1245,28 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1245
1245
|
article.issueSection.name
|
|
1246
1246
|
)
|
|
1247
1247
|
),
|
|
1248
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1248
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1249
1249
|
'div',
|
|
1250
1250
|
{ className: 'pubInfo' },
|
|
1251
|
-
article.volume &&
|
|
1251
|
+
article.volume && React.createElement(
|
|
1252
1252
|
'p',
|
|
1253
1253
|
{ className: 'qdeVolume' },
|
|
1254
1254
|
article.volume
|
|
1255
1255
|
),
|
|
1256
|
-
article.issue &&
|
|
1256
|
+
article.issue && React.createElement(
|
|
1257
1257
|
'p',
|
|
1258
1258
|
{ className: 'qdeIssue' },
|
|
1259
1259
|
article.issue
|
|
1260
1260
|
)
|
|
1261
1261
|
),
|
|
1262
|
-
showIntro && article.summary &&
|
|
1262
|
+
showIntro && article.summary && React.createElement(
|
|
1263
1263
|
'p',
|
|
1264
1264
|
{ className: 'pt-2 card-text' },
|
|
1265
1265
|
clean_html_1(article.summary)
|
|
1266
1266
|
)
|
|
1267
1267
|
)
|
|
1268
1268
|
),
|
|
1269
|
-
|
|
1269
|
+
React.createElement(
|
|
1270
1270
|
'div',
|
|
1271
1271
|
null,
|
|
1272
1272
|
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
@@ -1275,20 +1275,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1275
1275
|
);
|
|
1276
1276
|
} else return null;
|
|
1277
1277
|
})
|
|
1278
|
-
) :
|
|
1278
|
+
) : React.createElement(
|
|
1279
1279
|
'div',
|
|
1280
1280
|
null,
|
|
1281
|
-
|
|
1281
|
+
React.createElement(
|
|
1282
1282
|
'h5',
|
|
1283
1283
|
null,
|
|
1284
|
-
|
|
1284
|
+
React.createElement(
|
|
1285
1285
|
'em',
|
|
1286
1286
|
null,
|
|
1287
1287
|
'New content coming soon, please check back later.'
|
|
1288
1288
|
)
|
|
1289
1289
|
)
|
|
1290
1290
|
),
|
|
1291
|
-
|
|
1291
|
+
React.createElement(
|
|
1292
1292
|
'style',
|
|
1293
1293
|
{ jsx: 'true' },
|
|
1294
1294
|
'\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 '
|
|
@@ -1297,11 +1297,11 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1297
1297
|
};
|
|
1298
1298
|
|
|
1299
1299
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1300
|
-
return
|
|
1301
|
-
|
|
1300
|
+
return React.createElement(
|
|
1301
|
+
React.Fragment,
|
|
1302
1302
|
null,
|
|
1303
|
-
|
|
1304
|
-
|
|
1303
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1304
|
+
React.createElement(
|
|
1305
1305
|
'style',
|
|
1306
1306
|
{ jsx: 'true' },
|
|
1307
1307
|
'\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 '
|
|
@@ -1311,7 +1311,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1311
1311
|
|
|
1312
1312
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1313
1313
|
var i = numberOfItemsBeforeAd < 6 ? 0 : ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1314
|
-
return
|
|
1314
|
+
return React.createElement(
|
|
1315
1315
|
'div',
|
|
1316
1316
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1317
1317
|
rightItems[i].component
|
|
@@ -1416,15 +1416,15 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1416
1416
|
return null;
|
|
1417
1417
|
}
|
|
1418
1418
|
|
|
1419
|
-
return
|
|
1419
|
+
return React.createElement(
|
|
1420
1420
|
'div',
|
|
1421
1421
|
{ className: 'd-flex justify-content-between' },
|
|
1422
|
-
currentPage && currentPage > 1 &&
|
|
1422
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1423
1423
|
'a',
|
|
1424
1424
|
{ href: '?page=' + (currentPage - 1) },
|
|
1425
1425
|
'<< Previous'
|
|
1426
1426
|
),
|
|
1427
|
-
|
|
1427
|
+
React.createElement(
|
|
1428
1428
|
'a',
|
|
1429
1429
|
{ href: '?page=' + (currentPage + 1) },
|
|
1430
1430
|
'Next >>'
|
|
@@ -1471,40 +1471,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1471
1471
|
// }
|
|
1472
1472
|
// }
|
|
1473
1473
|
|
|
1474
|
-
return
|
|
1474
|
+
return React.createElement(
|
|
1475
1475
|
'div',
|
|
1476
1476
|
null,
|
|
1477
|
-
autoScroll ?
|
|
1478
|
-
|
|
1477
|
+
autoScroll ? React.createElement(
|
|
1478
|
+
React.Fragment,
|
|
1479
1479
|
null,
|
|
1480
|
-
|
|
1480
|
+
React.createElement(
|
|
1481
1481
|
InfiniteScroll,
|
|
1482
1482
|
{ dataLength: data && data.length, next: function next() {
|
|
1483
1483
|
return loadMore(values, setValues, itemsPerPage);
|
|
1484
1484
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1485
|
-
|
|
1485
|
+
React.createElement(
|
|
1486
1486
|
Container,
|
|
1487
1487
|
null,
|
|
1488
1488
|
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)
|
|
1489
1489
|
)
|
|
1490
1490
|
),
|
|
1491
|
-
|
|
1491
|
+
React.createElement(
|
|
1492
1492
|
'noscript',
|
|
1493
1493
|
null,
|
|
1494
1494
|
renderManualPagination(currentPage)
|
|
1495
1495
|
)
|
|
1496
|
-
) :
|
|
1497
|
-
|
|
1496
|
+
) : React.createElement(
|
|
1497
|
+
React.Fragment,
|
|
1498
1498
|
null,
|
|
1499
|
-
|
|
1499
|
+
React.createElement(
|
|
1500
1500
|
Container,
|
|
1501
1501
|
null,
|
|
1502
1502
|
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)
|
|
1503
1503
|
),
|
|
1504
|
-
|
|
1504
|
+
React.createElement(
|
|
1505
1505
|
'div',
|
|
1506
1506
|
{ style: { padding: '0px 10px' } },
|
|
1507
|
-
scrolling ?
|
|
1507
|
+
scrolling ? React.createElement(
|
|
1508
1508
|
'button',
|
|
1509
1509
|
{
|
|
1510
1510
|
className: 'load-more-btn',
|
|
@@ -1513,17 +1513,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1513
1513
|
loadMore(values, setValues, itemsPerPage);
|
|
1514
1514
|
} },
|
|
1515
1515
|
'Load More'
|
|
1516
|
-
) :
|
|
1516
|
+
) : React.createElement(
|
|
1517
1517
|
'p',
|
|
1518
1518
|
{ style: { textAlign: 'center' } },
|
|
1519
|
-
|
|
1519
|
+
React.createElement(
|
|
1520
1520
|
'b',
|
|
1521
1521
|
null,
|
|
1522
1522
|
'End of data'
|
|
1523
1523
|
)
|
|
1524
1524
|
)
|
|
1525
1525
|
),
|
|
1526
|
-
|
|
1526
|
+
React.createElement(
|
|
1527
1527
|
'noscript',
|
|
1528
1528
|
null,
|
|
1529
1529
|
renderManualPagination(currentPage)
|