@mjhls/mjh-framework 1.0.577-native-nav-v4 → 1.0.577
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 +8 -7
- package/dist/cjs/AD300x250x600.js +8 -7
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +15 -14
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-df340285.js → ADInfeed-fdbd80ea.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +11 -10
- package/dist/cjs/ADWebcast.js +11 -10
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-2110d08c.js → ADlgInfeed-ecd2642c.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleQueue.js +115 -112
- package/dist/cjs/Auth.js +227 -139
- package/dist/cjs/{AuthorComponent-cb8b8128.js → AuthorComponent-5bb8f868.js} +13 -12
- package/dist/cjs/{BlockContent-c2168db0.js → BlockContent-8b494587.js} +26 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +34 -33
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -81
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-a06d722a.js} +22 -20
- package/dist/cjs/EventsDeck.js +113 -106
- package/dist/cjs/ExternalResources.js +43 -42
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +148 -144
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +38 -37
- package/dist/cjs/HamMagazine.js +118 -113
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/{InscreenSensor-3aec8492.js → InscreenSensor-1f9f7db4.js} +8 -7
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +47 -46
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +60 -59
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +122 -117
- package/dist/cjs/NavNative.js +115 -108
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +134 -132
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +85 -81
- package/dist/cjs/QueueDeckExpanded.js +216 -216
- package/dist/cjs/RelatedContent.js +47 -46
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +20 -19
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialNavFooter-9a07520f.js → SocialNavFooter-d9ab4d17.js} +18 -17
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +35 -34
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +39 -38
- package/dist/cjs/View.js +165 -160
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +47 -46
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +9 -9
- package/dist/cjs/getSerializers.js +267 -257
- package/dist/cjs/{getTargeting-b15993cb.js → getTargeting-86e68d62.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-fa3cec70.js → index-44481153.js} +14 -14
- package/dist/cjs/{index-fa0fb52c.js → index-8a3fb0bc.js} +13 -10
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-39beccb3.js → index-b5eb3ff8.js} +18 -18
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-89fabc47.js → index.esm-55da9104.js} +3 -6
- package/dist/cjs/{index.esm-fbd1f7e9.js → index.esm-99553d28.js} +6 -15
- package/dist/cjs/index.js +28 -28
- package/dist/cjs/{inherits-14962339.js → inherits-4a2f1cc3.js} +4 -4
- package/dist/cjs/{main-88348b15.js → main-c50facd7.js} +89 -53
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-cd0d9d3b.js → react-social-icons-07939b41.js} +13 -11
- package/dist/cjs/{typeof-1869832c.js → typeof-583cdc4b.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +12 -12
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-db7610fb.js → ADInfeed-ed104a2b.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWebcast.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-4bb11153.js → ADlgInfeed-dfde985e.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleQueue.js +98 -98
- package/dist/esm/Auth.js +207 -123
- package/dist/esm/{AuthorComponent-158226c9.js → AuthorComponent-f67cb027.js} +10 -10
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +29 -29
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +62 -62
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-81a052c2.js → Dfp-0557840a.js} +10 -10
- package/dist/esm/EventsDeck.js +64 -64
- package/dist/esm/ExternalResources.js +36 -36
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +106 -106
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +86 -86
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/{InscreenSensor-280b2b10.js → InscreenSensor-3e1fe82a.js} +5 -5
- package/dist/esm/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +44 -44
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +53 -53
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +92 -92
- package/dist/esm/NavNative.js +82 -83
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +72 -72
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +61 -61
- package/dist/esm/QueueDeckExpanded.js +197 -197
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialNavFooter-4fb16720.js → SocialNavFooter-1a531144.js} +15 -15
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TemplateNormal.js +28 -28
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +139 -139
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +37 -37
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +2 -2
- package/dist/esm/getSerializers.js +219 -215
- package/dist/esm/{getTargeting-1a0bd08d.js → getTargeting-1f2c61e3.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-3f4dd6f2.js → index-1819118a.js} +7 -9
- package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.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-4b1d94b7.js → index.esm-116f3274.js} +6 -15
- package/dist/esm/{index.esm-9a4c8813.js → index.esm-16e9450c.js} +3 -6
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +24 -24
- package/dist/esm/{inherits-b8e4c697.js → inherits-2758cc14.js} +1 -1
- package/dist/esm/{main-d7ee6151.js → main-b722e2e2.js} +87 -52
- 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/{typeof-5f046efd.js → typeof-7e72fee0.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -8,20 +8,20 @@ import { _ as _toConsumableArray } from './toConsumableArray-8712d678.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends } from './extends-6e00b262.js';
|
|
10
10
|
import './web.dom.iterable-46c95e52.js';
|
|
11
|
-
import
|
|
12
|
-
import { l as lib_3 } from './index-
|
|
11
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
12
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import { m as moment } from './moment-
|
|
15
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
16
16
|
import { useRouter } from 'next/router';
|
|
17
17
|
import './isSymbol-b7b7434f.js';
|
|
18
18
|
import './debounce-048d9cb6.js';
|
|
19
|
-
import { I as InfiniteScroll } from './index.es-
|
|
19
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
22
|
-
import { i as imageUrlBuilder } from './index-
|
|
23
|
-
import { L as LazyLoad } from './index-
|
|
24
|
-
import { m as
|
|
21
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
22
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
23
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
24
|
+
import { m as main_40 } from './main-b722e2e2.js';
|
|
25
25
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
26
26
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
27
27
|
import './stringify-e30bc114.js';
|
|
@@ -29,10 +29,10 @@ import './asyncToGenerator-0379e924.js';
|
|
|
29
29
|
import './_set-species-6f64f1c1.js';
|
|
30
30
|
import './beam-a25bd8fd.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
32
|
+
import { A as ADInfeed } from './ADInfeed-ed104a2b.js';
|
|
33
33
|
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
34
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
35
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
34
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dfde985e.js';
|
|
35
|
+
import { A as AuthorComponent } from './AuthorComponent-f67cb027.js';
|
|
36
36
|
import { Container, Media } from 'react-bootstrap';
|
|
37
37
|
|
|
38
38
|
var urlFor = function urlFor(source, builder) {
|
|
@@ -242,7 +242,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
242
242
|
});
|
|
243
243
|
|
|
244
244
|
var featureCount = 0;
|
|
245
|
-
return
|
|
245
|
+
return React.createElement(
|
|
246
246
|
'div',
|
|
247
247
|
null,
|
|
248
248
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -253,7 +253,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
253
253
|
if (article._type === 'feature') {
|
|
254
254
|
featureCount++;
|
|
255
255
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
256
|
-
return
|
|
256
|
+
return React.createElement(
|
|
257
257
|
VisibilitySensor,
|
|
258
258
|
{
|
|
259
259
|
key: article._id ? article._id : index,
|
|
@@ -261,68 +261,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
261
261
|
onChange: function onChange(isVisible) {
|
|
262
262
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
263
263
|
} },
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
React.createElement(
|
|
265
|
+
React.Fragment,
|
|
266
266
|
null,
|
|
267
|
-
|
|
267
|
+
React.createElement(
|
|
268
268
|
Media,
|
|
269
269
|
{
|
|
270
270
|
key: article._id ? article._id : index,
|
|
271
271
|
className: 'feature-media',
|
|
272
272
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
273
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
273
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
274
274
|
'a',
|
|
275
275
|
{ href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
276
|
-
|
|
276
|
+
React.createElement(
|
|
277
277
|
LazyLoad,
|
|
278
|
-
{ height: imageHeight, placeholder:
|
|
279
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
278
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
279
|
+
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 })
|
|
280
280
|
),
|
|
281
|
-
article.source &&
|
|
281
|
+
article.source && React.createElement(
|
|
282
282
|
'div',
|
|
283
283
|
{ className: 'content-category-label' },
|
|
284
|
-
|
|
284
|
+
React.createElement(
|
|
285
285
|
'div',
|
|
286
286
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
287
287
|
article.source
|
|
288
288
|
)
|
|
289
289
|
)
|
|
290
290
|
),
|
|
291
|
-
|
|
291
|
+
React.createElement(
|
|
292
292
|
Media.Body,
|
|
293
293
|
null,
|
|
294
|
-
|
|
294
|
+
React.createElement(
|
|
295
295
|
'a',
|
|
296
296
|
{ href: article.url.current, target: '_blank' },
|
|
297
|
-
article.title &&
|
|
297
|
+
article.title && React.createElement(
|
|
298
298
|
'h4',
|
|
299
299
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
300
300
|
article.title
|
|
301
301
|
)
|
|
302
302
|
),
|
|
303
|
-
showPublished && article.published &&
|
|
303
|
+
showPublished && article.published && React.createElement(
|
|
304
304
|
'p',
|
|
305
305
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
306
306
|
moment(article.published).format('MMMM DD, YYYY')
|
|
307
307
|
),
|
|
308
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
308
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
309
309
|
LazyLoad,
|
|
310
310
|
{ height: 50 },
|
|
311
|
-
|
|
311
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
312
312
|
),
|
|
313
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
313
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
314
314
|
'div',
|
|
315
315
|
{ className: 'content-category-label' },
|
|
316
|
-
|
|
316
|
+
React.createElement(
|
|
317
317
|
'div',
|
|
318
318
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
319
319
|
article.source
|
|
320
320
|
)
|
|
321
321
|
),
|
|
322
|
-
|
|
322
|
+
React.createElement(
|
|
323
323
|
'div',
|
|
324
324
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
325
|
-
showCategory && article.contentCategory &&
|
|
325
|
+
showCategory && article.contentCategory && React.createElement(
|
|
326
326
|
'p',
|
|
327
327
|
{
|
|
328
328
|
className: 'article-category',
|
|
@@ -336,7 +336,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
336
336
|
} },
|
|
337
337
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
338
338
|
),
|
|
339
|
-
article.issueSection && article.issueSection.name &&
|
|
339
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
340
340
|
'p',
|
|
341
341
|
{
|
|
342
342
|
className: 'issueSection',
|
|
@@ -352,21 +352,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
352
352
|
article.issueSection.name
|
|
353
353
|
)
|
|
354
354
|
),
|
|
355
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
355
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
356
356
|
'div',
|
|
357
357
|
{ className: 'pubInfo' },
|
|
358
|
-
article.volume &&
|
|
358
|
+
article.volume && React.createElement(
|
|
359
359
|
'p',
|
|
360
360
|
{ className: 'qdeVolume' },
|
|
361
361
|
article.volume
|
|
362
362
|
),
|
|
363
|
-
article.issue &&
|
|
363
|
+
article.issue && React.createElement(
|
|
364
364
|
'p',
|
|
365
365
|
{ className: 'qdeIssue' },
|
|
366
366
|
article.issue
|
|
367
367
|
)
|
|
368
368
|
),
|
|
369
|
-
article.summary &&
|
|
369
|
+
article.summary && React.createElement(
|
|
370
370
|
'p',
|
|
371
371
|
{ className: 'pt-2 card-text' },
|
|
372
372
|
clean_html_1(article.summary)
|
|
@@ -376,7 +376,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
376
376
|
)
|
|
377
377
|
);
|
|
378
378
|
} else {
|
|
379
|
-
return
|
|
379
|
+
return React.createElement(
|
|
380
380
|
VisibilitySensor,
|
|
381
381
|
{
|
|
382
382
|
key: article._id ? article._id : index,
|
|
@@ -384,68 +384,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
384
384
|
onChange: function onChange(isVisible) {
|
|
385
385
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
386
386
|
} },
|
|
387
|
-
|
|
388
|
-
|
|
387
|
+
React.createElement(
|
|
388
|
+
React.Fragment,
|
|
389
389
|
null,
|
|
390
|
-
|
|
390
|
+
React.createElement(
|
|
391
391
|
Media,
|
|
392
392
|
{
|
|
393
393
|
key: article._id ? article._id : index,
|
|
394
394
|
className: 'feature-media',
|
|
395
395
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
396
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
396
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
397
397
|
'a',
|
|
398
398
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
399
|
-
|
|
399
|
+
React.createElement(
|
|
400
400
|
LazyLoad,
|
|
401
|
-
{ height: imageHeight, placeholder:
|
|
402
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
401
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
402
|
+
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 })
|
|
403
403
|
),
|
|
404
|
-
article.source &&
|
|
404
|
+
article.source && React.createElement(
|
|
405
405
|
'div',
|
|
406
406
|
{ className: 'content-category-label' },
|
|
407
|
-
|
|
407
|
+
React.createElement(
|
|
408
408
|
'div',
|
|
409
409
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
410
410
|
article.source
|
|
411
411
|
)
|
|
412
412
|
)
|
|
413
413
|
),
|
|
414
|
-
|
|
414
|
+
React.createElement(
|
|
415
415
|
Media.Body,
|
|
416
416
|
null,
|
|
417
|
-
|
|
417
|
+
React.createElement(
|
|
418
418
|
'a',
|
|
419
419
|
{ href: article.url.current },
|
|
420
|
-
article.title &&
|
|
420
|
+
article.title && React.createElement(
|
|
421
421
|
'h4',
|
|
422
422
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
423
423
|
article.title
|
|
424
424
|
)
|
|
425
425
|
),
|
|
426
|
-
showPublished && article.published &&
|
|
426
|
+
showPublished && article.published && React.createElement(
|
|
427
427
|
'p',
|
|
428
428
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
429
429
|
moment(article.published).format('MMMM DD, YYYY')
|
|
430
430
|
),
|
|
431
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
431
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
432
432
|
LazyLoad,
|
|
433
433
|
{ height: 50 },
|
|
434
|
-
|
|
434
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
435
435
|
),
|
|
436
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
436
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
437
437
|
'div',
|
|
438
438
|
{ className: 'content-category-label' },
|
|
439
|
-
|
|
439
|
+
React.createElement(
|
|
440
440
|
'div',
|
|
441
441
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
442
442
|
article.source
|
|
443
443
|
)
|
|
444
444
|
),
|
|
445
|
-
|
|
445
|
+
React.createElement(
|
|
446
446
|
'div',
|
|
447
447
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
448
|
-
showCategory && article.contentCategory &&
|
|
448
|
+
showCategory && article.contentCategory && React.createElement(
|
|
449
449
|
'p',
|
|
450
450
|
{
|
|
451
451
|
className: 'article-category',
|
|
@@ -459,7 +459,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
459
459
|
} },
|
|
460
460
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
461
461
|
),
|
|
462
|
-
article.issueSection && article.issueSection.name &&
|
|
462
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
463
463
|
'p',
|
|
464
464
|
{
|
|
465
465
|
className: 'issueSection',
|
|
@@ -475,21 +475,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
475
475
|
article.issueSection.name
|
|
476
476
|
)
|
|
477
477
|
),
|
|
478
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
478
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
479
479
|
'div',
|
|
480
480
|
{ className: 'pubInfo' },
|
|
481
|
-
article.volume &&
|
|
481
|
+
article.volume && React.createElement(
|
|
482
482
|
'p',
|
|
483
483
|
{ className: 'qdeVolume' },
|
|
484
484
|
article.volume
|
|
485
485
|
),
|
|
486
|
-
article.issue &&
|
|
486
|
+
article.issue && React.createElement(
|
|
487
487
|
'p',
|
|
488
488
|
{ className: 'qdeIssue' },
|
|
489
489
|
article.issue
|
|
490
490
|
)
|
|
491
491
|
),
|
|
492
|
-
article.summary &&
|
|
492
|
+
article.summary && React.createElement(
|
|
493
493
|
'p',
|
|
494
494
|
{ className: 'pt-2 card-text' },
|
|
495
495
|
clean_html_1(article.summary)
|
|
@@ -500,16 +500,16 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
500
500
|
);
|
|
501
501
|
}
|
|
502
502
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
503
|
-
return
|
|
503
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
504
504
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
505
|
-
return
|
|
505
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
506
506
|
}
|
|
507
|
-
if (
|
|
507
|
+
if (main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0) {
|
|
508
508
|
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
512
|
-
return
|
|
512
|
+
return React.createElement(
|
|
513
513
|
VisibilitySensor,
|
|
514
514
|
{
|
|
515
515
|
key: article._id ? article._id : index,
|
|
@@ -517,71 +517,71 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
517
517
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
518
518
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
519
519
|
} },
|
|
520
|
-
|
|
521
|
-
|
|
520
|
+
React.createElement(
|
|
521
|
+
React.Fragment,
|
|
522
522
|
null,
|
|
523
|
-
|
|
523
|
+
React.createElement(
|
|
524
524
|
Media,
|
|
525
525
|
{
|
|
526
526
|
key: article._id ? article._id : index,
|
|
527
527
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
528
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
528
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
529
529
|
'a',
|
|
530
530
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
531
|
-
|
|
531
|
+
React.createElement(
|
|
532
532
|
LazyLoad,
|
|
533
|
-
{ height: imageHeight, placeholder:
|
|
534
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
533
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
534
|
+
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 })
|
|
535
535
|
),
|
|
536
|
-
article.source &&
|
|
536
|
+
article.source && React.createElement(
|
|
537
537
|
'div',
|
|
538
538
|
{ className: 'content-category-label' },
|
|
539
|
-
|
|
539
|
+
React.createElement(
|
|
540
540
|
'div',
|
|
541
541
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
542
542
|
article.source
|
|
543
543
|
)
|
|
544
544
|
)
|
|
545
545
|
),
|
|
546
|
-
|
|
546
|
+
React.createElement(
|
|
547
547
|
Media.Body,
|
|
548
548
|
null,
|
|
549
|
-
|
|
549
|
+
React.createElement(
|
|
550
550
|
'a',
|
|
551
551
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
552
|
-
article.title &&
|
|
552
|
+
article.title && React.createElement(
|
|
553
553
|
'h4',
|
|
554
554
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
555
555
|
article.title
|
|
556
556
|
)
|
|
557
557
|
),
|
|
558
|
-
showPublished && article.published &&
|
|
558
|
+
showPublished && article.published && React.createElement(
|
|
559
559
|
'p',
|
|
560
560
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
561
561
|
moment(article.published).format('MMMM DD, YYYY')
|
|
562
562
|
),
|
|
563
|
-
|
|
563
|
+
React.createElement(
|
|
564
564
|
'div',
|
|
565
565
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
566
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
566
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
567
567
|
LazyLoad,
|
|
568
568
|
{ height: 50 },
|
|
569
|
-
|
|
569
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
570
570
|
)
|
|
571
571
|
),
|
|
572
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
572
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
573
573
|
'div',
|
|
574
574
|
{ className: 'content-category-label' },
|
|
575
|
-
|
|
575
|
+
React.createElement(
|
|
576
576
|
'div',
|
|
577
577
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
578
578
|
article.source
|
|
579
579
|
)
|
|
580
580
|
),
|
|
581
|
-
|
|
581
|
+
React.createElement(
|
|
582
582
|
'div',
|
|
583
583
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
584
|
-
showCategory && article.contentCategory &&
|
|
584
|
+
showCategory && article.contentCategory && React.createElement(
|
|
585
585
|
'p',
|
|
586
586
|
{
|
|
587
587
|
className: 'article-category',
|
|
@@ -595,7 +595,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
595
595
|
} },
|
|
596
596
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
597
597
|
),
|
|
598
|
-
article.issueSection && article.issueSection.name &&
|
|
598
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
599
599
|
'p',
|
|
600
600
|
{
|
|
601
601
|
className: 'issueSection',
|
|
@@ -611,21 +611,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
611
611
|
article.issueSection.name
|
|
612
612
|
)
|
|
613
613
|
),
|
|
614
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
614
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
615
615
|
'div',
|
|
616
616
|
{ className: 'pubInfo' },
|
|
617
|
-
article.volume &&
|
|
617
|
+
article.volume && React.createElement(
|
|
618
618
|
'p',
|
|
619
619
|
{ className: 'qdeVolume' },
|
|
620
620
|
article.volume
|
|
621
621
|
),
|
|
622
|
-
article.issue &&
|
|
622
|
+
article.issue && React.createElement(
|
|
623
623
|
'p',
|
|
624
624
|
{ className: 'qdeIssue' },
|
|
625
625
|
article.issue
|
|
626
626
|
)
|
|
627
627
|
),
|
|
628
|
-
article.summary &&
|
|
628
|
+
article.summary && React.createElement(
|
|
629
629
|
'p',
|
|
630
630
|
{ className: 'pt-2 card-text' },
|
|
631
631
|
clean_html_1(article.summary)
|
|
@@ -637,7 +637,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
637
637
|
} else return null;
|
|
638
638
|
}) :
|
|
639
639
|
// For Javascript Disabled Cases
|
|
640
|
-
|
|
640
|
+
React.createElement(
|
|
641
641
|
'noscript',
|
|
642
642
|
null,
|
|
643
643
|
data.map(function (article, index) {
|
|
@@ -647,7 +647,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
647
647
|
if (article._type === 'feature') {
|
|
648
648
|
featureCount++;
|
|
649
649
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
650
|
-
return
|
|
650
|
+
return React.createElement(
|
|
651
651
|
VisibilitySensor,
|
|
652
652
|
{
|
|
653
653
|
key: article._id ? article._id : index,
|
|
@@ -655,68 +655,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
655
655
|
onChange: function onChange(isVisible) {
|
|
656
656
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
657
657
|
} },
|
|
658
|
-
|
|
659
|
-
|
|
658
|
+
React.createElement(
|
|
659
|
+
React.Fragment,
|
|
660
660
|
null,
|
|
661
|
-
|
|
661
|
+
React.createElement(
|
|
662
662
|
Media,
|
|
663
663
|
{
|
|
664
664
|
key: article._id ? article._id : index,
|
|
665
665
|
className: 'feature-media',
|
|
666
666
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
667
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
667
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
668
668
|
'a',
|
|
669
669
|
{ href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
670
|
-
|
|
670
|
+
React.createElement(
|
|
671
671
|
LazyLoad,
|
|
672
|
-
{ height: imageHeight, placeholder:
|
|
673
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
672
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
673
|
+
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 })
|
|
674
674
|
),
|
|
675
|
-
article.source &&
|
|
675
|
+
article.source && React.createElement(
|
|
676
676
|
'div',
|
|
677
677
|
{ className: 'content-category-label' },
|
|
678
|
-
|
|
678
|
+
React.createElement(
|
|
679
679
|
'div',
|
|
680
680
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
681
681
|
article.source
|
|
682
682
|
)
|
|
683
683
|
)
|
|
684
684
|
),
|
|
685
|
-
|
|
685
|
+
React.createElement(
|
|
686
686
|
Media.Body,
|
|
687
687
|
null,
|
|
688
|
-
|
|
688
|
+
React.createElement(
|
|
689
689
|
'a',
|
|
690
690
|
{ href: article.url.current, target: '_blank' },
|
|
691
|
-
article.title &&
|
|
691
|
+
article.title && React.createElement(
|
|
692
692
|
'h4',
|
|
693
693
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
694
694
|
article.title
|
|
695
695
|
)
|
|
696
696
|
),
|
|
697
|
-
showPublished && article.published &&
|
|
697
|
+
showPublished && article.published && React.createElement(
|
|
698
698
|
'p',
|
|
699
699
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
700
700
|
moment(article.published).format('MMMM DD, YYYY')
|
|
701
701
|
),
|
|
702
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
702
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
703
703
|
LazyLoad,
|
|
704
704
|
{ height: 50 },
|
|
705
|
-
|
|
705
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
706
706
|
),
|
|
707
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
707
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
708
708
|
'div',
|
|
709
709
|
{ className: 'content-category-label' },
|
|
710
|
-
|
|
710
|
+
React.createElement(
|
|
711
711
|
'div',
|
|
712
712
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
713
713
|
article.source
|
|
714
714
|
)
|
|
715
715
|
),
|
|
716
|
-
|
|
716
|
+
React.createElement(
|
|
717
717
|
'div',
|
|
718
718
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
719
|
-
showCategory && article.contentCategory &&
|
|
719
|
+
showCategory && article.contentCategory && React.createElement(
|
|
720
720
|
'p',
|
|
721
721
|
{
|
|
722
722
|
className: 'article-category',
|
|
@@ -730,7 +730,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
730
730
|
} },
|
|
731
731
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
732
732
|
),
|
|
733
|
-
article.issueSection && article.issueSection.name &&
|
|
733
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
734
734
|
'p',
|
|
735
735
|
{
|
|
736
736
|
className: 'issueSection',
|
|
@@ -746,21 +746,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
746
746
|
article.issueSection.name
|
|
747
747
|
)
|
|
748
748
|
),
|
|
749
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
749
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
750
750
|
'div',
|
|
751
751
|
{ className: 'pubInfo' },
|
|
752
|
-
article.volume &&
|
|
752
|
+
article.volume && React.createElement(
|
|
753
753
|
'p',
|
|
754
754
|
{ className: 'qdeVolume' },
|
|
755
755
|
article.volume
|
|
756
756
|
),
|
|
757
|
-
article.issue &&
|
|
757
|
+
article.issue && React.createElement(
|
|
758
758
|
'p',
|
|
759
759
|
{ className: 'qdeIssue' },
|
|
760
760
|
article.issue
|
|
761
761
|
)
|
|
762
762
|
),
|
|
763
|
-
article.summary &&
|
|
763
|
+
article.summary && React.createElement(
|
|
764
764
|
'p',
|
|
765
765
|
{ className: 'pt-2 card-text' },
|
|
766
766
|
clean_html_1(article.summary)
|
|
@@ -770,7 +770,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
770
770
|
)
|
|
771
771
|
);
|
|
772
772
|
} else {
|
|
773
|
-
return
|
|
773
|
+
return React.createElement(
|
|
774
774
|
VisibilitySensor,
|
|
775
775
|
{
|
|
776
776
|
key: article._id ? article._id : index,
|
|
@@ -778,68 +778,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
778
778
|
onChange: function onChange(isVisible) {
|
|
779
779
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
780
780
|
} },
|
|
781
|
-
|
|
782
|
-
|
|
781
|
+
React.createElement(
|
|
782
|
+
React.Fragment,
|
|
783
783
|
null,
|
|
784
|
-
|
|
784
|
+
React.createElement(
|
|
785
785
|
Media,
|
|
786
786
|
{
|
|
787
787
|
key: article._id ? article._id : index,
|
|
788
788
|
className: 'feature-media',
|
|
789
789
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
790
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
790
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
791
791
|
'a',
|
|
792
792
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
793
|
-
|
|
793
|
+
React.createElement(
|
|
794
794
|
LazyLoad,
|
|
795
|
-
{ height: imageHeight, placeholder:
|
|
796
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
795
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
796
|
+
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 })
|
|
797
797
|
),
|
|
798
|
-
article.source &&
|
|
798
|
+
article.source && React.createElement(
|
|
799
799
|
'div',
|
|
800
800
|
{ className: 'content-category-label' },
|
|
801
|
-
|
|
801
|
+
React.createElement(
|
|
802
802
|
'div',
|
|
803
803
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
804
804
|
article.source
|
|
805
805
|
)
|
|
806
806
|
)
|
|
807
807
|
),
|
|
808
|
-
|
|
808
|
+
React.createElement(
|
|
809
809
|
Media.Body,
|
|
810
810
|
null,
|
|
811
|
-
|
|
811
|
+
React.createElement(
|
|
812
812
|
'a',
|
|
813
813
|
{ href: article.url.current },
|
|
814
|
-
article.title &&
|
|
814
|
+
article.title && React.createElement(
|
|
815
815
|
'h4',
|
|
816
816
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
817
817
|
article.title
|
|
818
818
|
)
|
|
819
819
|
),
|
|
820
|
-
showPublished && article.published &&
|
|
820
|
+
showPublished && article.published && React.createElement(
|
|
821
821
|
'p',
|
|
822
822
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
823
823
|
moment(article.published).format('MMMM DD, YYYY')
|
|
824
824
|
),
|
|
825
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
825
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
826
826
|
LazyLoad,
|
|
827
827
|
{ height: 50 },
|
|
828
|
-
|
|
828
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
829
829
|
),
|
|
830
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
830
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
831
831
|
'div',
|
|
832
832
|
{ className: 'content-category-label' },
|
|
833
|
-
|
|
833
|
+
React.createElement(
|
|
834
834
|
'div',
|
|
835
835
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
836
836
|
article.source
|
|
837
837
|
)
|
|
838
838
|
),
|
|
839
|
-
|
|
839
|
+
React.createElement(
|
|
840
840
|
'div',
|
|
841
841
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
842
|
-
showCategory && article.contentCategory &&
|
|
842
|
+
showCategory && article.contentCategory && React.createElement(
|
|
843
843
|
'p',
|
|
844
844
|
{
|
|
845
845
|
className: 'article-category',
|
|
@@ -853,7 +853,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
853
853
|
} },
|
|
854
854
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
855
855
|
),
|
|
856
|
-
article.issueSection && article.issueSection.name &&
|
|
856
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
857
857
|
'p',
|
|
858
858
|
{
|
|
859
859
|
className: 'issueSection',
|
|
@@ -869,21 +869,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
869
869
|
article.issueSection.name
|
|
870
870
|
)
|
|
871
871
|
),
|
|
872
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
872
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
873
873
|
'div',
|
|
874
874
|
{ className: 'pubInfo' },
|
|
875
|
-
article.volume &&
|
|
875
|
+
article.volume && React.createElement(
|
|
876
876
|
'p',
|
|
877
877
|
{ className: 'qdeVolume' },
|
|
878
878
|
article.volume
|
|
879
879
|
),
|
|
880
|
-
article.issue &&
|
|
880
|
+
article.issue && React.createElement(
|
|
881
881
|
'p',
|
|
882
882
|
{ className: 'qdeIssue' },
|
|
883
883
|
article.issue
|
|
884
884
|
)
|
|
885
885
|
),
|
|
886
|
-
article.summary &&
|
|
886
|
+
article.summary && React.createElement(
|
|
887
887
|
'p',
|
|
888
888
|
{ className: 'pt-2 card-text' },
|
|
889
889
|
clean_html_1(article.summary)
|
|
@@ -894,16 +894,16 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
894
894
|
);
|
|
895
895
|
}
|
|
896
896
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
897
|
-
return
|
|
897
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
898
898
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
899
|
-
return
|
|
899
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
900
900
|
}
|
|
901
|
-
if (
|
|
901
|
+
if (main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0) {
|
|
902
902
|
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
903
903
|
}
|
|
904
904
|
|
|
905
905
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
906
|
-
return
|
|
906
|
+
return React.createElement(
|
|
907
907
|
VisibilitySensor,
|
|
908
908
|
{
|
|
909
909
|
key: article._id ? article._id : index,
|
|
@@ -911,71 +911,71 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
911
911
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
912
912
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
913
913
|
} },
|
|
914
|
-
|
|
915
|
-
|
|
914
|
+
React.createElement(
|
|
915
|
+
React.Fragment,
|
|
916
916
|
null,
|
|
917
|
-
|
|
917
|
+
React.createElement(
|
|
918
918
|
Media,
|
|
919
919
|
{
|
|
920
920
|
key: article._id ? article._id : index,
|
|
921
921
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
922
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
922
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
923
923
|
'a',
|
|
924
924
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
925
|
-
|
|
925
|
+
React.createElement(
|
|
926
926
|
LazyLoad,
|
|
927
|
-
{ height: imageHeight, placeholder:
|
|
928
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
927
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
928
|
+
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 })
|
|
929
929
|
),
|
|
930
|
-
article.source &&
|
|
930
|
+
article.source && React.createElement(
|
|
931
931
|
'div',
|
|
932
932
|
{ className: 'content-category-label' },
|
|
933
|
-
|
|
933
|
+
React.createElement(
|
|
934
934
|
'div',
|
|
935
935
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
936
936
|
article.source
|
|
937
937
|
)
|
|
938
938
|
)
|
|
939
939
|
),
|
|
940
|
-
|
|
940
|
+
React.createElement(
|
|
941
941
|
Media.Body,
|
|
942
942
|
null,
|
|
943
|
-
|
|
943
|
+
React.createElement(
|
|
944
944
|
'a',
|
|
945
945
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
946
|
-
article.title &&
|
|
946
|
+
article.title && React.createElement(
|
|
947
947
|
'h4',
|
|
948
948
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
949
949
|
article.title
|
|
950
950
|
)
|
|
951
951
|
),
|
|
952
|
-
showPublished && article.published &&
|
|
952
|
+
showPublished && article.published && React.createElement(
|
|
953
953
|
'p',
|
|
954
954
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
955
955
|
moment(article.published).format('MMMM DD, YYYY')
|
|
956
956
|
),
|
|
957
|
-
|
|
957
|
+
React.createElement(
|
|
958
958
|
'div',
|
|
959
959
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
960
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
960
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
961
961
|
LazyLoad,
|
|
962
962
|
{ height: 50 },
|
|
963
|
-
|
|
963
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
964
964
|
)
|
|
965
965
|
),
|
|
966
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
966
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
967
967
|
'div',
|
|
968
968
|
{ className: 'content-category-label' },
|
|
969
|
-
|
|
969
|
+
React.createElement(
|
|
970
970
|
'div',
|
|
971
971
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
972
972
|
article.source
|
|
973
973
|
)
|
|
974
974
|
),
|
|
975
|
-
|
|
975
|
+
React.createElement(
|
|
976
976
|
'div',
|
|
977
977
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
978
|
-
showCategory && article.contentCategory &&
|
|
978
|
+
showCategory && article.contentCategory && React.createElement(
|
|
979
979
|
'p',
|
|
980
980
|
{
|
|
981
981
|
className: 'article-category',
|
|
@@ -989,7 +989,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
989
989
|
} },
|
|
990
990
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
991
991
|
),
|
|
992
|
-
article.issueSection && article.issueSection.name &&
|
|
992
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
993
993
|
'p',
|
|
994
994
|
{
|
|
995
995
|
className: 'issueSection',
|
|
@@ -1005,21 +1005,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1005
1005
|
article.issueSection.name
|
|
1006
1006
|
)
|
|
1007
1007
|
),
|
|
1008
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1008
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1009
1009
|
'div',
|
|
1010
1010
|
{ className: 'pubInfo' },
|
|
1011
|
-
article.volume &&
|
|
1011
|
+
article.volume && React.createElement(
|
|
1012
1012
|
'p',
|
|
1013
1013
|
{ className: 'qdeVolume' },
|
|
1014
1014
|
article.volume
|
|
1015
1015
|
),
|
|
1016
|
-
article.issue &&
|
|
1016
|
+
article.issue && React.createElement(
|
|
1017
1017
|
'p',
|
|
1018
1018
|
{ className: 'qdeIssue' },
|
|
1019
1019
|
article.issue
|
|
1020
1020
|
)
|
|
1021
1021
|
),
|
|
1022
|
-
article.summary &&
|
|
1022
|
+
article.summary && React.createElement(
|
|
1023
1023
|
'p',
|
|
1024
1024
|
{ className: 'pt-2 card-text' },
|
|
1025
1025
|
clean_html_1(article.summary)
|
|
@@ -1030,20 +1030,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1030
1030
|
);
|
|
1031
1031
|
} else return null;
|
|
1032
1032
|
})
|
|
1033
|
-
) :
|
|
1033
|
+
) : React.createElement(
|
|
1034
1034
|
'div',
|
|
1035
1035
|
null,
|
|
1036
|
-
|
|
1036
|
+
React.createElement(
|
|
1037
1037
|
'h5',
|
|
1038
1038
|
null,
|
|
1039
|
-
|
|
1039
|
+
React.createElement(
|
|
1040
1040
|
'em',
|
|
1041
1041
|
null,
|
|
1042
1042
|
'New content coming soon, please check back later.'
|
|
1043
1043
|
)
|
|
1044
1044
|
)
|
|
1045
1045
|
),
|
|
1046
|
-
|
|
1046
|
+
React.createElement(
|
|
1047
1047
|
'style',
|
|
1048
1048
|
{ jsx: 'true' },
|
|
1049
1049
|
'\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: max-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 '
|
|
@@ -1052,11 +1052,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1052
1052
|
};
|
|
1053
1053
|
|
|
1054
1054
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1055
|
-
return
|
|
1056
|
-
|
|
1055
|
+
return React.createElement(
|
|
1056
|
+
React.Fragment,
|
|
1057
1057
|
null,
|
|
1058
|
-
|
|
1059
|
-
|
|
1058
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1059
|
+
React.createElement(
|
|
1060
1060
|
'style',
|
|
1061
1061
|
{ jsx: 'true' },
|
|
1062
1062
|
'\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 '
|
|
@@ -1066,7 +1066,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1066
1066
|
|
|
1067
1067
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1068
1068
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1069
|
-
return
|
|
1069
|
+
return React.createElement(
|
|
1070
1070
|
'div',
|
|
1071
1071
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1072
1072
|
rightItems[i].component
|
|
@@ -1074,15 +1074,15 @@ var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, right
|
|
|
1074
1074
|
};
|
|
1075
1075
|
|
|
1076
1076
|
var renderManualPagination = function renderManualPagination(currentPage) {
|
|
1077
|
-
return
|
|
1077
|
+
return React.createElement(
|
|
1078
1078
|
'div',
|
|
1079
1079
|
{ className: 'd-flex justify-content-between' },
|
|
1080
|
-
currentPage && currentPage > 1 &&
|
|
1080
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1081
1081
|
'a',
|
|
1082
1082
|
{ href: '?page=' + (currentPage - 1) },
|
|
1083
1083
|
'<< Previous'
|
|
1084
1084
|
),
|
|
1085
|
-
|
|
1085
|
+
React.createElement(
|
|
1086
1086
|
'a',
|
|
1087
1087
|
{ href: '?page=' + (currentPage + 1) },
|
|
1088
1088
|
'Next >>'
|
|
@@ -1213,40 +1213,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
};
|
|
1215
1215
|
|
|
1216
|
-
return
|
|
1216
|
+
return React.createElement(
|
|
1217
1217
|
'div',
|
|
1218
1218
|
null,
|
|
1219
|
-
autoScroll ?
|
|
1220
|
-
|
|
1219
|
+
autoScroll ? React.createElement(
|
|
1220
|
+
React.Fragment,
|
|
1221
1221
|
null,
|
|
1222
|
-
|
|
1222
|
+
React.createElement(
|
|
1223
1223
|
InfiniteScroll,
|
|
1224
1224
|
{ dataLength: data && data.length, next: function next() {
|
|
1225
1225
|
return loadMore(values, setValues, per);
|
|
1226
1226
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1227
|
-
|
|
1227
|
+
React.createElement(
|
|
1228
1228
|
Container,
|
|
1229
1229
|
null,
|
|
1230
1230
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo)
|
|
1231
1231
|
)
|
|
1232
1232
|
),
|
|
1233
|
-
|
|
1233
|
+
React.createElement(
|
|
1234
1234
|
'noscript',
|
|
1235
1235
|
null,
|
|
1236
1236
|
renderManualPagination(currentPage)
|
|
1237
1237
|
)
|
|
1238
|
-
) :
|
|
1239
|
-
|
|
1238
|
+
) : React.createElement(
|
|
1239
|
+
React.Fragment,
|
|
1240
1240
|
null,
|
|
1241
|
-
|
|
1241
|
+
React.createElement(
|
|
1242
1242
|
Container,
|
|
1243
1243
|
null,
|
|
1244
1244
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo)
|
|
1245
1245
|
),
|
|
1246
|
-
|
|
1246
|
+
React.createElement(
|
|
1247
1247
|
'div',
|
|
1248
1248
|
{ style: { padding: '0px 10px' } },
|
|
1249
|
-
scrolling ?
|
|
1249
|
+
scrolling ? React.createElement(
|
|
1250
1250
|
'button',
|
|
1251
1251
|
{
|
|
1252
1252
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -1254,17 +1254,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1254
1254
|
loadMore(values, setValues, per);
|
|
1255
1255
|
} },
|
|
1256
1256
|
'Load More'
|
|
1257
|
-
) :
|
|
1257
|
+
) : React.createElement(
|
|
1258
1258
|
'p',
|
|
1259
1259
|
{ style: { textAlign: 'center' } },
|
|
1260
|
-
|
|
1260
|
+
React.createElement(
|
|
1261
1261
|
'b',
|
|
1262
1262
|
null,
|
|
1263
1263
|
'End of data'
|
|
1264
1264
|
)
|
|
1265
1265
|
)
|
|
1266
1266
|
),
|
|
1267
|
-
|
|
1267
|
+
React.createElement(
|
|
1268
1268
|
'noscript',
|
|
1269
1269
|
null,
|
|
1270
1270
|
renderManualPagination(currentPage)
|