@mjhls/mjh-framework 1.0.1048 → 1.0.1050-lightbox

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 (160) 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 +38 -337
  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 +96 -6
  19. package/dist/cjs/CEDeckSupabase.js +3 -2
  20. package/dist/cjs/CMEDeck.js +2 -1
  21. package/dist/cjs/Column3.js +2 -1
  22. package/dist/cjs/ConferenceArticleCard.js +15 -15
  23. package/dist/cjs/ContentCardPaginated.js +3 -2
  24. package/dist/cjs/DeckContent.js +11 -10
  25. package/dist/cjs/DeckQueue.js +2 -1
  26. package/dist/cjs/DeckQueuePaginated.js +2 -1
  27. package/dist/cjs/{Dfp-67646058.js → Dfp-c313a700.js} +2 -1
  28. package/dist/cjs/EventsDeck.js +17 -17
  29. package/dist/cjs/ExternalResources.js +3 -2
  30. package/dist/cjs/GridContent.js +4 -3
  31. package/dist/cjs/GridContentPaginated.js +4 -3
  32. package/dist/cjs/HamMagazine.js +9 -9
  33. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  34. package/dist/cjs/HorizontalArticleListing.js +3 -2
  35. package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-d65bc9c8.js} +156 -116
  36. package/dist/cjs/IssueLanding.js +34 -33
  37. package/dist/cjs/KMTracker.js +15 -15
  38. package/dist/cjs/LeftNav.js +2 -1
  39. package/dist/cjs/MasterDeck.js +12 -11
  40. package/dist/cjs/MasterDeckPaginated.js +12 -11
  41. package/dist/cjs/{MediaSeriesCard-d7801ba1.js → MediaSeriesCard-6cb9a6e6.js} +2 -2
  42. package/dist/cjs/MediaSeriesLanding.js +13 -12
  43. package/dist/cjs/MediaSeriesLandingPaginated.js +13 -12
  44. package/dist/cjs/NavMagazine.js +10 -10
  45. package/dist/cjs/NavNative.js +9 -9
  46. package/dist/cjs/PartnerDetailListing.js +6 -6
  47. package/dist/cjs/PartnerDetailListingPaginated.js +6 -6
  48. package/dist/cjs/PixelTracking.js +17 -1
  49. package/dist/cjs/PodcastsLanding.js +6 -5
  50. package/dist/cjs/PubSection.js +4 -3
  51. package/dist/cjs/PublicationLanding.js +26 -26
  52. package/dist/cjs/QueueDeckExpanded.js +4 -3
  53. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -3
  54. package/dist/cjs/RelatedContent.js +28 -28
  55. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  56. package/dist/cjs/Segment.js +10 -5
  57. package/dist/cjs/SeriesListingDeck.js +3 -2
  58. package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-c7ed509b.js} +4 -4
  59. package/dist/cjs/SideFooter.js +2 -2
  60. package/dist/cjs/TaxonomyDescription.js +3 -2
  61. package/dist/cjs/TemplateNormal.js +2 -1
  62. package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-02a841b5.js} +86 -34
  63. package/dist/cjs/VideoProgramLandingPage.js +3 -2
  64. package/dist/cjs/VideoSeriesCard.js +1 -1
  65. package/dist/cjs/VideoSeriesLandingPage.js +4 -3
  66. package/dist/cjs/VideoSeriesListing.js +2 -1
  67. package/dist/cjs/View.js +7 -6
  68. package/dist/cjs/YoutubeGroup.js +4 -4
  69. package/dist/cjs/events-1b438fe7.js +469 -0
  70. package/dist/cjs/getSerializers.js +3 -2
  71. package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
  72. package/dist/cjs/getTargeting.js +1 -1
  73. package/dist/cjs/{index-abcf2d94.js → index-1165a652.js} +12 -22
  74. package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
  75. package/dist/cjs/{index-7435b964.js → index-d2a6ef75.js} +2 -467
  76. package/dist/cjs/index.js +9 -10
  77. package/dist/esm/AD.js +1 -1
  78. package/dist/esm/AD300x250.js +2 -1
  79. package/dist/esm/AD300x250x600.js +2 -1
  80. package/dist/esm/AD728x90.js +2 -1
  81. package/dist/esm/ADFloatingFooter.js +2 -1
  82. package/dist/esm/ADGutter.js +2 -1
  83. package/dist/esm/ADSkyscraper.js +2 -1
  84. package/dist/esm/ADSponsoredResources.js +2 -1
  85. package/dist/esm/ADWebcast.js +2 -1
  86. package/dist/esm/ADWelcome.js +2 -1
  87. package/dist/esm/AdSlot.js +2 -1
  88. package/dist/esm/AdSlotsProvider.js +2 -1
  89. package/dist/esm/AlgoliaSearch.js +37 -336
  90. package/dist/esm/ArticleProgramLandingPage.js +3 -2
  91. package/dist/esm/ArticleSeriesLandingPage.js +4 -3
  92. package/dist/esm/ArticleSeriesListing.js +2 -1
  93. package/dist/esm/AuthWrapper.js +93 -3
  94. package/dist/esm/CEDeckSupabase.js +3 -2
  95. package/dist/esm/CMEDeck.js +2 -1
  96. package/dist/esm/Column3.js +2 -1
  97. package/dist/esm/ConferenceArticleCard.js +15 -15
  98. package/dist/esm/ContentCardPaginated.js +3 -2
  99. package/dist/esm/DeckContent.js +11 -10
  100. package/dist/esm/DeckQueue.js +2 -1
  101. package/dist/esm/DeckQueuePaginated.js +2 -1
  102. package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
  103. package/dist/esm/EventsDeck.js +17 -17
  104. package/dist/esm/ExternalResources.js +3 -2
  105. package/dist/esm/GridContent.js +4 -3
  106. package/dist/esm/GridContentPaginated.js +4 -3
  107. package/dist/esm/HamMagazine.js +9 -9
  108. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  109. package/dist/esm/HorizontalArticleListing.js +3 -2
  110. package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-da225417.js} +157 -117
  111. package/dist/esm/IssueLanding.js +34 -33
  112. package/dist/esm/KMTracker.js +15 -15
  113. package/dist/esm/LeftNav.js +2 -1
  114. package/dist/esm/MasterDeck.js +12 -11
  115. package/dist/esm/MasterDeckPaginated.js +12 -11
  116. package/dist/esm/{MediaSeriesCard-ffe77e8e.js → MediaSeriesCard-d36385ff.js} +2 -2
  117. package/dist/esm/MediaSeriesLanding.js +13 -12
  118. package/dist/esm/MediaSeriesLandingPaginated.js +13 -12
  119. package/dist/esm/NavMagazine.js +10 -10
  120. package/dist/esm/NavNative.js +9 -9
  121. package/dist/esm/PartnerDetailListing.js +6 -6
  122. package/dist/esm/PartnerDetailListingPaginated.js +6 -6
  123. package/dist/esm/PixelTracking.js +17 -1
  124. package/dist/esm/PodcastsLanding.js +6 -5
  125. package/dist/esm/PubSection.js +4 -3
  126. package/dist/esm/PublicationLanding.js +26 -26
  127. package/dist/esm/QueueDeckExpanded.js +4 -3
  128. package/dist/esm/QueueDeckExpandedPaginated.js +4 -3
  129. package/dist/esm/RelatedContent.js +28 -28
  130. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  131. package/dist/esm/Segment.js +10 -5
  132. package/dist/esm/SeriesListingDeck.js +3 -2
  133. package/dist/esm/{SeriesSlider-a6b1d617.js → SeriesSlider-b467f00c.js} +4 -4
  134. package/dist/esm/SideFooter.js +2 -2
  135. package/dist/esm/TaxonomyDescription.js +3 -2
  136. package/dist/esm/TemplateNormal.js +2 -1
  137. package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-7a093cd4.js} +244 -192
  138. package/dist/esm/VideoProgramLandingPage.js +3 -2
  139. package/dist/esm/VideoSeriesCard.js +1 -1
  140. package/dist/esm/VideoSeriesLandingPage.js +4 -3
  141. package/dist/esm/VideoSeriesListing.js +2 -1
  142. package/dist/esm/View.js +7 -6
  143. package/dist/esm/YoutubeGroup.js +4 -4
  144. package/dist/esm/events-6c3a7a63.js +467 -0
  145. package/dist/esm/getSerializers.js +3 -2
  146. package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
  147. package/dist/esm/getTargeting.js +1 -1
  148. package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
  149. package/dist/esm/{index-5b4444df.js → index-4a515426.js} +12 -22
  150. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  151. package/dist/esm/index.js +9 -10
  152. package/package.json +116 -116
  153. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  154. package/dist/cjs/typeof-1358762e.js +0 -33
  155. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  156. package/dist/esm/typeof-2f07d0e8.js +0 -30
  157. /package/dist/cjs/{ADInfeed-92da28cb.js → ADInfeed-89f63b7d.js} +0 -0
  158. /package/dist/cjs/{ADlgInfeed-04685f6f.js → ADlgInfeed-a536168e.js} +0 -0
  159. /package/dist/esm/{ADInfeed-50f279b3.js → ADInfeed-c14e043c.js} +0 -0
  160. /package/dist/esm/{ADlgInfeed-3bb275ad.js → ADlgInfeed-2892de3c.js} +0 -0
