@mjhls/mjh-framework 1.0.711-beta.2 → 1.0.711-cors-proxy
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/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +10 -9
- package/dist/cjs/AD300x250x600.js +10 -9
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +12 -11
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-5a561d7c.js → ADInfeed-71e2533d.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +12 -11
- package/dist/cjs/ADWebcast.js +12 -11
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-c50f81d4.js → ADlgInfeed-2c6a814f.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +7 -6
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +12 -12
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +232 -144
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/BrowseVideosListing.js +29 -29
- package/dist/cjs/CMEDeck.js +63 -63
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +19 -18
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +77 -73
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-ce7ac168.js → Dfp-234d2d8e.js} +21 -20
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +153 -149
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +43 -43
- package/dist/cjs/HamMagazine.js +119 -114
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +19 -18
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +51 -50
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +121 -116
- package/dist/cjs/NavNative.js +107 -99
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +72 -72
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +64 -60
- package/dist/cjs/QueueDeckExpanded.js +270 -270
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +22 -21
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-87578cd1.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TaxonomyDescription.js +23 -23
- package/dist/cjs/TemplateNormal.js +36 -35
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesCard.js +24 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesListing.js +56 -56
- package/dist/cjs/View.js +183 -180
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +51 -51
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getRelatedArticle.js +8 -8
- package/dist/cjs/getSerializers.js +12 -13
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-fee8c429.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-3294d3bc.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-8a3fb0bc.js} +12 -10
- package/dist/cjs/{index-9b8a57e5.js → index-ad961307.js} +811 -788
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index-8bf6c863.js → index-e08f00ce.js} +9 -8
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +31 -37
- package/dist/cjs/{inherits-c9f99d47.js → inherits-87492b40.js} +1 -1
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-95231a70.js} +50 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -7
- package/dist/esm/AD300x250x600.js +7 -7
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +9 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-d4c94a16.js → ADInfeed-73a22dad.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-5b170d9e.js → ADlgInfeed-e5c107b7.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +9 -10
- package/dist/esm/ArticleSeriesListing.js +35 -36
- package/dist/esm/Auth.js +209 -125
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-23afa074.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/BrowseVideosListing.js +26 -27
- package/dist/esm/CMEDeck.js +60 -60
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +14 -14
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +54 -54
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-14e866d7.js → Dfp-f9463b48.js} +10 -10
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +40 -41
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +111 -111
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +37 -38
- package/dist/esm/HamMagazine.js +86 -86
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +16 -16
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +44 -44
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +90 -90
- package/dist/esm/NavNative.js +72 -72
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +67 -68
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +35 -35
- package/dist/esm/PublicationLanding.js +35 -35
- package/dist/esm/QueueDeckExpanded.js +251 -251
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +17 -17
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-8ac29f4f.js → SocialSearchComponent-91c19daa.js} +25 -25
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TaxonomyDescription.js +17 -18
- package/dist/esm/TemplateNormal.js +29 -29
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +17 -17
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesListing.js +49 -50
- package/dist/esm/View.js +158 -159
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +36 -37
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +12 -13
- package/dist/esm/{index-4d1ed4ba.js → index-1a7c57c9.js} +748 -732
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-a9e53f80.js → index-acfb8079.js} +3 -3
- package/dist/esm/{index-ef6d5dcf.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +26 -30
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-596840e8.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-4b699764.js} +51 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-08f2c380.js → typeof-ee095d0c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/VideoProgramLandingPage.js +0 -247
- package/dist/cjs/VideoSeriesLandingPage.js +0 -177
- package/dist/cjs/index-187c967e.js +0 -54
- package/dist/esm/VideoProgramLandingPage.js +0 -242
- package/dist/esm/VideoSeriesLandingPage.js +0 -172
- package/dist/esm/index-c7e2ac95.js +0 -52
package/dist/esm/View.js
CHANGED
|
@@ -8,25 +8,25 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
8
8
|
import './_object-pie-71ac75a4.js';
|
|
9
9
|
import { _ as _extends, a as _Object$assign } from './extends-cc5da797.js';
|
|
10
10
|
import './_object-sap-4d59d5bd.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-596840e8.js';
|
|
12
12
|
import './define-property-de3fc946.js';
|
|
13
13
|
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-
|
|
14
|
+
import { _ as _typeof } from './typeof-ee095d0c.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
|
-
import
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
16
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-acfb8079.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import 'react-bootstrap/Row';
|
|
20
20
|
import 'react-bootstrap/Col';
|
|
21
|
-
import { m as moment } from './moment-
|
|
21
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
22
22
|
import { useRouter } from 'next/router';
|
|
23
23
|
import './isSymbol-807e927e.js';
|
|
24
24
|
import './debounce-1a993acf.js';
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-
|
|
25
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
26
26
|
import 'react-dom';
|
|
27
|
-
import './index-
|
|
28
|
-
import './index-
|
|
29
|
-
import { m as
|
|
27
|
+
import './index-51a80699.js';
|
|
28
|
+
import './index-c5fd0af5.js';
|
|
29
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
30
30
|
import './entities-7cc3bf45.js';
|
|
31
31
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
32
32
|
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
@@ -35,18 +35,17 @@ import './_set-species-cede29f8.js';
|
|
|
35
35
|
import './Segment.js';
|
|
36
36
|
import './Beam.js';
|
|
37
37
|
import DFPAdSlot from './AdSlot.js';
|
|
38
|
-
import { B as BlockContent } from './BlockContent-
|
|
39
|
-
import './
|
|
40
|
-
import './smoothscroll-0cd4c7a6.js';
|
|
38
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
39
|
+
import './smoothscroll-4b699764.js';
|
|
41
40
|
import './GroupDeck.js';
|
|
42
41
|
import 'react-bootstrap';
|
|
43
42
|
import './iconBase-602d52fe.js';
|
|
44
|
-
import './index.esm-
|
|
43
|
+
import './index.esm-3fdda599.js';
|
|
45
44
|
import Button from 'react-bootstrap/Button';
|
|
46
45
|
import Form from 'react-bootstrap/Form';
|
|
47
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
46
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-1a7c57c9.js';
|
|
48
47
|
import './util-7700fc59.js';
|
|
49
|
-
import './brightcove-react-player-loader.es-
|
|
48
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
50
49
|
import 'react-bootstrap/Pagination';
|
|
51
50
|
import Head from 'next/head';
|
|
52
51
|
import 'react-bootstrap/Figure';
|
|
@@ -55,7 +54,7 @@ import SocialShare from './SocialShare.js';
|
|
|
55
54
|
import FormControl from 'react-bootstrap/FormControl';
|
|
56
55
|
import { _ as _Object$keys } from './keys-fc2d4c34.js';
|
|
57
56
|
import 'react-bootstrap/Dropdown';
|
|
58
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-
|
|
57
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
59
58
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
60
59
|
import './index-db3bb315.js';
|
|
61
60
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
@@ -132,17 +131,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
132
131
|
thumbnailUrl = urlFor(client, article.documentGroup.thumbnail).url();
|
|
133
132
|
}
|
|
134
133
|
|
|
135
|
-
return
|
|
134
|
+
return React.createElement(
|
|
136
135
|
'a',
|
|
137
136
|
{
|
|
138
137
|
href: url,
|
|
139
138
|
className: 'doc-group',
|
|
140
139
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
141
|
-
thumbnailUrl &&
|
|
142
|
-
!thumbnailUrl &&
|
|
143
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
140
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
141
|
+
!thumbnailUrl && React.createElement('p', {
|
|
142
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
144
143
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
145
|
-
|
|
144
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
146
145
|
'style',
|
|
147
146
|
{ jsx: 'true' },
|
|
148
147
|
'\n a.doc-group {\n display: block !important;\n padding: 0!important;\n }\n '
|
|
@@ -210,38 +209,38 @@ var ISI = function ISI(props) {
|
|
|
210
209
|
isi.current.style.overflowY = '';
|
|
211
210
|
}
|
|
212
211
|
}, [active]);
|
|
213
|
-
return
|
|
214
|
-
|
|
212
|
+
return React.createElement(
|
|
213
|
+
React.Fragment,
|
|
215
214
|
null,
|
|
216
|
-
|
|
215
|
+
React.createElement(
|
|
217
216
|
'div',
|
|
218
217
|
{ id: 'isi', ref: isi },
|
|
219
|
-
|
|
218
|
+
React.createElement(
|
|
220
219
|
'div',
|
|
221
220
|
{ id: 'isiContent' },
|
|
222
|
-
|
|
221
|
+
React.createElement(
|
|
223
222
|
'div',
|
|
224
223
|
{ onClick: function onClick() {
|
|
225
224
|
return setActive(function (prev) {
|
|
226
225
|
return !prev;
|
|
227
226
|
});
|
|
228
227
|
}, id: 'isiToggle' },
|
|
229
|
-
active ?
|
|
228
|
+
active ? React.createElement(
|
|
230
229
|
'p',
|
|
231
230
|
null,
|
|
232
231
|
'Close ',
|
|
233
|
-
|
|
234
|
-
) :
|
|
232
|
+
React.createElement(FaMinus, null)
|
|
233
|
+
) : React.createElement(
|
|
235
234
|
'p',
|
|
236
235
|
null,
|
|
237
236
|
'See More ',
|
|
238
|
-
|
|
237
|
+
React.createElement(FaPlus, null)
|
|
239
238
|
)
|
|
240
239
|
),
|
|
241
240
|
children
|
|
242
241
|
)
|
|
243
242
|
),
|
|
244
|
-
|
|
243
|
+
React.createElement(
|
|
245
244
|
'style',
|
|
246
245
|
{ jsx: true },
|
|
247
246
|
'\n #isi {\n position: fixed;\n z-index: 99999;\n bottom: 0;\n left: 0;\n max-height: 10rem;\n background-color: #ffffff;\n overflow-x: hidden;\n overflow-y: hidden;\n transition: max-height 0.2s;\n width: 100%;\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);\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 '
|
|
@@ -260,29 +259,29 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
260
259
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
261
260
|
return null;
|
|
262
261
|
}
|
|
263
|
-
return
|
|
262
|
+
return React.createElement(
|
|
264
263
|
'div',
|
|
265
264
|
{ className: styles.mediaContainer },
|
|
266
265
|
articles.map(function (article, index) {
|
|
267
|
-
return
|
|
266
|
+
return React.createElement(
|
|
268
267
|
'div',
|
|
269
268
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
270
|
-
|
|
269
|
+
React.createElement(
|
|
271
270
|
'a',
|
|
272
271
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
273
|
-
article.thumbnail &&
|
|
272
|
+
article.thumbnail && React.createElement('img', {
|
|
274
273
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
275
274
|
src: article.thumbnail && urlFor(client, article.thumbnail.asset).width(250).url(),
|
|
276
275
|
alt: article.title
|
|
277
276
|
})
|
|
278
277
|
),
|
|
279
|
-
|
|
278
|
+
React.createElement(
|
|
280
279
|
'div',
|
|
281
280
|
{ className: styles.mediaBody },
|
|
282
|
-
|
|
281
|
+
React.createElement(
|
|
283
282
|
'a',
|
|
284
283
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
285
|
-
|
|
284
|
+
React.createElement(
|
|
286
285
|
'h4',
|
|
287
286
|
{ className: styles.cardTitle },
|
|
288
287
|
article.title
|
|
@@ -470,7 +469,7 @@ var Article = function Article(props) {
|
|
|
470
469
|
};
|
|
471
470
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
472
471
|
if (biography) {
|
|
473
|
-
return
|
|
472
|
+
return React.createElement(BlockContent, _extends({
|
|
474
473
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
475
474
|
blocks: [biography]
|
|
476
475
|
}, client.config()));
|
|
@@ -480,9 +479,9 @@ var Article = function Article(props) {
|
|
|
480
479
|
var url = article.url.current;
|
|
481
480
|
|
|
482
481
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
483
|
-
return
|
|
482
|
+
return React.createElement(ISIContent, null);
|
|
484
483
|
} else if (nationalPage === url && ISIContent) {
|
|
485
|
-
return
|
|
484
|
+
return React.createElement(ISIContent, { national: true });
|
|
486
485
|
}
|
|
487
486
|
return null;
|
|
488
487
|
};
|
|
@@ -510,19 +509,19 @@ var Article = function Article(props) {
|
|
|
510
509
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: '/publications/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
511
510
|
}
|
|
512
511
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
513
|
-
return
|
|
512
|
+
return React.createElement(
|
|
514
513
|
'div',
|
|
515
514
|
null,
|
|
516
515
|
relatedLinks.map(function (relatedLink, index) {
|
|
517
|
-
return
|
|
516
|
+
return React.createElement(
|
|
518
517
|
'span',
|
|
519
518
|
{ key: index, className: 'related-link' },
|
|
520
|
-
|
|
519
|
+
React.createElement(
|
|
521
520
|
'a',
|
|
522
521
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
523
522
|
relatedLink.label
|
|
524
523
|
),
|
|
525
|
-
|
|
524
|
+
React.createElement(
|
|
526
525
|
'style',
|
|
527
526
|
{ jsx: 'true' },
|
|
528
527
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -537,50 +536,50 @@ var Article = function Article(props) {
|
|
|
537
536
|
};
|
|
538
537
|
|
|
539
538
|
var RelatedContent = function RelatedContent() {
|
|
540
|
-
return
|
|
539
|
+
return React.createElement(
|
|
541
540
|
'section',
|
|
542
541
|
{ id: 'related-content-section', className: 'my-1' },
|
|
543
|
-
|
|
542
|
+
React.createElement(
|
|
544
543
|
'p',
|
|
545
544
|
{ className: 'mb-0' },
|
|
546
|
-
|
|
545
|
+
React.createElement(
|
|
547
546
|
'b',
|
|
548
547
|
null,
|
|
549
548
|
'Related Content:'
|
|
550
549
|
)
|
|
551
550
|
),
|
|
552
|
-
|
|
553
|
-
|
|
551
|
+
React.createElement(RelevantTopics, null),
|
|
552
|
+
React.createElement(
|
|
554
553
|
'div',
|
|
555
554
|
{ className: 'pt-2' },
|
|
556
|
-
|
|
555
|
+
React.createElement(RelatedArticle, { articles: article.relatedArticle, client: client })
|
|
557
556
|
)
|
|
558
557
|
);
|
|
559
558
|
};
|
|
560
559
|
|
|
561
560
|
var form = function form() {
|
|
562
|
-
return
|
|
563
|
-
|
|
561
|
+
return React.createElement(
|
|
562
|
+
React.Fragment,
|
|
564
563
|
null,
|
|
565
|
-
|
|
564
|
+
React.createElement(
|
|
566
565
|
Head,
|
|
567
566
|
null,
|
|
568
|
-
|
|
567
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
569
568
|
),
|
|
570
|
-
|
|
569
|
+
React.createElement(
|
|
571
570
|
'div',
|
|
572
571
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
573
|
-
|
|
572
|
+
React.createElement(
|
|
574
573
|
Form,
|
|
575
574
|
{
|
|
576
575
|
inline: true,
|
|
577
576
|
onSubmit: function onSubmit(e) {
|
|
578
577
|
e.preventDefault();
|
|
579
578
|
} },
|
|
580
|
-
|
|
579
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
581
580
|
return setPasswordKey(e.target.value);
|
|
582
581
|
}, placeholder: 'Password' }),
|
|
583
|
-
|
|
582
|
+
React.createElement(
|
|
584
583
|
Button,
|
|
585
584
|
{
|
|
586
585
|
variant: 'primary',
|
|
@@ -641,27 +640,27 @@ var Article = function Article(props) {
|
|
|
641
640
|
setContextualADFlag(true);
|
|
642
641
|
}
|
|
643
642
|
};
|
|
644
|
-
return
|
|
645
|
-
|
|
643
|
+
return React.createElement(
|
|
644
|
+
React.Fragment,
|
|
646
645
|
null,
|
|
647
|
-
|
|
646
|
+
React.createElement(BlockContent, _extends({
|
|
648
647
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting),
|
|
649
648
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
650
649
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
651
650
|
}, client.config())),
|
|
652
|
-
|
|
653
|
-
|
|
651
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
652
|
+
React.createElement(
|
|
654
653
|
'div',
|
|
655
654
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
656
|
-
|
|
655
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, { refreshFlag: refreshFlag, checkIsAdFound: previewAd ? null : checkIsAdFound }))
|
|
657
656
|
),
|
|
658
|
-
|
|
659
|
-
|
|
657
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
658
|
+
React.createElement(
|
|
660
659
|
'div',
|
|
661
660
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
662
|
-
|
|
661
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
663
662
|
),
|
|
664
|
-
|
|
663
|
+
React.createElement(BlockContent, _extends({
|
|
665
664
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting),
|
|
666
665
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
667
666
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -713,22 +712,22 @@ var Article = function Article(props) {
|
|
|
713
712
|
}
|
|
714
713
|
};
|
|
715
714
|
|
|
716
|
-
return
|
|
717
|
-
|
|
715
|
+
return React.createElement(
|
|
716
|
+
React.Fragment,
|
|
718
717
|
null,
|
|
719
|
-
|
|
718
|
+
React.createElement(BlockContent, _extends({
|
|
720
719
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting),
|
|
721
720
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
722
721
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
723
722
|
}, client.config())),
|
|
724
|
-
contextualADFlag &&
|
|
725
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
723
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
724
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
726
725
|
'div',
|
|
727
726
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
728
|
-
|
|
727
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, { refreshFlag: refreshFlag, checkIsAdFound: previewAd ? null : _checkIsAdFound }))
|
|
729
728
|
),
|
|
730
|
-
contextualADFlag &&
|
|
731
|
-
|
|
729
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
730
|
+
React.createElement(BlockContent, _extends({
|
|
732
731
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting),
|
|
733
732
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
734
733
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -756,28 +755,28 @@ var Article = function Article(props) {
|
|
|
756
755
|
}
|
|
757
756
|
};
|
|
758
757
|
|
|
759
|
-
return
|
|
760
|
-
|
|
758
|
+
return React.createElement(
|
|
759
|
+
React.Fragment,
|
|
761
760
|
null,
|
|
762
|
-
|
|
761
|
+
React.createElement(BlockContent, _extends({
|
|
763
762
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting),
|
|
764
763
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
765
764
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
766
765
|
}, client.config())),
|
|
767
|
-
|
|
768
|
-
|
|
766
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
767
|
+
React.createElement(
|
|
769
768
|
'div',
|
|
770
769
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
771
|
-
|
|
770
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
772
771
|
),
|
|
773
|
-
|
|
772
|
+
React.createElement(BlockContent, _extends({
|
|
774
773
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting),
|
|
775
774
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
776
775
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
777
776
|
}, client.config()))
|
|
778
777
|
);
|
|
779
778
|
} else {
|
|
780
|
-
return
|
|
779
|
+
return React.createElement(BlockContent, _extends({
|
|
781
780
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting, article),
|
|
782
781
|
blocks: articleBody,
|
|
783
782
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -815,10 +814,10 @@ var Article = function Article(props) {
|
|
|
815
814
|
};
|
|
816
815
|
}
|
|
817
816
|
|
|
818
|
-
return
|
|
819
|
-
|
|
817
|
+
return React.createElement(
|
|
818
|
+
React.Fragment,
|
|
820
819
|
null,
|
|
821
|
-
|
|
820
|
+
React.createElement(
|
|
822
821
|
InscreenSensor,
|
|
823
822
|
{
|
|
824
823
|
offSetTop: 120,
|
|
@@ -831,49 +830,49 @@ var Article = function Article(props) {
|
|
|
831
830
|
setVisibleFlag(true);
|
|
832
831
|
}
|
|
833
832
|
} },
|
|
834
|
-
|
|
833
|
+
React.createElement(
|
|
835
834
|
'div',
|
|
836
835
|
null,
|
|
837
|
-
|
|
836
|
+
React.createElement(
|
|
838
837
|
'div',
|
|
839
838
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
840
|
-
|
|
839
|
+
React.createElement(
|
|
841
840
|
'h1',
|
|
842
841
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
843
842
|
title
|
|
844
843
|
),
|
|
845
|
-
|
|
844
|
+
React.createElement(
|
|
846
845
|
'div',
|
|
847
846
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
848
|
-
|
|
847
|
+
React.createElement(
|
|
849
848
|
'style',
|
|
850
849
|
{ jsx: 'true' },
|
|
851
850
|
'\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 '
|
|
852
851
|
),
|
|
853
|
-
|
|
852
|
+
React.createElement(
|
|
854
853
|
'div',
|
|
855
854
|
{ className: 'left-wrap' },
|
|
856
|
-
showPublished &&
|
|
855
|
+
showPublished && React.createElement(
|
|
857
856
|
'div',
|
|
858
857
|
null,
|
|
859
858
|
moment(published).format('LL')
|
|
860
859
|
)
|
|
861
860
|
/* Show Published date */
|
|
862
861
|
,
|
|
863
|
-
|
|
862
|
+
React.createElement(
|
|
864
863
|
'div',
|
|
865
864
|
{ className: 'mb-3' },
|
|
866
865
|
authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
867
|
-
return
|
|
866
|
+
return React.createElement(
|
|
868
867
|
'span',
|
|
869
868
|
{ key: index },
|
|
870
869
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor(props.client, authorDetail.profileImage).height(authorImgHeight).url())
|
|
871
870
|
);
|
|
872
871
|
}),
|
|
873
|
-
|
|
872
|
+
React.createElement(
|
|
874
873
|
'div',
|
|
875
874
|
null,
|
|
876
|
-
source &&
|
|
875
|
+
source && React.createElement(
|
|
877
876
|
'p',
|
|
878
877
|
{
|
|
879
878
|
style: {
|
|
@@ -888,13 +887,13 @@ var Article = function Article(props) {
|
|
|
888
887
|
source
|
|
889
888
|
)
|
|
890
889
|
),
|
|
891
|
-
issue &&
|
|
890
|
+
issue && React.createElement(
|
|
892
891
|
'div',
|
|
893
892
|
{ className: 'volume-issue' },
|
|
894
|
-
issue.publication && issue.publication.name &&
|
|
893
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
895
894
|
'span',
|
|
896
895
|
{ className: 'mb-0' },
|
|
897
|
-
|
|
896
|
+
React.createElement(
|
|
898
897
|
'b',
|
|
899
898
|
null,
|
|
900
899
|
issue.publication.name
|
|
@@ -902,34 +901,34 @@ var Article = function Article(props) {
|
|
|
902
901
|
',',
|
|
903
902
|
' '
|
|
904
903
|
),
|
|
905
|
-
issue.name &&
|
|
904
|
+
issue.name && React.createElement(
|
|
906
905
|
'span',
|
|
907
906
|
{ className: 'mb-0' },
|
|
908
907
|
issue.name,
|
|
909
908
|
', '
|
|
910
909
|
),
|
|
911
|
-
issue.volume &&
|
|
910
|
+
issue.volume && React.createElement(
|
|
912
911
|
'span',
|
|
913
912
|
null,
|
|
914
913
|
'Volume ' + issue.volume,
|
|
915
914
|
','
|
|
916
915
|
),
|
|
917
|
-
issue.issueNumber &&
|
|
916
|
+
issue.issueNumber && React.createElement(
|
|
918
917
|
'span',
|
|
919
918
|
null,
|
|
920
919
|
' Issue ' + issue.issueNumber
|
|
921
920
|
)
|
|
922
921
|
),
|
|
923
|
-
pageNumber &&
|
|
922
|
+
pageNumber && React.createElement(
|
|
924
923
|
'div',
|
|
925
924
|
{ className: 'article-pageNumber' },
|
|
926
925
|
'Page Number: ' + pageNumber
|
|
927
926
|
)
|
|
928
927
|
),
|
|
929
|
-
|
|
928
|
+
React.createElement(
|
|
930
929
|
'p',
|
|
931
930
|
null,
|
|
932
|
-
|
|
931
|
+
React.createElement(SocialShare, {
|
|
933
932
|
shareUrl: shareUrl,
|
|
934
933
|
shareTitle: shareTitle,
|
|
935
934
|
shareVia: shareVia,
|
|
@@ -945,27 +944,27 @@ var Article = function Article(props) {
|
|
|
945
944
|
})
|
|
946
945
|
)
|
|
947
946
|
),
|
|
948
|
-
|
|
947
|
+
React.createElement(
|
|
949
948
|
'div',
|
|
950
949
|
null,
|
|
951
|
-
|
|
950
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
952
951
|
)
|
|
953
952
|
),
|
|
954
|
-
summary &&
|
|
953
|
+
summary && React.createElement(
|
|
955
954
|
'p',
|
|
956
955
|
null,
|
|
957
|
-
|
|
956
|
+
React.createElement(
|
|
958
957
|
'em',
|
|
959
958
|
null,
|
|
960
959
|
summary
|
|
961
960
|
)
|
|
962
961
|
),
|
|
963
|
-
|
|
962
|
+
React.createElement(
|
|
964
963
|
'div',
|
|
965
964
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
966
|
-
|
|
965
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
967
966
|
if (index === 0) {
|
|
968
|
-
return
|
|
967
|
+
return React.createElement(
|
|
969
968
|
'div',
|
|
970
969
|
{
|
|
971
970
|
key: index,
|
|
@@ -982,24 +981,24 @@ var Article = function Article(props) {
|
|
|
982
981
|
}
|
|
983
982
|
})
|
|
984
983
|
),
|
|
985
|
-
|
|
984
|
+
React.createElement(
|
|
986
985
|
'div',
|
|
987
986
|
{ className: 'block-content mt-3' },
|
|
988
987
|
renderBlockContent(article),
|
|
989
|
-
|
|
990
|
-
|
|
988
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
989
|
+
React.createElement(
|
|
991
990
|
'noscript',
|
|
992
991
|
null,
|
|
993
|
-
|
|
992
|
+
React.createElement(
|
|
994
993
|
'div',
|
|
995
994
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
996
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
995
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
997
996
|
'a',
|
|
998
997
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
999
998
|
'Previous ',
|
|
1000
999
|
props.article.seriesDetail.type
|
|
1001
1000
|
),
|
|
1002
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1001
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1003
1002
|
'a',
|
|
1004
1003
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1005
1004
|
'Next ',
|
|
@@ -1007,44 +1006,44 @@ var Article = function Article(props) {
|
|
|
1007
1006
|
)
|
|
1008
1007
|
)
|
|
1009
1008
|
),
|
|
1010
|
-
issue && issue.url &&
|
|
1009
|
+
issue && issue.url && React.createElement(
|
|
1011
1010
|
'a',
|
|
1012
1011
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1013
|
-
|
|
1012
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1014
1013
|
'Download Issue : ',
|
|
1015
1014
|
issue.name
|
|
1016
1015
|
)
|
|
1017
1016
|
),
|
|
1018
|
-
|
|
1019
|
-
showRelatedArticles && !showIsi &&
|
|
1017
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1018
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null)
|
|
1020
1019
|
),
|
|
1021
1020
|
renderIsiContent(props.article)
|
|
1022
1021
|
),
|
|
1023
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1022
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1024
1023
|
ISI,
|
|
1025
1024
|
null,
|
|
1026
|
-
|
|
1025
|
+
React.createElement(BlockContent, {
|
|
1027
1026
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1028
1027
|
blocks: isi
|
|
1029
1028
|
})
|
|
1030
1029
|
)
|
|
1031
1030
|
),
|
|
1032
|
-
|
|
1031
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1033
1032
|
if (index > 0) {
|
|
1034
|
-
return
|
|
1033
|
+
return React.createElement(
|
|
1035
1034
|
'div',
|
|
1036
1035
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1037
1036
|
ad.component
|
|
1038
1037
|
);
|
|
1039
1038
|
}
|
|
1040
1039
|
}),
|
|
1041
|
-
|
|
1040
|
+
React.createElement(
|
|
1042
1041
|
'noscript',
|
|
1043
1042
|
null,
|
|
1044
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1043
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1045
1044
|
'div',
|
|
1046
1045
|
{ style: { textAlign: 'center' } },
|
|
1047
|
-
|
|
1046
|
+
React.createElement(
|
|
1048
1047
|
'a',
|
|
1049
1048
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1050
1049
|
'Related Article ',
|
|
@@ -1052,7 +1051,7 @@ var Article = function Article(props) {
|
|
|
1052
1051
|
)
|
|
1053
1052
|
)
|
|
1054
1053
|
),
|
|
1055
|
-
|
|
1054
|
+
React.createElement('hr', { className: 'article-seperater mb-5 mt-3' })
|
|
1056
1055
|
);
|
|
1057
1056
|
};
|
|
1058
1057
|
|
|
@@ -1102,7 +1101,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1102
1101
|
});
|
|
1103
1102
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1104
1103
|
|
|
1105
|
-
if (!
|
|
1104
|
+
if (!main_40) {
|
|
1106
1105
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1107
1106
|
if (window.googletag && googletag.pubadsReady) {
|
|
1108
1107
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1120,7 +1119,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1120
1119
|
});
|
|
1121
1120
|
}
|
|
1122
1121
|
//Refresh leaderboard ad on mobile
|
|
1123
|
-
if (
|
|
1122
|
+
if (main_40) {
|
|
1124
1123
|
var leaderboardSlotId = '';
|
|
1125
1124
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1126
1125
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1304,11 +1303,11 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1304
1303
|
}
|
|
1305
1304
|
};
|
|
1306
1305
|
|
|
1307
|
-
return
|
|
1306
|
+
return React.createElement(
|
|
1308
1307
|
InfiniteScroll,
|
|
1309
1308
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '60%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1310
1309
|
queueData.map(function (article, index) {
|
|
1311
|
-
return
|
|
1310
|
+
return React.createElement(Article, _extends({
|
|
1312
1311
|
key: index
|
|
1313
1312
|
}, props, {
|
|
1314
1313
|
onChangeArticle: onChangeArticle,
|
|
@@ -1434,74 +1433,74 @@ var View = function View(props) {
|
|
|
1434
1433
|
setCurrentPage(0);
|
|
1435
1434
|
}
|
|
1436
1435
|
}, [router]);
|
|
1437
|
-
return
|
|
1438
|
-
|
|
1436
|
+
return React.createElement(
|
|
1437
|
+
React.Fragment,
|
|
1439
1438
|
null,
|
|
1440
|
-
|
|
1439
|
+
React.createElement(
|
|
1441
1440
|
Head,
|
|
1442
1441
|
null,
|
|
1443
|
-
|
|
1442
|
+
React.createElement(
|
|
1444
1443
|
'title',
|
|
1445
1444
|
{ key: 'title' },
|
|
1446
1445
|
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 : '') + ' | ' + props.cache.siteSettingCache.name
|
|
1447
1446
|
),
|
|
1448
|
-
shareOptions.shareSummary &&
|
|
1447
|
+
shareOptions.shareSummary && React.createElement('meta', {
|
|
1449
1448
|
name: 'description',
|
|
1450
1449
|
key: 'description',
|
|
1451
1450
|
content: seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.meta_description ? '' + article.seo.meta_description + (currentPage > 0 ? ' | Page ' + currentPage : '') : shareOptions.shareSummary ? '' + shareOptions.shareSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + (currentPage > 0 ? 'Page ' + currentPage : '') }),
|
|
1452
|
-
|
|
1453
|
-
passwordLock &&
|
|
1454
|
-
|
|
1451
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1452
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1453
|
+
React.createElement('meta', {
|
|
1455
1454
|
property: 'og:url',
|
|
1456
1455
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1457
1456
|
key: 'og:url'
|
|
1458
1457
|
}),
|
|
1459
|
-
|
|
1458
|
+
React.createElement('meta', {
|
|
1460
1459
|
property: 'og:title',
|
|
1461
1460
|
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 : ''),
|
|
1462
1461
|
key: 'og:title'
|
|
1463
1462
|
}),
|
|
1464
|
-
|
|
1463
|
+
React.createElement('meta', {
|
|
1465
1464
|
property: 'og:image',
|
|
1466
1465
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1467
1466
|
key: 'og:image'
|
|
1468
1467
|
}),
|
|
1469
|
-
|
|
1470
|
-
|
|
1468
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1469
|
+
React.createElement('meta', {
|
|
1471
1470
|
property: 'og:description',
|
|
1472
1471
|
content: seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : shareOptions.shareSummary ? '' + shareOptions.shareSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1473
1472
|
key: 'og:description'
|
|
1474
1473
|
}),
|
|
1475
|
-
|
|
1476
|
-
|
|
1474
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1475
|
+
React.createElement('meta', {
|
|
1477
1476
|
name: 'twitter:title',
|
|
1478
1477
|
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 : ''),
|
|
1479
1478
|
key: 'twitter:title'
|
|
1480
1479
|
}),
|
|
1481
|
-
|
|
1480
|
+
React.createElement('meta', {
|
|
1482
1481
|
name: 'twitter:image',
|
|
1483
1482
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1484
1483
|
key: 'twitter:image'
|
|
1485
1484
|
}),
|
|
1486
|
-
|
|
1487
|
-
|
|
1485
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1486
|
+
React.createElement('meta', {
|
|
1488
1487
|
name: 'twitter:description',
|
|
1489
1488
|
content: seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : shareOptions.shareSummary ? '' + shareOptions.shareSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1490
1489
|
key: 'twitter:description'
|
|
1491
1490
|
}),
|
|
1492
|
-
canonicalTag &&
|
|
1491
|
+
canonicalTag && React.createElement('link', {
|
|
1493
1492
|
rel: 'canonical',
|
|
1494
1493
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1495
1494
|
key: 'canonical'
|
|
1496
1495
|
}),
|
|
1497
|
-
|
|
1496
|
+
React.createElement(
|
|
1498
1497
|
'noscript',
|
|
1499
1498
|
null,
|
|
1500
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1501
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1499
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1500
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1502
1501
|
)
|
|
1503
1502
|
),
|
|
1504
|
-
!needInfiniteScroll ?
|
|
1503
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1505
1504
|
infiniteScroll: true,
|
|
1506
1505
|
showRelatedArticles: showRelatedArticles,
|
|
1507
1506
|
canonicalTag: canonicalTag,
|