@mjhls/mjh-framework 1.0.860-beta.0 → 1.0.860
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +19 -17
- package/dist/cjs/AD300x250x600.js +19 -17
- package/dist/cjs/AD728x90.js +20 -18
- package/dist/cjs/ADFloatingFooter.js +21 -19
- package/dist/cjs/ADFooter.js +14 -11
- package/dist/cjs/ADGutter.js +21 -19
- package/dist/cjs/{ADInfeed-7c09edba.js → ADInfeed-ff26342c.js} +12 -10
- package/dist/cjs/ADSkyscraper.js +21 -19
- package/dist/cjs/ADSponsoredResources.js +21 -19
- package/dist/cjs/ADWebcast.js +21 -19
- package/dist/cjs/ADWelcome.js +25 -23
- package/dist/cjs/{ADlgInfeed-2e7effc7.js → ADlgInfeed-ad4953d4.js} +8 -7
- package/dist/cjs/AccordionPanel.js +29 -25
- package/dist/cjs/AdSlot.js +23 -21
- package/dist/cjs/AdSlotsProvider.js +18 -908
- package/dist/cjs/AlgoliaSearch.js +55 -14018
- package/dist/cjs/AlphabeticList.js +24 -21
- package/dist/cjs/ArticleCarousel.js +18 -15
- package/dist/cjs/ArticleProgramLandingPage.js +38 -35
- package/dist/cjs/ArticleSeriesLandingPage.js +33 -31
- package/dist/cjs/ArticleSeriesListing.js +49 -47
- package/dist/cjs/Auth.js +245 -1203
- package/dist/cjs/AuthWrapper.js +31 -564
- package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-ac8972ce.js} +14 -13
- package/dist/cjs/Beam.js +7 -5
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +28 -24
- package/dist/cjs/CMEDeck.js +73 -72
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +30 -25
- package/dist/cjs/Column3.js +46 -42
- package/dist/cjs/ConferenceArticleCard.js +33 -35
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +97 -92
- package/dist/cjs/DeckQueue.js +82 -78
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-0bf098b5.js} +28 -26
- package/dist/cjs/EventsDeck.js +153 -144
- package/dist/cjs/ExternalResources.js +62 -59
- package/dist/cjs/Feature.js +25 -26
- package/dist/cjs/ForbesHero.js +40 -37
- package/dist/cjs/GridContent.js +221 -215
- package/dist/cjs/GridHero.js +41 -38
- package/dist/cjs/GroupDeck.js +55 -52
- package/dist/cjs/HamMagazine.js +137 -130
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -12
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +52 -49
- package/dist/cjs/HorizontalHero.js +24 -26
- package/dist/cjs/IssueContentDeck.js +75 -68
- package/dist/cjs/IssueDeck.js +73 -66
- package/dist/cjs/IssueLanding.js +73 -70
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +31 -28
- package/dist/cjs/MasterDeck.js +71 -69
- package/dist/cjs/MediaSeriesLanding.js +814 -920
- package/dist/cjs/NavDvm.js +75 -68
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +138 -131
- package/dist/cjs/NavNative.js +132 -122
- package/dist/cjs/OncliveHero.js +17 -20
- package/dist/cjs/OncliveLargeHero.js +69 -66
- package/dist/cjs/PageFilter.js +14 -11
- package/dist/cjs/PartnerDetailListing.js +301 -199
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +20 -16
- package/dist/cjs/PubSection.js +30 -28
- package/dist/cjs/PubToc.js +15 -12
- package/dist/cjs/PublicationDeck.js +64 -62
- package/dist/cjs/PublicationLanding.js +150 -144
- package/dist/cjs/QueueDeckExpanded.js +295 -294
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +51 -53
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +21 -15
- package/dist/cjs/Segment.js +6 -4
- package/dist/cjs/SeriesListingDeck.js +33 -32
- package/dist/cjs/{SeriesSlider-94af9fcb.js → SeriesSlider-60fa1342.js} +39 -38
- package/dist/cjs/SideFooter.js +33 -30
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-650f6101.js → SocialSearchComponent-19548e2a.js} +39 -35
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +61 -58
- package/dist/cjs/TaxonomyDescription.js +37 -34
- package/dist/cjs/TemplateNormal.js +46 -44
- package/dist/cjs/ThumbnailCard.js +19 -20
- package/dist/cjs/Ustream.js +29 -26
- package/dist/cjs/VerticalHero.js +16 -18
- package/dist/cjs/VideoProgramLandingPage.js +58 -52
- package/dist/cjs/VideoSeriesCard.js +28 -27
- package/dist/cjs/VideoSeriesFilter.js +16 -14
- package/dist/cjs/VideoSeriesLandingPage.js +38 -36
- package/dist/cjs/VideoSeriesListing.js +66 -64
- package/dist/cjs/View.js +220 -214
- package/dist/cjs/YahooHero.js +36 -33
- package/dist/cjs/YoutubeGroup.js +61 -58
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-754e012d.js} +9 -9
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-60b2f026.js} +7 -6
- package/dist/cjs/_object-sap-5e74ba08.js +16 -0
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-5762f850.js} +4 -4
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → _to-object-329a650b.js} +3 -239
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-140e5f89.js} +67 -65
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/core.get-iterator-method-f62321d4.js +39 -0
- package/dist/cjs/{define-property-21887c62.js → define-property-f4d12f4e.js} +3 -3
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/es6.string.iterator-cc0bbaa4.js +210 -0
- package/dist/cjs/{extends-eed4f016.js → extends-60837c34.js} +8 -9
- package/dist/cjs/faundadb.js +7 -5
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +73 -135
- package/dist/cjs/getRootDocGroup.js +6 -4
- package/dist/cjs/getSerializers.js +26 -24
- package/dist/cjs/{getTargeting-8874437b.js → getTargeting-3e45e4d4.js} +12 -12
- package/dist/cjs/getTargeting.js +7 -5
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-98e01cb9.js → index-44481153.js} +494 -47
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-cdcc0b5e.js → index-9ac40041.js} +961 -1206
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- 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-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +80 -74
- package/dist/cjs/{inherits-12d44cca.js → inherits-87492b40.js} +14 -16
- package/dist/cjs/{keys-d207942e.js → keys-a586b7a0.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-8f385299.js} +9 -7
- package/dist/cjs/{stringify-bbc68047.js → stringify-7c5aff47.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-9a3476fe.js} +10 -8
- package/dist/cjs/{typeof-5f52cf64.js → typeof-9d7f610f.js} +74 -73
- package/dist/cjs/urlFor.js +4 -21
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-a0e279c1.js} +9 -8
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +16 -15
- package/dist/esm/AD300x250x600.js +16 -15
- package/dist/esm/AD728x90.js +17 -16
- package/dist/esm/ADFloatingFooter.js +18 -17
- package/dist/esm/ADFooter.js +11 -9
- package/dist/esm/ADGutter.js +18 -17
- package/dist/esm/{ADInfeed-bfd129d9.js → ADInfeed-422ad6e6.js} +8 -8
- package/dist/esm/ADSkyscraper.js +18 -17
- package/dist/esm/ADSponsoredResources.js +18 -17
- package/dist/esm/ADWebcast.js +18 -17
- package/dist/esm/ADWelcome.js +22 -21
- package/dist/esm/{ADlgInfeed-0489335b.js → ADlgInfeed-f7468db8.js} +5 -5
- package/dist/esm/AccordionPanel.js +22 -20
- package/dist/esm/AdSlot.js +14 -13
- package/dist/esm/AdSlotsProvider.js +16 -907
- package/dist/esm/AlgoliaSearch.js +47 -14011
- package/dist/esm/AlphabeticList.js +21 -19
- package/dist/esm/ArticleCarousel.js +15 -13
- package/dist/esm/ArticleProgramLandingPage.js +35 -33
- package/dist/esm/ArticleSeriesLandingPage.js +30 -29
- package/dist/esm/ArticleSeriesListing.js +45 -44
- package/dist/esm/Auth.js +225 -1187
- package/dist/esm/AuthWrapper.js +29 -564
- package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-8ffd4679.js} +11 -11
- package/dist/esm/Beam.js +7 -5
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +16 -14
- package/dist/esm/CMEDeck.js +70 -69
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +25 -23
- package/dist/esm/Column3.js +41 -40
- package/dist/esm/ConferenceArticleCard.js +30 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +89 -88
- package/dist/esm/DeckQueue.js +74 -74
- package/dist/esm/{Dfp-f867d061.js → Dfp-85c9513e.js} +15 -14
- package/dist/esm/EventsDeck.js +121 -119
- package/dist/esm/ExternalResources.js +56 -54
- package/dist/esm/Feature.js +17 -20
- package/dist/esm/ForbesHero.js +33 -31
- package/dist/esm/GridContent.js +185 -184
- package/dist/esm/GridHero.js +34 -32
- package/dist/esm/GroupDeck.js +42 -40
- package/dist/esm/HamMagazine.js +107 -105
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +49 -47
- package/dist/esm/HorizontalHero.js +21 -24
- package/dist/esm/IssueContentDeck.js +58 -56
- package/dist/esm/IssueDeck.js +62 -60
- package/dist/esm/IssueLanding.js +70 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +25 -24
- package/dist/esm/MasterDeck.js +67 -66
- package/dist/esm/MediaSeriesLanding.js +575 -684
- package/dist/esm/NavDvm.js +53 -51
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +110 -108
- package/dist/esm/NavNative.js +99 -97
- package/dist/esm/OncliveHero.js +14 -18
- package/dist/esm/OncliveLargeHero.js +57 -55
- package/dist/esm/PageFilter.js +11 -9
- package/dist/esm/PartnerDetailListing.js +191 -90
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +13 -11
- package/dist/esm/PubSection.js +27 -26
- package/dist/esm/PubToc.js +12 -10
- package/dist/esm/PublicationDeck.js +51 -54
- package/dist/esm/PublicationLanding.js +105 -103
- package/dist/esm/QueueDeckExpanded.js +261 -260
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +12 -10
- package/dist/esm/Segment.js +6 -4
- package/dist/esm/SeriesListingDeck.js +28 -27
- package/dist/esm/{SeriesSlider-0371fc11.js → SeriesSlider-05ecb544.js} +29 -29
- package/dist/esm/SideFooter.js +29 -27
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-d7dec0c2.js → SocialSearchComponent-47815365.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +52 -54
- package/dist/esm/TaxonomyDescription.js +31 -29
- package/dist/esm/TemplateNormal.js +42 -41
- package/dist/esm/ThumbnailCard.js +10 -13
- package/dist/esm/Ustream.js +26 -24
- package/dist/esm/VerticalHero.js +13 -16
- package/dist/esm/VideoProgramLandingPage.js +47 -45
- package/dist/esm/VideoSeriesCard.js +22 -22
- package/dist/esm/VideoSeriesFilter.js +13 -11
- package/dist/esm/VideoSeriesLandingPage.js +30 -29
- package/dist/esm/VideoSeriesListing.js +62 -61
- package/dist/esm/View.js +199 -197
- package/dist/esm/YahooHero.js +30 -28
- package/dist/esm/YoutubeGroup.js +45 -43
- package/dist/esm/{_is-array-4df618a6.js → _is-array-58e95429.js} +1 -1
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-5d49a330.js} +2 -1
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{core.get-iterator-method-86d4db69.js → _to-object-a4107da3.js} +1 -230
- package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-fc1c2e29.js} +5 -3
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/core.get-iterator-method-e1de7503.js +36 -0
- package/dist/esm/{define-property-6d26cb48.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/es6.string.iterator-c990c18c.js +201 -0
- package/dist/esm/{extends-5b1796d4.js → extends-eb69e8ac.js} +2 -2
- package/dist/esm/faundadb.js +7 -5
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +68 -130
- package/dist/esm/getRootDocGroup.js +6 -4
- package/dist/esm/getSerializers.js +26 -24
- package/dist/esm/{getTargeting-277c801e.js → getTargeting-9cb7e014.js} +11 -11
- package/dist/esm/getTargeting.js +7 -5
- package/dist/esm/{index-fe008ffe.js → index-110c875e.js} +905 -1161
- package/dist/esm/{index-41a678ea.js → index-1819118a.js} +487 -41
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-ef6d5dcf.js → index-fa2ffe86.js} +1 -1
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +69 -66
- package/dist/esm/{inherits-2409637d.js → inherits-0d8cda6e.js} +6 -5
- package/dist/esm/{keys-69989821.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-641f241f.js} +4 -2
- package/dist/esm/{stringify-70b72959.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-43aa614d.js} +4 -2
- package/dist/esm/{typeof-c05a82ba.js → typeof-af9c50d8.js} +5 -4
- package/dist/esm/urlFor.js +2 -19
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-4439f05a.js} +2 -1
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-171b9ea5.js +0 -16
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-e2e62963.js +0 -89
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-aaa2dae0.js +0 -85
- package/dist/esm/inherits-77d5e4fc.js +0 -101
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
3
4
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
6
8
|
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-
|
|
8
|
-
import './_object-sap-
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
10
|
-
import './define-property-
|
|
11
|
-
import './web.dom.iterable-
|
|
12
|
-
import './typeof-
|
|
13
|
-
import './_is-array-
|
|
14
|
-
import
|
|
15
|
-
import './
|
|
16
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
9
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
17
18
|
import 'prop-types';
|
|
18
|
-
import Container
|
|
19
|
-
import Row
|
|
20
|
-
import Col
|
|
21
|
-
import Card
|
|
22
|
-
import { m as moment } from './moment-
|
|
19
|
+
import Container from 'react-bootstrap/Container';
|
|
20
|
+
import Row from 'react-bootstrap/Row';
|
|
21
|
+
import Col from 'react-bootstrap/Col';
|
|
22
|
+
import Card from 'react-bootstrap/Card';
|
|
23
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
23
24
|
import { withRouter } from 'next/router';
|
|
24
25
|
import './isSymbol-1981418f.js';
|
|
25
26
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
26
27
|
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
28
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
28
29
|
import 'react-dom';
|
|
29
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
30
|
-
import './
|
|
31
|
-
import './index-73819142.js';
|
|
30
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
31
|
+
import './index-51a80699.js';
|
|
32
32
|
import urlFor from './urlFor.js';
|
|
33
|
-
import { L as LazyLoad } from './index-
|
|
34
|
-
import { m as
|
|
33
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
34
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
35
35
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
36
|
+
import './slicedToArray-641f241f.js';
|
|
37
|
+
import './stringify-4330ccdc.js';
|
|
38
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
38
39
|
import './Segment.js';
|
|
39
40
|
import './Beam.js';
|
|
40
41
|
import './AdSlot.js';
|
|
41
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
42
|
-
import { l as lodash } from './lodash-
|
|
43
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
42
|
+
import { A as ADInfeed } from './ADInfeed-422ad6e6.js';
|
|
43
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
44
|
+
import { A as ADlgInfeed } from './ADlgInfeed-f7468db8.js';
|
|
44
45
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
45
46
|
import { g as get_1 } from './get-1e515072.js';
|
|
46
47
|
import './eq-b470f743.js';
|
|
47
48
|
import './AD.js';
|
|
48
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
49
|
-
import Button
|
|
49
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
50
|
+
import Button from 'react-bootstrap/Button';
|
|
50
51
|
|
|
51
52
|
var PublicationFeature = function PublicationFeature(_ref) {
|
|
52
53
|
var data = _ref.data,
|
|
@@ -71,20 +72,20 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
71
72
|
thumbnail = data.thumbnail;
|
|
72
73
|
|
|
73
74
|
if (name && articles && articles.length > 0) {
|
|
74
|
-
return
|
|
75
|
+
return React.createElement(
|
|
75
76
|
'div',
|
|
76
77
|
{ className: 'publication-feature-container border rounded p-2' },
|
|
77
|
-
|
|
78
|
-
Row
|
|
78
|
+
React.createElement(
|
|
79
|
+
Row,
|
|
79
80
|
null,
|
|
80
|
-
|
|
81
|
-
Col
|
|
81
|
+
React.createElement(
|
|
82
|
+
Col,
|
|
82
83
|
{ xs: 12 },
|
|
83
|
-
|
|
84
|
+
React.createElement(
|
|
84
85
|
'h4',
|
|
85
86
|
null,
|
|
86
87
|
name,
|
|
87
|
-
month && year &&
|
|
88
|
+
month && year && React.createElement(
|
|
88
89
|
'span',
|
|
89
90
|
null,
|
|
90
91
|
' ',
|
|
@@ -95,42 +96,42 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
95
96
|
)
|
|
96
97
|
)
|
|
97
98
|
),
|
|
98
|
-
|
|
99
|
-
Col
|
|
99
|
+
React.createElement(
|
|
100
|
+
Col,
|
|
100
101
|
{ xs: 12, sm: 4 },
|
|
101
|
-
|
|
102
|
+
React.createElement(
|
|
102
103
|
LazyLoad,
|
|
103
104
|
{ once: true },
|
|
104
|
-
|
|
105
|
+
React.createElement('img', { className: 'w-100 mb-2', src: thumbnail && thumbnail.asset && client ? urlFor({ client: client, source: thumbnail.asset }) : defaultImage, alt: name || '' })
|
|
105
106
|
)
|
|
106
107
|
),
|
|
107
|
-
|
|
108
|
-
Col
|
|
108
|
+
React.createElement(
|
|
109
|
+
Col,
|
|
109
110
|
{ xs: 12, sm: 8 },
|
|
110
|
-
|
|
111
|
-
Row
|
|
111
|
+
React.createElement(
|
|
112
|
+
Row,
|
|
112
113
|
null,
|
|
113
114
|
articles.map(function (article) {
|
|
114
|
-
return
|
|
115
|
-
Col
|
|
115
|
+
return React.createElement(
|
|
116
|
+
Col,
|
|
116
117
|
{ key: article._id, xs: 12, sm: 6 },
|
|
117
|
-
article.issueSection && article.issueSection.name &&
|
|
118
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
118
119
|
'h6',
|
|
119
120
|
{ className: 'text-primary m-0 p-0 text-uppercase font-weight-bold' },
|
|
120
121
|
article.issueSection.name
|
|
121
122
|
),
|
|
122
|
-
article.title &&
|
|
123
|
-
|
|
123
|
+
article.title && React.createElement(
|
|
124
|
+
React.Fragment,
|
|
124
125
|
null,
|
|
125
|
-
article.url && article.url.current ?
|
|
126
|
+
article.url && article.url.current ? React.createElement(
|
|
126
127
|
'a',
|
|
127
128
|
{ href: '/view/' + article.url.current },
|
|
128
|
-
|
|
129
|
+
React.createElement(
|
|
129
130
|
'h6',
|
|
130
131
|
{ className: 'text-break' },
|
|
131
132
|
article.title
|
|
132
133
|
)
|
|
133
|
-
) :
|
|
134
|
+
) : React.createElement(
|
|
134
135
|
'h6',
|
|
135
136
|
{ className: 'text-break' },
|
|
136
137
|
article.title
|
|
@@ -140,18 +141,18 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
140
141
|
})
|
|
141
142
|
)
|
|
142
143
|
),
|
|
143
|
-
issueMapping && parentSlug && childSlug &&
|
|
144
|
-
Col
|
|
144
|
+
issueMapping && parentSlug && childSlug && React.createElement(
|
|
145
|
+
Col,
|
|
145
146
|
{ xs: 12 },
|
|
146
|
-
|
|
147
|
-
Button
|
|
147
|
+
React.createElement(
|
|
148
|
+
Button,
|
|
148
149
|
{ href: issueMapping + '/' + parentSlug + '/' + childSlug, className: 'float-right', variant: 'outline-primary' },
|
|
149
150
|
'More Articles ',
|
|
150
151
|
'>>'
|
|
151
152
|
)
|
|
152
153
|
)
|
|
153
154
|
),
|
|
154
|
-
|
|
155
|
+
React.createElement(
|
|
155
156
|
'style',
|
|
156
157
|
{ jsx: 'true' },
|
|
157
158
|
'\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 +334,7 @@ var GridContent = function (_React$Component) {
|
|
|
333
334
|
var rightItems = _this.props.rightItems;
|
|
334
335
|
|
|
335
336
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
336
|
-
return
|
|
337
|
+
return React.createElement(
|
|
337
338
|
'div',
|
|
338
339
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
339
340
|
rightItems[i].component
|
|
@@ -341,15 +342,15 @@ var GridContent = function (_React$Component) {
|
|
|
341
342
|
}, _this.renderManualPagination = function () {
|
|
342
343
|
var currentPage = _this.state.currentPage;
|
|
343
344
|
|
|
344
|
-
return
|
|
345
|
+
return React.createElement(
|
|
345
346
|
'div',
|
|
346
347
|
{ className: 'd-flex justify-content-between' },
|
|
347
|
-
currentPage && currentPage > 1 &&
|
|
348
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
348
349
|
'a',
|
|
349
350
|
{ href: '?page=' + (currentPage - 1) },
|
|
350
351
|
'<< Previous'
|
|
351
352
|
),
|
|
352
|
-
|
|
353
|
+
React.createElement(
|
|
353
354
|
'a',
|
|
354
355
|
{ href: '?page=' + (currentPage + 1) },
|
|
355
356
|
'Next >>'
|
|
@@ -384,62 +385,62 @@ var GridContent = function (_React$Component) {
|
|
|
384
385
|
var numberOfItemsBeforeAd = 6;
|
|
385
386
|
var numberOfItemsBeforeVideo = 3;
|
|
386
387
|
if (variant === 'stack') {
|
|
387
|
-
return
|
|
388
|
-
Row
|
|
388
|
+
return React.createElement(
|
|
389
|
+
Row,
|
|
389
390
|
null,
|
|
390
391
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
391
392
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
392
|
-
return
|
|
393
|
-
Col
|
|
393
|
+
return React.createElement(
|
|
394
|
+
Col,
|
|
394
395
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
395
|
-
|
|
396
|
-
Card
|
|
396
|
+
React.createElement(
|
|
397
|
+
Card,
|
|
397
398
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
398
|
-
|
|
399
|
-
Row
|
|
399
|
+
React.createElement(
|
|
400
|
+
Row,
|
|
400
401
|
{ style: { flexDirection: 'row' } },
|
|
401
|
-
|
|
402
|
-
Col
|
|
402
|
+
React.createElement(
|
|
403
|
+
Col,
|
|
403
404
|
{ md: 12, lg: 4 },
|
|
404
|
-
|
|
405
|
+
React.createElement(
|
|
405
406
|
'a',
|
|
406
407
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
407
|
-
|
|
408
|
+
React.createElement(
|
|
408
409
|
LazyLoad,
|
|
409
410
|
{ height: _this2.props.imageHeight },
|
|
410
|
-
|
|
411
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
411
412
|
)
|
|
412
413
|
)
|
|
413
414
|
),
|
|
414
|
-
|
|
415
|
-
Col
|
|
415
|
+
React.createElement(
|
|
416
|
+
Col,
|
|
416
417
|
null,
|
|
417
|
-
|
|
418
|
-
Card
|
|
418
|
+
React.createElement(
|
|
419
|
+
Card.Body,
|
|
419
420
|
{ style: { padding: '20px' } },
|
|
420
|
-
|
|
421
|
-
Card
|
|
421
|
+
React.createElement(
|
|
422
|
+
Card.Title,
|
|
422
423
|
null,
|
|
423
|
-
|
|
424
|
+
React.createElement(
|
|
424
425
|
'a',
|
|
425
426
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
426
427
|
row.title
|
|
427
428
|
)
|
|
428
429
|
),
|
|
429
|
-
_this2.props.showPublished && row.published &&
|
|
430
|
-
Card
|
|
430
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
431
|
+
Card.Subtitle,
|
|
431
432
|
{ style: { marginTop: 0 } },
|
|
432
433
|
moment(row.published).format('MMMM DD, YYYY')
|
|
433
434
|
),
|
|
434
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
435
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
435
436
|
LazyLoad,
|
|
436
437
|
{ height: 50 },
|
|
437
|
-
|
|
438
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
438
439
|
),
|
|
439
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
440
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
440
441
|
LazyLoad,
|
|
441
442
|
{ height: 50 },
|
|
442
|
-
|
|
443
|
+
React.createElement(
|
|
443
444
|
'p',
|
|
444
445
|
{
|
|
445
446
|
className: 'article-category',
|
|
@@ -454,8 +455,8 @@ var GridContent = function (_React$Component) {
|
|
|
454
455
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
455
456
|
)
|
|
456
457
|
),
|
|
457
|
-
|
|
458
|
-
Card
|
|
458
|
+
React.createElement(
|
|
459
|
+
Card.Text,
|
|
459
460
|
null,
|
|
460
461
|
clean_html_1(row.summary)
|
|
461
462
|
)
|
|
@@ -464,13 +465,13 @@ var GridContent = function (_React$Component) {
|
|
|
464
465
|
)
|
|
465
466
|
)
|
|
466
467
|
);
|
|
467
|
-
}) :
|
|
468
|
+
}) : React.createElement(
|
|
468
469
|
'div',
|
|
469
470
|
null,
|
|
470
|
-
|
|
471
|
+
React.createElement(
|
|
471
472
|
'h5',
|
|
472
473
|
null,
|
|
473
|
-
|
|
474
|
+
React.createElement(
|
|
474
475
|
'em',
|
|
475
476
|
null,
|
|
476
477
|
'New content coming soon, please check back later.'
|
|
@@ -585,7 +586,7 @@ var GridContent = function (_React$Component) {
|
|
|
585
586
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
586
587
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
587
588
|
var featureCount = 0;
|
|
588
|
-
return
|
|
589
|
+
return React.createElement(
|
|
589
590
|
'div',
|
|
590
591
|
{ className: 'grid-container' },
|
|
591
592
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -595,59 +596,59 @@ var GridContent = function (_React$Component) {
|
|
|
595
596
|
if (row._type === 'feature') {
|
|
596
597
|
featureCount++;
|
|
597
598
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
598
|
-
return
|
|
599
|
-
|
|
599
|
+
return React.createElement(
|
|
600
|
+
React.Fragment,
|
|
600
601
|
{ key: itemCounter },
|
|
601
|
-
|
|
602
|
+
React.createElement(
|
|
602
603
|
VisibilitySensor,
|
|
603
604
|
{
|
|
604
605
|
partialVisibility: true,
|
|
605
606
|
onChange: function onChange(isVisible) {
|
|
606
607
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
607
608
|
} },
|
|
608
|
-
|
|
609
|
+
React.createElement(
|
|
609
610
|
'div',
|
|
610
611
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
611
|
-
|
|
612
|
-
Card
|
|
612
|
+
React.createElement(
|
|
613
|
+
Card,
|
|
613
614
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
614
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
615
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
615
616
|
'a',
|
|
616
617
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
617
|
-
|
|
618
|
+
React.createElement(
|
|
618
619
|
LazyLoad,
|
|
619
620
|
{ height: _this2.props.imageHeight },
|
|
620
|
-
|
|
621
|
+
React.createElement(Card.Img, {
|
|
621
622
|
variant: 'top',
|
|
622
623
|
src: _this2.renderCardImage(row, page),
|
|
623
624
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
624
625
|
})
|
|
625
626
|
)
|
|
626
627
|
),
|
|
627
|
-
|
|
628
|
-
Card
|
|
628
|
+
React.createElement(
|
|
629
|
+
Card.Body,
|
|
629
630
|
null,
|
|
630
|
-
|
|
631
|
+
React.createElement(
|
|
631
632
|
'a',
|
|
632
633
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
633
|
-
|
|
634
|
-
Card
|
|
634
|
+
React.createElement(
|
|
635
|
+
Card.Title,
|
|
635
636
|
null,
|
|
636
637
|
row.title
|
|
637
638
|
)
|
|
638
639
|
),
|
|
639
|
-
_this2.props.showPublished && row.published &&
|
|
640
|
-
Card
|
|
640
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
641
|
+
Card.Subtitle,
|
|
641
642
|
{ style: { marginTop: 0 } },
|
|
642
643
|
moment(row.published).format('MMMM DD, YYYY')
|
|
643
644
|
),
|
|
644
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
645
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
645
646
|
LazyLoad,
|
|
646
647
|
{ height: 50 },
|
|
647
|
-
|
|
648
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
648
649
|
),
|
|
649
|
-
|
|
650
|
-
Card
|
|
650
|
+
React.createElement(
|
|
651
|
+
Card.Text,
|
|
651
652
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
652
653
|
clean_html_1(row.summary)
|
|
653
654
|
)
|
|
@@ -655,63 +656,63 @@ var GridContent = function (_React$Component) {
|
|
|
655
656
|
)
|
|
656
657
|
)
|
|
657
658
|
),
|
|
658
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
659
|
-
|
|
659
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
660
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
660
661
|
);
|
|
661
662
|
} else {
|
|
662
|
-
return
|
|
663
|
-
|
|
663
|
+
return React.createElement(
|
|
664
|
+
React.Fragment,
|
|
664
665
|
{ key: itemCounter },
|
|
665
|
-
|
|
666
|
+
React.createElement(
|
|
666
667
|
VisibilitySensor,
|
|
667
668
|
{
|
|
668
669
|
partialVisibility: true,
|
|
669
670
|
onChange: function onChange(isVisible) {
|
|
670
671
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
671
672
|
} },
|
|
672
|
-
|
|
673
|
+
React.createElement(
|
|
673
674
|
'div',
|
|
674
675
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
675
|
-
|
|
676
|
-
Card
|
|
676
|
+
React.createElement(
|
|
677
|
+
Card,
|
|
677
678
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
678
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
679
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
679
680
|
'a',
|
|
680
681
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
681
|
-
|
|
682
|
+
React.createElement(
|
|
682
683
|
LazyLoad,
|
|
683
684
|
{ height: _this2.props.imageHeight },
|
|
684
|
-
|
|
685
|
+
React.createElement(Card.Img, {
|
|
685
686
|
variant: 'top',
|
|
686
687
|
src: _this2.renderCardImage(row, page),
|
|
687
688
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
688
689
|
})
|
|
689
690
|
)
|
|
690
691
|
),
|
|
691
|
-
|
|
692
|
-
Card
|
|
692
|
+
React.createElement(
|
|
693
|
+
Card.Body,
|
|
693
694
|
null,
|
|
694
|
-
|
|
695
|
+
React.createElement(
|
|
695
696
|
'a',
|
|
696
697
|
{ href: row.url.current },
|
|
697
|
-
|
|
698
|
-
Card
|
|
698
|
+
React.createElement(
|
|
699
|
+
Card.Title,
|
|
699
700
|
null,
|
|
700
701
|
row.title
|
|
701
702
|
)
|
|
702
703
|
),
|
|
703
|
-
_this2.props.showPublished && row.published &&
|
|
704
|
-
Card
|
|
704
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
705
|
+
Card.Subtitle,
|
|
705
706
|
{ style: { marginTop: 0 } },
|
|
706
707
|
moment(row.published).format('MMMM DD, YYYY')
|
|
707
708
|
),
|
|
708
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
709
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
709
710
|
LazyLoad,
|
|
710
711
|
{ height: 50 },
|
|
711
|
-
|
|
712
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
712
713
|
),
|
|
713
|
-
|
|
714
|
-
Card
|
|
714
|
+
React.createElement(
|
|
715
|
+
Card.Text,
|
|
715
716
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
716
717
|
clean_html_1(row.summary)
|
|
717
718
|
)
|
|
@@ -719,71 +720,71 @@ var GridContent = function (_React$Component) {
|
|
|
719
720
|
)
|
|
720
721
|
)
|
|
721
722
|
),
|
|
722
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
723
|
-
|
|
723
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
724
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
724
725
|
);
|
|
725
726
|
}
|
|
726
727
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
727
|
-
return
|
|
728
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
728
729
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
729
|
-
return
|
|
730
|
-
} else if (row._type === 'publication') return
|
|
730
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
731
|
+
} else if (row._type === 'publication') return React.createElement(PublicationFeature, { data: row, defaultImage: _this2.defaultImage, issueMapping: _this2.props.issueMapping, client: _this2.client });
|
|
731
732
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
732
|
-
return
|
|
733
|
-
|
|
733
|
+
return React.createElement(
|
|
734
|
+
React.Fragment,
|
|
734
735
|
{ key: itemCounter },
|
|
735
|
-
|
|
736
|
+
React.createElement(
|
|
736
737
|
VisibilitySensor,
|
|
737
738
|
{
|
|
738
739
|
onChange: function onChange(isVisible) {
|
|
739
740
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
740
741
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
741
742
|
} },
|
|
742
|
-
|
|
743
|
+
React.createElement(
|
|
743
744
|
'div',
|
|
744
745
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
745
|
-
|
|
746
|
-
Card
|
|
746
|
+
React.createElement(
|
|
747
|
+
Card,
|
|
747
748
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
748
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
749
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
749
750
|
'a',
|
|
750
751
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
751
|
-
|
|
752
|
+
React.createElement(
|
|
752
753
|
LazyLoad,
|
|
753
754
|
{ height: _this2.props.imageHeight },
|
|
754
|
-
|
|
755
|
+
React.createElement(Card.Img, {
|
|
755
756
|
variant: 'top',
|
|
756
757
|
src: _this2.renderCardImage(row, page),
|
|
757
758
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
758
759
|
})
|
|
759
760
|
)
|
|
760
761
|
),
|
|
761
|
-
|
|
762
|
-
Card
|
|
762
|
+
React.createElement(
|
|
763
|
+
Card.Body,
|
|
763
764
|
null,
|
|
764
|
-
|
|
765
|
+
React.createElement(
|
|
765
766
|
'a',
|
|
766
767
|
{ href: linkHref },
|
|
767
|
-
|
|
768
|
-
Card
|
|
768
|
+
React.createElement(
|
|
769
|
+
Card.Title,
|
|
769
770
|
null,
|
|
770
771
|
row.title
|
|
771
772
|
)
|
|
772
773
|
),
|
|
773
|
-
_this2.props.showPublished && row.published &&
|
|
774
|
-
Card
|
|
774
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
775
|
+
Card.Subtitle,
|
|
775
776
|
{ style: { marginTop: 0 } },
|
|
776
777
|
moment(row.published).format('MMMM DD, YYYY')
|
|
777
778
|
),
|
|
778
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
779
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
779
780
|
LazyLoad,
|
|
780
781
|
{ height: 50 },
|
|
781
|
-
|
|
782
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
782
783
|
),
|
|
783
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
784
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
784
785
|
LazyLoad,
|
|
785
786
|
{ height: 50 },
|
|
786
|
-
|
|
787
|
+
React.createElement(
|
|
787
788
|
'p',
|
|
788
789
|
{
|
|
789
790
|
className: 'article-category',
|
|
@@ -798,8 +799,8 @@ var GridContent = function (_React$Component) {
|
|
|
798
799
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
799
800
|
)
|
|
800
801
|
),
|
|
801
|
-
|
|
802
|
-
Card
|
|
802
|
+
React.createElement(
|
|
803
|
+
Card.Text,
|
|
803
804
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
804
805
|
clean_html_1(row.summary)
|
|
805
806
|
)
|
|
@@ -807,17 +808,17 @@ var GridContent = function (_React$Component) {
|
|
|
807
808
|
)
|
|
808
809
|
)
|
|
809
810
|
),
|
|
810
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
811
|
-
|
|
811
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
812
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
812
813
|
);
|
|
813
814
|
} else return null;
|
|
814
|
-
}) :
|
|
815
|
+
}) : React.createElement(
|
|
815
816
|
'div',
|
|
816
817
|
null,
|
|
817
|
-
|
|
818
|
+
React.createElement(
|
|
818
819
|
'h5',
|
|
819
820
|
null,
|
|
820
|
-
|
|
821
|
+
React.createElement(
|
|
821
822
|
'em',
|
|
822
823
|
null,
|
|
823
824
|
'New content coming soon, please check back later.'
|
|
@@ -842,29 +843,29 @@ var GridContent = function (_React$Component) {
|
|
|
842
843
|
brandInsight = _props.brandInsight;
|
|
843
844
|
|
|
844
845
|
|
|
845
|
-
return
|
|
846
|
+
return React.createElement(
|
|
846
847
|
'div',
|
|
847
848
|
{ className: 'contentDeck' },
|
|
848
|
-
autoScroll ?
|
|
849
|
+
autoScroll ? React.createElement(
|
|
849
850
|
InfiniteScroll,
|
|
850
851
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
851
|
-
|
|
852
|
-
Container
|
|
852
|
+
React.createElement(
|
|
853
|
+
Container,
|
|
853
854
|
null,
|
|
854
855
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
855
856
|
)
|
|
856
|
-
) :
|
|
857
|
-
|
|
857
|
+
) : React.createElement(
|
|
858
|
+
React.Fragment,
|
|
858
859
|
null,
|
|
859
|
-
|
|
860
|
-
Container
|
|
860
|
+
React.createElement(
|
|
861
|
+
Container,
|
|
861
862
|
null,
|
|
862
863
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
863
864
|
),
|
|
864
|
-
|
|
865
|
+
React.createElement(
|
|
865
866
|
'div',
|
|
866
867
|
{ style: { padding: '0px 10px' } },
|
|
867
|
-
this.state.scrolling ?
|
|
868
|
+
this.state.scrolling ? React.createElement(
|
|
868
869
|
'button',
|
|
869
870
|
{
|
|
870
871
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -872,17 +873,17 @@ var GridContent = function (_React$Component) {
|
|
|
872
873
|
_this3.loadMore();
|
|
873
874
|
} },
|
|
874
875
|
'Load More'
|
|
875
|
-
) :
|
|
876
|
+
) : React.createElement(
|
|
876
877
|
'p',
|
|
877
878
|
{ style: { textAlign: 'center' } },
|
|
878
|
-
|
|
879
|
+
React.createElement(
|
|
879
880
|
'b',
|
|
880
881
|
null,
|
|
881
882
|
'End of data'
|
|
882
883
|
)
|
|
883
884
|
)
|
|
884
885
|
),
|
|
885
|
-
|
|
886
|
+
React.createElement(
|
|
886
887
|
'noscript',
|
|
887
888
|
null,
|
|
888
889
|
this.renderManualPagination()
|
|
@@ -893,8 +894,8 @@ var GridContent = function (_React$Component) {
|
|
|
893
894
|
}]);
|
|
894
895
|
|
|
895
896
|
return GridContent;
|
|
896
|
-
}(
|
|
897
|
+
}(React.Component);
|
|
897
898
|
|
|
898
|
-
var GridContent$1 =
|
|
899
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
899
900
|
|
|
900
901
|
export default GridContent$1;
|