@mjhls/mjh-framework 1.0.853 → 1.0.854-adblocker-fix-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 +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-fb136f1d.js → ADInfeed-25d48cc2.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 +30 -21
- package/dist/cjs/{ADlgInfeed-d303d27e.js → ADlgInfeed-a535a768.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +24 -24
- package/dist/cjs/AdSlotsProvider.js +13 -13
- package/dist/cjs/AlgoliaSearch.js +500 -508
- 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 +31 -31
- package/dist/cjs/ArticleSeriesListing.js +33 -33
- package/dist/cjs/Auth.js +348 -484
- package/dist/cjs/AuthWrapper.js +240 -201
- 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 +22 -22
- package/dist/cjs/DeckContent.js +42 -42
- package/dist/cjs/DeckQueue.js +31 -31
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-391fd124.js} +15 -15
- package/dist/cjs/EventsDeck.js +45 -45
- 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 +47 -47
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +36 -36
- 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 +16 -16
- package/dist/cjs/IssueLanding.js +84 -84
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -22
- package/dist/cjs/MasterDeck.js +41 -41
- package/dist/cjs/MediaSeriesLanding.js +465 -509
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +40 -40
- package/dist/cjs/NavNative.js +41 -41
- 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 +55 -55
- package/dist/cjs/QueueDeckExpanded.js +38 -38
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +35 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- 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-0d3bf265.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +17 -17
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-19548e2a.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 +14 -14
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +37 -37
- package/dist/cjs/VideoSeriesListing.js +33 -33
- package/dist/cjs/View.js +92 -91
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +26 -26
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
- package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +71 -135
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-faf37284.js → getTargeting-a9a871f0.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-8d141227.js → index-00a7ead6.js} +193 -174
- package/dist/cjs/{index-fc2f1ca2.js → index-2cf30c83.js} +4 -4
- package/dist/cjs/{index-f86bb269.js → index-6367b7bf.js} +35 -35
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-8041a4eb.js → index-e2e62963.js} +1 -11
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-3ffa049c.js} +1 -1
- package/dist/cjs/index.js +140 -140
- package/dist/cjs/{inherits-c2065b95.js → inherits-0c7830c5.js} +19 -19
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/{main-025fdc78.js → main-7b5e57b0.js} +159 -234
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +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-df562a07.js → ADInfeed-56a3db8b.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 +30 -21
- package/dist/esm/{ADlgInfeed-53992119.js → ADlgInfeed-53edb995.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +24 -24
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlgoliaSearch.js +499 -507
- 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 +31 -31
- package/dist/esm/ArticleSeriesListing.js +33 -33
- package/dist/esm/Auth.js +348 -484
- package/dist/esm/AuthWrapper.js +240 -201
- 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 +22 -22
- package/dist/esm/DeckContent.js +42 -42
- package/dist/esm/DeckQueue.js +31 -31
- package/dist/esm/{Dfp-43f121ff.js → Dfp-2f9796e1.js} +15 -15
- package/dist/esm/EventsDeck.js +43 -43
- 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 +47 -47
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +36 -36
- 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 +15 -15
- 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 +41 -41
- package/dist/esm/MediaSeriesLanding.js +465 -509
- package/dist/esm/NavDvm.js +13 -13
- package/dist/esm/NavMagazine.js +40 -40
- package/dist/esm/NavNative.js +39 -39
- 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 +54 -54
- package/dist/esm/QueueDeckExpanded.js +38 -38
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +35 -35
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- 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-7d89f4d9.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-47815365.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 +14 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -37
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +91 -90
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +26 -26
- 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/{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 +71 -135
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-c3401fa7.js → getTargeting-bd800589.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-b03f775b.js → index-0500ae55.js} +190 -171
- 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-aaa2dae0.js} +2 -11
- package/dist/esm/{index-79cfd25c.js → index-c00b0bbb.js} +35 -35
- package/dist/esm/{index-2446af28.js → index-f7fb1e25.js} +4 -4
- package/dist/esm/{index.esm-8016b507.js → index.esm-8ee5ff72.js} +1 -1
- package/dist/esm/index.js +121 -121
- 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-747e7d25.js} +153 -228
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- 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 +110 -110
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/stringify-59c8f690.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-4abff0b1.js} +1 -1
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
-
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
5
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
6
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
7
|
-
import MasterDeck from './MasterDeck.js';
|
|
8
|
-
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
9
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
13
4
|
import './_library-528f1934.js';
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './_object-pie-
|
|
18
|
-
import './
|
|
19
|
-
import '
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import '
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import './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 from 'react';
|
|
26
17
|
import './events-6c3a7a63.js';
|
|
18
|
+
import './index-f7fb1e25.js';
|
|
27
19
|
import 'prop-types';
|
|
28
20
|
import 'react-bootstrap/Container';
|
|
29
21
|
import 'react-bootstrap/Row';
|
|
30
22
|
import 'react-bootstrap/Col';
|
|
31
23
|
import 'react-bootstrap/Card';
|
|
24
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
32
25
|
import 'next/router';
|
|
33
|
-
import './
|
|
34
|
-
import './debounce-
|
|
35
|
-
import './
|
|
36
|
-
import './toNumber-5aeba6e7.js';
|
|
26
|
+
import './isSymbol-1981418f.js';
|
|
27
|
+
import './debounce-9207d8ee.js';
|
|
28
|
+
import './toNumber-2f7a84cd.js';
|
|
37
29
|
import './index.es-c6222053.js';
|
|
38
|
-
import './visibility-sensor-f40c2564.js';
|
|
39
30
|
import 'react-dom';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './AdSlot.js';
|
|
43
|
-
import './Beam.js';
|
|
44
|
-
import './stringify-59c8f690.js';
|
|
45
|
-
import './Segment.js';
|
|
46
|
-
import './main-b5c5aac1.js';
|
|
47
|
-
import './ADInfeed-df562a07.js';
|
|
48
|
-
import './index-35bdcc81.js';
|
|
31
|
+
import './visibility-sensor-f40c2564.js';
|
|
32
|
+
import './index-51a80699.js';
|
|
49
33
|
import './urlFor.js';
|
|
34
|
+
import './index-6c12bdd5.js';
|
|
35
|
+
import './main-747e7d25.js';
|
|
36
|
+
import './slicedToArray-641f241f.js';
|
|
37
|
+
import './stringify-4330ccdc.js';
|
|
38
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
39
|
+
import './Segment.js';
|
|
40
|
+
import './Beam.js';
|
|
41
|
+
import './AdSlot.js';
|
|
42
|
+
import './ADInfeed-56a3db8b.js';
|
|
43
|
+
import './lodash-ec8c6b48.js';
|
|
44
|
+
import './ADlgInfeed-53edb995.js';
|
|
45
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
46
|
+
import MasterDeck from './MasterDeck.js';
|
|
47
|
+
import 'react-bootstrap/Breadcrumb';
|
|
48
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
50
49
|
import './style-inject.es-1f59c1d0.js';
|
|
50
|
+
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
51
51
|
|
|
52
52
|
var _this = undefined;
|
|
53
53
|
|
|
@@ -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-b6f49411.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-c6222053.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-747e7d25.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,77 +1,77 @@
|
|
|
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-b03f775b.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-c3401fa7.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-b6f49411.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-c6222053.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_40 } from './main-747e7d25.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-0500ae55.js';
|
|
50
|
+
import './util-7700fc59.js';
|
|
51
|
+
import './brightcove-react-player-loader.es-4abff0b1.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
58
|
import 'react-bootstrap/OverlayTrigger';
|
|
68
59
|
import 'react-bootstrap/Tooltip';
|
|
69
60
|
import 'react-bootstrap/Popover';
|
|
70
|
-
import '
|
|
71
|
-
import '
|
|
72
|
-
import './
|
|
73
|
-
import '
|
|
61
|
+
import Form from 'react-bootstrap/Form';
|
|
62
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
63
|
+
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
64
|
+
import 'react-bootstrap/Dropdown';
|
|
65
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
66
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
74
67
|
import './index-db3bb315.js';
|
|
68
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
69
|
+
import getQuery from './getQuery.js';
|
|
70
|
+
import { S as SeriesSlider } from './SeriesSlider-7d89f4d9.js';
|
|
71
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-bd800589.js';
|
|
72
|
+
import getKeywords from './getKeywords.js';
|
|
73
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
74
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
75
75
|
|
|
76
76
|
var getArticleSummary = function getArticleSummary(article) {
|
|
77
77
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -157,9 +157,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
157
157
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
158
158
|
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
159
159
|
!thumbnailUrl && React.createElement('p', {
|
|
160
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
160
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
161
161
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
162
|
-
|
|
162
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
163
163
|
'style',
|
|
164
164
|
{ jsx: 'true' },
|
|
165
165
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -338,7 +338,7 @@ var ISI = function ISI(props) {
|
|
|
338
338
|
);
|
|
339
339
|
};
|
|
340
340
|
|
|
341
|
-
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";
|
|
341
|
+
var css = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
|
|
342
342
|
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" };
|
|
343
343
|
styleInject(css);
|
|
344
344
|
|
|
@@ -618,9 +618,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
618
618
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
619
619
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
620
620
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
621
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
622
|
-
props.active
|
|
623
|
-
|
|
621
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
622
|
+
active = props.active,
|
|
623
|
+
containerHeight = props.containerHeight,
|
|
624
624
|
_props$refreshFlag = props.refreshFlag,
|
|
625
625
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
626
626
|
disqusConfig = props.disqusConfig,
|
|
@@ -680,9 +680,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
680
680
|
setArticleBody = _useState10[1];
|
|
681
681
|
|
|
682
682
|
var _useState11 = useState(true),
|
|
683
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
684
|
-
_useState12[0]
|
|
685
|
-
|
|
683
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
684
|
+
previewAd = _useState12[0],
|
|
685
|
+
setPreviewAd = _useState12[1];
|
|
686
686
|
|
|
687
687
|
useEffect(function () {
|
|
688
688
|
var path = window && window.location && window.location.search;
|
|
@@ -1053,8 +1053,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1053
1053
|
shareSubject = shareOptions.shareSubject,
|
|
1054
1054
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1055
1055
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1056
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1057
|
-
shareOptions.shareSiteTitle;
|
|
1056
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
1057
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
1058
1058
|
|
|
1059
1059
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1060
1060
|
var shareTitle = article.title;
|
|
@@ -1254,7 +1254,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1254
1254
|
React.createElement(
|
|
1255
1255
|
'div',
|
|
1256
1256
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1257
|
-
|
|
1257
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1258
1258
|
if (index === 0) {
|
|
1259
1259
|
return React.createElement(
|
|
1260
1260
|
'div',
|
|
@@ -1338,7 +1338,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1338
1338
|
blocks: isi
|
|
1339
1339
|
})
|
|
1340
1340
|
),
|
|
1341
|
-
|
|
1341
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1342
1342
|
if (index > 0) {
|
|
1343
1343
|
return React.createElement(
|
|
1344
1344
|
'div',
|
|
@@ -1377,7 +1377,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
});
|
|
1379
1379
|
|
|
1380
|
-
var _this
|
|
1380
|
+
var _this = undefined;
|
|
1381
1381
|
|
|
1382
1382
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1383
1383
|
var router = useRouter();
|
|
@@ -1386,9 +1386,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1386
1386
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1387
1387
|
Ads = props.Ads,
|
|
1388
1388
|
_props$maxListLength = props.maxListLength,
|
|
1389
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1390
|
-
props.sponsoredTaxonomies
|
|
1391
|
-
|
|
1389
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1390
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1391
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1392
1392
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1393
1393
|
_props$authorPrefix = props.authorPrefix,
|
|
1394
1394
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1437,7 +1437,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1437
1437
|
return item.url.current === path;
|
|
1438
1438
|
});
|
|
1439
1439
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1440
|
-
if (!
|
|
1440
|
+
if (!main_40) {
|
|
1441
1441
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1442
1442
|
if (window.googletag && googletag.pubadsReady) {
|
|
1443
1443
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1454,7 +1454,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1454
1454
|
});
|
|
1455
1455
|
}
|
|
1456
1456
|
//Refresh leaderboard ad on mobile
|
|
1457
|
-
if (
|
|
1457
|
+
if (main_40) {
|
|
1458
1458
|
var leaderboardSlotId = '';
|
|
1459
1459
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1460
1460
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1558,7 +1558,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1558
1558
|
return _context.stop();
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
|
-
}, _callee, _this
|
|
1561
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1562
1562
|
}));
|
|
1563
1563
|
|
|
1564
1564
|
return function loadmore() {
|
|
@@ -1661,7 +1661,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1661
1661
|
);
|
|
1662
1662
|
};
|
|
1663
1663
|
|
|
1664
|
-
var _this = undefined;
|
|
1664
|
+
var _this$1 = undefined;
|
|
1665
1665
|
|
|
1666
1666
|
var View = function View(props) {
|
|
1667
1667
|
var router = useRouter();
|
|
@@ -1671,9 +1671,9 @@ var View = function View(props) {
|
|
|
1671
1671
|
hideComments = _props$article.hideComments,
|
|
1672
1672
|
content_placement = _props$article.content_placement,
|
|
1673
1673
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1674
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1675
|
-
props.sponsoredTaxonomies
|
|
1676
|
-
|
|
1674
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1675
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1676
|
+
Ads = props.Ads,
|
|
1677
1677
|
setCustomDimensions = props.setCustomDimensions,
|
|
1678
1678
|
statusCode = props.statusCode,
|
|
1679
1679
|
prevUrl = props.prevUrl,
|
|
@@ -1686,9 +1686,9 @@ var View = function View(props) {
|
|
|
1686
1686
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1687
1687
|
var _props$article2 = props.article,
|
|
1688
1688
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1689
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1690
|
-
_props$article2.description
|
|
1691
|
-
|
|
1689
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1690
|
+
description = _props$article2.description,
|
|
1691
|
+
title = _props$article2.title,
|
|
1692
1692
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1693
1693
|
|
|
1694
1694
|
var _useState = useState(0),
|
|
@@ -1741,6 +1741,7 @@ var View = function View(props) {
|
|
|
1741
1741
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !disableInfiniteScroll && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1742
1742
|
|
|
1743
1743
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1744
|
+
description = null;
|
|
1744
1745
|
title = null;
|
|
1745
1746
|
}
|
|
1746
1747
|
|
|
@@ -1977,7 +1978,7 @@ View.returnGetInitialProps = function () {
|
|
|
1977
1978
|
return _context.stop();
|
|
1978
1979
|
}
|
|
1979
1980
|
}
|
|
1980
|
-
}, _callee, _this);
|
|
1981
|
+
}, _callee, _this$1);
|
|
1981
1982
|
}));
|
|
1982
1983
|
|
|
1983
1984
|
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-b6f49411.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
|
}
|