package/dist/cjs/index.js CHANGED
@@ -90,7 +90,7 @@ var VerticalHero = require('./VerticalHero.js');
90
90
  var YahooHero = require('./YahooHero.js');
91
91
  var GridHero = require('./GridHero.js');
92
92
  var ConferenceArticleCard = require('./ConferenceArticleCard.js');
93
- var getSerializers = require('./index-abcf2d94.js');
93
+ var getSerializers = require('./index-1165a652.js');
94
94
  var Beam = require('./Beam.js');
95
95
  var Segment = require('./Segment.js');
96
96
  var KMTracker = require('./KMTracker.js');
@@ -105,7 +105,7 @@ var VideoSeriesLandingPage = require('./VideoSeriesLandingPage.js');
105
105
  var ArticleProgramLandingPage = require('./ArticleProgramLandingPage.js');
106
106
  var ArticleSeriesLandingPage = require('./ArticleSeriesLandingPage.js');
107
107
  var Schema = require('./Schema.js');
108
- var getTargeting = require('./getTargeting-5b954783.js');
108
+ var getTargeting = require('./getTargeting-45ffbee8.js');
109
109
  var getKeywords = require('./getKeywords.js');
110
110
  var getQuery = require('./getQuery.js');
111
111
  require('./toConsumableArray-d7797c2b.js');
