@mjhls/mjh-framework 1.0.403 → 1.0.405

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 CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.403
2
+ # mjh-framework v. 1.0.405
3
3
 
4
4
 
5
5
  > Foundation Framework
@@ -36,8 +36,7 @@ var FigureComponent = function FigureComponent(props) {
36
36
  if (typeof window === 'undefined') return null;
37
37
 
38
38
  var node = props.node,
39
- client = props.client,
40
- contextualADFlag = props.contextualADFlag;
39
+ client = props.client;
41
40
 
42
41
 
43
42
  if (!node.asset) return null;
@@ -129,7 +128,6 @@ var FigureComponent = function FigureComponent(props) {
129
128
  caption && React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } })
130
129
  )
131
130
  ),
132
- contextualADFlag && React__default.createElement('p', { className: 'clearfix' }),
133
131
  React__default.createElement(
134
132
  'div',
135
133
  { className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
@@ -85,7 +85,22 @@ var GridContent = function (_React$Component) {
85
85
  to: to + per
86
86
  };
87
87
  }, _this.loadData);
88
- }, 0), _this.loadData = function () {
88
+ }, 0), _this.componentDidMount = function () {
89
+ document.addEventListener('scroll', _this.trackScrolling);
90
+ }, _this.componentWillUnmount = function () {
91
+ document.removeEventListener('scroll', _this.trackScrolling);
92
+ }, _this.componentDidUpdate = function (prevProps, prevState) {
93
+ if (prevState.currentPage !== _this.state.currentPage) {
94
+ document.addEventListener('scroll', _this.trackScrolling);
95
+ }
96
+ }, _this.trackScrolling = function () {
97
+ var itemsPerPage = _this.props.params.itemsPerPage;
98
+ if (window.pageYOffset === 0) {
99
+ if (_this.state.currentPage > 1) {
100
+ _this.changePageNumber(1, itemsPerPage, 1);
101
+ }
102
+ }
103
+ }, _this.loadData = function () {
89
104
  var _this$state = _this.state,
90
105
  from = _this$state.from,
91
106
  to = _this$state.to,
@@ -135,7 +150,7 @@ var GridContent = function (_React$Component) {
135
150
  } else {
136
151
  return _this.defaultImage;
137
152
  }
138
- }, _this.changePageNumber = function (pageNumber) {
153
+ }, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
139
154
  var _this$props = _this.props,
140
155
  seoPaginate = _this$props.seoPaginate,
141
156
  pageview = _this$props.pageview,
@@ -170,7 +185,12 @@ var GridContent = function (_React$Component) {
170
185
  path += '?' + queryString;
171
186
  }
172
187
 
173
- pageNumber = parseInt(pageNumber);
188
+ // pageNumber = parseInt(pageNumber)
189
+
190
+ var index = Number(itemIndex);
191
+ var perPage = Number(itemsPerPage);
192
+
193
+ pageNumber = Math.ceil((index + 1) / perPage);
174
194
 
