@mjhls/mjh-framework 1.0.939-nojs-pagination-v5 → 1.0.939-segment-test-v2

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.
Files changed (82) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +15 -131
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -2
  4. package/dist/cjs/ArticleSeriesLandingPage.js +1 -2
  5. package/dist/cjs/AuthWrapper.js +1 -1
  6. package/dist/cjs/ConferenceArticleCard.js +15 -15
  7. package/dist/cjs/ContentCardPaginated.js +2 -1
  8. package/dist/cjs/DeckContent.js +17 -30
  9. package/dist/cjs/DeckQueuePaginated.js +2 -1
  10. package/dist/cjs/EventsDeck.js +17 -17
  11. package/dist/cjs/GridContent.js +11 -26
  12. package/dist/cjs/GridContentPaginated.js +2 -1
  13. package/dist/cjs/HamMagazine.js +9 -9
  14. package/dist/cjs/IssueLanding.js +29 -29
  15. package/dist/cjs/KMTracker.js +15 -15
  16. package/dist/cjs/MasterDeck.js +18 -17
  17. package/dist/cjs/MasterDeckPaginated.js +10 -9
  18. package/dist/cjs/{MediaSeriesCard-cc5aa886.js → MediaSeriesCard-659279e0.js} +1 -1
  19. package/dist/cjs/MediaSeriesLanding.js +7 -8
  20. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -9
  21. package/dist/cjs/NavMagazine.js +10 -10
  22. package/dist/cjs/NavNative.js +9 -9
  23. package/dist/cjs/Pagination-885dcfbd.js +90 -0
  24. package/dist/cjs/PartnerDetailListingPaginated.js +2 -1
  25. package/dist/cjs/PublicationLanding.js +26 -26
  26. package/dist/cjs/QueueDeckExpanded.js +5 -3
  27. package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
  28. package/dist/cjs/RelatedContent.js +28 -28
  29. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  30. package/dist/cjs/SeriesListingDeck.js +1 -1
  31. package/dist/cjs/{SeriesSlider-de93a303.js → SeriesSlider-ba0c5d1a.js} +4 -4
  32. package/dist/cjs/SideFooter.js +2 -2
  33. package/dist/cjs/VideoProgramLandingPage.js +1 -2
  34. package/dist/cjs/VideoSeriesCard.js +1 -1
  35. package/dist/cjs/VideoSeriesListing.js +9 -17
  36. package/dist/cjs/View.js +68 -37
  37. package/dist/cjs/YoutubeGroup.js +4 -4
  38. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  39. package/dist/cjs/getTargeting.js +1 -1
  40. package/dist/cjs/index.js +3 -2
  41. package/dist/esm/AlgoliaSearch.js +16 -132
  42. package/dist/esm/ArticleProgramLandingPage.js +1 -2
  43. package/dist/esm/ArticleSeriesLandingPage.js +1 -2
  44. package/dist/esm/AuthWrapper.js +1 -1
  45. package/dist/esm/ConferenceArticleCard.js +15 -15
  46. package/dist/esm/ContentCardPaginated.js +2 -1
  47. package/dist/esm/DeckContent.js +17 -30
  48. package/dist/esm/DeckQueuePaginated.js +2 -1
  49. package/dist/esm/EventsDeck.js +17 -17
  50. package/dist/esm/GridContent.js +11 -26
  51. package/dist/esm/GridContentPaginated.js +2 -1
  52. package/dist/esm/HamMagazine.js +9 -9
  53. package/dist/esm/IssueLanding.js +29 -29
  54. package/dist/esm/KMTracker.js +15 -15
  55. package/dist/esm/MasterDeck.js +18 -17
  56. package/dist/esm/MasterDeckPaginated.js +10 -9
  57. package/dist/esm/{MediaSeriesCard-2dc3c439.js → MediaSeriesCard-06c6251a.js} +1 -1
  58. package/dist/esm/MediaSeriesLanding.js +7 -8
  59. package/dist/esm/MediaSeriesLandingPaginated.js +9 -9
  60. package/dist/esm/NavMagazine.js +10 -10
  61. package/dist/esm/NavNative.js +9 -9
  62. package/dist/esm/Pagination-59436882.js +82 -0
  63. package/dist/esm/PartnerDetailListingPaginated.js +2 -1
  64. package/dist/esm/PublicationLanding.js +26 -26
  65. package/dist/esm/QueueDeckExpanded.js +5 -3
  66. package/dist/esm/QueueDeckExpandedPaginated.js +2 -1
  67. package/dist/esm/RelatedContent.js +28 -28
  68. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  69. package/dist/esm/SeriesListingDeck.js +1 -1
  70. package/dist/esm/{SeriesSlider-98ad6d97.js → SeriesSlider-45adb8dc.js} +4 -4
  71. package/dist/esm/SideFooter.js +2 -2
  72. package/dist/esm/VideoProgramLandingPage.js +1 -2
  73. package/dist/esm/VideoSeriesCard.js +1 -1
  74. package/dist/esm/VideoSeriesListing.js +9 -17
  75. package/dist/esm/View.js +67 -37
  76. package/dist/esm/YoutubeGroup.js +4 -4
  77. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  78. package/dist/esm/getTargeting.js +1 -1
  79. package/dist/esm/index.js +3 -2
  80. package/package.json +115 -115
  81. package/dist/cjs/Pagination-42f92f7c.js +0 -97
  82. package/dist/esm/Pagination-484b86c5.js +0 -90