@@ -119,7 +119,8 @@ require('./typeof-220bbf73.js');
119
119
  require('./web.dom.iterable-d98303e0.js');
120
120
  require('./_is-array-54228b29.js');
121
121
  require('./_library-dd23b178.js');
122
- require('./index-7435b964.js');
122
+ require('./index-d2a6ef75.js');
123
+ require('./events-1b438fe7.js');
123
124
  require('react-bootstrap/Container');
124
125
  require('react-bootstrap/Card');
125
126
  require('./moment-aca40de1.js');
@@ -132,9 +133,9 @@ require('./visibility-sensor-56020df6.js');
132
133
  require('react-dom');
133
134
  require('./main-ae8472f3.js');
134
135
  require('./entities-df1aed86.js');
135
- require('./ADInfeed-92da28cb.js');
136
+ require('./ADInfeed-89f63b7d.js');
136
137
  require('./lodash-f0783643.js');
137
- require('./ADlgInfeed-04685f6f.js');
138
+ require('./ADlgInfeed-a536168e.js');
138
139
  require('./getContentCategory-f38a4c00.js');
139
140
  require('./get-5839e5b5.js');
140
141
  require('./eq-5fc26c07.js');
@@ -157,8 +158,7 @@ require('./_object-to-array-9337ba83.js');
157
158
  require('react-bootstrap/Spinner');
158
159
  require('react-bootstrap/Form');
159
160
  require('./js.cookie-a511c430.js');
160
- require('./typeof-1358762e.js');
161
- require('./index-50be6759.js');
161
+ require('./index-9ec837cc.js');
162
162
  require('./ConferenceBanner-213003ce.js');
163
163
  require('next/head');
164
164
  require('@mjhls/mjh-framework/dist/cjs/urlFor');
@@ -196,12 +196,11 @@ require('swr');
196
196
  require('passport-local');
197
197
  require('mysql');
198
198
  require('./md5-e1ca5797.js');
199
- require('./SeriesSlider-086a8319.js');
199
+ require('./SeriesSlider-c7ed509b.js');
200
200
  require('./style-inject.es-dcee06b6.js');
201
201
  require('disqus-react');
202
202
  require('react-twitter-embed');
203
- require('./ImageSlider-984a697b.js');
204
- require('./defineProperty-e0fb52c5.js');
203
+ require('./ImageSlider-d65bc9c8.js');
205
204
  require('./VideoSeriesCard.js');
206
205
 
207
206
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
package/dist/esm/AD.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import React__default, { Suspense } from 'react';
2
2
 
