@mjhls/mjh-framework 1.0.840-beta.1 → 1.0.840-seomanager-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 +168 -168
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +31 -30
- package/dist/cjs/AD300x250x600.js +31 -30
- package/dist/cjs/AD728x90.js +34 -33
- package/dist/cjs/ADFloatingFooter.js +33 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -32
- package/dist/cjs/{ADInfeed-8d621d3c.js → ADInfeed-859820d9.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -32
- package/dist/cjs/ADSponsoredResources.js +33 -32
- package/dist/cjs/ADWebcast.js +33 -32
- package/dist/cjs/ADWelcome.js +34 -33
- package/dist/cjs/{ADlgInfeed-0e26bccb.js → ADlgInfeed-da3a36a6.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +21 -916
- package/dist/cjs/AlgoliaSearch.js +1371 -1276
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +63 -62
- package/dist/cjs/ArticleSeriesLandingPage.js +43 -42
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +686 -462
- package/dist/cjs/AuthWrapper.js +1739 -423
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +62 -59
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -103
- package/dist/cjs/DeckQueue.js +94 -90
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +81 -80
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +190 -304
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +146 -141
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +73 -72
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +78 -73
- package/dist/cjs/IssueDeck.js +77 -72
- package/dist/cjs/IssueLanding.js +96 -95
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/MediaSeriesLanding.js +1232 -1141
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +153 -148
- package/dist/cjs/NavNative.js +147 -139
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +125 -3957
- package/dist/cjs/PdfDownload.js +10 -9
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -42
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +67 -62
- package/dist/cjs/PublicationLanding.js +139 -135
- package/dist/cjs/QueueDeckExpanded.js +310 -310
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +55 -54
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-34c6cc2b.js} +40 -39
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-948138c7.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +56 -55
- package/dist/cjs/TemplateNormal.js +75 -74
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +31 -30
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +80 -76
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +52 -51
- package/dist/cjs/VideoSeriesListing.js +81 -82
- package/dist/cjs/View.js +310 -265
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.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/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +21 -21
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +8 -8
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-021d644c.js → getTargeting-be6168ad.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-1d6b1687.js → index-060c5d65.js} +997 -1025
- package/dist/cjs/{index-e2e62963.js → index-50be6759.js} +26 -10
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
- package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-c1e16606.js} +4 -7
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
- package/dist/cjs/index.js +169 -164
- package/dist/cjs/{inherits-1f5a1c72.js → inherits-c2065b95.js} +20 -20
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.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-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +1 -1
- 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 +23 -23
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-b566ce41.js → ADInfeed-4bf3b2f9.js} +6 -6
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-5eb7281d.js → ADlgInfeed-a3377c4a.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +24 -24
- package/dist/esm/AdSlotsProvider.js +17 -913
- package/dist/esm/AlgoliaSearch.js +599 -505
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +50 -50
- package/dist/esm/ArticleSeriesLandingPage.js +32 -32
- package/dist/esm/ArticleSeriesListing.js +34 -34
- package/dist/esm/Auth.js +595 -375
- package/dist/esm/AuthWrapper.js +1711 -396
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-30aeba69.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c99c9a8d.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +24 -24
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +21 -21
- package/dist/esm/Column3.js +39 -39
- package/dist/esm/ConferenceArticleCard.js +22 -22
- package/dist/esm/DeckContent.js +57 -57
- package/dist/esm/DeckQueue.js +50 -50
- package/dist/esm/{Dfp-b7236041.js → Dfp-2c43d2a0.js} +15 -15
- package/dist/esm/EventsDeck.js +67 -67
- package/dist/esm/ExternalResources.js +48 -48
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +82 -200
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +39 -39
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -47
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +27 -27
- package/dist/esm/IssueDeck.js +37 -37
- package/dist/esm/IssueLanding.js +84 -84
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +22 -22
- package/dist/esm/MasterDeck.js +45 -45
- package/dist/esm/MediaSeriesLanding.js +751 -663
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +44 -44
- package/dist/esm/NavNative.js +43 -43
- package/dist/esm/OncliveHero.js +4 -5
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +75 -3907
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +34 -34
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +24 -24
- package/dist/esm/PublicationLanding.js +76 -76
- package/dist/esm/QueueDeckExpanded.js +38 -38
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +35 -35
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-5d5c08f4.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-db963c3e.js} +12 -12
- package/dist/esm/TaxonomyCard.js +25 -25
- package/dist/esm/TaxonomyDescription.js +46 -46
- package/dist/esm/TemplateNormal.js +50 -50
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +14 -14
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +54 -54
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +38 -38
- package/dist/esm/VideoSeriesListing.js +37 -39
- package/dist/esm/View.js +140 -99
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +26 -26
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.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/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-68291ce9.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
- package/dist/esm/{index-44f4646f.js → index-01d53c17.js} +639 -674
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-aaa2dae0.js → index-98ca9cec.js} +26 -11
- package/dist/esm/{index-41a678ea.js → index-f0fc23eb.js} +4 -4
- package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
- package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-9b042655.js} +4 -7
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
- package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
- package/dist/esm/index.js +124 -122
- package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-d4165069.js +961 -0
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +110 -111
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/inherits-77d5e4fc.js +0 -101
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,167 +1,53 @@
|
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
6
|
+
import Container from 'react-bootstrap/Container';
|
|
7
|
+
import Row from 'react-bootstrap/Row';
|
|
8
|
+
import Col from 'react-bootstrap/Col';
|
|
9
|
+
import Card from 'react-bootstrap/Card';
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
11
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
12
|
+
import { withRouter } from 'next/router';
|
|
13
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-4bf3b2f9.js';
|
|
16
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-a3377c4a.js';
|
|
18
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
|
+
import { g as get_1 } from './get-3c308da4.js';
|
|
20
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
21
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
22
|
+
import urlFor from './urlFor.js';
|
|
23
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
24
|
+
import './AD.js';
|
|
25
|
+
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
1
26
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
27
|
+
import './es6.string.iterator-bc33758b.js';
|
|
28
|
+
import './_to-object-b50e61c3.js';
|
|
29
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
30
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
31
|
+
import './_object-pie-133f504a.js';
|
|
32
|
+
import './_object-sap-f353c2a9.js';
|
|
33
|
+
import './define-property-fe54dc9f.js';
|
|
34
|
+
import './typeof-a286cf0c.js';
|
|
35
|
+
import './web.dom.iterable-4109ff68.js';
|
|
36
|
+
import './_is-array-3e99e06e.js';
|
|
4
37
|
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-cf8dde54.js';
|
|
12
|
-
import './define-property-8af5f002.js';
|
|
13
|
-
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-6435ba1c.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
16
|
-
import React__default from 'react';
|
|
17
38
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
19
39
|
import 'prop-types';
|
|
20
|
-
import Container$1 from 'react-bootstrap/Container';
|
|
21
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
22
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
23
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
24
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
25
|
-
import { withRouter } from 'next/router';
|
|
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-29c1cef5.js';
|
|
30
40
|
import 'react-dom';
|
|
31
|
-
import
|
|
32
|
-
import './index-73819142.js';
|
|
33
|
-
import urlFor from './urlFor.js';
|
|
34
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
35
|
-
import { m as main_36 } from './main-e4a934b2.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';
|
|
41
|
+
import './slicedToArray-be2f7a22.js';
|
|
42
42
|
import './AdSlot.js';
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import './eq-
|
|
49
|
-
import './
|
|
50
|
-
import
|
|
51
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
52
|
-
|
|
53
|
-
var PublicationFeature = function PublicationFeature(_ref) {
|
|
54
|
-
var data = _ref.data,
|
|
55
|
-
_ref$issueMapping = _ref.issueMapping,
|
|
56
|
-
issueMapping = _ref$issueMapping === undefined ? '/publications' : _ref$issueMapping,
|
|
57
|
-
defaultImage = _ref.defaultImage,
|
|
58
|
-
client = _ref.client;
|
|
59
|
-
|
|
60
|
-
var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
|
|
61
|
-
var _data$parent = data.parent;
|
|
62
|
-
_data$parent = _data$parent === undefined ? {} : _data$parent;
|
|
63
|
-
var _data$parent$identifi = _data$parent.identifier;
|
|
64
|
-
_data$parent$identifi = _data$parent$identifi === undefined ? {} : _data$parent$identifi;
|
|
65
|
-
var parentSlug = _data$parent$identifi.current,
|
|
66
|
-
_data$identifier = data.identifier;
|
|
67
|
-
_data$identifier = _data$identifier === undefined ? {} : _data$identifier;
|
|
68
|
-
var childSlug = _data$identifier.current,
|
|
69
|
-
name = data.name,
|
|
70
|
-
articles = data.articles,
|
|
71
|
-
month = data.month,
|
|
72
|
-
year = data.year,
|
|
73
|
-
thumbnail = data.thumbnail;
|
|
74
|
-
|
|
75
|
-
if (name && articles && articles.length > 0) {
|
|
76
|
-
return React__default.createElement(
|
|
77
|
-
'div',
|
|
78
|
-
{ className: 'publication-feature-container border rounded p-2' },
|
|
79
|
-
React__default.createElement(
|
|
80
|
-
Row$1,
|
|
81
|
-
null,
|
|
82
|
-
React__default.createElement(
|
|
83
|
-
Col$1,
|
|
84
|
-
{ xs: 12 },
|
|
85
|
-
React__default.createElement(
|
|
86
|
-
'h4',
|
|
87
|
-
null,
|
|
88
|
-
name,
|
|
89
|
-
month && year && React__default.createElement(
|
|
90
|
-
'span',
|
|
91
|
-
null,
|
|
92
|
-
' ',
|
|
93
|
-
'| ',
|
|
94
|
-
months[parseInt(month, 10)],
|
|
95
|
-
' ',
|
|
96
|
-
year
|
|
97
|
-
)
|
|
98
|
-
)
|
|
99
|
-
),
|
|
100
|
-
React__default.createElement(
|
|
101
|
-
Col$1,
|
|
102
|
-
{ xs: 12, sm: 4 },
|
|
103
|
-
React__default.createElement(
|
|
104
|
-
LazyLoad,
|
|
105
|
-
{ once: true },
|
|
106
|
-
React__default.createElement('img', { className: 'w-100 mb-2', src: thumbnail && thumbnail.asset && client ? urlFor({ client: client, source: thumbnail.asset }) : defaultImage, alt: name || '' })
|
|
107
|
-
)
|
|
108
|
-
),
|
|
109
|
-
React__default.createElement(
|
|
110
|
-
Col$1,
|
|
111
|
-
{ xs: 12, sm: 8 },
|
|
112
|
-
React__default.createElement(
|
|
113
|
-
Row$1,
|
|
114
|
-
null,
|
|
115
|
-
articles.map(function (article) {
|
|
116
|
-
return React__default.createElement(
|
|
117
|
-
Col$1,
|
|
118
|
-
{ key: article._id, xs: 12, sm: 6 },
|
|
119
|
-
article.issueSection && article.issueSection.name && React__default.createElement(
|
|
120
|
-
'h6',
|
|
121
|
-
{ className: 'text-primary m-0 p-0 text-uppercase font-weight-bold' },
|
|
122
|
-
article.issueSection.name
|
|
123
|
-
),
|
|
124
|
-
article.title && React__default.createElement(
|
|
125
|
-
React__default.Fragment,
|
|
126
|
-
null,
|
|
127
|
-
article.url && article.url.current ? React__default.createElement(
|
|
128
|
-
'a',
|
|
129
|
-
{ href: '/view/' + article.url.current },
|
|
130
|
-
React__default.createElement(
|
|
131
|
-
'h6',
|
|
132
|
-
{ className: 'text-break' },
|
|
133
|
-
article.title
|
|
134
|
-
)
|
|
135
|
-
) : React__default.createElement(
|
|
136
|
-
'h6',
|
|
137
|
-
{ className: 'text-break' },
|
|
138
|
-
article.title
|
|
139
|
-
)
|
|
140
|
-
)
|
|
141
|
-
);
|
|
142
|
-
})
|
|
143
|
-
)
|
|
144
|
-
),
|
|
145
|
-
issueMapping && parentSlug && childSlug && React__default.createElement(
|
|
146
|
-
Col$1,
|
|
147
|
-
{ xs: 12 },
|
|
148
|
-
React__default.createElement(
|
|
149
|
-
Button$1,
|
|
150
|
-
{ href: issueMapping + '/' + parentSlug + '/' + childSlug, className: 'float-right', variant: 'outline-primary' },
|
|
151
|
-
'More Articles ',
|
|
152
|
-
'>>'
|
|
153
|
-
)
|
|
154
|
-
)
|
|
155
|
-
),
|
|
156
|
-
React__default.createElement(
|
|
157
|
-
'style',
|
|
158
|
-
{ jsx: 'true' },
|
|
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 '
|
|
160
|
-
)
|
|
161
|
-
);
|
|
162
|
-
}
|
|
163
|
-
return null;
|
|
164
|
-
};
|
|
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';
|
|
165
51
|
|
|
166
52
|
var GridContent = function (_React$Component) {
|
|
167
53
|
_inherits(GridContent, _React$Component);
|
|
@@ -268,9 +154,9 @@ var GridContent = function (_React$Component) {
|
|
|
268
154
|
}
|
|
269
155
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
270
156
|
var _this$props2 = _this.props,
|
|
271
|
-
seoPaginate = _this$props2.seoPaginate
|
|
272
|
-
|
|
273
|
-
router = _this$props2.router;
|
|
157
|
+
seoPaginate = _this$props2.seoPaginate;
|
|
158
|
+
_this$props2.pageview;
|
|
159
|
+
var router = _this$props2.router;
|
|
274
160
|
var currentPage = _this.state.currentPage;
|
|
275
161
|
|
|
276
162
|
if (seoPaginate) {
|
|
@@ -387,21 +273,21 @@ var GridContent = function (_React$Component) {
|
|
|
387
273
|
var numberOfItemsBeforeVideo = 3;
|
|
388
274
|
if (variant === 'stack') {
|
|
389
275
|
return React__default.createElement(
|
|
390
|
-
Row
|
|
276
|
+
Row,
|
|
391
277
|
null,
|
|
392
278
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
393
279
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
394
280
|
return React__default.createElement(
|
|
395
|
-
Col
|
|
281
|
+
Col,
|
|
396
282
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
397
283
|
React__default.createElement(
|
|
398
|
-
Card
|
|
284
|
+
Card,
|
|
399
285
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
400
286
|
React__default.createElement(
|
|
401
|
-
Row
|
|
287
|
+
Row,
|
|
402
288
|
{ style: { flexDirection: 'row' } },
|
|
403
289
|
React__default.createElement(
|
|
404
|
-
Col
|
|
290
|
+
Col,
|
|
405
291
|
{ md: 12, lg: 4 },
|
|
406
292
|
React__default.createElement(
|
|
407
293
|
'a',
|
|
@@ -409,18 +295,18 @@ var GridContent = function (_React$Component) {
|
|
|
409
295
|
React__default.createElement(
|
|
410
296
|
LazyLoad,
|
|
411
297
|
{ height: _this2.props.imageHeight },
|
|
412
|
-
React__default.createElement(Card
|
|
298
|
+
React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
413
299
|
)
|
|
414
300
|
)
|
|
415
301
|
),
|
|
416
302
|
React__default.createElement(
|
|
417
|
-
Col
|
|
303
|
+
Col,
|
|
418
304
|
null,
|
|
419
305
|
React__default.createElement(
|
|
420
|
-
Card
|
|
306
|
+
Card.Body,
|
|
421
307
|
{ style: { padding: '20px' } },
|
|
422
308
|
React__default.createElement(
|
|
423
|
-
Card
|
|
309
|
+
Card.Title,
|
|
424
310
|
null,
|
|
425
311
|
React__default.createElement(
|
|
426
312
|
'a',
|
|
@@ -429,7 +315,7 @@ var GridContent = function (_React$Component) {
|
|
|
429
315
|
)
|
|
430
316
|
),
|
|
431
317
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
432
|
-
Card
|
|
318
|
+
Card.Subtitle,
|
|
433
319
|
{ style: { marginTop: 0 } },
|
|
434
320
|
moment(row.published).format('MMMM DD, YYYY')
|
|
435
321
|
),
|
|
@@ -457,7 +343,7 @@ var GridContent = function (_React$Component) {
|
|
|
457
343
|
)
|
|
458
344
|
),
|
|
459
345
|
React__default.createElement(
|
|
460
|
-
Card
|
|
346
|
+
Card.Text,
|
|
461
347
|
null,
|
|
462
348
|
clean_html_1(row.summary)
|
|
463
349
|
)
|
|
@@ -580,10 +466,6 @@ var GridContent = function (_React$Component) {
|
|
|
580
466
|
}
|
|
581
467
|
});
|
|
582
468
|
|
|
583
|
-
var publicationFeature = this.props.publicationFeature;
|
|
584
|
-
|
|
585
|
-
if (publicationFeature) posts = insert(posts, 3, publicationFeature);
|
|
586
|
-
|
|
587
469
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
588
470
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
589
471
|
var featureCount = 0;
|
|
@@ -611,7 +493,7 @@ var GridContent = function (_React$Component) {
|
|
|
611
493
|
'div',
|
|
612
494
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
613
495
|
React__default.createElement(
|
|
614
|
-
Card
|
|
496
|
+
Card,
|
|
615
497
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
616
498
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
617
499
|
'a',
|
|
@@ -619,7 +501,7 @@ var GridContent = function (_React$Component) {
|
|
|
619
501
|
React__default.createElement(
|
|
620
502
|
LazyLoad,
|
|
621
503
|
{ height: _this2.props.imageHeight },
|
|
622
|
-
React__default.createElement(Card
|
|
504
|
+
React__default.createElement(Card.Img, {
|
|
623
505
|
variant: 'top',
|
|
624
506
|
src: _this2.renderCardImage(row, page),
|
|
625
507
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -627,19 +509,19 @@ var GridContent = function (_React$Component) {
|
|
|
627
509
|
)
|
|
628
510
|
),
|
|
629
511
|
React__default.createElement(
|
|
630
|
-
Card
|
|
512
|
+
Card.Body,
|
|
631
513
|
null,
|
|
632
514
|
React__default.createElement(
|
|
633
515
|
'a',
|
|
634
516
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
635
517
|
React__default.createElement(
|
|
636
|
-
Card
|
|
518
|
+
Card.Title,
|
|
637
519
|
null,
|
|
638
520
|
row.title
|
|
639
521
|
)
|
|
640
522
|
),
|
|
641
523
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
642
|
-
Card
|
|
524
|
+
Card.Subtitle,
|
|
643
525
|
{ style: { marginTop: 0 } },
|
|
644
526
|
moment(row.published).format('MMMM DD, YYYY')
|
|
645
527
|
),
|
|
@@ -649,7 +531,7 @@ var GridContent = function (_React$Component) {
|
|
|
649
531
|
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
650
532
|
),
|
|
651
533
|
React__default.createElement(
|
|
652
|
-
Card
|
|
534
|
+
Card.Text,
|
|
653
535
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
654
536
|
clean_html_1(row.summary)
|
|
655
537
|
)
|
|
@@ -658,7 +540,7 @@ var GridContent = function (_React$Component) {
|
|
|
658
540
|
)
|
|
659
541
|
),
|
|
660
542
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
661
|
-
|
|
543
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
662
544
|
);
|
|
663
545
|
} else {
|
|
664
546
|
return React__default.createElement(
|
|
@@ -675,7 +557,7 @@ var GridContent = function (_React$Component) {
|
|
|
675
557
|
'div',
|
|
676
558
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
677
559
|
React__default.createElement(
|
|
678
|
-
Card
|
|
560
|
+
Card,
|
|
679
561
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
680
562
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
681
563
|
'a',
|
|
@@ -683,7 +565,7 @@ var GridContent = function (_React$Component) {
|
|
|
683
565
|
React__default.createElement(
|
|
684
566
|
LazyLoad,
|
|
685
567
|
{ height: _this2.props.imageHeight },
|
|
686
|
-
React__default.createElement(Card
|
|
568
|
+
React__default.createElement(Card.Img, {
|
|
687
569
|
variant: 'top',
|
|
688
570
|
src: _this2.renderCardImage(row, page),
|
|
689
571
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -691,19 +573,19 @@ var GridContent = function (_React$Component) {
|
|
|
691
573
|
)
|
|
692
574
|
),
|
|
693
575
|
React__default.createElement(
|
|
694
|
-
Card
|
|
576
|
+
Card.Body,
|
|
695
577
|
null,
|
|
696
578
|
React__default.createElement(
|
|
697
579
|
'a',
|
|
698
580
|
{ href: row.url.current },
|
|
699
581
|
React__default.createElement(
|
|
700
|
-
Card
|
|
582
|
+
Card.Title,
|
|
701
583
|
null,
|
|
702
584
|
row.title
|
|
703
585
|
)
|
|
704
586
|
),
|
|
705
587
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
706
|
-
Card
|
|
588
|
+
Card.Subtitle,
|
|
707
589
|
{ style: { marginTop: 0 } },
|
|
708
590
|
moment(row.published).format('MMMM DD, YYYY')
|
|
709
591
|
),
|
|
@@ -713,7 +595,7 @@ var GridContent = function (_React$Component) {
|
|
|
713
595
|
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
714
596
|
),
|
|
715
597
|
React__default.createElement(
|
|
716
|
-
Card
|
|
598
|
+
Card.Text,
|
|
717
599
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
718
600
|
clean_html_1(row.summary)
|
|
719
601
|
)
|
|
@@ -722,14 +604,14 @@ var GridContent = function (_React$Component) {
|
|
|
722
604
|
)
|
|
723
605
|
),
|
|
724
606
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
725
|
-
|
|
607
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
726
608
|
);
|
|
727
609
|
}
|
|
728
610
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
729
611
|
return React__default.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
730
612
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
731
613
|
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
732
|
-
}
|
|
614
|
+
}
|
|
733
615
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
734
616
|
return React__default.createElement(
|
|
735
617
|
React__default.Fragment,
|
|
@@ -745,7 +627,7 @@ var GridContent = function (_React$Component) {
|
|
|
745
627
|
'div',
|
|
746
628
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
747
629
|
React__default.createElement(
|
|
748
|
-
Card
|
|
630
|
+
Card,
|
|
749
631
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
750
632
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
751
633
|
'a',
|
|
@@ -753,7 +635,7 @@ var GridContent = function (_React$Component) {
|
|
|
753
635
|
React__default.createElement(
|
|
754
636
|
LazyLoad,
|
|
755
637
|
{ height: _this2.props.imageHeight },
|
|
756
|
-
React__default.createElement(Card
|
|
638
|
+
React__default.createElement(Card.Img, {
|
|
757
639
|
variant: 'top',
|
|
758
640
|
src: _this2.renderCardImage(row, page),
|
|
759
641
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -761,19 +643,19 @@ var GridContent = function (_React$Component) {
|
|
|
761
643
|
)
|
|
762
644
|
),
|
|
763
645
|
React__default.createElement(
|
|
764
|
-
Card
|
|
646
|
+
Card.Body,
|
|
765
647
|
null,
|
|
766
648
|
React__default.createElement(
|
|
767
649
|
'a',
|
|
768
650
|
{ href: linkHref },
|
|
769
651
|
React__default.createElement(
|
|
770
|
-
Card
|
|
652
|
+
Card.Title,
|
|
771
653
|
null,
|
|
772
654
|
row.title
|
|
773
655
|
)
|
|
774
656
|
),
|
|
775
657
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
776
|
-
Card
|
|
658
|
+
Card.Subtitle,
|
|
777
659
|
{ style: { marginTop: 0 } },
|
|
778
660
|
moment(row.published).format('MMMM DD, YYYY')
|
|
779
661
|
),
|
|
@@ -801,7 +683,7 @@ var GridContent = function (_React$Component) {
|
|
|
801
683
|
)
|
|
802
684
|
),
|
|
803
685
|
React__default.createElement(
|
|
804
|
-
Card
|
|
686
|
+
Card.Text,
|
|
805
687
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
806
688
|
clean_html_1(row.summary)
|
|
807
689
|
)
|
|
@@ -810,7 +692,7 @@ var GridContent = function (_React$Component) {
|
|
|
810
692
|
)
|
|
811
693
|
),
|
|
812
694
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
813
|
-
|
|
695
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
814
696
|
);
|
|
815
697
|
} else return null;
|
|
816
698
|
}) : React__default.createElement(
|
|
@@ -851,7 +733,7 @@ var GridContent = function (_React$Component) {
|
|
|
851
733
|
InfiniteScroll,
|
|
852
734
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
853
735
|
React__default.createElement(
|
|
854
|
-
Container
|
|
736
|
+
Container,
|
|
855
737
|
null,
|
|
856
738
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
857
739
|
)
|
|
@@ -859,7 +741,7 @@ var GridContent = function (_React$Component) {
|
|
|
859
741
|
React__default.Fragment,
|
|
860
742
|
null,
|
|
861
743
|
React__default.createElement(
|
|
862
|
-
Container
|
|
744
|
+
Container,
|
|
863
745
|
null,
|
|
864
746
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
865
747
|
),
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-a4107da3.js';
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
-
import './web.dom.iterable-4439f05a.js';
|
|
6
1
|
import React__default from 'react';
|
|
7
|
-
import '
|
|
8
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
|
-
import 'react-dom';
|
|
10
|
-
import './index-73819142.js';
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
11
3
|
import urlFor from './urlFor.js';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import './
|
|
15
|
-
import
|
|
4
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
|
+
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './index-0dbff1d1.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import 'prop-types';
|
|
11
|
+
import './slicedToArray-be2f7a22.js';
|
|
12
|
+
import './web.dom.iterable-4109ff68.js';
|
|
13
|
+
import './es6.string.iterator-bc33758b.js';
|
|
14
|
+
import './_to-object-b50e61c3.js';
|
|
15
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
16
16
|
|
|
17
17
|
var GridHero = function GridHero(props) {
|
|
18
18
|
var topArticle = props.dataRecord[0];
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import './web.dom.iterable-4439f05a.js';
|
|
8
|
-
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
9
|
-
import './_is-array-58e95429.js';
|
|
1
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
10
3
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
11
|
-
import './index-73819142.js';
|
|
12
|
-
import urlFor from './urlFor.js';
|
|
13
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
14
4
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
15
|
-
import { s as smoothscroll } from './smoothscroll-
|
|
5
|
+
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
|
+
import urlFor from './urlFor.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './es6.string.iterator-bc33758b.js';
|
|
9
|
+
import './_to-object-b50e61c3.js';
|
|
10
|
+
import './web.dom.iterable-4109ff68.js';
|
|
11
|
+
import './_is-array-3e99e06e.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
13
|
+
import './_library-528f1934.js';
|
|
14
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
15
|
+
import './index-0dbff1d1.js';
|
|
16
16
|
|
|
17
17
|
var GroupDeck = function GroupDeck(props) {
|
|
18
18
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
|
@@ -82,7 +82,7 @@ var GroupDeck = function GroupDeck(props) {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
props.get2 ? '/' + props.get2 + '/' : '/view/';
|
|
86
86
|
|
|
87
87
|
var variant = props.dark ? 'white' : '#383838';
|
|
88
88
|
|