@mjhls/mjh-framework 1.0.1017-blanktagremoval-v2 → 1.0.1017-cls

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 (167) hide show
  1. package/dist/cjs/AD.js +1 -1
  2. package/dist/cjs/AD300x250.js +3 -2
  3. package/dist/cjs/AD300x250x600.js +3 -2
  4. package/dist/cjs/AD728x90.js +3 -2
  5. package/dist/cjs/ADFloatingFooter.js +3 -2
  6. package/dist/cjs/ADGutter.js +3 -2
  7. package/dist/cjs/ADSkyscraper.js +3 -2
  8. package/dist/cjs/ADSponsoredResources.js +3 -2
  9. package/dist/cjs/ADWebcast.js +3 -2
  10. package/dist/cjs/ADWelcome.js +3 -2
  11. package/dist/cjs/AdSlot.js +3 -2
  12. package/dist/cjs/AdSlotsProvider.js +3 -2
  13. package/dist/cjs/AlgoliaSearch.js +512 -1023
  14. package/dist/cjs/ArticleCarousel.js +1 -1
  15. package/dist/cjs/ArticleProgramLandingPage.js +4 -3
  16. package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
  17. package/dist/cjs/ArticleSeriesListing.js +3 -2
  18. package/dist/cjs/Auth.js +12 -41
  19. package/dist/cjs/AuthWrapper.js +17 -25
  20. package/dist/cjs/CEDeckSupabase.js +3 -2
  21. package/dist/cjs/CMEDeck.js +3 -2
  22. package/dist/cjs/Column2.js +2 -4
  23. package/dist/cjs/Column3.js +3 -2
  24. package/dist/cjs/ContentCardPaginated.js +5 -4
  25. package/dist/cjs/DeckContent.js +39 -34
  26. package/dist/cjs/DeckQueue.js +3 -2
  27. package/dist/cjs/DeckQueuePaginated.js +4 -3
  28. package/dist/cjs/{Dfp-67646058.js → Dfp-c313a700.js} +2 -1
  29. package/dist/cjs/EventsDeck.js +2 -2
  30. package/dist/cjs/ExternalResources.js +8 -7
  31. package/dist/cjs/Feature.js +2 -2
  32. package/dist/cjs/GridContent.js +5 -4
  33. package/dist/cjs/GridContentPaginated.js +6 -5
  34. package/dist/cjs/HamMagazine.js +219 -215
  35. package/dist/cjs/HorizontalArticleListing.js +4 -3
  36. package/dist/cjs/{ImageSlider-50807a77.js → ImageSlider-17fdaf3b.js} +10 -5
  37. package/dist/cjs/IssueLanding.js +6 -5
  38. package/dist/cjs/LeftNav.js +17 -15
  39. package/dist/cjs/MasterDeck.js +5 -4
  40. package/dist/cjs/MasterDeckPaginated.js +6 -5
  41. package/dist/cjs/{MediaSeriesCard-02a04189.js → MediaSeriesCard-42536e1e.js} +1 -1
  42. package/dist/cjs/MediaSeriesLanding.js +8 -7
  43. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -8
  44. package/dist/cjs/NavDvm.js +28 -30
  45. package/dist/cjs/{NavFooter-b37e3eed.js → NavFooter-257b5318.js} +3 -4
  46. package/dist/cjs/NavMagazine.js +39 -41
  47. package/dist/cjs/NavNative.js +46 -46
  48. package/dist/cjs/{Pagination-6359861a.js → Pagination-842c556f.js} +1 -1
  49. package/dist/cjs/PartnerDetailListing.js +30 -29
  50. package/dist/cjs/PartnerDetailListingPaginated.js +34 -33
  51. package/dist/cjs/PodcastsLanding.js +7 -6
  52. package/dist/cjs/PubSection.js +5 -4
  53. package/dist/cjs/QueueDeckExpanded.js +5 -4
  54. package/dist/cjs/QueueDeckExpandedPaginated.js +6 -5
  55. package/dist/cjs/SeriesListingDeck.js +4 -3
  56. package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-3d57985d.js} +1 -1
  57. package/dist/cjs/SideFooter.js +7 -9
  58. package/dist/cjs/{SocialSearchComponent-e30b4dea.js → SocialSearchComponent-e2a5511a.js} +2 -2
  59. package/dist/cjs/TaxonomyCard.js +8 -9
  60. package/dist/cjs/TaxonomyDescription.js +4 -3
  61. package/dist/cjs/TemplateNormal.js +8 -5
  62. package/dist/cjs/{Tooltip-8011d690.js → Tooltip-4cb8849a.js} +74 -134
  63. package/dist/cjs/Ustream.js +1 -1
  64. package/dist/cjs/VideoProgramLandingPage.js +4 -3
  65. package/dist/cjs/VideoSeriesLandingPage.js +5 -4
  66. package/dist/cjs/VideoSeriesListing.js +3 -2
  67. package/dist/cjs/View.js +6 -5
  68. package/dist/cjs/YahooHero.js +29 -21
  69. package/dist/cjs/YoutubeGroup.js +1 -1
  70. package/dist/cjs/{defineProperty-19580e93.js → defineProperty-e0fb52c5.js} +4 -2
  71. package/dist/cjs/events-1b438fe7.js +469 -0
  72. package/dist/cjs/getRelatedArticle.js +1 -1
  73. package/dist/cjs/getSerializers.js +4 -3
  74. package/dist/cjs/{index-88b1d875.js → index-67617e6f.js} +43 -546
  75. package/dist/cjs/{index-3cd60d26.js → index-bd6c9f56.js} +11 -11
  76. package/dist/cjs/{index-7435b964.js → index-d2a6ef75.js} +2 -467
  77. package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
  78. package/dist/cjs/{index.esm-bb54403e.js → index.esm-91e651b0.js} +7 -8
  79. package/dist/cjs/index.js +15 -13
  80. package/dist/cjs/{main-6054981e.js → main-3643d499.js} +9 -4
  81. package/dist/cjs/typeof-1358762e.js +33 -0
  82. package/dist/esm/AD.js +1 -1
  83. package/dist/esm/AD300x250.js +3 -2
  84. package/dist/esm/AD300x250x600.js +3 -2
  85. package/dist/esm/AD728x90.js +3 -2
  86. package/dist/esm/ADFloatingFooter.js +3 -2
  87. package/dist/esm/ADGutter.js +3 -2
  88. package/dist/esm/ADSkyscraper.js +3 -2
  89. package/dist/esm/ADSponsoredResources.js +3 -2
  90. package/dist/esm/ADWebcast.js +3 -2
  91. package/dist/esm/ADWelcome.js +3 -2
  92. package/dist/esm/AdSlot.js +3 -2
  93. package/dist/esm/AdSlotsProvider.js +3 -2
  94. package/dist/esm/AlgoliaSearch.js +512 -1023
  95. package/dist/esm/ArticleCarousel.js +1 -1
  96. package/dist/esm/ArticleProgramLandingPage.js +4 -3
  97. package/dist/esm/ArticleSeriesLandingPage.js +5 -4
  98. package/dist/esm/ArticleSeriesListing.js +3 -2
  99. package/dist/esm/Auth.js +12 -41
  100. package/dist/esm/AuthWrapper.js +16 -24
  101. package/dist/esm/CEDeckSupabase.js +3 -2
  102. package/dist/esm/CMEDeck.js +3 -2
  103. package/dist/esm/Column2.js +2 -4
  104. package/dist/esm/Column3.js +3 -2
  105. package/dist/esm/ContentCardPaginated.js +5 -4
  106. package/dist/esm/DeckContent.js +39 -34
  107. package/dist/esm/DeckQueue.js +3 -2
  108. package/dist/esm/DeckQueuePaginated.js +4 -3
  109. package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
  110. package/dist/esm/EventsDeck.js +2 -2
  111. package/dist/esm/ExternalResources.js +8 -7
  112. package/dist/esm/Feature.js +2 -2
  113. package/dist/esm/GridContent.js +5 -4
  114. package/dist/esm/GridContentPaginated.js +6 -5
  115. package/dist/esm/HamMagazine.js +219 -215
  116. package/dist/esm/HorizontalArticleListing.js +4 -3
  117. package/dist/esm/{ImageSlider-cdb57d30.js → ImageSlider-f84174cb.js} +10 -5
  118. package/dist/esm/IssueLanding.js +6 -5
  119. package/dist/esm/LeftNav.js +17 -15
  120. package/dist/esm/MasterDeck.js +5 -4
  121. package/dist/esm/MasterDeckPaginated.js +6 -5
  122. package/dist/esm/{MediaSeriesCard-5a7491a4.js → MediaSeriesCard-8d171570.js} +1 -1
  123. package/dist/esm/MediaSeriesLanding.js +8 -7
  124. package/dist/esm/MediaSeriesLandingPaginated.js +9 -8
  125. package/dist/esm/NavDvm.js +28 -30
  126. package/dist/esm/{NavFooter-37c5eea2.js → NavFooter-27a16f65.js} +3 -4
  127. package/dist/esm/NavMagazine.js +39 -41
  128. package/dist/esm/NavNative.js +46 -46
  129. package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
  130. package/dist/esm/PartnerDetailListing.js +30 -29
  131. package/dist/esm/PartnerDetailListingPaginated.js +34 -33
  132. package/dist/esm/PodcastsLanding.js +7 -6
  133. package/dist/esm/PubSection.js +5 -4
  134. package/dist/esm/QueueDeckExpanded.js +5 -4
  135. package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
  136. package/dist/esm/SeriesListingDeck.js +4 -3
  137. package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-f771e20d.js} +1 -1
  138. package/dist/esm/SideFooter.js +7 -9
  139. package/dist/esm/{SocialSearchComponent-7591859b.js → SocialSearchComponent-a7714c5e.js} +2 -2
  140. package/dist/esm/TaxonomyCard.js +8 -9
  141. package/dist/esm/TaxonomyDescription.js +4 -3
  142. package/dist/esm/TemplateNormal.js +8 -5
  143. package/dist/esm/{Tooltip-2cdd0895.js → Tooltip-95655b44.js} +74 -134
  144. package/dist/esm/Ustream.js +1 -1
  145. package/dist/esm/VideoProgramLandingPage.js +4 -3
  146. package/dist/esm/VideoSeriesLandingPage.js +5 -4
  147. package/dist/esm/VideoSeriesListing.js +3 -2
  148. package/dist/esm/View.js +6 -5
  149. package/dist/esm/YahooHero.js +29 -21
  150. package/dist/esm/YoutubeGroup.js +1 -1
  151. package/dist/esm/{defineProperty-e8022d1e.js → defineProperty-23a8f8cd.js} +4 -2
  152. package/dist/esm/events-6c3a7a63.js +467 -0
  153. package/dist/esm/getRelatedArticle.js +1 -1
  154. package/dist/esm/getSerializers.js +4 -3
  155. package/dist/esm/{index-0110e48e.js → index-188f561f.js} +43 -546
  156. package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
  157. package/dist/esm/{index-0a63f9a3.js → index-db3bb315.js} +11 -11
  158. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  159. package/dist/esm/{index.esm-8639823a.js → index.esm-06bf63a3.js} +7 -8
  160. package/dist/esm/index.js +15 -13
  161. package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
  162. package/dist/esm/typeof-2f07d0e8.js +30 -0
  163. package/package.json +1 -2
  164. /package/dist/cjs/{ADInfeed-ef933a08.js → ADInfeed-0394f391.js} +0 -0
  165. /package/dist/cjs/{ADlgInfeed-0e931f24.js → ADlgInfeed-759969d6.js} +0 -0
  166. /package/dist/esm/{ADInfeed-f946441a.js → ADInfeed-5765a73a.js} +0 -0
  167. /package/dist/esm/{ADlgInfeed-012e6f16.js → ADlgInfeed-5e36f317.js} +0 -0
