@mjhls/mjh-framework 1.0.973-pratner-listing-nojs-v1 → 1.0.973-ptce-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 (154) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -1
  4. package/dist/cjs/AD300x250x600.js +2 -1
  5. package/dist/cjs/AD728x90.js +2 -1
  6. package/dist/cjs/ADFloatingFooter.js +2 -1
  7. package/dist/cjs/ADGutter.js +2 -1
  8. package/dist/cjs/ADSkyscraper.js +2 -1
  9. package/dist/cjs/ADSponsoredResources.js +2 -1
  10. package/dist/cjs/ADWebcast.js +2 -1
  11. package/dist/cjs/ADWelcome.js +2 -1
  12. package/dist/cjs/AdSlot.js +2 -1
  13. package/dist/cjs/AdSlotsProvider.js +2 -1
  14. package/dist/cjs/AlgoliaSearch.js +14164 -17
  15. package/dist/cjs/ArticleProgramLandingPage.js +3 -2
  16. package/dist/cjs/ArticleSeriesLandingPage.js +4 -3
  17. package/dist/cjs/ArticleSeriesListing.js +2 -1
  18. package/dist/cjs/AuthWrapper.js +3 -29
  19. package/dist/cjs/CMEDeck.js +2 -1
  20. package/dist/cjs/Column3.js +2 -1
  21. package/dist/cjs/ConferenceArticleCard.js +15 -15
  22. package/dist/cjs/ContentCardPaginated.js +5 -3
  23. package/dist/cjs/DeckContent.js +11 -10
  24. package/dist/cjs/DeckQueue.js +2 -1
  25. package/dist/cjs/DeckQueuePaginated.js +4 -2
  26. package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +2 -1
  27. package/dist/cjs/EventsDeck.js +17 -17
  28. package/dist/cjs/ExternalResources.js +3 -2
  29. package/dist/cjs/GridContent.js +4 -3
  30. package/dist/cjs/GridContentPaginated.js +6 -4
  31. package/dist/cjs/HamMagazine.js +9 -9
  32. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  33. package/dist/cjs/HorizontalArticleListing.js +3 -2
  34. package/dist/cjs/IssueLanding.js +34 -33
  35. package/dist/cjs/KMTracker.js +15 -15
  36. package/dist/cjs/LeftNav.js +2 -1
  37. package/dist/cjs/MasterDeck.js +12 -11
  38. package/dist/cjs/MasterDeckPaginated.js +14 -12
  39. package/dist/cjs/{MediaSeriesCard-1a62916a.js → MediaSeriesCard-5bf9813e.js} +288 -384
  40. package/dist/cjs/MediaSeriesLanding.js +12 -10
  41. package/dist/cjs/MediaSeriesLandingPaginated.js +14 -11
  42. package/dist/cjs/NavMagazine.js +10 -10
  43. package/dist/cjs/NavNative.js +9 -9
  44. package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
  45. package/dist/cjs/PartnerDetailListing.js +29 -29
  46. package/dist/cjs/PartnerDetailListingPaginated.js +7 -5
  47. package/dist/cjs/PtceDeck.js +223 -0
  48. package/dist/cjs/PubSection.js +4 -3
  49. package/dist/cjs/PublicationLanding.js +26 -26
  50. package/dist/cjs/QueueDeckExpanded.js +4 -3
  51. package/dist/cjs/QueueDeckExpandedPaginated.js +6 -4
  52. package/dist/cjs/RelatedContent.js +28 -28
  53. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  54. package/dist/cjs/SeriesListingDeck.js +3 -2
  55. package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
  56. package/dist/cjs/SideFooter.js +2 -2
  57. package/dist/cjs/TaxonomyDescription.js +3 -2
  58. package/dist/cjs/TemplateNormal.js +2 -1
  59. package/dist/cjs/VideoProgramLandingPage.js +3 -2
  60. package/dist/cjs/VideoSeriesCard.js +1 -1
  61. package/dist/cjs/VideoSeriesLandingPage.js +4 -3
  62. package/dist/cjs/VideoSeriesListing.js +2 -1
  63. package/dist/cjs/View.js +12 -14
  64. package/dist/cjs/YoutubeGroup.js +4 -4
  65. package/dist/cjs/events-1b438fe7.js +469 -0
  66. package/dist/cjs/getPtceActivities.js +78 -0
  67. package/dist/cjs/getSerializers.js +7 -6
  68. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  69. package/dist/cjs/getTargeting.js +1 -1
  70. package/dist/cjs/index-50be6759.js +105 -0
  71. package/dist/cjs/{index-bb00ade7.js → index-eb1c583d.js} +30 -73
  72. package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
  73. package/dist/cjs/index.js +10 -7
  74. package/dist/cjs/typeof-1358762e.js +33 -0
  75. package/dist/esm/AD.js +1 -1
  76. package/dist/esm/AD300x250.js +2 -1
  77. package/dist/esm/AD300x250x600.js +2 -1
  78. package/dist/esm/AD728x90.js +2 -1
  79. package/dist/esm/ADFloatingFooter.js +2 -1
  80. package/dist/esm/ADGutter.js +2 -1
  81. package/dist/esm/ADSkyscraper.js +2 -1
  82. package/dist/esm/ADSponsoredResources.js +2 -1
  83. package/dist/esm/ADWebcast.js +2 -1
  84. package/dist/esm/ADWelcome.js +2 -1
  85. package/dist/esm/AdSlot.js +2 -1
  86. package/dist/esm/AdSlotsProvider.js +2 -1
  87. package/dist/esm/AlgoliaSearch.js +14158 -11
  88. package/dist/esm/ArticleProgramLandingPage.js +3 -2
  89. package/dist/esm/ArticleSeriesLandingPage.js +4 -3
  90. package/dist/esm/ArticleSeriesListing.js +2 -1
  91. package/dist/esm/AuthWrapper.js +2 -28
  92. package/dist/esm/CMEDeck.js +2 -1
  93. package/dist/esm/Column3.js +2 -1
  94. package/dist/esm/ConferenceArticleCard.js +15 -15
  95. package/dist/esm/ContentCardPaginated.js +5 -3
  96. package/dist/esm/DeckContent.js +11 -10
  97. package/dist/esm/DeckQueue.js +2 -1
  98. package/dist/esm/DeckQueuePaginated.js +4 -2
  99. package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
  100. package/dist/esm/EventsDeck.js +17 -17
  101. package/dist/esm/ExternalResources.js +3 -2
  102. package/dist/esm/GridContent.js +4 -3
  103. package/dist/esm/GridContentPaginated.js +6 -4
  104. package/dist/esm/HamMagazine.js +9 -9
  105. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  106. package/dist/esm/HorizontalArticleListing.js +3 -2
  107. package/dist/esm/IssueLanding.js +34 -33
  108. package/dist/esm/KMTracker.js +15 -15
  109. package/dist/esm/LeftNav.js +2 -1
  110. package/dist/esm/MasterDeck.js +12 -11
  111. package/dist/esm/MasterDeckPaginated.js +14 -12
  112. package/dist/esm/{MediaSeriesCard-146e08c8.js → MediaSeriesCard-305a9cb3.js} +3 -99
  113. package/dist/esm/MediaSeriesLanding.js +12 -10
  114. package/dist/esm/MediaSeriesLandingPaginated.js +14 -11
  115. package/dist/esm/NavMagazine.js +10 -10
  116. package/dist/esm/NavNative.js +9 -9
  117. package/dist/esm/Pagination-cd21f8c2.js +82 -0
  118. package/dist/esm/PartnerDetailListing.js +29 -29
  119. package/dist/esm/PartnerDetailListingPaginated.js +7 -5
  120. package/dist/esm/PtceDeck.js +215 -0
  121. package/dist/esm/PubSection.js +4 -3
  122. package/dist/esm/PublicationLanding.js +26 -26
  123. package/dist/esm/QueueDeckExpanded.js +4 -3
  124. package/dist/esm/QueueDeckExpandedPaginated.js +6 -4
  125. package/dist/esm/RelatedContent.js +28 -28
  126. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  127. package/dist/esm/SeriesListingDeck.js +3 -2
  128. package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
  129. package/dist/esm/SideFooter.js +2 -2
  130. package/dist/esm/TaxonomyDescription.js +3 -2
  131. package/dist/esm/TemplateNormal.js +2 -1
  132. package/dist/esm/VideoProgramLandingPage.js +3 -2
  133. package/dist/esm/VideoSeriesCard.js +1 -1
  134. package/dist/esm/VideoSeriesLandingPage.js +4 -3
  135. package/dist/esm/VideoSeriesListing.js +2 -1
  136. package/dist/esm/View.js +11 -14
  137. package/dist/esm/YoutubeGroup.js +4 -4
  138. package/dist/esm/events-6c3a7a63.js +467 -0
  139. package/dist/esm/getPtceActivities.js +76 -0
  140. package/dist/esm/getSerializers.js +7 -6
  141. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  142. package/dist/esm/getTargeting.js +1 -1
  143. package/dist/esm/{index-e89d33c8.js → index-264bbd3c.js} +30 -73
  144. package/dist/esm/index-98ca9cec.js +100 -0
  145. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  146. package/dist/esm/index.js +10 -7
  147. package/dist/esm/typeof-2f07d0e8.js +30 -0
  148. package/package.json +115 -115
  149. package/dist/cjs/Pagination-2a3d0103.js +0 -97
  150. package/dist/esm/Pagination-dc30727b.js +0 -90
  151. /package/dist/cjs/{ADInfeed-cf54cb8a.js → ADInfeed-81006615.js} +0 -0
  152. /package/dist/cjs/{ADlgInfeed-d06624d8.js → ADlgInfeed-0db07099.js} +0 -0
  153. /package/dist/esm/{ADInfeed-0852ff35.js → ADInfeed-6d1fc6bf.js} +0 -0
  154. /package/dist/esm/{ADlgInfeed-5fb3b724.js → ADlgInfeed-dc36c928.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  var KMTracker = function KMTracker(props) {
2
- var id = props.id;
2
+ var id = props.id;
3
3
 
4
- if (document && id) {
4
+ if (document && id) {
5
5
  (function () {
6
- var ecnJquery = document.createElement('script');
6
+ var ecnJquery = document.createElement('script');
7
7
 
8
- ecnJquery.type = 'text/javascript';
9
- ecnJquery.async = true;
10
- ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
8
+ ecnJquery.type = 'text/javascript';
9
+ ecnJquery.async = true;
10
+ ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
11
11
 
12
- var ecnScript = document.createElement('script');
12
+ var ecnScript = document.createElement('script');
13
13
 
14
- ecnScript.type = 'text/javascript';
15
- ecnScript.async = true;
16
- ecnScript.id = 'km-tracker';
17
- ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
14
+ ecnScript.type = 'text/javascript';
15
+ ecnScript.async = true;
16
+ ecnScript.id = 'km-tracker';
17
+ ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
18
18
 
19
- document.head.appendChild(ecnJquery);
20
- document.head.appendChild(ecnScript);
21
- })();
22
- }
19
+ document.head.appendChild(ecnJquery);
20
+ document.head.appendChild(ecnScript);
21
+ })();
22
+ }
23
23
  };
