@mjhls/mjh-framework 1.0.862 → 1.0.863-author-details-v1
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 +1 -1
- package/dist/cjs/AD300x250.js +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +23 -22
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -22
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-25d48cc2.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +23 -22
- package/dist/cjs/ADSponsoredResources.js +23 -22
- package/dist/cjs/ADWebcast.js +23 -22
- package/dist/cjs/ADWelcome.js +20 -19
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-a535a768.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +24 -23
- package/dist/cjs/AdSlotsProvider.js +14 -13
- package/dist/cjs/AlgoliaSearch.js +14103 -30
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +50 -49
- package/dist/cjs/ArticleSeriesLandingPage.js +32 -31
- package/dist/cjs/ArticleSeriesListing.js +33 -32
- package/dist/cjs/Auth.js +348 -484
- package/dist/cjs/AuthWrapper.js +244 -208
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +25 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -32
- package/dist/cjs/ConferenceArticleCard.js +7 -7
- package/dist/cjs/DeckContent.js +34 -33
- package/dist/cjs/DeckQueue.js +31 -30
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-391fd124.js} +15 -14
- package/dist/cjs/EventsDeck.js +28 -28
- package/dist/cjs/ExternalResources.js +47 -46
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +47 -46
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +28 -28
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -46
- package/dist/cjs/HorizontalHero.js +5 -5
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +16 -16
- package/dist/cjs/IssueLanding.js +56 -55
- package/dist/cjs/LeftNav.js +22 -21
- package/dist/cjs/MasterDeck.js +33 -32
- package/dist/cjs/MediaSeriesLanding.js +738 -882
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +31 -31
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +2770 -65
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +35 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +28 -28
- package/dist/cjs/QueueDeckExpanded.js +38 -37
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +7 -7
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +20 -19
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-0d3bf265.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-19548e2a.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +46 -45
- package/dist/cjs/TemplateNormal.js +48 -47
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +14 -14
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +52 -51
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +38 -37
- package/dist/cjs/VideoSeriesListing.js +33 -32
- package/dist/cjs/View.js +94 -90
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +22 -22
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.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/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +71 -135
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +46 -45
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-a9a871f0.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-3c2fa34e.js → index-04a5a4a2.js} +175 -174
- package/dist/cjs/{index-0e4427c8.js → index-2cf30c83.js} +5 -470
- package/dist/cjs/{index-f86bb269.js → index-6367b7bf.js} +35 -35
- 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-e2e62963.js +89 -0
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- 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-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +140 -140
- package/dist/cjs/{inherits-c2065b95.js → inherits-0c7830c5.js} +19 -19
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- 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-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -26
- package/dist/esm/AD300x250x600.js +27 -26
- package/dist/esm/AD728x90.js +30 -29
- package/dist/esm/ADFloatingFooter.js +29 -28
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -28
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-56a3db8b.js} +9 -9
- package/dist/esm/ADSkyscraper.js +29 -28
- package/dist/esm/ADSponsoredResources.js +29 -28
- package/dist/esm/ADWebcast.js +29 -28
- package/dist/esm/ADWelcome.js +30 -29
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-53edb995.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -26
- package/dist/esm/AdSlotsProvider.js +15 -14
- package/dist/esm/AlgoliaSearch.js +14124 -51
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -55
- package/dist/esm/ArticleSeriesLandingPage.js +38 -37
- package/dist/esm/ArticleSeriesListing.js +57 -56
- package/dist/esm/Auth.js +418 -554
- package/dist/esm/AuthWrapper.js +264 -228
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-8ffd4679.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +80 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -27
- package/dist/esm/Column3.js +52 -51
- package/dist/esm/ConferenceArticleCard.js +20 -20
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +79 -78
- package/dist/esm/DeckQueue.js +69 -68
- package/dist/esm/{Dfp-be030f2a.js → Dfp-2f9796e1.js} +23 -22
- package/dist/esm/EventsDeck.js +88 -88
- package/dist/esm/ExternalResources.js +73 -72
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +164 -163
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +105 -105
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -68
- package/dist/esm/HorizontalHero.js +23 -23
- package/dist/esm/IssueContentDeck.js +50 -50
- package/dist/esm/IssueDeck.js +47 -47
- package/dist/esm/IssueLanding.js +64 -63
- package/dist/esm/LeftNav.js +35 -34
- package/dist/esm/MasterDeck.js +66 -65
- package/dist/esm/MediaSeriesLanding.js +752 -896
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -113
- package/dist/esm/NavNative.js +103 -103
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +2818 -114
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +40 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +39 -39
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +276 -275
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +20 -20
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +33 -32
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-7d89f4d9.js} +27 -27
- 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-db963c3e.js → SocialSearchComponent-47815365.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -42
- package/dist/esm/TaxonomyDescription.js +50 -49
- package/dist/esm/TemplateNormal.js +68 -67
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +27 -27
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +64 -63
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +43 -42
- package/dist/esm/VideoSeriesListing.js +73 -72
- package/dist/esm/View.js +250 -246
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +47 -47
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
- 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-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.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/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +71 -135
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +46 -45
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-bd800589.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- 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-aaa2dae0.js +85 -0
- package/dist/esm/{index-79cfd25c.js → index-c00b0bbb.js} +35 -35
- package/dist/esm/{index-fce5c5b6.js → index-cf54da7f.js} +571 -570
- package/dist/esm/{index-5cc7b406.js → index-f7fb1e25.js} +7 -472
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +136 -136
- package/dist/esm/{inherits-a41fe93f.js → inherits-75d45541.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-747e7d25.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-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-4330ccdc.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-af9c50d8.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.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-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/main-d4165069.js +0 -961
- package/dist/esm/stringify-59c8f690.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
19
|
+
import 'prop-types';
|
|
6
20
|
import Container from 'react-bootstrap/Container';
|
|
7
21
|
import Row from 'react-bootstrap/Row';
|
|
8
22
|
import Col from 'react-bootstrap/Col';
|
|
9
23
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import {
|
|
11
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
24
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
12
25
|
import { withRouter } from 'next/router';
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
21
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
26
|
+
import './isSymbol-1981418f.js';
|
|
27
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
28
|
+
import './toNumber-2f7a84cd.js';
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
|
+
import 'react-dom';
|
|
31
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
32
|
+
import './index-51a80699.js';
|
|
22
33
|
import urlFor from './urlFor.js';
|
|
23
|
-
import {
|
|
34
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
35
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
36
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
37
|
+
import './slicedToArray-641f241f.js';
|
|
38
|
+
import './stringify-4330ccdc.js';
|
|
39
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
40
|
+
import './Segment.js';
|
|
41
|
+
import './Beam.js';
|
|
42
|
+
import './AdSlot.js';
|
|
43
|
+
import { A as ADInfeed } from './ADInfeed-56a3db8b.js';
|
|
44
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
45
|
+
import { A as ADlgInfeed } from './ADlgInfeed-53edb995.js';
|
|
46
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
47
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
48
|
+
import './eq-b470f743.js';
|
|
24
49
|
import './AD.js';
|
|
25
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
50
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
26
51
|
import Button from 'react-bootstrap/Button';
|
|
27
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
|
-
import './es6.string.iterator-bc33758b.js';
|
|
29
|
-
import './_to-object-b50e61c3.js';
|
|
30
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
31
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
32
|
-
import './_object-pie-133f504a.js';
|
|
33
|
-
import './_object-sap-f353c2a9.js';
|
|
34
|
-
import './define-property-fe54dc9f.js';
|
|
35
|
-
import './typeof-a286cf0c.js';
|
|
36
|
-
import './web.dom.iterable-4109ff68.js';
|
|
37
|
-
import './_is-array-3e99e06e.js';
|
|
38
|
-
import './_library-528f1934.js';
|
|
39
|
-
import 'prop-types';
|
|
40
|
-
import 'react-dom';
|
|
41
|
-
import './slicedToArray-be2f7a22.js';
|
|
42
|
-
import './AdSlot.js';
|
|
43
|
-
import './Beam.js';
|
|
44
|
-
import './stringify-59c8f690.js';
|
|
45
|
-
import './asyncToGenerator-7f8f9219.js';
|
|
46
|
-
import './Segment.js';
|
|
47
|
-
import './isSymbol-a7e9aafe.js';
|
|
48
|
-
import './eq-bdcbf886.js';
|
|
49
|
-
import './toNumber-5aeba6e7.js';
|
|
50
|
-
import './index-0dbff1d1.js';
|
|
51
52
|
|
|
52
53
|
var PublicationFeature = function PublicationFeature(_ref) {
|
|
53
54
|
var data = _ref.data,
|
|
@@ -72,20 +73,20 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
72
73
|
thumbnail = data.thumbnail;
|
|
73
74
|
|
|
74
75
|
if (name && articles && articles.length > 0) {
|
|
75
|
-
return
|
|
76
|
+
return React.createElement(
|
|
76
77
|
'div',
|
|
77
78
|
{ className: 'publication-feature-container border rounded p-2' },
|
|
78
|
-
|
|
79
|
+
React.createElement(
|
|
79
80
|
Row,
|
|
80
81
|
null,
|
|
81
|
-
|
|
82
|
+
React.createElement(
|
|
82
83
|
Col,
|
|
83
84
|
{ xs: 12 },
|
|
84
|
-
|
|
85
|
+
React.createElement(
|
|
85
86
|
'h4',
|
|
86
87
|
null,
|
|
87
88
|
name,
|
|
88
|
-
month && year &&
|
|
89
|
+
month && year && React.createElement(
|
|
89
90
|
'span',
|
|
90
91
|
null,
|
|
91
92
|
' ',
|
|
@@ -96,42 +97,42 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
96
97
|
)
|
|
97
98
|
)
|
|
98
99
|
),
|
|
99
|
-
|
|
100
|
+
React.createElement(
|
|
100
101
|
Col,
|
|
101
102
|
{ xs: 12, sm: 4 },
|
|
102
|
-
|
|
103
|
+
React.createElement(
|
|
103
104
|
LazyLoad,
|
|
104
105
|
{ once: true },
|
|
105
|
-
|
|
106
|
+
React.createElement('img', { className: 'w-100 mb-2', src: thumbnail && thumbnail.asset && client ? urlFor({ client: client, source: thumbnail.asset }) : defaultImage, alt: name || '' })
|
|
106
107
|
)
|
|
107
108
|
),
|
|
108
|
-
|
|
109
|
+
React.createElement(
|
|
109
110
|
Col,
|
|
110
111
|
{ xs: 12, sm: 8 },
|
|
111
|
-
|
|
112
|
+
React.createElement(
|
|
112
113
|
Row,
|
|
113
114
|
null,
|
|
114
115
|
articles.map(function (article) {
|
|
115
|
-
return
|
|
116
|
+
return React.createElement(
|
|
116
117
|
Col,
|
|
117
118
|
{ key: article._id, xs: 12, sm: 6 },
|
|
118
|
-
article.issueSection && article.issueSection.name &&
|
|
119
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
119
120
|
'h6',
|
|
120
121
|
{ className: 'text-primary m-0 p-0 text-uppercase font-weight-bold' },
|
|
121
122
|
article.issueSection.name
|
|
122
123
|
),
|
|
123
|
-
article.title &&
|
|
124
|
-
|
|
124
|
+
article.title && React.createElement(
|
|
125
|
+
React.Fragment,
|
|
125
126
|
null,
|
|
126
|
-
article.url && article.url.current ?
|
|
127
|
+
article.url && article.url.current ? React.createElement(
|
|
127
128
|
'a',
|
|
128
129
|
{ href: '/view/' + article.url.current },
|
|
129
|
-
|
|
130
|
+
React.createElement(
|
|
130
131
|
'h6',
|
|
131
132
|
{ className: 'text-break' },
|
|
132
133
|
article.title
|
|
133
134
|
)
|
|
134
|
-
) :
|
|
135
|
+
) : React.createElement(
|
|
135
136
|
'h6',
|
|
136
137
|
{ className: 'text-break' },
|
|
137
138
|
article.title
|
|
@@ -141,10 +142,10 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
141
142
|
})
|
|
142
143
|
)
|
|
143
144
|
),
|
|
144
|
-
issueMapping && parentSlug && childSlug &&
|
|
145
|
+
issueMapping && parentSlug && childSlug && React.createElement(
|
|
145
146
|
Col,
|
|
146
147
|
{ xs: 12 },
|
|
147
|
-
|
|
148
|
+
React.createElement(
|
|
148
149
|
Button,
|
|
149
150
|
{ href: issueMapping + '/' + parentSlug + '/' + childSlug, className: 'float-right', variant: 'outline-primary' },
|
|
150
151
|
'More Articles ',
|
|
@@ -152,7 +153,7 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
152
153
|
)
|
|
153
154
|
)
|
|
154
155
|
),
|
|
155
|
-
|
|
156
|
+
React.createElement(
|
|
156
157
|
'style',
|
|
157
158
|
{ jsx: 'true' },
|
|
158
159
|
'\n .row {\n margin-top: -15px;\n margin-left: -15px;\n margin-right: 0;\n }\n .row > * {\n padding-top: 15px;\n padding-left: 15px;\n padding-right: 0;\n }\n '
|
|
@@ -267,9 +268,9 @@ var GridContent = function (_React$Component) {
|
|
|
267
268
|
}
|
|
268
269
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
269
270
|
var _this$props2 = _this.props,
|
|
270
|
-
seoPaginate = _this$props2.seoPaginate
|
|
271
|
-
_this$props2.pageview
|
|
272
|
-
|
|
271
|
+
seoPaginate = _this$props2.seoPaginate,
|
|
272
|
+
pageview = _this$props2.pageview,
|
|
273
|
+
router = _this$props2.router;
|
|
273
274
|
var currentPage = _this.state.currentPage;
|
|
274
275
|
|
|
275
276
|
if (seoPaginate) {
|
|
@@ -334,7 +335,7 @@ var GridContent = function (_React$Component) {
|
|
|
334
335
|
var rightItems = _this.props.rightItems;
|
|
335
336
|
|
|
336
337
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
337
|
-
return
|
|
338
|
+
return React.createElement(
|
|
338
339
|
'div',
|
|
339
340
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
340
341
|
rightItems[i].component
|
|
@@ -342,15 +343,15 @@ var GridContent = function (_React$Component) {
|
|
|
342
343
|
}, _this.renderManualPagination = function () {
|
|
343
344
|
var currentPage = _this.state.currentPage;
|
|
344
345
|
|
|
345
|
-
return
|
|
346
|
+
return React.createElement(
|
|
346
347
|
'div',
|
|
347
348
|
{ className: 'd-flex justify-content-between' },
|
|
348
|
-
currentPage && currentPage > 1 &&
|
|
349
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
349
350
|
'a',
|
|
350
351
|
{ href: '?page=' + (currentPage - 1) },
|
|
351
352
|
'<< Previous'
|
|
352
353
|
),
|
|
353
|
-
|
|
354
|
+
React.createElement(
|
|
354
355
|
'a',
|
|
355
356
|
{ href: '?page=' + (currentPage + 1) },
|
|
356
357
|
'Next >>'
|
|
@@ -385,62 +386,62 @@ var GridContent = function (_React$Component) {
|
|
|
385
386
|
var numberOfItemsBeforeAd = 6;
|
|
386
387
|
var numberOfItemsBeforeVideo = 3;
|
|
387
388
|
if (variant === 'stack') {
|
|
388
|
-
return
|
|
389
|
+
return React.createElement(
|
|
389
390
|
Row,
|
|
390
391
|
null,
|
|
391
392
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
392
393
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
393
|
-
return
|
|
394
|
+
return React.createElement(
|
|
394
395
|
Col,
|
|
395
396
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
396
|
-
|
|
397
|
+
React.createElement(
|
|
397
398
|
Card,
|
|
398
399
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
399
|
-
|
|
400
|
+
React.createElement(
|
|
400
401
|
Row,
|
|
401
402
|
{ style: { flexDirection: 'row' } },
|
|
402
|
-
|
|
403
|
+
React.createElement(
|
|
403
404
|
Col,
|
|
404
405
|
{ md: 12, lg: 4 },
|
|
405
|
-
|
|
406
|
+
React.createElement(
|
|
406
407
|
'a',
|
|
407
408
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
408
|
-
|
|
409
|
+
React.createElement(
|
|
409
410
|
LazyLoad,
|
|
410
411
|
{ height: _this2.props.imageHeight },
|
|
411
|
-
|
|
412
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
412
413
|
)
|
|
413
414
|
)
|
|
414
415
|
),
|
|
415
|
-
|
|
416
|
+
React.createElement(
|
|
416
417
|
Col,
|
|
417
418
|
null,
|
|
418
|
-
|
|
419
|
+
React.createElement(
|
|
419
420
|
Card.Body,
|
|
420
421
|
{ style: { padding: '20px' } },
|
|
421
|
-
|
|
422
|
+
React.createElement(
|
|
422
423
|
Card.Title,
|
|
423
424
|
null,
|
|
424
|
-
|
|
425
|
+
React.createElement(
|
|
425
426
|
'a',
|
|
426
427
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
427
428
|
row.title
|
|
428
429
|
)
|
|
429
430
|
),
|
|
430
|
-
_this2.props.showPublished && row.published &&
|
|
431
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
431
432
|
Card.Subtitle,
|
|
432
433
|
{ style: { marginTop: 0 } },
|
|
433
434
|
moment(row.published).format('MMMM DD, YYYY')
|
|
434
435
|
),
|
|
435
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
436
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
436
437
|
LazyLoad,
|
|
437
438
|
{ height: 50 },
|
|
438
|
-
|
|
439
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
439
440
|
),
|
|
440
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
441
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
441
442
|
LazyLoad,
|
|
442
443
|
{ height: 50 },
|
|
443
|
-
|
|
444
|
+
React.createElement(
|
|
444
445
|
'p',
|
|
445
446
|
{
|
|
446
447
|
className: 'article-category',
|
|
@@ -455,7 +456,7 @@ var GridContent = function (_React$Component) {
|
|
|
455
456
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
456
457
|
)
|
|
457
458
|
),
|
|
458
|
-
|
|
459
|
+
React.createElement(
|
|
459
460
|
Card.Text,
|
|
460
461
|
null,
|
|
461
462
|
clean_html_1(row.summary)
|
|
@@ -465,13 +466,13 @@ var GridContent = function (_React$Component) {
|
|
|
465
466
|
)
|
|
466
467
|
)
|
|
467
468
|
);
|
|
468
|
-
}) :
|
|
469
|
+
}) : React.createElement(
|
|
469
470
|
'div',
|
|
470
471
|
null,
|
|
471
|
-
|
|
472
|
+
React.createElement(
|
|
472
473
|
'h5',
|
|
473
474
|
null,
|
|
474
|
-
|
|
475
|
+
React.createElement(
|
|
475
476
|
'em',
|
|
476
477
|
null,
|
|
477
478
|
'New content coming soon, please check back later.'
|
|
@@ -586,7 +587,7 @@ var GridContent = function (_React$Component) {
|
|
|
586
587
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
587
588
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
588
589
|
var featureCount = 0;
|
|
589
|
-
return
|
|
590
|
+
return React.createElement(
|
|
590
591
|
'div',
|
|
591
592
|
{ className: 'grid-container' },
|
|
592
593
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -596,58 +597,58 @@ var GridContent = function (_React$Component) {
|
|
|
596
597
|
if (row._type === 'feature') {
|
|
597
598
|
featureCount++;
|
|
598
599
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
599
|
-
return
|
|
600
|
-
|
|
600
|
+
return React.createElement(
|
|
601
|
+
React.Fragment,
|
|
601
602
|
{ key: itemCounter },
|
|
602
|
-
|
|
603
|
+
React.createElement(
|
|
603
604
|
VisibilitySensor,
|
|
604
605
|
{
|
|
605
606
|
partialVisibility: true,
|
|
606
607
|
onChange: function onChange(isVisible) {
|
|
607
608
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
608
609
|
} },
|
|
609
|
-
|
|
610
|
+
React.createElement(
|
|
610
611
|
'div',
|
|
611
612
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
612
|
-
|
|
613
|
+
React.createElement(
|
|
613
614
|
Card,
|
|
614
615
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
615
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
616
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
616
617
|
'a',
|
|
617
618
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
618
|
-
|
|
619
|
+
React.createElement(
|
|
619
620
|
LazyLoad,
|
|
620
621
|
{ height: _this2.props.imageHeight },
|
|
621
|
-
|
|
622
|
+
React.createElement(Card.Img, {
|
|
622
623
|
variant: 'top',
|
|
623
624
|
src: _this2.renderCardImage(row, page),
|
|
624
625
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
625
626
|
})
|
|
626
627
|
)
|
|
627
628
|
),
|
|
628
|
-
|
|
629
|
+
React.createElement(
|
|
629
630
|
Card.Body,
|
|
630
631
|
null,
|
|
631
|
-
|
|
632
|
+
React.createElement(
|
|
632
633
|
'a',
|
|
633
634
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
634
|
-
|
|
635
|
+
React.createElement(
|
|
635
636
|
Card.Title,
|
|
636
637
|
null,
|
|
637
638
|
row.title
|
|
638
639
|
)
|
|
639
640
|
),
|
|
640
|
-
_this2.props.showPublished && row.published &&
|
|
641
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
641
642
|
Card.Subtitle,
|
|
642
643
|
{ style: { marginTop: 0 } },
|
|
643
644
|
moment(row.published).format('MMMM DD, YYYY')
|
|
644
645
|
),
|
|
645
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
646
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
646
647
|
LazyLoad,
|
|
647
648
|
{ height: 50 },
|
|
648
|
-
|
|
649
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
649
650
|
),
|
|
650
|
-
|
|
651
|
+
React.createElement(
|
|
651
652
|
Card.Text,
|
|
652
653
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
653
654
|
clean_html_1(row.summary)
|
|
@@ -656,62 +657,62 @@ var GridContent = function (_React$Component) {
|
|
|
656
657
|
)
|
|
657
658
|
)
|
|
658
659
|
),
|
|
659
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
660
|
-
|
|
660
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
661
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
661
662
|
);
|
|
662
663
|
} else {
|
|
663
|
-
return
|
|
664
|
-
|
|
664
|
+
return React.createElement(
|
|
665
|
+
React.Fragment,
|
|
665
666
|
{ key: itemCounter },
|
|
666
|
-
|
|
667
|
+
React.createElement(
|
|
667
668
|
VisibilitySensor,
|
|
668
669
|
{
|
|
669
670
|
partialVisibility: true,
|
|
670
671
|
onChange: function onChange(isVisible) {
|
|
671
672
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
672
673
|
} },
|
|
673
|
-
|
|
674
|
+
React.createElement(
|
|
674
675
|
'div',
|
|
675
676
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
676
|
-
|
|
677
|
+
React.createElement(
|
|
677
678
|
Card,
|
|
678
679
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
679
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
680
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
680
681
|
'a',
|
|
681
682
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
682
|
-
|
|
683
|
+
React.createElement(
|
|
683
684
|
LazyLoad,
|
|
684
685
|
{ height: _this2.props.imageHeight },
|
|
685
|
-
|
|
686
|
+
React.createElement(Card.Img, {
|
|
686
687
|
variant: 'top',
|
|
687
688
|
src: _this2.renderCardImage(row, page),
|
|
688
689
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
689
690
|
})
|
|
690
691
|
)
|
|
691
692
|
),
|
|
692
|
-
|
|
693
|
+
React.createElement(
|
|
693
694
|
Card.Body,
|
|
694
695
|
null,
|
|
695
|
-
|
|
696
|
+
React.createElement(
|
|
696
697
|
'a',
|
|
697
698
|
{ href: row.url.current },
|
|
698
|
-
|
|
699
|
+
React.createElement(
|
|
699
700
|
Card.Title,
|
|
700
701
|
null,
|
|
701
702
|
row.title
|
|
702
703
|
)
|
|
703
704
|
),
|
|
704
|
-
_this2.props.showPublished && row.published &&
|
|
705
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
705
706
|
Card.Subtitle,
|
|
706
707
|
{ style: { marginTop: 0 } },
|
|
707
708
|
moment(row.published).format('MMMM DD, YYYY')
|
|
708
709
|
),
|
|
709
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
710
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
710
711
|
LazyLoad,
|
|
711
712
|
{ height: 50 },
|
|
712
|
-
|
|
713
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
713
714
|
),
|
|
714
|
-
|
|
715
|
+
React.createElement(
|
|
715
716
|
Card.Text,
|
|
716
717
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
717
718
|
clean_html_1(row.summary)
|
|
@@ -720,71 +721,71 @@ var GridContent = function (_React$Component) {
|
|
|
720
721
|
)
|
|
721
722
|
)
|
|
722
723
|
),
|
|
723
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
724
|
-
|
|
724
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
725
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
725
726
|
);
|
|
726
727
|
}
|
|
727
728
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
728
|
-
return
|
|
729
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
729
730
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
730
|
-
return
|
|
731
|
-
} else if (row._type === 'publication') return
|
|
731
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
732
|
+
} else if (row._type === 'publication') return React.createElement(PublicationFeature, { data: row, defaultImage: _this2.defaultImage, issueMapping: _this2.props.issueMapping, client: _this2.client });
|
|
732
733
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
733
|
-
return
|
|
734
|
-
|
|
734
|
+
return React.createElement(
|
|
735
|
+
React.Fragment,
|
|
735
736
|
{ key: itemCounter },
|
|
736
|
-
|
|
737
|
+
React.createElement(
|
|
737
738
|
VisibilitySensor,
|
|
738
739
|
{
|
|
739
740
|
onChange: function onChange(isVisible) {
|
|
740
741
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
741
742
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
742
743
|
} },
|
|
743
|
-
|
|
744
|
+
React.createElement(
|
|
744
745
|
'div',
|
|
745
746
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
746
|
-
|
|
747
|
+
React.createElement(
|
|
747
748
|
Card,
|
|
748
749
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
749
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
750
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
750
751
|
'a',
|
|
751
752
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
752
|
-
|
|
753
|
+
React.createElement(
|
|
753
754
|
LazyLoad,
|
|
754
755
|
{ height: _this2.props.imageHeight },
|
|
755
|
-
|
|
756
|
+
React.createElement(Card.Img, {
|
|
756
757
|
variant: 'top',
|
|
757
758
|
src: _this2.renderCardImage(row, page),
|
|
758
759
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
759
760
|
})
|
|
760
761
|
)
|
|
761
762
|
),
|
|
762
|
-
|
|
763
|
+
React.createElement(
|
|
763
764
|
Card.Body,
|
|
764
765
|
null,
|
|
765
|
-
|
|
766
|
+
React.createElement(
|
|
766
767
|
'a',
|
|
767
768
|
{ href: linkHref },
|
|
768
|
-
|
|
769
|
+
React.createElement(
|
|
769
770
|
Card.Title,
|
|
770
771
|
null,
|
|
771
772
|
row.title
|
|
772
773
|
)
|
|
773
774
|
),
|
|
774
|
-
_this2.props.showPublished && row.published &&
|
|
775
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
775
776
|
Card.Subtitle,
|
|
776
777
|
{ style: { marginTop: 0 } },
|
|
777
778
|
moment(row.published).format('MMMM DD, YYYY')
|
|
778
779
|
),
|
|
779
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
780
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
780
781
|
LazyLoad,
|
|
781
782
|
{ height: 50 },
|
|
782
|
-
|
|
783
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
783
784
|
),
|
|
784
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
785
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
785
786
|
LazyLoad,
|
|
786
787
|
{ height: 50 },
|
|
787
|
-
|
|
788
|
+
React.createElement(
|
|
788
789
|
'p',
|
|
789
790
|
{
|
|
790
791
|
className: 'article-category',
|
|
@@ -799,7 +800,7 @@ var GridContent = function (_React$Component) {
|
|
|
799
800
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
800
801
|
)
|
|
801
802
|
),
|
|
802
|
-
|
|
803
|
+
React.createElement(
|
|
803
804
|
Card.Text,
|
|
804
805
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
805
806
|
clean_html_1(row.summary)
|
|
@@ -808,17 +809,17 @@ var GridContent = function (_React$Component) {
|
|
|
808
809
|
)
|
|
809
810
|
)
|
|
810
811
|
),
|
|
811
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
812
|
-
|
|
812
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
813
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
813
814
|
);
|
|
814
815
|
} else return null;
|
|
815
|
-
}) :
|
|
816
|
+
}) : React.createElement(
|
|
816
817
|
'div',
|
|
817
818
|
null,
|
|
818
|
-
|
|
819
|
+
React.createElement(
|
|
819
820
|
'h5',
|
|
820
821
|
null,
|
|
821
|
-
|
|
822
|
+
React.createElement(
|
|
822
823
|
'em',
|
|
823
824
|
null,
|
|
824
825
|
'New content coming soon, please check back later.'
|
|
@@ -843,29 +844,29 @@ var GridContent = function (_React$Component) {
|
|
|
843
844
|
brandInsight = _props.brandInsight;
|
|
844
845
|
|
|
845
846
|
|
|
846
|
-
return
|
|
847
|
+
return React.createElement(
|
|
847
848
|
'div',
|
|
848
849
|
{ className: 'contentDeck' },
|
|
849
|
-
autoScroll ?
|
|
850
|
+
autoScroll ? React.createElement(
|
|
850
851
|
InfiniteScroll,
|
|
851
852
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
852
|
-
|
|
853
|
+
React.createElement(
|
|
853
854
|
Container,
|
|
854
855
|
null,
|
|
855
856
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
856
857
|
)
|
|
857
|
-
) :
|
|
858
|
-
|
|
858
|
+
) : React.createElement(
|
|
859
|
+
React.Fragment,
|
|
859
860
|
null,
|
|
860
|
-
|
|
861
|
+
React.createElement(
|
|
861
862
|
Container,
|
|
862
863
|
null,
|
|
863
864
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
864
865
|
),
|
|
865
|
-
|
|
866
|
+
React.createElement(
|
|
866
867
|
'div',
|
|
867
868
|
{ style: { padding: '0px 10px' } },
|
|
868
|
-
this.state.scrolling ?
|
|
869
|
+
this.state.scrolling ? React.createElement(
|
|
869
870
|
'button',
|
|
870
871
|
{
|
|
871
872
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -873,17 +874,17 @@ var GridContent = function (_React$Component) {
|
|
|
873
874
|
_this3.loadMore();
|
|
874
875
|
} },
|
|
875
876
|
'Load More'
|
|
876
|
-
) :
|
|
877
|
+
) : React.createElement(
|
|
877
878
|
'p',
|
|
878
879
|
{ style: { textAlign: 'center' } },
|
|
879
|
-
|
|
880
|
+
React.createElement(
|
|
880
881
|
'b',
|
|
881
882
|
null,
|
|
882
883
|
'End of data'
|
|
883
884
|
)
|
|
884
885
|
)
|
|
885
886
|
),
|
|
886
|
-
|
|
887
|
+
React.createElement(
|
|
887
888
|
'noscript',
|
|
888
889
|
null,
|
|
889
890
|
this.renderManualPagination()
|
|
@@ -894,8 +895,8 @@ var GridContent = function (_React$Component) {
|
|
|
894
895
|
}]);
|
|
895
896
|
|
|
896
897
|
return GridContent;
|
|
897
|
-
}(
|
|
898
|
+
}(React.Component);
|
|
898
899
|
|
|
899
|
-
var GridContent$1 =
|
|
900
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
900
901
|
|
|
901
902
|
export default GridContent$1;
|