@mjhls/mjh-framework 1.0.752-beta-0.4 → 1.0.753
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 +10 -9
- package/dist/cjs/AD300x250.js +28 -27
- package/dist/cjs/AD300x250x600.js +28 -27
- package/dist/cjs/AD728x90.js +31 -30
- package/dist/cjs/ADFloatingFooter.js +30 -29
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +30 -29
- package/dist/cjs/{ADInfeed-132ae3b9.js → ADInfeed-5fe7fd9d.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +30 -29
- package/dist/cjs/ADSponsoredResources.js +30 -29
- package/dist/cjs/ADWebcast.js +30 -29
- package/dist/cjs/ADWelcome.js +36 -47
- package/dist/cjs/{ADlgInfeed-5429a61c.js → ADlgInfeed-a62d2f9b.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +35 -34
- package/dist/cjs/AdSlotsProvider.js +17 -16
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +56 -55
- package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
- package/dist/cjs/ArticleSeriesListing.js +60 -59
- package/dist/cjs/Auth.js +816 -330
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +58 -55
- package/dist/cjs/ConferenceArticleCard.js +23 -22
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +98 -94
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-ce7ac168.js → Dfp-80146e98.js} +31 -30
- package/dist/cjs/EventsDeck.js +138 -131
- package/dist/cjs/ExternalResources.js +78 -77
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +181 -177
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +135 -130
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +70 -69
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +41 -40
- package/dist/cjs/LeftNav.js +38 -36
- package/dist/cjs/MasterDeck.js +71 -70
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +143 -138
- package/dist/cjs/NavNative.js +123 -115
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +107 -106
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +40 -39
- package/dist/cjs/PubToc.js +17 -16
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +79 -75
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +25 -24
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -35
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-45c54bed.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TaxonomyDescription.js +53 -52
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +75 -71
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesLandingPage.js +48 -47
- package/dist/cjs/VideoSeriesListing.js +77 -76
- package/dist/cjs/View.js +234 -231
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +63 -62
- package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-bec5fcf2.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-a8cfdb84.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-2edcb6ad.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-b4615fd3.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
- package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +19 -19
- package/dist/cjs/getRootDocGroup.js +7 -7
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-497b581d.js} +2 -2
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-ee3513b7.js → index-00b7a18a.js} +493 -482
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-39beccb3.js → index-d48b231c.js} +29 -24
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +161 -158
- package/dist/cjs/{inherits-513d81cd.js → inherits-2eb23889.js} +8 -8
- package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-4ef21f0f.js} +1 -1
- package/dist/cjs/{main-02daeefe.js → main-dc082238.js} +116 -80
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-db24842a.js} +4 -4
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
- package/dist/esm/AD.js +7 -7
- 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 +26 -26
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-1531cd28.js → ADInfeed-3a9eef39.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +32 -44
- package/dist/esm/{ADlgInfeed-ddfa3532.js → ADlgInfeed-8d63ff91.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +26 -26
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +52 -52
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +797 -315
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-c7ff069f.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-e9a07597.js → Dfp-8bfbd310.js} +20 -20
- package/dist/esm/EventsDeck.js +84 -84
- package/dist/esm/ExternalResources.js +71 -71
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +66 -66
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +64 -64
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +91 -91
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +102 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +36 -36
- package/dist/esm/PubToc.js +13 -13
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +51 -51
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a2ae84d1.js → SocialSearchComponent-c3216d1a.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +47 -47
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +61 -61
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesLandingPage.js +39 -39
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +221 -222
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -46
- package/dist/esm/{_is-array-58e95429.js → _is-array-674f71ec.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-48516cd3.js} +2 -2
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-fd3054d0.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-8f409e54.js} +1 -1
- package/dist/esm/{_set-species-3f8319f5.js → _set-species-494ed292.js} +4 -4
- package/dist/esm/{_to-object-a4107da3.js → _to-object-97770c52.js} +5 -5
- package/dist/esm/{asyncToGenerator-502f13b4.js → asyncToGenerator-2bd4099a.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-d1d5ed02.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-ec6d528d.js} +1 -1
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-ea516b15.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-aa6068a3.js} +3 -3
- package/dist/esm/{extends-eb69e8ac.js → extends-31d65aba.js} +1 -1
- package/dist/esm/getRelatedArticle.js +13 -13
- package/dist/esm/getRootDocGroup.js +7 -7
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-7211f12c.js → getTargeting-2d402d66.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-3849e3fe.js → index-3f5c03b2.js} +29 -24
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
- package/dist/esm/{index-be22f02f.js → index-a7f9ce66.js} +428 -424
- package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +127 -127
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-5906fbea.js} +5 -5
- package/dist/esm/{keys-8eda7a5c.js → keys-a0b0c7a4.js} +2 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-ad27652f.js} +1 -1
- package/dist/esm/{main-e4a934b2.js → main-1450d277.js} +113 -78
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-cdeaee08.js} +4 -4
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/{stringify-4330ccdc.js → stringify-d4839bab.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-fa2dcda7.js} +4 -4
- package/dist/esm/{typeof-6435ba1c.js → typeof-e9cea9e8.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-035980f3.js} +3 -3
- package/package.json +3 -3
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/View.js
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-31d65aba.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
4
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
5
|
+
import Head from 'next/head';
|
|
6
|
+
import { useRouter } from 'next/router';
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-d4839bab.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
|
|
9
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
+
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
11
|
+
import { m as main_40 } from './main-1450d277.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 { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-a7f9ce66.js';
|
|
17
|
+
import SocialShare from './SocialShare.js';
|
|
18
|
+
import DFPAdSlot from './AdSlot.js';
|
|
19
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-2d402d66.js';
|
|
20
|
+
import getKeywords from './getKeywords.js';
|
|
21
|
+
import urlFor from './urlFor.js';
|
|
22
|
+
import { _ as _typeof } from './typeof-e9cea9e8.js';
|
|
23
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
24
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
25
|
+
import './index-752d1dae.js';
|
|
26
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
27
|
+
import { _ as _Object$keys } from './keys-a0b0c7a4.js';
|
|
28
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
29
|
+
import { l as lib_3 } from './index-888f9253.js';
|
|
30
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
31
|
+
import getQuery from './getQuery.js';
|
|
32
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
1
33
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
34
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
35
|
+
import './_to-object-97770c52.js';
|
|
36
|
+
import './web.dom.iterable-035980f3.js';
|
|
4
37
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
7
|
-
import './
|
|
38
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
39
|
+
import './_set-species-494ed292.js';
|
|
40
|
+
import './_iter-detect-48516cd3.js';
|
|
8
41
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends, a as _Object$assign } from './extends-eb69e8ac.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-fb9b6e8f.js';
|
|
12
|
-
import './define-property-8af5f002.js';
|
|
13
|
-
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
16
|
-
import React__default, { useState, useRef, useEffect } from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-a9e53f80.js';
|
|
18
42
|
import 'prop-types';
|
|
19
|
-
import '
|
|
20
|
-
import 'react-bootstrap
|
|
21
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
22
|
-
import { useRouter } from 'next/router';
|
|
23
|
-
import './isSymbol-807e927e.js';
|
|
24
|
-
import './debounce-1a993acf.js';
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
26
|
-
import 'react-dom';
|
|
27
|
-
import './index-3849e3fe.js';
|
|
28
|
-
import './index-5f9f807a.js';
|
|
29
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
30
|
-
import './entities-7cc3bf45.js';
|
|
31
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
32
|
-
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
33
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-502f13b4.js';
|
|
34
|
-
import './_set-species-3f8319f5.js';
|
|
35
|
-
import './Segment.js';
|
|
36
|
-
import './Beam.js';
|
|
37
|
-
import DFPAdSlot from './AdSlot.js';
|
|
38
|
-
import { B as BlockContent } from './BlockContent-c409aca5.js';
|
|
43
|
+
import './index-3f5c03b2.js';
|
|
44
|
+
import 'react-bootstrap';
|
|
39
45
|
import './index-c7e2ac95.js';
|
|
40
|
-
import './
|
|
46
|
+
import './util-3ab476bf.js';
|
|
47
|
+
import './Beam.js';
|
|
48
|
+
import './Segment.js';
|
|
49
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
41
50
|
import './GroupDeck.js';
|
|
42
|
-
import '
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
45
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-be22f02f.js';
|
|
46
|
-
import './util-7700fc59.js';
|
|
47
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
48
|
-
import Head from 'next/head';
|
|
49
|
-
import 'react-share';
|
|
50
|
-
import SocialShare from './SocialShare.js';
|
|
51
|
-
import './_object-to-array-7e804fce.js';
|
|
51
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
52
|
+
import './_is-array-674f71ec.js';
|
|
53
|
+
import './_object-to-array-8f409e54.js';
|
|
52
54
|
import 'react-bootstrap/Pagination';
|
|
53
|
-
import
|
|
55
|
+
import './entities-932b50cf.js';
|
|
56
|
+
import 'react-bootstrap/Row';
|
|
57
|
+
import 'react-bootstrap/Col';
|
|
58
|
+
import './inherits-5906fbea.js';
|
|
59
|
+
import './_object-sap-fd3054d0.js';
|
|
60
|
+
import './define-property-ec6d528d.js';
|
|
61
|
+
import './index.esm-3fdda599.js';
|
|
62
|
+
import './iconBase-602d52fe.js';
|
|
54
63
|
import 'react-bootstrap/Figure';
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import 'react-
|
|
59
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
60
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
64
|
+
import 'react-share';
|
|
65
|
+
import './debounce-1a993acf.js';
|
|
66
|
+
import './isSymbol-807e927e.js';
|
|
67
|
+
import 'react-dom';
|
|
61
68
|
import './index-db3bb315.js';
|
|
62
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
63
|
-
import getQuery from './getQuery.js';
|
|
64
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-7211f12c.js';
|
|
65
|
-
import getKeywords from './getKeywords.js';
|
|
66
|
-
import urlFor from './urlFor.js';
|
|
67
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
68
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
69
69
|
|
|
70
70
|
var getArticleSummary = function getArticleSummary(article) {
|
|
71
71
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -134,17 +134,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
134
134
|
thumbnailUrl = urlFor(client, article.documentGroup.thumbnail).url();
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
return
|
|
137
|
+
return React.createElement(
|
|
138
138
|
'a',
|
|
139
139
|
{
|
|
140
140
|
href: url,
|
|
141
141
|
className: 'doc-group',
|
|
142
142
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
143
|
-
thumbnailUrl &&
|
|
144
|
-
!thumbnailUrl &&
|
|
145
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
143
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
144
|
+
!thumbnailUrl && React.createElement('p', {
|
|
145
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
146
146
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
147
|
-
|
|
147
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
148
148
|
'style',
|
|
149
149
|
{ jsx: 'true' },
|
|
150
150
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -284,38 +284,38 @@ var ISI = function ISI(props) {
|
|
|
284
284
|
}, 300);
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
|
-
return
|
|
288
|
-
|
|
287
|
+
return React.createElement(
|
|
288
|
+
React.Fragment,
|
|
289
289
|
null,
|
|
290
|
-
|
|
290
|
+
React.createElement(
|
|
291
291
|
'div',
|
|
292
292
|
{ id: 'isi', ref: isi },
|
|
293
|
-
|
|
293
|
+
React.createElement(
|
|
294
294
|
'div',
|
|
295
295
|
{ id: 'isiContent' },
|
|
296
|
-
|
|
296
|
+
React.createElement(
|
|
297
297
|
'div',
|
|
298
298
|
{ onClick: function onClick() {
|
|
299
299
|
return setActive(function (prev) {
|
|
300
300
|
return !prev;
|
|
301
301
|
});
|
|
302
302
|
}, id: 'isiToggle' },
|
|
303
|
-
active ?
|
|
303
|
+
active ? React.createElement(
|
|
304
304
|
'p',
|
|
305
305
|
null,
|
|
306
306
|
'Close ',
|
|
307
|
-
|
|
308
|
-
) :
|
|
307
|
+
React.createElement(FaMinus, null)
|
|
308
|
+
) : React.createElement(
|
|
309
309
|
'p',
|
|
310
310
|
null,
|
|
311
311
|
'See More ',
|
|
312
|
-
|
|
312
|
+
React.createElement(FaPlus, null)
|
|
313
313
|
)
|
|
314
314
|
),
|
|
315
315
|
children
|
|
316
316
|
)
|
|
317
317
|
),
|
|
318
|
-
|
|
318
|
+
React.createElement(
|
|
319
319
|
'style',
|
|
320
320
|
{ jsx: true },
|
|
321
321
|
'\n #isi {\n position: fixed;\n z-index: 9999999;\n bottom: 0;\n left: 0;\n max-height: 12rem;\n background-color: #ffffff;\n overflow-x: hidden;\n overflow-y: hidden;\n width: 100%;\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);\n transition: bottom .5s ease , margin-top .3s, max-height .2s;\n }\n #isiContent {\n width: 100%;\n max-width: 1000px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n padding: 1rem;\n font-size: 1rem;\n }\n #isi::-webkit-scrollbar {\n display: none;\n }\n #isiToggle {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1rem;\n font-weight: bold;\n cursor: pointer;\n font-size: 1rem;\n }\n #isiToggle p {\n margin: 0;\n }\n '
|
|
@@ -337,33 +337,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
337
337
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
338
338
|
return null;
|
|
339
339
|
}
|
|
340
|
-
return
|
|
340
|
+
return React.createElement(
|
|
341
341
|
'div',
|
|
342
342
|
{ className: styles.mediaContainer },
|
|
343
343
|
articles.map(function (article, index) {
|
|
344
|
-
return
|
|
344
|
+
return React.createElement(
|
|
345
345
|
'div',
|
|
346
346
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
347
|
-
|
|
347
|
+
React.createElement(
|
|
348
348
|
'a',
|
|
349
349
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
350
|
-
article.thumbnail ?
|
|
350
|
+
article.thumbnail ? React.createElement('img', {
|
|
351
351
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
352
352
|
src: article.thumbnail && urlFor(client, article.thumbnail.asset).width(250).url(),
|
|
353
353
|
alt: article.title
|
|
354
|
-
}) :
|
|
355
|
-
|
|
354
|
+
}) : React.createElement(
|
|
355
|
+
React.Fragment,
|
|
356
356
|
null,
|
|
357
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
357
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
358
358
|
)
|
|
359
359
|
),
|
|
360
|
-
|
|
360
|
+
React.createElement(
|
|
361
361
|
'div',
|
|
362
362
|
{ className: styles.mediaBody },
|
|
363
|
-
|
|
363
|
+
React.createElement(
|
|
364
364
|
'a',
|
|
365
365
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
366
|
-
|
|
366
|
+
React.createElement(
|
|
367
367
|
'div',
|
|
368
368
|
{ className: styles.cardTitle },
|
|
369
369
|
article.title
|
|
@@ -531,9 +531,9 @@ var Article = function Article(props) {
|
|
|
531
531
|
setArticleBody = _useState10[1];
|
|
532
532
|
|
|
533
533
|
var _useState11 = useState(true),
|
|
534
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
535
|
-
|
|
536
|
-
setPreviewAd = _useState12[1];
|
|
534
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
535
|
+
_useState12[0];
|
|
536
|
+
var setPreviewAd = _useState12[1];
|
|
537
537
|
|
|
538
538
|
useEffect(function () {
|
|
539
539
|
var path = window && window.location && window.location.search;
|
|
@@ -554,7 +554,7 @@ var Article = function Article(props) {
|
|
|
554
554
|
};
|
|
555
555
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
556
556
|
if (biography) {
|
|
557
|
-
return
|
|
557
|
+
return React.createElement(BlockContent, _extends({
|
|
558
558
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
559
559
|
blocks: [biography]
|
|
560
560
|
}, client.config()));
|
|
@@ -564,9 +564,9 @@ var Article = function Article(props) {
|
|
|
564
564
|
var url = article.url.current;
|
|
565
565
|
|
|
566
566
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
567
|
-
return
|
|
567
|
+
return React.createElement(ISIContent, null);
|
|
568
568
|
} else if (nationalPage === url && ISIContent) {
|
|
569
|
-
return
|
|
569
|
+
return React.createElement(ISIContent, { national: true });
|
|
570
570
|
}
|
|
571
571
|
return null;
|
|
572
572
|
};
|
|
@@ -597,19 +597,19 @@ var Article = function Article(props) {
|
|
|
597
597
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
598
598
|
}
|
|
599
599
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
600
|
-
return
|
|
600
|
+
return React.createElement(
|
|
601
601
|
'div',
|
|
602
602
|
null,
|
|
603
603
|
relatedLinks.map(function (relatedLink, index) {
|
|
604
|
-
return
|
|
604
|
+
return React.createElement(
|
|
605
605
|
'span',
|
|
606
606
|
{ key: index, className: 'related-link' },
|
|
607
|
-
|
|
607
|
+
React.createElement(
|
|
608
608
|
'a',
|
|
609
609
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
610
610
|
relatedLink.label
|
|
611
611
|
),
|
|
612
|
-
|
|
612
|
+
React.createElement(
|
|
613
613
|
'style',
|
|
614
614
|
{ jsx: 'true' },
|
|
615
615
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -624,23 +624,23 @@ var Article = function Article(props) {
|
|
|
624
624
|
};
|
|
625
625
|
|
|
626
626
|
var RelatedContent = function RelatedContent() {
|
|
627
|
-
return
|
|
627
|
+
return React.createElement(
|
|
628
628
|
'section',
|
|
629
629
|
{ id: 'related-content-section', className: 'my-1' },
|
|
630
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
630
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
631
631
|
'p',
|
|
632
632
|
{ className: 'mb-0' },
|
|
633
|
-
|
|
633
|
+
React.createElement(
|
|
634
634
|
'b',
|
|
635
635
|
null,
|
|
636
636
|
'Related Content:'
|
|
637
637
|
)
|
|
638
638
|
),
|
|
639
|
-
|
|
640
|
-
|
|
639
|
+
React.createElement(RelevantTopics, null),
|
|
640
|
+
React.createElement(
|
|
641
641
|
'div',
|
|
642
642
|
{ className: 'pt-2' },
|
|
643
|
-
|
|
643
|
+
React.createElement(RelatedArticle, {
|
|
644
644
|
articles: article.relatedArticle,
|
|
645
645
|
client: client,
|
|
646
646
|
fallbackImage: props.Settings.logo,
|
|
@@ -651,28 +651,28 @@ var Article = function Article(props) {
|
|
|
651
651
|
};
|
|
652
652
|
|
|
653
653
|
var form = function form() {
|
|
654
|
-
return
|
|
655
|
-
|
|
654
|
+
return React.createElement(
|
|
655
|
+
React.Fragment,
|
|
656
656
|
null,
|
|
657
|
-
|
|
657
|
+
React.createElement(
|
|
658
658
|
Head,
|
|
659
659
|
null,
|
|
660
|
-
|
|
660
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
661
661
|
),
|
|
662
|
-
|
|
662
|
+
React.createElement(
|
|
663
663
|
'div',
|
|
664
664
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
665
|
-
|
|
665
|
+
React.createElement(
|
|
666
666
|
Form,
|
|
667
667
|
{
|
|
668
668
|
inline: true,
|
|
669
669
|
onSubmit: function onSubmit(e) {
|
|
670
670
|
e.preventDefault();
|
|
671
671
|
} },
|
|
672
|
-
|
|
672
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
673
673
|
return setPasswordKey(e.target.value);
|
|
674
674
|
}, placeholder: 'Password' }),
|
|
675
|
-
|
|
675
|
+
React.createElement(
|
|
676
676
|
Button,
|
|
677
677
|
{
|
|
678
678
|
variant: 'primary',
|
|
@@ -719,30 +719,30 @@ var Article = function Article(props) {
|
|
|
719
719
|
setContextualADFlag(true);
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
|
-
return
|
|
723
|
-
|
|
722
|
+
return React.createElement(
|
|
723
|
+
React.Fragment,
|
|
724
724
|
null,
|
|
725
|
-
|
|
725
|
+
React.createElement(BlockContent, _extends({
|
|
726
726
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
727
727
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
728
728
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
729
729
|
}, client.config())),
|
|
730
|
-
|
|
731
|
-
|
|
730
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
731
|
+
React.createElement(
|
|
732
732
|
'div',
|
|
733
733
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
734
|
-
|
|
734
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
735
735
|
refreshFlag: refreshFlag
|
|
736
736
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
737
737
|
}))
|
|
738
738
|
),
|
|
739
|
-
|
|
740
|
-
|
|
739
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
740
|
+
React.createElement(
|
|
741
741
|
'div',
|
|
742
742
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
743
|
-
|
|
743
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
744
744
|
),
|
|
745
|
-
|
|
745
|
+
React.createElement(BlockContent, _extends({
|
|
746
746
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
747
747
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
748
748
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -765,25 +765,25 @@ var Article = function Article(props) {
|
|
|
765
765
|
});
|
|
766
766
|
var _selectedIndex = indexes[1] + 1;
|
|
767
767
|
|
|
768
|
-
return
|
|
769
|
-
|
|
768
|
+
return React.createElement(
|
|
769
|
+
React.Fragment,
|
|
770
770
|
null,
|
|
771
|
-
|
|
771
|
+
React.createElement(BlockContent, _extends({
|
|
772
772
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
773
773
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
774
774
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
775
775
|
}, client.config())),
|
|
776
|
-
contextualADFlag &&
|
|
777
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
776
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
777
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
778
778
|
'div',
|
|
779
779
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
780
|
-
|
|
780
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
781
781
|
refreshFlag: refreshFlag
|
|
782
782
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
783
783
|
}))
|
|
784
784
|
),
|
|
785
|
-
contextualADFlag &&
|
|
786
|
-
|
|
785
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
786
|
+
React.createElement(BlockContent, _extends({
|
|
787
787
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
788
788
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
789
789
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -811,28 +811,28 @@ var Article = function Article(props) {
|
|
|
811
811
|
}
|
|
812
812
|
};
|
|
813
813
|
|
|
814
|
-
return
|
|
815
|
-
|
|
814
|
+
return React.createElement(
|
|
815
|
+
React.Fragment,
|
|
816
816
|
null,
|
|
817
|
-
|
|
817
|
+
React.createElement(BlockContent, _extends({
|
|
818
818
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
819
819
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
820
820
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
821
821
|
}, client.config())),
|
|
822
|
-
|
|
823
|
-
|
|
822
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
823
|
+
React.createElement(
|
|
824
824
|
'div',
|
|
825
825
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
826
|
-
|
|
826
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
827
827
|
),
|
|
828
|
-
|
|
828
|
+
React.createElement(BlockContent, _extends({
|
|
829
829
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
830
830
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
831
831
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
832
832
|
}, client.config()))
|
|
833
833
|
);
|
|
834
834
|
} else {
|
|
835
|
-
return
|
|
835
|
+
return React.createElement(BlockContent, _extends({
|
|
836
836
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
837
837
|
blocks: articleBody,
|
|
838
838
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -856,8 +856,8 @@ var Article = function Article(props) {
|
|
|
856
856
|
shareSubject = shareOptions.shareSubject,
|
|
857
857
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
858
858
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
859
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
860
|
-
|
|
859
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
860
|
+
shareOptions.shareSiteTitle;
|
|
861
861
|
|
|
862
862
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
863
863
|
var shareTitle = article.title;
|
|
@@ -883,10 +883,10 @@ var Article = function Article(props) {
|
|
|
883
883
|
|
|
884
884
|
var isVideoSeries = checkIfVideoSeries(article);
|
|
885
885
|
|
|
886
|
-
return
|
|
887
|
-
|
|
886
|
+
return React.createElement(
|
|
887
|
+
React.Fragment,
|
|
888
888
|
null,
|
|
889
|
-
|
|
889
|
+
React.createElement(
|
|
890
890
|
InscreenSensor,
|
|
891
891
|
{
|
|
892
892
|
offSetTop: 120,
|
|
@@ -899,50 +899,50 @@ var Article = function Article(props) {
|
|
|
899
899
|
setVisibleFlag(true);
|
|
900
900
|
}
|
|
901
901
|
} },
|
|
902
|
-
|
|
902
|
+
React.createElement(
|
|
903
903
|
'div',
|
|
904
904
|
{ id: 'article__block' },
|
|
905
|
-
|
|
905
|
+
React.createElement(
|
|
906
906
|
'div',
|
|
907
907
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
908
908
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
909
|
-
!isVideoSeries &&
|
|
909
|
+
!isVideoSeries && React.createElement(
|
|
910
910
|
'h1',
|
|
911
911
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
912
912
|
title
|
|
913
913
|
),
|
|
914
|
-
|
|
914
|
+
React.createElement(
|
|
915
915
|
'div',
|
|
916
916
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
917
|
-
|
|
917
|
+
React.createElement(
|
|
918
918
|
'style',
|
|
919
919
|
{ jsx: 'true' },
|
|
920
920
|
'\n @media screen and (max-width: 468px) {\n .video-detail .doc-group-container {\n flex-direction: column;\n align-items: flex-start !important;\n }\n .video-detail .doc-group {\n margin-top: 2rem;\n width: calc(100vw - 45px);\n align-items: center;\n }\n .video-detail .doc-group img,\n .doc-group p {\n max-width: calc(100vw - 45px) !important;\n }\n }\n .author-details-img {\n margin-right: 10px;\n max-height: 250px;\n min-height: 150px;\n max-width: 250px;\n min-width: 150px;\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n .author-details-img-container {\n text-align: center;\n }\n .author-details-col {\n padding-left: 25px;\n }\n '
|
|
921
921
|
),
|
|
922
|
-
|
|
922
|
+
React.createElement(
|
|
923
923
|
'div',
|
|
924
924
|
{ className: 'left-wrap' },
|
|
925
|
-
!isVideoSeries && showPublished &&
|
|
925
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
926
926
|
'div',
|
|
927
927
|
null,
|
|
928
928
|
moment(published).format('LL')
|
|
929
929
|
)
|
|
930
930
|
/* Show Published date */
|
|
931
931
|
,
|
|
932
|
-
|
|
932
|
+
React.createElement(
|
|
933
933
|
'div',
|
|
934
934
|
{ className: 'mb-3' },
|
|
935
935
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
936
|
-
return
|
|
936
|
+
return React.createElement(
|
|
937
937
|
'span',
|
|
938
938
|
{ key: index },
|
|
939
939
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor(props.client, authorDetail.profileImage).height(authorImgHeight).url())
|
|
940
940
|
);
|
|
941
941
|
}),
|
|
942
|
-
|
|
942
|
+
React.createElement(
|
|
943
943
|
'div',
|
|
944
944
|
null,
|
|
945
|
-
source &&
|
|
945
|
+
source && React.createElement(
|
|
946
946
|
'p',
|
|
947
947
|
{
|
|
948
948
|
style: {
|
|
@@ -957,13 +957,13 @@ var Article = function Article(props) {
|
|
|
957
957
|
source
|
|
958
958
|
)
|
|
959
959
|
),
|
|
960
|
-
issue &&
|
|
960
|
+
issue && React.createElement(
|
|
961
961
|
'div',
|
|
962
962
|
{ className: 'volume-issue' },
|
|
963
|
-
issue.publication && issue.publication.name &&
|
|
963
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
964
964
|
'span',
|
|
965
965
|
{ className: 'mb-0' },
|
|
966
|
-
|
|
966
|
+
React.createElement(
|
|
967
967
|
'b',
|
|
968
968
|
null,
|
|
969
969
|
issue.publication.name
|
|
@@ -971,34 +971,34 @@ var Article = function Article(props) {
|
|
|
971
971
|
',',
|
|
972
972
|
' '
|
|
973
973
|
),
|
|
974
|
-
issue.name &&
|
|
974
|
+
issue.name && React.createElement(
|
|
975
975
|
'span',
|
|
976
976
|
{ className: 'mb-0' },
|
|
977
977
|
issue.name,
|
|
978
978
|
', '
|
|
979
979
|
),
|
|
980
|
-
issue.volume &&
|
|
980
|
+
issue.volume && React.createElement(
|
|
981
981
|
'span',
|
|
982
982
|
null,
|
|
983
983
|
'Volume ' + issue.volume,
|
|
984
984
|
','
|
|
985
985
|
),
|
|
986
|
-
issue.issueNumber &&
|
|
986
|
+
issue.issueNumber && React.createElement(
|
|
987
987
|
'span',
|
|
988
988
|
null,
|
|
989
989
|
' Issue ' + issue.issueNumber
|
|
990
990
|
)
|
|
991
991
|
),
|
|
992
|
-
pageNumber &&
|
|
992
|
+
pageNumber && React.createElement(
|
|
993
993
|
'div',
|
|
994
994
|
{ className: 'article-pageNumber' },
|
|
995
995
|
'Page Number: ' + pageNumber
|
|
996
996
|
)
|
|
997
997
|
),
|
|
998
|
-
!isVideoSeries &&
|
|
998
|
+
!isVideoSeries && React.createElement(
|
|
999
999
|
'p',
|
|
1000
1000
|
null,
|
|
1001
|
-
|
|
1001
|
+
React.createElement(SocialShare, {
|
|
1002
1002
|
shareUrl: shareUrl,
|
|
1003
1003
|
shareTitle: shareTitle,
|
|
1004
1004
|
shareVia: shareVia,
|
|
@@ -1014,27 +1014,27 @@ var Article = function Article(props) {
|
|
|
1014
1014
|
})
|
|
1015
1015
|
)
|
|
1016
1016
|
),
|
|
1017
|
-
|
|
1017
|
+
React.createElement(
|
|
1018
1018
|
'div',
|
|
1019
1019
|
null,
|
|
1020
|
-
|
|
1020
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1021
1021
|
)
|
|
1022
1022
|
),
|
|
1023
|
-
!isVideoSeries && summary && display_summary &&
|
|
1023
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1024
1024
|
'p',
|
|
1025
1025
|
null,
|
|
1026
|
-
|
|
1026
|
+
React.createElement(
|
|
1027
1027
|
'em',
|
|
1028
1028
|
null,
|
|
1029
1029
|
summary
|
|
1030
1030
|
)
|
|
1031
1031
|
),
|
|
1032
|
-
|
|
1032
|
+
React.createElement(
|
|
1033
1033
|
'div',
|
|
1034
1034
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1035
|
-
|
|
1035
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1036
1036
|
if (index === 0) {
|
|
1037
|
-
return
|
|
1037
|
+
return React.createElement(
|
|
1038
1038
|
'div',
|
|
1039
1039
|
{
|
|
1040
1040
|
key: index,
|
|
@@ -1051,24 +1051,24 @@ var Article = function Article(props) {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
})
|
|
1053
1053
|
),
|
|
1054
|
-
|
|
1054
|
+
React.createElement(
|
|
1055
1055
|
'div',
|
|
1056
1056
|
{ className: 'block-content mt-3' },
|
|
1057
1057
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1058
|
-
|
|
1059
|
-
|
|
1058
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1059
|
+
React.createElement(
|
|
1060
1060
|
'noscript',
|
|
1061
1061
|
null,
|
|
1062
|
-
|
|
1062
|
+
React.createElement(
|
|
1063
1063
|
'div',
|
|
1064
1064
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1065
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1065
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1066
1066
|
'a',
|
|
1067
1067
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1068
1068
|
'Previous ',
|
|
1069
1069
|
props.article.seriesDetail.type
|
|
1070
1070
|
),
|
|
1071
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1071
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1072
1072
|
'a',
|
|
1073
1073
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1074
1074
|
'Next ',
|
|
@@ -1076,20 +1076,20 @@ var Article = function Article(props) {
|
|
|
1076
1076
|
)
|
|
1077
1077
|
)
|
|
1078
1078
|
),
|
|
1079
|
-
issue && issue.url &&
|
|
1079
|
+
issue && issue.url && React.createElement(
|
|
1080
1080
|
'a',
|
|
1081
1081
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1082
|
-
|
|
1082
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1083
1083
|
'Download Issue : ',
|
|
1084
1084
|
issue.name
|
|
1085
1085
|
)
|
|
1086
1086
|
),
|
|
1087
|
-
|
|
1088
|
-
showRelatedArticles && !showIsi &&
|
|
1089
|
-
disqusConfig &&
|
|
1087
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1088
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1089
|
+
disqusConfig && React.createElement(
|
|
1090
1090
|
'div',
|
|
1091
1091
|
{ id: 'disqusContainer' },
|
|
1092
|
-
|
|
1092
|
+
React.createElement(DiscussionEmbed, {
|
|
1093
1093
|
shortname: disqusConfig.shortname,
|
|
1094
1094
|
config: {
|
|
1095
1095
|
url: disqusConfig.url,
|
|
@@ -1101,31 +1101,31 @@ var Article = function Article(props) {
|
|
|
1101
1101
|
),
|
|
1102
1102
|
renderIsiContent(props.article)
|
|
1103
1103
|
),
|
|
1104
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1104
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1105
1105
|
ISI,
|
|
1106
1106
|
null,
|
|
1107
|
-
|
|
1107
|
+
React.createElement(BlockContent, {
|
|
1108
1108
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1109
1109
|
blocks: isi
|
|
1110
1110
|
})
|
|
1111
1111
|
)
|
|
1112
1112
|
),
|
|
1113
|
-
|
|
1113
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1114
1114
|
if (index > 0) {
|
|
1115
|
-
return
|
|
1115
|
+
return React.createElement(
|
|
1116
1116
|
'div',
|
|
1117
1117
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1118
1118
|
ad.component
|
|
1119
1119
|
);
|
|
1120
1120
|
}
|
|
1121
1121
|
}),
|
|
1122
|
-
|
|
1122
|
+
React.createElement(
|
|
1123
1123
|
'noscript',
|
|
1124
1124
|
null,
|
|
1125
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1125
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1126
1126
|
'div',
|
|
1127
1127
|
{ style: { textAlign: 'center' } },
|
|
1128
|
-
|
|
1128
|
+
React.createElement(
|
|
1129
1129
|
'a',
|
|
1130
1130
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1131
1131
|
'Related Article ',
|
|
@@ -1133,7 +1133,7 @@ var Article = function Article(props) {
|
|
|
1133
1133
|
)
|
|
1134
1134
|
)
|
|
1135
1135
|
),
|
|
1136
|
-
props.infiniteScroll &&
|
|
1136
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' })
|
|
1137
1137
|
);
|
|
1138
1138
|
};
|
|
1139
1139
|
|
|
@@ -1155,9 +1155,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1155
1155
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1156
1156
|
Ads = props.Ads,
|
|
1157
1157
|
_props$maxListLength = props.maxListLength,
|
|
1158
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1159
|
-
|
|
1160
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1158
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1159
|
+
props.sponsoredTaxonomies;
|
|
1160
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1161
1161
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1162
1162
|
_props$authorPrefix = props.authorPrefix,
|
|
1163
1163
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1183,7 +1183,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1183
1183
|
});
|
|
1184
1184
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1185
1185
|
|
|
1186
|
-
if (!
|
|
1186
|
+
if (!main_40) {
|
|
1187
1187
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1188
1188
|
if (window.googletag && googletag.pubadsReady) {
|
|
1189
1189
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1201,7 +1201,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1201
1201
|
});
|
|
1202
1202
|
}
|
|
1203
1203
|
//Refresh leaderboard ad on mobile
|
|
1204
|
-
if (
|
|
1204
|
+
if (main_40) {
|
|
1205
1205
|
var leaderboardSlotId = '';
|
|
1206
1206
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1207
1207
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1385,11 +1385,11 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
};
|
|
1387
1387
|
|
|
1388
|
-
return
|
|
1388
|
+
return React.createElement(
|
|
1389
1389
|
InfiniteScroll,
|
|
1390
1390
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '60%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1391
1391
|
queueData.map(function (article, index) {
|
|
1392
|
-
return
|
|
1392
|
+
return React.createElement(Article, _extends({
|
|
1393
1393
|
key: index
|
|
1394
1394
|
}, props, {
|
|
1395
1395
|
onChangeArticle: onChangeArticle,
|
|
@@ -1411,9 +1411,9 @@ var View = function View(props) {
|
|
|
1411
1411
|
var shareOptions = props.shareOptions,
|
|
1412
1412
|
article = props.article,
|
|
1413
1413
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1414
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1415
|
-
|
|
1416
|
-
Ads = props.Ads,
|
|
1414
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1415
|
+
props.sponsoredTaxonomies;
|
|
1416
|
+
var Ads = props.Ads,
|
|
1417
1417
|
setCustomDimensions = props.setCustomDimensions,
|
|
1418
1418
|
statusCode = props.statusCode,
|
|
1419
1419
|
prevUrl = props.prevUrl,
|
|
@@ -1426,9 +1426,9 @@ var View = function View(props) {
|
|
|
1426
1426
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1427
1427
|
var _props$article = props.article,
|
|
1428
1428
|
_props$article$passwo = _props$article.passwordLock,
|
|
1429
|
-
passwordLock = _props$article$passwo === undefined ? false : _props$article$passwo
|
|
1430
|
-
|
|
1431
|
-
title = _props$article.title,
|
|
1429
|
+
passwordLock = _props$article$passwo === undefined ? false : _props$article$passwo;
|
|
1430
|
+
_props$article.description;
|
|
1431
|
+
var title = _props$article.title,
|
|
1432
1432
|
seriesShareOptions = _props$article.seriesShareOptions;
|
|
1433
1433
|
|
|
1434
1434
|
var _useState = useState(0),
|
|
@@ -1485,7 +1485,6 @@ var View = function View(props) {
|
|
|
1485
1485
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi;
|
|
1486
1486
|
|
|
1487
1487
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1488
|
-
description = null;
|
|
1489
1488
|
title = null;
|
|
1490
1489
|
}
|
|
1491
1490
|
|
|
@@ -1522,74 +1521,74 @@ var View = function View(props) {
|
|
|
1522
1521
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1523
1522
|
}
|
|
1524
1523
|
|
|
1525
|
-
return
|
|
1526
|
-
|
|
1524
|
+
return React.createElement(
|
|
1525
|
+
React.Fragment,
|
|
1527
1526
|
null,
|
|
1528
|
-
|
|
1527
|
+
React.createElement(
|
|
1529
1528
|
Head,
|
|
1530
1529
|
null,
|
|
1531
|
-
|
|
1530
|
+
React.createElement(
|
|
1532
1531
|
'title',
|
|
1533
1532
|
{ key: 'title' },
|
|
1534
1533
|
seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1535
1534
|
),
|
|
1536
|
-
meta_description &&
|
|
1535
|
+
meta_description && React.createElement('meta', {
|
|
1537
1536
|
name: 'description',
|
|
1538
1537
|
key: 'description',
|
|
1539
1538
|
content: meta_description }),
|
|
1540
|
-
|
|
1541
|
-
passwordLock &&
|
|
1542
|
-
|
|
1539
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1540
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1541
|
+
React.createElement('meta', {
|
|
1543
1542
|
property: 'og:url',
|
|
1544
1543
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1545
1544
|
key: 'og:url'
|
|
1546
1545
|
}),
|
|
1547
|
-
|
|
1546
|
+
React.createElement('meta', {
|
|
1548
1547
|
property: 'og:title',
|
|
1549
1548
|
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1550
1549
|
key: 'og:title'
|
|
1551
1550
|
}),
|
|
1552
|
-
|
|
1551
|
+
React.createElement('meta', {
|
|
1553
1552
|
property: 'og:image',
|
|
1554
1553
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1555
1554
|
key: 'og:image'
|
|
1556
1555
|
}),
|
|
1557
|
-
|
|
1558
|
-
|
|
1556
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1557
|
+
React.createElement('meta', {
|
|
1559
1558
|
property: 'og:description',
|
|
1560
1559
|
content: meta_description,
|
|
1561
1560
|
key: 'og:description'
|
|
1562
1561
|
}),
|
|
1563
|
-
|
|
1564
|
-
|
|
1562
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1563
|
+
React.createElement('meta', {
|
|
1565
1564
|
name: 'twitter:title',
|
|
1566
1565
|
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1567
1566
|
key: 'twitter:title'
|
|
1568
1567
|
}),
|
|
1569
|
-
|
|
1568
|
+
React.createElement('meta', {
|
|
1570
1569
|
name: 'twitter:image',
|
|
1571
1570
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1572
1571
|
key: 'twitter:image'
|
|
1573
1572
|
}),
|
|
1574
|
-
|
|
1575
|
-
|
|
1573
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1574
|
+
React.createElement('meta', {
|
|
1576
1575
|
name: 'twitter:description',
|
|
1577
1576
|
content: meta_description,
|
|
1578
1577
|
key: 'twitter:description'
|
|
1579
1578
|
}),
|
|
1580
|
-
canonicalTag &&
|
|
1579
|
+
canonicalTag && React.createElement('link', {
|
|
1581
1580
|
rel: 'canonical',
|
|
1582
1581
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1583
1582
|
key: 'canonical'
|
|
1584
1583
|
}),
|
|
1585
|
-
|
|
1584
|
+
React.createElement(
|
|
1586
1585
|
'noscript',
|
|
1587
1586
|
null,
|
|
1588
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1589
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1587
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1588
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1590
1589
|
)
|
|
1591
1590
|
),
|
|
1592
|
-
!needInfiniteScroll ?
|
|
1591
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1593
1592
|
infiniteScroll: true,
|
|
1594
1593
|
showRelatedArticles: showRelatedArticles,
|
|
1595
1594
|
canonicalTag: canonicalTag,
|