@mjhls/mjh-framework 1.0.841-dv → 1.0.842-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +9 -10
- package/dist/cjs/AD300x250x600.js +9 -10
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +11 -12
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +11 -12
- package/dist/cjs/{ADInfeed-ad02bfab.js → ADInfeed-55587a4e.js} +9 -11
- package/dist/cjs/ADSkyscraper.js +11 -12
- package/dist/cjs/ADSponsoredResources.js +11 -12
- package/dist/cjs/ADWebcast.js +11 -12
- package/dist/cjs/ADWelcome.js +15 -16
- package/dist/cjs/{ADlgInfeed-eb23fc9f.js → ADlgInfeed-5c3d8260.js} +6 -7
- package/dist/cjs/AccordionPanel.js +22 -24
- package/dist/cjs/AdSlot.js +13 -14
- package/dist/cjs/AdSlotsProvider.js +902 -11
- package/dist/cjs/AlgoliaSearch.js +842 -970
- package/dist/cjs/AlphabeticList.js +15 -16
- package/dist/cjs/ArticleCarousel.js +10 -11
- package/dist/cjs/ArticleProgramLandingPage.js +23 -24
- package/dist/cjs/ArticleSeriesLandingPage.js +19 -20
- package/dist/cjs/ArticleSeriesListing.js +39 -40
- package/dist/cjs/Auth.js +139 -192
- package/dist/cjs/AuthWrapper.js +259 -301
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-bb831b74.js} +12 -13
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +64 -64
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +32 -35
- package/dist/cjs/ConferenceArticleCard.js +32 -33
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +80 -84
- package/dist/cjs/DeckQueue.js +68 -72
- package/dist/cjs/{Dfp-391fd124.js → Dfp-26baccf1.js} +22 -23
- package/dist/cjs/EventsDeck.js +133 -140
- package/dist/cjs/ExternalResources.js +46 -47
- package/dist/cjs/Feature.js +23 -25
- package/dist/cjs/ForbesHero.js +34 -35
- package/dist/cjs/GridContent.js +203 -208
- package/dist/cjs/GridHero.js +35 -36
- package/dist/cjs/GroupDeck.js +48 -49
- package/dist/cjs/HamMagazine.js +125 -130
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +9 -10
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalArticleListing.js +36 -37
- package/dist/cjs/HorizontalHero.js +23 -24
- package/dist/cjs/IssueContentDeck.js +65 -70
- package/dist/cjs/IssueDeck.js +60 -65
- package/dist/cjs/IssueLanding.js +56 -59
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +20 -22
- package/dist/cjs/MasterDeck.js +57 -58
- package/dist/cjs/MediaSeriesLanding.js +847 -838
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +126 -131
- package/dist/cjs/NavNative.js +117 -125
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +63 -64
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PartnerDetailListing.js +1167 -72
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PubSection.js +18 -21
- package/dist/cjs/PubToc.js +7 -8
- package/dist/cjs/PublicationDeck.js +59 -64
- package/dist/cjs/PublicationLanding.js +109 -113
- package/dist/cjs/QueueDeckExpanded.js +1110 -1087
- package/dist/cjs/RecentNews.js +19 -20
- package/dist/cjs/RelatedContent.js +50 -51
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/SeriesListingDeck.js +26 -26
- package/dist/cjs/{SeriesSlider-d38767ae.js → SeriesSlider-8bbc989f.js} +37 -38
- package/dist/cjs/SideFooter.js +25 -26
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-9a9d6f8c.js → SocialSearchComponent-cea213aa.js} +34 -38
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +54 -59
- package/dist/cjs/TaxonomyDescription.js +21 -22
- package/dist/cjs/TemplateNormal.js +34 -35
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +21 -22
- package/dist/cjs/VerticalHero.js +15 -16
- package/dist/cjs/VideoProgramLandingPage.js +40 -44
- package/dist/cjs/VideoSeriesCard.js +23 -24
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +24 -25
- package/dist/cjs/VideoSeriesListing.js +56 -57
- package/dist/cjs/View.js +200 -204
- package/dist/cjs/YahooHero.js +30 -31
- package/dist/cjs/YoutubeGroup.js +54 -55
- package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-156bd4d6.js} +5 -6
- package/dist/cjs/faundadb.js +1 -1
- package/dist/cjs/getRelatedArticle.js +6 -6
- package/dist/cjs/getSerializers.js +11 -11
- package/dist/cjs/{getTargeting-ea2ea5e7.js → getTargeting-021d644c.js} +11 -11
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-9d365128.js → index-96b3db50.js} +10 -12
- package/dist/cjs/{index-2cf30c83.js → index-98e01cb9.js} +8 -9
- package/dist/cjs/{index-c1d8b5a1.js → index-ac18d02c.js} +852 -875
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index-f0677b9d.js → index-e2e62963.js} +0 -10
- package/dist/cjs/{index.es-13533f24.js → index.es-9110add6.js} +8 -11
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-e32d3e8e.js} +6 -3
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +60 -64
- package/dist/cjs/{inherits-0c7830c5.js → inherits-452ff02c.js} +1 -1
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-11ec04d2.js → main-02daeefe.js} +53 -85
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-f7f48f71.js} +11 -12
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-9d7f610f.js → typeof-725500bc.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +8 -8
- package/dist/esm/AD300x250x600.js +8 -8
- package/dist/esm/AD728x90.js +9 -9
- package/dist/esm/ADFloatingFooter.js +10 -10
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -10
- package/dist/esm/{ADInfeed-e8ab7008.js → ADInfeed-bb665cdc.js} +7 -7
- package/dist/esm/ADSkyscraper.js +10 -10
- package/dist/esm/ADSponsoredResources.js +10 -10
- package/dist/esm/ADWebcast.js +10 -10
- package/dist/esm/ADWelcome.js +14 -14
- package/dist/esm/{ADlgInfeed-882b23a8.js → ADlgInfeed-2897d78f.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +6 -6
- package/dist/esm/AdSlotsProvider.js +903 -11
- package/dist/esm/AlgoliaSearch.js +241 -368
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +8 -8
- package/dist/esm/ArticleProgramLandingPage.js +21 -21
- package/dist/esm/ArticleSeriesLandingPage.js +18 -18
- package/dist/esm/ArticleSeriesListing.js +36 -36
- package/dist/esm/Auth.js +121 -170
- package/dist/esm/AuthWrapper.js +257 -298
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-34b16174.js} +10 -10
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +62 -62
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +18 -18
- package/dist/esm/Column3.js +31 -31
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +77 -77
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-2f9796e1.js → Dfp-b7236041.js} +10 -10
- package/dist/esm/EventsDeck.js +109 -109
- package/dist/esm/ExternalResources.js +42 -42
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +173 -173
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +101 -101
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +35 -35
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +54 -54
- package/dist/esm/IssueLanding.js +55 -57
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -17
- package/dist/esm/MasterDeck.js +55 -55
- package/dist/esm/MediaSeriesLanding.js +573 -561
- package/dist/esm/NavDvm.js +47 -47
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -104
- package/dist/esm/NavNative.js +93 -93
- package/dist/esm/OncliveHero.js +15 -14
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +1166 -71
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +17 -19
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +96 -96
- package/dist/esm/QueueDeckExpanded.js +1102 -1079
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-b8cc1baa.js → SeriesSlider-a866bb21.js} +28 -28
- package/dist/esm/SideFooter.js +22 -22
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-c54d43cb.js → SocialSearchComponent-03c3e869.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +50 -50
- package/dist/esm/TaxonomyDescription.js +17 -17
- package/dist/esm/TemplateNormal.js +32 -32
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +19 -19
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +33 -33
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +18 -18
- package/dist/esm/VideoSeriesListing.js +53 -53
- package/dist/esm/View.js +183 -183
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-4877b617.js} +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-83f53e4e.js} +3 -3
- package/dist/esm/faundadb.js +2 -2
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +12 -12
- package/dist/esm/{getTargeting-831bc794.js → getTargeting-82e86707.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-f7fb1e25.js → index-41a678ea.js} +3 -3
- package/dist/esm/{index-6c12bdd5.js → index-5f7e79e7.js} +4 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-1fd83450.js → index-8dbb97f3.js} +810 -826
- package/dist/esm/{index-b68072f5.js → index-aaa2dae0.js} +1 -10
- package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index.es-7dda2f0a.js → index.es-29c1cef5.js} +6 -8
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-c6715e80.js → index.esm-f8aaeeeb.js} +6 -3
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +53 -54
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{inherits-75d45541.js → inherits-cf8dde54.js} +1 -1
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-aef58dbc.js → main-e4a934b2.js} +50 -81
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-af9c50d8.js → typeof-6435ba1c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +111 -110
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
package/dist/esm/View.js
CHANGED
|
@@ -8,47 +8,47 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends, a as _Object$assign } from './extends-6f2fcc99.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-cf8dde54.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-
|
|
14
|
+
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
16
|
+
import React__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
17
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-
|
|
18
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import 'react-bootstrap/Row';
|
|
21
21
|
import 'react-bootstrap/Col';
|
|
22
|
-
import { m as moment } from './moment-
|
|
22
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
23
23
|
import { useRouter } from 'next/router';
|
|
24
24
|
import './isSymbol-1981418f.js';
|
|
25
25
|
import './debounce-9207d8ee.js';
|
|
26
26
|
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
30
|
-
import './index-
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
30
|
+
import './index-73819142.js';
|
|
31
31
|
import urlFor from './urlFor.js';
|
|
32
|
-
import './index-
|
|
33
|
-
import { m as
|
|
32
|
+
import './index-5f7e79e7.js';
|
|
33
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
34
34
|
import './entities-7cc3bf45.js';
|
|
35
35
|
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
36
|
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
37
|
-
import {
|
|
37
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
|
|
38
38
|
import './Segment.js';
|
|
39
39
|
import './Beam.js';
|
|
40
40
|
import DFPAdSlot from './AdSlot.js';
|
|
41
|
-
import Button from 'react-bootstrap/Button';
|
|
42
|
-
import { B as BlockContent } from './BlockContent-
|
|
41
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
42
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
43
43
|
import './index-c7e2ac95.js';
|
|
44
44
|
import './smoothscroll-0cd4c7a6.js';
|
|
45
45
|
import './GroupDeck.js';
|
|
46
46
|
import 'react-bootstrap';
|
|
47
47
|
import './iconBase-602d52fe.js';
|
|
48
|
-
import './index.esm-
|
|
49
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
48
|
+
import './index.esm-29e48d38.js';
|
|
49
|
+
import { r as renderAuthor, g as getSerializers } from './index-8dbb97f3.js';
|
|
50
50
|
import './util-7700fc59.js';
|
|
51
|
-
import './brightcove-react-player-loader.es-
|
|
51
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
52
52
|
import Head from 'next/head';
|
|
53
53
|
import 'react-share';
|
|
54
54
|
import SocialShare from './SocialShare.js';
|
|
@@ -59,13 +59,13 @@ import Form from 'react-bootstrap/Form';
|
|
|
59
59
|
import FormControl from 'react-bootstrap/FormControl';
|
|
60
60
|
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
61
61
|
import 'react-bootstrap/Dropdown';
|
|
62
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-
|
|
62
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
63
63
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
64
64
|
import './index-db3bb315.js';
|
|
65
65
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
66
|
import getQuery from './getQuery.js';
|
|
67
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
68
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
67
|
+
import { S as SeriesSlider } from './SeriesSlider-a866bb21.js';
|
|
68
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-82e86707.js';
|
|
69
69
|
import getKeywords from './getKeywords.js';
|
|
70
70
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
71
|
import { DiscussionEmbed } from 'disqus-react';
|
|
@@ -146,17 +146,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
146
146
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
return
|
|
149
|
+
return React__default.createElement(
|
|
150
150
|
'a',
|
|
151
151
|
{
|
|
152
152
|
href: url,
|
|
153
153
|
className: 'doc-group',
|
|
154
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
155
|
-
thumbnailUrl &&
|
|
156
|
-
!thumbnailUrl &&
|
|
157
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
155
|
+
thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
|
+
!thumbnailUrl && React__default.createElement('p', {
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_36 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_36 && !thumbnailUrl && React__default.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -296,38 +296,38 @@ var ISI = function ISI(props) {
|
|
|
296
296
|
}, 300);
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
|
-
return
|
|
300
|
-
|
|
299
|
+
return React__default.createElement(
|
|
300
|
+
React__default.Fragment,
|
|
301
301
|
null,
|
|
302
|
-
|
|
302
|
+
React__default.createElement(
|
|
303
303
|
'div',
|
|
304
304
|
{ id: 'isi', ref: isi },
|
|
305
|
-
|
|
305
|
+
React__default.createElement(
|
|
306
306
|
'div',
|
|
307
307
|
{ id: 'isiContent' },
|
|
308
|
-
|
|
308
|
+
React__default.createElement(
|
|
309
309
|
'div',
|
|
310
310
|
{ onClick: function onClick() {
|
|
311
311
|
return setActive(function (prev) {
|
|
312
312
|
return !prev;
|
|
313
313
|
});
|
|
314
314
|
}, id: 'isiToggle' },
|
|
315
|
-
active ?
|
|
315
|
+
active ? React__default.createElement(
|
|
316
316
|
'p',
|
|
317
317
|
null,
|
|
318
318
|
'Close ',
|
|
319
|
-
|
|
320
|
-
) :
|
|
319
|
+
React__default.createElement(FaMinus, null)
|
|
320
|
+
) : React__default.createElement(
|
|
321
321
|
'p',
|
|
322
322
|
null,
|
|
323
323
|
'See More ',
|
|
324
|
-
|
|
324
|
+
React__default.createElement(FaPlus, null)
|
|
325
325
|
)
|
|
326
326
|
),
|
|
327
327
|
children
|
|
328
328
|
)
|
|
329
329
|
),
|
|
330
|
-
|
|
330
|
+
React__default.createElement(
|
|
331
331
|
'style',
|
|
332
332
|
{ jsx: true },
|
|
333
333
|
'\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 '
|
|
@@ -335,7 +335,7 @@ var ISI = function ISI(props) {
|
|
|
335
335
|
);
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
338
|
+
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";
|
|
339
339
|
var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
340
340
|
styleInject(css);
|
|
341
341
|
|
|
@@ -349,33 +349,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
349
349
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
350
350
|
return null;
|
|
351
351
|
}
|
|
352
|
-
return
|
|
352
|
+
return React__default.createElement(
|
|
353
353
|
'div',
|
|
354
354
|
{ className: styles.mediaContainer },
|
|
355
355
|
articles.map(function (article, index) {
|
|
356
|
-
return
|
|
356
|
+
return React__default.createElement(
|
|
357
357
|
'div',
|
|
358
358
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
359
|
-
|
|
359
|
+
React__default.createElement(
|
|
360
360
|
'a',
|
|
361
361
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
362
|
-
article.thumbnail ?
|
|
362
|
+
article.thumbnail ? React__default.createElement('img', {
|
|
363
363
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
364
364
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
365
365
|
alt: article.title
|
|
366
|
-
}) :
|
|
367
|
-
|
|
366
|
+
}) : React__default.createElement(
|
|
367
|
+
React__default.Fragment,
|
|
368
368
|
null,
|
|
369
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
369
|
+
fallbackImage && showRelatedArticleFallbackImage && React__default.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
370
370
|
)
|
|
371
371
|
),
|
|
372
|
-
|
|
372
|
+
React__default.createElement(
|
|
373
373
|
'div',
|
|
374
374
|
{ className: styles.mediaBody },
|
|
375
|
-
|
|
375
|
+
React__default.createElement(
|
|
376
376
|
'a',
|
|
377
377
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
378
|
-
|
|
378
|
+
React__default.createElement(
|
|
379
379
|
'div',
|
|
380
380
|
{ className: styles.cardTitle },
|
|
381
381
|
article.title
|
|
@@ -508,7 +508,7 @@ function generateSchema(props) {
|
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
var Schema = function Schema(props) {
|
|
511
|
-
return
|
|
511
|
+
return React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
512
512
|
};
|
|
513
513
|
|
|
514
514
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -699,7 +699,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
699
699
|
};
|
|
700
700
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
701
701
|
if (biography) {
|
|
702
|
-
return
|
|
702
|
+
return React__default.createElement(BlockContent, _extends({
|
|
703
703
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
704
704
|
blocks: [biography]
|
|
705
705
|
}, client.config()));
|
|
@@ -709,9 +709,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
709
709
|
var url = article.url.current;
|
|
710
710
|
|
|
711
711
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
712
|
-
return
|
|
712
|
+
return React__default.createElement(ISIContent, null);
|
|
713
713
|
} else if (nationalPage === url && ISIContent) {
|
|
714
|
-
return
|
|
714
|
+
return React__default.createElement(ISIContent, { national: true });
|
|
715
715
|
}
|
|
716
716
|
return null;
|
|
717
717
|
};
|
|
@@ -745,19 +745,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
745
745
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
746
746
|
}
|
|
747
747
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
748
|
-
return
|
|
748
|
+
return React__default.createElement(
|
|
749
749
|
'div',
|
|
750
750
|
null,
|
|
751
751
|
relatedLinks.map(function (relatedLink, index) {
|
|
752
|
-
return
|
|
752
|
+
return React__default.createElement(
|
|
753
753
|
'span',
|
|
754
754
|
{ key: index, className: 'related-link' },
|
|
755
|
-
|
|
755
|
+
React__default.createElement(
|
|
756
756
|
'a',
|
|
757
757
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
758
758
|
relatedLink.label
|
|
759
759
|
),
|
|
760
|
-
|
|
760
|
+
React__default.createElement(
|
|
761
761
|
'style',
|
|
762
762
|
{ jsx: 'true' },
|
|
763
763
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -772,23 +772,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
772
772
|
};
|
|
773
773
|
|
|
774
774
|
var RelatedContent = function RelatedContent() {
|
|
775
|
-
return
|
|
775
|
+
return React__default.createElement(
|
|
776
776
|
'section',
|
|
777
777
|
{ id: 'related-content-section', className: 'my-1' },
|
|
778
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
778
|
+
(article.relatedArticle || RelevantTopics()) && React__default.createElement(
|
|
779
779
|
'p',
|
|
780
780
|
{ className: 'mb-0' },
|
|
781
|
-
|
|
781
|
+
React__default.createElement(
|
|
782
782
|
'b',
|
|
783
783
|
null,
|
|
784
784
|
'Related Content:'
|
|
785
785
|
)
|
|
786
786
|
),
|
|
787
|
-
|
|
788
|
-
|
|
787
|
+
React__default.createElement(RelevantTopics, null),
|
|
788
|
+
React__default.createElement(
|
|
789
789
|
'div',
|
|
790
790
|
{ className: 'pt-2' },
|
|
791
|
-
|
|
791
|
+
React__default.createElement(RelatedArticle, {
|
|
792
792
|
articles: article.relatedArticle,
|
|
793
793
|
client: client,
|
|
794
794
|
fallbackImage: props.Settings.logo,
|
|
@@ -799,29 +799,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
799
799
|
};
|
|
800
800
|
|
|
801
801
|
var form = function form() {
|
|
802
|
-
return
|
|
803
|
-
|
|
802
|
+
return React__default.createElement(
|
|
803
|
+
React__default.Fragment,
|
|
804
804
|
null,
|
|
805
|
-
|
|
805
|
+
React__default.createElement(
|
|
806
806
|
Head,
|
|
807
807
|
null,
|
|
808
|
-
|
|
808
|
+
React__default.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
809
809
|
),
|
|
810
|
-
|
|
810
|
+
React__default.createElement(
|
|
811
811
|
'div',
|
|
812
812
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
813
|
-
|
|
813
|
+
React__default.createElement(
|
|
814
814
|
Form,
|
|
815
815
|
{
|
|
816
816
|
inline: true,
|
|
817
817
|
onSubmit: function onSubmit(e) {
|
|
818
818
|
e.preventDefault();
|
|
819
819
|
} },
|
|
820
|
-
|
|
820
|
+
React__default.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
821
821
|
return setPasswordKey(e.target.value);
|
|
822
822
|
}, placeholder: 'Password' }),
|
|
823
|
-
|
|
824
|
-
Button,
|
|
823
|
+
React__default.createElement(
|
|
824
|
+
Button$1,
|
|
825
825
|
{
|
|
826
826
|
variant: 'primary',
|
|
827
827
|
onClick: function onClick() {
|
|
@@ -870,31 +870,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
870
870
|
setContextualADFlag(true);
|
|
871
871
|
}
|
|
872
872
|
};
|
|
873
|
-
return
|
|
874
|
-
|
|
873
|
+
return React__default.createElement(
|
|
874
|
+
React__default.Fragment,
|
|
875
875
|
null,
|
|
876
|
-
|
|
876
|
+
React__default.createElement(BlockContent, _extends({
|
|
877
877
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
878
878
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
879
879
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
880
880
|
}, client.config())),
|
|
881
|
-
|
|
882
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
883
|
-
|
|
881
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
882
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
883
|
+
React__default.createElement(
|
|
884
884
|
'div',
|
|
885
885
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
886
|
-
|
|
886
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
887
887
|
refreshFlag: refreshFlag
|
|
888
888
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
889
889
|
}))
|
|
890
890
|
),
|
|
891
|
-
|
|
892
|
-
|
|
891
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
892
|
+
React__default.createElement(
|
|
893
893
|
'div',
|
|
894
894
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
895
|
-
|
|
895
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
896
896
|
),
|
|
897
|
-
|
|
897
|
+
React__default.createElement(BlockContent, _extends({
|
|
898
898
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
899
899
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
900
900
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -919,26 +919,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
919
919
|
if (seriesInfo.hasVideo) {
|
|
920
920
|
_selectedIndex = seriesInfo.videoIndex;
|
|
921
921
|
}
|
|
922
|
-
return
|
|
923
|
-
|
|
922
|
+
return React__default.createElement(
|
|
923
|
+
React__default.Fragment,
|
|
924
924
|
null,
|
|
925
|
-
|
|
925
|
+
React__default.createElement(BlockContent, _extends({
|
|
926
926
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
927
927
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
928
928
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
929
929
|
}, client.config())),
|
|
930
|
-
contextualADFlag &&
|
|
931
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
932
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
930
|
+
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
931
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
932
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React__default.createElement(
|
|
933
933
|
'div',
|
|
934
934
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
935
|
-
|
|
935
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
936
936
|
refreshFlag: refreshFlag
|
|
937
937
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
938
938
|
}))
|
|
939
939
|
),
|
|
940
|
-
contextualADFlag &&
|
|
941
|
-
|
|
940
|
+
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
941
|
+
React__default.createElement(BlockContent, _extends({
|
|
942
942
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
943
943
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
944
944
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -968,22 +968,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
968
968
|
}
|
|
969
969
|
};
|
|
970
970
|
|
|
971
|
-
return
|
|
972
|
-
|
|
971
|
+
return React__default.createElement(
|
|
972
|
+
React__default.Fragment,
|
|
973
973
|
null,
|
|
974
|
-
|
|
974
|
+
React__default.createElement(BlockContent, _extends({
|
|
975
975
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
976
976
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
977
977
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
978
978
|
}, client.config())),
|
|
979
|
-
|
|
980
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
981
|
-
|
|
979
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
980
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
981
|
+
React__default.createElement(
|
|
982
982
|
'div',
|
|
983
983
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
984
|
-
|
|
984
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
985
985
|
),
|
|
986
|
-
|
|
986
|
+
React__default.createElement(BlockContent, _extends({
|
|
987
987
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
988
988
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
989
989
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -995,16 +995,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
995
995
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
996
996
|
}
|
|
997
997
|
|
|
998
|
-
return
|
|
998
|
+
return React__default.createElement(
|
|
999
999
|
'div',
|
|
1000
1000
|
null,
|
|
1001
|
-
|
|
1001
|
+
React__default.createElement(BlockContent, _extends({
|
|
1002
1002
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1003
1003
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1004
1004
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1005
1005
|
}, client.config())),
|
|
1006
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1007
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1006
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1007
|
+
article.documentGroup && article.documentGroup.isSeries && React__default.createElement(BlockContent, _extends({
|
|
1008
1008
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1009
1009
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1010
1010
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1090,10 +1090,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1090
1090
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1091
1091
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1092
1092
|
|
|
1093
|
-
return
|
|
1094
|
-
|
|
1093
|
+
return React__default.createElement(
|
|
1094
|
+
React__default.Fragment,
|
|
1095
1095
|
null,
|
|
1096
|
-
|
|
1096
|
+
React__default.createElement(
|
|
1097
1097
|
VisibilitySensor,
|
|
1098
1098
|
{
|
|
1099
1099
|
partialVisibility: true,
|
|
@@ -1106,61 +1106,61 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1106
1106
|
});
|
|
1107
1107
|
}
|
|
1108
1108
|
} },
|
|
1109
|
-
|
|
1109
|
+
React__default.createElement(
|
|
1110
1110
|
'div',
|
|
1111
1111
|
{ id: 'article__block', ref: ref },
|
|
1112
|
-
|
|
1112
|
+
React__default.createElement(
|
|
1113
1113
|
'div',
|
|
1114
1114
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1115
1115
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1116
|
-
!isVideoSeries &&
|
|
1116
|
+
!isVideoSeries && React__default.createElement(
|
|
1117
1117
|
'div',
|
|
1118
1118
|
null,
|
|
1119
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1119
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React__default.createElement(
|
|
1120
1120
|
'p',
|
|
1121
1121
|
{ style: { fontSize: '14px' } },
|
|
1122
1122
|
article.documentGroup.name,
|
|
1123
1123
|
' - Episode ',
|
|
1124
1124
|
episodeNumber
|
|
1125
1125
|
),
|
|
1126
|
-
|
|
1126
|
+
React__default.createElement(
|
|
1127
1127
|
'h1',
|
|
1128
1128
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1129
1129
|
title
|
|
1130
1130
|
)
|
|
1131
1131
|
),
|
|
1132
|
-
|
|
1132
|
+
React__default.createElement(
|
|
1133
1133
|
'div',
|
|
1134
1134
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1135
|
-
|
|
1135
|
+
React__default.createElement(
|
|
1136
1136
|
'style',
|
|
1137
1137
|
{ jsx: 'true' },
|
|
1138
1138
|
'\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 '
|
|
1139
1139
|
),
|
|
1140
|
-
|
|
1140
|
+
React__default.createElement(
|
|
1141
1141
|
'div',
|
|
1142
1142
|
{ className: 'left-wrap' },
|
|
1143
|
-
!isVideoSeries && showPublished &&
|
|
1143
|
+
!isVideoSeries && showPublished && React__default.createElement(
|
|
1144
1144
|
'div',
|
|
1145
1145
|
null,
|
|
1146
1146
|
moment(published).format('LL')
|
|
1147
1147
|
)
|
|
1148
1148
|
/* Show Published date */
|
|
1149
1149
|
,
|
|
1150
|
-
|
|
1150
|
+
React__default.createElement(
|
|
1151
1151
|
'div',
|
|
1152
1152
|
{ className: 'mb-3' },
|
|
1153
1153
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1154
|
-
return
|
|
1154
|
+
return React__default.createElement(
|
|
1155
1155
|
'span',
|
|
1156
1156
|
{ key: index },
|
|
1157
1157
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
1158
1158
|
);
|
|
1159
1159
|
}),
|
|
1160
|
-
|
|
1160
|
+
React__default.createElement(
|
|
1161
1161
|
'div',
|
|
1162
1162
|
null,
|
|
1163
|
-
source &&
|
|
1163
|
+
source && React__default.createElement(
|
|
1164
1164
|
'p',
|
|
1165
1165
|
{
|
|
1166
1166
|
style: {
|
|
@@ -1175,13 +1175,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1175
1175
|
source
|
|
1176
1176
|
)
|
|
1177
1177
|
),
|
|
1178
|
-
issue &&
|
|
1178
|
+
issue && React__default.createElement(
|
|
1179
1179
|
'div',
|
|
1180
1180
|
{ className: 'volume-issue' },
|
|
1181
|
-
issue.publication && issue.publication.name &&
|
|
1181
|
+
issue.publication && issue.publication.name && React__default.createElement(
|
|
1182
1182
|
'span',
|
|
1183
1183
|
{ className: 'mb-0' },
|
|
1184
|
-
|
|
1184
|
+
React__default.createElement(
|
|
1185
1185
|
'b',
|
|
1186
1186
|
null,
|
|
1187
1187
|
issue.publication.name
|
|
@@ -1189,34 +1189,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1189
1189
|
',',
|
|
1190
1190
|
' '
|
|
1191
1191
|
),
|
|
1192
|
-
issue.name &&
|
|
1192
|
+
issue.name && React__default.createElement(
|
|
1193
1193
|
'span',
|
|
1194
1194
|
{ className: 'mb-0' },
|
|
1195
1195
|
issue.name,
|
|
1196
1196
|
', '
|
|
1197
1197
|
),
|
|
1198
|
-
issue.volume &&
|
|
1198
|
+
issue.volume && React__default.createElement(
|
|
1199
1199
|
'span',
|
|
1200
1200
|
null,
|
|
1201
1201
|
'Volume ' + issue.volume,
|
|
1202
1202
|
','
|
|
1203
1203
|
),
|
|
1204
|
-
issue.issueNumber &&
|
|
1204
|
+
issue.issueNumber && React__default.createElement(
|
|
1205
1205
|
'span',
|
|
1206
1206
|
null,
|
|
1207
1207
|
' Issue ' + issue.issueNumber
|
|
1208
1208
|
)
|
|
1209
1209
|
),
|
|
1210
|
-
pageNumber &&
|
|
1210
|
+
pageNumber && React__default.createElement(
|
|
1211
1211
|
'div',
|
|
1212
1212
|
{ className: 'article-pageNumber' },
|
|
1213
1213
|
'Pages: ' + pageNumber
|
|
1214
1214
|
)
|
|
1215
1215
|
),
|
|
1216
|
-
!isVideoSeries && showSocialShare &&
|
|
1216
|
+
!isVideoSeries && showSocialShare && React__default.createElement(
|
|
1217
1217
|
'p',
|
|
1218
1218
|
null,
|
|
1219
|
-
|
|
1219
|
+
React__default.createElement(SocialShare, {
|
|
1220
1220
|
shareUrl: shareUrl,
|
|
1221
1221
|
shareTitle: shareTitle,
|
|
1222
1222
|
shareVia: shareVia,
|
|
@@ -1232,27 +1232,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1232
1232
|
})
|
|
1233
1233
|
)
|
|
1234
1234
|
),
|
|
1235
|
-
|
|
1235
|
+
React__default.createElement(
|
|
1236
1236
|
'div',
|
|
1237
1237
|
null,
|
|
1238
|
-
|
|
1238
|
+
React__default.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1239
1239
|
)
|
|
1240
1240
|
),
|
|
1241
|
-
!isVideoSeries && summary && display_summary &&
|
|
1241
|
+
!isVideoSeries && summary && display_summary && React__default.createElement(
|
|
1242
1242
|
'p',
|
|
1243
1243
|
null,
|
|
1244
|
-
|
|
1244
|
+
React__default.createElement(
|
|
1245
1245
|
'em',
|
|
1246
1246
|
null,
|
|
1247
1247
|
summary
|
|
1248
1248
|
)
|
|
1249
1249
|
),
|
|
1250
|
-
|
|
1250
|
+
React__default.createElement(
|
|
1251
1251
|
'div',
|
|
1252
1252
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1253
|
-
|
|
1253
|
+
main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1254
1254
|
if (index === 0) {
|
|
1255
|
-
return
|
|
1255
|
+
return React__default.createElement(
|
|
1256
1256
|
'div',
|
|
1257
1257
|
{
|
|
1258
1258
|
key: index,
|
|
@@ -1269,24 +1269,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
})
|
|
1271
1271
|
),
|
|
1272
|
-
|
|
1272
|
+
React__default.createElement(
|
|
1273
1273
|
'div',
|
|
1274
1274
|
{ className: 'block-content mt-3' },
|
|
1275
1275
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1276
|
-
|
|
1277
|
-
|
|
1276
|
+
React__default.createElement('div', { className: 'clearfix' }),
|
|
1277
|
+
React__default.createElement(
|
|
1278
1278
|
'noscript',
|
|
1279
1279
|
null,
|
|
1280
|
-
|
|
1280
|
+
React__default.createElement(
|
|
1281
1281
|
'div',
|
|
1282
1282
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1283
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1283
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React__default.createElement(
|
|
1284
1284
|
'a',
|
|
1285
1285
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1286
1286
|
'Previous ',
|
|
1287
1287
|
props.article.seriesDetail.type
|
|
1288
1288
|
),
|
|
1289
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1289
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement(
|
|
1290
1290
|
'a',
|
|
1291
1291
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1292
1292
|
'Next ',
|
|
@@ -1294,26 +1294,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1294
1294
|
)
|
|
1295
1295
|
)
|
|
1296
1296
|
),
|
|
1297
|
-
issue && issue.url &&
|
|
1297
|
+
issue && issue.url && React__default.createElement(
|
|
1298
1298
|
'a',
|
|
1299
1299
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1300
|
-
|
|
1300
|
+
React__default.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1301
1301
|
'Download Issue : ',
|
|
1302
1302
|
issue.name
|
|
1303
1303
|
)
|
|
1304
1304
|
),
|
|
1305
|
-
|
|
1306
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1305
|
+
React__default.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1306
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React__default.createElement(
|
|
1307
1307
|
'div',
|
|
1308
1308
|
null,
|
|
1309
1309
|
false ,
|
|
1310
|
-
|
|
1310
|
+
React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1311
1311
|
),
|
|
1312
|
-
showRelatedArticles && !showIsi &&
|
|
1313
|
-
disqusConfig && showDisqus &&
|
|
1312
|
+
showRelatedArticles && !showIsi && React__default.createElement(RelatedContent, null),
|
|
1313
|
+
disqusConfig && showDisqus && React__default.createElement(
|
|
1314
1314
|
'div',
|
|
1315
1315
|
{ id: 'disqusContainer' },
|
|
1316
|
-
|
|
1316
|
+
React__default.createElement(DiscussionEmbed, {
|
|
1317
1317
|
shortname: disqusConfig.shortname,
|
|
1318
1318
|
config: {
|
|
1319
1319
|
url: disqusConfig.url,
|
|
@@ -1326,30 +1326,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1326
1326
|
renderIsiContent(props.article)
|
|
1327
1327
|
)
|
|
1328
1328
|
),
|
|
1329
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1329
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React__default.createElement(
|
|
1330
1330
|
ISI,
|
|
1331
1331
|
null,
|
|
1332
|
-
|
|
1332
|
+
React__default.createElement(BlockContent, {
|
|
1333
1333
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1334
1334
|
blocks: isi
|
|
1335
1335
|
})
|
|
1336
1336
|
),
|
|
1337
|
-
|
|
1337
|
+
main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1338
1338
|
if (index > 0) {
|
|
1339
|
-
return
|
|
1339
|
+
return React__default.createElement(
|
|
1340
1340
|
'div',
|
|
1341
1341
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1342
1342
|
ad.component
|
|
1343
1343
|
);
|
|
1344
1344
|
}
|
|
1345
1345
|
}),
|
|
1346
|
-
|
|
1346
|
+
React__default.createElement(
|
|
1347
1347
|
'noscript',
|
|
1348
1348
|
null,
|
|
1349
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1349
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React__default.createElement(
|
|
1350
1350
|
'div',
|
|
1351
1351
|
{ style: { textAlign: 'center' } },
|
|
1352
|
-
|
|
1352
|
+
React__default.createElement(
|
|
1353
1353
|
'a',
|
|
1354
1354
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1355
1355
|
'Related Article ',
|
|
@@ -1357,8 +1357,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1357
1357
|
)
|
|
1358
1358
|
)
|
|
1359
1359
|
),
|
|
1360
|
-
props.infiniteScroll &&
|
|
1361
|
-
|
|
1360
|
+
props.infiniteScroll && React__default.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1361
|
+
React__default.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1362
1362
|
);
|
|
1363
1363
|
};
|
|
1364
1364
|
|
|
@@ -1431,7 +1431,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1431
1431
|
return item.url.current === path;
|
|
1432
1432
|
});
|
|
1433
1433
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1434
|
-
if (!
|
|
1434
|
+
if (!main_36) {
|
|
1435
1435
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1436
1436
|
if (window.googletag && googletag.pubadsReady) {
|
|
1437
1437
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1448,7 +1448,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1448
1448
|
});
|
|
1449
1449
|
}
|
|
1450
1450
|
//Refresh leaderboard ad on mobile
|
|
1451
|
-
if (
|
|
1451
|
+
if (main_36) {
|
|
1452
1452
|
var leaderboardSlotId = '';
|
|
1453
1453
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1454
1454
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1597,14 +1597,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1597
1597
|
refreshAD(path);
|
|
1598
1598
|
};
|
|
1599
1599
|
|
|
1600
|
-
return
|
|
1600
|
+
return React__default.createElement(
|
|
1601
1601
|
InfiniteScroll,
|
|
1602
1602
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1603
1603
|
queueData.map(function (article, index) {
|
|
1604
|
-
return
|
|
1605
|
-
|
|
1604
|
+
return React__default.createElement(
|
|
1605
|
+
React__default.Fragment,
|
|
1606
1606
|
null,
|
|
1607
|
-
|
|
1607
|
+
React__default.createElement(Article, _extends({
|
|
1608
1608
|
key: index
|
|
1609
1609
|
}, props, {
|
|
1610
1610
|
containerHeight: containerHeight,
|
|
@@ -1747,63 +1747,63 @@ var View = function View(props) {
|
|
|
1747
1747
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
1750
|
-
return
|
|
1751
|
-
|
|
1750
|
+
return React__default.createElement(
|
|
1751
|
+
React__default.Fragment,
|
|
1752
1752
|
null,
|
|
1753
|
-
|
|
1753
|
+
React__default.createElement(
|
|
1754
1754
|
Head,
|
|
1755
1755
|
null,
|
|
1756
|
-
|
|
1756
|
+
React__default.createElement(
|
|
1757
1757
|
'title',
|
|
1758
1758
|
{ key: 'title' },
|
|
1759
1759
|
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 : '')
|
|
1760
1760
|
),
|
|
1761
|
-
meta_description &&
|
|
1762
|
-
|
|
1763
|
-
passwordLock &&
|
|
1764
|
-
|
|
1761
|
+
meta_description && React__default.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1762
|
+
React__default.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1763
|
+
passwordLock && React__default.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1764
|
+
React__default.createElement('meta', {
|
|
1765
1765
|
property: 'og:url',
|
|
1766
1766
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1767
1767
|
key: 'og:url'
|
|
1768
1768
|
}),
|
|
1769
|
-
|
|
1769
|
+
React__default.createElement('meta', {
|
|
1770
1770
|
property: 'og:title',
|
|
1771
1771
|
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 : ''),
|
|
1772
1772
|
key: 'og:title'
|
|
1773
1773
|
}),
|
|
1774
|
-
|
|
1774
|
+
React__default.createElement('meta', {
|
|
1775
1775
|
property: 'og:image',
|
|
1776
1776
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1777
1777
|
key: 'og:image'
|
|
1778
1778
|
}),
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1779
|
+
React__default.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1780
|
+
React__default.createElement('meta', { property: 'og:description', content: meta_description, key: 'og:description' }),
|
|
1781
|
+
React__default.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1782
|
+
React__default.createElement('meta', {
|
|
1783
1783
|
name: 'twitter:title',
|
|
1784
1784
|
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 : ''),
|
|
1785
1785
|
key: 'twitter:title'
|
|
1786
1786
|
}),
|
|
1787
|
-
|
|
1787
|
+
React__default.createElement('meta', {
|
|
1788
1788
|
name: 'twitter:image',
|
|
1789
1789
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1790
1790
|
key: 'twitter:image'
|
|
1791
1791
|
}),
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
canonicalTag &&
|
|
1792
|
+
React__default.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1793
|
+
React__default.createElement('meta', { name: 'twitter:description', content: meta_description, key: 'twitter:description' }),
|
|
1794
|
+
canonicalTag && React__default.createElement('link', {
|
|
1795
1795
|
rel: 'canonical',
|
|
1796
1796
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1797
1797
|
key: 'canonical'
|
|
1798
1798
|
}),
|
|
1799
|
-
|
|
1799
|
+
React__default.createElement(
|
|
1800
1800
|
'noscript',
|
|
1801
1801
|
null,
|
|
1802
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1803
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1802
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React__default.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1803
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1804
1804
|
)
|
|
1805
1805
|
),
|
|
1806
|
-
!needInfiniteScroll ?
|
|
1806
|
+
!needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React__default.createElement(ArticleQueue, _extends({
|
|
1807
1807
|
infiniteScroll: true,
|
|
1808
1808
|
showRelatedArticles: showRelatedArticles,
|
|
1809
1809
|
canonicalTag: canonicalTag,
|