24
24
 
25
25
  export default KMTracker;
@@ -10,7 +10,8 @@ import './AdSlot.js';
10
10
  import './extends-6d8e3924.js';
11
11
  import './_object-pie-133f504a.js';
12
12
  import 'prop-types';
13
- import './index-5cc7b406.js';
13
+ import './index-f0fc23eb.js';
14
+ import './events-6c3a7a63.js';
14
15
  import './debounce-533d9748.js';
15
16
  import './isSymbol-a7e9aafe.js';
16
17
  import './toNumber-5aeba6e7.js';
@@ -3,7 +3,7 @@ import { a as _Promise } from './asyncToGenerator-958ef5fc.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
5
5
  import React__default from 'react';
6
- import { l as lib_3 } from './index-5cc7b406.js';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import Container from 'react-bootstrap/Container';
8
8
  import 'react-bootstrap/Row';
9
9
  import 'react-bootstrap/Col';
@@ -16,8 +16,8 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import './slicedToArray-6ebcbfea.js';
18
18
  import './index-3f5c03b2.js';
19
- import { A as ADlgInfeed } from './ADlgInfeed-5fb3b724.js';
20
- import { A as ADInfeed } from './ADInfeed-0852ff35.js';
19
+ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
20
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
21
21
  import './main-1894c974.js';