@@ -376,32 +376,32 @@ module.exports = { "default": set$1, __esModule: true };
376
376
 
377
377
  var _Set = unwrapExports(set);
378
378
 
379
- /* usage & query
380
- const Publication = (props) => {
381
- const { cache, pub, year } = props
382
- const targeting = {
383
- content_placement: [`/journals/${pub.identifier.current}`],
384
- document_url: [`/journals/${pub.identifier.current}`],
385
- }
386
- return (
387
- <Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
388
- <PublicationLanding publication={pub} year={year} href={'journals'} />
389
- </Shell>
390
- )
391
- }
392
- Publication.getInitialProps = async (ctx) => {
393
- const { query } = ctx
394
- const {
395
- query: { year },
396
- } = ctx
397
- const pub = await client.fetch(getQuery('publication'), query)
398
- **import urlFor from framework**
399
- pub.issues.map((issue) => {
400
- issue.thumbnail = urlFor({client, source: issue.thumbnail})
401
- })
402
- return { pub, year }
403
- }
404
- export default Publication
379
+ /* usage & query
380
+ const Publication = (props) => {
381
+ const { cache, pub, year } = props
382
+ const targeting = {
383
+ content_placement: [`/journals/${pub.identifier.current}`],
384
+ document_url: [`/journals/${pub.identifier.current}`],
385
+ }
386
+ return (
387
+ <Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
388
+ <PublicationLanding publication={pub} year={year} href={'journals'} />
389
+ </Shell>
390
+ )
391
+ }
392
+ Publication.getInitialProps = async (ctx) => {
393
+ const { query } = ctx
394
+ const {
395
+ query: { year },
396
+ } = ctx
397
+ const pub = await client.fetch(getQuery('publication'), query)
398
+ **import urlFor from framework**
399
+ pub.issues.map((issue) => {
400
+ issue.thumbnail = urlFor({client, source: issue.thumbnail})
401
+ })
402
+ return { pub, year }
403
+ }
404
+ export default Publication
405
405
  */
406
406
 