175
195
  if (currentPage !== pageNumber) {
176
196
  debounce.lib_3.refresh();
@@ -342,6 +362,9 @@ var GridContent = function (_React$Component) {
342
362
  posts = this.state.data;
343
363
  }
344
364
 
365
+ var itemsPerPage = this.props.params.itemsPerPage;
366
+ var heroContent = this.props.heroContent ? this.props.heroContent : 0;
367
+ var featureCount = 0;
345
368
  return React__default.createElement(
346
369
  'div',
347
370
  { className: 'grid-container' },
@@ -350,6 +373,7 @@ var GridContent = function (_React$Component) {
350
373
  var contentCategoryName = row.contentCategory && row.contentCategory.name && _this2.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
351
374
  var linkHref = row.url && row.url.current ? _this2.mapping[contentCategoryName] + '/' + row.url.current : '';
352
375
  if (row._type === 'feature') {
376
+ featureCount++;
353
377
  if (row.blank || _this2.checkExternalUrl(row.url.current)) {
354
378
  return React__default.createElement(
355
379
  React__default.Fragment,
@@ -359,7 +383,7 @@ var GridContent = function (_React$Component) {
359
383
  {
360
384
  partialVisibility: true,
361
385
  onChange: function onChange(isVisible) {
362
- isVisible && _this2.changePageNumber(1);
386
+ isVisible && _this2.changePageNumber(1, itemsPerPage, index);
363
387
  } },
364
388
  React__default.createElement(
365
389
  'div',
@@ -423,7 +447,7 @@ var GridContent = function (_React$Component) {
423
447
  {
424
448
  partialVisibility: true,
425
449
  onChange: function onChange(isVisible) {
426
- isVisible && _this2.changePageNumber(1);
450
+ isVisible && _this2.changePageNumber(1, itemsPerPage, index);
427
451
  } },
428
452
  React__default.createElement(
429
453
  'div',
@@ -482,64 +506,70 @@ var GridContent = function (_React$Component) {
482
506
  } else if (row._type === 'BrandInsight' && row.adUnit) {
483
507
  return React__default.createElement(ADInfeed.ADInfeed, { index: index, infeedAd: row });
484
508
  }
485
- return React__default.createElement(
486
- React__default.Fragment,
487
- { key: itemCounter },
488
- React__default.createElement(
489
- visibilitySensor.VisibilitySensor,
490
- {
491
- onChange: function onChange(isVisible) {
492
- isVisible && _this2.changePageNumber(pageNumber);
493
- } },
509
+ if (index + 1 > heroContent + featureCount) {
510
+ return React__default.createElement(
511
+ React__default.Fragment,
512
+ { key: itemCounter },
494
513
  React__default.createElement(
495
- 'div',
496
- { counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
514
+ visibilitySensor.VisibilitySensor,
515
+ {
516
+ onChange: function onChange(isVisible) {
517
+ isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
518
+ } },
497
519
  React__default.createElement(
498
- Card,
499
- { className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
500
- (row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
501
- 'a',
502
- { href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
503
- React__default.createElement(
504
- index$1.LazyLoad,
505
- { height: _this2.props.imageHeight },
506
- React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
507
- )
508
- ),
520
+ 'div',
521
+ { counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
509
522
  React__default.createElement(
510
- Card.Body,
511
- null,
512
- React__default.createElement(
523
+ Card,
524
+ { className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
525
+ (row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
513
526
  'a',
514
- { href: linkHref },
527
+ { href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
515
528
  React__default.createElement(
516
- Card.Title,
517
- null,
518
- row.title
529
+ index$1.LazyLoad,
530
+ { height: _this2.props.imageHeight },
531
+ React__default.createElement(Card.Img, {
532
+ variant: 'top',
533
+ src: _this2.renderCardImage(row, page),
534
+ alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
535
+ })
519
536
  )
520
537
  ),
521
- _this2.props.showPublished && row.published && React__default.createElement(
522
- Card.Subtitle,
523
- { style: { marginTop: 0 } },
524
- moment.moment(row.published).format('MMMM DD, YYYY')
525
- ),
526
- _this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React__default.createElement(
527
- index$1.LazyLoad,
528
- { height: 50 },
529
- React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
530
- ),
531
538
  React__default.createElement(
532
- Card.Text,
533
- { className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
534
- entities.clean_html_1(row.summary)
539
+ Card.Body,
540
+ null,
541
+ React__default.createElement(
542
+ 'a',
543
+ { href: linkHref },
544
+ React__default.createElement(
545
+ Card.Title,
546
+ null,
547
+ row.title
548
+ )
549
+ ),
550
+ _this2.props.showPublished && row.published && React__default.createElement(
551
+ Card.Subtitle,
552
+ { style: { marginTop: 0 } },
553
+ moment.moment(row.published).format('MMMM DD, YYYY')
554
+ ),
555
+ _this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React__default.createElement(
556
+ index$1.LazyLoad,
557
+ { height: 50 },
558
+ React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
559
+ ),
560
+ React__default.createElement(
561
+ Card.Text,
562
+ { className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
563
+ entities.clean_html_1(row.summary)
564
+ )
535
565
  )
536
566
  )
537
567
  )
538
- )
539
- ),
540
- showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
541
- main.main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
542
- );
568
+ ),
569
+ showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
570
+ main.main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
571
+ );
572
+ } else return null;
543
573
  }) : React__default.createElement(
544
574
  'div',
545
575
  null,
@@ -31,7 +31,7 @@ require('./AdSlot-4d22aad4.js');
31
31
  require('./promise-0a493c7a.js');
32
32
  require('./ADInfeed-494f5e6b.js');
33
33
  require('./get-5aa7468c.js');
34
- var GridContent = require('./GridContent-2f42692a.js');
34
+ var GridContent = require('./GridContent-62c5d302.js');
35
35
  require('./AuthorComponent-4706f297.js');
36
36
 
37
37
 
@@ -83,7 +83,7 @@ var loadData = function loadData(values, query, client, params, setData, setScro
83
83
  });
84
84
  };
85
85
 
86
- var changePageNumber = function changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage) {
86
+ var changePageNumber = function changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, itemIndex) {
87
87
  if (seoPaginate) {
88
88
  var path = router.asPath;
89
89
  var qrIndex = path.indexOf('?');
@@ -112,7 +112,12 @@ var changePageNumber = function changePageNumber(pageNumber, seoPaginate, pagevi
112
112
  path += '?' + queryString;
113
113
  }
114
114
 
115
- pageNumber = parseInt(pageNumber);
115
+ // pageNumber = parseInt(pageNumber)
116
+
117
+ var index = Number(itemIndex);
118
+ var perPage = Number(itemsPerPage);
119
+
120
+ pageNumber = Math.ceil((index + 1) / perPage);
116
121
 
117
122
  if (currentPage !== pageNumber) {
118
123
  debounce.lib_3.refresh();
@@ -138,7 +143,7 @@ var checkExternalUrl = function checkExternalUrl(url) {
138
143
  return new RegExp(['http', 'https'].join('|')).test(url);
139
144
  };
140
145
 
141
- var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI) {
146
+ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent) {
142
147
  var numberOfItemsBeforeAd = 6;
143
148
 
144
149
  var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
@@ -166,6 +171,8 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
166
171
  }
167
172
  }
168
173
 
174
+ var featureCount = 0;
175
+
169
176
  return React__default.createElement(
170
177
  'div',
171
178
  null,
@@ -174,6 +181,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
174
181
  var contentCategoryName = article.contentCategory ? article.contentCategory.name : 'Articles';
175
182
 
176
183
  if (article._type === 'feature') {
184
+ featureCount++;
177
185
  if (article.blank || checkExternalUrl(article.url.current)) {
178
186
  return React__default.createElement(
179
187
  visibilitySensor.VisibilitySensor,
@@ -181,7 +189,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
181
189
  key: article._id ? article._id : index,
182
190
  partialVisibility: true,
183
191
  onChange: function onChange(isVisible) {
184
- isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage);
192
+ isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
185
193
  } },
186
194
  React__default.createElement(
187
195
  React__default.Fragment,
@@ -258,7 +266,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
258
266
  key: article._id ? article._id : index,
259
267
  partialVisibility: true,
260
268
  onChange: function onChange(isVisible) {
261
- isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage);
269
+ isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
262
270
  } },
263
271
  React__default.createElement(
264
272
  React__default.Fragment,
@@ -334,81 +342,86 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
334
342
  if (main.main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0) {
335
343
  return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
336
344
  }
337
- return React__default.createElement(
338
- visibilitySensor.VisibilitySensor,
339
- {
340
- key: article._id ? article._id : index,
341
- onChange: function onChange(isVisible) {
342
- isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
343
- } },
344
- React__default.createElement(
345
- React__default.Fragment,
346
- null,
345
+
346
+ if (index + 1 > heroContent + featureCount) {
347
+ return React__default.createElement(
348
+ visibilitySensor.VisibilitySensor,
349
+ {
350
+ key: article._id ? article._id : index,
351
+ onChange: function onChange(isVisible) {
352
+ isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
353
+ } },
347
354
  React__default.createElement(
348
- reactBootstrap.Media,
349
- { key: article._id ? article._id : index, style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
350
- (article.thumbnail && article.thumbnail.asset || defaultImage) && React__default.createElement(
351
- 'a',
352
- { href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
353
- React__default.createElement(
354
- index$1.LazyLoad,
355
- { height: imageHeight },
356
- article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
357
- )
358
- ),
355
+ React__default.Fragment,
356
+ null,
359
357
  React__default.createElement(
360
- reactBootstrap.Media.Body,
361
- null,
362
- React__default.createElement(
358
+ reactBootstrap.Media,
359
+ {
360
+ key: article._id ? article._id : index,
361
+ style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
362
+ (article.thumbnail && article.thumbnail.asset || defaultImage) && React__default.createElement(
363
363
  'a',
364
- { href: mapping[contentCategoryName] + '/' + article.url.current },
365
- article.title && React__default.createElement(
366
- 'h4',
367
- { className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
368
- article.title
364
+ { href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
365
+ React__default.createElement(
366
+ index$1.LazyLoad,
367
+ { height: imageHeight },
368
+ article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
369
369
  )
370
370
  ),
371
- showPublished && article.published && React__default.createElement(
372
- 'p',
373
- { className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
374
- moment.moment(article.published).format('MMMM DD, YYYY')
375
- ),
376
371
  React__default.createElement(
377
- 'div',
378
- { className: 'author-sec', style: { lineHeight: 1.5 } },
379
- showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default.createElement(
380
- index$1.LazyLoad,
381
- { height: 50 },
382
- React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
372
+ reactBootstrap.Media.Body,
373
+ null,
374
+ React__default.createElement(
375
+ 'a',
376
+ { href: mapping[contentCategoryName] + '/' + article.url.current },
377
+ article.title && React__default.createElement(
378
+ 'h4',
379
+ { className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
380
+ article.title
381
+ )
382
+ ),
383
+ showPublished && article.published && React__default.createElement(
384
+ 'p',
385
+ { className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
386
+ moment.moment(article.published).format('MMMM DD, YYYY')
387
+ ),
388
+ React__default.createElement(
389
+ 'div',
390
+ { className: 'author-sec', style: { lineHeight: 1.5 } },
391
+ showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default.createElement(
392
+ index$1.LazyLoad,
393
+ { height: 50 },
394
+ React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
395
+ )
396
+ ),
397
+ article.source && React__default.createElement(
398
+ 'p',
399
+ { className: 'p-0 mb-1' },
400
+ article.source
401
+ ),
402
+ showCategory && article.contentCategory && React__default.createElement(
403
+ 'p',
404
+ {
405
+ style: {
406
+ background: '#3FB618',
407
+ color: '#ffffff',
408
+ marginBottom: '.25rem',
409
+ display: 'inline-block',
410
+ padding: '0 .25rem',
411
+ fontSize: '.8rem'
412
+ } },
413
+ article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
414
+ ),
415
+ article.summary && React__default.createElement(
416
+ 'p',
417
+ { className: 'pt-2 card-text' },
418
+ entities.clean_html_1(article.summary)
383
419
  )
384
- ),
385
- article.source && React__default.createElement(
386
- 'p',
387
- { className: 'p-0 mb-1' },
388
- article.source
389
- ),
390
- showCategory && article.contentCategory && React__default.createElement(
391
- 'p',
392
- {
393
- style: {
394
- background: '#3FB618',
395
- color: '#ffffff',
396
- marginBottom: '.25rem',
397
- display: 'inline-block',
398
- padding: '0 .25rem',
399
- fontSize: '.8rem'
400
- } },
401
- article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
402
- ),
403
- article.summary && React__default.createElement(
404
- 'p',
405
- { className: 'pt-2 card-text' },
406
- entities.clean_html_1(article.summary)
407
420
  )
408
421
  )
409
422
  )
410
- )
411
- );
423
+ );
424
+ } else return null;
412
425
  }) : React__default.createElement(
413
426
  'div',
414
427
  null,
@@ -484,7 +497,9 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
484
497
  rightItems = props.rightItems,
485
498
  brandInsightAd = props.brandInsightAd,
486
499
  _props$showBI = props.showBI,
487
- showBI = _props$showBI === undefined ? false : _props$showBI;
500
+ showBI = _props$showBI === undefined ? false : _props$showBI,
501
+ _props$heroContent = props.heroContent,
502
+ heroContent = _props$heroContent === undefined ? 0 : _props$heroContent;
488
503
  var initialCurrentPage = props.currentPage,
489
504
  showPublished = props.showPublished;
490
505
 
@@ -518,6 +533,8 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
518
533
  values = _useState10[0],
519
534
  setValues = _useState10[1];
520
535
 
536
+ var itemsPerPage = params.itemsPerPage;
537
+
521
538
  var prevValues = usePrevious(values);
522
539
 
523
540
  React.useEffect(function () {
@@ -528,6 +545,21 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
528
545
  }
529
546
  }, [values, prevValues, query, client, params, setData, setScrolling, pointer, pointerArray]);
530
547
 
548
+ React.useEffect(function () {
549
+ document.addEventListener('scroll', trackScrolling);
550
+ return function () {
551
+ document.removeEventListener('scroll', trackScrolling);
552
+ };
553
+ }, [currentPage]);
554
+
555
+ var trackScrolling = function trackScrolling(current) {
556
+ if (window.pageYOffset === 0) {
557
+ if (currentPage > 1) {
558
+ changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, 1);
559
+ }
560
+ }
561
+ };
562
+
531
563
  return React__default.createElement(
532
564
  'div',
533
565
  null,
@@ -542,7 +574,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
542
574
  React__default.createElement(
543
575
  reactBootstrap.Container,
544
576
  null,
545
- cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI)
577
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent)
546
578
  )
547
579
  ),
548
580
  React__default.createElement(
@@ -556,7 +588,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
556
588
  React__default.createElement(
557
589
  reactBootstrap.Container,
558
590
  null,
559
- cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI)
591
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent)
560
592
  ),
561
593
  React__default.createElement(
562
594
  'div',