@mjhls/mjh-framework 1.0.798 → 1.0.799-beta.0
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 +9 -10
- package/dist/cjs/AD300x250.js +29 -30
- package/dist/cjs/AD300x250x600.js +29 -30
- package/dist/cjs/AD728x90.js +32 -33
- package/dist/cjs/ADFloatingFooter.js +31 -32
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +31 -32
- package/dist/cjs/{ADInfeed-7cf51090.js → ADInfeed-5b042ade.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +31 -32
- package/dist/cjs/ADSponsoredResources.js +31 -32
- package/dist/cjs/ADWebcast.js +31 -32
- package/dist/cjs/ADWelcome.js +32 -33
- package/dist/cjs/{ADlgInfeed-bf24708d.js → ADlgInfeed-e92b6f9f.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +34 -35
- package/dist/cjs/AdSlotsProvider.js +16 -17
- package/dist/cjs/AlphabeticList.js +25 -26
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +56 -57
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +60 -61
- package/dist/cjs/Auth.js +462 -686
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +33 -36
- package/dist/cjs/Column3.js +58 -61
- package/dist/cjs/ConferenceArticleCard.js +23 -24
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +95 -99
- package/dist/cjs/DeckQueue.js +88 -92
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-946b8c39.js} +33 -34
- package/dist/cjs/EventsDeck.js +135 -142
- package/dist/cjs/ExternalResources.js +79 -80
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +178 -182
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +58 -59
- package/dist/cjs/HamMagazine.js +131 -136
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +69 -70
- package/dist/cjs/HorizontalHero.js +26 -27
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +71 -76
- package/dist/cjs/IssueLanding.js +42 -43
- package/dist/cjs/LeftNav.js +38 -40
- package/dist/cjs/MasterDeck.js +71 -72
- package/dist/cjs/MediaSeriesLanding.js +955 -966
- package/dist/cjs/NavDvm.js +74 -79
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +138 -143
- package/dist/cjs/NavNative.js +130 -138
- package/dist/cjs/NavNormal.js +48 -53
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +108 -109
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +41 -42
- package/dist/cjs/PubToc.js +15 -16
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +108 -112
- package/dist/cjs/QueueDeckExpanded.js +294 -294
- package/dist/cjs/RecentNews.js +24 -25
- package/dist/cjs/RelatedContent.js +24 -25
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-4abb21b4.js} +37 -38
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -37
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-9cb50ae4.js → SocialSearchComponent-8dd468fd.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +58 -63
- package/dist/cjs/TaxonomyDescription.js +53 -54
- package/dist/cjs/TemplateNormal.js +75 -76
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +27 -28
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoProgramLandingPage.js +72 -76
- package/dist/cjs/VideoSeriesCard.js +31 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +48 -49
- package/dist/cjs/VideoSeriesListing.js +77 -78
- package/dist/cjs/View.js +260 -263
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +62 -63
- 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/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- 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/{extends-29bdbc6d.js → extends-60837c34.js} +7 -8
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +76 -140
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-34e3ba68.js} +3 -3
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-08b35e31.js → index-61690275.js} +1040 -1280
- package/dist/cjs/{index-0e4427c8.js → index-8bf6c863.js} +11 -12
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
- package/dist/cjs/{index.esm-9225638f.js → index.esm-66ffa47a.js} +10 -5
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
- package/dist/cjs/index.js +160 -163
- package/dist/cjs/{inherits-c2065b95.js → inherits-c9f99d47.js} +19 -22
- 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-fc2922d0.js} +31 -128
- package/dist/cjs/main-02daeefe.js +862 -0
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- 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-725500bc.js} +36 -36
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +23 -23
- package/dist/esm/AD300x250x600.js +23 -23
- package/dist/esm/AD728x90.js +26 -26
- package/dist/esm/ADFloatingFooter.js +22 -22
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +22 -22
- package/dist/esm/{ADInfeed-f7d00a9a.js → ADInfeed-171677b4.js} +6 -6
- package/dist/esm/ADSkyscraper.js +22 -22
- package/dist/esm/ADSponsoredResources.js +22 -22
- package/dist/esm/ADWebcast.js +22 -22
- package/dist/esm/ADWelcome.js +19 -19
- package/dist/esm/{ADlgInfeed-db64f46d.js → ADlgInfeed-f2ac31d1.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +47 -47
- package/dist/esm/ArticleSeriesLandingPage.js +32 -32
- package/dist/esm/ArticleSeriesListing.js +33 -33
- package/dist/esm/Auth.js +375 -595
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.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 +38 -38
- package/dist/esm/ConferenceArticleCard.js +7 -7
- package/dist/esm/DeckContent.js +48 -48
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-be030f2a.js → Dfp-965b3873.js} +14 -14
- package/dist/esm/EventsDeck.js +50 -50
- package/dist/esm/ExternalResources.js +47 -47
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +11 -11
- package/dist/esm/GridContent.js +80 -80
- package/dist/esm/GridHero.js +12 -12
- package/dist/esm/GroupDeck.js +13 -13
- package/dist/esm/HamMagazine.js +29 -29
- package/dist/esm/Hero.js +3 -3
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +44 -44
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +26 -26
- package/dist/esm/IssueDeck.js +36 -36
- package/dist/esm/IssueLanding.js +35 -35
- package/dist/esm/LeftNav.js +21 -21
- package/dist/esm/MasterDeck.js +36 -36
- package/dist/esm/MediaSeriesLanding.js +493 -501
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +34 -34
- package/dist/esm/NavNative.js +34 -34
- package/dist/esm/NavNormal.js +18 -18
- package/dist/esm/OncliveHero.js +5 -4
- package/dist/esm/OncliveLargeHero.js +12 -12
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +56 -56
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +33 -33
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +23 -23
- package/dist/esm/PublicationLanding.js +49 -49
- package/dist/esm/QueueDeckExpanded.js +37 -37
- package/dist/esm/RecentNews.js +6 -6
- package/dist/esm/RelatedContent.js +6 -6
- 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 +19 -19
- package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-36be7223.js} +10 -10
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-09775683.js → SocialSearchComponent-719f230f.js} +12 -12
- package/dist/esm/TaxonomyCard.js +24 -24
- package/dist/esm/TaxonomyDescription.js +44 -44
- package/dist/esm/TemplateNormal.js +50 -50
- package/dist/esm/ThumbnailCard.js +6 -6
- package/dist/esm/Ustream.js +11 -11
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +52 -52
- package/dist/esm/VideoSeriesCard.js +12 -12
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -37
- package/dist/esm/VideoSeriesListing.js +34 -34
- package/dist/esm/View.js +91 -90
- package/dist/esm/YahooHero.js +14 -14
- package/dist/esm/YoutubeGroup.js +21 -21
- 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-83f53e4e.js} +4 -5
- 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/{extends-60e0e1c6.js → extends-eb69e8ac.js} +8 -8
- 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 +43 -43
- package/dist/esm/{getTargeting-05c216d6.js → getTargeting-739e9fed.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-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
- package/dist/esm/{index-5cc7b406.js → index-a9e53f80.js} +3 -3
- package/dist/esm/{index-c2daf449.js → index-c1691ede.js} +681 -914
- package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
- package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
- package/dist/esm/{index.esm-e874e770.js → index.esm-b08f4b04.js} +10 -5
- package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
- package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
- package/dist/esm/index.js +117 -117
- package/dist/esm/{inherits-a41fe93f.js → inherits-fb9b6e8f.js} +20 -20
- 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-17fdfebb.js} +31 -128
- package/dist/esm/main-e4a934b2.js +851 -0
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- 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-6435ba1c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- 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
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import React__default, { useState, useEffect } from 'react';
|
|
4
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
5
|
-
import { g as getSerializers } from './index-c2daf449.js';
|
|
6
|
-
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
|
-
import { useRouter } from 'next/router';
|
|
8
|
-
import Button from 'react-bootstrap/Button';
|
|
9
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './_to-object-
|
|
11
|
-
import './
|
|
12
|
-
import './web.dom.iterable-4109ff68.js';
|
|
13
|
-
import './es6.string.iterator-bc33758b.js';
|
|
14
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
15
|
-
import 'prop-types';
|
|
16
|
-
import './index-0dbff1d1.js';
|
|
17
|
-
import 'react-bootstrap';
|
|
18
|
-
import './index-5cc7b406.js';
|
|
19
|
-
import './index-c7e2ac95.js';
|
|
20
|
-
import './util-3ab476bf.js';
|
|
21
|
-
import './Beam.js';
|
|
22
|
-
import './stringify-59c8f690.js';
|
|
23
|
-
import './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
24
4
|
import './_library-528f1934.js';
|
|
25
|
-
import './_iter-detect-
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-fb9b6e8f.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, { useState, useEffect } from 'react';
|
|
17
|
+
import './index-a9e53f80.js';
|
|
18
|
+
import 'prop-types';
|
|
19
|
+
import 'react-bootstrap/Row';
|
|
20
|
+
import 'react-bootstrap/Col';
|
|
21
|
+
import './moment-e2f9b20c.js';
|
|
22
|
+
import { useRouter } from 'next/router';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
29
26
|
import 'react-dom';
|
|
30
|
-
import './
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
27
|
+
import './index-73819142.js';
|
|
28
|
+
import './index-5f7e79e7.js';
|
|
29
|
+
import './main-e4a934b2.js';
|
|
30
|
+
import './entities-7cc3bf45.js';
|
|
31
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
32
|
+
import './stringify-4330ccdc.js';
|
|
33
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
34
|
+
import './Segment.js';
|
|
35
|
+
import './Beam.js';
|
|
36
|
+
import './AdSlot.js';
|
|
37
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
38
|
+
import './index-c7e2ac95.js';
|
|
39
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
33
40
|
import './GroupDeck.js';
|
|
34
|
-
import '
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
41
|
+
import 'react-bootstrap';
|
|
42
|
+
import './iconBase-602d52fe.js';
|
|
43
|
+
import './index.esm-29e48d38.js';
|
|
44
|
+
import { g as getSerializers } from './index-c1691ede.js';
|
|
45
|
+
import './util-7700fc59.js';
|
|
46
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
37
47
|
import 'next/head';
|
|
38
48
|
import 'react-share';
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
49
|
+
import './SocialShare.js';
|
|
50
|
+
import './_object-to-array-7e804fce.js';
|
|
41
51
|
import 'react-bootstrap/Pagination';
|
|
42
|
-
import '
|
|
43
|
-
import './AdSlot.js';
|
|
44
|
-
import './debounce-533d9748.js';
|
|
45
|
-
import './isSymbol-a7e9aafe.js';
|
|
46
|
-
import './toNumber-5aeba6e7.js';
|
|
47
|
-
import 'react-bootstrap/Row';
|
|
48
|
-
import 'react-bootstrap/Col';
|
|
49
|
-
import './inherits-a41fe93f.js';
|
|
50
|
-
import './_object-sap-f353c2a9.js';
|
|
51
|
-
import './define-property-fe54dc9f.js';
|
|
52
|
-
import './index.esm-f6156a57.js';
|
|
53
|
-
import './iconBase-ccc56b97.js';
|
|
52
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
54
53
|
import 'react-bootstrap/Figure';
|
|
54
|
+
import { m as momentTimezone } from './index-ef6d5dcf.js';
|
|
55
55
|
|
|
56
56
|
var ExternalResources = function ExternalResources(props) {
|
|
57
57
|
var resources = props.resources,
|
|
@@ -183,7 +183,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
183
183
|
)
|
|
184
184
|
),
|
|
185
185
|
React__default.createElement(
|
|
186
|
-
Button,
|
|
186
|
+
Button$1,
|
|
187
187
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
188
188
|
cta
|
|
189
189
|
)
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
-
import { m as
|
|
3
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
4
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
4
5
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
6
|
|
|
7
7
|
//Feature query to be used
|
|
8
8
|
// const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
|
|
@@ -34,7 +34,7 @@ var Feature = function Feature(props) {
|
|
|
34
34
|
};
|
|
35
35
|
//image width updated.
|
|
36
36
|
var imageWidth = 450;
|
|
37
|
-
if (
|
|
37
|
+
if (main_36) {
|
|
38
38
|
imageWidth = 225;
|
|
39
39
|
}
|
|
40
40
|
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
4
|
-
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
5
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import '
|
|
12
|
-
import 'react-dom';
|
|
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
|
+
import React__default from 'react';
|
|
13
7
|
import 'prop-types';
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
11
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
12
|
+
import './slicedToArray-641f241f.js';
|
|
13
|
+
import { A as AuthorComponent } from './AuthorComponent-34b16174.js';
|
|
14
14
|
|
|
15
15
|
var fbsHero = function fbsHero(props) {
|
|
16
16
|
var removeTimeStamp = props.removeTimeStamp;
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
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-5cc7b406.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-f7d00a9a.js';
|
|
16
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-db64f46d.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 { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
23
|
-
import { m as main_43 } from './main-d4165069.js';
|
|
24
|
-
import './AD.js';
|
|
25
|
-
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
26
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
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';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
37
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-eb69e8ac.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-fb9b6e8f.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
|
+
import { l as lib_3 } from './index-a9e53f80.js';
|
|
38
18
|
import 'prop-types';
|
|
19
|
+
import Container$1 from 'react-bootstrap/Container';
|
|
20
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
21
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
22
|
+
import Card$1 from 'react-bootstrap/Card';
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
|
+
import { withRouter } from 'next/router';
|
|
25
|
+
import './isSymbol-1981418f.js';
|
|
26
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
27
|
+
import './toNumber-2f7a84cd.js';
|
|
28
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
39
29
|
import 'react-dom';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
30
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
31
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
32
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
33
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
34
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
+
import './slicedToArray-641f241f.js';
|
|
36
|
+
import './stringify-4330ccdc.js';
|
|
37
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
45
38
|
import './Segment.js';
|
|
46
|
-
import './
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import './AdSlot.js';
|
|
41
|
+
import { A as ADInfeed } from './ADInfeed-171677b4.js';
|
|
42
|
+
import { l as lodash } from './lodash-17fdfebb.js';
|
|
43
|
+
import { A as ADlgInfeed } from './ADlgInfeed-f2ac31d1.js';
|
|
44
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
45
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
46
|
+
import './eq-b470f743.js';
|
|
47
|
+
import './AD.js';
|
|
48
|
+
import { A as AuthorComponent } from './AuthorComponent-34b16174.js';
|
|
49
49
|
|
|
50
50
|
var GridContent = function (_React$Component) {
|
|
51
51
|
_inherits(GridContent, _React$Component);
|
|
@@ -164,9 +164,9 @@ var GridContent = function (_React$Component) {
|
|
|
164
164
|
}
|
|
165
165
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
166
166
|
var _this$props2 = _this.props,
|
|
167
|
-
seoPaginate = _this$props2.seoPaginate
|
|
168
|
-
_this$props2.pageview
|
|
169
|
-
|
|
167
|
+
seoPaginate = _this$props2.seoPaginate,
|
|
168
|
+
pageview = _this$props2.pageview,
|
|
169
|
+
router = _this$props2.router;
|
|
170
170
|
var currentPage = _this.state.currentPage;
|
|
171
171
|
|
|
172
172
|
if (seoPaginate) {
|
|
@@ -267,21 +267,21 @@ var GridContent = function (_React$Component) {
|
|
|
267
267
|
var numberOfItemsBeforeVideo = 3;
|
|
268
268
|
if (variant === 'stack') {
|
|
269
269
|
return React__default.createElement(
|
|
270
|
-
Row,
|
|
270
|
+
Row$1,
|
|
271
271
|
null,
|
|
272
272
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
273
273
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
274
274
|
return React__default.createElement(
|
|
275
|
-
Col,
|
|
275
|
+
Col$1,
|
|
276
276
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
277
277
|
React__default.createElement(
|
|
278
|
-
Card,
|
|
278
|
+
Card$1,
|
|
279
279
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
280
280
|
React__default.createElement(
|
|
281
|
-
Row,
|
|
281
|
+
Row$1,
|
|
282
282
|
{ style: { flexDirection: 'row' } },
|
|
283
283
|
React__default.createElement(
|
|
284
|
-
Col,
|
|
284
|
+
Col$1,
|
|
285
285
|
{ md: 12, lg: 4 },
|
|
286
286
|
React__default.createElement(
|
|
287
287
|
'a',
|
|
@@ -289,18 +289,18 @@ var GridContent = function (_React$Component) {
|
|
|
289
289
|
React__default.createElement(
|
|
290
290
|
LazyLoad,
|
|
291
291
|
{ height: _this2.props.imageHeight },
|
|
292
|
-
React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
292
|
+
React__default.createElement(Card$1.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
293
293
|
)
|
|
294
294
|
)
|
|
295
295
|
),
|
|
296
296
|
React__default.createElement(
|
|
297
|
-
Col,
|
|
297
|
+
Col$1,
|
|
298
298
|
null,
|
|
299
299
|
React__default.createElement(
|
|
300
|
-
Card.Body,
|
|
300
|
+
Card$1.Body,
|
|
301
301
|
{ style: { padding: '20px' } },
|
|
302
302
|
React__default.createElement(
|
|
303
|
-
Card.Title,
|
|
303
|
+
Card$1.Title,
|
|
304
304
|
null,
|
|
305
305
|
React__default.createElement(
|
|
306
306
|
'a',
|
|
@@ -309,7 +309,7 @@ var GridContent = function (_React$Component) {
|
|
|
309
309
|
)
|
|
310
310
|
),
|
|
311
311
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
312
|
-
Card.Subtitle,
|
|
312
|
+
Card$1.Subtitle,
|
|
313
313
|
{ style: { marginTop: 0 } },
|
|
314
314
|
moment(row.published).format('MMMM DD, YYYY')
|
|
315
315
|
),
|
|
@@ -337,7 +337,7 @@ var GridContent = function (_React$Component) {
|
|
|
337
337
|
)
|
|
338
338
|
),
|
|
339
339
|
React__default.createElement(
|
|
340
|
-
Card.Text,
|
|
340
|
+
Card$1.Text,
|
|
341
341
|
null,
|
|
342
342
|
clean_html_1(row.summary)
|
|
343
343
|
)
|
|
@@ -487,7 +487,7 @@ var GridContent = function (_React$Component) {
|
|
|
487
487
|
'div',
|
|
488
488
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
489
489
|
React__default.createElement(
|
|
490
|
-
Card,
|
|
490
|
+
Card$1,
|
|
491
491
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
492
492
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
493
493
|
'a',
|
|
@@ -495,7 +495,7 @@ var GridContent = function (_React$Component) {
|
|
|
495
495
|
React__default.createElement(
|
|
496
496
|
LazyLoad,
|
|
497
497
|
{ height: _this2.props.imageHeight },
|
|
498
|
-
React__default.createElement(Card.Img, {
|
|
498
|
+
React__default.createElement(Card$1.Img, {
|
|
499
499
|
variant: 'top',
|
|
500
500
|
src: _this2.renderCardImage(row, page),
|
|
501
501
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -503,19 +503,19 @@ var GridContent = function (_React$Component) {
|
|
|
503
503
|
)
|
|
504
504
|
),
|
|
505
505
|
React__default.createElement(
|
|
506
|
-
Card.Body,
|
|
506
|
+
Card$1.Body,
|
|
507
507
|
null,
|
|
508
508
|
React__default.createElement(
|
|
509
509
|
'a',
|
|
510
510
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
511
511
|
React__default.createElement(
|
|
512
|
-
Card.Title,
|
|
512
|
+
Card$1.Title,
|
|
513
513
|
null,
|
|
514
514
|
row.title
|
|
515
515
|
)
|
|
516
516
|
),
|
|
517
517
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
518
|
-
Card.Subtitle,
|
|
518
|
+
Card$1.Subtitle,
|
|
519
519
|
{ style: { marginTop: 0 } },
|
|
520
520
|
moment(row.published).format('MMMM DD, YYYY')
|
|
521
521
|
),
|
|
@@ -525,7 +525,7 @@ var GridContent = function (_React$Component) {
|
|
|
525
525
|
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
526
526
|
),
|
|
527
527
|
React__default.createElement(
|
|
528
|
-
Card.Text,
|
|
528
|
+
Card$1.Text,
|
|
529
529
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
530
530
|
clean_html_1(row.summary)
|
|
531
531
|
)
|
|
@@ -534,7 +534,7 @@ var GridContent = function (_React$Component) {
|
|
|
534
534
|
)
|
|
535
535
|
),
|
|
536
536
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
537
|
-
|
|
537
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
538
538
|
);
|
|
539
539
|
} else {
|
|
540
540
|
return React__default.createElement(
|
|
@@ -551,7 +551,7 @@ var GridContent = function (_React$Component) {
|
|
|
551
551
|
'div',
|
|
552
552
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
553
553
|
React__default.createElement(
|
|
554
|
-
Card,
|
|
554
|
+
Card$1,
|
|
555
555
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
556
556
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
557
557
|
'a',
|
|
@@ -559,7 +559,7 @@ var GridContent = function (_React$Component) {
|
|
|
559
559
|
React__default.createElement(
|
|
560
560
|
LazyLoad,
|
|
561
561
|
{ height: _this2.props.imageHeight },
|
|
562
|
-
React__default.createElement(Card.Img, {
|
|
562
|
+
React__default.createElement(Card$1.Img, {
|
|
563
563
|
variant: 'top',
|
|
564
564
|
src: _this2.renderCardImage(row, page),
|
|
565
565
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -567,19 +567,19 @@ var GridContent = function (_React$Component) {
|
|
|
567
567
|
)
|
|
568
568
|
),
|
|
569
569
|
React__default.createElement(
|
|
570
|
-
Card.Body,
|
|
570
|
+
Card$1.Body,
|
|
571
571
|
null,
|
|
572
572
|
React__default.createElement(
|
|
573
573
|
'a',
|
|
574
574
|
{ href: row.url.current },
|
|
575
575
|
React__default.createElement(
|
|
576
|
-
Card.Title,
|
|
576
|
+
Card$1.Title,
|
|
577
577
|
null,
|
|
578
578
|
row.title
|
|
579
579
|
)
|
|
580
580
|
),
|
|
581
581
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
582
|
-
Card.Subtitle,
|
|
582
|
+
Card$1.Subtitle,
|
|
583
583
|
{ style: { marginTop: 0 } },
|
|
584
584
|
moment(row.published).format('MMMM DD, YYYY')
|
|
585
585
|
),
|
|
@@ -589,7 +589,7 @@ var GridContent = function (_React$Component) {
|
|
|
589
589
|
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
590
590
|
),
|
|
591
591
|
React__default.createElement(
|
|
592
|
-
Card.Text,
|
|
592
|
+
Card$1.Text,
|
|
593
593
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
594
594
|
clean_html_1(row.summary)
|
|
595
595
|
)
|
|
@@ -598,7 +598,7 @@ var GridContent = function (_React$Component) {
|
|
|
598
598
|
)
|
|
599
599
|
),
|
|
600
600
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
601
|
-
|
|
601
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
602
602
|
);
|
|
603
603
|
}
|
|
604
604
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
@@ -621,7 +621,7 @@ var GridContent = function (_React$Component) {
|
|
|
621
621
|
'div',
|
|
622
622
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
623
623
|
React__default.createElement(
|
|
624
|
-
Card,
|
|
624
|
+
Card$1,
|
|
625
625
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
626
626
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
627
627
|
'a',
|
|
@@ -629,7 +629,7 @@ var GridContent = function (_React$Component) {
|
|
|
629
629
|
React__default.createElement(
|
|
630
630
|
LazyLoad,
|
|
631
631
|
{ height: _this2.props.imageHeight },
|
|
632
|
-
React__default.createElement(Card.Img, {
|
|
632
|
+
React__default.createElement(Card$1.Img, {
|
|
633
633
|
variant: 'top',
|
|
634
634
|
src: _this2.renderCardImage(row, page),
|
|
635
635
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -637,19 +637,19 @@ var GridContent = function (_React$Component) {
|
|
|
637
637
|
)
|
|
638
638
|
),
|
|
639
639
|
React__default.createElement(
|
|
640
|
-
Card.Body,
|
|
640
|
+
Card$1.Body,
|
|
641
641
|
null,
|
|
642
642
|
React__default.createElement(
|
|
643
643
|
'a',
|
|
644
644
|
{ href: linkHref },
|
|
645
645
|
React__default.createElement(
|
|
646
|
-
Card.Title,
|
|
646
|
+
Card$1.Title,
|
|
647
647
|
null,
|
|
648
648
|
row.title
|
|
649
649
|
)
|
|
650
650
|
),
|
|
651
651
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
652
|
-
Card.Subtitle,
|
|
652
|
+
Card$1.Subtitle,
|
|
653
653
|
{ style: { marginTop: 0 } },
|
|
654
654
|
moment(row.published).format('MMMM DD, YYYY')
|
|
655
655
|
),
|
|
@@ -677,7 +677,7 @@ var GridContent = function (_React$Component) {
|
|
|
677
677
|
)
|
|
678
678
|
),
|
|
679
679
|
React__default.createElement(
|
|
680
|
-
Card.Text,
|
|
680
|
+
Card$1.Text,
|
|
681
681
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
682
682
|
clean_html_1(row.summary)
|
|
683
683
|
)
|
|
@@ -686,7 +686,7 @@ var GridContent = function (_React$Component) {
|
|
|
686
686
|
)
|
|
687
687
|
),
|
|
688
688
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
689
|
-
|
|
689
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
690
690
|
);
|
|
691
691
|
} else return null;
|
|
692
692
|
}) : React__default.createElement(
|
|
@@ -727,7 +727,7 @@ var GridContent = function (_React$Component) {
|
|
|
727
727
|
InfiniteScroll,
|
|
728
728
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
729
729
|
React__default.createElement(
|
|
730
|
-
Container,
|
|
730
|
+
Container$1,
|
|
731
731
|
null,
|
|
732
732
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
733
733
|
)
|
|
@@ -735,7 +735,7 @@ var GridContent = function (_React$Component) {
|
|
|
735
735
|
React__default.Fragment,
|
|
736
736
|
null,
|
|
737
737
|
React__default.createElement(
|
|
738
|
-
Container,
|
|
738
|
+
Container$1,
|
|
739
739
|
null,
|
|
740
740
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
741
741
|
),
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
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
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import '
|
|
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
|
+
import React__default from 'react';
|
|
9
7
|
import 'prop-types';
|
|
10
|
-
import './
|
|
11
|
-
import '
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
11
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
12
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
13
|
+
import './slicedToArray-641f241f.js';
|
|
14
|
+
import { A as AuthorComponent } from './AuthorComponent-34b16174.js';
|
|
15
15
|
|
|
16
16
|
var GridHero = function GridHero(props) {
|
|
17
17
|
var topArticle = props.dataRecord[0];
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import React__default, { useRef, useState, useEffect } from 'react';
|
|
4
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
5
|
-
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './web.dom.iterable-4109ff68.js';
|
|
11
|
-
import './_is-array-3e99e06e.js';
|
|
12
|
-
import './_object-pie-133f504a.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
13
4
|
import './_library-528f1934.js';
|
|
14
|
-
import './core.get-iterator-method-
|
|
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';
|
|
10
|
+
import React__default, { useRef, useState, useEffect } from 'react';
|
|
11
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
12
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
13
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
14
|
+
import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
|
|
15
15
|
|
|
16
16
|
var GroupDeck = function GroupDeck(props) {
|
|
17
17
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
|
@@ -86,7 +86,7 @@ var GroupDeck = function GroupDeck(props) {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
-
props.get2 ? '/' + props.get2 + '/' : '/view/';
|
|
89
|
+
var get2 = props.get2 ? '/' + props.get2 + '/' : '/view/';
|
|
90
90
|
|
|
91
91
|
var variant = props.dark ? 'white' : '#383838';
|
|
92
92
|
|