@mjhls/mjh-framework 1.0.799 → 1.0.800-mobile-ad-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 (188) hide show
  1. package/README.md +170 -170
  2. package/dist/cjs/AD300x250.js +2 -2
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/ADSkyscraper.js +1 -1
  8. package/dist/cjs/ADSponsoredResources.js +1 -1
  9. package/dist/cjs/ADWebcast.js +1 -1
  10. package/dist/cjs/ADWelcome.js +1 -1
  11. package/dist/cjs/AccordionPanel.js +2 -2
  12. package/dist/cjs/AdSlot.js +1 -1
  13. package/dist/cjs/AdSlotsProvider.js +1 -1
  14. package/dist/cjs/AlgoliaSearch.js +164 -0
  15. package/dist/cjs/ArticleCarousel.js +1 -1
  16. package/dist/cjs/ArticleProgramLandingPage.js +4 -4
  17. package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
  18. package/dist/cjs/ArticleSeriesListing.js +3 -3
  19. package/dist/cjs/CMEDeck.js +1 -1
  20. package/dist/cjs/Column3.js +1 -1
  21. package/dist/cjs/ConferenceArticleCard.js +15 -15
  22. package/dist/cjs/DeckContent.js +10 -10
  23. package/dist/cjs/DeckQueue.js +1 -1
  24. package/dist/cjs/EventsDeck.js +18 -18
  25. package/dist/cjs/ExternalResources.js +4 -4
  26. package/dist/cjs/Feature.js +1 -1
  27. package/dist/cjs/GridContent.js +3 -3
  28. package/dist/cjs/HamMagazine.js +15 -15
  29. package/dist/cjs/HorizontalArticleListing.js +4 -4
  30. package/dist/cjs/HorizontalHero.js +2 -2
  31. package/dist/cjs/IssueLanding.js +32 -32
  32. package/dist/cjs/KMTracker.js +15 -15
  33. package/dist/cjs/LeftNav.js +1 -1
  34. package/dist/cjs/MasterDeck.js +11 -11
  35. package/dist/cjs/MediaSeriesLanding.js +12 -23
  36. package/dist/cjs/NavMagazine.js +16 -16
  37. package/dist/cjs/NavNative.js +13 -13
  38. package/dist/cjs/NavNormal.js +2 -2
  39. package/dist/cjs/OncliveHero.js +1 -1
  40. package/dist/cjs/PartnerDetailListing.js +6 -6
  41. package/dist/cjs/PdfDownload.js +2 -2
  42. package/dist/cjs/PubSection.js +3 -3
  43. package/dist/cjs/PublicationLanding.js +29 -29
  44. package/dist/cjs/QueueDeckExpanded.js +3 -3
  45. package/dist/cjs/RecentNews.js +2 -2
  46. package/dist/cjs/RelatedContent.js +28 -28
  47. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  48. package/dist/cjs/Search.js +1 -1
  49. package/dist/cjs/SeriesListingDeck.js +2 -2
  50. package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-c022ce04.js} +5 -5
  51. package/dist/cjs/SideFooter.js +2 -2
  52. package/dist/cjs/{SocialSearchComponent-9cb50ae4.js → SocialSearchComponent-ecb4f972.js} +4 -4
  53. package/dist/cjs/TaxonomyDescription.js +4 -4
  54. package/dist/cjs/TemplateNormal.js +6 -6
  55. package/dist/cjs/Ustream.js +4 -4
  56. package/dist/cjs/VideoProgramLandingPage.js +4 -4
  57. package/dist/cjs/VideoSeriesCard.js +1 -1
  58. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  59. package/dist/cjs/VideoSeriesListing.js +3 -3
  60. package/dist/cjs/View.js +8 -8
  61. package/dist/cjs/YoutubeGroup.js +5 -5
  62. package/dist/cjs/getSerializers.js +4 -4
  63. package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-be6168ad.js} +9 -9
  64. package/dist/cjs/getTargeting.js +1 -1
  65. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
  66. package/dist/cjs/{index-08b35e31.js → index-70cfabd2.js} +2 -2
  67. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
  68. package/dist/cjs/{index.esm-9225638f.js → index.esm-3b9b8952.js} +1 -1
  69. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
  70. package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
  71. package/dist/cjs/index.js +15 -12
  72. package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
  73. package/dist/esm/AD.js +7 -7
  74. package/dist/esm/AD300x250.js +7 -7
  75. package/dist/esm/AD300x250x600.js +6 -6
  76. package/dist/esm/AD728x90.js +7 -7
  77. package/dist/esm/ADFloatingFooter.js +9 -9
  78. package/dist/esm/ADFooter.js +6 -6
  79. package/dist/esm/ADGutter.js +9 -9
  80. package/dist/esm/{ADInfeed-f7d00a9a.js → ADInfeed-e1e18f87.js} +5 -5
  81. package/dist/esm/ADSkyscraper.js +9 -9
  82. package/dist/esm/ADSponsoredResources.js +9 -9
  83. package/dist/esm/ADWebcast.js +9 -9
  84. package/dist/esm/ADWelcome.js +13 -13
  85. package/dist/esm/{ADlgInfeed-db64f46d.js → ADlgInfeed-c6d2831b.js} +4 -4
  86. package/dist/esm/AccordionPanel.js +18 -18
  87. package/dist/esm/AdSlot.js +5 -5
  88. package/dist/esm/AdSlotsProvider.js +4 -4
  89. package/dist/esm/AlgoliaSearch.js +157 -0
  90. package/dist/esm/AlphabeticList.js +13 -13
  91. package/dist/esm/ArticleCarousel.js +6 -6
  92. package/dist/esm/ArticleProgramLandingPage.js +17 -17
  93. package/dist/esm/ArticleSeriesLandingPage.js +12 -12
  94. package/dist/esm/ArticleSeriesListing.js +31 -31
  95. package/dist/esm/Auth.js +70 -70
  96. package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-5ae7409f.js} +10 -10
  97. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
  98. package/dist/esm/Breadcrumbs.js +11 -11
  99. package/dist/esm/CMEDeck.js +61 -61
  100. package/dist/esm/Column1.js +5 -5
  101. package/dist/esm/Column2.js +12 -12
  102. package/dist/esm/Column3.js +23 -23
  103. package/dist/esm/ConferenceArticleCard.js +28 -28
  104. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  105. package/dist/esm/DeckContent.js +57 -57
  106. package/dist/esm/DeckQueue.js +42 -42
  107. package/dist/esm/{Dfp-be030f2a.js → Dfp-a304d96c.js} +10 -10
  108. package/dist/esm/EventsDeck.js +81 -81
  109. package/dist/esm/ExternalResources.js +35 -35
  110. package/dist/esm/Feature.js +15 -15
  111. package/dist/esm/ForbesHero.js +26 -26
  112. package/dist/esm/GridContent.js +103 -103
  113. package/dist/esm/GridHero.js +27 -27
  114. package/dist/esm/GroupDeck.js +34 -34
  115. package/dist/esm/HamMagazine.js +95 -95
  116. package/dist/esm/Header.js +8 -8
  117. package/dist/esm/Hero.js +6 -6
  118. package/dist/esm/HighlightenVideo.js +14 -14
  119. package/dist/esm/HorizontalArticleListing.js +31 -31
  120. package/dist/esm/HorizontalHero.js +20 -20
  121. package/dist/esm/IssueContentDeck.js +39 -39
  122. package/dist/esm/IssueDeck.js +33 -33
  123. package/dist/esm/IssueLanding.js +42 -42
  124. package/dist/esm/KMTracker.js +15 -15
  125. package/dist/esm/LeftNav.js +16 -16
  126. package/dist/esm/MasterDeck.js +46 -46
  127. package/dist/esm/MediaSeriesLanding.js +328 -339
  128. package/dist/esm/NavDvm.js +43 -43
  129. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  130. package/dist/esm/NavMagazine.js +99 -99
  131. package/dist/esm/NavNative.js +87 -87
  132. package/dist/esm/NavNormal.js +22 -22
  133. package/dist/esm/OncliveHero.js +13 -13
  134. package/dist/esm/OncliveLargeHero.js +50 -50
  135. package/dist/esm/PageFilter.js +6 -6
  136. package/dist/esm/PartnerDetailListing.js +62 -62
  137. package/dist/esm/PdfDownload.js +7 -7
  138. package/dist/esm/PopUpModal.js +8 -8
  139. package/dist/esm/PubSection.js +14 -14
  140. package/dist/esm/PubToc.js +5 -5
  141. package/dist/esm/PublicationDeck.js +33 -33
  142. package/dist/esm/PublicationLanding.js +78 -78
  143. package/dist/esm/QueueDeckExpanded.js +246 -246
  144. package/dist/esm/RecentNews.js +18 -18
  145. package/dist/esm/RelatedContent.js +43 -43
  146. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  147. package/dist/esm/RolesDeck.js +13 -13
  148. package/dist/esm/Search.js +6 -6
  149. package/dist/esm/SeriesListingDeck.js +19 -19
  150. package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-8414085b.js} +23 -23
  151. package/dist/esm/SideFooter.js +21 -21
  152. package/dist/esm/SocialIcons.js +7 -7
  153. package/dist/esm/{SocialSearchComponent-09775683.js → SocialSearchComponent-cd38ae60.js} +23 -23
  154. package/dist/esm/SocialShare.js +25 -25
  155. package/dist/esm/TaxonomyCard.js +35 -35
  156. package/dist/esm/TaxonomyDescription.js +13 -13
  157. package/dist/esm/TemplateNormal.js +30 -30
  158. package/dist/esm/ThumbnailCard.js +9 -9
  159. package/dist/esm/Ustream.js +18 -18
  160. package/dist/esm/VerticalHero.js +11 -11
  161. package/dist/esm/VideoProgramLandingPage.js +24 -24
  162. package/dist/esm/VideoSeriesCard.js +15 -15
  163. package/dist/esm/VideoSeriesFilter.js +6 -6
  164. package/dist/esm/VideoSeriesLandingPage.js +12 -12
  165. package/dist/esm/VideoSeriesListing.js +47 -47
  166. package/dist/esm/View.js +170 -170
  167. package/dist/esm/YahooHero.js +23 -23
  168. package/dist/esm/YoutubeGroup.js +32 -32
  169. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
  170. package/dist/esm/getSerializers.js +8 -8
  171. package/dist/esm/{getTargeting-05c216d6.js → getTargeting-68291ce9.js} +9 -9
  172. package/dist/esm/getTargeting.js +1 -1
  173. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  174. package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
  175. package/dist/esm/{index-c2daf449.js → index-613fdebe.js} +338 -338
  176. package/dist/esm/{index-5cc7b406.js → index-888f9253.js} +3 -3
  177. package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
  178. package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
  179. package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
  180. package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
  181. package/dist/esm/{index.esm-e874e770.js → index.esm-d6f88d94.js} +1 -1
  182. package/dist/esm/index.js +40 -38
  183. package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
  184. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
  185. package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
  186. package/package.json +109 -108
  187. /package/dist/cjs/{ADInfeed-7cf51090.js → ADInfeed-e7aecdf9.js} +0 -0
  188. /package/dist/cjs/{ADlgInfeed-bf24708d.js → ADlgInfeed-0941023e.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
2
- import React__default, { useState } from 'react';
2
+ import React, { useState } from 'react';
3
3
  import Accordion from 'react-bootstrap/Accordion';
4
4
  import { useAccordionToggle } from 'react-bootstrap/AccordionToggle';
5
- import { a as IoMdArrowDropdown } from './index.esm-f6156a57.js';
5
+ import { a as IoMdArrowDropdown } from './index.esm-3fdda599.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './web.dom.iterable-4109ff68.js';
8
8
  import './es6.string.iterator-bc33758b.js';
9
9
  import './_to-object-b50e61c3.js';
10
10
  import './core.get-iterator-method-133dfacd.js';
11
- import './iconBase-ccc56b97.js';
11
+ import './iconBase-602d52fe.js';
12
12
 
13
13
  var AccordionPanel = function AccordionPanel(props) {
14
14
  var accordionClassName = props.accordionClassName,
@@ -30,48 +30,48 @@ var AccordionPanel = function AccordionPanel(props) {
30
30
  var decoratedOnClick = useAccordionToggle(eventKey, function () {
31
31
  return handleAccordion(eventKey);
32
32
  });
33
- return React__default.createElement(
33
+ return React.createElement(
34
34
  'div',
35
35
  { onMouseEnter: decoratedOnClick, className: 'accordion-head' },
36
36
  children
37
37
  );
38
38
  };
39
39
 
40
- return React__default.createElement(
41
- React__default.Fragment,
40
+ return React.createElement(
41
+ React.Fragment,
42
42
  null,
43
- data && data.length && React__default.createElement(
43
+ data && data.length && React.createElement(
44
44
  Accordion,
45
45
  { defaultActiveKey: '0', activeKey: activeAccordionKey, className: accordionClassName },
46
46
  data.map(function (item) {
47
- return React__default.createElement(
48
- React__default.Fragment,
47
+ return React.createElement(
48
+ React.Fragment,
49
49
  null,
50
- React__default.createElement(
50
+ React.createElement(
51
51
  CustomToggle,
52
52
  { key: item.id, eventKey: item.id },
53
- React__default.createElement(
53
+ React.createElement(
54
54
  'a',
55
55
  { href: item.url },
56
- React__default.createElement(
57
- React__default.Fragment,
56
+ React.createElement(
57
+ React.Fragment,
58
58
  null,
59
59
  item.title,
60
- item.subItems && React__default.createElement(IoMdArrowDropdown, null)
60
+ item.subItems && React.createElement(IoMdArrowDropdown, null)
61
61
  )
62
62
  )
63
63
  ),
64
- React__default.createElement(
64
+ React.createElement(
65
65
  Accordion.Collapse,
66
66
  { eventKey: item.id },
67
- React__default.createElement(
67
+ React.createElement(
68
68
  'div',
69
69
  null,
70
70
  item.subItems && item.subItems.map(function (subItem) {
71
- return React__default.createElement(
71
+ return React.createElement(
72
72
  'a',
73
73
  { href: subItem.url },
74
- React__default.createElement(
74
+ React.createElement(
75
75
  'div',
76
76
  { key: subItem.id, className: 'accordion-sub-item' },
77
77
  subItem.title
@@ -1,12 +1,12 @@
1
1
  import { _ as _extends } from './extends-60e0e1c6.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
3
- import React__default, { useState, useEffect } from 'react';
3
+ import React, { useState, useEffect } from 'react';
4
4
  import PropTypes from 'prop-types';
5
- import { a as lib_2 } from './index-5cc7b406.js';
5
+ import { a as lib_2 } from './index-888f9253.js';
6
6
  import { d as debounce_1 } from './debounce-533d9748.js';
7
7
  import Beam from './Beam.js';
8
8
  import Segment from './Segment.js';
9
- import { d as main_18 } from './main-d4165069.js';
9
+ import { d as main_18 } from './main-b5c5aac1.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './_to-object-b50e61c3.js';
12
12
  import './_object-pie-133f504a.js';
@@ -76,10 +76,10 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
76
76
  eventData = _useState8[0],
77
77
  setEventData = _useState8[1];
78
78
 
79
- return React__default.createElement(
79
+ return React.createElement(
80
80
  'div',
81
81
  { className: className, style: { textAlign: 'center' } },
82
- React__default.createElement(lib_2, {
82
+ React.createElement(lib_2, {
83
83
  style: { marginBottom: '1rem' },
84
84
  slotId: slotId,
85
85
  sizes: sizes,
@@ -1,8 +1,8 @@
1
1
  import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
3
- import React__default, { useEffect } from 'react';
4
- import { l as lib_3, b as lib_1 } from './index-5cc7b406.js';
5
- import { e as main_24, m as main_43 } from './main-d4165069.js';
3
+ import React, { useEffect } from 'react';
4
+ import { l as lib_3, b as lib_1 } from './index-888f9253.js';
5
+ import { e as main_24, m as main_43 } from './main-b5c5aac1.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './es6.string.iterator-bc33758b.js';
8
8
  import './_to-object-b50e61c3.js';
@@ -136,7 +136,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
136
136
  };
137
137
  }, []);
138
138
 
139
- return React__default.createElement(
139
+ return React.createElement(
140
140
  lib_1,
141
141
  { dfpNetworkId: networkID, targeting: targeting, singleRequest: singleRequest, lazyLoad: { fetchMarginPercent: 0, renderMarginPercent: 0, mobileScaling: 1.0 } },
142
142
  children
@@ -0,0 +1,157 @@
1
+ import { _ as _extends } from './extends-60e0e1c6.js';
2
+ import { _ as _typeof } from './typeof-a286cf0c.js';
3
+ import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
4
+ import React from 'react';
5
+ import PropTypes from 'prop-types';
6
+ import { InstantSearch, Configure, SearchBox, RefinementList, Hits, Pagination } from 'react-instantsearch-dom';
7
+ import { DropdownButton } from 'react-bootstrap';
8
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
9
+ import { m as moment } from './moment-bc12cb97.js';
10
+ import { L as LazyLoad } from './index-35bdcc81.js';
11
+ import './_commonjsHelpers-0c4b6f40.js';
12
+ import './_to-object-b50e61c3.js';
13
+ import './_object-pie-133f504a.js';
14
+ import './es6.string.iterator-bc33758b.js';
15
+ import './web.dom.iterable-4109ff68.js';
16
+ import './_is-array-3e99e06e.js';
17
+ import './_library-528f1934.js';
18
+ import './_object-sap-f353c2a9.js';
19
+ import './define-property-fe54dc9f.js';
20
+ import 'react-dom';
21
+
22
+ var AlgoliaSearch = function (_React$Component) {
23
+ _inherits(AlgoliaSearch, _React$Component);
24
+
25
+ function AlgoliaSearch() {
26
+ _classCallCheck(this, AlgoliaSearch);
27
+
28
+ return _possibleConstructorReturn(this, (AlgoliaSearch.__proto__ || _Object$getPrototypeOf(AlgoliaSearch)).apply(this, arguments));
29
+ }
30
+
31
+ _createClass(AlgoliaSearch, [{
32
+ key: 'Deck',
33
+ value: function Deck(props) {
34
+ var _props$propsObj = props.propsObj,
35
+ styles = _props$propsObj.styles,
36
+ client = _props$propsObj.client;
37
+
38
+ var builder = imageUrlBuilder(client);
39
+ var hit = props.hit;
40
+ return React.createElement(
41
+ 'div',
42
+ { key: hit.url, className: styles.article },
43
+ React.createElement(
44
+ 'a',
45
+ { href: '/view/' + hit.url, style: this.props.variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
46
+ React.createElement(
47
+ 'div',
48
+ { className: styles.thumb },
49
+ React.createElement(
50
+ 'figure',
51
+ null,
52
+ React.createElement(
53
+ LazyLoad,
54
+ null,
55
+ React.createElement('img', {
56
+ src: hit.thumbnail && hit.thumbnail.asset ? builder.image(hit.thumbnail).url() : hit.thumbnail && _typeof(hit.thumbnail === 'string') ? hit.thumbnail : this.props.defaultImage
57
+ })
58
+ )
59
+ )
60
+ ),
61
+ React.createElement(
62
+ 'div',
63
+ { className: styles.info, style: this.props.variant === 'right' ? { padding: '0 1rem 0 0' } : { padding: ' 0 0 0 1rem' } },
64
+ React.createElement(
65
+ 'h2',
66
+ null,
67
+ hit.title
68
+ ),
69
+ hit.pubDateSort && React.createElement(
70
+ 'p',
71
+ { className: styles.published },
72
+ moment(hit.pubDateSort).format('MMMM Do YYYY')
73
+ ),
74
+ hit.authorMapping && hit.authorMapping.length > 0 && React.createElement(
75
+ 'p',
76
+ { className: styles.author },
77
+ hit.authorMapping.map(function (author) {
78
+ return React.createElement(
79
+ 'span',
80
+ null,
81
+ author.displayName
82
+ );
83
+ })
84
+ ),
85
+ hit.summary && React.createElement('p', { dangerouslySetInnerHTML: { __html: hit.summary }, className: styles.summary })
86
+ )
87
+ )
88
+ );
89
+ }
90
+ }, {
91
+ key: 'render',
92
+ value: function render() {
93
+ var _this2 = this;
94
+
95
+ var propsObj = {
96
+ styles: this.props.deckStyles,
97
+ client: this.props.sanityClient
98
+ };
99
+ return React.createElement(
100
+ React.Fragment,
101
+ null,
102
+ React.createElement(
103
+ InstantSearch,
104
+ _extends({
105
+ searchClient: this.props.searchClient,
106
+ resultsState: this.props.resultsState,
107
+ onSearchStateChange: this.props.onSearchStateChange,
108
+ searchState: this.props.searchState,
109
+ createURL: this.props.createURL,
110
+ indexName: this.props.indexName,
111
+ onSearchParameters: this.props.onSearchParameters
112
+ }, this.props),
113
+ React.createElement(Configure, { hitsPerPage: this.props.hitsPerPage || 20 }),
114
+ React.createElement(SearchBox, null),
115
+ this.props.refinementAttributes && React.createElement(
116
+ 'div',
117
+ { className: 'search_refinement' },
118
+ this.props.refinementAttributes.map(function (item, index) {
119
+ return React.createElement(
120
+ DropdownButton,
121
+ { title: item.title },
122
+ React.createElement(RefinementList, { showMore: item.showMore, limit: item.limit, showMoreLimit: item.showMoreLimit, attribute: item.attribute })
123
+ );
124
+ })
125
+ ),
126
+ React.createElement(
127
+ 'div',
128
+ { className: 'AlgoliaResults' },
129
+ React.createElement(Hits, { hitComponent: function hitComponent(hit) {
130
+ return _this2.Deck(_extends({}, hit, { propsObj: propsObj }));
131
+ } })
132
+ ),
133
+ React.createElement(Pagination, null)
134
+ ),
135
+ React.createElement(
136
+ 'style',
137
+ { jsx: 'true' },
138
+ '\n .AlgoliaResults {\n padding-left: 15px;\n margin-top: 3rem;\n }\n\n .search_refinement {\n display: flex;\n margin: 2rem 0;\n }\n\n .search_refinement > div {\n padding-right: 1rem;\n max-height: 500px;\n }\n\n .ais-Hits-list {\n margin: 0;\n list-style: none;\n padding-inline-start: 0;\n }\n .ais-Pagination-list {\n list-style: none;\n }\n .ais-Pagination-list {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n }\n .ais-Pagination-item + .ais-Pagination-item {\n margin-left: 0.3rem;\n }\n .ais-Pagination-link {\n padding: 0.3rem 0.6rem;\n display: block;\n border: 1px solid var(--search-primary);\n border-radius: 5px;\n transition: background-color 0.2s ease-out;\n }\n .ais-Pagination-link:focus,\n .ais-Pagination-link:hover {\n background-color: var(--search-secondary);\n color: #fff;\n }\n .ais-Pagination-item--disabled .ais-Pagination-link {\n opacity: 0.6;\n cursor: not-allowed;\n color: var(--search-secondary);\n }\n .ais-Pagination-item--disabled .ais-Pagination-link:focus,\n .ais-Pagination-item--disabled .ais-Pagination-link:hover {\n color: #fff;\n background-color: var(--search-secondary);\n }\n .ais-Pagination-item--selected .ais-Pagination-link {\n color: #fff;\n background-color: var(--search-primary);\n border-color: var(--search-primary);\n }\n .ais-Pagination-item--selected .ais-Pagination-link:focus,\n .ais-Pagination-item--selected .ais-Pagination-link:hover {\n color: #fff;\n }\n .ais-Pagination-list,\n .ais-Results-list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n .ais-Pagination-list,\n .ais-PoweredBy,\n .ais-RangeInput-form,\n .ais-RatingMenu-link {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n }\n\n .ais-RefinementList-item {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n .ais-RefinementList-list {\n margin: 0;\n padding: 0 1rem;\n width: max-content;\n }\n .ais-SearchBox-form {\n width: 100%;\n border-radius: 5px;\n height: 48px;\n }\n .ais-SearchBox-input {\n padding: 0.5rem;\n border-radius: 5px;\n width: calc(100% - 150px);\n height: 48px;\n border: 0;\n border: 0.5px solid var(--search-secondary);\n }\n\n .ais-SearchBox-submit {\n width: 78px;\n border-radius: 5px;\n padding: 7px;\n margin-left: 5px;\n height: 48px;\n background-color: var(--search-primary);\n border: 0.5px solid var(--search-secondary);\n }\n\n .ais-SearchBox-submit > svg {\n fill: #fff;\n }\n .search_refinement > .dropdown > button {\n background-color: var(--search-primary);\n border-color: var(--search-primary);\n }\n\n .ais-SearchBox-reset {\n height: 48px;\n width: 48px;\n color: #fff;\n background-color: var(--search-primary);\n border: 0;\n margin-left: 5px;\n border-radius: 5px;\n border: 0.5px solid var(--search-secondary);\n }\n\n .ais-SearchBox-reset > svg {\n fill: #fff;\n }\n .ais-RefinementList-checkbox {\n margin-right: 5px;\n }\n\n .ais-RefinementList-showMore {\n padding: 0.5rem;\n border: 0;\n background-color: var(--search-primary);\n border-color: var(--search-primary);\n color: #fff;\n border: 1px solid;\n border-radius: 5px;\n margin-left: 1rem;\n }\n '
139
+ )
140
+ );
141
+ }
142
+ }]);
143
+
144
+ return AlgoliaSearch;
145
+ }(React.Component);
146
+
147
+ AlgoliaSearch.propTypes = {
148
+ searchState: PropTypes.object,
149
+ resultsState: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
150
+ onSearchStateChange: PropTypes.func,
151
+ createURL: PropTypes.func,
152
+ indexName: PropTypes.string,
153
+ searchClient: PropTypes.object,
154
+ refinementAttributes: PropTypes.array
155
+ };
156
+
157
+ export default AlgoliaSearch;
@@ -1,7 +1,7 @@
1
1
  import { _ as _extends } from './extends-60e0e1c6.js';
2
2
  import { _ as _Object$keys } from './keys-7a3adabf.js';
3
3
  import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
4
- import React__default, { useRef, useEffect } from 'react';
4
+ import React, { useRef, useEffect } from 'react';
5
5
  import './_commonjsHelpers-0c4b6f40.js';
6
6
  import './_to-object-b50e61c3.js';
7
7
  import './_object-pie-133f504a.js';
@@ -53,12 +53,12 @@ var AlphabeticList = function AlphabeticList(_ref) {
53
53
  padding: '0 10px',
54
54
  color: 'grey'
55
55
  };
56
- return React__default.createElement(
56
+ return React.createElement(
57
57
  'div',
58
58
  { className: 'd-flex flex-wrap mb-3' },
59
59
  alphabet.map(function (letter, i) {
60
60
  if (dataList[letter]) {
61
- return React__default.createElement(
61
+ return React.createElement(
62
62
  'a',
63
63
  {
64
64
  key: i,
@@ -70,7 +70,7 @@ var AlphabeticList = function AlphabeticList(_ref) {
70
70
  window.scrollTo(0, itemsRef.current[index].offsetTop);
71
71
  }
72
72
  } },
73
- React__default.createElement(
73
+ React.createElement(
74
74
  'span',
75
75
  {
76
76
  style: _extends({}, style, {
@@ -80,7 +80,7 @@ var AlphabeticList = function AlphabeticList(_ref) {
80
80
  )
81
81
  );
82
82
  }
83
- return React__default.createElement(
83
+ return React.createElement(
84
84
  'span',
85
85
  { key: i, style: style },
86
86
  letter
@@ -93,29 +93,29 @@ var AlphabeticList = function AlphabeticList(_ref) {
93
93
  itemsRef.current = itemsRef.current.slice(0, _Object$keys(dataList).length);
94
94
  }, [dataList]);
95
95
 
96
- return React__default.createElement(
97
- React__default.Fragment,
96
+ return React.createElement(
97
+ React.Fragment,
98
98
  null,
99
99
  renderAlbhabetList(),
100
100
  _Object$keys(dataList).map(function (letter, index) {
101
- return React__default.createElement(
102
- React__default.Fragment,
101
+ return React.createElement(
102
+ React.Fragment,
103
103
  { key: index },
104
- React__default.createElement(
104
+ React.createElement(
105
105
  'h3',
106
106
  { ref: function ref(el) {
107
107
  return itemsRef.current[index] = el;
108
108
  } },
109
109
  letter
110
110
  ),
111
- React__default.createElement(
111
+ React.createElement(
112
112
  'ul',
113
113
  null,
114
114
  dataList[letter].map(function (item, i) {
115
- return React__default.createElement(
115
+ return React.createElement(
116
116
  'li',
117
117
  { key: i },
118
- React__default.createElement(
118
+ React.createElement(
119
119
  'a',
120
120
  { href: item.url },
121
121
  item.name
@@ -1,5 +1,5 @@
1
1
  import { _ as _extends } from './extends-60e0e1c6.js';
2
- import React__default from 'react';
2
+ import React from 'react';
3
3
  import YoutubeGroup from './YoutubeGroup.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './_to-object-b50e61c3.js';
@@ -12,12 +12,12 @@ import './_library-528f1934.js';
12
12
  import './slicedToArray-be2f7a22.js';
13
13
  import './core.get-iterator-method-133dfacd.js';
14
14
  import './index-c7e2ac95.js';
15
- import './index-755f2cc2.js';
15
+ import './index-35bdcc81.js';
16
16
  import 'react-dom';
17
17
  import 'prop-types';
18
18
  import './smoothscroll-fa4e3f8c.js';
19
19
  import './index-0dbff1d1.js';
20
- import './main-d4165069.js';
20
+ import './main-b5c5aac1.js';
21
21
 
22
22
  function ArticleCarousel(props) {
23
23
  //Passed in array of articles to pass into YoutubeGroup
@@ -30,10 +30,10 @@ function ArticleCarousel(props) {
30
30
  return article;
31
31
  });
32
32
 
33
- return React__default.createElement(
34
- React__default.Fragment,
33
+ return React.createElement(
34
+ React.Fragment,
35
35
  null,
36
- articles ? React__default.createElement(YoutubeGroup, _extends({ key: 'articleCarousel-0', dataset: data }, props)) : React__default.createElement(
36
+ articles ? React.createElement(YoutubeGroup, _extends({ key: 'articleCarousel-0', dataset: data }, props)) : React.createElement(
37
37
  'p',
38
38
  null,
39
39
  'No Article Found.'
@@ -1,9 +1,9 @@
1
1
  import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7f8f9219.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
3
3
  import { _ as _extends } from './extends-60e0e1c6.js';
4
- import React__default from 'react';
5
- import { B as BlockContent } from './BlockContent-c99c9a8d.js';
6
- import { g as getSerializers } from './index-c2daf449.js';
4
+ import React from 'react';
5
+ import { B as BlockContent } from './BlockContent-52cf21c5.js';
6
+ import { g as getSerializers } from './index-613fdebe.js';
7
7
  import ArticleSeriesListing from './ArticleSeriesListing.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './es6.string.iterator-bc33758b.js';
@@ -16,19 +16,19 @@ import './_object-pie-133f504a.js';
16
16
  import 'prop-types';
17
17
  import './index-0dbff1d1.js';
18
18
  import 'react-bootstrap';
19
- import './index-5cc7b406.js';
19
+ import './index-888f9253.js';
20
20
  import 'next/router';
21
21
  import './index-c7e2ac95.js';
22
22
  import './util-3ab476bf.js';
23
23
  import './Beam.js';
24
24
  import './stringify-59c8f690.js';
25
25
  import './Segment.js';
26
- import './main-d4165069.js';
27
- import './index-755f2cc2.js';
26
+ import './main-b5c5aac1.js';
27
+ import './index-35bdcc81.js';
28
28
  import 'react-dom';
29
29
  import './typeof-a286cf0c.js';
30
30
  import './_is-array-3e99e06e.js';
31
- import './brightcove-react-player-loader.es-57a70a56.js';
31
+ import './brightcove-react-player-loader.es-b43c695a.js';
32
32
  import './GroupDeck.js';
33
33
  import './smoothscroll-fa4e3f8c.js';
34
34
  import './moment-bc12cb97.js';
@@ -49,13 +49,13 @@ import 'react-bootstrap/Col';
49
49
  import './inherits-a41fe93f.js';
50
50
  import './_object-sap-f353c2a9.js';
51
51
  import './define-property-fe54dc9f.js';
52
- import './index.esm-f6156a57.js';
53
- import './iconBase-ccc56b97.js';
52
+ import './index.esm-3fdda599.js';
53
+ import './iconBase-602d52fe.js';
54
54
  import 'react-bootstrap/Figure';
55
55
  import 'react-bootstrap/Container';
56
- import './visibility-sensor-72fd8f8b.js';
56
+ import './visibility-sensor-f40c2564.js';
57
57
  import './YoutubeGroup.js';
58
- import './index.es-a6137319.js';
58
+ import './index.es-c6222053.js';
59
59
 
60
60
  var _this = undefined;
61
61
 
@@ -80,21 +80,21 @@ var ArticleProgramLandingPage = function ArticleProgramLandingPage(props) {
80
80
  _props$autoScroll = props.autoScroll,
81
81
  autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll;
82
82
 
83
- return React__default.createElement(
83
+ return React.createElement(
84
84
  'div',
85
85
  null,
86
- virtualBlock && React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
87
- pageDescription && React__default.createElement(
86
+ virtualBlock && React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
87
+ pageDescription && React.createElement(
88
88
  'div',
89
89
  { className: 'mb-3' },
90
- pageDescription.image && React__default.createElement('img', { className: 'mb-3 w-100', src: pageDescription.image, alt: pageDescription.imageAlt || '' }),
91
- pageDescription.description && React__default.createElement(
90
+ pageDescription.image && React.createElement('img', { className: 'mb-3 w-100', src: pageDescription.image, alt: pageDescription.imageAlt || '' }),
91
+ pageDescription.description && React.createElement(
92
92
  'p',
93
93
  null,
94
94
  pageDescription.description
95
95
  )
96
96
  ),
97
- posts && React__default.createElement(ArticleSeriesListing, {
97
+ posts && React.createElement(ArticleSeriesListing, {
98
98
  client: client,
99
99
  mapping: mapping,
100
100
  dataRecord: posts,
@@ -1,5 +1,5 @@
1
1
  import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
2
- import React__default from 'react';
2
+ import React from 'react';
3
3
  import MasterDeck from './MasterDeck.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './es6.string.iterator-bc33758b.js';
@@ -16,7 +16,7 @@ import './_object-sap-f353c2a9.js';
16
16
  import './define-property-fe54dc9f.js';
17
17
  import './typeof-a286cf0c.js';
18
18
  import './_is-array-3e99e06e.js';
19
- import './index-5cc7b406.js';
19
+ import './index-888f9253.js';
20
20
  import 'prop-types';
21
21
  import 'react-bootstrap/Container';
22
22
  import 'react-bootstrap/Row';
@@ -28,18 +28,18 @@ import './lodash-f97fd99a.js';
28
28
  import './debounce-533d9748.js';
29
29
  import './isSymbol-a7e9aafe.js';
30
30
  import './toNumber-5aeba6e7.js';
31
- import './index.es-a6137319.js';
32
- import './visibility-sensor-72fd8f8b.js';
31
+ import './index.es-c6222053.js';
32
+ import './visibility-sensor-f40c2564.js';
33
33
  import 'react-dom';
34
34
  import './index-0dbff1d1.js';
35
- import './ADlgInfeed-db64f46d.js';
35
+ import './ADlgInfeed-c6d2831b.js';
36
36
  import './slicedToArray-be2f7a22.js';
37
37
  import './AdSlot.js';
38
38
  import './Beam.js';
39
39
  import './stringify-59c8f690.js';
40
40
  import './Segment.js';
41
- import './main-d4165069.js';
42
- import './ADInfeed-f7d00a9a.js';
41
+ import './main-b5c5aac1.js';
42
+ import './ADInfeed-e1e18f87.js';
43
43
 
44
44
  var _this = undefined;
45
45
 
@@ -64,24 +64,24 @@ var ArticleSeriesLandingPage = function ArticleSeriesLandingPage(props) {
64
64
  defaultImage = _props$defaultImage === undefined ? '/placeholder.jpg' : _props$defaultImage;
65
65
 
66
66
 
67
- return React__default.createElement(
67
+ return React.createElement(
68
68
  'div',
69
69
  null,
70
- summary && React__default.createElement(
70
+ summary && React.createElement(
71
71
  'div',
72
72
  { style: { fontSize: '1rem' }, className: 'article-series-summary px-1 mt-2 mb-4' },
73
73
  summary
74
74
  ),
75
- seriesTitle && React__default.createElement(
75
+ seriesTitle && React.createElement(
76
76
  'h1',
77
77
  { className: 'article-series-title' },
78
- React__default.createElement(
78
+ React.createElement(
79
79
  'a',
80
80
  seriesName && { href: '/view/' + seriesName },
81
81
  seriesTitle
82
82
  )
83
83
  ),
84
- posts && deck && React__default.createElement(MasterDeck, {
84
+ posts && deck && React.createElement(MasterDeck, {
85
85
  deck: deck,
86
86
  variant: variant,
87
87
  defaultImage: defaultImage,