@@ -5,25 +5,26 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
5
5
  import React__default, { useState, useEffect, useRef } from 'react';
6
6
  import { Spinner, Container, Media } from 'react-bootstrap';
7
7
  import { m as moment } from './moment-bc12cb97.js';
8
- import { l as lib_3 } from './index-5cc7b406.js';
8
+ import { l as lib_3 } from './index-f0fc23eb.js';
9
9
  import { useRouter } from 'next/router';
10
10
  import { L as LazyLoad } from './index-755f2cc2.js';
11
11
  import { l as lodash } from './lodash-f97fd99a.js';
12
- import { m as main_43 } from './main-9f6806ea.js';
12
+ import { m as main_43 } from './main-1894c974.js';
13
13
  import { c as clean_html_1 } from './entities-6d9154b4.js';
14
- import { A as ADInfeed } from './ADInfeed-f946441a.js';
14
+ import { A as ADInfeed } from './ADInfeed-5765a73a.js';
15
15
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
16
- import { A as ADlgInfeed } from './ADlgInfeed-012e6f16.js';
16
+ import { A as ADlgInfeed } from './ADlgInfeed-5e36f317.js';
17
17
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
18
18
  import timeDifferenceCalc from './timeDifferenceCalc.js';
19
19
  import urlFor from './urlFor.js';
