@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
|
@@ -1,45 +1,43 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-bd01c637.js';
|
|
3
|
+
import { _ as _extends } from './extends-f866c8d0.js';
|
|
4
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
5
|
+
import { Container, Media } from 'react-bootstrap';
|
|
6
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
7
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
10
|
+
import { l as lib_3 } from './index-669ff425.js';
|
|
11
|
+
import { useRouter } from 'next/router';
|
|
12
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
13
|
+
import { m as main_40 } from './main-decc48f4.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-bf7de12d.js';
|
|
16
|
+
import { A as AuthorComponent } from './AuthorComponent-22790017.js';
|
|
17
|
+
import { l as lodash } from './lodash-ad27652f.js';
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-3ac04591.js';
|
|
19
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
|
+
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
1
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
7
|
-
import './
|
|
8
|
-
import './_object-pie-
|
|
9
|
-
import
|
|
10
|
-
import './web.dom.iterable-c3ba4d37.js';
|
|
11
|
-
import React__default, { useEffect, useState, useRef } from 'react';
|
|
12
|
-
import { l as lib_3 } from './index-17490425.js';
|
|
22
|
+
import './web.dom.iterable-89515070.js';
|
|
23
|
+
import './es6.string.iterator-2efae22d.js';
|
|
24
|
+
import './_to-object-62924b74.js';
|
|
25
|
+
import './_export-9029ebab.js';
|
|
26
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
27
|
+
import './_iter-detect-60cd145f.js';
|
|
28
|
+
import './_object-pie-33c40e79.js';
|
|
29
|
+
import 'react-dom';
|
|
13
30
|
import 'prop-types';
|
|
14
|
-
import './
|
|
15
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
31
|
+
import './stringify-22907f56.js';
|
|
16
32
|
import 'react-bootstrap/Card';
|
|
17
|
-
import { m as moment } from './moment-8797a4d3.js';
|
|
18
|
-
import { useRouter } from 'next/router';
|
|
19
|
-
import './isSymbol-2b7f6e65.js';
|
|
20
|
-
import './debounce-7b569c00.js';
|
|
21
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
22
|
-
import 'react-dom';
|
|
23
|
-
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
24
|
-
import { V as VisibilitySensor } from './visibility-sensor-7b6316cf.js';
|
|
25
|
-
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
26
|
-
import { L as LazyLoad } from './index-a4e850af.js';
|
|
27
|
-
import { m as main_40 } from './main-140f99b4.js';
|
|
28
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
29
|
-
import './stringify-dedf4a20.js';
|
|
30
|
-
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
31
|
-
import './asyncToGenerator-0c61f551.js';
|
|
32
|
-
import './_set-species-26ee5c2a.js';
|
|
33
|
-
import './Segment.js';
|
|
34
|
-
import './Beam.js';
|
|
35
33
|
import './AdSlot.js';
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
34
|
+
import './debounce-1a993acf.js';
|
|
35
|
+
import './isSymbol-807e927e.js';
|
|
36
|
+
import './Beam.js';
|
|
37
|
+
import './asyncToGenerator-7714cea4.js';
|
|
38
|
+
import './_library-528f1934.js';
|
|
39
|
+
import './_set-species-a4b3fe39.js';
|
|
40
|
+
import './Segment.js';
|
|
43
41
|
|
|
44
42
|
var urlFor = function urlFor(source, builder) {
|
|
45
43
|
return builder.image(source).auto('format');
|
|
@@ -188,16 +186,16 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
188
186
|
refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
|
|
189
187
|
};
|
|
190
188
|
|
|
191
|
-
var chunks =
|
|
192
|
-
var set =
|
|
189
|
+
var chunks = lodash.chunk(data, 6).map(function (chunk) {
|
|
190
|
+
var set = lodash.chunk(chunk, 2);
|
|
193
191
|
for (var i = 0; i < set.length; i++) {
|
|
194
192
|
if (i !== set.length - 1) {
|
|
195
193
|
set[i].push(lgInfeed);
|
|
196
194
|
}
|
|
197
195
|
}
|
|
198
|
-
return
|
|
196
|
+
return lodash.flattenDeep(set);
|
|
199
197
|
});
|
|
200
|
-
data =
|
|
198
|
+
data = lodash.flatten(chunks);
|
|
201
199
|
!dataRemapped && setDataRemapped(true); // To detect if appending of insights ads are completed
|
|
202
200
|
}
|
|
203
201
|
|
|
@@ -253,7 +251,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
253
251
|
});
|
|
254
252
|
|
|
255
253
|
var featureCount = 0;
|
|
256
|
-
return
|
|
254
|
+
return React.createElement(
|
|
257
255
|
'div',
|
|
258
256
|
null,
|
|
259
257
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -264,7 +262,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
264
262
|
if (article._type === 'feature') {
|
|
265
263
|
featureCount++;
|
|
266
264
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
267
|
-
return
|
|
265
|
+
return React.createElement(
|
|
268
266
|
VisibilitySensor,
|
|
269
267
|
{
|
|
270
268
|
key: article._id ? article._id : index,
|
|
@@ -272,51 +270,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
272
270
|
onChange: function onChange(isVisible) {
|
|
273
271
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
274
272
|
} },
|
|
275
|
-
|
|
276
|
-
|
|
273
|
+
React.createElement(
|
|
274
|
+
React.Fragment,
|
|
277
275
|
null,
|
|
278
|
-
|
|
276
|
+
React.createElement(
|
|
279
277
|
Media,
|
|
280
278
|
{
|
|
281
279
|
key: article._id ? article._id : index,
|
|
282
280
|
className: 'feature-media',
|
|
283
281
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
284
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
282
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
285
283
|
'a',
|
|
286
284
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
287
|
-
|
|
285
|
+
React.createElement(
|
|
288
286
|
LazyLoad,
|
|
289
|
-
{ height: imageHeight, placeholder:
|
|
290
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
287
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
288
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
291
289
|
),
|
|
292
|
-
article.source &&
|
|
290
|
+
article.source && React.createElement(
|
|
293
291
|
'div',
|
|
294
292
|
{ className: 'content-category-label' },
|
|
295
|
-
|
|
293
|
+
React.createElement(
|
|
296
294
|
'div',
|
|
297
295
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
298
296
|
article.source
|
|
299
297
|
)
|
|
300
298
|
)
|
|
301
299
|
),
|
|
302
|
-
|
|
300
|
+
React.createElement(
|
|
303
301
|
Media.Body,
|
|
304
302
|
null,
|
|
305
|
-
|
|
303
|
+
React.createElement(
|
|
306
304
|
'a',
|
|
307
305
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
308
|
-
article.title &&
|
|
306
|
+
article.title && React.createElement(
|
|
309
307
|
'h4',
|
|
310
308
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
311
309
|
article.title
|
|
312
310
|
)
|
|
313
311
|
),
|
|
314
|
-
showPublished && !showTimeDiff && article.published &&
|
|
312
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
315
313
|
'p',
|
|
316
314
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
317
315
|
moment(article.published).format('MMMM DD, YYYY')
|
|
318
316
|
),
|
|
319
|
-
showTimeDiff && article.published &&
|
|
317
|
+
showTimeDiff && article.published && React.createElement(
|
|
320
318
|
'p',
|
|
321
319
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
322
320
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -324,20 +322,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
324
322
|
return null;
|
|
325
323
|
}
|
|
326
324
|
if (index === 3) {
|
|
327
|
-
return
|
|
328
|
-
|
|
325
|
+
return React.createElement(
|
|
326
|
+
React.Fragment,
|
|
329
327
|
null,
|
|
330
|
-
|
|
328
|
+
React.createElement(
|
|
331
329
|
'em',
|
|
332
330
|
{ style: { marginRight: '.5rem' } },
|
|
333
331
|
'...'
|
|
334
332
|
)
|
|
335
333
|
);
|
|
336
334
|
}
|
|
337
|
-
return
|
|
338
|
-
|
|
335
|
+
return React.createElement(
|
|
336
|
+
React.Fragment,
|
|
339
337
|
null,
|
|
340
|
-
|
|
338
|
+
React.createElement(
|
|
341
339
|
'em',
|
|
342
340
|
null,
|
|
343
341
|
taxonomy.name
|
|
@@ -347,30 +345,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
347
345
|
);
|
|
348
346
|
}),
|
|
349
347
|
' ',
|
|
350
|
-
|
|
348
|
+
React.createElement(
|
|
351
349
|
'span',
|
|
352
350
|
{ style: { display: 'inline-block' } },
|
|
353
351
|
timeDifferenceCalc(article.published)
|
|
354
352
|
)
|
|
355
353
|
),
|
|
356
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
354
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
357
355
|
LazyLoad,
|
|
358
356
|
{ height: 50 },
|
|
359
|
-
|
|
357
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
360
358
|
),
|
|
361
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
359
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
362
360
|
'div',
|
|
363
361
|
{ className: 'content-category-label' },
|
|
364
|
-
|
|
362
|
+
React.createElement(
|
|
365
363
|
'div',
|
|
366
364
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
367
365
|
article.source
|
|
368
366
|
)
|
|
369
367
|
),
|
|
370
|
-
|
|
368
|
+
React.createElement(
|
|
371
369
|
'div',
|
|
372
370
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
373
|
-
showCategory && article.contentCategory &&
|
|
371
|
+
showCategory && article.contentCategory && React.createElement(
|
|
374
372
|
'p',
|
|
375
373
|
{
|
|
376
374
|
className: 'article-category',
|
|
@@ -384,7 +382,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
384
382
|
} },
|
|
385
383
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
386
384
|
),
|
|
387
|
-
article.issueSection && article.issueSection.name &&
|
|
385
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
388
386
|
'p',
|
|
389
387
|
{
|
|
390
388
|
className: 'issueSection',
|
|
@@ -400,21 +398,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
400
398
|
article.issueSection.name
|
|
401
399
|
)
|
|
402
400
|
),
|
|
403
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
401
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
404
402
|
'div',
|
|
405
403
|
{ className: 'pubInfo' },
|
|
406
|
-
article.volume &&
|
|
404
|
+
article.volume && React.createElement(
|
|
407
405
|
'p',
|
|
408
406
|
{ className: 'qdeVolume' },
|
|
409
407
|
article.volume
|
|
410
408
|
),
|
|
411
|
-
article.issue &&
|
|
409
|
+
article.issue && React.createElement(
|
|
412
410
|
'p',
|
|
413
411
|
{ className: 'qdeIssue' },
|
|
414
412
|
article.issue
|
|
415
413
|
)
|
|
416
414
|
),
|
|
417
|
-
showIntro && article.summary &&
|
|
415
|
+
showIntro && article.summary && React.createElement(
|
|
418
416
|
'p',
|
|
419
417
|
{ className: 'pt-2 card-text' },
|
|
420
418
|
clean_html_1(article.summary)
|
|
@@ -424,7 +422,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
424
422
|
)
|
|
425
423
|
);
|
|
426
424
|
} else {
|
|
427
|
-
return
|
|
425
|
+
return React.createElement(
|
|
428
426
|
VisibilitySensor,
|
|
429
427
|
{
|
|
430
428
|
key: article._id ? article._id : index,
|
|
@@ -432,51 +430,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
432
430
|
onChange: function onChange(isVisible) {
|
|
433
431
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
434
432
|
} },
|
|
435
|
-
|
|
436
|
-
|
|
433
|
+
React.createElement(
|
|
434
|
+
React.Fragment,
|
|
437
435
|
null,
|
|
438
|
-
|
|
436
|
+
React.createElement(
|
|
439
437
|
Media,
|
|
440
438
|
{
|
|
441
439
|
key: article._id ? article._id : index,
|
|
442
440
|
className: 'feature-media',
|
|
443
441
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
444
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
442
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
445
443
|
'a',
|
|
446
444
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
447
|
-
|
|
445
|
+
React.createElement(
|
|
448
446
|
LazyLoad,
|
|
449
|
-
{ height: imageHeight, placeholder:
|
|
450
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
447
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
448
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
451
449
|
),
|
|
452
|
-
article.source &&
|
|
450
|
+
article.source && React.createElement(
|
|
453
451
|
'div',
|
|
454
452
|
{ className: 'content-category-label' },
|
|
455
|
-
|
|
453
|
+
React.createElement(
|
|
456
454
|
'div',
|
|
457
455
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
458
456
|
article.source
|
|
459
457
|
)
|
|
460
458
|
)
|
|
461
459
|
),
|
|
462
|
-
|
|
460
|
+
React.createElement(
|
|
463
461
|
Media.Body,
|
|
464
462
|
null,
|
|
465
|
-
|
|
463
|
+
React.createElement(
|
|
466
464
|
'a',
|
|
467
465
|
{ href: article.url.current },
|
|
468
|
-
article.title &&
|
|
466
|
+
article.title && React.createElement(
|
|
469
467
|
'h4',
|
|
470
468
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
471
469
|
article.title
|
|
472
470
|
)
|
|
473
471
|
),
|
|
474
|
-
showPublished && !showTimeDiff && article.published &&
|
|
472
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
475
473
|
'p',
|
|
476
474
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
477
475
|
moment(article.published).format('MMMM DD, YYYY')
|
|
478
476
|
),
|
|
479
|
-
showTimeDiff && article.published &&
|
|
477
|
+
showTimeDiff && article.published && React.createElement(
|
|
480
478
|
'p',
|
|
481
479
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
482
480
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -484,10 +482,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
484
482
|
return null;
|
|
485
483
|
}
|
|
486
484
|
if (index === 3) {
|
|
487
|
-
return
|
|
488
|
-
|
|
485
|
+
return React.createElement(
|
|
486
|
+
React.Fragment,
|
|
489
487
|
null,
|
|
490
|
-
|
|
488
|
+
React.createElement(
|
|
491
489
|
'em',
|
|
492
490
|
{ style: { marginRight: '.5rem' } },
|
|
493
491
|
'...'
|
|
@@ -495,20 +493,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
495
493
|
);
|
|
496
494
|
}
|
|
497
495
|
if (index === 3) {
|
|
498
|
-
return
|
|
499
|
-
|
|
496
|
+
return React.createElement(
|
|
497
|
+
React.Fragment,
|
|
500
498
|
null,
|
|
501
|
-
|
|
499
|
+
React.createElement(
|
|
502
500
|
'em',
|
|
503
501
|
{ style: { marginRight: '.5rem' } },
|
|
504
502
|
'...'
|
|
505
503
|
)
|
|
506
504
|
);
|
|
507
505
|
}
|
|
508
|
-
return
|
|
509
|
-
|
|
506
|
+
return React.createElement(
|
|
507
|
+
React.Fragment,
|
|
510
508
|
null,
|
|
511
|
-
|
|
509
|
+
React.createElement(
|
|
512
510
|
'em',
|
|
513
511
|
null,
|
|
514
512
|
taxonomy.name
|
|
@@ -518,30 +516,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
518
516
|
);
|
|
519
517
|
}),
|
|
520
518
|
' ',
|
|
521
|
-
|
|
519
|
+
React.createElement(
|
|
522
520
|
'span',
|
|
523
521
|
{ style: { display: 'inline-block' } },
|
|
524
522
|
timeDifferenceCalc(article.published)
|
|
525
523
|
)
|
|
526
524
|
),
|
|
527
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
525
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
528
526
|
LazyLoad,
|
|
529
527
|
{ height: 50 },
|
|
530
|
-
|
|
528
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
531
529
|
),
|
|
532
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
530
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
533
531
|
'div',
|
|
534
532
|
{ className: 'content-category-label' },
|
|
535
|
-
|
|
533
|
+
React.createElement(
|
|
536
534
|
'div',
|
|
537
535
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
538
536
|
article.source
|
|
539
537
|
)
|
|
540
538
|
),
|
|
541
|
-
|
|
539
|
+
React.createElement(
|
|
542
540
|
'div',
|
|
543
541
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
544
|
-
showCategory && article.contentCategory &&
|
|
542
|
+
showCategory && article.contentCategory && React.createElement(
|
|
545
543
|
'p',
|
|
546
544
|
{
|
|
547
545
|
className: 'article-category',
|
|
@@ -555,7 +553,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
555
553
|
} },
|
|
556
554
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
557
555
|
),
|
|
558
|
-
article.issueSection && article.issueSection.name &&
|
|
556
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
559
557
|
'p',
|
|
560
558
|
{
|
|
561
559
|
className: 'issueSection',
|
|
@@ -571,21 +569,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
571
569
|
article.issueSection.name
|
|
572
570
|
)
|
|
573
571
|
),
|
|
574
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
572
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
575
573
|
'div',
|
|
576
574
|
{ className: 'pubInfo' },
|
|
577
|
-
article.volume &&
|
|
575
|
+
article.volume && React.createElement(
|
|
578
576
|
'p',
|
|
579
577
|
{ className: 'qdeVolume' },
|
|
580
578
|
article.volume
|
|
581
579
|
),
|
|
582
|
-
article.issue &&
|
|
580
|
+
article.issue && React.createElement(
|
|
583
581
|
'p',
|
|
584
582
|
{ className: 'qdeIssue' },
|
|
585
583
|
article.issue
|
|
586
584
|
)
|
|
587
585
|
),
|
|
588
|
-
showIntro && article.summary &&
|
|
586
|
+
showIntro && article.summary && React.createElement(
|
|
589
587
|
'p',
|
|
590
588
|
{ className: 'pt-2 card-text' },
|
|
591
589
|
clean_html_1(article.summary)
|
|
@@ -596,12 +594,12 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
596
594
|
);
|
|
597
595
|
}
|
|
598
596
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
599
|
-
return
|
|
597
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
600
598
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
601
|
-
return
|
|
599
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
602
600
|
}
|
|
603
601
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
604
|
-
return
|
|
602
|
+
return React.createElement(
|
|
605
603
|
VisibilitySensor,
|
|
606
604
|
{
|
|
607
605
|
key: article._id ? article._id : index,
|
|
@@ -609,50 +607,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
609
607
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
610
608
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
611
609
|
} },
|
|
612
|
-
|
|
613
|
-
|
|
610
|
+
React.createElement(
|
|
611
|
+
React.Fragment,
|
|
614
612
|
null,
|
|
615
|
-
|
|
613
|
+
React.createElement(
|
|
616
614
|
Media,
|
|
617
615
|
{
|
|
618
616
|
key: article._id ? article._id : index,
|
|
619
617
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
620
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
618
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
621
619
|
'a',
|
|
622
620
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
623
|
-
|
|
621
|
+
React.createElement(
|
|
624
622
|
LazyLoad,
|
|
625
|
-
{ height: imageHeight, placeholder:
|
|
626
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
623
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
624
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
627
625
|
),
|
|
628
|
-
article.source &&
|
|
626
|
+
article.source && React.createElement(
|
|
629
627
|
'div',
|
|
630
628
|
{ className: 'content-category-label' },
|
|
631
|
-
|
|
629
|
+
React.createElement(
|
|
632
630
|
'div',
|
|
633
631
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
634
632
|
article.source
|
|
635
633
|
)
|
|
636
634
|
)
|
|
637
635
|
),
|
|
638
|
-
|
|
636
|
+
React.createElement(
|
|
639
637
|
Media.Body,
|
|
640
638
|
null,
|
|
641
|
-
|
|
639
|
+
React.createElement(
|
|
642
640
|
'a',
|
|
643
641
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
644
|
-
article.title &&
|
|
642
|
+
article.title && React.createElement(
|
|
645
643
|
'h4',
|
|
646
644
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
647
645
|
article.title
|
|
648
646
|
)
|
|
649
647
|
),
|
|
650
|
-
showPublished && !showTimeDiff && article.published &&
|
|
648
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
651
649
|
'p',
|
|
652
650
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
653
651
|
moment(article.published).format('MMMM DD, YYYY')
|
|
654
652
|
),
|
|
655
|
-
showTimeDiff && article.published &&
|
|
653
|
+
showTimeDiff && article.published && React.createElement(
|
|
656
654
|
'p',
|
|
657
655
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
658
656
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -660,20 +658,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
660
658
|
return null;
|
|
661
659
|
}
|
|
662
660
|
if (index === 3) {
|
|
663
|
-
return
|
|
664
|
-
|
|
661
|
+
return React.createElement(
|
|
662
|
+
React.Fragment,
|
|
665
663
|
null,
|
|
666
|
-
|
|
664
|
+
React.createElement(
|
|
667
665
|
'em',
|
|
668
666
|
{ style: { marginRight: '.5rem' } },
|
|
669
667
|
'...'
|
|
670
668
|
)
|
|
671
669
|
);
|
|
672
670
|
}
|
|
673
|
-
return
|
|
674
|
-
|
|
671
|
+
return React.createElement(
|
|
672
|
+
React.Fragment,
|
|
675
673
|
null,
|
|
676
|
-
|
|
674
|
+
React.createElement(
|
|
677
675
|
'em',
|
|
678
676
|
null,
|
|
679
677
|
taxonomy.name
|
|
@@ -683,34 +681,34 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
683
681
|
);
|
|
684
682
|
}),
|
|
685
683
|
' ',
|
|
686
|
-
|
|
684
|
+
React.createElement(
|
|
687
685
|
'span',
|
|
688
686
|
{ style: { display: 'inline-block' } },
|
|
689
687
|
timeDifferenceCalc(article.published)
|
|
690
688
|
)
|
|
691
689
|
),
|
|
692
|
-
|
|
690
|
+
React.createElement(
|
|
693
691
|
'div',
|
|
694
692
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
695
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
693
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
696
694
|
LazyLoad,
|
|
697
695
|
{ height: 50 },
|
|
698
|
-
|
|
696
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
699
697
|
)
|
|
700
698
|
),
|
|
701
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
699
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
702
700
|
'div',
|
|
703
701
|
{ className: 'content-category-label' },
|
|
704
|
-
|
|
702
|
+
React.createElement(
|
|
705
703
|
'div',
|
|
706
704
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
707
705
|
article.source
|
|
708
706
|
)
|
|
709
707
|
),
|
|
710
|
-
|
|
708
|
+
React.createElement(
|
|
711
709
|
'div',
|
|
712
710
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
713
|
-
showCategory && article.contentCategory &&
|
|
711
|
+
showCategory && article.contentCategory && React.createElement(
|
|
714
712
|
'p',
|
|
715
713
|
{
|
|
716
714
|
className: 'article-category',
|
|
@@ -724,7 +722,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
724
722
|
} },
|
|
725
723
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
726
724
|
),
|
|
727
|
-
article.issueSection && article.issueSection.name &&
|
|
725
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
728
726
|
'p',
|
|
729
727
|
{
|
|
730
728
|
className: 'issueSection',
|
|
@@ -740,28 +738,28 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
740
738
|
article.issueSection.name
|
|
741
739
|
)
|
|
742
740
|
),
|
|
743
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
741
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
744
742
|
'div',
|
|
745
743
|
{ className: 'pubInfo' },
|
|
746
|
-
article.volume &&
|
|
744
|
+
article.volume && React.createElement(
|
|
747
745
|
'p',
|
|
748
746
|
{ className: 'qdeVolume' },
|
|
749
747
|
article.volume
|
|
750
748
|
),
|
|
751
|
-
article.issue &&
|
|
749
|
+
article.issue && React.createElement(
|
|
752
750
|
'p',
|
|
753
751
|
{ className: 'qdeIssue' },
|
|
754
752
|
article.issue
|
|
755
753
|
)
|
|
756
754
|
),
|
|
757
|
-
showIntro && article.summary &&
|
|
755
|
+
showIntro && article.summary && React.createElement(
|
|
758
756
|
'p',
|
|
759
757
|
{ className: 'pt-2 card-text' },
|
|
760
758
|
clean_html_1(article.summary)
|
|
761
759
|
)
|
|
762
760
|
)
|
|
763
761
|
),
|
|
764
|
-
|
|
762
|
+
React.createElement(
|
|
765
763
|
'div',
|
|
766
764
|
null,
|
|
767
765
|
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
@@ -771,7 +769,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
771
769
|
} else return null;
|
|
772
770
|
}) :
|
|
773
771
|
// For Javascript Disabled Cases
|
|
774
|
-
|
|
772
|
+
React.createElement(
|
|
775
773
|
'noscript',
|
|
776
774
|
null,
|
|
777
775
|
data.map(function (article, index) {
|
|
@@ -781,7 +779,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
781
779
|
if (article._type === 'feature') {
|
|
782
780
|
featureCount++;
|
|
783
781
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
784
|
-
return
|
|
782
|
+
return React.createElement(
|
|
785
783
|
VisibilitySensor,
|
|
786
784
|
{
|
|
787
785
|
key: article._id ? article._id : index,
|
|
@@ -789,51 +787,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
789
787
|
onChange: function onChange(isVisible) {
|
|
790
788
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
791
789
|
} },
|
|
792
|
-
|
|
793
|
-
|
|
790
|
+
React.createElement(
|
|
791
|
+
React.Fragment,
|
|
794
792
|
null,
|
|
795
|
-
|
|
793
|
+
React.createElement(
|
|
796
794
|
Media,
|
|
797
795
|
{
|
|
798
796
|
key: article._id ? article._id : index,
|
|
799
797
|
className: 'feature-media',
|
|
800
798
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
801
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
799
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
802
800
|
'a',
|
|
803
801
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
804
|
-
|
|
802
|
+
React.createElement(
|
|
805
803
|
LazyLoad,
|
|
806
|
-
{ height: imageHeight, placeholder:
|
|
807
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
804
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
805
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
808
806
|
),
|
|
809
|
-
article.source &&
|
|
807
|
+
article.source && React.createElement(
|
|
810
808
|
'div',
|
|
811
809
|
{ className: 'content-category-label' },
|
|
812
|
-
|
|
810
|
+
React.createElement(
|
|
813
811
|
'div',
|
|
814
812
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
815
813
|
article.source
|
|
816
814
|
)
|
|
817
815
|
)
|
|
818
816
|
),
|
|
819
|
-
|
|
817
|
+
React.createElement(
|
|
820
818
|
Media.Body,
|
|
821
819
|
null,
|
|
822
|
-
|
|
820
|
+
React.createElement(
|
|
823
821
|
'a',
|
|
824
822
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
825
|
-
article.title &&
|
|
823
|
+
article.title && React.createElement(
|
|
826
824
|
'h4',
|
|
827
825
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
828
826
|
article.title
|
|
829
827
|
)
|
|
830
828
|
),
|
|
831
|
-
showPublished && article.published &&
|
|
829
|
+
showPublished && article.published && React.createElement(
|
|
832
830
|
'p',
|
|
833
831
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
834
832
|
moment(article.published).format('MMMM DD, YYYY')
|
|
835
833
|
),
|
|
836
|
-
showTimeDiff && article.published &&
|
|
834
|
+
showTimeDiff && article.published && React.createElement(
|
|
837
835
|
'p',
|
|
838
836
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
839
837
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -841,20 +839,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
841
839
|
return null;
|
|
842
840
|
}
|
|
843
841
|
if (index === 3) {
|
|
844
|
-
return
|
|
845
|
-
|
|
842
|
+
return React.createElement(
|
|
843
|
+
React.Fragment,
|
|
846
844
|
null,
|
|
847
|
-
|
|
845
|
+
React.createElement(
|
|
848
846
|
'em',
|
|
849
847
|
{ style: { marginRight: '.5rem' } },
|
|
850
848
|
'...'
|
|
851
849
|
)
|
|
852
850
|
);
|
|
853
851
|
}
|
|
854
|
-
return
|
|
855
|
-
|
|
852
|
+
return React.createElement(
|
|
853
|
+
React.Fragment,
|
|
856
854
|
null,
|
|
857
|
-
|
|
855
|
+
React.createElement(
|
|
858
856
|
'em',
|
|
859
857
|
null,
|
|
860
858
|
taxonomy.name
|
|
@@ -864,30 +862,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
864
862
|
);
|
|
865
863
|
}),
|
|
866
864
|
' ',
|
|
867
|
-
|
|
865
|
+
React.createElement(
|
|
868
866
|
'span',
|
|
869
867
|
{ style: { display: 'inline-block' } },
|
|
870
868
|
timeDifferenceCalc(article.published)
|
|
871
869
|
)
|
|
872
870
|
),
|
|
873
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
871
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
874
872
|
LazyLoad,
|
|
875
873
|
{ height: 50 },
|
|
876
|
-
|
|
874
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
877
875
|
),
|
|
878
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
876
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
879
877
|
'div',
|
|
880
878
|
{ className: 'content-category-label' },
|
|
881
|
-
|
|
879
|
+
React.createElement(
|
|
882
880
|
'div',
|
|
883
881
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
884
882
|
article.source
|
|
885
883
|
)
|
|
886
884
|
),
|
|
887
|
-
|
|
885
|
+
React.createElement(
|
|
888
886
|
'div',
|
|
889
887
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
890
|
-
showCategory && article.contentCategory &&
|
|
888
|
+
showCategory && article.contentCategory && React.createElement(
|
|
891
889
|
'p',
|
|
892
890
|
{
|
|
893
891
|
className: 'article-category',
|
|
@@ -901,7 +899,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
901
899
|
} },
|
|
902
900
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
903
901
|
),
|
|
904
|
-
article.issueSection && article.issueSection.name &&
|
|
902
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
905
903
|
'p',
|
|
906
904
|
{
|
|
907
905
|
className: 'issueSection',
|
|
@@ -917,21 +915,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
917
915
|
article.issueSection.name
|
|
918
916
|
)
|
|
919
917
|
),
|
|
920
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
918
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
921
919
|
'div',
|
|
922
920
|
{ className: 'pubInfo' },
|
|
923
|
-
article.volume &&
|
|
921
|
+
article.volume && React.createElement(
|
|
924
922
|
'p',
|
|
925
923
|
{ className: 'qdeVolume' },
|
|
926
924
|
article.volume
|
|
927
925
|
),
|
|
928
|
-
article.issue &&
|
|
926
|
+
article.issue && React.createElement(
|
|
929
927
|
'p',
|
|
930
928
|
{ className: 'qdeIssue' },
|
|
931
929
|
article.issue
|
|
932
930
|
)
|
|
933
931
|
),
|
|
934
|
-
showIntro && article.summary &&
|
|
932
|
+
showIntro && article.summary && React.createElement(
|
|
935
933
|
'p',
|
|
936
934
|
{ className: 'pt-2 card-text' },
|
|
937
935
|
clean_html_1(article.summary)
|
|
@@ -941,7 +939,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
941
939
|
)
|
|
942
940
|
);
|
|
943
941
|
} else {
|
|
944
|
-
return
|
|
942
|
+
return React.createElement(
|
|
945
943
|
VisibilitySensor,
|
|
946
944
|
{
|
|
947
945
|
key: article._id ? article._id : index,
|
|
@@ -949,51 +947,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
949
947
|
onChange: function onChange(isVisible) {
|
|
950
948
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
951
949
|
} },
|
|
952
|
-
|
|
953
|
-
|
|
950
|
+
React.createElement(
|
|
951
|
+
React.Fragment,
|
|
954
952
|
null,
|
|
955
|
-
|
|
953
|
+
React.createElement(
|
|
956
954
|
Media,
|
|
957
955
|
{
|
|
958
956
|
key: article._id ? article._id : index,
|
|
959
957
|
className: 'feature-media',
|
|
960
958
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
961
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
959
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
962
960
|
'a',
|
|
963
961
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
964
|
-
|
|
962
|
+
React.createElement(
|
|
965
963
|
LazyLoad,
|
|
966
|
-
{ height: imageHeight, placeholder:
|
|
967
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
964
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
965
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
968
966
|
),
|
|
969
|
-
article.source &&
|
|
967
|
+
article.source && React.createElement(
|
|
970
968
|
'div',
|
|
971
969
|
{ className: 'content-category-label' },
|
|
972
|
-
|
|
970
|
+
React.createElement(
|
|
973
971
|
'div',
|
|
974
972
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
975
973
|
article.source
|
|
976
974
|
)
|
|
977
975
|
)
|
|
978
976
|
),
|
|
979
|
-
|
|
977
|
+
React.createElement(
|
|
980
978
|
Media.Body,
|
|
981
979
|
null,
|
|
982
|
-
|
|
980
|
+
React.createElement(
|
|
983
981
|
'a',
|
|
984
982
|
{ href: article.url.current },
|
|
985
|
-
article.title &&
|
|
983
|
+
article.title && React.createElement(
|
|
986
984
|
'h4',
|
|
987
985
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
988
986
|
article.title
|
|
989
987
|
)
|
|
990
988
|
),
|
|
991
|
-
showPublished && article.published &&
|
|
989
|
+
showPublished && article.published && React.createElement(
|
|
992
990
|
'p',
|
|
993
991
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
994
992
|
moment(article.published).format('MMMM DD, YYYY')
|
|
995
993
|
),
|
|
996
|
-
showTimeDiff && article.published &&
|
|
994
|
+
showTimeDiff && article.published && React.createElement(
|
|
997
995
|
'p',
|
|
998
996
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
999
997
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1001,20 +999,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1001
999
|
return null;
|
|
1002
1000
|
}
|
|
1003
1001
|
if (index === 3) {
|
|
1004
|
-
return
|
|
1005
|
-
|
|
1002
|
+
return React.createElement(
|
|
1003
|
+
React.Fragment,
|
|
1006
1004
|
null,
|
|
1007
|
-
|
|
1005
|
+
React.createElement(
|
|
1008
1006
|
'em',
|
|
1009
1007
|
{ style: { marginRight: '.5rem' } },
|
|
1010
1008
|
'...'
|
|
1011
1009
|
)
|
|
1012
1010
|
);
|
|
1013
1011
|
}
|
|
1014
|
-
return
|
|
1015
|
-
|
|
1012
|
+
return React.createElement(
|
|
1013
|
+
React.Fragment,
|
|
1016
1014
|
null,
|
|
1017
|
-
|
|
1015
|
+
React.createElement(
|
|
1018
1016
|
'em',
|
|
1019
1017
|
null,
|
|
1020
1018
|
taxonomy.name
|
|
@@ -1024,30 +1022,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1024
1022
|
);
|
|
1025
1023
|
}),
|
|
1026
1024
|
' ',
|
|
1027
|
-
|
|
1025
|
+
React.createElement(
|
|
1028
1026
|
'span',
|
|
1029
1027
|
{ style: { display: 'inline-block' } },
|
|
1030
1028
|
timeDifferenceCalc(article.published)
|
|
1031
1029
|
)
|
|
1032
1030
|
),
|
|
1033
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1031
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1034
1032
|
LazyLoad,
|
|
1035
1033
|
{ height: 50 },
|
|
1036
|
-
|
|
1034
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1037
1035
|
),
|
|
1038
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1036
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1039
1037
|
'div',
|
|
1040
1038
|
{ className: 'content-category-label' },
|
|
1041
|
-
|
|
1039
|
+
React.createElement(
|
|
1042
1040
|
'div',
|
|
1043
1041
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1044
1042
|
article.source
|
|
1045
1043
|
)
|
|
1046
1044
|
),
|
|
1047
|
-
|
|
1045
|
+
React.createElement(
|
|
1048
1046
|
'div',
|
|
1049
1047
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1050
|
-
showCategory && article.contentCategory &&
|
|
1048
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1051
1049
|
'p',
|
|
1052
1050
|
{
|
|
1053
1051
|
className: 'article-category',
|
|
@@ -1061,7 +1059,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1061
1059
|
} },
|
|
1062
1060
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1063
1061
|
),
|
|
1064
|
-
article.issueSection && article.issueSection.name &&
|
|
1062
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1065
1063
|
'p',
|
|
1066
1064
|
{
|
|
1067
1065
|
className: 'issueSection',
|
|
@@ -1077,21 +1075,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1077
1075
|
article.issueSection.name
|
|
1078
1076
|
)
|
|
1079
1077
|
),
|
|
1080
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1078
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1081
1079
|
'div',
|
|
1082
1080
|
{ className: 'pubInfo' },
|
|
1083
|
-
article.volume &&
|
|
1081
|
+
article.volume && React.createElement(
|
|
1084
1082
|
'p',
|
|
1085
1083
|
{ className: 'qdeVolume' },
|
|
1086
1084
|
article.volume
|
|
1087
1085
|
),
|
|
1088
|
-
article.issue &&
|
|
1086
|
+
article.issue && React.createElement(
|
|
1089
1087
|
'p',
|
|
1090
1088
|
{ className: 'qdeIssue' },
|
|
1091
1089
|
article.issue
|
|
1092
1090
|
)
|
|
1093
1091
|
),
|
|
1094
|
-
showIntro && article.summary &&
|
|
1092
|
+
showIntro && article.summary && React.createElement(
|
|
1095
1093
|
'p',
|
|
1096
1094
|
{ className: 'pt-2 card-text' },
|
|
1097
1095
|
clean_html_1(article.summary)
|
|
@@ -1102,12 +1100,12 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1102
1100
|
);
|
|
1103
1101
|
}
|
|
1104
1102
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
1105
|
-
return
|
|
1103
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
1106
1104
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
1107
|
-
return
|
|
1105
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
1108
1106
|
}
|
|
1109
1107
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
1110
|
-
return
|
|
1108
|
+
return React.createElement(
|
|
1111
1109
|
VisibilitySensor,
|
|
1112
1110
|
{
|
|
1113
1111
|
key: article._id ? article._id : index,
|
|
@@ -1115,50 +1113,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1115
1113
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
1116
1114
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
1117
1115
|
} },
|
|
1118
|
-
|
|
1119
|
-
|
|
1116
|
+
React.createElement(
|
|
1117
|
+
React.Fragment,
|
|
1120
1118
|
null,
|
|
1121
|
-
|
|
1119
|
+
React.createElement(
|
|
1122
1120
|
Media,
|
|
1123
1121
|
{
|
|
1124
1122
|
key: article._id ? article._id : index,
|
|
1125
1123
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
1126
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
1124
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
1127
1125
|
'a',
|
|
1128
1126
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
1129
|
-
|
|
1127
|
+
React.createElement(
|
|
1130
1128
|
LazyLoad,
|
|
1131
|
-
{ height: imageHeight, placeholder:
|
|
1132
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
1129
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
1130
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
1133
1131
|
),
|
|
1134
|
-
article.source &&
|
|
1132
|
+
article.source && React.createElement(
|
|
1135
1133
|
'div',
|
|
1136
1134
|
{ className: 'content-category-label' },
|
|
1137
|
-
|
|
1135
|
+
React.createElement(
|
|
1138
1136
|
'div',
|
|
1139
1137
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1140
1138
|
article.source
|
|
1141
1139
|
)
|
|
1142
1140
|
)
|
|
1143
1141
|
),
|
|
1144
|
-
|
|
1142
|
+
React.createElement(
|
|
1145
1143
|
Media.Body,
|
|
1146
1144
|
null,
|
|
1147
|
-
|
|
1145
|
+
React.createElement(
|
|
1148
1146
|
'a',
|
|
1149
1147
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
1150
|
-
article.title &&
|
|
1148
|
+
article.title && React.createElement(
|
|
1151
1149
|
'h4',
|
|
1152
1150
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
1153
1151
|
article.title
|
|
1154
1152
|
)
|
|
1155
1153
|
),
|
|
1156
|
-
showPublished && article.published &&
|
|
1154
|
+
showPublished && article.published && React.createElement(
|
|
1157
1155
|
'p',
|
|
1158
1156
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1159
1157
|
moment(article.published).format('MMMM DD, YYYY')
|
|
1160
1158
|
),
|
|
1161
|
-
showTimeDiff && article.published &&
|
|
1159
|
+
showTimeDiff && article.published && React.createElement(
|
|
1162
1160
|
'p',
|
|
1163
1161
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1164
1162
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1166,20 +1164,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1166
1164
|
return null;
|
|
1167
1165
|
}
|
|
1168
1166
|
if (index === 3) {
|
|
1169
|
-
return
|
|
1170
|
-
|
|
1167
|
+
return React.createElement(
|
|
1168
|
+
React.Fragment,
|
|
1171
1169
|
null,
|
|
1172
|
-
|
|
1170
|
+
React.createElement(
|
|
1173
1171
|
'em',
|
|
1174
1172
|
{ style: { marginRight: '.5rem' } },
|
|
1175
1173
|
'...'
|
|
1176
1174
|
)
|
|
1177
1175
|
);
|
|
1178
1176
|
}
|
|
1179
|
-
return
|
|
1180
|
-
|
|
1177
|
+
return React.createElement(
|
|
1178
|
+
React.Fragment,
|
|
1181
1179
|
null,
|
|
1182
|
-
|
|
1180
|
+
React.createElement(
|
|
1183
1181
|
'em',
|
|
1184
1182
|
null,
|
|
1185
1183
|
taxonomy.name
|
|
@@ -1189,34 +1187,34 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1189
1187
|
);
|
|
1190
1188
|
}),
|
|
1191
1189
|
' ',
|
|
1192
|
-
|
|
1190
|
+
React.createElement(
|
|
1193
1191
|
'span',
|
|
1194
1192
|
{ style: { display: 'inline-block' } },
|
|
1195
1193
|
timeDifferenceCalc(article.published)
|
|
1196
1194
|
)
|
|
1197
1195
|
),
|
|
1198
|
-
|
|
1196
|
+
React.createElement(
|
|
1199
1197
|
'div',
|
|
1200
1198
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1201
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1199
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1202
1200
|
LazyLoad,
|
|
1203
1201
|
{ height: 50 },
|
|
1204
|
-
|
|
1202
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1205
1203
|
)
|
|
1206
1204
|
),
|
|
1207
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1205
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1208
1206
|
'div',
|
|
1209
1207
|
{ className: 'content-category-label' },
|
|
1210
|
-
|
|
1208
|
+
React.createElement(
|
|
1211
1209
|
'div',
|
|
1212
1210
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1213
1211
|
article.source
|
|
1214
1212
|
)
|
|
1215
1213
|
),
|
|
1216
|
-
|
|
1214
|
+
React.createElement(
|
|
1217
1215
|
'div',
|
|
1218
1216
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1219
|
-
showCategory && article.contentCategory &&
|
|
1217
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1220
1218
|
'p',
|
|
1221
1219
|
{
|
|
1222
1220
|
className: 'article-category',
|
|
@@ -1230,7 +1228,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1230
1228
|
} },
|
|
1231
1229
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1232
1230
|
),
|
|
1233
|
-
article.issueSection && article.issueSection.name &&
|
|
1231
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1234
1232
|
'p',
|
|
1235
1233
|
{
|
|
1236
1234
|
className: 'issueSection',
|
|
@@ -1246,28 +1244,28 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1246
1244
|
article.issueSection.name
|
|
1247
1245
|
)
|
|
1248
1246
|
),
|
|
1249
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1247
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1250
1248
|
'div',
|
|
1251
1249
|
{ className: 'pubInfo' },
|
|
1252
|
-
article.volume &&
|
|
1250
|
+
article.volume && React.createElement(
|
|
1253
1251
|
'p',
|
|
1254
1252
|
{ className: 'qdeVolume' },
|
|
1255
1253
|
article.volume
|
|
1256
1254
|
),
|
|
1257
|
-
article.issue &&
|
|
1255
|
+
article.issue && React.createElement(
|
|
1258
1256
|
'p',
|
|
1259
1257
|
{ className: 'qdeIssue' },
|
|
1260
1258
|
article.issue
|
|
1261
1259
|
)
|
|
1262
1260
|
),
|
|
1263
|
-
showIntro && article.summary &&
|
|
1261
|
+
showIntro && article.summary && React.createElement(
|
|
1264
1262
|
'p',
|
|
1265
1263
|
{ className: 'pt-2 card-text' },
|
|
1266
1264
|
clean_html_1(article.summary)
|
|
1267
1265
|
)
|
|
1268
1266
|
)
|
|
1269
1267
|
),
|
|
1270
|
-
|
|
1268
|
+
React.createElement(
|
|
1271
1269
|
'div',
|
|
1272
1270
|
null,
|
|
1273
1271
|
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
@@ -1276,20 +1274,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1276
1274
|
);
|
|
1277
1275
|
} else return null;
|
|
1278
1276
|
})
|
|
1279
|
-
) :
|
|
1277
|
+
) : React.createElement(
|
|
1280
1278
|
'div',
|
|
1281
1279
|
null,
|
|
1282
|
-
|
|
1280
|
+
React.createElement(
|
|
1283
1281
|
'h5',
|
|
1284
1282
|
null,
|
|
1285
|
-
|
|
1283
|
+
React.createElement(
|
|
1286
1284
|
'em',
|
|
1287
1285
|
null,
|
|
1288
1286
|
'New content coming soon, please check back later.'
|
|
1289
1287
|
)
|
|
1290
1288
|
)
|
|
1291
1289
|
),
|
|
1292
|
-
|
|
1290
|
+
React.createElement(
|
|
1293
1291
|
'style',
|
|
1294
1292
|
{ jsx: 'true' },
|
|
1295
1293
|
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: fit-content;\n width: -moz-fit-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .sanityDisplayLabel {\n max-width: 100%;\n }\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
@@ -1298,11 +1296,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1298
1296
|
};
|
|
1299
1297
|
|
|
1300
1298
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1301
|
-
return
|
|
1302
|
-
|
|
1299
|
+
return React.createElement(
|
|
1300
|
+
React.Fragment,
|
|
1303
1301
|
null,
|
|
1304
|
-
|
|
1305
|
-
|
|
1302
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1303
|
+
React.createElement(
|
|
1306
1304
|
'style',
|
|
1307
1305
|
{ jsx: 'true' },
|
|
1308
1306
|
'\n .queuedeck-exp-image-placeholder {\n width: 240px;\n height: 0;\n padding-top: calc(240px * 9 / 16);\n margin: 0 1rem 0 0;\n }\n @media only screen and (max-width: 767px) {\n .queuedeck-exp-image-placeholder {\n width: 100%;\n height: 0;\n padding-top: calc(100% * 9 / 16);\n margin: 0 0 1rem 0;\n }\n }\n '
|
|
@@ -1312,7 +1310,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1312
1310
|
|
|
1313
1311
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1314
1312
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1315
|
-
return
|
|
1313
|
+
return React.createElement(
|
|
1316
1314
|
'div',
|
|
1317
1315
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1318
1316
|
rightItems[i].component
|
|
@@ -1331,7 +1329,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1331
1329
|
var router = useRouter();
|
|
1332
1330
|
|
|
1333
1331
|
// Logging GA Pageview on path change
|
|
1334
|
-
var prevPath = usePrevious(
|
|
1332
|
+
var prevPath = usePrevious(lodash.get(router, 'asPath', undefined));
|
|
1335
1333
|
useEffect(function () {
|
|
1336
1334
|
var pageview = props.pageview;
|
|
1337
1335
|
|
|
@@ -1421,15 +1419,15 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1421
1419
|
return null;
|
|
1422
1420
|
}
|
|
1423
1421
|
|
|
1424
|
-
return
|
|
1422
|
+
return React.createElement(
|
|
1425
1423
|
'div',
|
|
1426
1424
|
{ className: 'd-flex justify-content-between' },
|
|
1427
|
-
currentPage && currentPage > 1 &&
|
|
1425
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1428
1426
|
'a',
|
|
1429
1427
|
{ href: '?page=' + (currentPage - 1) },
|
|
1430
1428
|
'<< Previous'
|
|
1431
1429
|
),
|
|
1432
|
-
|
|
1430
|
+
React.createElement(
|
|
1433
1431
|
'a',
|
|
1434
1432
|
{ href: '?page=' + (currentPage + 1) },
|
|
1435
1433
|
'Next >>'
|
|
@@ -1476,40 +1474,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1476
1474
|
}
|
|
1477
1475
|
};
|
|
1478
1476
|
|
|
1479
|
-
return
|
|
1477
|
+
return React.createElement(
|
|
1480
1478
|
'div',
|
|
1481
1479
|
null,
|
|
1482
|
-
autoScroll ?
|
|
1483
|
-
|
|
1480
|
+
autoScroll ? React.createElement(
|
|
1481
|
+
React.Fragment,
|
|
1484
1482
|
null,
|
|
1485
|
-
|
|
1483
|
+
React.createElement(
|
|
1486
1484
|
InfiniteScroll,
|
|
1487
1485
|
{ dataLength: data && data.length, next: function next() {
|
|
1488
1486
|
return loadMore(values, setValues, per);
|
|
1489
1487
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1490
|
-
|
|
1488
|
+
React.createElement(
|
|
1491
1489
|
Container,
|
|
1492
1490
|
null,
|
|
1493
1491
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1494
1492
|
)
|
|
1495
1493
|
),
|
|
1496
|
-
|
|
1494
|
+
React.createElement(
|
|
1497
1495
|
'noscript',
|
|
1498
1496
|
null,
|
|
1499
1497
|
renderManualPagination(currentPage)
|
|
1500
1498
|
)
|
|
1501
|
-
) :
|
|
1502
|
-
|
|
1499
|
+
) : React.createElement(
|
|
1500
|
+
React.Fragment,
|
|
1503
1501
|
null,
|
|
1504
|
-
|
|
1502
|
+
React.createElement(
|
|
1505
1503
|
Container,
|
|
1506
1504
|
null,
|
|
1507
1505
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1508
1506
|
),
|
|
1509
|
-
|
|
1507
|
+
React.createElement(
|
|
1510
1508
|
'div',
|
|
1511
1509
|
{ style: { padding: '0px 10px' } },
|
|
1512
|
-
scrolling ?
|
|
1510
|
+
scrolling ? React.createElement(
|
|
1513
1511
|
'button',
|
|
1514
1512
|
{
|
|
1515
1513
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -1517,17 +1515,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1517
1515
|
loadMore(values, setValues, per);
|
|
1518
1516
|
} },
|
|
1519
1517
|
'Load More'
|
|
1520
|
-
) :
|
|
1518
|
+
) : React.createElement(
|
|
1521
1519
|
'p',
|
|
1522
1520
|
{ style: { textAlign: 'center' } },
|
|
1523
|
-
|
|
1521
|
+
React.createElement(
|
|
1524
1522
|
'b',
|
|
1525
1523
|
null,
|
|
1526
1524
|
'End of data'
|
|
1527
1525
|
)
|
|
1528
1526
|
)
|
|
1529
1527
|
),
|
|
1530
|
-
|
|
1528
|
+
React.createElement(
|
|
1531
1529
|
'noscript',
|
|
1532
1530
|
null,
|
|
1533
1531
|
renderManualPagination(currentPage)
|