@mjhls/mjh-framework 1.0.702 → 1.0.703-testing-module-splittingv2
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 +27 -27
- package/dist/cjs/AD300x250x600.js +27 -27
- package/dist/cjs/AD728x90.js +30 -30
- package/dist/cjs/ADFloatingFooter.js +33 -33
- package/dist/cjs/ADFooter.js +16 -14
- package/dist/cjs/ADGutter.js +30 -30
- package/dist/cjs/{ADInfeed-ede153e2.js → ADInfeed-d36dc3ca.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +30 -30
- package/dist/cjs/ADSponsoredResources.js +30 -30
- package/dist/cjs/ADWebcast.js +30 -30
- package/dist/cjs/ADWelcome.js +34 -34
- package/dist/cjs/{ADlgInfeed-6a121a0d.js → ADlgInfeed-93205fa0.js} +9 -8
- package/dist/cjs/AccordionPanel.js +32 -29
- package/dist/cjs/AdSlot.js +35 -35
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlphabeticList.js +27 -25
- package/dist/cjs/ArticleCarousel.js +24 -25
- package/dist/cjs/ArticleSeriesListing.js +61 -62
- package/dist/cjs/Auth.js +154 -149
- package/dist/cjs/{AuthorComponent-d19285ed.js → AuthorComponent-482218ce.js} +14 -13
- package/dist/cjs/Beam.js +21 -20
- package/dist/cjs/{BlockContent-e53217a7.js → BlockContent-eca358e4.js} +27 -24
- package/dist/cjs/Breadcrumbs.js +30 -27
- package/dist/cjs/BrowseVideosListing.js +42 -43
- package/dist/cjs/CMEDeck.js +83 -85
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +37 -35
- package/dist/cjs/Column3.js +60 -58
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +109 -107
- package/dist/cjs/DeckQueue.js +95 -93
- package/dist/cjs/{Dfp-13ff07b4.js → Dfp-80c3d853.js} +34 -35
- package/dist/cjs/EventsDeck.js +164 -157
- package/dist/cjs/ExternalResources.js +77 -78
- package/dist/cjs/Feature.js +26 -25
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +187 -185
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +54 -52
- package/dist/cjs/HamMagazine.js +143 -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 -75
- package/dist/cjs/IssueDeck.js +77 -74
- package/dist/cjs/IssueLanding.js +73 -74
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -40
- package/dist/cjs/MasterDeck.js +87 -88
- package/dist/cjs/NavDvm.js +81 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -148
- package/dist/cjs/NavNative.js +131 -124
- package/dist/cjs/NavNormal.js +54 -48
- package/dist/cjs/OncliveHero.js +20 -19
- package/dist/cjs/OncliveLargeHero.js +68 -69
- package/dist/cjs/PageFilter.js +16 -14
- package/dist/cjs/PartnerDetailListing.js +112 -113
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +22 -19
- package/dist/cjs/PublicationDeck.js +68 -66
- package/dist/cjs/PublicationLanding.js +146 -144
- package/dist/cjs/QueueDeckExpanded.js +298 -300
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -55
- 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 +21 -20
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +41 -41
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-1ef1e6fb.js → SocialSearchComponent-a49e8e9d.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -61
- package/dist/cjs/TemplateNormal.js +78 -78
- package/dist/cjs/ThumbnailCard.js +22 -23
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +35 -36
- package/dist/cjs/VideoSeriesFilter.js +22 -21
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +229 -228
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +73 -74
- package/dist/cjs/{_export-a917dedd.js → _export-7e018e14.js} +17 -161
- package/dist/cjs/{_is-array-a82382b4.js → _is-array-4c61cfba.js} +17 -16
- package/dist/cjs/{_iter-detect-671c90bd.js → _iter-detect-2a826637.js} +10 -10
- package/dist/cjs/{_library-4360b4e4.js → _library-dd23b178.js} +1 -1
- package/dist/cjs/{_object-pie-6bed508e.js → _object-pie-68c5bcbc.js} +2 -2
- package/dist/cjs/_object-sap-4ac28868.js +16 -0
- package/dist/cjs/{_set-species-47156c42.js → _set-species-d088ff6e.js} +18 -17
- package/dist/cjs/_to-object-233fc5c9.js +149 -0
- package/dist/cjs/{asyncToGenerator-fd8e35e7.js → asyncToGenerator-7ca8f87e.js} +72 -71
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/core.get-iterator-method-14f49e03.js +40 -0
- package/dist/cjs/{debounce-fb3a46a9.js → debounce-eb287781.js} +7 -7
- package/dist/cjs/{define-property-9b6df20e.js → define-property-fd46a81e.js} +4 -4
- package/dist/cjs/{defineProperty-d3c0cfc0.js → defineProperty-edc12c5a.js} +2 -2
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-e5f4ce45.js → es6.string.iterator-a390d61f.js} +36 -35
- package/dist/cjs/{extends-5fde0677.js → extends-0a166456.js} +12 -11
- package/dist/cjs/{get-70ef997d.js → get-68c52cb1.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +22 -21
- package/dist/cjs/getSerializers.js +42 -44
- package/dist/cjs/getSeriesDetail.js +1 -1
- package/dist/cjs/{getTargeting-5ca9bfaf.js → getTargeting-57edbc60.js} +11 -11
- package/dist/cjs/getTargeting.js +9 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b1ee7cd9.js → index-0e3597c2.js} +423 -418
- package/dist/cjs/{index-d7577df6.js → index-5ad2b070.js} +14 -11
- package/dist/cjs/{index-29e3f3a9.js → index-80f57cff.js} +19 -16
- package/dist/cjs/{index-949261b4.js → index-cb6ed1fc.js} +4 -4
- package/dist/cjs/{index-ff69979f.js → index-d48b231c.js} +3 -3
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-8a8fa078.js → index.esm-8123cf40.js} +18 -17
- package/dist/cjs/index.js +9 -264
- package/dist/cjs/{inherits-02a27fbf.js → inherits-a9209207.js} +19 -18
- package/dist/cjs/{isSymbol-a0d5eb50.js → isSymbol-04666465.js} +5 -5
- package/dist/cjs/{js.cookie-e4684873.js → js.cookie-a511c430.js} +1 -1
- package/dist/cjs/{keys-1a65eb47.js → keys-d2f5bcf0.js} +6 -5
- package/dist/cjs/{lodash-257df6c4.js → lodash-4ef21f0f.js} +2 -2
- package/dist/cjs/{main-1442052b.js → main-eeffe77b.js} +70 -67
- package/dist/cjs/{moment-29403f08.js → moment-aca40de1.js} +1 -2
- package/dist/cjs/{react-social-icons-5604d0d1.js → react-social-icons-af932527.js} +29 -26
- package/dist/cjs/{slicedToArray-d0ac47b9.js → slicedToArray-60dafa9c.js} +10 -10
- package/dist/cjs/{smoothscroll-03c20c7d.js → smoothscroll-1abb448e.js} +2 -2
- package/dist/cjs/{stringify-e064b7d0.js → stringify-44244c64.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d47f0c64.js → toConsumableArray-4bb00640.js} +14 -13
- package/dist/cjs/{typeof-5763a25b.js → typeof-03c3fdc8.js} +85 -84
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ede0bc7b.js → visibility-sensor-8b54af99.js} +8 -5
- package/dist/cjs/{web.dom.iterable-cd8a9ccb.js → web.dom.iterable-2d47ebe6.js} +11 -10
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -24
- package/dist/esm/AD300x250x600.js +23 -24
- package/dist/esm/AD728x90.js +26 -27
- package/dist/esm/ADFloatingFooter.js +29 -30
- package/dist/esm/ADFooter.js +12 -11
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-d890d5ca.js → ADInfeed-bf7de12d.js} +8 -8
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +30 -31
- package/dist/esm/{ADlgInfeed-1d006b36.js → ADlgInfeed-3ac04591.js} +7 -7
- package/dist/esm/AccordionPanel.js +25 -24
- package/dist/esm/AdSlot.js +26 -27
- package/dist/esm/AdSlotsProvider.js +4 -6
- package/dist/esm/AlphabeticList.js +23 -22
- package/dist/esm/ArticleCarousel.js +20 -22
- package/dist/esm/ArticleSeriesListing.js +55 -57
- package/dist/esm/Auth.js +135 -134
- package/dist/esm/{AuthorComponent-8ffb1deb.js → AuthorComponent-22790017.js} +11 -11
- package/dist/esm/Beam.js +21 -20
- package/dist/esm/{BlockContent-e6f64e62.js → BlockContent-d8cd739c.js} +21 -23
- package/dist/esm/Breadcrumbs.js +18 -17
- package/dist/esm/BrowseVideosListing.js +38 -40
- package/dist/esm/CMEDeck.js +80 -82
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +28 -29
- package/dist/esm/Column3.js +50 -51
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +86 -88
- package/dist/esm/DeckQueue.js +69 -71
- package/dist/esm/{Dfp-7db56716.js → Dfp-08279047.js} +23 -25
- package/dist/esm/EventsDeck.js +120 -120
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +17 -18
- package/dist/esm/ForbesHero.js +35 -37
- package/dist/esm/GridContent.js +145 -147
- package/dist/esm/GridHero.js +37 -39
- package/dist/esm/GroupDeck.js +49 -48
- package/dist/esm/HamMagazine.js +111 -112
- 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 -52
- package/dist/esm/IssueDeck.js +47 -49
- package/dist/esm/IssueLanding.js +69 -71
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -36
- package/dist/esm/MasterDeck.js +80 -82
- package/dist/esm/NavDvm.js +58 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +122 -123
- package/dist/esm/NavNative.js +99 -100
- package/dist/esm/NavNormal.js +36 -35
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -62
- package/dist/esm/PageFilter.js +13 -12
- package/dist/esm/PartnerDetailListing.js +107 -109
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +15 -14
- package/dist/esm/PublicationDeck.js +40 -43
- package/dist/esm/PublicationLanding.js +123 -125
- package/dist/esm/QueueDeckExpanded.js +278 -280
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -50
- 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 +21 -20
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +36 -37
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4eae0149.js → SocialSearchComponent-46ea0f4d.js} +24 -24
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -44
- package/dist/esm/TemplateNormal.js +68 -69
- package/dist/esm/ThumbnailCard.js +13 -16
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +27 -29
- package/dist/esm/VideoSeriesFilter.js +19 -18
- package/dist/esm/VideoSeriesListing.js +69 -71
- package/dist/esm/View.js +216 -219
- package/dist/esm/YahooHero.js +35 -37
- package/dist/esm/YoutubeGroup.js +57 -59
- package/dist/esm/{_export-f7ec2adf.js → _export-9029ebab.js} +2 -133
- package/dist/esm/{_is-array-5bea6006.js → _is-array-46713c19.js} +16 -15
- package/dist/esm/{_iter-detect-65720de7.js → _iter-detect-60cd145f.js} +8 -8
- package/dist/esm/_library-528f1934.js +3 -0
- package/dist/esm/{_object-pie-8e2f6c3a.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/_object-sap-108a1939.js +14 -0
- package/dist/esm/{_set-species-26ee5c2a.js → _set-species-a4b3fe39.js} +15 -14
- package/dist/esm/_to-object-62924b74.js +135 -0
- package/dist/esm/{asyncToGenerator-0c61f551.js → asyncToGenerator-7714cea4.js} +72 -71
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/core.get-iterator-method-6636b3ef.js +37 -0
- package/dist/esm/{debounce-7b569c00.js → debounce-1a993acf.js} +6 -6
- package/dist/esm/{define-property-7a40a451.js → define-property-f2d6f244.js} +4 -4
- package/dist/esm/{defineProperty-a2ac5d3d.js → defineProperty-69f06029.js} +2 -2
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-13b94db0.js → es6.string.iterator-2efae22d.js} +29 -28
- package/dist/esm/{extends-8e0228d5.js → extends-f866c8d0.js} +12 -11
- package/dist/esm/{get-bb2155d5.js → get-5ee14cda.js} +10 -10
- package/dist/esm/getRelatedArticle.js +16 -15
- package/dist/esm/getSerializers.js +42 -44
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-d97a1e83.js → getTargeting-5cdca4e1.js} +11 -11
- package/dist/esm/getTargeting.js +9 -8
- package/dist/esm/{index-f7fdcc91.js → index-3f5c03b2.js} +3 -3
- package/dist/esm/{index-4540328d.js → index-5db919a6.js} +382 -384
- package/dist/esm/{index-17490425.js → index-669ff425.js} +9 -11
- package/dist/esm/{index-1295881c.js → index-750a7380.js} +2 -2
- package/dist/esm/{index-a4e850af.js → index-752d1dae.js} +13 -16
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-3fdda599.js → index.esm-57f377a5.js} +1 -1
- package/dist/esm/{index.esm-4838a32e.js → index.esm-8016b507.js} +15 -15
- package/dist/esm/index.js +11 -176
- package/dist/esm/{inherits-d1948b66.js → inherits-75d6495f.js} +17 -16
- package/dist/esm/{isSymbol-2b7f6e65.js → isSymbol-807e927e.js} +1 -1
- package/dist/esm/{js.cookie-2ce24ab0.js → js.cookie-6874175c.js} +1 -1
- package/dist/esm/{keys-e091cb65.js → keys-78217618.js} +6 -5
- package/dist/esm/{lodash-2b866578.js → lodash-ad27652f.js} +2 -2
- package/dist/esm/{main-140f99b4.js → main-decc48f4.js} +66 -67
- package/dist/esm/{moment-8797a4d3.js → moment-bc12cb97.js} +2 -2
- package/dist/esm/{react-social-icons-40e8d28f.js → react-social-icons-91f9716f.js} +24 -26
- package/dist/esm/{slicedToArray-8818fe95.js → slicedToArray-fa9240c4.js} +10 -10
- package/dist/esm/{smoothscroll-2d74941c.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-dedf4a20.js → stringify-22907f56.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-02217419.js → toConsumableArray-bd01c637.js} +14 -13
- package/dist/esm/{typeof-a10a5616.js → typeof-668f30cd.js} +86 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-7b6316cf.js → visibility-sensor-082c757b.js} +3 -5
- package/dist/esm/{web.dom.iterable-c3ba4d37.js → web.dom.iterable-89515070.js} +11 -10
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-947ef6fb.js +0 -16
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +0 -10
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +0 -9
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +0 -10
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +0 -39
- package/dist/esm/_library-90219a8d.js +0 -3
- package/dist/esm/_object-sap-146241c9.js +0 -14
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +0 -5
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +0 -5
- package/dist/esm/_react_commonjs-external-22b61490.js +0 -5
- package/dist/esm/core.get-iterator-method-dbbb346b.js +0 -36
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,53 +1,51 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-02217419.js';
|
|
7
|
-
import './core.get-iterator-method-dbbb346b.js';
|
|
8
|
-
import './_object-pie-8e2f6c3a.js';
|
|
9
|
-
import { _ as _extends } from './extends-8e0228d5.js';
|
|
10
|
-
import './_object-sap-146241c9.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d1948b66.js';
|
|
12
|
-
import './define-property-7a40a451.js';
|
|
13
|
-
import './web.dom.iterable-c3ba4d37.js';
|
|
14
|
-
import './typeof-a10a5616.js';
|
|
15
|
-
import './_is-array-5bea6006.js';
|
|
16
|
-
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-17490425.js';
|
|
18
|
-
import 'prop-types';
|
|
19
|
-
import './_react_commonjs-external-22b61490.js';
|
|
20
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
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';
|
|
21
6
|
import Container from 'react-bootstrap/Container';
|
|
22
7
|
import Row from 'react-bootstrap/Row';
|
|
23
8
|
import Col from 'react-bootstrap/Col';
|
|
24
9
|
import Card from 'react-bootstrap/Card';
|
|
25
|
-
import {
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
11
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
26
12
|
import { withRouter } from 'next/router';
|
|
27
|
-
import './
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import '
|
|
31
|
-
import './
|
|
32
|
-
import { V as VisibilitySensor } from './visibility-sensor-7b6316cf.js';
|
|
33
|
-
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
34
|
-
import { L as LazyLoad } from './index-a4e850af.js';
|
|
35
|
-
import { m as main_40 } from './main-140f99b4.js';
|
|
36
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
37
|
-
import './stringify-dedf4a20.js';
|
|
38
|
-
import './slicedToArray-8818fe95.js';
|
|
39
|
-
import './asyncToGenerator-0c61f551.js';
|
|
40
|
-
import './_set-species-26ee5c2a.js';
|
|
41
|
-
import './Segment.js';
|
|
42
|
-
import './Beam.js';
|
|
43
|
-
import './AdSlot.js';
|
|
44
|
-
import { A as ADInfeed } from './ADInfeed-d890d5ca.js';
|
|
45
|
-
import { _ } from './lodash-2b866578.js';
|
|
46
|
-
import { A as ADlgInfeed } from './ADlgInfeed-1d006b36.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';
|
|
47
18
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
48
|
-
import { g as
|
|
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';
|
|
49
24
|
import './AD.js';
|
|
50
|
-
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';
|
|
51
49
|
|
|
52
50
|
var GridContent = function (_React$Component) {
|
|
53
51
|
_inherits(GridContent, _React$Component);
|
|
@@ -76,7 +74,7 @@ var GridContent = function (_React$Component) {
|
|
|
76
74
|
lgInfeedAd: _this.props.lgInfeedAd ? _this.props.lgInfeedAd : false,
|
|
77
75
|
showCategory: _this.props.showCategory ? _this.props.showCategory : false,
|
|
78
76
|
contentCategoryMapping: _this.props.contentCategoryMapping ? contentCategoryMapping : []
|
|
79
|
-
}, _this.loadMore =
|
|
77
|
+
}, _this.loadMore = debounce_1(function () {
|
|
80
78
|
_this.setState(function (state) {
|
|
81
79
|
var page = state.page,
|
|
82
80
|
from = state.from,
|
|
@@ -166,9 +164,9 @@ var GridContent = function (_React$Component) {
|
|
|
166
164
|
}
|
|
167
165
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
168
166
|
var _this$props2 = _this.props,
|
|
169
|
-
seoPaginate = _this$props2.seoPaginate
|
|
170
|
-
|
|
171
|
-
router = _this$props2.router;
|
|
167
|
+
seoPaginate = _this$props2.seoPaginate;
|
|
168
|
+
_this$props2.pageview;
|
|
169
|
+
var router = _this$props2.router;
|
|
172
170
|
var currentPage = _this.state.currentPage;
|
|
173
171
|
|
|
174
172
|
if (seoPaginate) {
|
|
@@ -233,7 +231,7 @@ var GridContent = function (_React$Component) {
|
|
|
233
231
|
var rightItems = _this.props.rightItems;
|
|
234
232
|
|
|
235
233
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
236
|
-
return
|
|
234
|
+
return React.createElement(
|
|
237
235
|
'div',
|
|
238
236
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
239
237
|
rightItems[i].component
|
|
@@ -241,15 +239,15 @@ var GridContent = function (_React$Component) {
|
|
|
241
239
|
}, _this.renderManualPagination = function () {
|
|
242
240
|
var currentPage = _this.state.currentPage;
|
|
243
241
|
|
|
244
|
-
return
|
|
242
|
+
return React.createElement(
|
|
245
243
|
'div',
|
|
246
244
|
{ className: 'd-flex justify-content-between' },
|
|
247
|
-
currentPage && currentPage > 1 &&
|
|
245
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
248
246
|
'a',
|
|
249
247
|
{ href: '?page=' + (currentPage - 1) },
|
|
250
248
|
'<< Previous'
|
|
251
249
|
),
|
|
252
|
-
|
|
250
|
+
React.createElement(
|
|
253
251
|
'a',
|
|
254
252
|
{ href: '?page=' + (currentPage + 1) },
|
|
255
253
|
'Next >>'
|
|
@@ -268,62 +266,62 @@ var GridContent = function (_React$Component) {
|
|
|
268
266
|
var numberOfItemsBeforeAd = 6;
|
|
269
267
|
var numberOfItemsBeforeVideo = 3;
|
|
270
268
|
if (variant === 'stack') {
|
|
271
|
-
return
|
|
269
|
+
return React.createElement(
|
|
272
270
|
Row,
|
|
273
271
|
null,
|
|
274
272
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
275
273
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
276
|
-
return
|
|
274
|
+
return React.createElement(
|
|
277
275
|
Col,
|
|
278
276
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
279
|
-
|
|
277
|
+
React.createElement(
|
|
280
278
|
Card,
|
|
281
279
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
282
|
-
|
|
280
|
+
React.createElement(
|
|
283
281
|
Row,
|
|
284
282
|
{ style: { flexDirection: 'row' } },
|
|
285
|
-
|
|
283
|
+
React.createElement(
|
|
286
284
|
Col,
|
|
287
285
|
{ md: 12, lg: 4 },
|
|
288
|
-
|
|
286
|
+
React.createElement(
|
|
289
287
|
'a',
|
|
290
|
-
{ href: _this2.page + '/' +
|
|
291
|
-
|
|
288
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
289
|
+
React.createElement(
|
|
292
290
|
LazyLoad,
|
|
293
291
|
{ height: _this2.props.imageHeight },
|
|
294
|
-
|
|
292
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
295
293
|
)
|
|
296
294
|
)
|
|
297
295
|
),
|
|
298
|
-
|
|
296
|
+
React.createElement(
|
|
299
297
|
Col,
|
|
300
298
|
null,
|
|
301
|
-
|
|
299
|
+
React.createElement(
|
|
302
300
|
Card.Body,
|
|
303
301
|
{ style: { padding: '20px' } },
|
|
304
|
-
|
|
302
|
+
React.createElement(
|
|
305
303
|
Card.Title,
|
|
306
304
|
null,
|
|
307
|
-
|
|
305
|
+
React.createElement(
|
|
308
306
|
'a',
|
|
309
|
-
{ href: _this2.page + '/' +
|
|
307
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
310
308
|
row.title
|
|
311
309
|
)
|
|
312
310
|
),
|
|
313
|
-
_this2.props.showPublished && row.published &&
|
|
311
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
314
312
|
Card.Subtitle,
|
|
315
313
|
{ style: { marginTop: 0 } },
|
|
316
314
|
moment(row.published).format('MMMM DD, YYYY')
|
|
317
315
|
),
|
|
318
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
316
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
319
317
|
LazyLoad,
|
|
320
318
|
{ height: 50 },
|
|
321
|
-
|
|
319
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
322
320
|
),
|
|
323
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
321
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
324
322
|
LazyLoad,
|
|
325
323
|
{ height: 50 },
|
|
326
|
-
|
|
324
|
+
React.createElement(
|
|
327
325
|
'p',
|
|
328
326
|
{
|
|
329
327
|
className: 'article-category',
|
|
@@ -338,7 +336,7 @@ var GridContent = function (_React$Component) {
|
|
|
338
336
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
339
337
|
)
|
|
340
338
|
),
|
|
341
|
-
|
|
339
|
+
React.createElement(
|
|
342
340
|
Card.Text,
|
|
343
341
|
null,
|
|
344
342
|
clean_html_1(row.summary)
|
|
@@ -348,13 +346,13 @@ var GridContent = function (_React$Component) {
|
|
|
348
346
|
)
|
|
349
347
|
)
|
|
350
348
|
);
|
|
351
|
-
}) :
|
|
349
|
+
}) : React.createElement(
|
|
352
350
|
'div',
|
|
353
351
|
null,
|
|
354
|
-
|
|
352
|
+
React.createElement(
|
|
355
353
|
'h5',
|
|
356
354
|
null,
|
|
357
|
-
|
|
355
|
+
React.createElement(
|
|
358
356
|
'em',
|
|
359
357
|
null,
|
|
360
358
|
'New content coming soon, please check back later.'
|
|
@@ -393,17 +391,17 @@ var GridContent = function (_React$Component) {
|
|
|
393
391
|
/* Passing refresh flag */
|
|
394
392
|
refreshFlag: brandInsight.refreshFlag ? brandInsight.refreshFlag : false
|
|
395
393
|
};
|
|
396
|
-
var chunks =
|
|
397
|
-
var set =
|
|
394
|
+
var chunks = lodash.chunk(data, 6).map(function (chunk) {
|
|
395
|
+
var set = lodash.chunk(chunk, 2);
|
|
398
396
|
for (var i = 0; i < set.length; i++) {
|
|
399
397
|
if (i !== set.length - 1) {
|
|
400
398
|
set[i].push(lgInFeedAd);
|
|
401
399
|
}
|
|
402
400
|
}
|
|
403
|
-
return
|
|
401
|
+
return lodash.flattenDeep(set);
|
|
404
402
|
});
|
|
405
403
|
|
|
406
|
-
posts =
|
|
404
|
+
posts = lodash.flatten(chunks);
|
|
407
405
|
}
|
|
408
406
|
|
|
409
407
|
if (showBI) {
|
|
@@ -463,7 +461,7 @@ var GridContent = function (_React$Component) {
|
|
|
463
461
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
464
462
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
465
463
|
var featureCount = 0;
|
|
466
|
-
return
|
|
464
|
+
return React.createElement(
|
|
467
465
|
'div',
|
|
468
466
|
{ className: 'grid-container' },
|
|
469
467
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -473,58 +471,58 @@ var GridContent = function (_React$Component) {
|
|
|
473
471
|
if (row._type === 'feature') {
|
|
474
472
|
featureCount++;
|
|
475
473
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
476
|
-
return
|
|
477
|
-
|
|
474
|
+
return React.createElement(
|
|
475
|
+
React.Fragment,
|
|
478
476
|
{ key: itemCounter },
|
|
479
|
-
|
|
477
|
+
React.createElement(
|
|
480
478
|
VisibilitySensor,
|
|
481
479
|
{
|
|
482
480
|
partialVisibility: true,
|
|
483
481
|
onChange: function onChange(isVisible) {
|
|
484
482
|
isVisible && _this2.changePageNumber(1, itemsPerPage, index);
|
|
485
483
|
} },
|
|
486
|
-
|
|
484
|
+
React.createElement(
|
|
487
485
|
'div',
|
|
488
486
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
489
|
-
|
|
487
|
+
React.createElement(
|
|
490
488
|
Card,
|
|
491
489
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
492
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
490
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
493
491
|
'a',
|
|
494
492
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
495
|
-
|
|
493
|
+
React.createElement(
|
|
496
494
|
LazyLoad,
|
|
497
495
|
{ height: _this2.props.imageHeight },
|
|
498
|
-
|
|
496
|
+
React.createElement(Card.Img, {
|
|
499
497
|
variant: 'top',
|
|
500
498
|
src: _this2.renderCardImage(row, page),
|
|
501
499
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
502
500
|
})
|
|
503
501
|
)
|
|
504
502
|
),
|
|
505
|
-
|
|
503
|
+
React.createElement(
|
|
506
504
|
Card.Body,
|
|
507
505
|
null,
|
|
508
|
-
|
|
506
|
+
React.createElement(
|
|
509
507
|
'a',
|
|
510
508
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
511
|
-
|
|
509
|
+
React.createElement(
|
|
512
510
|
Card.Title,
|
|
513
511
|
null,
|
|
514
512
|
row.title
|
|
515
513
|
)
|
|
516
514
|
),
|
|
517
|
-
_this2.props.showPublished && row.published &&
|
|
515
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
518
516
|
Card.Subtitle,
|
|
519
517
|
{ style: { marginTop: 0 } },
|
|
520
518
|
moment(row.published).format('MMMM DD, YYYY')
|
|
521
519
|
),
|
|
522
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
520
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
523
521
|
LazyLoad,
|
|
524
522
|
{ height: 50 },
|
|
525
|
-
|
|
523
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
526
524
|
),
|
|
527
|
-
|
|
525
|
+
React.createElement(
|
|
528
526
|
Card.Text,
|
|
529
527
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
530
528
|
clean_html_1(row.summary)
|
|
@@ -533,62 +531,62 @@ var GridContent = function (_React$Component) {
|
|
|
533
531
|
)
|
|
534
532
|
)
|
|
535
533
|
),
|
|
536
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
534
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
537
535
|
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
538
536
|
);
|
|
539
537
|
} else {
|
|
540
|
-
return
|
|
541
|
-
|
|
538
|
+
return React.createElement(
|
|
539
|
+
React.Fragment,
|
|
542
540
|
{ key: itemCounter },
|
|
543
|
-
|
|
541
|
+
React.createElement(
|
|
544
542
|
VisibilitySensor,
|
|
545
543
|
{
|
|
546
544
|
partialVisibility: true,
|
|
547
545
|
onChange: function onChange(isVisible) {
|
|
548
546
|
isVisible && _this2.changePageNumber(1, itemsPerPage, index);
|
|
549
547
|
} },
|
|
550
|
-
|
|
548
|
+
React.createElement(
|
|
551
549
|
'div',
|
|
552
550
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
553
|
-
|
|
551
|
+
React.createElement(
|
|
554
552
|
Card,
|
|
555
553
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
556
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
554
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
557
555
|
'a',
|
|
558
556
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
559
|
-
|
|
557
|
+
React.createElement(
|
|
560
558
|
LazyLoad,
|
|
561
559
|
{ height: _this2.props.imageHeight },
|
|
562
|
-
|
|
560
|
+
React.createElement(Card.Img, {
|
|
563
561
|
variant: 'top',
|
|
564
562
|
src: _this2.renderCardImage(row, page),
|
|
565
563
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
566
564
|
})
|
|
567
565
|
)
|
|
568
566
|
),
|
|
569
|
-
|
|
567
|
+
React.createElement(
|
|
570
568
|
Card.Body,
|
|
571
569
|
null,
|
|
572
|
-
|
|
570
|
+
React.createElement(
|
|
573
571
|
'a',
|
|
574
572
|
{ href: row.url.current },
|
|
575
|
-
|
|
573
|
+
React.createElement(
|
|
576
574
|
Card.Title,
|
|
577
575
|
null,
|
|
578
576
|
row.title
|
|
579
577
|
)
|
|
580
578
|
),
|
|
581
|
-
_this2.props.showPublished && row.published &&
|
|
579
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
582
580
|
Card.Subtitle,
|
|
583
581
|
{ style: { marginTop: 0 } },
|
|
584
582
|
moment(row.published).format('MMMM DD, YYYY')
|
|
585
583
|
),
|
|
586
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
584
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
587
585
|
LazyLoad,
|
|
588
586
|
{ height: 50 },
|
|
589
|
-
|
|
587
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
590
588
|
),
|
|
591
|
-
|
|
589
|
+
React.createElement(
|
|
592
590
|
Card.Text,
|
|
593
591
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
594
592
|
clean_html_1(row.summary)
|
|
@@ -597,71 +595,71 @@ var GridContent = function (_React$Component) {
|
|
|
597
595
|
)
|
|
598
596
|
)
|
|
599
597
|
),
|
|
600
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
598
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
601
599
|
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
602
600
|
);
|
|
603
601
|
}
|
|
604
602
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
605
|
-
return
|
|
603
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
606
604
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
607
|
-
return
|
|
605
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
608
606
|
}
|
|
609
607
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
610
|
-
return
|
|
611
|
-
|
|
608
|
+
return React.createElement(
|
|
609
|
+
React.Fragment,
|
|
612
610
|
{ key: itemCounter },
|
|
613
|
-
|
|
611
|
+
React.createElement(
|
|
614
612
|
VisibilitySensor,
|
|
615
613
|
{
|
|
616
614
|
onChange: function onChange(isVisible) {
|
|
617
615
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
618
616
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
619
617
|
} },
|
|
620
|
-
|
|
618
|
+
React.createElement(
|
|
621
619
|
'div',
|
|
622
620
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
623
|
-
|
|
621
|
+
React.createElement(
|
|
624
622
|
Card,
|
|
625
623
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
626
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
624
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
627
625
|
'a',
|
|
628
626
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
629
|
-
|
|
627
|
+
React.createElement(
|
|
630
628
|
LazyLoad,
|
|
631
629
|
{ height: _this2.props.imageHeight },
|
|
632
|
-
|
|
630
|
+
React.createElement(Card.Img, {
|
|
633
631
|
variant: 'top',
|
|
634
632
|
src: _this2.renderCardImage(row, page),
|
|
635
633
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
636
634
|
})
|
|
637
635
|
)
|
|
638
636
|
),
|
|
639
|
-
|
|
637
|
+
React.createElement(
|
|
640
638
|
Card.Body,
|
|
641
639
|
null,
|
|
642
|
-
|
|
640
|
+
React.createElement(
|
|
643
641
|
'a',
|
|
644
642
|
{ href: linkHref },
|
|
645
|
-
|
|
643
|
+
React.createElement(
|
|
646
644
|
Card.Title,
|
|
647
645
|
null,
|
|
648
646
|
row.title
|
|
649
647
|
)
|
|
650
648
|
),
|
|
651
|
-
_this2.props.showPublished && row.published &&
|
|
649
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
652
650
|
Card.Subtitle,
|
|
653
651
|
{ style: { marginTop: 0 } },
|
|
654
652
|
moment(row.published).format('MMMM DD, YYYY')
|
|
655
653
|
),
|
|
656
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
654
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
657
655
|
LazyLoad,
|
|
658
656
|
{ height: 50 },
|
|
659
|
-
|
|
657
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
660
658
|
),
|
|
661
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
659
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
662
660
|
LazyLoad,
|
|
663
661
|
{ height: 50 },
|
|
664
|
-
|
|
662
|
+
React.createElement(
|
|
665
663
|
'p',
|
|
666
664
|
{
|
|
667
665
|
className: 'article-category',
|
|
@@ -676,7 +674,7 @@ var GridContent = function (_React$Component) {
|
|
|
676
674
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
677
675
|
)
|
|
678
676
|
),
|
|
679
|
-
|
|
677
|
+
React.createElement(
|
|
680
678
|
Card.Text,
|
|
681
679
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
682
680
|
clean_html_1(row.summary)
|
|
@@ -685,17 +683,17 @@ var GridContent = function (_React$Component) {
|
|
|
685
683
|
)
|
|
686
684
|
)
|
|
687
685
|
),
|
|
688
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
686
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
689
687
|
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
690
688
|
);
|
|
691
689
|
} else return null;
|
|
692
|
-
}) :
|
|
690
|
+
}) : React.createElement(
|
|
693
691
|
'div',
|
|
694
692
|
null,
|
|
695
|
-
|
|
693
|
+
React.createElement(
|
|
696
694
|
'h5',
|
|
697
695
|
null,
|
|
698
|
-
|
|
696
|
+
React.createElement(
|
|
699
697
|
'em',
|
|
700
698
|
null,
|
|
701
699
|
'New content coming soon, please check back later.'
|
|
@@ -720,29 +718,29 @@ var GridContent = function (_React$Component) {
|
|
|
720
718
|
brandInsight = _props.brandInsight;
|
|
721
719
|
|
|
722
720
|
|
|
723
|
-
return
|
|
721
|
+
return React.createElement(
|
|
724
722
|
'div',
|
|
725
723
|
{ className: 'contentDeck' },
|
|
726
|
-
autoScroll ?
|
|
724
|
+
autoScroll ? React.createElement(
|
|
727
725
|
InfiniteScroll,
|
|
728
726
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
729
|
-
|
|
727
|
+
React.createElement(
|
|
730
728
|
Container,
|
|
731
729
|
null,
|
|
732
730
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
733
731
|
)
|
|
734
|
-
) :
|
|
735
|
-
|
|
732
|
+
) : React.createElement(
|
|
733
|
+
React.Fragment,
|
|
736
734
|
null,
|
|
737
|
-
|
|
735
|
+
React.createElement(
|
|
738
736
|
Container,
|
|
739
737
|
null,
|
|
740
738
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
741
739
|
),
|
|
742
|
-
|
|
740
|
+
React.createElement(
|
|
743
741
|
'div',
|
|
744
742
|
{ style: { padding: '0px 10px' } },
|
|
745
|
-
this.state.scrolling ?
|
|
743
|
+
this.state.scrolling ? React.createElement(
|
|
746
744
|
'button',
|
|
747
745
|
{
|
|
748
746
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -750,17 +748,17 @@ var GridContent = function (_React$Component) {
|
|
|
750
748
|
_this3.loadMore();
|
|
751
749
|
} },
|
|
752
750
|
'Load More'
|
|
753
|
-
) :
|
|
751
|
+
) : React.createElement(
|
|
754
752
|
'p',
|
|
755
753
|
{ style: { textAlign: 'center' } },
|
|
756
|
-
|
|
754
|
+
React.createElement(
|
|
757
755
|
'b',
|
|
758
756
|
null,
|
|
759
757
|
'End of data'
|
|
760
758
|
)
|
|
761
759
|
)
|
|
762
760
|
),
|
|
763
|
-
|
|
761
|
+
React.createElement(
|
|
764
762
|
'noscript',
|
|
765
763
|
null,
|
|
766
764
|
this.renderManualPagination()
|
|
@@ -771,8 +769,8 @@ var GridContent = function (_React$Component) {
|
|
|
771
769
|
}]);
|
|
772
770
|
|
|
773
771
|
return GridContent;
|
|
774
|
-
}(
|
|
772
|
+
}(React.Component);
|
|
775
773
|
|
|
776
|
-
var GridContent$1 =
|
|
774
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
777
775
|
|
|
778
776
|
export default GridContent$1;
|