20
- import { P as Pagination } from './Pagination-9fe9f61d.js';
20
+ import { P as Pagination } from './Pagination-dc30727b.js';
21
21
  import './_commonjsHelpers-0c4b6f40.js';
22
22
  import './core.get-iterator-method-ea258bb1.js';
23
23
  import './web.dom.iterable-ab4dea5c.js';
24
24
  import './_library-528f1934.js';
25
25
  import './_iter-detect-98db3b07.js';
26
26
  import './_object-pie-133f504a.js';
27
+ import './events-6c3a7a63.js';
27
28
  import 'prop-types';
28
29
  import 'react-dom';
29
30
  import 'react-bootstrap/Card';
@@ -3,15 +3,16 @@ import { _ as _extends } from './extends-6d8e3924.js';
3
3
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
4
4
  import React__default, { useState, useEffect, useRef } from 'react';
5
5
  import { useRouter } from 'next/router';
6
- import { l as lib_3 } from './index-5cc7b406.js';
6
+ import { l as lib_3 } from './index-f0fc23eb.js';
7
7
  import { I as InfiniteScroll } from './index.es-a6137319.js';
8
- import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
8
+ import { S as SeriesSlider } from './SeriesSlider-f771e20d.js';
9
9
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-ea258bb1.js';
12
12
  import './_iter-detect-98db3b07.js';
13
13
  import './_object-pie-133f504a.js';
14
14
  import './web.dom.iterable-ab4dea5c.js';
15
+ import './events-6c3a7a63.js';
15
16
  import 'prop-types';
16
17
  import './index-c7e2ac95.js';
17
18
  import './index-755f2cc2.js';
@@ -19,7 +20,7 @@ import 'react-dom';
19
20
  import './smoothscroll-fa4e3f8c.js';
20
21
  import './urlFor.js';
21
22
  import './index-3f5c03b2.js';
22
- import './main-9f6806ea.js';
23
+ import './main-1894c974.js';
23
24
 
