@mjhls/mjh-framework 1.0.866 → 1.0.868
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +10 -11
- package/dist/cjs/AD300x250x600.js +10 -11
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +10 -11
- package/dist/cjs/ADFooter.js +3 -5
- package/dist/cjs/ADGutter.js +10 -11
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-b9e5ff3f.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +10 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +10 -11
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-3cdefebd.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -7
- package/dist/cjs/AdSlot.js +10 -11
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlgoliaSearch.js +14105 -24
- package/dist/cjs/AlphabeticList.js +6 -8
- package/dist/cjs/ArticleCarousel.js +5 -7
- package/dist/cjs/ArticleProgramLandingPage.js +20 -21
- package/dist/cjs/ArticleSeriesLandingPage.js +18 -19
- package/dist/cjs/ArticleSeriesListing.js +14 -15
- package/dist/cjs/Auth.js +7 -9
- package/dist/cjs/AuthWrapper.js +4 -6
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/Breadcrumbs.js +3 -5
- package/dist/cjs/CMEDeck.js +10 -11
- package/dist/cjs/Column2.js +6 -8
- package/dist/cjs/Column3.js +12 -13
- package/dist/cjs/ConferenceArticleCard.js +18 -15
- package/dist/cjs/DeckContent.js +25 -26
- package/dist/cjs/DeckQueue.js +14 -14
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-9be904d5.js} +5 -6
- package/dist/cjs/EventsDeck.js +30 -32
- package/dist/cjs/ExternalResources.js +20 -21
- package/dist/cjs/Feature.js +5 -2
- package/dist/cjs/ForbesHero.js +4 -6
- package/dist/cjs/GridContent.js +19 -20
- package/dist/cjs/GridHero.js +4 -6
- package/dist/cjs/GroupDeck.js +5 -7
- package/dist/cjs/HamMagazine.js +20 -22
- package/dist/cjs/Hero.js +4 -1
- package/dist/cjs/HorizontalArticleListing.js +20 -21
- package/dist/cjs/HorizontalHero.js +5 -2
- package/dist/cjs/IssueContentDeck.js +4 -6
- package/dist/cjs/IssueDeck.js +6 -8
- package/dist/cjs/IssueLanding.js +52 -53
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +10 -11
- package/dist/cjs/MasterDeck.js +26 -27
- package/dist/cjs/MediaSeriesLanding.js +320 -422
- package/dist/cjs/NavDvm.js +5 -7
- package/dist/cjs/NavMagazine.js +21 -23
- package/dist/cjs/NavNative.js +17 -19
- package/dist/cjs/OncliveHero.js +5 -2
- package/dist/cjs/OncliveLargeHero.js +4 -6
- package/dist/cjs/PageFilter.js +3 -5
- package/dist/cjs/PartnerDetailListing.js +23 -24
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +3 -5
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +5 -7
- package/dist/cjs/PublicationDeck.js +3 -0
- package/dist/cjs/PublicationLanding.js +61 -63
- package/dist/cjs/QueueDeckExpanded.js +14 -15
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +31 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +3 -5
- package/dist/cjs/Segment.js +13 -27
- package/dist/cjs/SeriesListingDeck.js +10 -11
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-ce3261cb.js} +6 -6
- package/dist/cjs/SideFooter.js +8 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-a4ae7b88.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +4 -2
- package/dist/cjs/TaxonomyDescription.js +20 -21
- package/dist/cjs/TemplateNormal.js +17 -18
- package/dist/cjs/ThumbnailCard.js +4 -1
- package/dist/cjs/Ustream.js +10 -12
- package/dist/cjs/VerticalHero.js +3 -0
- package/dist/cjs/VideoProgramLandingPage.js +20 -21
- package/dist/cjs/VideoSeriesCard.js +6 -6
- package/dist/cjs/VideoSeriesFilter.js +5 -7
- package/dist/cjs/VideoSeriesLandingPage.js +18 -19
- package/dist/cjs/VideoSeriesListing.js +14 -15
- package/dist/cjs/View.js +35 -30
- package/dist/cjs/YahooHero.js +4 -6
- package/dist/cjs/YoutubeGroup.js +8 -10
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-54228b29.js} +9 -9
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-b1df62f0.js} +6 -7
- package/dist/cjs/_object-sap-d1978572.js +16 -0
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-ce86cae7.js} +4 -4
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-77821af0.js} +65 -67
- package/dist/cjs/{_to-object-6de10e57.js → core.get-iterator-method-5643aa10.js} +248 -12
- package/dist/cjs/{define-property-c88be878.js → define-property-e8404b64.js} +3 -3
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-7c86182f.js} +8 -8
- package/dist/cjs/faundadb.js +4 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +4 -6
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +20 -21
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-9d509319.js} +11 -11
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-32097c80.js → index-959201d6.js} +42 -21
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +32 -33
- package/dist/cjs/{inherits-c2065b95.js → inherits-de66ea16.js} +13 -14
- package/dist/cjs/{keys-7f2c2108.js → keys-e982b3fa.js} +4 -4
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-067dd3bc.js} +7 -9
- package/dist/cjs/{stringify-c9ac1214.js → stringify-f7a37a8d.js} +2 -2
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-d7797c2b.js} +8 -10
- package/dist/cjs/{typeof-88a668c5.js → typeof-567e31ff.js} +73 -74
- package/dist/cjs/urlFor.js +18 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-d98303e0.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -15
- package/dist/esm/AD300x250x600.js +14 -15
- package/dist/esm/AD728x90.js +15 -16
- package/dist/esm/ADFloatingFooter.js +17 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +17 -18
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-6c6093ae.js} +6 -6
- package/dist/esm/ADSkyscraper.js +17 -18
- package/dist/esm/ADSponsoredResources.js +17 -18
- package/dist/esm/ADWebcast.js +17 -18
- package/dist/esm/ADWelcome.js +21 -22
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-5d7386e8.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -23
- package/dist/esm/AdSlot.js +13 -14
- package/dist/esm/AdSlotsProvider.js +10 -11
- package/dist/esm/AlgoliaSearch.js +14127 -46
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +10 -12
- package/dist/esm/ArticleProgramLandingPage.js +32 -33
- package/dist/esm/ArticleSeriesLandingPage.js +26 -27
- package/dist/esm/ArticleSeriesListing.js +41 -42
- package/dist/esm/Auth.js +77 -79
- package/dist/esm/AuthWrapper.js +29 -31
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +69 -70
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -20
- package/dist/esm/Column3.js +33 -34
- package/dist/esm/ConferenceArticleCard.js +31 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +71 -72
- package/dist/esm/DeckQueue.js +54 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-4ca12f2e.js} +14 -15
- package/dist/esm/EventsDeck.js +91 -93
- package/dist/esm/ExternalResources.js +50 -51
- package/dist/esm/Feature.js +19 -16
- package/dist/esm/ForbesHero.js +29 -31
- package/dist/esm/GridContent.js +138 -139
- package/dist/esm/GridHero.js +30 -32
- package/dist/esm/GroupDeck.js +39 -41
- package/dist/esm/HamMagazine.js +100 -102
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +23 -20
- package/dist/esm/IssueContentDeck.js +42 -44
- package/dist/esm/IssueDeck.js +39 -41
- package/dist/esm/IssueLanding.js +66 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +24 -25
- package/dist/esm/MasterDeck.js +60 -61
- package/dist/esm/MediaSeriesLanding.js +347 -449
- package/dist/esm/NavDvm.js +48 -50
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -106
- package/dist/esm/NavNative.js +91 -93
- package/dist/esm/OncliveHero.js +17 -14
- package/dist/esm/OncliveLargeHero.js +53 -55
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +81 -82
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +23 -24
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +36 -33
- package/dist/esm/PublicationLanding.js +83 -85
- package/dist/esm/QueueDeckExpanded.js +255 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +46 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -10
- package/dist/esm/Segment.js +13 -27
- package/dist/esm/SeriesListingDeck.js +26 -27
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-485f514e.js} +24 -24
- package/dist/esm/SideFooter.js +27 -29
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-41b6b480.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +39 -37
- package/dist/esm/TaxonomyDescription.js +28 -29
- package/dist/esm/TemplateNormal.js +39 -40
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +14 -11
- package/dist/esm/VideoProgramLandingPage.js +39 -40
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +26 -27
- package/dist/esm/VideoSeriesListing.js +57 -58
- package/dist/esm/View.js +199 -194
- package/dist/esm/YahooHero.js +26 -28
- package/dist/esm/YoutubeGroup.js +35 -37
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-f089461c.js} +1 -2
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-b4dfe691.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{_to-object-b50e61c3.js → core.get-iterator-method-e903ff31.js} +239 -10
- package/dist/esm/{define-property-fe54dc9f.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -6
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +4 -6
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -24
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +5 -7
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index-5e84f9cd.js → index-e378ff44.js} +452 -431
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +56 -57
- package/dist/esm/{inherits-a41fe93f.js → inherits-8a801a18.js} +4 -5
- package/dist/esm/{keys-7a3adabf.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-ca2c8b8d.js} +2 -4
- package/dist/esm/{stringify-59c8f690.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-7b1c0e23.js} +2 -4
- package/dist/esm/{typeof-a286cf0c.js → typeof-83d9eb10.js} +3 -4
- package/dist/esm/urlFor.js +18 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-fdf034f5.js} +1 -2
- package/package.json +111 -111
- package/dist/cjs/_object-sap-a175b4a9.js +0 -16
- package/dist/cjs/core.get-iterator-method-f474eacc.js +0 -39
- package/dist/cjs/es6.string.iterator-c2573ffd.js +0 -210
- package/dist/esm/core.get-iterator-method-133dfacd.js +0 -36
- package/dist/esm/es6.string.iterator-bc33758b.js +0 -201
package/dist/esm/View.js
CHANGED
|
@@ -1,44 +1,42 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-
|
|
4
|
-
import
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-dc6a71fd.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
4
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-
|
|
11
|
-
import { m as main_43 } from './main-
|
|
10
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
16
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-e378ff44.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-485f514e.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-ff2c9409.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
24
|
-
import { _ as _typeof } from './typeof-
|
|
25
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-
|
|
24
|
+
import { _ as _typeof } from './typeof-83d9eb10.js';
|
|
25
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
26
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
-
import './index-
|
|
27
|
+
import './index-35bdcc81.js';
|
|
28
28
|
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
-
import { _ as _Object$keys } from './keys-
|
|
30
|
-
import { I as InfiniteScroll } from './index.es-
|
|
31
|
-
import { l as lib_3 } from './index-
|
|
29
|
+
import { _ as _Object$keys } from './keys-425c8ab0.js';
|
|
30
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
32
32
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
33
|
import getQuery from './getQuery.js';
|
|
34
34
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
35
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './web.dom.iterable-4109ff68.js';
|
|
36
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
37
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
39
38
|
import './_library-528f1934.js';
|
|
40
|
-
import './
|
|
41
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
39
|
+
import './_iter-detect-f089461c.js';
|
|
42
40
|
import './_object-pie-133f504a.js';
|
|
43
41
|
import 'prop-types';
|
|
44
42
|
import './index-0dbff1d1.js';
|
|
@@ -49,20 +47,20 @@ import './index-c7e2ac95.js';
|
|
|
49
47
|
import './util-3ab476bf.js';
|
|
50
48
|
import './Beam.js';
|
|
51
49
|
import './Segment.js';
|
|
52
|
-
import './brightcove-react-player-loader.es-
|
|
50
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
53
51
|
import './GroupDeck.js';
|
|
54
52
|
import './smoothscroll-fa4e3f8c.js';
|
|
55
|
-
import './_is-array-
|
|
56
|
-
import './_object-to-array-
|
|
53
|
+
import './_is-array-893ab020.js';
|
|
54
|
+
import './_object-to-array-50a6b9a3.js';
|
|
57
55
|
import 'react-bootstrap/Pagination';
|
|
58
56
|
import './entities-932b50cf.js';
|
|
59
57
|
import 'react-bootstrap/Row';
|
|
60
58
|
import 'react-bootstrap/Col';
|
|
61
|
-
import './inherits-
|
|
62
|
-
import './_object-sap-
|
|
63
|
-
import './define-property-
|
|
64
|
-
import './index.esm-
|
|
65
|
-
import './iconBase-
|
|
59
|
+
import './inherits-8a801a18.js';
|
|
60
|
+
import './_object-sap-169d6272.js';
|
|
61
|
+
import './define-property-99e66838.js';
|
|
62
|
+
import './index.esm-3fdda599.js';
|
|
63
|
+
import './iconBase-602d52fe.js';
|
|
66
64
|
import 'react-bootstrap/Figure';
|
|
67
65
|
import 'react-bootstrap/OverlayTrigger';
|
|
68
66
|
import 'react-bootstrap/Tooltip';
|
|
@@ -70,6 +68,7 @@ import 'react-bootstrap/Popover';
|
|
|
70
68
|
import './debounce-533d9748.js';
|
|
71
69
|
import './isSymbol-a7e9aafe.js';
|
|
72
70
|
import './toNumber-5aeba6e7.js';
|
|
71
|
+
import './events-6c3a7a63.js';
|
|
73
72
|
import './index-db3bb315.js';
|
|
74
73
|
|
|
75
74
|
var getArticleSummary = function getArticleSummary(article) {
|
|
@@ -148,17 +147,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
148
147
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
149
148
|
}
|
|
150
149
|
|
|
151
|
-
return
|
|
150
|
+
return React.createElement(
|
|
152
151
|
'a',
|
|
153
152
|
{
|
|
154
153
|
href: url,
|
|
155
154
|
className: 'doc-group',
|
|
156
155
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
157
|
-
thumbnailUrl &&
|
|
158
|
-
!thumbnailUrl &&
|
|
156
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
157
|
+
!thumbnailUrl && React.createElement('p', {
|
|
159
158
|
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
160
159
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
161
|
-
main_43 && !thumbnailUrl &&
|
|
160
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
162
161
|
'style',
|
|
163
162
|
{ jsx: 'true' },
|
|
164
163
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -298,38 +297,38 @@ var ISI = function ISI(props) {
|
|
|
298
297
|
}, 300);
|
|
299
298
|
}
|
|
300
299
|
};
|
|
301
|
-
return
|
|
302
|
-
|
|
300
|
+
return React.createElement(
|
|
301
|
+
React.Fragment,
|
|
303
302
|
null,
|
|
304
|
-
|
|
303
|
+
React.createElement(
|
|
305
304
|
'div',
|
|
306
305
|
{ id: 'isi', ref: isi },
|
|
307
|
-
|
|
306
|
+
React.createElement(
|
|
308
307
|
'div',
|
|
309
308
|
{ id: 'isiContent' },
|
|
310
|
-
|
|
309
|
+
React.createElement(
|
|
311
310
|
'div',
|
|
312
311
|
{ onClick: function onClick() {
|
|
313
312
|
return setActive(function (prev) {
|
|
314
313
|
return !prev;
|
|
315
314
|
});
|
|
316
315
|
}, id: 'isiToggle' },
|
|
317
|
-
active ?
|
|
316
|
+
active ? React.createElement(
|
|
318
317
|
'p',
|
|
319
318
|
null,
|
|
320
319
|
'Close ',
|
|
321
|
-
|
|
322
|
-
) :
|
|
320
|
+
React.createElement(FaMinus, null)
|
|
321
|
+
) : React.createElement(
|
|
323
322
|
'p',
|
|
324
323
|
null,
|
|
325
324
|
'See More ',
|
|
326
|
-
|
|
325
|
+
React.createElement(FaPlus, null)
|
|
327
326
|
)
|
|
328
327
|
),
|
|
329
328
|
children
|
|
330
329
|
)
|
|
331
330
|
),
|
|
332
|
-
|
|
331
|
+
React.createElement(
|
|
333
332
|
'style',
|
|
334
333
|
{ jsx: true },
|
|
335
334
|
'\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,7 +336,7 @@ var ISI = function ISI(props) {
|
|
|
337
336
|
);
|
|
338
337
|
};
|
|
339
338
|
|
|
340
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
339
|
+
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
341
340
|
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" };
|
|
342
341
|
styleInject(css);
|
|
343
342
|
|
|
@@ -351,33 +350,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
351
350
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
352
351
|
return null;
|
|
353
352
|
}
|
|
354
|
-
return
|
|
353
|
+
return React.createElement(
|
|
355
354
|
'div',
|
|
356
355
|
{ className: styles.mediaContainer },
|
|
357
356
|
articles.map(function (article, index) {
|
|
358
|
-
return
|
|
357
|
+
return React.createElement(
|
|
359
358
|
'div',
|
|
360
359
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
361
|
-
|
|
360
|
+
React.createElement(
|
|
362
361
|
'a',
|
|
363
362
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
364
|
-
article.thumbnail ?
|
|
363
|
+
article.thumbnail ? React.createElement('img', {
|
|
365
364
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
366
365
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
367
366
|
alt: article.title
|
|
368
|
-
}) :
|
|
369
|
-
|
|
367
|
+
}) : React.createElement(
|
|
368
|
+
React.Fragment,
|
|
370
369
|
null,
|
|
371
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
370
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
372
371
|
)
|
|
373
372
|
),
|
|
374
|
-
|
|
373
|
+
React.createElement(
|
|
375
374
|
'div',
|
|
376
375
|
{ className: styles.mediaBody },
|
|
377
|
-
|
|
376
|
+
React.createElement(
|
|
378
377
|
'a',
|
|
379
378
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
380
|
-
|
|
379
|
+
React.createElement(
|
|
381
380
|
'div',
|
|
382
381
|
{ className: styles.cardTitle },
|
|
383
382
|
article.title
|
|
@@ -512,7 +511,7 @@ function generateSchema(props) {
|
|
|
512
511
|
}
|
|
513
512
|
|
|
514
513
|
var Schema = function Schema(props) {
|
|
515
|
-
return
|
|
514
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
516
515
|
};
|
|
517
516
|
|
|
518
517
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -703,7 +702,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
703
702
|
};
|
|
704
703
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
705
704
|
if (biography) {
|
|
706
|
-
return
|
|
705
|
+
return React.createElement(BlockContent, _extends({
|
|
707
706
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
708
707
|
blocks: [biography]
|
|
709
708
|
}, client.config()));
|
|
@@ -713,9 +712,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
713
712
|
var url = article.url.current;
|
|
714
713
|
|
|
715
714
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
716
|
-
return
|
|
715
|
+
return React.createElement(ISIContent, null);
|
|
717
716
|
} else if (nationalPage === url && ISIContent) {
|
|
718
|
-
return
|
|
717
|
+
return React.createElement(ISIContent, { national: true });
|
|
719
718
|
}
|
|
720
719
|
return null;
|
|
721
720
|
};
|
|
@@ -749,19 +748,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
749
748
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
750
749
|
}
|
|
751
750
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
752
|
-
return
|
|
751
|
+
return React.createElement(
|
|
753
752
|
'div',
|
|
754
753
|
null,
|
|
755
754
|
relatedLinks.map(function (relatedLink, index) {
|
|
756
|
-
return
|
|
755
|
+
return React.createElement(
|
|
757
756
|
'span',
|
|
758
757
|
{ key: index, className: 'related-link' },
|
|
759
|
-
|
|
758
|
+
React.createElement(
|
|
760
759
|
'a',
|
|
761
760
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
762
761
|
relatedLink.label
|
|
763
762
|
),
|
|
764
|
-
|
|
763
|
+
React.createElement(
|
|
765
764
|
'style',
|
|
766
765
|
{ jsx: 'true' },
|
|
767
766
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -776,23 +775,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
776
775
|
};
|
|
777
776
|
|
|
778
777
|
var RelatedContent = function RelatedContent() {
|
|
779
|
-
return
|
|
778
|
+
return React.createElement(
|
|
780
779
|
'section',
|
|
781
780
|
{ id: 'related-content-section', className: 'my-1' },
|
|
782
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
781
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
783
782
|
'p',
|
|
784
783
|
{ className: 'mb-0' },
|
|
785
|
-
|
|
784
|
+
React.createElement(
|
|
786
785
|
'b',
|
|
787
786
|
null,
|
|
788
787
|
'Related Content:'
|
|
789
788
|
)
|
|
790
789
|
),
|
|
791
|
-
|
|
792
|
-
|
|
790
|
+
React.createElement(RelevantTopics, null),
|
|
791
|
+
React.createElement(
|
|
793
792
|
'div',
|
|
794
793
|
{ className: 'pt-2' },
|
|
795
|
-
|
|
794
|
+
React.createElement(RelatedArticle, {
|
|
796
795
|
articles: article.relatedArticle,
|
|
797
796
|
client: client,
|
|
798
797
|
fallbackImage: props.Settings.logo,
|
|
@@ -803,28 +802,28 @@ var Article = forwardRef(function (props, ref) {
|
|
|
803
802
|
};
|
|
804
803
|
|
|
805
804
|
var form = function form() {
|
|
806
|
-
return
|
|
807
|
-
|
|
805
|
+
return React.createElement(
|
|
806
|
+
React.Fragment,
|
|
808
807
|
null,
|
|
809
|
-
|
|
808
|
+
React.createElement(
|
|
810
809
|
Head,
|
|
811
810
|
null,
|
|
812
|
-
|
|
811
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
813
812
|
),
|
|
814
|
-
|
|
813
|
+
React.createElement(
|
|
815
814
|
'div',
|
|
816
815
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
817
|
-
|
|
816
|
+
React.createElement(
|
|
818
817
|
Form,
|
|
819
818
|
{
|
|
820
819
|
inline: true,
|
|
821
820
|
onSubmit: function onSubmit(e) {
|
|
822
821
|
e.preventDefault();
|
|
823
822
|
} },
|
|
824
|
-
|
|
823
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
825
824
|
return setPasswordKey(e.target.value);
|
|
826
825
|
}, placeholder: 'Password' }),
|
|
827
|
-
|
|
826
|
+
React.createElement(
|
|
828
827
|
Button,
|
|
829
828
|
{
|
|
830
829
|
variant: 'primary',
|
|
@@ -874,31 +873,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
874
873
|
setContextualADFlag(true);
|
|
875
874
|
}
|
|
876
875
|
};
|
|
877
|
-
return
|
|
878
|
-
|
|
876
|
+
return React.createElement(
|
|
877
|
+
React.Fragment,
|
|
879
878
|
null,
|
|
880
|
-
|
|
879
|
+
React.createElement(BlockContent, _extends({
|
|
881
880
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
882
881
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
883
882
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
884
883
|
}, client.config())),
|
|
885
|
-
|
|
886
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
887
|
-
|
|
884
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
885
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
886
|
+
React.createElement(
|
|
888
887
|
'div',
|
|
889
888
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
890
|
-
|
|
889
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
891
890
|
refreshFlag: refreshFlag
|
|
892
891
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
893
892
|
}))
|
|
894
893
|
),
|
|
895
|
-
|
|
896
|
-
|
|
894
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
895
|
+
React.createElement(
|
|
897
896
|
'div',
|
|
898
897
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
899
|
-
|
|
898
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
900
899
|
),
|
|
901
|
-
|
|
900
|
+
React.createElement(BlockContent, _extends({
|
|
902
901
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
903
902
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
904
903
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -923,26 +922,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
923
922
|
if (seriesInfo.hasVideo) {
|
|
924
923
|
_selectedIndex = seriesInfo.videoIndex;
|
|
925
924
|
}
|
|
926
|
-
return
|
|
927
|
-
|
|
925
|
+
return React.createElement(
|
|
926
|
+
React.Fragment,
|
|
928
927
|
null,
|
|
929
|
-
|
|
928
|
+
React.createElement(BlockContent, _extends({
|
|
930
929
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
931
930
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
932
931
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
933
932
|
}, client.config())),
|
|
934
|
-
contextualADFlag &&
|
|
935
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
936
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
933
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
934
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
935
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
937
936
|
'div',
|
|
938
937
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
939
|
-
|
|
938
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
940
939
|
refreshFlag: refreshFlag
|
|
941
940
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
942
941
|
}))
|
|
943
942
|
),
|
|
944
|
-
contextualADFlag &&
|
|
945
|
-
|
|
943
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
944
|
+
React.createElement(BlockContent, _extends({
|
|
946
945
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
947
946
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
948
947
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -972,22 +971,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
972
971
|
}
|
|
973
972
|
};
|
|
974
973
|
|
|
975
|
-
return
|
|
976
|
-
|
|
974
|
+
return React.createElement(
|
|
975
|
+
React.Fragment,
|
|
977
976
|
null,
|
|
978
|
-
|
|
977
|
+
React.createElement(BlockContent, _extends({
|
|
979
978
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
980
979
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
981
980
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
982
981
|
}, client.config())),
|
|
983
|
-
|
|
984
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
985
|
-
|
|
982
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
983
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
984
|
+
React.createElement(
|
|
986
985
|
'div',
|
|
987
986
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
988
|
-
|
|
987
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
989
988
|
),
|
|
990
|
-
|
|
989
|
+
React.createElement(BlockContent, _extends({
|
|
991
990
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
992
991
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
993
992
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -999,16 +998,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
999
998
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1000
999
|
}
|
|
1001
1000
|
|
|
1002
|
-
return
|
|
1001
|
+
return React.createElement(
|
|
1003
1002
|
'div',
|
|
1004
1003
|
null,
|
|
1005
|
-
|
|
1004
|
+
React.createElement(BlockContent, _extends({
|
|
1006
1005
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1007
1006
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1008
1007
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1009
1008
|
}, client.config())),
|
|
1010
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1011
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1009
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1010
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1012
1011
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1013
1012
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1014
1013
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1094,60 +1093,63 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1094
1093
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1095
1094
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1096
1095
|
|
|
1097
|
-
return
|
|
1098
|
-
|
|
1096
|
+
return React.createElement(
|
|
1097
|
+
React.Fragment,
|
|
1099
1098
|
null,
|
|
1100
|
-
|
|
1099
|
+
React.createElement(
|
|
1101
1100
|
VisibilitySensor,
|
|
1102
1101
|
{
|
|
1103
1102
|
partialVisibility: true,
|
|
1104
1103
|
offset: { bottom: triggerOffset, top: containerHeight - 80 },
|
|
1105
1104
|
onChange: function onChange(isVisible) {
|
|
1106
1105
|
if (isVisible && queueData && queueData.length > 1) {
|
|
1107
|
-
|
|
1106
|
+
var pageviewProperties = _extends({}, targeting, {
|
|
1107
|
+
category: article && article.category ? article.category.name : ''
|
|
1108
|
+
});
|
|
1109
|
+
onChangeArticle(url, meta, pageviewProperties);
|
|
1108
1110
|
setVisibleFlag(function () {
|
|
1109
1111
|
return true;
|
|
1110
1112
|
});
|
|
1111
1113
|
}
|
|
1112
1114
|
} },
|
|
1113
|
-
|
|
1115
|
+
React.createElement(
|
|
1114
1116
|
'div',
|
|
1115
1117
|
{ id: 'article__block', ref: ref },
|
|
1116
|
-
|
|
1118
|
+
React.createElement(
|
|
1117
1119
|
'div',
|
|
1118
1120
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1119
1121
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1120
|
-
!isVideoSeries &&
|
|
1122
|
+
!isVideoSeries && React.createElement(
|
|
1121
1123
|
'div',
|
|
1122
1124
|
null,
|
|
1123
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1125
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1124
1126
|
'p',
|
|
1125
1127
|
{ style: { fontSize: '14px' } },
|
|
1126
1128
|
article.documentGroup.name,
|
|
1127
1129
|
' - Episode ',
|
|
1128
1130
|
episodeNumber
|
|
1129
1131
|
),
|
|
1130
|
-
|
|
1132
|
+
React.createElement(
|
|
1131
1133
|
'h1',
|
|
1132
1134
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1133
1135
|
title
|
|
1134
1136
|
)
|
|
1135
1137
|
),
|
|
1136
|
-
|
|
1138
|
+
React.createElement(
|
|
1137
1139
|
'div',
|
|
1138
1140
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1139
|
-
|
|
1141
|
+
React.createElement(
|
|
1140
1142
|
'style',
|
|
1141
1143
|
{ jsx: 'true' },
|
|
1142
1144
|
'\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 '
|
|
1143
1145
|
),
|
|
1144
|
-
|
|
1146
|
+
React.createElement(
|
|
1145
1147
|
'div',
|
|
1146
1148
|
{ className: 'left-wrap' },
|
|
1147
|
-
!isVideoSeries && showPublished &&
|
|
1149
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1148
1150
|
'div',
|
|
1149
1151
|
null,
|
|
1150
|
-
|
|
1152
|
+
React.createElement(
|
|
1151
1153
|
'time',
|
|
1152
1154
|
{
|
|
1153
1155
|
'class': 'meta-date',
|
|
@@ -1157,20 +1159,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1157
1159
|
)
|
|
1158
1160
|
/* Show Published date */
|
|
1159
1161
|
,
|
|
1160
|
-
|
|
1162
|
+
React.createElement(
|
|
1161
1163
|
'div',
|
|
1162
1164
|
{ className: 'mb-3' },
|
|
1163
1165
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1164
|
-
return
|
|
1166
|
+
return React.createElement(
|
|
1165
1167
|
'span',
|
|
1166
1168
|
{ key: index },
|
|
1167
1169
|
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 }))
|
|
1168
1170
|
);
|
|
1169
1171
|
}),
|
|
1170
|
-
|
|
1172
|
+
React.createElement(
|
|
1171
1173
|
'div',
|
|
1172
1174
|
null,
|
|
1173
|
-
source &&
|
|
1175
|
+
source && React.createElement(
|
|
1174
1176
|
'p',
|
|
1175
1177
|
{
|
|
1176
1178
|
style: {
|
|
@@ -1185,13 +1187,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1185
1187
|
source
|
|
1186
1188
|
)
|
|
1187
1189
|
),
|
|
1188
|
-
issue &&
|
|
1190
|
+
issue && React.createElement(
|
|
1189
1191
|
'div',
|
|
1190
1192
|
{ className: 'volume-issue' },
|
|
1191
|
-
issue.publication && issue.publication.name &&
|
|
1193
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1192
1194
|
'span',
|
|
1193
1195
|
{ className: 'mb-0' },
|
|
1194
|
-
|
|
1196
|
+
React.createElement(
|
|
1195
1197
|
'b',
|
|
1196
1198
|
null,
|
|
1197
1199
|
issue.publication.name
|
|
@@ -1199,34 +1201,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1199
1201
|
',',
|
|
1200
1202
|
' '
|
|
1201
1203
|
),
|
|
1202
|
-
issue.name &&
|
|
1204
|
+
issue.name && React.createElement(
|
|
1203
1205
|
'span',
|
|
1204
1206
|
{ className: 'mb-0' },
|
|
1205
1207
|
issue.name,
|
|
1206
1208
|
', '
|
|
1207
1209
|
),
|
|
1208
|
-
issue.volume &&
|
|
1210
|
+
issue.volume && React.createElement(
|
|
1209
1211
|
'span',
|
|
1210
1212
|
null,
|
|
1211
1213
|
'Volume ' + issue.volume,
|
|
1212
1214
|
','
|
|
1213
1215
|
),
|
|
1214
|
-
issue.issueNumber &&
|
|
1216
|
+
issue.issueNumber && React.createElement(
|
|
1215
1217
|
'span',
|
|
1216
1218
|
null,
|
|
1217
1219
|
' Issue ' + issue.issueNumber
|
|
1218
1220
|
)
|
|
1219
1221
|
),
|
|
1220
|
-
pageNumber &&
|
|
1222
|
+
pageNumber && React.createElement(
|
|
1221
1223
|
'div',
|
|
1222
1224
|
{ className: 'article-pageNumber' },
|
|
1223
1225
|
'Pages: ' + pageNumber
|
|
1224
1226
|
)
|
|
1225
1227
|
),
|
|
1226
|
-
!isVideoSeries && showSocialShare &&
|
|
1228
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1227
1229
|
'p',
|
|
1228
1230
|
null,
|
|
1229
|
-
|
|
1231
|
+
React.createElement(SocialShare, {
|
|
1230
1232
|
shareUrl: shareUrl,
|
|
1231
1233
|
shareTitle: shareTitle,
|
|
1232
1234
|
shareVia: shareVia,
|
|
@@ -1242,27 +1244,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1242
1244
|
})
|
|
1243
1245
|
)
|
|
1244
1246
|
),
|
|
1245
|
-
|
|
1247
|
+
React.createElement(
|
|
1246
1248
|
'div',
|
|
1247
1249
|
null,
|
|
1248
|
-
|
|
1250
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1249
1251
|
)
|
|
1250
1252
|
),
|
|
1251
|
-
!isVideoSeries && summary && display_summary &&
|
|
1253
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1252
1254
|
'p',
|
|
1253
1255
|
null,
|
|
1254
|
-
|
|
1256
|
+
React.createElement(
|
|
1255
1257
|
'em',
|
|
1256
1258
|
null,
|
|
1257
1259
|
summary
|
|
1258
1260
|
)
|
|
1259
1261
|
),
|
|
1260
|
-
|
|
1262
|
+
React.createElement(
|
|
1261
1263
|
'div',
|
|
1262
1264
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1263
1265
|
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1264
1266
|
if (index === 0) {
|
|
1265
|
-
return
|
|
1267
|
+
return React.createElement(
|
|
1266
1268
|
'div',
|
|
1267
1269
|
{
|
|
1268
1270
|
key: index,
|
|
@@ -1279,24 +1281,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1279
1281
|
}
|
|
1280
1282
|
})
|
|
1281
1283
|
),
|
|
1282
|
-
|
|
1284
|
+
React.createElement(
|
|
1283
1285
|
'div',
|
|
1284
1286
|
{ className: 'block-content mt-3' },
|
|
1285
1287
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1289
|
+
React.createElement(
|
|
1288
1290
|
'noscript',
|
|
1289
1291
|
null,
|
|
1290
|
-
|
|
1292
|
+
React.createElement(
|
|
1291
1293
|
'div',
|
|
1292
1294
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1293
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1295
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1294
1296
|
'a',
|
|
1295
1297
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1296
1298
|
'Previous ',
|
|
1297
1299
|
props.article.seriesDetail.type
|
|
1298
1300
|
),
|
|
1299
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1301
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1300
1302
|
'a',
|
|
1301
1303
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1302
1304
|
'Next ',
|
|
@@ -1304,26 +1306,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1304
1306
|
)
|
|
1305
1307
|
)
|
|
1306
1308
|
),
|
|
1307
|
-
issue && issue.url &&
|
|
1309
|
+
issue && issue.url && React.createElement(
|
|
1308
1310
|
'a',
|
|
1309
1311
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1310
|
-
|
|
1312
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1311
1313
|
'Download Issue : ',
|
|
1312
1314
|
issue.name
|
|
1313
1315
|
)
|
|
1314
1316
|
),
|
|
1315
|
-
|
|
1316
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1317
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1318
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1317
1319
|
'div',
|
|
1318
1320
|
null,
|
|
1319
1321
|
false ,
|
|
1320
|
-
|
|
1322
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1321
1323
|
),
|
|
1322
|
-
showRelatedArticles && !showIsi &&
|
|
1323
|
-
disqusConfig && showDisqus &&
|
|
1324
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1325
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1324
1326
|
'div',
|
|
1325
1327
|
{ id: 'disqusContainer' },
|
|
1326
|
-
|
|
1328
|
+
React.createElement(DiscussionEmbed, {
|
|
1327
1329
|
shortname: disqusConfig.shortname,
|
|
1328
1330
|
config: {
|
|
1329
1331
|
url: disqusConfig.url,
|
|
@@ -1336,30 +1338,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1336
1338
|
renderIsiContent(props.article)
|
|
1337
1339
|
)
|
|
1338
1340
|
),
|
|
1339
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1341
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1340
1342
|
ISI,
|
|
1341
1343
|
null,
|
|
1342
|
-
|
|
1344
|
+
React.createElement(BlockContent, {
|
|
1343
1345
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1344
1346
|
blocks: isi
|
|
1345
1347
|
})
|
|
1346
1348
|
),
|
|
1347
1349
|
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1348
1350
|
if (index > 0) {
|
|
1349
|
-
return
|
|
1351
|
+
return React.createElement(
|
|
1350
1352
|
'div',
|
|
1351
1353
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1352
1354
|
ad.component
|
|
1353
1355
|
);
|
|
1354
1356
|
}
|
|
1355
1357
|
}),
|
|
1356
|
-
|
|
1358
|
+
React.createElement(
|
|
1357
1359
|
'noscript',
|
|
1358
1360
|
null,
|
|
1359
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1361
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1360
1362
|
'div',
|
|
1361
1363
|
{ style: { textAlign: 'center' } },
|
|
1362
|
-
|
|
1364
|
+
React.createElement(
|
|
1363
1365
|
'a',
|
|
1364
1366
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1365
1367
|
'Related Article ',
|
|
@@ -1367,8 +1369,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1367
1369
|
)
|
|
1368
1370
|
)
|
|
1369
1371
|
),
|
|
1370
|
-
props.infiniteScroll &&
|
|
1371
|
-
|
|
1372
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1373
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1372
1374
|
);
|
|
1373
1375
|
};
|
|
1374
1376
|
|
|
@@ -1619,7 +1621,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1619
1621
|
}
|
|
1620
1622
|
};
|
|
1621
1623
|
|
|
1622
|
-
var onChangeArticle = function onChangeArticle(path, meta) {
|
|
1624
|
+
var onChangeArticle = function onChangeArticle(path, meta, pageviewProperties) {
|
|
1623
1625
|
var newPath = '/view/' + path;
|
|
1624
1626
|
var activeArticle = queueData.find(function (item) {
|
|
1625
1627
|
return item.url.current === path;
|
|
@@ -1638,18 +1640,18 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1638
1640
|
if (props.setCustomDimensions) {
|
|
1639
1641
|
props.setCustomDimensions(activeArticle, '200', prevUrl);
|
|
1640
1642
|
}
|
|
1641
|
-
if (props.pageview) props.pageview(newPath);
|
|
1643
|
+
if (props.pageview) props.pageview(newPath, pageviewProperties);
|
|
1642
1644
|
refreshAD(path);
|
|
1643
1645
|
};
|
|
1644
1646
|
|
|
1645
|
-
return
|
|
1647
|
+
return React.createElement(
|
|
1646
1648
|
InfiniteScroll,
|
|
1647
1649
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1648
1650
|
queueData.map(function (article, index) {
|
|
1649
|
-
return
|
|
1650
|
-
|
|
1651
|
+
return React.createElement(
|
|
1652
|
+
React.Fragment,
|
|
1651
1653
|
null,
|
|
1652
|
-
|
|
1654
|
+
React.createElement(Article, _extends({
|
|
1653
1655
|
key: index
|
|
1654
1656
|
}, props, {
|
|
1655
1657
|
containerHeight: containerHeight,
|
|
@@ -1707,10 +1709,13 @@ var View = function View(props) {
|
|
|
1707
1709
|
useEffect(function () {
|
|
1708
1710
|
if (pageview && setCustomDimensions) {
|
|
1709
1711
|
var timer = void 0;
|
|
1712
|
+
var pageviewProperties = _extends({}, getTargeting(props), {
|
|
1713
|
+
category: article && article.category ? article.category.name : ''
|
|
1714
|
+
});
|
|
1710
1715
|
var waitAndExicute = function waitAndExicute() {
|
|
1711
1716
|
if (typeof window.GA_INITIALIZED !== 'undefined') {
|
|
1712
1717
|
setCustomDimensions(article, statusCode, prevUrl);
|
|
1713
|
-
pageview(router.asPath);
|
|
1718
|
+
pageview(router.asPath, pageviewProperties);
|
|
1714
1719
|
} else timer = setTimeout(waitAndExicute, 1000);
|
|
1715
1720
|
};
|
|
1716
1721
|
waitAndExicute();
|
|
@@ -1790,63 +1795,63 @@ var View = function View(props) {
|
|
|
1790
1795
|
|
|
1791
1796
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1792
1797
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1793
|
-
return
|
|
1794
|
-
|
|
1798
|
+
return React.createElement(
|
|
1799
|
+
React.Fragment,
|
|
1795
1800
|
null,
|
|
1796
|
-
|
|
1801
|
+
React.createElement(
|
|
1797
1802
|
Head,
|
|
1798
1803
|
null,
|
|
1799
|
-
|
|
1804
|
+
React.createElement(
|
|
1800
1805
|
'title',
|
|
1801
1806
|
{ key: 'title' },
|
|
1802
1807
|
metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1803
1808
|
),
|
|
1804
|
-
metaDescriptionSanity ?
|
|
1805
|
-
|
|
1806
|
-
passwordLock &&
|
|
1807
|
-
|
|
1809
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1810
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1811
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1812
|
+
React.createElement('meta', {
|
|
1808
1813
|
property: 'og:url',
|
|
1809
1814
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1810
1815
|
key: 'og:url'
|
|
1811
1816
|
}),
|
|
1812
|
-
|
|
1817
|
+
React.createElement('meta', {
|
|
1813
1818
|
property: 'og:title',
|
|
1814
1819
|
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1815
1820
|
key: 'og:title'
|
|
1816
1821
|
}),
|
|
1817
|
-
|
|
1822
|
+
React.createElement('meta', {
|
|
1818
1823
|
property: 'og:image',
|
|
1819
1824
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1820
1825
|
key: 'og:image'
|
|
1821
1826
|
}),
|
|
1822
|
-
|
|
1823
|
-
metaDescriptionSanity ?
|
|
1824
|
-
|
|
1825
|
-
|
|
1827
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1828
|
+
metaDescriptionSanity ? React.createElement('meta', { property: 'og:description', key: 'og:description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { property: 'og:description', key: 'og:description', content: meta_description }),
|
|
1829
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1830
|
+
React.createElement('meta', {
|
|
1826
1831
|
name: 'twitter:title',
|
|
1827
1832
|
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1828
1833
|
key: 'twitter:title'
|
|
1829
1834
|
}),
|
|
1830
|
-
|
|
1835
|
+
React.createElement('meta', {
|
|
1831
1836
|
name: 'twitter:image',
|
|
1832
1837
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1833
1838
|
key: 'twitter:image'
|
|
1834
1839
|
}),
|
|
1835
|
-
|
|
1836
|
-
metaDescriptionSanity ?
|
|
1837
|
-
canonicalTag &&
|
|
1840
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1841
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: meta_description }),
|
|
1842
|
+
canonicalTag && React.createElement('link', {
|
|
1838
1843
|
rel: 'canonical',
|
|
1839
1844
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1840
1845
|
key: 'canonical'
|
|
1841
1846
|
}),
|
|
1842
|
-
|
|
1847
|
+
React.createElement(
|
|
1843
1848
|
'noscript',
|
|
1844
1849
|
null,
|
|
1845
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1846
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1850
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1851
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1847
1852
|
)
|
|
1848
1853
|
),
|
|
1849
|
-
!needInfiniteScroll ?
|
|
1854
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1850
1855
|
infiniteScroll: true,
|
|
1851
1856
|
showRelatedArticles: showRelatedArticles,
|
|
1852
1857
|
canonicalTag: canonicalTag,
|