3
3
  var Dfp = React__default.lazy(function () {
4
- return import('./Dfp-cf85d203.js');
4
+ return import('./Dfp-102f0beb.js');
5
5
  });
6
6
 
7
7
  var AD = function AD(props) {
@@ -8,7 +8,8 @@ import './core.get-iterator-method-ea258bb1.js';
8
8
  import './web.dom.iterable-ab4dea5c.js';
9
9
  import './extends-1559c147.js';
10
10
  import 'prop-types';
11
- import './index-5cc7b406.js';
11
+ import './index-f0fc23eb.js';
12
+ import './events-6c3a7a63.js';
12
13
  import './debounce-533d9748.js';
13
14
  import './isSymbol-a7e9aafe.js';
14
15
  import './toNumber-5aeba6e7.js';
@@ -8,7 +8,8 @@ import './core.get-iterator-method-ea258bb1.js';
8
8
  import './web.dom.iterable-ab4dea5c.js';
9
9
  import './extends-1559c147.js';
10
10
  import 'prop-types';
11
- import './index-5cc7b406.js';
11
+ import './index-f0fc23eb.js';
12
+ import './events-6c3a7a63.js';
12
13
  import './debounce-533d9748.js';
13
14
  import './isSymbol-a7e9aafe.js';
14
15
  import './toNumber-5aeba6e7.js';
@@ -8,7 +8,8 @@ import './core.get-iterator-method-ea258bb1.js';
8
8
  import './web.dom.iterable-ab4dea5c.js';
9
9
  import './extends-1559c147.js';
10
10
  import 'prop-types';
11
- import './index-5cc7b406.js';
11
+ import './index-f0fc23eb.js';
12
+ import './events-6c3a7a63.js';
12
13
  import './debounce-533d9748.js';
13
14
  import './isSymbol-a7e9aafe.js';
14
15
  import './toNumber-5aeba6e7.js';
@@ -7,7 +7,8 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './extends-1559c147.js';
9
9
  import 'prop-types';
10
- import './index-5cc7b406.js';
10
+ import './index-f0fc23eb.js';
11
+ import './events-6c3a7a63.js';
11
12
  import './debounce-533d9748.js';
12
13
  import './isSymbol-a7e9aafe.js';
13
14
  import './toNumber-5aeba6e7.js';
@@ -7,7 +7,8 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './extends-1559c147.js';
9
9
  import 'prop-types';
10
- import './index-5cc7b406.js';
10
+ import './index-f0fc23eb.js';
11
+ import './events-6c3a7a63.js';
11
12
  import './debounce-533d9748.js';
12
13
  import './isSymbol-a7e9aafe.js';
13
14
  import './toNumber-5aeba6e7.js';
@@ -7,7 +7,8 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './extends-1559c147.js';
9
9
  import 'prop-types';
10
- import './index-5cc7b406.js';
10
+ import './index-f0fc23eb.js';
11
+ import './events-6c3a7a63.js';
11
12
  import './debounce-533d9748.js';
12
13
  import './isSymbol-a7e9aafe.js';
13
14
  import './toNumber-5aeba6e7.js';
@@ -7,7 +7,8 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './extends-1559c147.js';
9
9
  import 'prop-types';
10
- import './index-5cc7b406.js';
10
+ import './index-f0fc23eb.js';
11
+ import './events-6c3a7a63.js';
11
12
  import './debounce-533d9748.js';
12
13
  import './isSymbol-a7e9aafe.js';
13
14
  import './toNumber-5aeba6e7.js';
@@ -7,7 +7,8 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './extends-1559c147.js';
9
9
  import 'prop-types';
10
- import './index-5cc7b406.js';
10
+ import './index-f0fc23eb.js';
11
+ import './events-6c3a7a63.js';
11
12
  import './debounce-533d9748.js';
12
13
  import './isSymbol-a7e9aafe.js';
13
14
  import './toNumber-5aeba6e7.js';
@@ -6,7 +6,8 @@ import './web.dom.iterable-ab4dea5c.js';
6
6
  import './core.get-iterator-method-ea258bb1.js';
7
7
  import './extends-1559c147.js';
8
8
  import 'prop-types';
9
- import './index-5cc7b406.js';
9
+ import './index-f0fc23eb.js';
10
+ import './events-6c3a7a63.js';
10
11
  import './debounce-533d9748.js';
11
12
  import './isSymbol-a7e9aafe.js';
12
13
  import './toNumber-5aeba6e7.js';
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-1559c147.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
4
  import PropTypes from 'prop-types';
5
- import { l as lib_3, a as lib_2 } from './index-5cc7b406.js';
5
+ import { l as lib_3, a as lib_2 } from './index-f0fc23eb.js';
6
6
  import { d as debounce_1 } from './debounce-533d9748.js';
7
7
  import './Beam.js';
8
8
  import Segment from './Segment.js';
@@ -10,6 +10,7 @@ import { d as main_22 } from './main-754d4992.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
12
12
  import './web.dom.iterable-ab4dea5c.js';
13
+ import './events-6c3a7a63.js';
13
14
  import './isSymbol-a7e9aafe.js';
14
15
  import './toNumber-5aeba6e7.js';
15
16
  import './stringify-2b084bee.js';
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-648
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
3
3
  import React__default, { useEffect } from 'react';
4
4
  import ReactGA from 'react-ga';
5
- import { l as lib_3, b as lib_1 } from './index-5cc7b406.js';
5
+ import { l as lib_3, b as lib_1 } from './index-f0fc23eb.js';
6
6
  import { e as main_24, m as main_43 } from './main-754d4992.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
@@ -10,6 +10,7 @@ import './web.dom.iterable-ab4dea5c.js';
10
10
  import './_library-528f1934.js';
11
11
  import './_set-species-2cd9340f.js';
12
12
  import './_iter-detect-98db3b07.js';
13
+ import './events-6c3a7a63.js';
13
14
  import 'prop-types';
14
15
 
15
16
  var _this = undefined;
@@ -1,10 +1,10 @@
1
1
  import { _ as _extends$1 } from './extends-1559c147.js';
2
2
  import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-d21b4ef9.js';
3
- import { _ as _typeof$2 } from './typeof-657f25da.js';
3
+ import { _ as _typeof$1 } from './typeof-657f25da.js';
4
4
  import React__default, { createContext, Component, Fragment, Children, version as version$2 } from 'react';
5
5
  import PropTypes from 'prop-types';
6
- import { _ as _typeof$1 } from './typeof-2f07d0e8.js';
7
- import { _ as _objectWithoutPropertiesLoose$1, a as _setPrototypeOf, b as _extends, c as classnames } from './index-98ca9cec.js';
6
+ import { _ as _objectWithoutPropertiesLoose$1, a as _extends, c as classnames } from './index-0ce54f8a.js';
7
+ import { E as EventEmitter } from './events-6c3a7a63.js';
8
8
  import { DropdownButton } from 'react-bootstrap';
9
9
  import urlFor from './urlFor.js';
10
10
  import { m as moment } from './moment-bc12cb97.js';
@@ -69,6 +69,15 @@ function _assertThisInitialized(self) {
69
69
  return self;
70
70
  }
71
71
 
72
+ function _setPrototypeOf(o, p) {
73
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
74
+ o.__proto__ = p;
75
+ return o;
76
+ };
77
+
78
+ return _setPrototypeOf(o, p);
79
+ }
80
+
72
81
  function _inherits(subClass, superClass) {
73
82
  if (typeof superClass !== "function" && superClass !== null) {
74
83
  throw new TypeError("Super expression must either be null or a function");
@@ -84,11 +93,25 @@ function _inherits(subClass, superClass) {
84
93
  if (superClass) _setPrototypeOf(subClass, superClass);
85
94
  }
86
95
 
96
+ function _typeof(obj) {
97
+ "@babel/helpers - typeof";
98
+
99
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
100
+ _typeof = function _typeof(obj) {
101
+ return typeof obj;
102
+ };
103
+ } else {
104
+ _typeof = function _typeof(obj) {
105
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
106
+ };
107
+ }
108
+
109
+ return _typeof(obj);
110
+ }
111
+
87
112
  function _possibleConstructorReturn(self, call) {
88
- if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
113
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
89
114
  return call;
90
- } else if (call !== void 0) {
91
- throw new TypeError("Derived constructors may only return object or undefined");
92
115
  }
93
116
 
94
117
  return _assertThisInitialized(self);
@@ -251,22 +274,6 @@ var reactFastCompare = function isEqual(a, b) {
251
274
  }
252
275
  };