24
25
  var usePrevious = function usePrevious(value) {
25
26
  var ref = useRef();
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
4
4
  import { L as LazyLoad } from './index-755f2cc2.js';
5
5
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
- import { m as main_43, a as main_49, b as main_42 } from './main-9f6806ea.js';
7
+ import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
8
8
 
9
9
  /*
10
10
  GROQ query -
@@ -1,16 +1,14 @@
1
- import { _ as _extends } from './extends-6d8e3924.js';
2
1
  import React__default, { useRef, useEffect } from 'react';
3
2
  import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
4
3
  import { g as get_1 } from './get-3c308da4.js';
5
4
  import Segment from './Segment.js';
6
5
  import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
7
6
  import './_commonjsHelpers-0c4b6f40.js';
8
- import './core.get-iterator-method-ea258bb1.js';
9
- import './_object-pie-133f504a.js';
10
7
  import 'prop-types';
11
8
  import './isSymbol-a7e9aafe.js';
12
9
  import './eq-bdcbf886.js';
13
10
  import './asyncToGenerator-958ef5fc.js';
11
+ import './core.get-iterator-method-ea258bb1.js';
14
12
  import './web.dom.iterable-ab4dea5c.js';
15
13
  import './_library-528f1934.js';
16
14
  import './_iter-detect-98db3b07.js';
@@ -21,13 +19,13 @@ var renderLink = function renderLink(row) {
21
19
  if (row.blank) {
22
20
  return React__default.createElement(
23
21
  'a',
24
- _extends({ href: row.url }, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, { target: '_blank' }, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }),
22
+ { href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: '_blank', rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
25
23
  row.title
26
24
  );
27
25
  }
28
26
  return React__default.createElement(
29
27
  'a',
30
- _extends({ href: row.url }, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }),
28
+ { href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
31
29
  row.title
32
30
  );
33
31
  };
@@ -85,16 +83,16 @@ var SideFooter = function SideFooter(props) {
85
83
  'li',
86
84
  { style: { marginTop: '10px' } },
87
85
  socialLinks && socialLinks.map(function (row, index) {
88
- return React__default.createElement(reactSocialIcons_1, _extends({
89
- target: row.blank ? '_blank' : '_self'
90
- }, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }, {
86
+ return React__default.createElement(reactSocialIcons_1, {
87
+ target: row.blank ? '_blank' : '_self',
88
+ rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
91
89
  key: index,
92
90
  index: index,
93
91
  url: row.url
94
92
  // including network prop to identify the icon based on the social icon title.
95
93
  , network: row.title.split(' ')[0].toLowerCase(),
96
94
  style: { width: 30, height: 30, marginRight: 5 }
97
- }));
95
+ });
98
96
  })
99
97
  )
100
98
  ),
@@ -1,12 +1,12 @@
1
1
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
2
  import React__default, { useState, useRef, useEffect } from 'react';
3
3
  import SocialIcons from './SocialIcons.js';
4
- import { G as GoSearch } from './index.esm-8639823a.js';
4
+ import { G as GoSearch } from './index.esm-06bf63a3.js';
5
5
  import { I as IconContext } from './iconBase-ccc56b97.js';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import FormControl from 'react-bootstrap/FormControl';
8
8
  import Button from 'react-bootstrap/Button';
9
- import { f as main_34, c as main_44 } from './main-9f6806ea.js';
9
+ import { f as main_34, c as main_44 } from './main-1894c974.js';
10
10
 
11
11
  var SocialSearchComponent = function SocialSearchComponent(_ref) {
12
12
  var type = _ref.type,
@@ -115,10 +115,10 @@ var TaxonomyCard = function TaxonomyCard(props) {
115
115
  null,
116
116
  row.thumbnail.link ? React__default.createElement(
117
117
  'a',
118
- _extends({
118
+ {
119
119
  href: row.thumbnail.link,
120
- target: row.thumbnail.blank ? '_blank' : '_self'
121
- }, checkSisterSite(row.thumbnail.link) ? {} : { rel: 'noopener noreferrer' }),
120
+ target: row.thumbnail.blank ? '_blank' : '_self',
121
+ rel: checkSisterSite(row.thumbnail.link) ? '' : 'noopener noreferrer' },
122
122
  React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
123
123
  ) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
124
124
  row && row.thumbnail && row.thumbnail.caption && React__default.createElement(
@@ -154,7 +154,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
154
154
  } else if (field.value && field.key === 'url') {
155
155
  return React__default.createElement(
156
156
  'a',
157
- _extends({ className: 'details-field', href: field.value, key: index }, checkSisterSite(field.value) ? {} : { rel: 'noopener noreferrer' }),
157
+ { className: 'details-field', href: field.value, key: index, rel: checkSisterSite(field.value) ? '' : 'noopener noreferrer' },
158
158
  field.value
159
159
  );
160
160
  }
@@ -191,15 +191,14 @@ var TaxonomyCard = function TaxonomyCard(props) {
191
191
  { className: 'social-icons' },
192
192
  socialLinks.map(function (url, index) {
193
193
  if (url && url.length) {
194
- return React__default.createElement(reactSocialIcons_1, _extends({
195
- target: '_blank'
196
- // rel ={ checkSisterSite=(url)? '' : 'noopener noreferrer'}
197
- }, checkSisterSite(url) ? {} : { rel: 'noopener noreferrer' }, {
194
+ return React__default.createElement(reactSocialIcons_1, {
195
+ target: '_blank',
196
+ rel: checkSisterSite(url) ? '' : 'noopener noreferrer',
198
197
  key: index,
199
198
  index: index,
200
199
  url: url,
201
200
  style: { width: 30, height: 30, marginRight: 10 }
202
- }));
201
+ });
203
202
  }
204
203
  }),
205
204
  React__default.createElement(
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import Head from 'next/head';
7
7
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
8
- import { g as getSerializers } from './index-0110e48e.js';
8
+ import { g as getSerializers } from './index-188f561f.js';
9
9
  import './_commonjsHelpers-0c4b6f40.js';
10
10
  import './core.get-iterator-method-ea258bb1.js';
11
11
  import './_object-pie-133f504a.js';
@@ -16,13 +16,14 @@ import 'prop-types';
16
16
  import './index-3f5c03b2.js';
17
17
  import 'react-bootstrap';
18
18
  import './urlFor.js';
19
- import './index-5cc7b406.js';
19
+ import './index-f0fc23eb.js';
20
+ import './events-6c3a7a63.js';
20
21
  import './index-c7e2ac95.js';
21
22
  import './util-8ed16d48.js';
22
23
  import './Beam.js';
23
24
  import './stringify-2b084bee.js';
24
25
  import './Segment.js';
25
- import './main-9f6806ea.js';
26
+ import './main-1894c974.js';
26
27
  import './urlForFile-b69adffc.js';
27
28
  import './index-755f2cc2.js';
28
29
  import 'react-dom';
@@ -19,7 +19,8 @@ import './AdSlot.js';
19
19
  import './extends-6d8e3924.js';
20
20
  import './_object-pie-133f504a.js';
21
21
  import 'prop-types';
22
- import './index-5cc7b406.js';
22
+ import './index-f0fc23eb.js';
23
+ import './events-6c3a7a63.js';
23
24
  import './debounce-533d9748.js';
24
25
  import './isSymbol-a7e9aafe.js';
25
26
  import './toNumber-5aeba6e7.js';
@@ -29,7 +30,7 @@ import './asyncToGenerator-958ef5fc.js';
29
30
  import './_library-528f1934.js';
30
31
  import './_iter-detect-98db3b07.js';
31
32
  import './Segment.js';
32
- import './main-9f6806ea.js';
33
+ import './main-1894c974.js';
33
34
  import 'next/head';
34
35
  import '@mjhls/mjh-framework/dist/cjs/urlFor';
35
36
  import 'react-bootstrap/Row';
@@ -52,14 +53,16 @@ import 'react-bootstrap/NavDropdown';
52
53
  import './index.esm-9b042655.js';
53
54
  import './iconBase-ccc56b97.js';
54
55
  import './index.esm-eb1e8e80.js';
55
- import './NavFooter-37c5eea2.js';
56
- import './index.esm-8639823a.js';
57
- import './SocialSearchComponent-7591859b.js';
56
+ import './NavFooter-27a16f65.js';
57
+ import './index.esm-06bf63a3.js';
58
+ import './SocialSearchComponent-a7714c5e.js';
58
59
  import './SocialIcons.js';
59
60
  import 'react-bootstrap/Form';
60
61
  import 'react-bootstrap/FormControl';
61
62
  import 'react-bootstrap/Button';
62
63
  import './Search.js';
64
+ import './index-755f2cc2.js';
65
+ import 'react-dom';
63
66
 
64
67
  // Main
65
68
  var TemplateNormal = function TemplateNormal(props) {
@@ -2652,10 +2652,7 @@ function isShadowRoot(node) {
2652
2652
  return node instanceof OwnElement || node instanceof ShadowRoot;
2653
2653
  }
2654
2654
 
2655
- var max = Math.max;
2656
- var min = Math.min;
2657
- var round = Math.round;
2658
-
2655
+ var round$1 = Math.round;
2659
2656
  function getBoundingClientRect(element, includeScale) {
2660
2657
  if (includeScale === void 0) {
2661
2658
  includeScale = false;
@@ -2666,28 +2663,20 @@ function getBoundingClientRect(element, includeScale) {
2666
2663
  var scaleY = 1;
2667
2664
 
2668
2665
  if (isHTMLElement(element) && includeScale) {
2669
- var offsetHeight = element.offsetHeight;
2670
- var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
2671
2666
  // Fallback to 1 in case both values are `0`
2672
-
2673
- if (offsetWidth > 0) {
2674
- scaleX = round(rect.width) / offsetWidth || 1;
2675
- }
2676
-
2677
- if (offsetHeight > 0) {
2678
- scaleY = round(rect.height) / offsetHeight || 1;
2679
- }
2667
+ scaleX = rect.width / element.offsetWidth || 1;
2668
+ scaleY = rect.height / element.offsetHeight || 1;
2680
2669
  }
2681
2670
 
2682
2671
  return {
2683
- width: rect.width / scaleX,
2684
- height: rect.height / scaleY,
2685
- top: rect.top / scaleY,
2686
- right: rect.right / scaleX,
2687
- bottom: rect.bottom / scaleY,
2688
- left: rect.left / scaleX,
2689
- x: rect.left / scaleX,
2690
- y: rect.top / scaleY
2672
+ width: round$1(rect.width / scaleX),
2673
+ height: round$1(rect.height / scaleY),
2674
+ top: round$1(rect.top / scaleY),
2675
+ right: round$1(rect.right / scaleX),
2676
+ bottom: round$1(rect.bottom / scaleY),
2677
+ left: round$1(rect.left / scaleX),
2678
+ x: round$1(rect.left / scaleX),
2679
+ y: round$1(rect.top / scaleY)
2691
2680
  };
2692
2681
  }
2693
2682
 
@@ -2836,13 +2825,13 @@ function getMainAxisFromPlacement(placement) {
2836
2825
  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
2837
2826
  }
2838
2827
 
2828
+ var max = Math.max;
2829
+ var min = Math.min;
2830
+ var round = Math.round;
2831
+
2839
2832
  function within(min$1, value, max$1) {
2840
2833
  return max(min$1, min(value, max$1));
2841
2834
  }
2842
- function withinMaxClamp(min, value, max) {
2843
- var v = within(min, value, max);
2844
- return v > max ? max : v;
2845
- }
2846
2835
 
2847
2836
  function getFreshSideObject() {
2848
2837
  return {
@@ -2955,10 +2944,6 @@ var arrow$1 = {
2955
2944
  requiresIfExists: ['preventOverflow']
2956
2945
  };
2957
2946
 
2958
- function getVariation(placement) {
2959
- return placement.split('-')[1];
2960
- }
2961
-
2962
2947
  var unsetSides = {
2963
2948
  top: 'auto',
2964
2949
  right: 'auto',
@@ -2974,8 +2959,8 @@ function roundOffsetsByDPR(_ref) {
2974
2959
  var win = window;
2975
2960
  var dpr = win.devicePixelRatio || 1;
2976
2961
  return {
2977
- x: round(x * dpr) / dpr || 0,
2978
- y: round(y * dpr) / dpr || 0
2962
+ x: round(round(x * dpr) / dpr) || 0,
2963
+ y: round(round(y * dpr) / dpr) || 0
2979
2964
  };
2980
2965
  }
2981
2966
 
@@ -2985,28 +2970,18 @@ function mapToStyles(_ref2) {
2985
2970
  var popper = _ref2.popper,
2986
2971
  popperRect = _ref2.popperRect,
2987
2972
  placement = _ref2.placement,
2988
- variation = _ref2.variation,
2989
2973
  offsets = _ref2.offsets,
2990
2974
  position = _ref2.position,
2991
2975
  gpuAcceleration = _ref2.gpuAcceleration,
2992
2976
  adaptive = _ref2.adaptive,
2993
- roundOffsets = _ref2.roundOffsets,
2994
- isFixed = _ref2.isFixed;
2995
- var _offsets$x = offsets.x,
2996
- x = _offsets$x === void 0 ? 0 : _offsets$x,
2997
- _offsets$y = offsets.y,
2998
- y = _offsets$y === void 0 ? 0 : _offsets$y;
2999
-
3000
- var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
3001
- x: x,
3002
- y: y
3003
- }) : {
3004
- x: x,
3005
- y: y
3006
- };
2977
+ roundOffsets = _ref2.roundOffsets;
2978
+
2979
+ var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
2980
+ _ref3$x = _ref3.x,
2981
+ x = _ref3$x === void 0 ? 0 : _ref3$x,
2982
+ _ref3$y = _ref3.y,
2983
+ y = _ref3$y === void 0 ? 0 : _ref3$y;
3007
2984
 
3008
- x = _ref3.x;
3009
- y = _ref3.y;
3010
2985
  var hasX = offsets.hasOwnProperty('x');
3011
2986
  var hasY = offsets.hasOwnProperty('y');
3012
2987
  var sideX = left;
@@ -3021,7 +2996,7 @@ function mapToStyles(_ref2) {
3021
2996
  if (offsetParent === getWindow(popper)) {
3022
2997
  offsetParent = getDocumentElement(popper);
3023
2998
 
3024
- if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
2999
+ if (getComputedStyle$1(offsetParent).position !== 'static') {
3025
3000
  heightProp = 'scrollHeight';
3026
3001
  widthProp = 'scrollWidth';
3027
3002
  }
@@ -3030,19 +3005,17 @@ function mapToStyles(_ref2) {
3030
3005
 
3031
3006
  offsetParent = offsetParent;
3032
3007
 
3033
- if (placement === top || (placement === left || placement === right) && variation === end) {
3034
- sideY = bottom;
3035
- var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
3036
- offsetParent[heightProp];
3037
- y -= offsetY - popperRect.height;
3008
+ if (placement === top) {
3009
+ sideY = bottom; // $FlowFixMe[prop-missing]
3010
+
3011
+ y -= offsetParent[heightProp] - popperRect.height;
3038
3012
  y *= gpuAcceleration ? 1 : -1;
3039
3013
  }
3040
3014
 
3041
- if (placement === left || (placement === top || placement === bottom) && variation === end) {
3042
- sideX = right;
3043
- var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
3044
- offsetParent[widthProp];
3045
- x -= offsetX - popperRect.width;
3015
+ if (placement === left) {
3016
+ sideX = right; // $FlowFixMe[prop-missing]
3017
+
3018
+ x -= offsetParent[widthProp] - popperRect.width;
3046
3019
  x *= gpuAcceleration ? 1 : -1;
3047
3020
  }
3048
3021
  }
@@ -3051,29 +3024,18 @@ function mapToStyles(_ref2) {
3051
3024
  position: position
3052
3025
  }, adaptive && unsetSides);
3053
3026
 
3054
- var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
3055
- x: x,
3056
- y: y
3057
- }) : {
3058
- x: x,
3059
- y: y
3060
- };
3061
-
3062
- x = _ref4.x;
3063
- y = _ref4.y;
3064
-
3065
3027
  if (gpuAcceleration) {
3066
3028
  var _Object$assign;
3067
3029
 
3068
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
3030
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
3069
3031
  }
3070
3032
 
3071
3033
  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
3072
3034
  }
3073
3035
 
3074
- function computeStyles(_ref5) {
3075
- var state = _ref5.state,
3076
- options = _ref5.options;
3036
+ function computeStyles(_ref4) {
3037
+ var state = _ref4.state,
3038
+ options = _ref4.options;
3077
3039
  var _options$gpuAccelerat = options.gpuAcceleration,
3078
3040
  gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
3079
3041
  _options$adaptive = options.adaptive,
@@ -3093,11 +3055,9 @@ function computeStyles(_ref5) {
3093
3055
 
3094
3056
  var commonStyles = {
3095
3057
  placement: getBasePlacement(state.placement),
3096
- variation: getVariation(state.placement),
3097
3058
  popper: state.elements.popper,
3098
3059
  popperRect: state.rects.popper,
3099
- gpuAcceleration: gpuAcceleration,
3100
- isFixed: state.options.strategy === 'fixed'
3060
+ gpuAcceleration: gpuAcceleration
3101
3061
  };
3102
3062
 
3103
3063
  if (state.modifiersData.popperOffsets != null) {
@@ -3355,7 +3315,7 @@ function getInnerBoundingClientRect(element) {
3355
3315
  }
3356
3316
 
3357
3317
  function getClientRectFromMixedType(element, clippingParent) {
3358
- return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
3318
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
3359
3319
  } // A "clipping parent" is an overflowable container with the characteristic of
3360
3320
  // clipping (or hiding) overflowing elements with a position different from
3361
3321
  // `initial`
@@ -3397,6 +3357,10 @@ function getClippingRect(element, boundary, rootBoundary) {
3397
3357
  return clippingRect;
3398
3358
  }
3399
3359
 
3360
+ function getVariation(placement) {
3361
+ return placement.split('-')[1];
3362
+ }
3363
+
3400
3364
  function computeOffsets(_ref) {
3401
3365
  var reference = _ref.reference,
3402
3366
  element = _ref.element,
@@ -3482,10 +3446,11 @@ function detectOverflow(state, options) {
3482
3446
  padding = _options$padding === void 0 ? 0 : _options$padding;
3483
3447
  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
3484
3448
  var altContext = elementContext === popper ? reference : popper;
3449
+ var referenceElement = state.elements.reference;
3485
3450
  var popperRect = state.rects.popper;
3486
3451
  var element = state.elements[altBoundary ? altContext : elementContext];
3487
3452
  var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
3488
- var referenceClientRect = getBoundingClientRect(state.elements.reference);
3453
+ var referenceClientRect = getBoundingClientRect(referenceElement);
3489
3454
  var popperOffsets = computeOffsets({
3490
3455
  reference: referenceClientRect,
3491
3456
  element: popperRect,
@@ -3872,14 +3837,6 @@ function preventOverflow(_ref) {
3872
3837
  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
3873
3838
  placement: state.placement
3874
3839
  })) : tetherOffset;
3875
- var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
3876
- mainAxis: tetherOffsetValue,
3877
- altAxis: tetherOffsetValue
3878
- } : Object.assign({
3879
- mainAxis: 0,
3880
- altAxis: 0
3881
- }, tetherOffsetValue);
3882
- var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
3883
3840
  var data = {
3884
3841
  x: 0,
3885
3842
  y: 0
@@ -3889,15 +3846,13 @@ function preventOverflow(_ref) {
3889
3846
  return;
3890
3847
  }
3891
3848
 
3892
- if (checkMainAxis) {
3893
- var _offsetModifierState$;
3894
-
3849
+ if (checkMainAxis || checkAltAxis) {
3895
3850
  var mainSide = mainAxis === 'y' ? top : left;
3896
3851
  var altSide = mainAxis === 'y' ? bottom : right;
3897
3852
  var len = mainAxis === 'y' ? 'height' : 'width';
3898
3853
  var offset = popperOffsets[mainAxis];
3899
- var min$1 = offset + overflow[mainSide];
3900
- var max$1 = offset - overflow[altSide];
3854
+ var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
3855
+ var max$1 = popperOffsets[mainAxis] - overflow[altSide];
3901
3856
  var additive = tether ? -popperRect[len] / 2 : 0;
3902
3857
  var minLen = variation === start ? referenceRect[len] : popperRect[len];
3903
3858
  var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
@@ -3917,45 +3872,36 @@ function preventOverflow(_ref) {
3917
3872
  // width or height)
3918
3873
 
3919
3874
  var arrowLen = within(0, referenceRect[len], arrowRect[len]);
3920
- var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
3921
- var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
3875
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
3876
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
3922
3877
  var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
3923
3878
  var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
3924
- var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
3925
- var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
3926
- var tetherMax = offset + maxOffset - offsetModifierValue;
3927
- var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
3928
- popperOffsets[mainAxis] = preventedOffset;
3929
- data[mainAxis] = preventedOffset - offset;
3930
- }
3931
-
3932
- if (checkAltAxis) {
3933
- var _offsetModifierState$2;
3934
-
3935
- var _mainSide = mainAxis === 'x' ? top : left;
3936
-
3937
- var _altSide = mainAxis === 'x' ? bottom : right;
3938
-
3939
- var _offset = popperOffsets[altAxis];
3940
-
3941
- var _len = altAxis === 'y' ? 'height' : 'width';
3879
+ var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
3880
+ var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
3881
+ var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
3942
3882
 
3943
- var _min = _offset + overflow[_mainSide];
3883
+ if (checkMainAxis) {
3884
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
3885
+ popperOffsets[mainAxis] = preventedOffset;
3886
+ data[mainAxis] = preventedOffset - offset;
3887
+ }
3944
3888
 
3945
- var _max = _offset - overflow[_altSide];
3889
+ if (checkAltAxis) {
3890
+ var _mainSide = mainAxis === 'x' ? top : left;
3946
3891
 
3947
- var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
3892
+ var _altSide = mainAxis === 'x' ? bottom : right;
3948
3893
 
3949
- var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
3894
+ var _offset = popperOffsets[altAxis];
3950
3895
 
3951
- var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
3896
+ var _min = _offset + overflow[_mainSide];
3952
3897
 
3953
- var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
3898
+ var _max = _offset - overflow[_altSide];
3954
3899
 
3955
- var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
3900
+ var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
3956
3901
 
3957
- popperOffsets[altAxis] = _preventedOffset;
3958
- data[altAxis] = _preventedOffset - _offset;
3902
+ popperOffsets[altAxis] = _preventedOffset;
3903
+ data[altAxis] = _preventedOffset - _offset;
3904
+ }
3959
3905
  }
3960
3906
 
3961
3907
  state.modifiersData[name] = data;
@@ -3987,8 +3933,8 @@ function getNodeScroll(node) {
3987
3933
 
3988
3934
  function isElementScaled(element) {
3989
3935
  var rect = element.getBoundingClientRect();
3990
- var scaleX = round(rect.width) / element.offsetWidth || 1;
3991
- var scaleY = round(rect.height) / element.offsetHeight || 1;
3936
+ var scaleX = rect.width / element.offsetWidth || 1;
3937
+ var scaleY = rect.height / element.offsetHeight || 1;
3992
3938
  return scaleX !== 1 || scaleY !== 1;
3993
3939
  } // Returns the composite rect of an element relative to its offsetParent.
3994
3940
  // Composite means it takes into account transforms as well as layout.
@@ -4109,10 +4055,7 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
4109
4055
  var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
4110
4056
  function validateModifiers(modifiers) {
4111
4057
  modifiers.forEach(function (modifier) {
4112
- [].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
4113
- .filter(function (value, index, self) {
4114
- return self.indexOf(value) === index;
4115
- }).forEach(function (key) {
4058
+ Object.keys(modifier).forEach(function (key) {
4116
4059
  switch (key) {
4117
4060
  case 'name':
4118
4061
  if (typeof modifier.name !== 'string') {
@@ -4126,8 +4069,6 @@ function validateModifiers(modifiers) {
4126
4069
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
4127
4070
  }
4128
4071
 
4129
- break;
4130
-
4131
4072
  case 'phase':
4132
4073
  if (modifierPhases.indexOf(modifier.phase) < 0) {
4133
4074
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
@@ -4143,14 +4084,14 @@ function validateModifiers(modifiers) {
4143
4084
  break;
4144
4085
 
4145
4086
  case 'effect':
4146
- if (modifier.effect != null && typeof modifier.effect !== 'function') {
4087
+ if (typeof modifier.effect !== 'function') {
4147
4088
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
4148
4089
  }
4149
4090
 
4150
4091
  break;
4151
4092
 
4152
4093
  case 'requires':
4153
- if (modifier.requires != null && !Array.isArray(modifier.requires)) {
4094
+ if (!Array.isArray(modifier.requires)) {
4154
4095
  console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
4155
4096
  }
4156
4097
 
@@ -4260,8 +4201,7 @@ function popperGenerator(generatorOptions) {
4260
4201
  var isDestroyed = false;
4261
4202
  var instance = {
4262
4203
  state: state,
4263
- setOptions: function setOptions(setOptionsAction) {
4264
- var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
4204
+ setOptions: function setOptions(options) {
4265
4205
  cleanupModifierEffects();
4266
4206
  state.options = Object.assign({}, defaultOptions, state.options, options);
4267
4207
  state.scrollParents = {