@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
|
@@ -1,39 +1,39 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
5
|
+
import Container from 'react-bootstrap/Container';
|
|
6
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
|
+
import { I as IoIosArrowForward } from './index.esm-f6156a57.js';
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
+
import { withRouter } from 'next/router';
|
|
10
|
+
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
12
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
1
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
14
|
+
import './_to-object-b50e61c3.js';
|
|
15
|
+
import './_object-pie-133f504a.js';
|
|
16
|
+
import './es6.string.iterator-bc33758b.js';
|
|
17
|
+
import './_object-sap-f353c2a9.js';
|
|
18
|
+
import './define-property-fe54dc9f.js';
|
|
19
|
+
import './typeof-a286cf0c.js';
|
|
20
|
+
import './web.dom.iterable-4109ff68.js';
|
|
21
|
+
import './_is-array-3e99e06e.js';
|
|
4
22
|
import './_library-528f1934.js';
|
|
5
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
8
|
-
import './_object-sap-964b6feb.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-cf8dde54.js';
|
|
10
|
-
import './define-property-8af5f002.js';
|
|
11
|
-
import './web.dom.iterable-4439f05a.js';
|
|
12
|
-
import './typeof-6435ba1c.js';
|
|
13
|
-
import './_is-array-58e95429.js';
|
|
14
|
-
import React__default from 'react';
|
|
15
23
|
import './events-6c3a7a63.js';
|
|
16
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
17
24
|
import 'prop-types';
|
|
18
|
-
import Container$1 from 'react-bootstrap/Container';
|
|
19
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
20
|
-
import { withRouter } from 'next/router';
|
|
21
|
-
import './isSymbol-1981418f.js';
|
|
22
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
23
|
-
import './toNumber-2f7a84cd.js';
|
|
24
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
25
25
|
import 'react-dom';
|
|
26
|
-
import
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
29
|
-
import './index-5f7e79e7.js';
|
|
30
|
-
import './main-e4a934b2.js';
|
|
31
|
-
import './slicedToArray-641f241f.js';
|
|
26
|
+
import './iconBase-ccc56b97.js';
|
|
27
|
+
import './slicedToArray-be2f7a22.js';
|
|
28
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
32
29
|
import './index-c7e2ac95.js';
|
|
33
|
-
import './
|
|
34
|
-
import
|
|
35
|
-
import './
|
|
36
|
-
import
|
|
30
|
+
import './index-755f2cc2.js';
|
|
31
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
32
|
+
import './urlFor.js';
|
|
33
|
+
import './index-0dbff1d1.js';
|
|
34
|
+
import './main-d4165069.js';
|
|
35
|
+
import './isSymbol-a7e9aafe.js';
|
|
36
|
+
import './toNumber-5aeba6e7.js';
|
|
37
37
|
|
|
38
38
|
var VideoSeriesListing = function (_React$Component) {
|
|
39
39
|
_inherits(VideoSeriesListing, _React$Component);
|
|
@@ -74,7 +74,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
74
74
|
});
|
|
75
75
|
return tempObj;
|
|
76
76
|
}),
|
|
77
|
-
per: _this.params ? _this.params.
|
|
77
|
+
per: _this.params ? _this.params.to : 2,
|
|
78
78
|
page: _this.props.currentPage || 1,
|
|
79
79
|
from: _this.params ? _this.params.from : 0,
|
|
80
80
|
to: _this.params ? _this.params.to : 2,
|
|
@@ -98,9 +98,9 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
98
98
|
}, 0), _this.loadData = function () {
|
|
99
99
|
var _this$state = _this.state,
|
|
100
100
|
from = _this$state.from,
|
|
101
|
-
to = _this$state.to
|
|
102
|
-
|
|
103
|
-
query = _this$state.query,
|
|
101
|
+
to = _this$state.to;
|
|
102
|
+
_this$state.data;
|
|
103
|
+
var query = _this$state.query,
|
|
104
104
|
page = _this$state.page;
|
|
105
105
|
var client = _this.props.client;
|
|
106
106
|
//this.changePageNumber(page)
|
|
@@ -228,9 +228,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
228
228
|
{ key: index, style: { marginBottom: '2rem' }, counter: itemCounter++ },
|
|
229
229
|
React__default.createElement(
|
|
230
230
|
'div',
|
|
231
|
-
{
|
|
232
|
-
className: 'video-title-banner',
|
|
233
|
-
style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', fontSize: '1.25rem', borderBottom: '1px solid #d4a64d' } },
|
|
231
|
+
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', fontSize: '1.25rem', borderBottom: '1px solid #d4a64d' } },
|
|
234
232
|
React__default.createElement(
|
|
235
233
|
'a',
|
|
236
234
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
@@ -277,7 +275,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
277
275
|
InfiniteScroll,
|
|
278
276
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
|
|
279
277
|
React__default.createElement(
|
|
280
|
-
Container
|
|
278
|
+
Container,
|
|
281
279
|
null,
|
|
282
280
|
this.state.data && this.state.data.map(function (series, index) {
|
|
283
281
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
@@ -328,7 +326,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
328
326
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ?
|
|
329
327
|
//Check if any Video Groups available
|
|
330
328
|
React__default.createElement(
|
|
331
|
-
Container
|
|
329
|
+
Container,
|
|
332
330
|
null,
|
|
333
331
|
this.state.data && this.state.data.map(function (series, index) {
|
|
334
332
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
package/dist/esm/View.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
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, a as _Object$assign } from './extends-6f2fcc99.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-cf8dde54.js';
|
|
12
|
-
import './define-property-8af5f002.js';
|
|
13
|
-
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
16
4
|
import React__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
-
import '
|
|
18
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
19
|
-
import 'prop-types';
|
|
20
|
-
import 'react-bootstrap/Row';
|
|
21
|
-
import 'react-bootstrap/Col';
|
|
22
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
5
|
+
import Head from 'next/head';
|
|
23
6
|
import { useRouter } from 'next/router';
|
|
24
|
-
import './
|
|
25
|
-
import './
|
|
26
|
-
import './
|
|
27
|
-
import {
|
|
28
|
-
import '
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
9
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
11
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
12
|
+
import 'react-bootstrap/Dropdown';
|
|
13
|
+
import Form from 'react-bootstrap/Form';
|
|
14
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
+
import Button from 'react-bootstrap/Button';
|
|
29
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
30
|
-
import './
|
|
31
|
-
import
|
|
32
|
-
import './index-5f7e79e7.js';
|
|
33
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
34
|
-
import './entities-7cc3bf45.js';
|
|
35
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
|
-
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
37
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
17
|
+
import SocialShare from './SocialShare.js';
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-01d53c17.js';
|
|
40
19
|
import DFPAdSlot from './AdSlot.js';
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-5d5c08f4.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-68291ce9.js';
|
|
22
|
+
import getKeywords from './getKeywords.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
25
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-d4932dea.js';
|
|
26
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
+
import './index-755f2cc2.js';
|
|
28
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
+
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
31
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
32
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
|
+
import getQuery from './getQuery.js';
|
|
34
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
+
import './es6.string.iterator-bc33758b.js';
|
|
37
|
+
import './_to-object-b50e61c3.js';
|
|
38
|
+
import './web.dom.iterable-4109ff68.js';
|
|
39
|
+
import './_library-528f1934.js';
|
|
40
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
41
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
42
|
+
import './_object-pie-133f504a.js';
|
|
43
|
+
import 'prop-types';
|
|
44
|
+
import './index-0dbff1d1.js';
|
|
45
|
+
import 'react-dom';
|
|
46
|
+
import 'react-share';
|
|
47
|
+
import 'react-bootstrap';
|
|
43
48
|
import './index-c7e2ac95.js';
|
|
44
|
-
import './
|
|
49
|
+
import './util-3ab476bf.js';
|
|
50
|
+
import './Beam.js';
|
|
51
|
+
import './Segment.js';
|
|
52
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
45
53
|
import './GroupDeck.js';
|
|
46
|
-
import '
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
49
|
-
import { r as renderAuthor, g as getSerializers } from './index-44f4646f.js';
|
|
50
|
-
import './util-7700fc59.js';
|
|
51
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
52
|
-
import Head from 'next/head';
|
|
53
|
-
import 'react-share';
|
|
54
|
-
import SocialShare from './SocialShare.js';
|
|
55
|
-
import './_object-to-array-7e804fce.js';
|
|
54
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
55
|
+
import './_is-array-3e99e06e.js';
|
|
56
|
+
import './_object-to-array-0f197f89.js';
|
|
56
57
|
import 'react-bootstrap/Pagination';
|
|
58
|
+
import './entities-932b50cf.js';
|
|
59
|
+
import 'react-bootstrap/Row';
|
|
60
|
+
import 'react-bootstrap/Col';
|
|
61
|
+
import './inherits-a41fe93f.js';
|
|
62
|
+
import './_object-sap-f353c2a9.js';
|
|
63
|
+
import './define-property-fe54dc9f.js';
|
|
64
|
+
import './index.esm-f6156a57.js';
|
|
65
|
+
import './iconBase-ccc56b97.js';
|
|
57
66
|
import 'react-bootstrap/Figure';
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import '
|
|
62
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
63
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
67
|
+
import './debounce-533d9748.js';
|
|
68
|
+
import './isSymbol-a7e9aafe.js';
|
|
69
|
+
import './toNumber-5aeba6e7.js';
|
|
70
|
+
import './events-6c3a7a63.js';
|
|
64
71
|
import './index-db3bb315.js';
|
|
65
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
|
-
import getQuery from './getQuery.js';
|
|
67
|
-
import { S as SeriesSlider } from './SeriesSlider-a866bb21.js';
|
|
68
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-82e86707.js';
|
|
69
|
-
import getKeywords from './getKeywords.js';
|
|
70
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
72
72
|
|
|
73
73
|
var getArticleSummary = function getArticleSummary(article) {
|
|
74
74
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -154,9 +154,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
154
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
155
155
|
thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
156
|
!thumbnailUrl && React__default.createElement('p', {
|
|
157
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_43 && !thumbnailUrl && React__default.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -335,7 +335,7 @@ var ISI = function ISI(props) {
|
|
|
335
335
|
);
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
338
|
+
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
339
339
|
var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
340
340
|
styleInject(css);
|
|
341
341
|
|
|
@@ -535,9 +535,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
535
535
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
536
536
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
537
537
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
538
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
539
|
-
|
|
540
|
-
containerHeight = props.containerHeight,
|
|
538
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
539
|
+
props.active;
|
|
540
|
+
var containerHeight = props.containerHeight,
|
|
541
541
|
_props$refreshFlag = props.refreshFlag,
|
|
542
542
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
543
543
|
disqusConfig = props.disqusConfig,
|
|
@@ -597,9 +597,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
597
597
|
setArticleBody = _useState10[1];
|
|
598
598
|
|
|
599
599
|
var _useState11 = useState(true),
|
|
600
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
601
|
-
|
|
602
|
-
setPreviewAd = _useState12[1];
|
|
600
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
601
|
+
_useState12[0];
|
|
602
|
+
var setPreviewAd = _useState12[1];
|
|
603
603
|
|
|
604
604
|
useEffect(function () {
|
|
605
605
|
var path = window && window.location && window.location.search;
|
|
@@ -742,7 +742,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
742
742
|
return setPasswordKey(e.target.value);
|
|
743
743
|
}, placeholder: 'Password' }),
|
|
744
744
|
React__default.createElement(
|
|
745
|
-
Button
|
|
745
|
+
Button,
|
|
746
746
|
{
|
|
747
747
|
variant: 'primary',
|
|
748
748
|
onClick: function onClick() {
|
|
@@ -970,8 +970,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
970
970
|
shareSubject = shareOptions.shareSubject,
|
|
971
971
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
972
972
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
973
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
974
|
-
|
|
973
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
974
|
+
shareOptions.shareSiteTitle;
|
|
975
975
|
|
|
976
976
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
977
977
|
var shareTitle = article.title;
|
|
@@ -1171,7 +1171,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1171
1171
|
React__default.createElement(
|
|
1172
1172
|
'div',
|
|
1173
1173
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1174
|
-
|
|
1174
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1175
1175
|
if (index === 0) {
|
|
1176
1176
|
return React__default.createElement(
|
|
1177
1177
|
'div',
|
|
@@ -1255,7 +1255,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1255
1255
|
blocks: isi
|
|
1256
1256
|
})
|
|
1257
1257
|
),
|
|
1258
|
-
|
|
1258
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1259
1259
|
if (index > 0) {
|
|
1260
1260
|
return React__default.createElement(
|
|
1261
1261
|
'div',
|
|
@@ -1293,16 +1293,18 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
});
|
|
1295
1295
|
|
|
1296
|
-
var _this = undefined;
|
|
1296
|
+
var _this$1 = undefined;
|
|
1297
1297
|
|
|
1298
1298
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1299
|
+
var router = useRouter();
|
|
1300
|
+
|
|
1299
1301
|
var _props$prevUrl = props.prevUrl,
|
|
1300
1302
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1301
1303
|
Ads = props.Ads,
|
|
1302
1304
|
_props$maxListLength = props.maxListLength,
|
|
1303
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1304
|
-
|
|
1305
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1305
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1306
|
+
props.sponsoredTaxonomies;
|
|
1307
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1306
1308
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1307
1309
|
_props$authorPrefix = props.authorPrefix,
|
|
1308
1310
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1351,7 +1353,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1351
1353
|
return item.url.current === path;
|
|
1352
1354
|
});
|
|
1353
1355
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1354
|
-
if (!
|
|
1356
|
+
if (!main_43) {
|
|
1355
1357
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1356
1358
|
if (window.googletag && googletag.pubadsReady) {
|
|
1357
1359
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1368,7 +1370,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1368
1370
|
});
|
|
1369
1371
|
}
|
|
1370
1372
|
//Refresh leaderboard ad on mobile
|
|
1371
|
-
if (
|
|
1373
|
+
if (main_43) {
|
|
1372
1374
|
var leaderboardSlotId = '';
|
|
1373
1375
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1374
1376
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1472,7 +1474,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1472
1474
|
return _context.stop();
|
|
1473
1475
|
}
|
|
1474
1476
|
}
|
|
1475
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1477
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1476
1478
|
}));
|
|
1477
1479
|
|
|
1478
1480
|
return function loadmore() {
|
|
@@ -1480,6 +1482,34 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1480
1482
|
};
|
|
1481
1483
|
}();
|
|
1482
1484
|
|
|
1485
|
+
var currentPath = router && router.asPath;
|
|
1486
|
+
var seoLinks = props.cache.seoManager && props.cache.seoManager.filter(function (eachDocument) {
|
|
1487
|
+
return eachDocument.urlSeo == currentPath;
|
|
1488
|
+
});
|
|
1489
|
+
|
|
1490
|
+
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1491
|
+
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1492
|
+
// let urlSeo = seoLinks && seoLinks.length ==1 && seoLinks[0].urlSeo
|
|
1493
|
+
|
|
1494
|
+
var changeMetaFromSanity = function changeMetaFromSanity(metaDescription, metaTitle, oldMeta) {
|
|
1495
|
+
document.title = metaTitle;
|
|
1496
|
+
//this was throwing an error if there was no description, doing a check for the description meta
|
|
1497
|
+
if (document.querySelector('meta[name="description"]')) document.querySelector('meta[name="description"]').setAttribute('content', metaDescription);
|
|
1498
|
+
document.querySelector('meta[name="keywords"]').setAttribute('content', oldMeta.shareKeywords);
|
|
1499
|
+
document.querySelector('meta[property="og:url"]').setAttribute('content', oldMeta.shareUrl);
|
|
1500
|
+
document.querySelector('meta[property="og:title"]').setAttribute('content', metaTitle);
|
|
1501
|
+
document.querySelector('meta[property="og:site_name"]').setAttribute('content', oldMeta.shareVia);
|
|
1502
|
+
document.querySelector('meta[property="og:description"]').setAttribute('content', metaDescription);
|
|
1503
|
+
document.querySelector('meta[name="twitter:title"]').setAttribute('content', metaTitle);
|
|
1504
|
+
document.querySelector('meta[name="twitter:image"]').setAttribute('content', oldMeta.shareImage);
|
|
1505
|
+
document.querySelector('meta[name="twitter:site"]').setAttribute('content', oldMeta.shareVia);
|
|
1506
|
+
//this was throwing an error if there was no description, doing a check for the description meta
|
|
1507
|
+
if (document.querySelector('meta[name="twitter:description"]')) document.querySelector('meta[name="twitter:description"]').setAttribute('content', metaDescription);
|
|
1508
|
+
if (canonicalTag) {
|
|
1509
|
+
document.querySelector('link[rel="canonical"]').setAttribute('href', oldMeta.shareUrl);
|
|
1510
|
+
}
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1483
1513
|
var changeMeta = function changeMeta(meta) {
|
|
1484
1514
|
document.title = meta.shareTitle;
|
|
1485
1515
|
//this was throwing an error if there was no description, doing a check for the description meta
|
|
@@ -1509,7 +1539,12 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1509
1539
|
});
|
|
1510
1540
|
// Change URL and do other changes
|
|
1511
1541
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
1512
|
-
|
|
1542
|
+
|
|
1543
|
+
if (metaDescriptionSanity && metaTitleSanity && currentPath == newPath) {
|
|
1544
|
+
changeMetaFromSanity(metaDescriptionSanity, metaTitleSanity, meta);
|
|
1545
|
+
} else {
|
|
1546
|
+
changeMeta(meta);
|
|
1547
|
+
}
|
|
1513
1548
|
if (props.setCustomDimensions) {
|
|
1514
1549
|
props.setCustomDimensions(activeArticle, '200', prevUrl);
|
|
1515
1550
|
}
|
|
@@ -1542,7 +1577,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1542
1577
|
);
|
|
1543
1578
|
};
|
|
1544
1579
|
|
|
1545
|
-
var _this
|
|
1580
|
+
var _this = undefined;
|
|
1546
1581
|
|
|
1547
1582
|
var View = function View(props) {
|
|
1548
1583
|
var router = useRouter();
|
|
@@ -1552,9 +1587,9 @@ var View = function View(props) {
|
|
|
1552
1587
|
hideComments = _props$article.hideComments,
|
|
1553
1588
|
content_placement = _props$article.content_placement,
|
|
1554
1589
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1555
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1556
|
-
|
|
1557
|
-
Ads = props.Ads,
|
|
1590
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1591
|
+
props.sponsoredTaxonomies;
|
|
1592
|
+
var Ads = props.Ads,
|
|
1558
1593
|
setCustomDimensions = props.setCustomDimensions,
|
|
1559
1594
|
statusCode = props.statusCode,
|
|
1560
1595
|
prevUrl = props.prevUrl,
|
|
@@ -1567,9 +1602,9 @@ var View = function View(props) {
|
|
|
1567
1602
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1568
1603
|
var _props$article2 = props.article,
|
|
1569
1604
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1570
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1571
|
-
|
|
1572
|
-
title = _props$article2.title,
|
|
1605
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
|
|
1606
|
+
_props$article2.description;
|
|
1607
|
+
var title = _props$article2.title,
|
|
1573
1608
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1574
1609
|
|
|
1575
1610
|
var _useState = useState(0),
|
|
@@ -1630,7 +1665,6 @@ var View = function View(props) {
|
|
|
1630
1665
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1631
1666
|
|
|
1632
1667
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1633
|
-
description = null;
|
|
1634
1668
|
title = null;
|
|
1635
1669
|
}
|
|
1636
1670
|
|
|
@@ -1667,6 +1701,13 @@ var View = function View(props) {
|
|
|
1667
1701
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1668
1702
|
}
|
|
1669
1703
|
|
|
1704
|
+
var currentPath = router && router.asPath;
|
|
1705
|
+
var seoLinks = props.cache.seoManager && props.cache.seoManager.filter(function (eachDocument) {
|
|
1706
|
+
return eachDocument.urlSeo == currentPath;
|
|
1707
|
+
});
|
|
1708
|
+
|
|
1709
|
+
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1710
|
+
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1670
1711
|
return React__default.createElement(
|
|
1671
1712
|
React__default.Fragment,
|
|
1672
1713
|
null,
|
|
@@ -1676,9 +1717,9 @@ var View = function View(props) {
|
|
|
1676
1717
|
React__default.createElement(
|
|
1677
1718
|
'title',
|
|
1678
1719
|
{ key: 'title' },
|
|
1679
|
-
seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1720
|
+
metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1680
1721
|
),
|
|
1681
|
-
meta_description && React__default.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1722
|
+
metaDescriptionSanity ? React__default.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React__default.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1682
1723
|
React__default.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1683
1724
|
passwordLock && React__default.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1684
1725
|
React__default.createElement('meta', {
|
|
@@ -1688,7 +1729,7 @@ var View = function View(props) {
|
|
|
1688
1729
|
}),
|
|
1689
1730
|
React__default.createElement('meta', {
|
|
1690
1731
|
property: 'og:title',
|
|
1691
|
-
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1732
|
+
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1692
1733
|
key: 'og:title'
|
|
1693
1734
|
}),
|
|
1694
1735
|
React__default.createElement('meta', {
|
|
@@ -1697,11 +1738,11 @@ var View = function View(props) {
|
|
|
1697
1738
|
key: 'og:image'
|
|
1698
1739
|
}),
|
|
1699
1740
|
React__default.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1700
|
-
React__default.createElement('meta', { property: 'og:description', content: meta_description, key: 'og:description' }),
|
|
1741
|
+
metaDescriptionSanity ? React__default.createElement('meta', { property: 'og:description', key: 'og:description', content: metaDescriptionSanity }) : meta_description && React__default.createElement('meta', { property: 'og:description', key: 'og:description', content: meta_description }),
|
|
1701
1742
|
React__default.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1702
1743
|
React__default.createElement('meta', {
|
|
1703
1744
|
name: 'twitter:title',
|
|
1704
|
-
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1745
|
+
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1705
1746
|
key: 'twitter:title'
|
|
1706
1747
|
}),
|
|
1707
1748
|
React__default.createElement('meta', {
|
|
@@ -1710,7 +1751,7 @@ var View = function View(props) {
|
|
|
1710
1751
|
key: 'twitter:image'
|
|
1711
1752
|
}),
|
|
1712
1753
|
React__default.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1713
|
-
React__default.createElement('meta', { name: 'twitter:description', content: meta_description, key: 'twitter:description' }),
|
|
1754
|
+
metaDescriptionSanity ? React__default.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: metaDescriptionSanity }) : meta_description && React__default.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: meta_description }),
|
|
1714
1755
|
canonicalTag && React__default.createElement('link', {
|
|
1715
1756
|
rel: 'canonical',
|
|
1716
1757
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
@@ -1860,7 +1901,7 @@ View.returnGetInitialProps = function () {
|
|
|
1860
1901
|
return _context.stop();
|
|
1861
1902
|
}
|
|
1862
1903
|
}
|
|
1863
|
-
}, _callee, _this
|
|
1904
|
+
}, _callee, _this);
|
|
1864
1905
|
}));
|
|
1865
1906
|
|
|
1866
1907
|
return function (_x, _x2, _x3, _x4, _x5) {
|
package/dist/esm/YahooHero.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 { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
6
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './index-0dbff1d1.js';
|
|
9
|
+
import './slicedToArray-be2f7a22.js';
|
|
10
|
+
import './web.dom.iterable-4109ff68.js';
|
|
11
|
+
import './es6.string.iterator-bc33758b.js';
|
|
12
|
+
import './_to-object-b50e61c3.js';
|
|
13
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
14
|
+
import 'react-dom';
|
|
15
|
+
import 'prop-types';
|
|
16
16
|
|
|
17
17
|
var YahooHero = function YahooHero(props) {
|
|
18
18
|
var removeTimeStamp = props.removeTimeStamp;
|
|
@@ -72,11 +72,11 @@ var YahooHero = function YahooHero(props) {
|
|
|
72
72
|
{ className: 'yh-sub-article-container' },
|
|
73
73
|
subArticles.map(function (article, index) {
|
|
74
74
|
var articleThumbnail = '';
|
|
75
|
-
|
|
75
|
+
article.title;
|
|
76
76
|
if (article.thumbnail && article.thumbnail) {
|
|
77
77
|
articleThumbnail = urlFor({ client: client, source: article.thumbnail, imageWidth: 250 });
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
article.thumbnail.asset.originalFileName;
|
|
80
80
|
} else if (props.thumbnail) {
|
|
81
81
|
articleThumbnail = props.thumbnail;
|
|
82
82
|
}
|