407
407
  var generateContentPlacements = function generateContentPlacements(issues) {
@@ -1361,8 +1361,6 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1361
1361
  imageFit = props.imageFit,
1362
1362
  rightItems = props.rightItems,
1363
1363
  brandInsightAd = props.brandInsightAd,
1364
- _props$nextPagePostsC = props.nextPagePostsCount,
1365
- nextPagePostsCount = _props$nextPagePostsC === undefined ? 3 : _props$nextPagePostsC,
1366
1364
  _props$showBI = props.showBI,
1367
1365
  showBI = _props$showBI === undefined ? false : _props$showBI,
1368
1366
  _props$heroContent = props.heroContent,
@@ -1416,6 +1414,10 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1416
1414
  var prevValues = usePrevious(values);
1417
1415
 
1418
1416
  var renderManualPagination = function renderManualPagination(currentPage) {
1417
+ if (lastDataSize < itemsPerPage) {
1418
+ return null;
1419
+ }
1420
+
1419
1421
  return React__default.createElement(
1420
1422
  'div',
1421
1423
  { className: 'd-flex justify-content-between' },
@@ -1424,7 +1426,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1424
1426
  { href: '?page=' + (currentPage - 1) },
1425
1427
  '<< Previous'
1426
1428
  ),
1427
- !(lastDataSize < itemsPerPage) && nextPagePostsCount > 0 && React__default.createElement(
1429
+ React__default.createElement(
1428
1430
  'a',
1429
1431
  { href: '?page=' + (currentPage + 1) },
1430
1432
  'Next >>'
@@ -17,7 +17,7 @@ import { A as ADlgInfeed } from './ADlgInfeed-ebcafb85.js';
17
17
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
18
18
  import timeDifferenceCalc from './timeDifferenceCalc.js';
19
19
  import urlFor from './urlFor.js';
20
- import { P as Pagination } from './Pagination-484b86c5.js';
20
+ import { P as Pagination } from './Pagination-59436882.js';
21
21
  import './_commonjsHelpers-0c4b6f40.js';
22
22
  import './core.get-iterator-method-ea258bb1.js';
23
23
  import './web.dom.iterable-ab4dea5c.js';
@@ -36,6 +36,7 @@ import './Beam.js';
36
36
  import './stringify-2b084bee.js';
37
37
  import './Segment.js';
38
38
  import './index-3f5c03b2.js';
39
+ import 'react-paginate';
39
40
  import 'react-bootstrap/Button';
40
41
  import './index.esm-1bd8a0a8.js';
41
42
  import './iconBase-ccc56b97.js';
@@ -11,34 +11,34 @@ import './index-3f5c03b2.js';
11
11
  import 'react-dom';
12
12
  import 'prop-types';
13
13
 
14
- /*
15
- Sample query
16
- let references = ''
17
- if(article.taxonomyMapping.length > 0){
18
- article.taxonomyMapping.forEach((ref, index) => {
19
- references = references + `references('${ref._ref}') `
20
- if(index+1 !== article.taxonomyMapping.length){
21
- references = references + ` && `
22
- }
23
- })
24
- }
25
-
26
- const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
27
- ...,
28
- title,
29
- summary,
30
- thumbnail,
31
- url,
32
- published,
33
- authorMapping[]->,
34
- contentCategory->
35
- }`
36
- const relatedArticles = await client.fetch(relatedArticlesQuery)
37
-
38
- Sample usage
39
- <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
40
-
41
-
14
+ /*
15
+ Sample query
16
+ let references = ''
17
+ if(article.taxonomyMapping.length > 0){
18
+ article.taxonomyMapping.forEach((ref, index) => {
19
+ references = references + `references('${ref._ref}') `
20
+ if(index+1 !== article.taxonomyMapping.length){
21
+ references = references + ` && `
22
+ }
23
+ })
24
+ }
25
+
26
+ const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
27
+ ...,
28
+ title,
29
+ summary,
30
+ thumbnail,
31
+ url,
32
+ published,
33
+ authorMapping[]->,
34
+ contentCategory->
35
+ }`
36
+ const relatedArticles = await client.fetch(relatedArticlesQuery)
37
+
38
+ Sample usage
39
+ <RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
40
+
41
+
42
42
  */
43
43
  var RelatedContent = function RelatedContent(props) {
44
44
  var client = props.client,
@@ -14,16 +14,16 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
14
14
  _ref$className = _ref.className,
15
15
  className = _ref$className === undefined ? '' : _ref$className;
16
16
 
17
- /*
18
- Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
19
- example:
20
- <RelatedTopicDropdown
21
- page='/clinical'
22
- exclude="clinical"
23
- className='mb-3'
24
- parentTaxonomy={props.parentTaxonomy}
25
- subTaxonomies={props.subTaxonomies}
26
- />
17
+ /*
18
+ Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
19
+ example:
20
+ <RelatedTopicDropdown
21
+ page='/clinical'
22
+ exclude="clinical"
23
+ className='mb-3'
24
+ parentTaxonomy={props.parentTaxonomy}
25
+ subTaxonomies={props.subTaxonomies}
26
+ />
27
27
  */
28
28
  if (subTaxonomies.length === 0 && parentTaxonomy) {
29
29
  if (parentTaxonomy.identifier == exclude) {
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect, useRef } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import { I as InfiniteScroll } from './index.es-a6137319.js';
8
- import { S as SeriesSlider } from './SeriesSlider-98ad6d97.js';
8
+ import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
9
9
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
@@ -6,10 +6,10 @@ import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
7
  import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
8
8
 
9
- /*
10
- GROQ query -
11
- accepts an array of title, URL
12
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
9
+ /*
10
+ GROQ query -
11
+ accepts an array of title, URL
12
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
13
13
  */
14
14
 
15
15
  var SeriesSlider = function SeriesSlider(_ref) {
@@ -32,8 +32,8 @@ var renderLink = function renderLink(row) {
32
32
  };
33
33
 
34
34
  var SideFooter = function SideFooter(props) {
35
- /*
36
- useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
35
+ /*
36
+ useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
37
37
  */
38
38
  var _get = get_1(props, 'cache.siteSettingCache', {}),
39
39
  socialLinks = _get.socialLinks,
@@ -224,8 +224,7 @@ VideoProgramLandingPage.getInitialData = function () {
224
224
  params = {
225
225
  from: start,
226
226
  to: start + itemsPerPage,
227
- url: pathname,
228
- itemsPerPage: itemsPerPage
227
+ url: pathname
229
228
  };
230
229
 
231
230
  query = '*[\n _type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true\n && dateTime(published) <= dateTime(now())\n && references(\'' + taxonomyId + '\')\n ' + (topicId ? '&& references(\'' + topicId + '\')' : '') + '\n ] | order(published desc) [$from...$to]{\n \t\t...,\n \t\ttitle,\n \t\tsummary,\n \t\tpublished,\n \t\tthumbnail{ ..., asset->},\n \t\turl,\n \t\ttaxonomy,\n \t\tcontentCategory->,\n \t\tbody[_type == "youtubeGallery"]{\n ...,\n videos[]{\n ...,\n thumbnail{...,asset->}\n }\n },\n \t\t\'pageNumber\': ' + currentPage + '\n \t}';
@@ -15,7 +15,7 @@ import 'react-dom';
15
15
  import './slicedToArray-6ebcbfea.js';
16
16
  import './index-3f5c03b2.js';
17
17
 
18
- var css = ".VideoSeriesCard-module_article__Hlc3e {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.VideoSeriesCard-module_article__Hlc3e a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ {\r\n width: 25%;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_published__1fI0q {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_summary__3hWJT {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o {\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o span {\r\n color: #6d6d6d;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .VideoSeriesCard-module_article__Hlc3e {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .VideoSeriesCard-module_article__Hlc3e a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ figure {\r\n margin: 0;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N {\r\n width: 90%;\r\n padding: 1rem !important;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N h2 {\r\n font-size: 1rem;\r\n }\r\n}\r\n";
18
+ var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
19
19
  var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
20
20
  styleInject(css);
21
21
 
@@ -79,8 +79,7 @@ var VideoSeriesListing = function (_React$Component) {
79
79
  total_pages: null,
80
80
  scrolling: true,
81
81
  query: _this.query,
82
- currentPage: _this.props.currentPage || 1,
83
- lastDataSize: _this.data ? _this.data.length : 0
82
+ currentPage: _this.props.currentPage || 1
84
83
  }, _this.loadMore = debounce_1(function () {
85
84
  _this.setState(function (state) {
86
85
  var page = state.page,
@@ -124,13 +123,11 @@ var VideoSeriesListing = function (_React$Component) {
124
123
  newDataArr.push(dataArr);
125
124
  return {
126
125
  data: newDataArr,
127
- scrolling: true,
128
- lastDataSize: dataArr.length
126
+ scrolling: true
129
127
  };
130
128
  } else {
131
129
  return {
132
- scrolling: false,
133
- lastDataSize: 0
130
+ scrolling: false
134
131
  };
135
132
  }
136
133
  });
@@ -194,11 +191,9 @@ var VideoSeriesListing = function (_React$Component) {
194
191
  });
195
192
  }
196
193
  }
197
- }, _this.renderManualPagination = function (_ref2) {
198
- var nextPagePostsCount = _ref2.nextPagePostsCount;
194
+ }, _this.renderManualPagination = function () {
199
195
  var currentPage = _this.state.currentPage;
200
196
 
201
-
202
197
  return React__default.createElement(
203
198
  'div',
204
199
  { className: 'd-flex justify-content-between' },
@@ -207,7 +202,7 @@ var VideoSeriesListing = function (_React$Component) {
207
202
  { href: '?page=' + (currentPage - 1) },
208
203
  '<< Previous'
209
204
  ),
210
- !(_this.state.lastDataSize < _this.state.per) && nextPagePostsCount > 0 && React__default.createElement(
205
+ React__default.createElement(
211
206
  'a',
212
207
  { href: '?page=' + (currentPage + 1) },
213
208
  'Next >>'
@@ -266,11 +261,8 @@ var VideoSeriesListing = function (_React$Component) {
266
261
  value: function render() {
267
262
  var _this2 = this;
268
263
 
269
- var _props = this.props,
270
- _props$autoScroll = _props.autoScroll,
271
- autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
272
- _props$nextPagePostsC = _props.nextPagePostsCount,
273
- nextPagePostsCount = _props$nextPagePostsC === undefined ? 3 : _props$nextPagePostsC;
264
+ var _props$autoScroll = this.props.autoScroll,
265
+ autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll;
274
266
 
275
267
 
276
268
  if (autoScroll) {
@@ -309,7 +301,7 @@ var VideoSeriesListing = function (_React$Component) {
309
301
  React__default.createElement(
310
302
  'noscript',
311
303
  null,
312
- this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
304
+ this.renderManualPagination()
313
305
  )
314
306
  )
315
307
  ) : React__default.createElement(
@@ -386,7 +378,7 @@ var VideoSeriesListing = function (_React$Component) {
386
378
  React__default.createElement(
387
379
  'noscript',
388
380
  null,
389
- _this2.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
381
+ _this2.renderManualPagination()
390
382
  )
391
383
  );
392
384
  })