@mjhls/mjh-framework 1.0.877-v1pageviewfix → 1.0.878
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +68 -134
- package/dist/cjs/ArticleCarousel.js +2 -2
- package/dist/cjs/ArticleProgramLandingPage.js +8 -8
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +3 -3
- package/dist/cjs/AuthWrapper.js +293 -1469
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-36e54d77.js} +1 -1
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/DeckContent.js +4 -4
- package/dist/cjs/DeckQueue.js +3 -3
- package/dist/cjs/EventsDeck.js +9 -3
- package/dist/cjs/ExternalResources.js +8 -8
- package/dist/cjs/Feature.js +2 -2
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +5 -5
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +6 -6
- package/dist/cjs/Hero.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +8 -8
- package/dist/cjs/HorizontalHero.js +3 -3
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +10 -10
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +4 -4
- package/dist/cjs/MediaSeriesLanding.js +24 -128
- package/dist/cjs/NavMagazine.js +6 -6
- package/dist/cjs/NavNative.js +3 -3
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +17 -2643
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +5 -5
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +0 -4
- package/dist/cjs/QueueDeckExpanded.js +5 -5
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/SeriesListingDeck.js +3 -3
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-ce3261cb.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-5ec44406.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +8 -8
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/ThumbnailCard.js +2 -2
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +8 -8
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +4 -4
- package/dist/cjs/View.js +19 -23
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +2 -2
- package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
- package/dist/cjs/getRelatedArticle.js +2 -2
- package/dist/cjs/getSerializers.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
- package/dist/cjs/{index-602af93b.js → index-e2ec2eae.js} +5 -5
- package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
- 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 +17 -18
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{util-93a37fd0.js → util-6f784d85.js} +0 -11
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +13 -13
- package/dist/esm/AD300x250x600.js +13 -13
- package/dist/esm/AD728x90.js +14 -14
- package/dist/esm/ADFloatingFooter.js +16 -16
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +16 -16
- package/dist/esm/{ADInfeed-19675d06.js → ADInfeed-014c7bd1.js} +6 -6
- package/dist/esm/ADSkyscraper.js +16 -16
- package/dist/esm/ADSponsoredResources.js +16 -16
- package/dist/esm/ADWebcast.js +16 -16
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-970ed008.js → ADlgInfeed-75e097f4.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -21
- package/dist/esm/AdSlot.js +12 -12
- package/dist/esm/AdSlotsProvider.js +9 -9
- package/dist/esm/AlgoliaSearch.js +288 -354
- package/dist/esm/AlphabeticList.js +19 -19
- package/dist/esm/ArticleCarousel.js +11 -11
- package/dist/esm/ArticleProgramLandingPage.js +34 -34
- package/dist/esm/ArticleSeriesLandingPage.js +26 -26
- package/dist/esm/ArticleSeriesListing.js +41 -41
- package/dist/esm/Auth.js +81 -81
- package/dist/esm/AuthWrapper.js +312 -1488
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -5
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-52cf21c5.js} +4 -4
- package/dist/esm/Breadcrumbs.js +14 -14
- package/dist/esm/CMEDeck.js +68 -68
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -18
- package/dist/esm/Column3.js +32 -32
- package/dist/esm/ConferenceArticleCard.js +17 -17
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +64 -64
- package/dist/esm/DeckQueue.js +55 -55
- package/dist/esm/{Dfp-102f0beb.js → Dfp-4ca12f2e.js} +13 -13
- package/dist/esm/EventsDeck.js +82 -76
- package/dist/esm/ExternalResources.js +52 -52
- package/dist/esm/Feature.js +19 -19
- package/dist/esm/ForbesHero.js +30 -30
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +32 -32
- package/dist/esm/GroupDeck.js +40 -40
- package/dist/esm/HamMagazine.js +91 -91
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +11 -11
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +48 -48
- package/dist/esm/HorizontalHero.js +24 -24
- package/dist/esm/IssueContentDeck.js +43 -43
- package/dist/esm/IssueDeck.js +40 -40
- package/dist/esm/IssueLanding.js +39 -39
- package/dist/esm/LeftNav.js +23 -23
- package/dist/esm/MasterDeck.js +52 -52
- package/dist/esm/MediaSeriesLanding.js +355 -459
- package/dist/esm/NavDvm.js +48 -48
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +94 -94
- package/dist/esm/NavNative.js +82 -82
- package/dist/esm/OncliveHero.js +17 -17
- package/dist/esm/OncliveLargeHero.js +55 -55
- package/dist/esm/PageFilter.js +9 -9
- package/dist/esm/PartnerDetailListing.js +88 -2713
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -11
- package/dist/esm/PubSection.js +24 -24
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +37 -37
- package/dist/esm/PublicationLanding.js +57 -61
- package/dist/esm/QueueDeckExpanded.js +256 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +26 -26
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-7a6c45ce.js} +20 -20
- package/dist/esm/SideFooter.js +25 -25
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-8e0fcf66.js → SocialSearchComponent-bdecba55.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +40 -40
- package/dist/esm/TaxonomyDescription.js +30 -30
- package/dist/esm/TemplateNormal.js +38 -38
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +15 -15
- package/dist/esm/VideoProgramLandingPage.js +41 -41
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -11
- package/dist/esm/VideoSeriesLandingPage.js +26 -26
- package/dist/esm/VideoSeriesListing.js +57 -57
- package/dist/esm/View.js +199 -203
- package/dist/esm/YahooHero.js +28 -28
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-f089461c.js} +1 -1
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-b4dfe691.js} +3 -3
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-e903ff31.js} +1 -1
- package/dist/esm/{define-property-5f1bda73.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
- package/dist/esm/{extends-6d8e3924.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -4
- package/dist/esm/getRelatedArticle.js +7 -7
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +25 -25
- package/dist/esm/{getTargeting-4061f839.js → getTargeting-ff2c9409.js} +2 -2
- package/dist/esm/getTargeting.js +5 -5
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
- package/dist/esm/{index-f0fc23eb.js → index-2446af28.js} +3 -3
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
- package/dist/esm/{index-51694988.js → index-f2783f14.js} +428 -428
- 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 +59 -60
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-8a801a18.js} +4 -4
- package/dist/esm/{keys-31dcdb31.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-1894c974.js → main-4136096f.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-ca2c8b8d.js} +2 -2
- package/dist/esm/{stringify-2b084bee.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-7b1c0e23.js} +2 -2
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-83d9eb10.js} +3 -3
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-3ab476bf.js} +0 -11
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-fdf034f5.js} +1 -1
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/cjs/{ADInfeed-b6b7b0ec.js → ADInfeed-f7e6956b.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-8e290400.js → ADlgInfeed-4df6d147.js} +0 -0
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
3
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
4
|
-
import
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
6
6
|
import Container from 'react-bootstrap/Container';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
9
9
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
11
11
|
import { m as moment } from './moment-bc12cb97.js';
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
|
-
import { L as LazyLoad } from './index-
|
|
14
|
-
import { c as clean_html_1 } from './entities-
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
13
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-014c7bd1.js';
|
|
16
16
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-75e097f4.js';
|
|
18
18
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
19
|
import { g as get_1 } from './get-3c308da4.js';
|
|
20
20
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
21
|
-
import { I as InfiniteScroll } from './index.es-
|
|
21
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
22
22
|
import urlFor from './urlFor.js';
|
|
23
|
-
import { m as main_43 } from './main-
|
|
23
|
+
import { m as main_43 } from './main-4136096f.js';
|
|
24
24
|
import './AD.js';
|
|
25
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
25
|
+
import { A as AuthorComponent } from './AuthorComponent-46a745ba.js';
|
|
26
26
|
import Button from 'react-bootstrap/Button';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
|
-
import './core.get-iterator-method-
|
|
29
|
-
import './_iter-detect-
|
|
28
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
29
|
+
import './_iter-detect-f089461c.js';
|
|
30
30
|
import './_object-pie-133f504a.js';
|
|
31
|
-
import './_object-sap-
|
|
32
|
-
import './define-property-
|
|
33
|
-
import './typeof-
|
|
34
|
-
import './web.dom.iterable-
|
|
35
|
-
import './_is-array-
|
|
31
|
+
import './_object-sap-169d6272.js';
|
|
32
|
+
import './define-property-99e66838.js';
|
|
33
|
+
import './typeof-83d9eb10.js';
|
|
34
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
35
|
+
import './_is-array-893ab020.js';
|
|
36
36
|
import './_library-528f1934.js';
|
|
37
37
|
import './events-6c3a7a63.js';
|
|
38
38
|
import 'prop-types';
|
|
39
39
|
import 'react-dom';
|
|
40
|
-
import './slicedToArray-
|
|
40
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
41
41
|
import './AdSlot.js';
|
|
42
42
|
import './Beam.js';
|
|
43
|
-
import './stringify-
|
|
44
|
-
import './asyncToGenerator-
|
|
43
|
+
import './stringify-c21932b3.js';
|
|
44
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
45
45
|
import './Segment.js';
|
|
46
46
|
import './isSymbol-a7e9aafe.js';
|
|
47
47
|
import './eq-bdcbf886.js';
|
|
48
48
|
import './toNumber-5aeba6e7.js';
|
|
49
|
-
import './index-
|
|
49
|
+
import './index-0dbff1d1.js';
|
|
50
50
|
|
|
51
51
|
var PublicationFeature = function PublicationFeature(_ref) {
|
|
52
52
|
var data = _ref.data,
|
|
@@ -71,20 +71,20 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
71
71
|
thumbnail = data.thumbnail;
|
|
72
72
|
|
|
73
73
|
if (name && articles && articles.length > 0) {
|
|
74
|
-
return
|
|
74
|
+
return React.createElement(
|
|
75
75
|
'div',
|
|
76
76
|
{ className: 'publication-feature-container border rounded p-2' },
|
|
77
|
-
|
|
77
|
+
React.createElement(
|
|
78
78
|
Row,
|
|
79
79
|
null,
|
|
80
|
-
|
|
80
|
+
React.createElement(
|
|
81
81
|
Col,
|
|
82
82
|
{ xs: 12 },
|
|
83
|
-
|
|
83
|
+
React.createElement(
|
|
84
84
|
'h4',
|
|
85
85
|
null,
|
|
86
86
|
name,
|
|
87
|
-
month && year &&
|
|
87
|
+
month && year && React.createElement(
|
|
88
88
|
'span',
|
|
89
89
|
null,
|
|
90
90
|
' ',
|
|
@@ -95,42 +95,42 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
95
95
|
)
|
|
96
96
|
)
|
|
97
97
|
),
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
Col,
|
|
100
100
|
{ xs: 12, sm: 4 },
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
LazyLoad,
|
|
103
103
|
{ once: true },
|
|
104
|
-
|
|
104
|
+
React.createElement('img', { className: 'w-100 mb-2', src: thumbnail && thumbnail.asset && client ? urlFor({ client: client, source: thumbnail.asset }) : defaultImage, alt: name || '' })
|
|
105
105
|
)
|
|
106
106
|
),
|
|
107
|
-
|
|
107
|
+
React.createElement(
|
|
108
108
|
Col,
|
|
109
109
|
{ xs: 12, sm: 8 },
|
|
110
|
-
|
|
110
|
+
React.createElement(
|
|
111
111
|
Row,
|
|
112
112
|
null,
|
|
113
113
|
articles.map(function (article) {
|
|
114
|
-
return
|
|
114
|
+
return React.createElement(
|
|
115
115
|
Col,
|
|
116
116
|
{ key: article._id, xs: 12, sm: 6 },
|
|
117
|
-
article.issueSection && article.issueSection.name &&
|
|
117
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
118
118
|
'h6',
|
|
119
119
|
{ className: 'text-primary m-0 p-0 text-uppercase font-weight-bold' },
|
|
120
120
|
article.issueSection.name
|
|
121
121
|
),
|
|
122
|
-
article.title &&
|
|
123
|
-
|
|
122
|
+
article.title && React.createElement(
|
|
123
|
+
React.Fragment,
|
|
124
124
|
null,
|
|
125
|
-
article.url && article.url.current ?
|
|
125
|
+
article.url && article.url.current ? React.createElement(
|
|
126
126
|
'a',
|
|
127
127
|
{ href: '/view/' + article.url.current },
|
|
128
|
-
|
|
128
|
+
React.createElement(
|
|
129
129
|
'h6',
|
|
130
130
|
{ className: 'text-break' },
|
|
131
131
|
article.title
|
|
132
132
|
)
|
|
133
|
-
) :
|
|
133
|
+
) : React.createElement(
|
|
134
134
|
'h6',
|
|
135
135
|
{ className: 'text-break' },
|
|
136
136
|
article.title
|
|
@@ -140,10 +140,10 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
140
140
|
})
|
|
141
141
|
)
|
|
142
142
|
),
|
|
143
|
-
issueMapping && parentSlug && childSlug &&
|
|
143
|
+
issueMapping && parentSlug && childSlug && React.createElement(
|
|
144
144
|
Col,
|
|
145
145
|
{ xs: 12 },
|
|
146
|
-
|
|
146
|
+
React.createElement(
|
|
147
147
|
Button,
|
|
148
148
|
{ href: issueMapping + '/' + parentSlug + '/' + childSlug, className: 'float-right', variant: 'outline-primary' },
|
|
149
149
|
'More Articles ',
|
|
@@ -151,7 +151,7 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
151
151
|
)
|
|
152
152
|
)
|
|
153
153
|
),
|
|
154
|
-
|
|
154
|
+
React.createElement(
|
|
155
155
|
'style',
|
|
156
156
|
{ jsx: 'true' },
|
|
157
157
|
'\n .row {\n margin-top: -15px;\n margin-left: -15px;\n margin-right: 0;\n }\n .row > * {\n padding-top: 15px;\n padding-left: 15px;\n padding-right: 0;\n }\n '
|
|
@@ -333,7 +333,7 @@ var GridContent = function (_React$Component) {
|
|
|
333
333
|
var rightItems = _this.props.rightItems;
|
|
334
334
|
|
|
335
335
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
336
|
-
return
|
|
336
|
+
return React.createElement(
|
|
337
337
|
'div',
|
|
338
338
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
339
339
|
rightItems[i].component
|
|
@@ -341,15 +341,15 @@ var GridContent = function (_React$Component) {
|
|
|
341
341
|
}, _this.renderManualPagination = function () {
|
|
342
342
|
var currentPage = _this.state.currentPage;
|
|
343
343
|
|
|
344
|
-
return
|
|
344
|
+
return React.createElement(
|
|
345
345
|
'div',
|
|
346
346
|
{ className: 'd-flex justify-content-between' },
|
|
347
|
-
currentPage && currentPage > 1 &&
|
|
347
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
348
348
|
'a',
|
|
349
349
|
{ href: '?page=' + (currentPage - 1) },
|
|
350
350
|
'<< Previous'
|
|
351
351
|
),
|
|
352
|
-
|
|
352
|
+
React.createElement(
|
|
353
353
|
'a',
|
|
354
354
|
{ href: '?page=' + (currentPage + 1) },
|
|
355
355
|
'Next >>'
|
|
@@ -384,62 +384,62 @@ var GridContent = function (_React$Component) {
|
|
|
384
384
|
var numberOfItemsBeforeAd = 6;
|
|
385
385
|
var numberOfItemsBeforeVideo = 3;
|
|
386
386
|
if (variant === 'stack') {
|
|
387
|
-
return
|
|
387
|
+
return React.createElement(
|
|
388
388
|
Row,
|
|
389
389
|
null,
|
|
390
390
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
391
391
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
392
|
-
return
|
|
392
|
+
return React.createElement(
|
|
393
393
|
Col,
|
|
394
394
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
395
|
-
|
|
395
|
+
React.createElement(
|
|
396
396
|
Card,
|
|
397
397
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
398
|
-
|
|
398
|
+
React.createElement(
|
|
399
399
|
Row,
|
|
400
400
|
{ style: { flexDirection: 'row' } },
|
|
401
|
-
|
|
401
|
+
React.createElement(
|
|
402
402
|
Col,
|
|
403
403
|
{ md: 12, lg: 4 },
|
|
404
|
-
|
|
404
|
+
React.createElement(
|
|
405
405
|
'a',
|
|
406
406
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
407
|
-
|
|
407
|
+
React.createElement(
|
|
408
408
|
LazyLoad,
|
|
409
409
|
{ height: _this2.props.imageHeight },
|
|
410
|
-
|
|
410
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
411
411
|
)
|
|
412
412
|
)
|
|
413
413
|
),
|
|
414
|
-
|
|
414
|
+
React.createElement(
|
|
415
415
|
Col,
|
|
416
416
|
null,
|
|
417
|
-
|
|
417
|
+
React.createElement(
|
|
418
418
|
Card.Body,
|
|
419
419
|
{ style: { padding: '20px' } },
|
|
420
|
-
|
|
420
|
+
React.createElement(
|
|
421
421
|
Card.Title,
|
|
422
422
|
null,
|
|
423
|
-
|
|
423
|
+
React.createElement(
|
|
424
424
|
'a',
|
|
425
425
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
426
426
|
row.title
|
|
427
427
|
)
|
|
428
428
|
),
|
|
429
|
-
_this2.props.showPublished && row.published &&
|
|
429
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
430
430
|
Card.Subtitle,
|
|
431
431
|
{ style: { marginTop: 0 } },
|
|
432
432
|
moment(row.published).format('MMMM DD, YYYY')
|
|
433
433
|
),
|
|
434
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
434
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
435
435
|
LazyLoad,
|
|
436
436
|
{ height: 50 },
|
|
437
|
-
|
|
437
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
438
438
|
),
|
|
439
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
439
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
440
440
|
LazyLoad,
|
|
441
441
|
{ height: 50 },
|
|
442
|
-
|
|
442
|
+
React.createElement(
|
|
443
443
|
'p',
|
|
444
444
|
{
|
|
445
445
|
className: 'article-category',
|
|
@@ -454,7 +454,7 @@ var GridContent = function (_React$Component) {
|
|
|
454
454
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
455
455
|
)
|
|
456
456
|
),
|
|
457
|
-
|
|
457
|
+
React.createElement(
|
|
458
458
|
Card.Text,
|
|
459
459
|
null,
|
|
460
460
|
clean_html_1(row.summary)
|
|
@@ -464,13 +464,13 @@ var GridContent = function (_React$Component) {
|
|
|
464
464
|
)
|
|
465
465
|
)
|
|
466
466
|
);
|
|
467
|
-
}) :
|
|
467
|
+
}) : React.createElement(
|
|
468
468
|
'div',
|
|
469
469
|
null,
|
|
470
|
-
|
|
470
|
+
React.createElement(
|
|
471
471
|
'h5',
|
|
472
472
|
null,
|
|
473
|
-
|
|
473
|
+
React.createElement(
|
|
474
474
|
'em',
|
|
475
475
|
null,
|
|
476
476
|
'New content coming soon, please check back later.'
|
|
@@ -585,7 +585,7 @@ var GridContent = function (_React$Component) {
|
|
|
585
585
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
586
586
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
587
587
|
var featureCount = 0;
|
|
588
|
-
return
|
|
588
|
+
return React.createElement(
|
|
589
589
|
'div',
|
|
590
590
|
{ className: 'grid-container' },
|
|
591
591
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -595,58 +595,58 @@ var GridContent = function (_React$Component) {
|
|
|
595
595
|
if (row._type === 'feature') {
|
|
596
596
|
featureCount++;
|
|
597
597
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
598
|
-
return
|
|
599
|
-
|
|
598
|
+
return React.createElement(
|
|
599
|
+
React.Fragment,
|
|
600
600
|
{ key: itemCounter },
|
|
601
|
-
|
|
601
|
+
React.createElement(
|
|
602
602
|
VisibilitySensor,
|
|
603
603
|
{
|
|
604
604
|
partialVisibility: true,
|
|
605
605
|
onChange: function onChange(isVisible) {
|
|
606
606
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
607
607
|
} },
|
|
608
|
-
|
|
608
|
+
React.createElement(
|
|
609
609
|
'div',
|
|
610
610
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
611
|
-
|
|
611
|
+
React.createElement(
|
|
612
612
|
Card,
|
|
613
613
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
614
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
614
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
615
615
|
'a',
|
|
616
616
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
617
|
-
|
|
617
|
+
React.createElement(
|
|
618
618
|
LazyLoad,
|
|
619
619
|
{ height: _this2.props.imageHeight },
|
|
620
|
-
|
|
620
|
+
React.createElement(Card.Img, {
|
|
621
621
|
variant: 'top',
|
|
622
622
|
src: _this2.renderCardImage(row, page),
|
|
623
623
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
624
624
|
})
|
|
625
625
|
)
|
|
626
626
|
),
|
|
627
|
-
|
|
627
|
+
React.createElement(
|
|
628
628
|
Card.Body,
|
|
629
629
|
null,
|
|
630
|
-
|
|
630
|
+
React.createElement(
|
|
631
631
|
'a',
|
|
632
632
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
633
|
-
|
|
633
|
+
React.createElement(
|
|
634
634
|
Card.Title,
|
|
635
635
|
null,
|
|
636
636
|
row.title
|
|
637
637
|
)
|
|
638
638
|
),
|
|
639
|
-
_this2.props.showPublished && row.published &&
|
|
639
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
640
640
|
Card.Subtitle,
|
|
641
641
|
{ style: { marginTop: 0 } },
|
|
642
642
|
moment(row.published).format('MMMM DD, YYYY')
|
|
643
643
|
),
|
|
644
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
644
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
645
645
|
LazyLoad,
|
|
646
646
|
{ height: 50 },
|
|
647
|
-
|
|
647
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
648
648
|
),
|
|
649
|
-
|
|
649
|
+
React.createElement(
|
|
650
650
|
Card.Text,
|
|
651
651
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
652
652
|
clean_html_1(row.summary)
|
|
@@ -655,62 +655,62 @@ var GridContent = function (_React$Component) {
|
|
|
655
655
|
)
|
|
656
656
|
)
|
|
657
657
|
),
|
|
658
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
658
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
659
659
|
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
660
660
|
);
|
|
661
661
|
} else {
|
|
662
|
-
return
|
|
663
|
-
|
|
662
|
+
return React.createElement(
|
|
663
|
+
React.Fragment,
|
|
664
664
|
{ key: itemCounter },
|
|
665
|
-
|
|
665
|
+
React.createElement(
|
|
666
666
|
VisibilitySensor,
|
|
667
667
|
{
|
|
668
668
|
partialVisibility: true,
|
|
669
669
|
onChange: function onChange(isVisible) {
|
|
670
670
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
671
671
|
} },
|
|
672
|
-
|
|
672
|
+
React.createElement(
|
|
673
673
|
'div',
|
|
674
674
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
675
|
-
|
|
675
|
+
React.createElement(
|
|
676
676
|
Card,
|
|
677
677
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
678
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
678
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
679
679
|
'a',
|
|
680
680
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
681
|
-
|
|
681
|
+
React.createElement(
|
|
682
682
|
LazyLoad,
|
|
683
683
|
{ height: _this2.props.imageHeight },
|
|
684
|
-
|
|
684
|
+
React.createElement(Card.Img, {
|
|
685
685
|
variant: 'top',
|
|
686
686
|
src: _this2.renderCardImage(row, page),
|
|
687
687
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
688
688
|
})
|
|
689
689
|
)
|
|
690
690
|
),
|
|
691
|
-
|
|
691
|
+
React.createElement(
|
|
692
692
|
Card.Body,
|
|
693
693
|
null,
|
|
694
|
-
|
|
694
|
+
React.createElement(
|
|
695
695
|
'a',
|
|
696
696
|
{ href: row.url.current },
|
|
697
|
-
|
|
697
|
+
React.createElement(
|
|
698
698
|
Card.Title,
|
|
699
699
|
null,
|
|
700
700
|
row.title
|
|
701
701
|
)
|
|
702
702
|
),
|
|
703
|
-
_this2.props.showPublished && row.published &&
|
|
703
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
704
704
|
Card.Subtitle,
|
|
705
705
|
{ style: { marginTop: 0 } },
|
|
706
706
|
moment(row.published).format('MMMM DD, YYYY')
|
|
707
707
|
),
|
|
708
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
708
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
709
709
|
LazyLoad,
|
|
710
710
|
{ height: 50 },
|
|
711
|
-
|
|
711
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
712
712
|
),
|
|
713
|
-
|
|
713
|
+
React.createElement(
|
|
714
714
|
Card.Text,
|
|
715
715
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
716
716
|
clean_html_1(row.summary)
|
|
@@ -719,71 +719,71 @@ var GridContent = function (_React$Component) {
|
|
|
719
719
|
)
|
|
720
720
|
)
|
|
721
721
|
),
|
|
722
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
722
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
723
723
|
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
724
724
|
);
|
|
725
725
|
}
|
|
726
726
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
727
|
-
return
|
|
727
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
728
728
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
729
|
-
return
|
|
730
|
-
} else if (row._type === 'publication') return
|
|
729
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
730
|
+
} else if (row._type === 'publication') return React.createElement(PublicationFeature, { data: row, defaultImage: _this2.defaultImage, issueMapping: _this2.props.issueMapping, client: _this2.client });
|
|
731
731
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
732
|
-
return
|
|
733
|
-
|
|
732
|
+
return React.createElement(
|
|
733
|
+
React.Fragment,
|
|
734
734
|
{ key: itemCounter },
|
|
735
|
-
|
|
735
|
+
React.createElement(
|
|
736
736
|
VisibilitySensor,
|
|
737
737
|
{
|
|
738
738
|
onChange: function onChange(isVisible) {
|
|
739
739
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
740
740
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
741
741
|
} },
|
|
742
|
-
|
|
742
|
+
React.createElement(
|
|
743
743
|
'div',
|
|
744
744
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
745
|
-
|
|
745
|
+
React.createElement(
|
|
746
746
|
Card,
|
|
747
747
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
748
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
748
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
749
749
|
'a',
|
|
750
750
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
751
|
-
|
|
751
|
+
React.createElement(
|
|
752
752
|
LazyLoad,
|
|
753
753
|
{ height: _this2.props.imageHeight },
|
|
754
|
-
|
|
754
|
+
React.createElement(Card.Img, {
|
|
755
755
|
variant: 'top',
|
|
756
756
|
src: _this2.renderCardImage(row, page),
|
|
757
757
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
758
758
|
})
|
|
759
759
|
)
|
|
760
760
|
),
|
|
761
|
-
|
|
761
|
+
React.createElement(
|
|
762
762
|
Card.Body,
|
|
763
763
|
null,
|
|
764
|
-
|
|
764
|
+
React.createElement(
|
|
765
765
|
'a',
|
|
766
766
|
{ href: linkHref },
|
|
767
|
-
|
|
767
|
+
React.createElement(
|
|
768
768
|
Card.Title,
|
|
769
769
|
null,
|
|
770
770
|
row.title
|
|
771
771
|
)
|
|
772
772
|
),
|
|
773
|
-
_this2.props.showPublished && row.published &&
|
|
773
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
774
774
|
Card.Subtitle,
|
|
775
775
|
{ style: { marginTop: 0 } },
|
|
776
776
|
moment(row.published).format('MMMM DD, YYYY')
|
|
777
777
|
),
|
|
778
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
778
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
779
779
|
LazyLoad,
|
|
780
780
|
{ height: 50 },
|
|
781
|
-
|
|
781
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
782
782
|
),
|
|
783
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
783
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
784
784
|
LazyLoad,
|
|
785
785
|
{ height: 50 },
|
|
786
|
-
|
|
786
|
+
React.createElement(
|
|
787
787
|
'p',
|
|
788
788
|
{
|
|
789
789
|
className: 'article-category',
|
|
@@ -798,7 +798,7 @@ var GridContent = function (_React$Component) {
|
|
|
798
798
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
799
799
|
)
|
|
800
800
|
),
|
|
801
|
-
|
|
801
|
+
React.createElement(
|
|
802
802
|
Card.Text,
|
|
803
803
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
804
804
|
clean_html_1(row.summary)
|
|
@@ -807,17 +807,17 @@ var GridContent = function (_React$Component) {
|
|
|
807
807
|
)
|
|
808
808
|
)
|
|
809
809
|
),
|
|
810
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
810
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
811
811
|
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
812
812
|
);
|
|
813
813
|
} else return null;
|
|
814
|
-
}) :
|
|
814
|
+
}) : React.createElement(
|
|
815
815
|
'div',
|
|
816
816
|
null,
|
|
817
|
-
|
|
817
|
+
React.createElement(
|
|
818
818
|
'h5',
|
|
819
819
|
null,
|
|
820
|
-
|
|
820
|
+
React.createElement(
|
|
821
821
|
'em',
|
|
822
822
|
null,
|
|
823
823
|
'New content coming soon, please check back later.'
|
|
@@ -842,29 +842,29 @@ var GridContent = function (_React$Component) {
|
|
|
842
842
|
brandInsight = _props.brandInsight;
|
|
843
843
|
|
|
844
844
|
|
|
845
|
-
return
|
|
845
|
+
return React.createElement(
|
|
846
846
|
'div',
|
|
847
847
|
{ className: 'contentDeck' },
|
|
848
|
-
autoScroll ?
|
|
848
|
+
autoScroll ? React.createElement(
|
|
849
849
|
InfiniteScroll,
|
|
850
850
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
851
|
-
|
|
851
|
+
React.createElement(
|
|
852
852
|
Container,
|
|
853
853
|
null,
|
|
854
854
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
855
855
|
)
|
|
856
|
-
) :
|
|
857
|
-
|
|
856
|
+
) : React.createElement(
|
|
857
|
+
React.Fragment,
|
|
858
858
|
null,
|
|
859
|
-
|
|
859
|
+
React.createElement(
|
|
860
860
|
Container,
|
|
861
861
|
null,
|
|
862
862
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
863
863
|
),
|
|
864
|
-
|
|
864
|
+
React.createElement(
|
|
865
865
|
'div',
|
|
866
866
|
{ style: { padding: '0px 10px' } },
|
|
867
|
-
this.state.scrolling ?
|
|
867
|
+
this.state.scrolling ? React.createElement(
|
|
868
868
|
'button',
|
|
869
869
|
{
|
|
870
870
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -872,17 +872,17 @@ var GridContent = function (_React$Component) {
|
|
|
872
872
|
_this3.loadMore();
|
|
873
873
|
} },
|
|
874
874
|
'Load More'
|
|
875
|
-
) :
|
|
875
|
+
) : React.createElement(
|
|
876
876
|
'p',
|
|
877
877
|
{ style: { textAlign: 'center' } },
|
|
878
|
-
|
|
878
|
+
React.createElement(
|
|
879
879
|
'b',
|
|
880
880
|
null,
|
|
881
881
|
'End of data'
|
|
882
882
|
)
|
|
883
883
|
)
|
|
884
884
|
),
|
|
885
|
-
|
|
885
|
+
React.createElement(
|
|
886
886
|
'noscript',
|
|
887
887
|
null,
|
|
888
888
|
this.renderManualPagination()
|
|
@@ -893,8 +893,8 @@ var GridContent = function (_React$Component) {
|
|
|
893
893
|
}]);
|
|
894
894
|
|
|
895
895
|
return GridContent;
|
|
896
|
-
}(
|
|
896
|
+
}(React.Component);
|
|
897
897
|
|
|
898
|
-
var GridContent$1 =
|
|
898
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
899
899
|
|
|
900
900
|
export default GridContent$1;
|