22
22
  import './_commonjsHelpers-0c4b6f40.js';
23
23
  import './core.get-iterator-method-ea258bb1.js';
@@ -29,6 +29,7 @@ import './_object-sap-7cee6f84.js';
29
29
  import './define-property-5f1bda73.js';
30
30
  import './typeof-e9fc0c5d.js';
31
31
  import './_is-array-8d21b9e3.js';
32
+ import './events-6c3a7a63.js';
32
33
  import 'prop-types';
33
34
  import './isSymbol-a7e9aafe.js';
34
35
  import './toNumber-5aeba6e7.js';
@@ -222,14 +223,14 @@ var MasterDeck = function (_React$Component) {
222
223
  }
223
224
 
224
225
  // please leave this for later debug purpose : Yong Jun.
225
- /* console.log('page change reported', {
226
- currentPage: currentPage,
227
- pageNumber: pageNumber,
228
- pathname: pathname,
229
- path: path,
230
- newPath: newPath,
231
- firstPage: pageNumber === 1,
232
- queryString: queryString
226
+ /* console.log('page change reported', {
227
+ currentPage: currentPage,
228
+ pageNumber: pageNumber,
229
+ pathname: pathname,
230
+ path: path,
231
+ newPath: newPath,
232
+ firstPage: pageNumber === 1,
233
+ queryString: queryString
233
234
  }) */