253
276
 
254
- function _typeof(obj) {
255
- "@babel/helpers - typeof";
256
-
257
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
258
- _typeof = function _typeof(obj) {
259
- return typeof obj;
260
- };
261
- } else {
262
- _typeof = function _typeof(obj) {
263
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
264
- };
265
- }
266
-
267
- return _typeof(obj);
268
- }
269
-
270
277
  function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
271
278
 
272
279
  function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$f(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
@@ -1262,7 +1269,7 @@ function _arrayWithoutHoles(arr) {
1262
1269
  }
1263
1270
 
1264
1271
  function _iterableToArray(iter) {
1265
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1272
+ if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
1266
1273
  }
1267
1274
 
1268
1275
  function _unsupportedIterableToArray(o, minLen) {
@@ -4432,309 +4439,6 @@ function getHierarchicalRefinement(state, attributeName, name, resultsFacets) {
4432
4439
 
4433
4440
  var SearchResults_1 = SearchResults;
4434
4441
 
4435
- // Copyright Joyent, Inc. and other Node contributors.
4436
- //
4437
- // Permission is hereby granted, free of charge, to any person obtaining a
4438
- // copy of this software and associated documentation files (the
4439
- // "Software"), to deal in the Software without restriction, including
4440
- // without limitation the rights to use, copy, modify, merge, publish,
4441
- // distribute, sublicense, and/or sell copies of the Software, and to permit
4442
- // persons to whom the Software is furnished to do so, subject to the
4443
- // following conditions:
4444
- //
4445
- // The above copyright notice and this permission notice shall be included
4446
- // in all copies or substantial portions of the Software.
4447
- //
4448
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
4449
- // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4450
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
4451
- // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
4452
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
4453
- // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
4454
- // USE OR OTHER DEALINGS IN THE SOFTWARE.
4455
-
4456
- function EventEmitter() {
4457
- this._events = this._events || {};
4458
- this._maxListeners = this._maxListeners || undefined;
4459
- }
4460
- var events = EventEmitter;
4461
-
4462
- // Backwards-compat with node 0.10.x
4463
- // EventEmitter.EventEmitter = EventEmitter;
4464
-
4465
- EventEmitter.prototype._events = undefined;
4466
- EventEmitter.prototype._maxListeners = undefined;
4467
-
4468
- // By default EventEmitters will print a warning if more than 10 listeners are
4469
- // added to it. This is a useful default which helps finding memory leaks.
4470
- EventEmitter.defaultMaxListeners = 10;
4471
-
4472
- // Obviously not all Emitters should be limited to 10. This function allows
4473
- // that to be increased. Set to zero for unlimited.
4474
- EventEmitter.prototype.setMaxListeners = function(n) {
4475
- if (!isNumber(n) || n < 0 || isNaN(n))
4476
- throw TypeError('n must be a positive number');
4477
- this._maxListeners = n;
4478
- return this;
4479
- };
4480
-
4481
- EventEmitter.prototype.emit = function(type) {
4482
- var er, handler, len, args, i, listeners;
4483
-
4484
- if (!this._events)
4485
- this._events = {};
4486
-
4487
- // If there is no 'error' event listener then throw.
4488
- if (type === 'error') {
4489
- if (!this._events.error ||
4490
- (isObject(this._events.error) && !this._events.error.length)) {
4491
- er = arguments[1];
4492
- if (er instanceof Error) {
4493
- throw er; // Unhandled 'error' event
4494
- } else {
4495
- // At least give some kind of context to the user
4496
- var err = new Error('Uncaught, unspecified "error" event. (' + er + ')');
4497
- err.context = er;
4498
- throw err;
4499
- }
4500
- }
4501
- }
4502
-
4503
- handler = this._events[type];
4504
-
4505
- if (isUndefined(handler))
4506
- return false;
4507
-
4508
- if (isFunction(handler)) {
4509
- switch (arguments.length) {
4510
- // fast cases
4511
- case 1:
4512
- handler.call(this);
4513
- break;
4514
- case 2:
4515
- handler.call(this, arguments[1]);
4516
- break;
4517
- case 3:
4518
- handler.call(this, arguments[1], arguments[2]);
4519
- break;
4520
- // slower
4521
- default:
4522
- args = Array.prototype.slice.call(arguments, 1);
4523
- handler.apply(this, args);
4524
- }
4525
- } else if (isObject(handler)) {
4526
- args = Array.prototype.slice.call(arguments, 1);
4527
- listeners = handler.slice();
4528
- len = listeners.length;
4529
- for (i = 0; i < len; i++)
4530
- listeners[i].apply(this, args);
4531
- }
4532
-
4533
- return true;
4534
- };
4535
-
4536
- EventEmitter.prototype.addListener = function(type, listener) {
4537
- var m;
4538
-
4539
- if (!isFunction(listener))
4540
- throw TypeError('listener must be a function');
4541
-
4542
- if (!this._events)
4543
- this._events = {};
4544
-
4545
- // To avoid recursion in the case that type === "newListener"! Before
4546
- // adding it to the listeners, first emit "newListener".
4547
- if (this._events.newListener)
4548
- this.emit('newListener', type,
4549
- isFunction(listener.listener) ?
4550
- listener.listener : listener);
4551
-
4552
- if (!this._events[type])
4553
- // Optimize the case of one listener. Don't need the extra array object.
4554
- this._events[type] = listener;
4555
- else if (isObject(this._events[type]))
4556
- // If we've already got an array, just append.
4557
- this._events[type].push(listener);
4558
- else
4559
- // Adding the second element, need to change to array.
4560
- this._events[type] = [this._events[type], listener];
4561
-
4562
- // Check for listener leak
4563
- if (isObject(this._events[type]) && !this._events[type].warned) {
4564
- if (!isUndefined(this._maxListeners)) {
4565
- m = this._maxListeners;
4566
- } else {
4567
- m = EventEmitter.defaultMaxListeners;
4568
- }
4569
-
4570
- if (m && m > 0 && this._events[type].length > m) {
4571
- this._events[type].warned = true;
4572
- console.error('(node) warning: possible EventEmitter memory ' +
4573
- 'leak detected. %d listeners added. ' +
4574
- 'Use emitter.setMaxListeners() to increase limit.',
4575
- this._events[type].length);
4576
- if (typeof console.trace === 'function') {
4577
- // not supported in IE 10
4578
- console.trace();
4579
- }
4580
- }
4581
- }
4582
-
4583
- return this;
4584
- };
4585
-
4586
- EventEmitter.prototype.on = EventEmitter.prototype.addListener;
4587
-
4588
- EventEmitter.prototype.once = function(type, listener) {
4589
- if (!isFunction(listener))
4590
- throw TypeError('listener must be a function');
4591
-
4592
- var fired = false;
4593
-
4594
- function g() {
4595
- this.removeListener(type, g);
4596
-
4597
- if (!fired) {
4598
- fired = true;
4599
- listener.apply(this, arguments);
4600
- }
4601
- }
4602
-
4603
- g.listener = listener;
4604
- this.on(type, g);
4605
-
4606
- return this;
4607
- };
4608
-
4609
- // emits a 'removeListener' event iff the listener was removed
4610
- EventEmitter.prototype.removeListener = function(type, listener) {
4611
- var list, position, length, i;
4612
-
4613
- if (!isFunction(listener))
4614
- throw TypeError('listener must be a function');
4615
-
4616
- if (!this._events || !this._events[type])
4617
- return this;
4618
-
4619
- list = this._events[type];
4620
- length = list.length;
4621
- position = -1;
4622
-
4623
- if (list === listener ||
4624
- (isFunction(list.listener) && list.listener === listener)) {
4625
- delete this._events[type];
4626
- if (this._events.removeListener)
4627
- this.emit('removeListener', type, listener);
4628
-
4629
- } else if (isObject(list)) {
4630
- for (i = length; i-- > 0;) {
4631
- if (list[i] === listener ||
4632
- (list[i].listener && list[i].listener === listener)) {
4633
- position = i;
4634
- break;
4635
- }
4636
- }
4637
-
4638
- if (position < 0)
4639
- return this;
4640
-
4641
- if (list.length === 1) {
4642
- list.length = 0;
4643
- delete this._events[type];
4644
- } else {
4645
- list.splice(position, 1);
4646
- }
4647
-
4648
- if (this._events.removeListener)
4649
- this.emit('removeListener', type, listener);
4650
- }
4651
-
4652
- return this;
4653
- };
4654
-
4655
- EventEmitter.prototype.removeAllListeners = function(type) {
4656
- var key, listeners;
4657
-
4658
- if (!this._events)
4659
- return this;
4660
-
4661
- // not listening for removeListener, no need to emit
4662
- if (!this._events.removeListener) {
4663
- if (arguments.length === 0)
4664
- this._events = {};
4665
- else if (this._events[type])
4666
- delete this._events[type];
4667
- return this;
4668
- }
4669
-
4670
- // emit removeListener for all listeners on all events
4671
- if (arguments.length === 0) {
4672
- for (key in this._events) {
4673
- if (key === 'removeListener') continue;
4674
- this.removeAllListeners(key);
4675
- }
4676
- this.removeAllListeners('removeListener');
4677
- this._events = {};
4678
- return this;
4679
- }
4680
-
4681
- listeners = this._events[type];
4682
-
4683
- if (isFunction(listeners)) {
4684
- this.removeListener(type, listeners);
4685
- } else if (listeners) {
4686
- // LIFO order
4687
- while (listeners.length)
4688
- this.removeListener(type, listeners[listeners.length - 1]);
4689
- }
4690
- delete this._events[type];
4691
-
4692
- return this;
4693
- };
4694
-
4695
- EventEmitter.prototype.listeners = function(type) {
4696
- var ret;
4697
- if (!this._events || !this._events[type])
4698
- ret = [];
4699
- else if (isFunction(this._events[type]))
4700
- ret = [this._events[type]];
4701
- else
4702
- ret = this._events[type].slice();
4703
- return ret;
4704
- };
4705
-
4706
- EventEmitter.prototype.listenerCount = function(type) {
4707
- if (this._events) {
4708
- var evlistener = this._events[type];
4709
-
4710
- if (isFunction(evlistener))
4711
- return 1;
4712
- else if (evlistener)
4713
- return evlistener.length;
4714
- }
4715
- return 0;
4716
- };
4717
-
4718
- EventEmitter.listenerCount = function(emitter, type) {
4719
- return emitter.listenerCount(type);
4720
- };
4721
-
4722
- function isFunction(arg) {
4723
- return typeof arg === 'function';
4724
- }
4725
-
4726
- function isNumber(arg) {
4727
- return typeof arg === 'number';
4728
- }
4729
-
4730
- function isObject(arg) {
4731
- return typeof arg === 'object' && arg !== null;
4732
- }
4733
-
4734
- function isUndefined(arg) {
4735
- return arg === void 0;
4736
- }
4737
-
4738
4442
  function inherits(ctor, superCtor) {
4739
4443
  ctor.prototype = Object.create(superCtor.prototype, {
4740
4444
  constructor: {
@@ -4764,7 +4468,7 @@ function DerivedHelper(mainHelper, fn) {
4764
4468
  this.lastResults = null;
4765
4469
  }
4766
4470
 
4767
- inherits_1(DerivedHelper, events);
4471
+ inherits_1(DerivedHelper, EventEmitter.EventEmitter);
4768
4472
 
4769
4473
  /**
4770
4474
  * Detach this helper from the main helper
@@ -5100,7 +4804,7 @@ var requestBuilder = {
5100
4804
 
5101
4805
  var requestBuilder_1 = requestBuilder;
5102
4806
 
5103
- var version = '3.7.0';
4807
+ var version = '3.6.2';
5104
4808
 
5105
4809
  /**
5106
4810
  * Event triggered when a parameter is set or updated
@@ -5221,7 +4925,7 @@ function AlgoliaSearchHelper(client, index, options) {
5221
4925
  this._currentNbQueries = 0;
5222
4926
  }
5223
4927
 
5224
- inherits_1(AlgoliaSearchHelper, events);
4928
+ inherits_1(AlgoliaSearchHelper, EventEmitter.EventEmitter);
5225
4929
 
5226
4930
  /**
5227
4931
  * Start the search with the parameters set in the state. When the
@@ -9067,17 +8771,14 @@ function _arrayWithHoles(arr) {
9067
8771
  }
9068
8772
 
9069
8773
  function _iterableToArrayLimit(arr, i) {
9070
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
9071
-
9072
- if (_i == null) return;
8774
+ if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
9073
8775
  var _arr = [];
9074
8776
  var _n = true;
9075
8777
  var _d = false;
9076
-
9077
- var _s, _e;
8778
+ var _e = undefined;
9078
8779
 
9079
8780
  try {
9080
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
8781
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
9081
8782
  _arr.push(_s.value);
9082
8783
 
9083
8784
  if (i && _arr.length === i) break;
@@ -14843,7 +14544,7 @@ var imageDiv = function imageDiv(hit, styles, client, siteType, defaultImage, va
14843
14544
  LazyLoad,
14844
14545
  { once: true },
14845
14546
  React__default.createElement('img', {
14846
- src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$2(hit.thumbnail === 'string') ? hit.thumbnail : defaultImage
14547
+ src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$1(hit.thumbnail === 'string') ? hit.thumbnail : defaultImage
14847
14548
  })
14848
14549
  )
14849
14550
  )