@mjhls/mjh-framework 1.0.840 → 1.0.841-dv
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +24 -24
- package/dist/cjs/AD300x250x600.js +24 -24
- package/dist/cjs/AD728x90.js +27 -27
- package/dist/cjs/ADFloatingFooter.js +23 -23
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -23
- package/dist/cjs/{ADInfeed-8b336c67.js → ADInfeed-ad02bfab.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +23 -23
- package/dist/cjs/ADSponsoredResources.js +23 -23
- package/dist/cjs/ADWebcast.js +23 -23
- package/dist/cjs/ADWelcome.js +20 -20
- package/dist/cjs/{ADlgInfeed-aedd5e18.js → ADlgInfeed-eb23fc9f.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +92 -24
- package/dist/cjs/AdSlotsProvider.js +22 -16
- package/dist/cjs/AlgoliaSearch.js +493 -483
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +32 -32
- package/dist/cjs/ArticleSeriesListing.js +33 -33
- package/dist/cjs/Auth.js +348 -519
- package/dist/cjs/AuthWrapper.js +19 -19
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +24 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -33
- package/dist/cjs/ConferenceArticleCard.js +7 -7
- package/dist/cjs/DeckContent.js +35 -35
- package/dist/cjs/DeckQueue.js +32 -32
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-391fd124.js} +15 -15
- package/dist/cjs/EventsDeck.js +28 -28
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +48 -48
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -47
- package/dist/cjs/HorizontalHero.js +4 -4
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +17 -17
- package/dist/cjs/IssueLanding.js +55 -55
- package/dist/cjs/LeftNav.js +22 -22
- package/dist/cjs/MasterDeck.js +34 -34
- package/dist/cjs/MediaSeriesLanding.js +327 -327
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +30 -30
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +57 -57
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +34 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +28 -28
- package/dist/cjs/QueueDeckExpanded.js +38 -38
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +7 -7
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +20 -20
- package/dist/cjs/{SeriesSlider-cbab9f0f.js → SeriesSlider-d38767ae.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-9a9d6f8c.js} +10 -10
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +47 -47
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +13 -13
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +38 -38
- package/dist/cjs/VideoSeriesListing.js +33 -33
- package/dist/cjs/View.js +172 -91
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +22 -22
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4ba0d3d5.js} +4 -5
- 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-0a918631.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +14 -14
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-ea2ea5e7.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-fc2f1ca2.js → index-2cf30c83.js} +4 -4
- package/dist/cjs/{index-f86bb269.js → index-5be2866f.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-0a582ba9.js → index-c1d8b5a1.js} +167 -167
- package/dist/cjs/{index-8041a4eb.js → index-f0677b9d.js} +1 -1
- package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-3ffa049c.js} +1 -1
- package/dist/cjs/index.js +137 -137
- package/dist/cjs/{inherits-c2065b95.js → inherits-0c7830c5.js} +19 -19
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/{main-025fdc78.js → main-11ec04d2.js} +161 -240
- package/dist/cjs/{moment-aca40de1.js → moment-66a6a284.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +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-28b1e946.js → ADInfeed-e8ab7008.js} +4 -4
- 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-0b474b02.js → ADlgInfeed-882b23a8.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +92 -24
- package/dist/esm/AdSlotsProvider.js +22 -16
- package/dist/esm/AlgoliaSearch.js +493 -483
- 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 +33 -33
- package/dist/esm/Auth.js +348 -519
- package/dist/esm/AuthWrapper.js +19 -19
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-8ffd4679.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-d05b5b23.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +24 -24
- package/dist/esm/Column2.js +16 -16
- package/dist/esm/Column3.js +33 -33
- package/dist/esm/ConferenceArticleCard.js +7 -7
- package/dist/esm/DeckContent.js +35 -35
- package/dist/esm/DeckQueue.js +32 -32
- package/dist/esm/{Dfp-43f121ff.js → Dfp-2f9796e1.js} +15 -15
- package/dist/esm/EventsDeck.js +26 -26
- package/dist/esm/ExternalResources.js +47 -47
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +48 -48
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +27 -27
- 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 +4 -4
- package/dist/esm/IssueContentDeck.js +13 -13
- package/dist/esm/IssueDeck.js +16 -16
- package/dist/esm/IssueLanding.js +55 -55
- package/dist/esm/LeftNav.js +22 -22
- package/dist/esm/MasterDeck.js +34 -34
- package/dist/esm/MediaSeriesLanding.js +327 -327
- package/dist/esm/NavDvm.js +13 -13
- package/dist/esm/NavMagazine.js +30 -30
- package/dist/esm/NavNative.js +30 -30
- package/dist/esm/OncliveHero.js +4 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +57 -57
- package/dist/esm/PdfDownload.js +1 -1
- 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 +7 -7
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +38 -38
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +7 -7
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-5c62a578.js → SeriesSlider-b8cc1baa.js} +10 -10
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-c54d43cb.js} +9 -9
- package/dist/esm/TaxonomyCard.js +10 -10
- package/dist/esm/TaxonomyDescription.js +46 -46
- package/dist/esm/TemplateNormal.js +47 -47
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +13 -13
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +51 -51
- package/dist/esm/VideoSeriesCard.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +38 -38
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +171 -90
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +22 -22
- 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-b43c695a.js → brightcove-react-player-loader.es-e1c6b0f2.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-6f2fcc99.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-831bc794.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-66ffc224.js → index-1fd83450.js} +164 -164
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-35bdcc81.js → index-6c12bdd5.js} +6 -6
- package/dist/esm/{index-67e1773f.js → index-b68072f5.js} +1 -1
- package/dist/esm/{index-79cfd25c.js → index-d2f90501.js} +45 -44
- package/dist/esm/{index-2446af28.js → index-f7fb1e25.js} +4 -4
- package/dist/esm/{index.es-c6222053.js → index.es-7dda2f0a.js} +4 -20
- package/dist/esm/{index.esm-8016b507.js → index.esm-8ee5ff72.js} +1 -1
- package/dist/esm/index.js +118 -118
- package/dist/esm/{inherits-a41fe93f.js → inherits-75d45541.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/{main-b5c5aac1.js → main-aef58dbc.js} +156 -235
- package/dist/esm/{moment-bc12cb97.js → moment-12415288.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-3822f1ce.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-af9c50d8.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/stringify-59c8f690.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 from 'react';
|
|
4
|
-
import { l as lib_3 } from './index-2446af28.js';
|
|
5
|
-
import Container from 'react-bootstrap/Container';
|
|
6
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
7
|
-
import { I as IoIosArrowForward } from './index.esm-3fdda599.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-c6222053.js';
|
|
13
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
-
import './_to-object-
|
|
15
|
-
import './
|
|
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';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
22
4
|
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-75d45541.js';
|
|
10
|
+
import './define-property-8af5f002.js';
|
|
11
|
+
import './web.dom.iterable-4439f05a.js';
|
|
12
|
+
import './typeof-af9c50d8.js';
|
|
13
|
+
import './_is-array-58e95429.js';
|
|
14
|
+
import React from 'react';
|
|
23
15
|
import './events-6c3a7a63.js';
|
|
16
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
24
17
|
import 'prop-types';
|
|
18
|
+
import Container from 'react-bootstrap/Container';
|
|
19
|
+
import { m as moment } from './moment-12415288.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-7dda2f0a.js';
|
|
25
25
|
import 'react-dom';
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
28
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
29
|
-
import './index-c7e2ac95.js';
|
|
30
|
-
import './index-35bdcc81.js';
|
|
31
|
-
import './smoothscroll-fa4e3f8c.js';
|
|
26
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
27
|
+
import './index-51a80699.js';
|
|
32
28
|
import './urlFor.js';
|
|
33
|
-
import './index-
|
|
34
|
-
import './main-
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
29
|
+
import './index-6c12bdd5.js';
|
|
30
|
+
import './main-aef58dbc.js';
|
|
31
|
+
import './slicedToArray-641f241f.js';
|
|
32
|
+
import './index-c7e2ac95.js';
|
|
33
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
34
|
+
import YoutubeGroup from './YoutubeGroup.js';
|
|
35
|
+
import './iconBase-602d52fe.js';
|
|
36
|
+
import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
37
37
|
|
|
38
38
|
var VideoSeriesListing = function (_React$Component) {
|
|
39
39
|
_inherits(VideoSeriesListing, _React$Component);
|
|
@@ -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
|
-
_this$state.data
|
|
103
|
-
|
|
101
|
+
to = _this$state.to,
|
|
102
|
+
data = _this$state.data,
|
|
103
|
+
query = _this$state.query,
|
|
104
104
|
page = _this$state.page;
|
|
105
105
|
var client = _this.props.client;
|
|
106
106
|
//this.changePageNumber(page)
|
package/dist/esm/View.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
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';
|
|
4
|
-
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
|
-
import Head from 'next/head';
|
|
6
|
-
import { useRouter } from 'next/router';
|
|
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-52cf21c5.js';
|
|
11
|
-
import { m as main_43 } from './main-b5c5aac1.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';
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
|
-
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-66ffc224.js';
|
|
19
|
-
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-5c62a578.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-a8ff922c.js';
|
|
26
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
-
import './index-35bdcc81.js';
|
|
28
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
-
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
-
import { l as lib_3 } from './index-2446af28.js';
|
|
32
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
|
-
import getQuery from './getQuery.js';
|
|
34
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
39
4
|
import './_library-528f1934.js';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
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-75d45541.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
43
19
|
import 'prop-types';
|
|
44
|
-
import '
|
|
20
|
+
import 'react-bootstrap/Row';
|
|
21
|
+
import 'react-bootstrap/Col';
|
|
22
|
+
import { m as moment } from './moment-12415288.js';
|
|
23
|
+
import { useRouter } from 'next/router';
|
|
24
|
+
import './isSymbol-1981418f.js';
|
|
25
|
+
import './debounce-9207d8ee.js';
|
|
26
|
+
import './toNumber-2f7a84cd.js';
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
45
28
|
import 'react-dom';
|
|
46
|
-
import '
|
|
47
|
-
import '
|
|
48
|
-
import './
|
|
49
|
-
import './
|
|
50
|
-
import './
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
import './index-6c12bdd5.js';
|
|
33
|
+
import { m as main_39 } from './main-aef58dbc.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';
|
|
51
38
|
import './Segment.js';
|
|
52
|
-
import './
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import DFPAdSlot from './AdSlot.js';
|
|
41
|
+
import Button from 'react-bootstrap/Button';
|
|
42
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
43
|
+
import './index-c7e2ac95.js';
|
|
44
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
53
45
|
import './GroupDeck.js';
|
|
54
|
-
import '
|
|
55
|
-
import './_is-array-3e99e06e.js';
|
|
56
|
-
import './_object-to-array-0f197f89.js';
|
|
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-3fdda599.js';
|
|
46
|
+
import 'react-bootstrap';
|
|
65
47
|
import './iconBase-602d52fe.js';
|
|
48
|
+
import './index.esm-3fdda599.js';
|
|
49
|
+
import { r as renderAuthor, g as getSerializers } from './index-1fd83450.js';
|
|
50
|
+
import './util-7700fc59.js';
|
|
51
|
+
import './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
52
|
+
import Head from 'next/head';
|
|
53
|
+
import 'react-share';
|
|
54
|
+
import SocialShare from './SocialShare.js';
|
|
55
|
+
import './_object-to-array-7e804fce.js';
|
|
56
|
+
import 'react-bootstrap/Pagination';
|
|
66
57
|
import 'react-bootstrap/Figure';
|
|
67
|
-
import '
|
|
68
|
-
import '
|
|
69
|
-
import './
|
|
70
|
-
import '
|
|
58
|
+
import Form from 'react-bootstrap/Form';
|
|
59
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
60
|
+
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
61
|
+
import 'react-bootstrap/Dropdown';
|
|
62
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
63
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
71
64
|
import './index-db3bb315.js';
|
|
65
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
|
+
import getQuery from './getQuery.js';
|
|
67
|
+
import { S as SeriesSlider } from './SeriesSlider-b8cc1baa.js';
|
|
68
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-831bc794.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.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
156
|
!thumbnailUrl && React.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_39 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_39 && !thumbnailUrl && React.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -432,6 +432,85 @@ var getSocialShareDisableFlag = function getSocialShareDisableFlag(article) {
|
|
|
432
432
|
return showSocialShare;
|
|
433
433
|
};
|
|
434
434
|
|
|
435
|
+
function toPlainText() {
|
|
436
|
+
var blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
437
|
+
|
|
438
|
+
return blocks
|
|
439
|
+
// loop through each block
|
|
440
|
+
.map(function (block) {
|
|
441
|
+
// if it's not a text block with children,
|
|
442
|
+
// return nothing
|
|
443
|
+
if (block._type !== 'block' || !block.children) {
|
|
444
|
+
return '';
|
|
445
|
+
}
|
|
446
|
+
// loop through the children spans, and join the
|
|
447
|
+
// text strings
|
|
448
|
+
return block.children.map(function (child) {
|
|
449
|
+
return child.text;
|
|
450
|
+
}).join('');
|
|
451
|
+
})
|
|
452
|
+
// join the paragraphs leaving split by two linebreaks
|
|
453
|
+
.join('\n\n');
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
function generateSchema(props) {
|
|
457
|
+
var _props$article = props.article,
|
|
458
|
+
title = _props$article.title,
|
|
459
|
+
body = _props$article.body,
|
|
460
|
+
summary = _props$article.summary,
|
|
461
|
+
url = _props$article.url,
|
|
462
|
+
content_placement = _props$article.content_placement,
|
|
463
|
+
authorDetails = _props$article.authorDetails,
|
|
464
|
+
thumbnail = _props$article.thumbnail,
|
|
465
|
+
published = _props$article.published,
|
|
466
|
+
_updatedAt = _props$article._updatedAt,
|
|
467
|
+
seoTag = _props$article.seoTag,
|
|
468
|
+
_props$Website = props.Website,
|
|
469
|
+
liveDomain = _props$Website.liveDomain,
|
|
470
|
+
websiteTitle = _props$Website.title,
|
|
471
|
+
logo = _props$Website.logo,
|
|
472
|
+
client = props.client;
|
|
473
|
+
|
|
474
|
+
var isAuthorFound = authorDetails && authorDetails.length > 0 && authorDetails[0].displayName;
|
|
475
|
+
var articleSection = content_placement && content_placement.map(function (cp) {
|
|
476
|
+
return cp.name;
|
|
477
|
+
});
|
|
478
|
+
|
|
479
|
+
if (title && thumbnail && published && websiteTitle && liveDomain && logo && isAuthorFound) {
|
|
480
|
+
return {
|
|
481
|
+
'@context': 'https://schema.org',
|
|
482
|
+
'@type': 'NewsArticle',
|
|
483
|
+
mainEntityOfPage: 'https://' + liveDomain + '/view/' + url.current,
|
|
484
|
+
headline: title,
|
|
485
|
+
description: summary,
|
|
486
|
+
articleBody: toPlainText(body),
|
|
487
|
+
inLanguage: 'en-US',
|
|
488
|
+
image: urlFor({ source: thumbnail, client: client }),
|
|
489
|
+
keywords: seoTag.join(),
|
|
490
|
+
articleSection: articleSection,
|
|
491
|
+
author: {
|
|
492
|
+
'@type': 'Person',
|
|
493
|
+
name: authorDetails[0].displayName
|
|
494
|
+
},
|
|
495
|
+
publisher: {
|
|
496
|
+
'@type': 'Organization',
|
|
497
|
+
name: websiteTitle,
|
|
498
|
+
logo: {
|
|
499
|
+
'@type': 'ImageObject',
|
|
500
|
+
url: 'https://' + liveDomain + logo
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
datePublished: published,
|
|
504
|
+
dateModified: _updatedAt
|
|
505
|
+
};
|
|
506
|
+
}
|
|
507
|
+
return null;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
var Schema = function Schema(props) {
|
|
511
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
512
|
+
};
|
|
513
|
+
|
|
435
514
|
var Article = forwardRef(function (props, ref) {
|
|
436
515
|
var onVote = function () {
|
|
437
516
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(nodeKey, selectedChoice) {
|
|
@@ -535,9 +614,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
535
614
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
536
615
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
537
616
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
538
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
539
|
-
props.active
|
|
540
|
-
|
|
617
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
618
|
+
active = props.active,
|
|
619
|
+
containerHeight = props.containerHeight,
|
|
541
620
|
_props$refreshFlag = props.refreshFlag,
|
|
542
621
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
543
622
|
disqusConfig = props.disqusConfig,
|
|
@@ -597,9 +676,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
597
676
|
setArticleBody = _useState10[1];
|
|
598
677
|
|
|
599
678
|
var _useState11 = useState(true),
|
|
600
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
601
|
-
_useState12[0]
|
|
602
|
-
|
|
679
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
680
|
+
previewAd = _useState12[0],
|
|
681
|
+
setPreviewAd = _useState12[1];
|
|
603
682
|
|
|
604
683
|
useEffect(function () {
|
|
605
684
|
var path = window && window.location && window.location.search;
|
|
@@ -970,8 +1049,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
970
1049
|
shareSubject = shareOptions.shareSubject,
|
|
971
1050
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
972
1051
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
973
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
974
|
-
shareOptions.shareSiteTitle;
|
|
1052
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
1053
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
975
1054
|
|
|
976
1055
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
977
1056
|
var shareTitle = article.title;
|
|
@@ -1171,7 +1250,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1171
1250
|
React.createElement(
|
|
1172
1251
|
'div',
|
|
1173
1252
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1174
|
-
|
|
1253
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1175
1254
|
if (index === 0) {
|
|
1176
1255
|
return React.createElement(
|
|
1177
1256
|
'div',
|
|
@@ -1255,7 +1334,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1255
1334
|
blocks: isi
|
|
1256
1335
|
})
|
|
1257
1336
|
),
|
|
1258
|
-
|
|
1337
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1259
1338
|
if (index > 0) {
|
|
1260
1339
|
return React.createElement(
|
|
1261
1340
|
'div',
|
|
@@ -1278,7 +1357,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1278
1357
|
)
|
|
1279
1358
|
)
|
|
1280
1359
|
),
|
|
1281
|
-
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' })
|
|
1360
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1361
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1282
1362
|
);
|
|
1283
1363
|
};
|
|
1284
1364
|
|
|
@@ -1293,16 +1373,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1293
1373
|
}
|
|
1294
1374
|
});
|
|
1295
1375
|
|
|
1296
|
-
var _this
|
|
1376
|
+
var _this = undefined;
|
|
1297
1377
|
|
|
1298
1378
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1299
1379
|
var _props$prevUrl = props.prevUrl,
|
|
1300
1380
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1301
1381
|
Ads = props.Ads,
|
|
1302
1382
|
_props$maxListLength = props.maxListLength,
|
|
1303
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1304
|
-
props.sponsoredTaxonomies
|
|
1305
|
-
|
|
1383
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1384
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1385
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1306
1386
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1307
1387
|
_props$authorPrefix = props.authorPrefix,
|
|
1308
1388
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1351,7 +1431,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1351
1431
|
return item.url.current === path;
|
|
1352
1432
|
});
|
|
1353
1433
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1354
|
-
if (!
|
|
1434
|
+
if (!main_39) {
|
|
1355
1435
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1356
1436
|
if (window.googletag && googletag.pubadsReady) {
|
|
1357
1437
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1368,7 +1448,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1368
1448
|
});
|
|
1369
1449
|
}
|
|
1370
1450
|
//Refresh leaderboard ad on mobile
|
|
1371
|
-
if (
|
|
1451
|
+
if (main_39) {
|
|
1372
1452
|
var leaderboardSlotId = '';
|
|
1373
1453
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1374
1454
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1472,7 +1552,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1472
1552
|
return _context.stop();
|
|
1473
1553
|
}
|
|
1474
1554
|
}
|
|
1475
|
-
}, _callee, _this
|
|
1555
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1476
1556
|
}));
|
|
1477
1557
|
|
|
1478
1558
|
return function loadmore() {
|
|
@@ -1542,7 +1622,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1542
1622
|
);
|
|
1543
1623
|
};
|
|
1544
1624
|
|
|
1545
|
-
var _this = undefined;
|
|
1625
|
+
var _this$1 = undefined;
|
|
1546
1626
|
|
|
1547
1627
|
var View = function View(props) {
|
|
1548
1628
|
var router = useRouter();
|
|
@@ -1552,9 +1632,9 @@ var View = function View(props) {
|
|
|
1552
1632
|
hideComments = _props$article.hideComments,
|
|
1553
1633
|
content_placement = _props$article.content_placement,
|
|
1554
1634
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1555
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1556
|
-
props.sponsoredTaxonomies
|
|
1557
|
-
|
|
1635
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1636
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1637
|
+
Ads = props.Ads,
|
|
1558
1638
|
setCustomDimensions = props.setCustomDimensions,
|
|
1559
1639
|
statusCode = props.statusCode,
|
|
1560
1640
|
prevUrl = props.prevUrl,
|
|
@@ -1567,9 +1647,9 @@ var View = function View(props) {
|
|
|
1567
1647
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1568
1648
|
var _props$article2 = props.article,
|
|
1569
1649
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1570
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1571
|
-
_props$article2.description
|
|
1572
|
-
|
|
1650
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1651
|
+
description = _props$article2.description,
|
|
1652
|
+
title = _props$article2.title,
|
|
1573
1653
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1574
1654
|
|
|
1575
1655
|
var _useState = useState(0),
|
|
@@ -1630,6 +1710,7 @@ var View = function View(props) {
|
|
|
1630
1710
|
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
1711
|
|
|
1632
1712
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1713
|
+
description = null;
|
|
1633
1714
|
title = null;
|
|
1634
1715
|
}
|
|
1635
1716
|
|
|
@@ -1859,7 +1940,7 @@ View.returnGetInitialProps = function () {
|
|
|
1859
1940
|
return _context.stop();
|
|
1860
1941
|
}
|
|
1861
1942
|
}
|
|
1862
|
-
}, _callee, _this);
|
|
1943
|
+
}, _callee, _this$1);
|
|
1863
1944
|
}));
|
|
1864
1945
|
|
|
1865
1946
|
return function (_x, _x2, _x3, _x4, _x5) {
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
-
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
6
|
-
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import '
|
|
13
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
14
|
-
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 from 'react';
|
|
15
7
|
import 'prop-types';
|
|
8
|
+
import { m as moment } from './moment-12415288.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import './index-51a80699.js';
|
|
11
|
+
import urlFor from './urlFor.js';
|
|
12
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
13
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
14
|
+
import './slicedToArray-641f241f.js';
|
|
15
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
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
|
-
article.title;
|
|
75
|
+
var articleAltText = article.title;
|
|
76
76
|
if (article.thumbnail && article.thumbnail) {
|
|
77
77
|
articleThumbnail = urlFor({ client: client, source: article.thumbnail, imageWidth: 250 });
|
|
78
78
|
|
|
79
|
-
article.thumbnail.asset.originalFileName;
|
|
79
|
+
articleAltText = article.thumbnail.asset.originalFileName;
|
|
80
80
|
} else if (props.thumbnail) {
|
|
81
81
|
articleThumbnail = props.thumbnail;
|
|
82
82
|
}
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import React, { useRef, useState, useEffect } from 'react';
|
|
4
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
5
|
-
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
6
|
-
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
7
|
-
import urlFor from './urlFor.js';
|
|
8
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-b5c5aac1.js';
|
|
9
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './web.dom.iterable-4109ff68.js';
|
|
13
|
-
import './_is-array-3e99e06e.js';
|
|
14
|
-
import './_object-pie-133f504a.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
15
4
|
import './_library-528f1934.js';
|
|
16
|
-
import './core.get-iterator-method-
|
|
17
|
-
import '
|
|
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-af9c50d8.js';
|
|
9
|
+
import './_is-array-58e95429.js';
|
|
10
|
+
import React, { useRef, useState, useEffect } from 'react';
|
|
18
11
|
import 'prop-types';
|
|
19
|
-
import '
|
|
12
|
+
import 'react-dom';
|
|
13
|
+
import './index-51a80699.js';
|
|
14
|
+
import urlFor from './urlFor.js';
|
|
15
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
16
|
+
import { m as main_39, a as main_44, b as main_38 } from './main-aef58dbc.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
19
|
+
import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
|
|
20
20
|
|
|
21
21
|
/*
|
|
22
22
|
GROQ query -
|
|
@@ -101,13 +101,13 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
if (
|
|
104
|
+
if (main_39) {
|
|
105
105
|
thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth) / 2);
|
|
106
106
|
if (props.dataset.length > 2) {
|
|
107
107
|
scrollerVisible = true;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
if (
|
|
110
|
+
if (main_44) {
|
|
111
111
|
thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth * 2) / 3);
|
|
112
112
|
if (props.dataset.length > 3) {
|
|
113
113
|
scrollerVisible = true;
|
|
@@ -130,7 +130,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
props.get2 ? '/' + props.get2 + '/' : '/view/';
|
|
133
|
+
var get2 = props.get2 ? '/' + props.get2 + '/' : '/view/';
|
|
134
134
|
|
|
135
135
|
var variant = props.dark ? 'white' : '#383838';
|
|
136
136
|
|
|
@@ -170,10 +170,10 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
170
170
|
if (viewableWindow.current.offsetWidth < 604) {
|
|
171
171
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
|
|
172
172
|
}
|
|
173
|
-
if (
|
|
173
|
+
if (main_44) {
|
|
174
174
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
|
|
175
175
|
}
|
|
176
|
-
if (
|
|
176
|
+
if (main_39) {
|
|
177
177
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 1;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -346,7 +346,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
346
346
|
React.createElement(
|
|
347
347
|
'style',
|
|
348
348
|
{ jsx: 'true' },
|
|
349
|
-
'\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n }\n #vid-slider.col {\n padding: 0 2.5rem;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: normal;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n #vid-slider .tile:first-child {\n margin-left: 0;\n }\n #vid-slider .tile__img {\n height: auto;\n\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n }\n\n #vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (
|
|
349
|
+
'\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n }\n #vid-slider.col {\n padding: 0 2.5rem;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: normal;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n #vid-slider .tile:first-child {\n margin-left: 0;\n }\n #vid-slider .tile__img {\n height: auto;\n\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n }\n\n #vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (main_38 ? '0.75rem' : '0.9rem') + ';\n font-weight: normal;\n transition: opacity 0.25s;\n -webkit-font-smoothing: antialiased;\n }\n\n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: 1rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n padding-right: 0 1.2rem;\n }\n\n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n }\n #vid-slider .tile__img {\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n #vid-slider .tile__img {\n }\n }\n\n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n\n #vid-slider .tile__img {\n }\n #vid-slider .row__inner {\n margin-top: 1.5rem !important;\n }\n }\n\n @media screen and (max-width: 590px) {\n #vid-slider .tile__img {\n }\n }\n '
|
|
350
350
|
)
|
|
351
351
|
);
|
|
352
352
|
};
|