234
235
 
235
236
  if (pageview) {
@@ -4,15 +4,15 @@ import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
5
5
  import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
6
6
  import React__default from 'react';
7
- import { l as lib_3 } from './index-5cc7b406.js';
7
+ import { l as lib_3 } from './index-f0fc23eb.js';
8
8
  import Container from 'react-bootstrap/Container';
9
9
  import Spinner from 'react-bootstrap/Spinner';
10
10
  import { withRouter } from 'next/router';
11
11
  import { l as lodash } from './lodash-f97fd99a.js';
12
12
  import { m as main_43 } from './main-1894c974.js';
13
- import { A as ADlgInfeed } from './ADlgInfeed-5fb3b724.js';
14
- import { A as ADInfeed } from './ADInfeed-0852ff35.js';
15
- import { P as Pagination } from './Pagination-dc30727b.js';
13
+ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
14
+ import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
15
+ import { P as Pagination } from './Pagination-cd21f8c2.js';
16
16
  import './_commonjsHelpers-0c4b6f40.js';
17
17
  import './core.get-iterator-method-ea258bb1.js';
18
18
  import './web.dom.iterable-ab4dea5c.js';
@@ -23,6 +23,7 @@ import './_object-sap-7cee6f84.js';
23
23
  import './define-property-5f1bda73.js';
24
24
  import './typeof-e9fc0c5d.js';
25
25
  import './_is-array-8d21b9e3.js';
26
+ import './events-6c3a7a63.js';
26
27
  import 'prop-types';
27
28
  import './slicedToArray-6ebcbfea.js';
28
29
  import 'react-bootstrap/Card';
@@ -32,6 +33,7 @@ import './isSymbol-a7e9aafe.js';
32
33
  import './toNumber-5aeba6e7.js';
33
34
  import './Beam.js';
34
35
  import './Segment.js';
36
+ import 'react-paginate';
35
37
  import 'react-bootstrap/Button';
36
38
  import './index.esm-1bd8a0a8.js';
37
39
  import './iconBase-ccc56b97.js';
@@ -106,14 +108,14 @@ var MasterDeck = function (_React$Component) {
106
108
  }
107
109
 
108
110
  // please leave this for later debug purpose : Yong Jun.
109
- /* console.log('page change reported', {
110
- currentPage: currentPage,
111
- pageNumber: pageNumber,
112
- pathname: pathname,
113
- path: path,
114
- newPath: newPath,
115
- firstPage: pageNumber === 1,
116
- queryString: queryString
111
+ /* console.log('page change reported', {
112
+ currentPage: currentPage,
113
+ pageNumber: pageNumber,
114
+ pathname: pathname,
115
+ path: path,
116
+ newPath: newPath,
117
+ firstPage: pageNumber === 1,
118
+ queryString: queryString
117
119
  }) */
118
120
 
119
121
  if (pageview) {
@@ -1,3 +1,4 @@
1
+ import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-98ca9cec.js';
1
2
  import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
2
3
  import PropTypes from 'prop-types';
3
4
  import ReactDOM from 'react-dom';
@@ -8,95 +9,7 @@ import urlFor from './urlFor.js';
8
9
  import { m as moment } from './moment-bc12cb97.js';
9
10
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
10
11
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
- import { g as getSerializers } from './index-e89d33c8.js';
12
-
13
- function _extends() {
14
- _extends = Object.assign || function (target) {
15
- for (var i = 1; i < arguments.length; i++) {
16
- var source = arguments[i];
17
-
18
- for (var key in source) {
19
- if (Object.prototype.hasOwnProperty.call(source, key)) {
20
- target[key] = source[key];
21
- }
22
- }
23
- }
24
-
25
- return target;
26
- };
27
-
28
- return _extends.apply(this, arguments);
29
- }
30
-
31
- function _objectWithoutPropertiesLoose(source, excluded) {
32
- if (source == null) return {};
33
- var target = {};
34
- var sourceKeys = Object.keys(source);
35
- var key, i;
36
-
37
- for (i = 0; i < sourceKeys.length; i++) {
38
- key = sourceKeys[i];
39
- if (excluded.indexOf(key) >= 0) continue;
40
- target[key] = source[key];
41
- }
42
-
43
- return target;
44
- }
45
-
46
- var classnames = createCommonjsModule(function (module) {
47
- /*!
48
- Copyright (c) 2018 Jed Watson.
49
- Licensed under the MIT License (MIT), see
50
- http://jedwatson.github.io/classnames
51
- */
52
- /* global define */
53
-
54
- (function () {
55
-
56
- var hasOwn = {}.hasOwnProperty;
57
-
58
- function classNames() {
59
- var classes = [];
60
-
61
- for (var i = 0; i < arguments.length; i++) {
62
- var arg = arguments[i];
63
- if (!arg) continue;
64
-
65
- var argType = typeof arg;
66
-
67
- if (argType === 'string' || argType === 'number') {
68
- classes.push(arg);
69
- } else if (Array.isArray(arg)) {
70
- if (arg.length) {
71
- var inner = classNames.apply(null, arg);
72
- if (inner) {
73
- classes.push(inner);
74
- }
75
- }
76
- } else if (argType === 'object') {
77
- if (arg.toString === Object.prototype.toString) {
78
- for (var key in arg) {
79
- if (hasOwn.call(arg, key) && arg[key]) {
80
- classes.push(key);
81
- }
82
- }
83
- } else {
84
- classes.push(arg.toString());
85
- }
86
- }
87
- }
88
-
89
- return classes.join(' ');
90
- }
91
-
92
- if (module.exports) {
93
- classNames.default = classNames;
94
- module.exports = classNames;
95
- } else {
96
- window.classNames = classNames;
97
- }
98
- }());
99
- });
12
+ import { g as getSerializers } from './index-264bbd3c.js';
100
13
 
101
14
  /**
102
15
  * Copyright (c) 2013-present, Facebook, Inc.
@@ -203,15 +116,6 @@ function useUncontrolled(props, config) {
203
116
  }, props);
204
117
  }
205
118
 
206
- function _setPrototypeOf(o, p) {
207
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
208
- o.__proto__ = p;
209
- return o;
210
- };
211
-
212
- return _setPrototypeOf(o, p);
213
- }
214
-
215
119
  function _inheritsLoose(subClass, superClass) {
216
120
  subClass.prototype = Object.create(superClass.prototype);
217
121
  subClass.prototype.constructor = subClass;
@@ -9523,7 +9427,7 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
9523
9427
  Tooltip.defaultProps = defaultProps;
9524
9428
  Tooltip.displayName = 'Tooltip';
9525
9429
 
9526
- var css = ".MediaSeriesCard-module_article__SAFYK {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.MediaSeriesCard-module_article__SAFYK a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU {\r\n width: 25%;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_published__E4oiz {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_summary__1xanh {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR {\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR span {\r\n color: #6d6d6d;\r\n}\r\n.MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1.3rem;\r\n font-weight: bold;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .MediaSeriesCard-module_article__SAFYK {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .MediaSeriesCard-module_article__SAFYK a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU figure {\r\n margin: 0;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o {\r\n width: 90%;\r\n padding: 0rem !important;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o h2 {\r\n font-size: 1rem;\r\n }\r\n .MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1rem;\r\n \r\n }\r\n}\r\n";
9430
+ var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
9527
9431
  var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
9528
9432
  styleInject(css);
9529
9433
 
@@ -3,12 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-146e08c8.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-305a9cb3.js';
7
+ import './index-98ca9cec.js';
7
8
  import 'react-dom';
8
9
  import Link from 'next/link';
9
10
  import MasterDeck from './MasterDeck.js';
10
11
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
- import { g as getSerializers } from './index-e89d33c8.js';
12
+ import { g as getSerializers } from './index-264bbd3c.js';
12
13
  import './_commonjsHelpers-0c4b6f40.js';
13
14
  import './core.get-iterator-method-ea258bb1.js';
14
15
  import './web.dom.iterable-ab4dea5c.js';
@@ -26,7 +27,8 @@ import './toConsumableArray-f7074d7c.js';
26
27
  import './inherits-a6ba2ec4.js';
27
28
  import './_object-sap-7cee6f84.js';
28
29
  import './define-property-5f1bda73.js';
29
- import './index-5cc7b406.js';
30
+ import './index-f0fc23eb.js';
31
+ import './events-6c3a7a63.js';
30
32
  import 'react-bootstrap/Container';
31
33
  import 'react-bootstrap/Row';
32
34
  import 'react-bootstrap/Col';
@@ -38,13 +40,13 @@ import './isSymbol-a7e9aafe.js';
38
40
  import './toNumber-5aeba6e7.js';
39
41
  import './index.es-a6137319.js';
40
42
  import './visibility-sensor-72fd8f8b.js';
41
- import './ADlgInfeed-5fb3b724.js';
43
+ import './ADlgInfeed-dc36c928.js';
42
44
  import './AdSlot.js';
43
45
  import './Beam.js';
44
46
  import './stringify-2b084bee.js';
45
47
  import './Segment.js';
46
48
  import './main-1894c974.js';
47
- import './ADInfeed-0852ff35.js';
49
+ import './ADInfeed-6d1fc6bf.js';
48
50
  import 'react-bootstrap';
49
51
  import './index-c7e2ac95.js';
50
52
  import './util-8ed16d48.js';
@@ -91,11 +93,11 @@ var Filter = function Filter(_ref) {
91
93
  _useState6 = _slicedToArray(_useState5, 2),
92
94
  grandChildData = _useState6[0],
93
95
  setGrandChildData = _useState6[1];
94
- /*
95
- {parent: showAll,
96
- chidlren: show selected from parent,
97
- grandchildren: show selected from children
98
- }
96
+ /*
97
+ {parent: showAll,
98
+ chidlren: show selected from parent,
99
+ grandchildren: show selected from children
100
+ }
99
101
  */
100
102
 
101
103
 
@@ -3,12 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
5
5
  import React__default, { useState, useEffect } from 'react';
6
- import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-146e08c8.js';
6
+ import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-305a9cb3.js';
7
+ import './index-98ca9cec.js';
7
8
  import 'react-dom';
8
9
  import Link from 'next/link';
9
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
10
11
  import MasterDeck from './MasterDeckPaginated.js';
11
- import { g as getSerializers } from './index-e89d33c8.js';
12
+ import { g as getSerializers } from './index-264bbd3c.js';
12
13
  import './_commonjsHelpers-0c4b6f40.js';
13
14
  import './core.get-iterator-method-ea258bb1.js';
14
15
  import './web.dom.iterable-ab4dea5c.js';
@@ -27,13 +28,14 @@ import './toConsumableArray-f7074d7c.js';
27
28
  import './inherits-a6ba2ec4.js';
28
29
  import './_object-sap-7cee6f84.js';
29
30
  import './define-property-5f1bda73.js';
30
- import './index-5cc7b406.js';
31
+ import './index-f0fc23eb.js';
32
+ import './events-6c3a7a63.js';
31
33
  import 'react-bootstrap/Container';
32
34
  import 'react-bootstrap/Spinner';
33
35
  import 'next/router';
34
36
  import './lodash-f97fd99a.js';
35
37
  import './main-1894c974.js';
36
- import './ADlgInfeed-5fb3b724.js';
38
+ import './ADlgInfeed-dc36c928.js';
37
39
  import 'react-bootstrap/Card';
38
40
  import './AdSlot.js';
39
41
  import './debounce-533d9748.js';
@@ -41,8 +43,9 @@ import './isSymbol-a7e9aafe.js';
41
43
  import './toNumber-5aeba6e7.js';
42
44
  import './Beam.js';
43
45
  import './Segment.js';
44
- import './ADInfeed-0852ff35.js';
45
- import './Pagination-dc30727b.js';
46
+ import './ADInfeed-6d1fc6bf.js';
47
+ import './Pagination-cd21f8c2.js';
48
+ import 'react-paginate';
46
49
  import 'react-bootstrap/Button';
47
50
  import './index.esm-1bd8a0a8.js';
48
51
  import './iconBase-ccc56b97.js';
@@ -92,11 +95,11 @@ var Filter = function Filter(_ref) {
92
95
  _useState6 = _slicedToArray(_useState5, 2),
93
96
  grandChildData = _useState6[0],
94
97
  setGrandChildData = _useState6[1];
95
- /*
96
- {parent: showAll,
97
- chidlren: show selected from parent,
98
- grandchildren: show selected from children
99
- }
98
+ /*
99
+ {parent: showAll,
100
+ chidlren: show selected from parent,
101
+ grandchildren: show selected from children
102
+ }
100
103
  */
101
104
 
102
105
 
@@ -26,16 +26,16 @@ import 'react-bootstrap/FormControl';
26
26
  import 'react-bootstrap/Button';
27
27
 
28
28
  var NavMagazine = function NavMagazine(props) {
29
- /*
30
- Example Nav with acceptable props
31
- <MagazineNav
32
- showLogin
33
- user={props.cache.user}
34
- logo={props.settings.logo}
35
- dataObject={props.cache.mainNavCache}
36
- website={website}
37
- subNav={props.cache.subNavCache}
38
- />
29
+ /*
30
+ Example Nav with acceptable props
31
+ <MagazineNav
32
+ showLogin
33
+ user={props.cache.user}
34
+ logo={props.settings.logo}
35
+ dataObject={props.cache.mainNavCache}
36
+ website={website}
37
+ subNav={props.cache.subNavCache}
38
+ />
39
39
  */
40
40
 
41
41
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -300,15 +300,15 @@ function chunk(array, size, guard) {
300
300
  var chunk_1 = chunk;
301
301
 
302
302
  var NavNative = function NavNative(props) {
303
- /*
304
- Example Nav with acceptable props
305
- <MagazineNav
306
- showLogin
307
- logo={props.settings.logo}
308
- dataObject={props.cache.mainNavCache}
309
- website={website}
310
- subNav={props.cache.subNavCache}
311
- />
303
+ /*
304
+ Example Nav with acceptable props
305
+ <MagazineNav
306
+ showLogin
307
+ logo={props.settings.logo}
308
+ dataObject={props.cache.mainNavCache}
309
+ website={website}
310
+ subNav={props.cache.subNavCache}
311
+ />
312
312
  */
313
313
  // Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
314
314
  var logo = props.logo,
@@ -0,0 +1,82 @@
1
+ import React__default from 'react';
2
+ import ReactPaginate from 'react-paginate';
3
+ import Button from 'react-bootstrap/Button';
4
+ import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
5
+
6
+ var Pagination = function Pagination(props) {
7
+ var pageCount = props.pageCount,
8
+ _props$marginPagesDis = props.marginPagesDisplayed,
9
+ marginPagesDisplayed = _props$marginPagesDis === undefined ? 1 : _props$marginPagesDis,
10
+ _props$pageRangeDispl = props.pageRangeDisplayed,
11
+ pageRangeDisplayed = _props$pageRangeDispl === undefined ? 5 : _props$pageRangeDispl,
12
+ _props$currentPage = props.currentPage,
13
+ currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
14
+ _onPageChange = props.onPageChange,
15
+ _props$needLargePagin = props.needLargePaginateButtons,
16
+ needLargePaginateButtons = _props$needLargePagin === undefined ? false : _props$needLargePagin;
17
+
18
+ if (!pageCount || pageCount <= 1) return null;
19
+ return React__default.createElement(
20
+ React__default.Fragment,
21
+ null,
22
+ needLargePaginateButtons && React__default.createElement(
23
+ 'div',
24
+ { className: 'pagination-lg-btn-nxt' },
25
+ React__default.createElement(
26
+ Button,
27
+ {
28
+ onClick: function onClick(e) {
29
+ e.preventDefault();
30
+ _onPageChange(currentPage + 1);
31
+ },
32
+ disabled: currentPage === pageCount,
33
+ href: currentPage === pageCount ? '' : '?page=' + (currentPage + 1) },
34
+ 'NEXT PAGE',
35
+ React__default.createElement(FaArrowRight, { className: 'fa-arrow-right' })
36
+ )
37
+ ),
38
+ React__default.createElement(ReactPaginate, {
39
+ pageCount: pageCount,
40
+ marginPagesDisplayed: marginPagesDisplayed,
41
+ pageRangeDisplayed: pageRangeDisplayed,
42
+ forcePage: currentPage - 1,
43
+ onPageChange: function onPageChange(_ref) {
44
+ var selected = _ref.selected;
45
+ return _onPageChange(selected + 1);
46
+ },
47
+ hrefBuilder: function hrefBuilder(page) {
48
+ return '?page=' + page;
49
+ },
50
+ previousLabel: '<',
51
+ nextLabel: '>',
52
+ containerClassName: 'pagination-container',
53
+ previousLinkClassName: 'previous',
54
+ nextLinkClassName: 'next',
55
+ disabledClassName: 'disabled',
56
+ activeClassName: 'active'
57
+ }),
58
+ needLargePaginateButtons && React__default.createElement(
59
+ 'div',
60
+ { className: 'pagination-lg-btn-prv' },
61
+ React__default.createElement(
62
+ Button,
63
+ {
64
+ onClick: function onClick(e) {
65
+ e.preventDefault();
66
+ _onPageChange(currentPage - 1);
67
+ },
68
+ disabled: currentPage === 1,
69
+ href: currentPage <= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
70
+ React__default.createElement(FaArrowLeft, { className: 'fa-arrow-left' }),
71
+ 'PREVIOUS PAGE'
72
+ )
73
+ ),
74
+ React__default.createElement(
75
+ 'style',
76
+ { jsx: 'true' },
77
+ '\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n }\n .pagination-container li:first-child a {\n border-radius: 5px 0 0 5px;\n }\n .pagination-container li:last-child a {\n border-radius: 0 5px 5px 0;\n }\n .pagination-container .disabled a {\n cursor: default;\n }\n .pagination-lg-btn-nxt,\n .pagination-lg-btn-prv {\n text-align: center;\n }\n .pagination-lg-btn-nxt .btn,\n .pagination-lg-btn-prv .btn {\n min-width: 80%;\n color: #000;\n color: var(--primary);\n background-color: transparent;\n border-color: #000;\n border-color: var(--primary);\n }\n .pagination-lg-btn-nxt {\n margin: 0 0 1.5rem;\n }\n .pagination-lg-btn-prv {\n margin: 1.5rem 0 0;\n }\n .pagination-lg-btn-nxt .btn:not(:disabled):not(.disabled).active,\n .pagination-lg-btn-prv .btn:not(:disabled):not(.disabled):active {\n color: #fff;\n background-color: #000;\n background-color: var(--primary);\n border-color: #000;\n border-color: var(--primary);\n }\n @media only screen and (min-width: 601px) {\n [class^=\'pagination-lg-btn\'] {\n display: none;\n }\n }\n .fa-arrow-left {\n margin-right: 0.5rem;\n }\n .fa-arrow-right {\n margin-left: 0.5rem;\n }\n .pagination-container::-webkit-scrollbar {\n height: 8px;\n }\n .pagination-container::-webkit-scrollbar-track,\n .pagination-container::-webkit-scrollbar-thumb {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n }\n .pagination-container::-webkit-scrollbar-track {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .pagination-container::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.3);\n }\n '
78
+ )
79
+ );
80
+ };
81
+
82
+ export { Pagination as P };