@mjhls/mjh-framework 1.0.702-beta-v1 → 1.0.703-testing-module-splitting
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 +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +26 -24
- package/dist/cjs/AD300x250x600.js +26 -24
- package/dist/cjs/AD728x90.js +29 -27
- package/dist/cjs/ADFloatingFooter.js +31 -29
- package/dist/cjs/ADFooter.js +16 -14
- package/dist/cjs/ADGutter.js +28 -26
- package/dist/cjs/{ADInfeed-38066a36.js → ADInfeed-d36dc3ca.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +28 -26
- package/dist/cjs/ADSponsoredResources.js +28 -26
- package/dist/cjs/ADWebcast.js +28 -26
- package/dist/cjs/ADWelcome.js +32 -30
- package/dist/cjs/{ADlgInfeed-d95c9027.js → ADlgInfeed-93205fa0.js} +9 -8
- package/dist/cjs/AccordionPanel.js +32 -29
- package/dist/cjs/AdSlot.js +33 -31
- package/dist/cjs/AdSlotsProvider.js +8 -7
- package/dist/cjs/AlphabeticList.js +26 -24
- package/dist/cjs/ArticleCarousel.js +23 -21
- package/dist/cjs/ArticleSeriesListing.js +59 -57
- package/dist/cjs/Auth.js +817 -530
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-482218ce.js} +14 -13
- package/dist/cjs/Beam.js +10 -9
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +30 -27
- package/dist/cjs/BrowseVideosListing.js +41 -39
- package/dist/cjs/CMEDeck.js +79 -78
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -32
- package/dist/cjs/Column3.js +59 -55
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -102
- package/dist/cjs/DeckQueue.js +91 -86
- package/dist/cjs/{Dfp-390337bf.js → Dfp-80c3d853.js} +32 -30
- package/dist/cjs/EventsDeck.js +157 -149
- package/dist/cjs/ExternalResources.js +76 -74
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +42 -40
- package/dist/cjs/GridContent.js +182 -177
- package/dist/cjs/GridHero.js +44 -42
- package/dist/cjs/GroupDeck.js +51 -49
- package/dist/cjs/HamMagazine.js +145 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +78 -72
- package/dist/cjs/IssueDeck.js +76 -70
- package/dist/cjs/IssueLanding.js +71 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -36
- package/dist/cjs/MasterDeck.js +81 -79
- package/dist/cjs/NavDvm.js +81 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +154 -148
- package/dist/cjs/NavNative.js +133 -124
- package/dist/cjs/NavNormal.js +54 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +68 -66
- package/dist/cjs/PageFilter.js +16 -14
- package/dist/cjs/PartnerDetailListing.js +107 -1302
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +22 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +119 -114
- package/dist/cjs/QueueDeckExpanded.js +293 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +23 -18
- package/dist/cjs/Segment.js +8 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -37
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-a49e8e9d.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +63 -57
- package/dist/cjs/TemplateNormal.js +74 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +28 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +35 -33
- package/dist/cjs/VideoSeriesFilter.js +20 -19
- package/dist/cjs/VideoSeriesListing.js +74 -72
- package/dist/cjs/View.js +227 -223
- package/dist/cjs/YahooHero.js +41 -39
- package/dist/cjs/YoutubeGroup.js +70 -68
- package/dist/cjs/{_to-object-329a650b.js → _export-7e018e14.js} +2 -146
- package/dist/cjs/{_is-array-754e012d.js → _is-array-4c61cfba.js} +13 -12
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2a826637.js} +4 -4
- package/dist/cjs/_object-sap-4ac28868.js +16 -0
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-d088ff6e.js} +10 -9
- package/dist/cjs/_to-object-233fc5c9.js +149 -0
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-7ca8f87e.js} +58 -57
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-14f49e03.js} +4 -3
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-fd46a81e.js} +3 -3
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-edc12c5a.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-a390d61f.js} +18 -17
- package/dist/cjs/{extends-60837c34.js → extends-0a166456.js} +6 -5
- package/dist/cjs/getRelatedArticle.js +425 -13
- package/dist/cjs/getSerializers.js +42 -41
- package/dist/cjs/getSeriesDetail.js +1 -1
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-57edbc60.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-58dae365.js → index-0e3597c2.js} +440 -429
- package/dist/cjs/{index-099d45ae.js → index-5ad2b070.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-3294d3bc.js → index-cb6ed1fc.js} +17 -18
- package/dist/cjs/{index-39beccb3.js → index-d48b231c.js} +29 -24
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +9 -260
- package/dist/cjs/{inherits-513d81cd.js → inherits-a9209207.js} +16 -15
- package/dist/cjs/{keys-a586b7a0.js → keys-d2f5bcf0.js} +4 -3
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-4ef21f0f.js} +1 -1
- package/dist/cjs/{main-03ffa84c.js → main-eeffe77b.js} +116 -80
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-60dafa9c.js} +7 -7
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-44244c64.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-4bb00640.js} +9 -8
- package/dist/cjs/{typeof-725500bc.js → typeof-03c3fdc8.js} +50 -49
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-2d47ebe6.js} +6 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -22
- package/dist/esm/AD300x250x600.js +23 -22
- package/dist/esm/AD728x90.js +26 -25
- package/dist/esm/ADFloatingFooter.js +28 -27
- package/dist/esm/ADFooter.js +12 -11
- package/dist/esm/ADGutter.js +25 -24
- package/dist/esm/{ADInfeed-7b1b2fcb.js → ADInfeed-bf7de12d.js} +7 -7
- package/dist/esm/ADSkyscraper.js +25 -24
- package/dist/esm/ADSponsoredResources.js +25 -24
- package/dist/esm/ADWebcast.js +25 -24
- package/dist/esm/ADWelcome.js +29 -28
- package/dist/esm/{ADlgInfeed-2afe92e6.js → ADlgInfeed-3ac04591.js} +6 -6
- package/dist/esm/AccordionPanel.js +25 -24
- package/dist/esm/AdSlot.js +24 -23
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +23 -22
- package/dist/esm/ArticleCarousel.js +19 -18
- package/dist/esm/ArticleSeriesListing.js +53 -52
- package/dist/esm/Auth.js +798 -515
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-22790017.js} +11 -11
- package/dist/esm/Beam.js +10 -9
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +18 -17
- package/dist/esm/BrowseVideosListing.js +37 -36
- package/dist/esm/CMEDeck.js +76 -75
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -26
- package/dist/esm/Column3.js +50 -49
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +85 -84
- package/dist/esm/DeckQueue.js +65 -64
- package/dist/esm/{Dfp-741c01be.js → Dfp-08279047.js} +21 -20
- package/dist/esm/EventsDeck.js +101 -100
- package/dist/esm/ExternalResources.js +70 -69
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -34
- package/dist/esm/GridContent.js +140 -139
- package/dist/esm/GridHero.js +37 -36
- package/dist/esm/GroupDeck.js +46 -45
- package/dist/esm/HamMagazine.js +114 -113
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +50 -49
- package/dist/esm/IssueDeck.js +47 -46
- package/dist/esm/IssueLanding.js +68 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +34 -33
- package/dist/esm/MasterDeck.js +74 -73
- package/dist/esm/NavDvm.js +58 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +125 -124
- package/dist/esm/NavNative.js +101 -100
- package/dist/esm/NavNormal.js +37 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +60 -59
- package/dist/esm/PageFilter.js +13 -12
- package/dist/esm/PartnerDetailListing.js +105 -1300
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +15 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +76 -75
- package/dist/esm/QueueDeckExpanded.js +274 -273
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +13 -12
- package/dist/esm/Segment.js +8 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -33
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-46ea0f4d.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -41
- package/dist/esm/TemplateNormal.js +68 -67
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +24 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +26 -25
- package/dist/esm/VideoSeriesFilter.js +17 -16
- package/dist/esm/VideoSeriesListing.js +67 -66
- package/dist/esm/View.js +215 -215
- package/dist/esm/YahooHero.js +35 -34
- package/dist/esm/YoutubeGroup.js +54 -53
- package/dist/esm/{_to-object-ded78eb9.js → _export-9029ebab.js} +3 -134
- package/dist/esm/{_is-array-49698029.js → _is-array-46713c19.js} +7 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-60cd145f.js} +2 -2
- package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-108a1939.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-a4b3fe39.js} +6 -5
- package/dist/esm/_to-object-62924b74.js +135 -0
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-7714cea4.js} +10 -9
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-6636b3ef.js} +3 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-f2d6f244.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-69f06029.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-2efae22d.js} +4 -3
- package/dist/esm/{extends-cc5da797.js → extends-f866c8d0.js} +3 -2
- package/dist/esm/getRelatedArticle.js +425 -13
- package/dist/esm/getSerializers.js +42 -41
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-5cdca4e1.js} +11 -11
- package/dist/esm/getTargeting.js +9 -8
- package/dist/esm/{index-3849e3fe.js → index-3f5c03b2.js} +29 -24
- package/dist/esm/{index-7779a6df.js → index-5db919a6.js} +384 -380
- package/dist/esm/{index-3f4dd6f2.js → index-669ff425.js} +10 -12
- package/dist/esm/{index-ef6d5dcf.js → index-750a7380.js} +17 -18
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-57f377a5.js} +7 -16
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +11 -172
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-75d6495f.js} +6 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-78217618.js} +3 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-ad27652f.js} +1 -1
- package/dist/esm/{main-35ff7b4f.js → main-decc48f4.js} +113 -78
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-fa9240c4.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-22907f56.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-bd01c637.js} +5 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-668f30cd.js} +9 -8
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-89515070.js} +4 -3
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-5e74ba08.js +0 -16
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,50 +1,51 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
7
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
8
|
-
import './_object-pie-71ac75a4.js';
|
|
9
|
-
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
|
-
import './_object-sap-4d59d5bd.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-7ee3e0c1.js';
|
|
12
|
-
import './define-property-de3fc946.js';
|
|
13
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
-
import './typeof-08f2c380.js';
|
|
15
|
-
import './_is-array-49698029.js';
|
|
16
|
-
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
18
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-bd01c637.js';
|
|
2
|
+
import { _ as _extends } from './extends-f866c8d0.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d6495f.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-669ff425.js';
|
|
19
6
|
import Container from 'react-bootstrap/Container';
|
|
20
7
|
import Row from 'react-bootstrap/Row';
|
|
21
8
|
import Col from 'react-bootstrap/Col';
|
|
22
9
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import {
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
11
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
24
12
|
import { withRouter } from 'next/router';
|
|
25
|
-
import './
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import '
|
|
29
|
-
import {
|
|
30
|
-
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
31
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
32
|
-
import { m as main_36 } from './main-35ff7b4f.js';
|
|
33
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
|
-
import './stringify-008c8802.js';
|
|
35
|
-
import './slicedToArray-7021e5df.js';
|
|
36
|
-
import './asyncToGenerator-7c654f36.js';
|
|
37
|
-
import './_set-species-cede29f8.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
40
|
-
import './AdSlot.js';
|
|
41
|
-
import { A as ADInfeed } from './ADInfeed-7b1b2fcb.js';
|
|
42
|
-
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
43
|
-
import { A as ADlgInfeed } from './ADlgInfeed-2afe92e6.js';
|
|
13
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-bf7de12d.js';
|
|
16
|
+
import { l as lodash } from './lodash-ad27652f.js';
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-3ac04591.js';
|
|
44
18
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
45
19
|
import { g as get_1 } from './get-5ee14cda.js';
|
|
20
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
21
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
22
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
23
|
+
import { m as main_40 } from './main-decc48f4.js';
|
|
46
24
|
import './AD.js';
|
|
47
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
25
|
+
import { A as AuthorComponent } from './AuthorComponent-22790017.js';
|
|
26
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
27
|
+
import './es6.string.iterator-2efae22d.js';
|
|
28
|
+
import './_to-object-62924b74.js';
|
|
29
|
+
import './_export-9029ebab.js';
|
|
30
|
+
import './_iter-detect-60cd145f.js';
|
|
31
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
32
|
+
import './_object-pie-33c40e79.js';
|
|
33
|
+
import './_object-sap-108a1939.js';
|
|
34
|
+
import './define-property-f2d6f244.js';
|
|
35
|
+
import './typeof-668f30cd.js';
|
|
36
|
+
import './web.dom.iterable-89515070.js';
|
|
37
|
+
import './_is-array-46713c19.js';
|
|
38
|
+
import './_library-528f1934.js';
|
|
39
|
+
import 'prop-types';
|
|
40
|
+
import 'react-dom';
|
|
41
|
+
import './stringify-22907f56.js';
|
|
42
|
+
import './slicedToArray-fa9240c4.js';
|
|
43
|
+
import './AdSlot.js';
|
|
44
|
+
import './Beam.js';
|
|
45
|
+
import './asyncToGenerator-7714cea4.js';
|
|
46
|
+
import './_set-species-a4b3fe39.js';
|
|
47
|
+
import './Segment.js';
|
|
48
|
+
import './isSymbol-807e927e.js';
|
|
48
49
|
|
|
49
50
|
var GridContent = function (_React$Component) {
|
|
50
51
|
_inherits(GridContent, _React$Component);
|
|
@@ -163,9 +164,9 @@ var GridContent = function (_React$Component) {
|
|
|
163
164
|
}
|
|
164
165
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
165
166
|
var _this$props2 = _this.props,
|
|
166
|
-
seoPaginate = _this$props2.seoPaginate
|
|
167
|
-
|
|
168
|
-
router = _this$props2.router;
|
|
167
|
+
seoPaginate = _this$props2.seoPaginate;
|
|
168
|
+
_this$props2.pageview;
|
|
169
|
+
var router = _this$props2.router;
|
|
169
170
|
var currentPage = _this.state.currentPage;
|
|
170
171
|
|
|
171
172
|
if (seoPaginate) {
|
|
@@ -230,7 +231,7 @@ var GridContent = function (_React$Component) {
|
|
|
230
231
|
var rightItems = _this.props.rightItems;
|
|
231
232
|
|
|
232
233
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
233
|
-
return
|
|
234
|
+
return React.createElement(
|
|
234
235
|
'div',
|
|
235
236
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
236
237
|
rightItems[i].component
|
|
@@ -238,15 +239,15 @@ var GridContent = function (_React$Component) {
|
|
|
238
239
|
}, _this.renderManualPagination = function () {
|
|
239
240
|
var currentPage = _this.state.currentPage;
|
|
240
241
|
|
|
241
|
-
return
|
|
242
|
+
return React.createElement(
|
|
242
243
|
'div',
|
|
243
244
|
{ className: 'd-flex justify-content-between' },
|
|
244
|
-
currentPage && currentPage > 1 &&
|
|
245
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
245
246
|
'a',
|
|
246
247
|
{ href: '?page=' + (currentPage - 1) },
|
|
247
248
|
'<< Previous'
|
|
248
249
|
),
|
|
249
|
-
|
|
250
|
+
React.createElement(
|
|
250
251
|
'a',
|
|
251
252
|
{ href: '?page=' + (currentPage + 1) },
|
|
252
253
|
'Next >>'
|
|
@@ -265,62 +266,62 @@ var GridContent = function (_React$Component) {
|
|
|
265
266
|
var numberOfItemsBeforeAd = 6;
|
|
266
267
|
var numberOfItemsBeforeVideo = 3;
|
|
267
268
|
if (variant === 'stack') {
|
|
268
|
-
return
|
|
269
|
+
return React.createElement(
|
|
269
270
|
Row,
|
|
270
271
|
null,
|
|
271
272
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
272
273
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
273
|
-
return
|
|
274
|
+
return React.createElement(
|
|
274
275
|
Col,
|
|
275
276
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
276
|
-
|
|
277
|
+
React.createElement(
|
|
277
278
|
Card,
|
|
278
279
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
279
|
-
|
|
280
|
+
React.createElement(
|
|
280
281
|
Row,
|
|
281
282
|
{ style: { flexDirection: 'row' } },
|
|
282
|
-
|
|
283
|
+
React.createElement(
|
|
283
284
|
Col,
|
|
284
285
|
{ md: 12, lg: 4 },
|
|
285
|
-
|
|
286
|
+
React.createElement(
|
|
286
287
|
'a',
|
|
287
288
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
288
|
-
|
|
289
|
+
React.createElement(
|
|
289
290
|
LazyLoad,
|
|
290
291
|
{ height: _this2.props.imageHeight },
|
|
291
|
-
|
|
292
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
292
293
|
)
|
|
293
294
|
)
|
|
294
295
|
),
|
|
295
|
-
|
|
296
|
+
React.createElement(
|
|
296
297
|
Col,
|
|
297
298
|
null,
|
|
298
|
-
|
|
299
|
+
React.createElement(
|
|
299
300
|
Card.Body,
|
|
300
301
|
{ style: { padding: '20px' } },
|
|
301
|
-
|
|
302
|
+
React.createElement(
|
|
302
303
|
Card.Title,
|
|
303
304
|
null,
|
|
304
|
-
|
|
305
|
+
React.createElement(
|
|
305
306
|
'a',
|
|
306
307
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
307
308
|
row.title
|
|
308
309
|
)
|
|
309
310
|
),
|
|
310
|
-
_this2.props.showPublished && row.published &&
|
|
311
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
311
312
|
Card.Subtitle,
|
|
312
313
|
{ style: { marginTop: 0 } },
|
|
313
314
|
moment(row.published).format('MMMM DD, YYYY')
|
|
314
315
|
),
|
|
315
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
316
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
316
317
|
LazyLoad,
|
|
317
318
|
{ height: 50 },
|
|
318
|
-
|
|
319
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
319
320
|
),
|
|
320
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
321
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
321
322
|
LazyLoad,
|
|
322
323
|
{ height: 50 },
|
|
323
|
-
|
|
324
|
+
React.createElement(
|
|
324
325
|
'p',
|
|
325
326
|
{
|
|
326
327
|
className: 'article-category',
|
|
@@ -335,7 +336,7 @@ var GridContent = function (_React$Component) {
|
|
|
335
336
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
336
337
|
)
|
|
337
338
|
),
|
|
338
|
-
|
|
339
|
+
React.createElement(
|
|
339
340
|
Card.Text,
|
|
340
341
|
null,
|
|
341
342
|
clean_html_1(row.summary)
|
|
@@ -345,13 +346,13 @@ var GridContent = function (_React$Component) {
|
|
|
345
346
|
)
|
|
346
347
|
)
|
|
347
348
|
);
|
|
348
|
-
}) :
|
|
349
|
+
}) : React.createElement(
|
|
349
350
|
'div',
|
|
350
351
|
null,
|
|
351
|
-
|
|
352
|
+
React.createElement(
|
|
352
353
|
'h5',
|
|
353
354
|
null,
|
|
354
|
-
|
|
355
|
+
React.createElement(
|
|
355
356
|
'em',
|
|
356
357
|
null,
|
|
357
358
|
'New content coming soon, please check back later.'
|
|
@@ -460,7 +461,7 @@ var GridContent = function (_React$Component) {
|
|
|
460
461
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
461
462
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
462
463
|
var featureCount = 0;
|
|
463
|
-
return
|
|
464
|
+
return React.createElement(
|
|
464
465
|
'div',
|
|
465
466
|
{ className: 'grid-container' },
|
|
466
467
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -470,58 +471,58 @@ var GridContent = function (_React$Component) {
|
|
|
470
471
|
if (row._type === 'feature') {
|
|
471
472
|
featureCount++;
|
|
472
473
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
473
|
-
return
|
|
474
|
-
|
|
474
|
+
return React.createElement(
|
|
475
|
+
React.Fragment,
|
|
475
476
|
{ key: itemCounter },
|
|
476
|
-
|
|
477
|
+
React.createElement(
|
|
477
478
|
VisibilitySensor,
|
|
478
479
|
{
|
|
479
480
|
partialVisibility: true,
|
|
480
481
|
onChange: function onChange(isVisible) {
|
|
481
482
|
isVisible && _this2.changePageNumber(1, itemsPerPage, index);
|
|
482
483
|
} },
|
|
483
|
-
|
|
484
|
+
React.createElement(
|
|
484
485
|
'div',
|
|
485
486
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
486
|
-
|
|
487
|
+
React.createElement(
|
|
487
488
|
Card,
|
|
488
489
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
489
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
490
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
490
491
|
'a',
|
|
491
492
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
492
|
-
|
|
493
|
+
React.createElement(
|
|
493
494
|
LazyLoad,
|
|
494
495
|
{ height: _this2.props.imageHeight },
|
|
495
|
-
|
|
496
|
+
React.createElement(Card.Img, {
|
|
496
497
|
variant: 'top',
|
|
497
498
|
src: _this2.renderCardImage(row, page),
|
|
498
499
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
499
500
|
})
|
|
500
501
|
)
|
|
501
502
|
),
|
|
502
|
-
|
|
503
|
+
React.createElement(
|
|
503
504
|
Card.Body,
|
|
504
505
|
null,
|
|
505
|
-
|
|
506
|
+
React.createElement(
|
|
506
507
|
'a',
|
|
507
508
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
508
|
-
|
|
509
|
+
React.createElement(
|
|
509
510
|
Card.Title,
|
|
510
511
|
null,
|
|
511
512
|
row.title
|
|
512
513
|
)
|
|
513
514
|
),
|
|
514
|
-
_this2.props.showPublished && row.published &&
|
|
515
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
515
516
|
Card.Subtitle,
|
|
516
517
|
{ style: { marginTop: 0 } },
|
|
517
518
|
moment(row.published).format('MMMM DD, YYYY')
|
|
518
519
|
),
|
|
519
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
520
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
520
521
|
LazyLoad,
|
|
521
522
|
{ height: 50 },
|
|
522
|
-
|
|
523
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
523
524
|
),
|
|
524
|
-
|
|
525
|
+
React.createElement(
|
|
525
526
|
Card.Text,
|
|
526
527
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
527
528
|
clean_html_1(row.summary)
|
|
@@ -530,62 +531,62 @@ var GridContent = function (_React$Component) {
|
|
|
530
531
|
)
|
|
531
532
|
)
|
|
532
533
|
),
|
|
533
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
534
|
-
|
|
534
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
535
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
535
536
|
);
|
|
536
537
|
} else {
|
|
537
|
-
return
|
|
538
|
-
|
|
538
|
+
return React.createElement(
|
|
539
|
+
React.Fragment,
|
|
539
540
|
{ key: itemCounter },
|
|
540
|
-
|
|
541
|
+
React.createElement(
|
|
541
542
|
VisibilitySensor,
|
|
542
543
|
{
|
|
543
544
|
partialVisibility: true,
|
|
544
545
|
onChange: function onChange(isVisible) {
|
|
545
546
|
isVisible && _this2.changePageNumber(1, itemsPerPage, index);
|
|
546
547
|
} },
|
|
547
|
-
|
|
548
|
+
React.createElement(
|
|
548
549
|
'div',
|
|
549
550
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
550
|
-
|
|
551
|
+
React.createElement(
|
|
551
552
|
Card,
|
|
552
553
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
553
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
554
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
554
555
|
'a',
|
|
555
556
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
556
|
-
|
|
557
|
+
React.createElement(
|
|
557
558
|
LazyLoad,
|
|
558
559
|
{ height: _this2.props.imageHeight },
|
|
559
|
-
|
|
560
|
+
React.createElement(Card.Img, {
|
|
560
561
|
variant: 'top',
|
|
561
562
|
src: _this2.renderCardImage(row, page),
|
|
562
563
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
563
564
|
})
|
|
564
565
|
)
|
|
565
566
|
),
|
|
566
|
-
|
|
567
|
+
React.createElement(
|
|
567
568
|
Card.Body,
|
|
568
569
|
null,
|
|
569
|
-
|
|
570
|
+
React.createElement(
|
|
570
571
|
'a',
|
|
571
572
|
{ href: row.url.current },
|
|
572
|
-
|
|
573
|
+
React.createElement(
|
|
573
574
|
Card.Title,
|
|
574
575
|
null,
|
|
575
576
|
row.title
|
|
576
577
|
)
|
|
577
578
|
),
|
|
578
|
-
_this2.props.showPublished && row.published &&
|
|
579
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
579
580
|
Card.Subtitle,
|
|
580
581
|
{ style: { marginTop: 0 } },
|
|
581
582
|
moment(row.published).format('MMMM DD, YYYY')
|
|
582
583
|
),
|
|
583
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
584
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
584
585
|
LazyLoad,
|
|
585
586
|
{ height: 50 },
|
|
586
|
-
|
|
587
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
587
588
|
),
|
|
588
|
-
|
|
589
|
+
React.createElement(
|
|
589
590
|
Card.Text,
|
|
590
591
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
591
592
|
clean_html_1(row.summary)
|
|
@@ -594,71 +595,71 @@ var GridContent = function (_React$Component) {
|
|
|
594
595
|
)
|
|
595
596
|
)
|
|
596
597
|
),
|
|
597
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
598
|
-
|
|
598
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
599
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
599
600
|
);
|
|
600
601
|
}
|
|
601
602
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
602
|
-
return
|
|
603
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
603
604
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
604
|
-
return
|
|
605
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
605
606
|
}
|
|
606
607
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
607
|
-
return
|
|
608
|
-
|
|
608
|
+
return React.createElement(
|
|
609
|
+
React.Fragment,
|
|
609
610
|
{ key: itemCounter },
|
|
610
|
-
|
|
611
|
+
React.createElement(
|
|
611
612
|
VisibilitySensor,
|
|
612
613
|
{
|
|
613
614
|
onChange: function onChange(isVisible) {
|
|
614
615
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
615
616
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
616
617
|
} },
|
|
617
|
-
|
|
618
|
+
React.createElement(
|
|
618
619
|
'div',
|
|
619
620
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
620
|
-
|
|
621
|
+
React.createElement(
|
|
621
622
|
Card,
|
|
622
623
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
623
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
624
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
624
625
|
'a',
|
|
625
626
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
626
|
-
|
|
627
|
+
React.createElement(
|
|
627
628
|
LazyLoad,
|
|
628
629
|
{ height: _this2.props.imageHeight },
|
|
629
|
-
|
|
630
|
+
React.createElement(Card.Img, {
|
|
630
631
|
variant: 'top',
|
|
631
632
|
src: _this2.renderCardImage(row, page),
|
|
632
633
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
633
634
|
})
|
|
634
635
|
)
|
|
635
636
|
),
|
|
636
|
-
|
|
637
|
+
React.createElement(
|
|
637
638
|
Card.Body,
|
|
638
639
|
null,
|
|
639
|
-
|
|
640
|
+
React.createElement(
|
|
640
641
|
'a',
|
|
641
642
|
{ href: linkHref },
|
|
642
|
-
|
|
643
|
+
React.createElement(
|
|
643
644
|
Card.Title,
|
|
644
645
|
null,
|
|
645
646
|
row.title
|
|
646
647
|
)
|
|
647
648
|
),
|
|
648
|
-
_this2.props.showPublished && row.published &&
|
|
649
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
649
650
|
Card.Subtitle,
|
|
650
651
|
{ style: { marginTop: 0 } },
|
|
651
652
|
moment(row.published).format('MMMM DD, YYYY')
|
|
652
653
|
),
|
|
653
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
654
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
654
655
|
LazyLoad,
|
|
655
656
|
{ height: 50 },
|
|
656
|
-
|
|
657
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
657
658
|
),
|
|
658
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
659
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
659
660
|
LazyLoad,
|
|
660
661
|
{ height: 50 },
|
|
661
|
-
|
|
662
|
+
React.createElement(
|
|
662
663
|
'p',
|
|
663
664
|
{
|
|
664
665
|
className: 'article-category',
|
|
@@ -673,7 +674,7 @@ var GridContent = function (_React$Component) {
|
|
|
673
674
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
674
675
|
)
|
|
675
676
|
),
|
|
676
|
-
|
|
677
|
+
React.createElement(
|
|
677
678
|
Card.Text,
|
|
678
679
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
679
680
|
clean_html_1(row.summary)
|
|
@@ -682,17 +683,17 @@ var GridContent = function (_React$Component) {
|
|
|
682
683
|
)
|
|
683
684
|
)
|
|
684
685
|
),
|
|
685
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
686
|
-
|
|
686
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
687
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
687
688
|
);
|
|
688
689
|
} else return null;
|
|
689
|
-
}) :
|
|
690
|
+
}) : React.createElement(
|
|
690
691
|
'div',
|
|
691
692
|
null,
|
|
692
|
-
|
|
693
|
+
React.createElement(
|
|
693
694
|
'h5',
|
|
694
695
|
null,
|
|
695
|
-
|
|
696
|
+
React.createElement(
|
|
696
697
|
'em',
|
|
697
698
|
null,
|
|
698
699
|
'New content coming soon, please check back later.'
|
|
@@ -717,29 +718,29 @@ var GridContent = function (_React$Component) {
|
|
|
717
718
|
brandInsight = _props.brandInsight;
|
|
718
719
|
|
|
719
720
|
|
|
720
|
-
return
|
|
721
|
+
return React.createElement(
|
|
721
722
|
'div',
|
|
722
723
|
{ className: 'contentDeck' },
|
|
723
|
-
autoScroll ?
|
|
724
|
+
autoScroll ? React.createElement(
|
|
724
725
|
InfiniteScroll,
|
|
725
726
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
726
|
-
|
|
727
|
+
React.createElement(
|
|
727
728
|
Container,
|
|
728
729
|
null,
|
|
729
730
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
730
731
|
)
|
|
731
|
-
) :
|
|
732
|
-
|
|
732
|
+
) : React.createElement(
|
|
733
|
+
React.Fragment,
|
|
733
734
|
null,
|
|
734
|
-
|
|
735
|
+
React.createElement(
|
|
735
736
|
Container,
|
|
736
737
|
null,
|
|
737
738
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
738
739
|
),
|
|
739
|
-
|
|
740
|
+
React.createElement(
|
|
740
741
|
'div',
|
|
741
742
|
{ style: { padding: '0px 10px' } },
|
|
742
|
-
this.state.scrolling ?
|
|
743
|
+
this.state.scrolling ? React.createElement(
|
|
743
744
|
'button',
|
|
744
745
|
{
|
|
745
746
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -747,17 +748,17 @@ var GridContent = function (_React$Component) {
|
|
|
747
748
|
_this3.loadMore();
|
|
748
749
|
} },
|
|
749
750
|
'Load More'
|
|
750
|
-
) :
|
|
751
|
+
) : React.createElement(
|
|
751
752
|
'p',
|
|
752
753
|
{ style: { textAlign: 'center' } },
|
|
753
|
-
|
|
754
|
+
React.createElement(
|
|
754
755
|
'b',
|
|
755
756
|
null,
|
|
756
757
|
'End of data'
|
|
757
758
|
)
|
|
758
759
|
)
|
|
759
760
|
),
|
|
760
|
-
|
|
761
|
+
React.createElement(
|
|
761
762
|
'noscript',
|
|
762
763
|
null,
|
|
763
764
|
this.renderManualPagination()
|
|
@@ -768,8 +769,8 @@ var GridContent = function (_React$Component) {
|
|
|
768
769
|
}]);
|
|
769
770
|
|
|
770
771
|
return GridContent;
|
|
771
|
-
}(
|
|
772
|
+
}(React.Component);
|
|
772
773
|
|
|
773
|
-
var GridContent$1 =
|
|
774
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
774
775
|
|
|
775
776
|
export default GridContent$1;
|