@mjhls/mjh-framework 1.0.994-yt-lazyloading-test → 1.0.995
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.
- package/README.md +1 -1
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -6
- package/dist/cjs/AD300x250x600.js +5 -6
- package/dist/cjs/AD728x90.js +6 -7
- package/dist/cjs/ADFloatingFooter.js +8 -9
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -9
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-ef933a08.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -9
- package/dist/cjs/ADSponsoredResources.js +8 -9
- package/dist/cjs/ADWebcast.js +8 -9
- package/dist/cjs/ADWelcome.js +12 -13
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-0e931f24.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -10
- package/dist/cjs/AdSlotsProvider.js +5 -6
- package/dist/cjs/AlgoliaSearch.js +1451 -902
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +14 -15
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -12
- package/dist/cjs/ArticleSeriesListing.js +29 -30
- package/dist/cjs/Auth.js +114 -85
- package/dist/cjs/AuthWrapper.js +113 -43
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -62
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -28
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -50
- package/dist/cjs/DeckContent.js +58 -59
- package/dist/cjs/DeckQueue.js +57 -58
- package/dist/cjs/DeckQueuePaginated.js +46 -47
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
- package/dist/cjs/EventsDeck.js +90 -90
- package/dist/cjs/ExternalResources.js +34 -35
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -135
- package/dist/cjs/GridContentPaginated.js +121 -122
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +105 -105
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +17 -17
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +28 -29
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-1ec0408b.js} +212 -172
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +19 -20
- package/dist/cjs/LeftNav.js +17 -18
- package/dist/cjs/MasterDeck.js +39 -40
- package/dist/cjs/MasterDeckPaginated.js +29 -30
- package/dist/cjs/{MediaSeriesCard-a956c3ed.js → MediaSeriesCard-869906ff.js} +720 -637
- package/dist/cjs/MediaSeriesLanding.js +36 -37
- package/dist/cjs/MediaSeriesLandingPaginated.js +35 -36
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-4799de4b.js → NavFooter-880e9d87.js} +11 -11
- package/dist/cjs/NavMagazine.js +106 -106
- package/dist/cjs/NavNative.js +97 -97
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +49 -51
- package/dist/cjs/PartnerDetailListingPaginated.js +45 -47
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -14
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
- package/dist/cjs/PublicationLanding.js +73 -73
- package/dist/cjs/QueueDeckExpanded.js +245 -246
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -223
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +14 -14
- package/dist/cjs/RelatedTopicsDropdown.js +14 -14
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -19
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-18fc6e71.js} +22 -22
- package/dist/cjs/SideFooter.js +18 -18
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-ca9c0c45.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +11 -12
- package/dist/cjs/TemplateNormal.js +27 -28
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +28 -29
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -12
- package/dist/cjs/VideoSeriesListing.js +46 -47
- package/dist/cjs/View.js +221 -222
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +33 -33
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/getSerializers.js +6 -7
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/index-b95410f0.js +54 -0
- package/dist/cjs/{index-f95a3c0f.js → index-e4f1fe32.js} +487 -499
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-1461604c.js → index.esm-f59ef5b4.js} +14 -14
- package/dist/cjs/index.js +102 -105
- package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -3
- package/dist/esm/AD300x250x600.js +2 -3
- package/dist/esm/AD728x90.js +2 -3
- package/dist/esm/ADFloatingFooter.js +2 -3
- package/dist/esm/ADGutter.js +2 -3
- package/dist/esm/ADSkyscraper.js +2 -3
- package/dist/esm/ADSponsoredResources.js +2 -3
- package/dist/esm/ADWebcast.js +2 -3
- package/dist/esm/ADWelcome.js +2 -3
- package/dist/esm/AdSlot.js +2 -3
- package/dist/esm/AdSlotsProvider.js +2 -3
- package/dist/esm/AlgoliaSearch.js +1065 -516
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -4
- package/dist/esm/ArticleSeriesLandingPage.js +4 -5
- package/dist/esm/ArticleSeriesListing.js +2 -3
- package/dist/esm/Auth.js +40 -11
- package/dist/esm/AuthWrapper.js +86 -16
- package/dist/esm/CMEDeck.js +2 -3
- package/dist/esm/Column3.js +2 -3
- package/dist/esm/ContentCardPaginated.js +4 -5
- package/dist/esm/DeckContent.js +3 -4
- package/dist/esm/DeckQueue.js +2 -3
- package/dist/esm/DeckQueuePaginated.js +3 -4
- package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +4 -5
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +4 -5
- package/dist/esm/GridContentPaginated.js +5 -6
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +3 -4
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-83913c4c.js} +157 -117
- package/dist/esm/IssueLanding.js +5 -6
- package/dist/esm/LeftNav.js +2 -3
- package/dist/esm/MasterDeck.js +4 -5
- package/dist/esm/MasterDeckPaginated.js +5 -6
- package/dist/esm/{MediaSeriesCard-5561513e.js → MediaSeriesCard-4e0ddeca.js} +151 -68
- package/dist/esm/MediaSeriesLanding.js +7 -8
- package/dist/esm/MediaSeriesLandingPaginated.js +8 -9
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +6 -8
- package/dist/esm/PartnerDetailListingPaginated.js +7 -9
- package/dist/esm/PubSection.js +4 -5
- package/dist/esm/QueueDeckExpanded.js +4 -5
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
- package/dist/esm/SeriesListingDeck.js +3 -4
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-5728e349.js} +1 -1
- package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-68d948b9.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -4
- package/dist/esm/TemplateNormal.js +3 -4
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -4
- package/dist/esm/VideoSeriesLandingPage.js +4 -5
- package/dist/esm/VideoSeriesListing.js +2 -3
- package/dist/esm/View.js +4 -5
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getSerializers.js +3 -4
- package/dist/esm/index-174b5baf.js +52 -0
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-04817712.js → index-3bb56969.js} +8 -20
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/index.js +10 -13
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-f946441a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-012e6f16.js} +0 -0
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-3bb56969.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -18,14 +18,13 @@ import './index.es-a6137319.js';
|
|
|
18
18
|
import './moment-bc12cb97.js';
|
|
19
19
|
import './visibility-sensor-72fd8f8b.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import './index-
|
|
22
|
-
import './events-6c3a7a63.js';
|
|
21
|
+
import './index-5cc7b406.js';
|
|
23
22
|
import 'prop-types';
|
|
24
23
|
import 'next/router';
|
|
25
24
|
import './index-755f2cc2.js';
|
|
26
|
-
import './main-
|
|
25
|
+
import './main-9f6806ea.js';
|
|
27
26
|
import './entities-6d9154b4.js';
|
|
28
|
-
import './ADInfeed-
|
|
27
|
+
import './ADInfeed-f946441a.js';
|
|
29
28
|
import 'react-bootstrap/Card';
|
|
30
29
|
import './AdSlot.js';
|
|
31
30
|
import './debounce-533d9748.js';
|
|
@@ -38,7 +37,7 @@ import './_library-528f1934.js';
|
|
|
38
37
|
import './Segment.js';
|
|
39
38
|
import './AuthorComponent-11adff02.js';
|
|
40
39
|
import './lodash-f97fd99a.js';
|
|
41
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADlgInfeed-012e6f16.js';
|
|
42
41
|
import './getContentCategory-15dcc413.js';
|
|
43
42
|
import './timeDifferenceCalc.js';
|
|
44
43
|
import 'react-bootstrap/Breadcrumb';
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -11,8 +11,7 @@ import './AdSlot.js';
|
|
|
11
11
|
import './extends-6d8e3924.js';
|
|
12
12
|
import './_object-pie-133f504a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import './index-
|
|
15
|
-
import './events-6c3a7a63.js';
|
|
14
|
+
import './index-5cc7b406.js';
|
|
16
15
|
import './debounce-533d9748.js';
|
|
17
16
|
import './isSymbol-a7e9aafe.js';
|
|
18
17
|
import './toNumber-5aeba6e7.js';
|
|
@@ -21,7 +20,7 @@ import './stringify-2b084bee.js';
|
|
|
21
20
|
import './asyncToGenerator-958ef5fc.js';
|
|
22
21
|
import './_library-528f1934.js';
|
|
23
22
|
import './_iter-detect-98db3b07.js';
|
|
24
|
-
import './main-
|
|
23
|
+
import './main-9f6806ea.js';
|
|
25
24
|
|
|
26
25
|
var LeftNav = function LeftNav(props) {
|
|
27
26
|
var leftItems = props.leftItems,
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { l as lib_3 } from './index-
|
|
6
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
7
7
|
import Container from 'react-bootstrap/Container';
|
|
8
8
|
import 'react-bootstrap/Row';
|
|
9
9
|
import 'react-bootstrap/Col';
|
|
@@ -16,9 +16,9 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import './slicedToArray-6ebcbfea.js';
|
|
18
18
|
import './index-3f5c03b2.js';
|
|
19
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
20
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
21
|
-
import './main-
|
|
19
|
+
import { A as ADlgInfeed } from './ADlgInfeed-012e6f16.js';
|
|
20
|
+
import { A as ADInfeed } from './ADInfeed-f946441a.js';
|
|
21
|
+
import './main-9f6806ea.js';
|
|
22
22
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
23
23
|
import './core.get-iterator-method-ea258bb1.js';
|
|
24
24
|
import './_iter-detect-98db3b07.js';
|
|
@@ -29,7 +29,6 @@ import './_object-sap-7cee6f84.js';
|
|
|
29
29
|
import './define-property-5f1bda73.js';
|
|
30
30
|
import './typeof-e9fc0c5d.js';
|
|
31
31
|
import './_is-array-8d21b9e3.js';
|
|
32
|
-
import './events-6c3a7a63.js';
|
|
33
32
|
import 'prop-types';
|
|
34
33
|
import './isSymbol-a7e9aafe.js';
|
|
35
34
|
import './toNumber-5aeba6e7.js';
|
|
@@ -4,15 +4,15 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
4
4
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
5
5
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
-
import { l as lib_3 } from './index-
|
|
7
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
8
8
|
import Container from 'react-bootstrap/Container';
|
|
9
9
|
import Spinner from 'react-bootstrap/Spinner';
|
|
10
10
|
import { withRouter } from 'next/router';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-
|
|
13
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
-
import { P as Pagination } from './Pagination-
|
|
12
|
+
import { m as main_43 } from './main-9f6806ea.js';
|
|
13
|
+
import { A as ADlgInfeed } from './ADlgInfeed-012e6f16.js';
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-f946441a.js';
|
|
15
|
+
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -23,7 +23,6 @@ import './_object-sap-7cee6f84.js';
|
|
|
23
23
|
import './define-property-5f1bda73.js';
|
|
24
24
|
import './typeof-e9fc0c5d.js';
|
|
25
25
|
import './_is-array-8d21b9e3.js';
|
|
26
|
-
import './events-6c3a7a63.js';
|
|
27
26
|
import 'prop-types';
|
|
28
27
|
import './slicedToArray-6ebcbfea.js';
|
|
29
28
|
import 'react-bootstrap/Card';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as classnames } from './index-174b5baf.js';
|
|
2
2
|
import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import ReactDOM from 'react-dom';
|
|
@@ -9,7 +9,40 @@ import urlFor from './urlFor.js';
|
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-3bb56969.js';
|
|
13
|
+
|
|
14
|
+
function _extends() {
|
|
15
|
+
_extends = Object.assign || function (target) {
|
|
16
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
17
|
+
var source = arguments[i];
|
|
18
|
+
|
|
19
|
+
for (var key in source) {
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
21
|
+
target[key] = source[key];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return target;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
return _extends.apply(this, arguments);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
33
|
+
if (source == null) return {};
|
|
34
|
+
var target = {};
|
|
35
|
+
var sourceKeys = Object.keys(source);
|
|
36
|
+
var key, i;
|
|
37
|
+
|
|
38
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
39
|
+
key = sourceKeys[i];
|
|
40
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
41
|
+
target[key] = source[key];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return target;
|
|
45
|
+
}
|
|
13
46
|
|
|
14
47
|
/**
|
|
15
48
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -116,6 +149,15 @@ function useUncontrolled(props, config) {
|
|
|
116
149
|
}, props);
|
|
117
150
|
}
|
|
118
151
|
|
|
152
|
+
function _setPrototypeOf(o, p) {
|
|
153
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
154
|
+
o.__proto__ = p;
|
|
155
|
+
return o;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
return _setPrototypeOf(o, p);
|
|
159
|
+
}
|
|
160
|
+
|
|
119
161
|
function _inheritsLoose(subClass, superClass) {
|
|
120
162
|
subClass.prototype = Object.create(superClass.prototype);
|
|
121
163
|
subClass.prototype.constructor = subClass;
|
|
@@ -2659,7 +2701,10 @@ function isShadowRoot(node) {
|
|
|
2659
2701
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2660
2702
|
}
|
|
2661
2703
|
|
|
2662
|
-
var
|
|
2704
|
+
var max = Math.max;
|
|
2705
|
+
var min = Math.min;
|
|
2706
|
+
var round = Math.round;
|
|
2707
|
+
|
|
2663
2708
|
function getBoundingClientRect(element, includeScale) {
|
|
2664
2709
|
if (includeScale === void 0) {
|
|
2665
2710
|
includeScale = false;
|
|
@@ -2670,20 +2715,28 @@ function getBoundingClientRect(element, includeScale) {
|
|
|
2670
2715
|
var scaleY = 1;
|
|
2671
2716
|
|
|
2672
2717
|
if (isHTMLElement(element) && includeScale) {
|
|
2718
|
+
var offsetHeight = element.offsetHeight;
|
|
2719
|
+
var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
|
|
2673
2720
|
// Fallback to 1 in case both values are `0`
|
|
2674
|
-
|
|
2675
|
-
|
|
2721
|
+
|
|
2722
|
+
if (offsetWidth > 0) {
|
|
2723
|
+
scaleX = round(rect.width) / offsetWidth || 1;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
if (offsetHeight > 0) {
|
|
2727
|
+
scaleY = round(rect.height) / offsetHeight || 1;
|
|
2728
|
+
}
|
|
2676
2729
|
}
|
|
2677
2730
|
|
|
2678
2731
|
return {
|
|
2679
|
-
width:
|
|
2680
|
-
height:
|
|
2681
|
-
top:
|
|
2682
|
-
right:
|
|
2683
|
-
bottom:
|
|
2684
|
-
left:
|
|
2685
|
-
x:
|
|
2686
|
-
y:
|
|
2732
|
+
width: rect.width / scaleX,
|
|
2733
|
+
height: rect.height / scaleY,
|
|
2734
|
+
top: rect.top / scaleY,
|
|
2735
|
+
right: rect.right / scaleX,
|
|
2736
|
+
bottom: rect.bottom / scaleY,
|
|
2737
|
+
left: rect.left / scaleX,
|
|
2738
|
+
x: rect.left / scaleX,
|
|
2739
|
+
y: rect.top / scaleY
|
|
2687
2740
|
};
|
|
2688
2741
|
}
|
|
2689
2742
|
|
|
@@ -2832,13 +2885,13 @@ function getMainAxisFromPlacement(placement) {
|
|
|
2832
2885
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
2833
2886
|
}
|
|
2834
2887
|
|
|
2835
|
-
var max = Math.max;
|
|
2836
|
-
var min = Math.min;
|
|
2837
|
-
var round = Math.round;
|
|
2838
|
-
|
|
2839
2888
|
function within(min$1, value, max$1) {
|
|
2840
2889
|
return max(min$1, min(value, max$1));
|
|
2841
2890
|
}
|
|
2891
|
+
function withinMaxClamp(min, value, max) {
|
|
2892
|
+
var v = within(min, value, max);
|
|
2893
|
+
return v > max ? max : v;
|
|
2894
|
+
}
|
|
2842
2895
|
|
|
2843
2896
|
function getFreshSideObject() {
|
|
2844
2897
|
return {
|
|
@@ -2951,6 +3004,10 @@ var arrow$1 = {
|
|
|
2951
3004
|
requiresIfExists: ['preventOverflow']
|
|
2952
3005
|
};
|
|
2953
3006
|
|
|
3007
|
+
function getVariation(placement) {
|
|
3008
|
+
return placement.split('-')[1];
|
|
3009
|
+
}
|
|
3010
|
+
|
|
2954
3011
|
var unsetSides = {
|
|
2955
3012
|
top: 'auto',
|
|
2956
3013
|
right: 'auto',
|
|
@@ -2966,8 +3023,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
2966
3023
|
var win = window;
|
|
2967
3024
|
var dpr = win.devicePixelRatio || 1;
|
|
2968
3025
|
return {
|
|
2969
|
-
x: round(
|
|
2970
|
-
y: round(
|
|
3026
|
+
x: round(x * dpr) / dpr || 0,
|
|
3027
|
+
y: round(y * dpr) / dpr || 0
|
|
2971
3028
|
};
|
|
2972
3029
|
}
|
|
2973
3030
|
|
|
@@ -2977,11 +3034,13 @@ function mapToStyles(_ref2) {
|
|
|
2977
3034
|
var popper = _ref2.popper,
|
|
2978
3035
|
popperRect = _ref2.popperRect,
|
|
2979
3036
|
placement = _ref2.placement,
|
|
3037
|
+
variation = _ref2.variation,
|
|
2980
3038
|
offsets = _ref2.offsets,
|
|
2981
3039
|
position = _ref2.position,
|
|
2982
3040
|
gpuAcceleration = _ref2.gpuAcceleration,
|
|
2983
3041
|
adaptive = _ref2.adaptive,
|
|
2984
|
-
roundOffsets = _ref2.roundOffsets
|
|
3042
|
+
roundOffsets = _ref2.roundOffsets,
|
|
3043
|
+
isFixed = _ref2.isFixed;
|
|
2985
3044
|
|
|
2986
3045
|
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
2987
3046
|
_ref3$x = _ref3.x,
|
|
@@ -3003,7 +3062,7 @@ function mapToStyles(_ref2) {
|
|
|
3003
3062
|
if (offsetParent === getWindow(popper)) {
|
|
3004
3063
|
offsetParent = getDocumentElement(popper);
|
|
3005
3064
|
|
|
3006
|
-
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
3065
|
+
if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
|
|
3007
3066
|
heightProp = 'scrollHeight';
|
|
3008
3067
|
widthProp = 'scrollWidth';
|
|
3009
3068
|
}
|
|
@@ -3012,17 +3071,19 @@ function mapToStyles(_ref2) {
|
|
|
3012
3071
|
|
|
3013
3072
|
offsetParent = offsetParent;
|
|
3014
3073
|
|
|
3015
|
-
if (placement === top) {
|
|
3016
|
-
sideY = bottom;
|
|
3017
|
-
|
|
3018
|
-
|
|
3074
|
+
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
3075
|
+
sideY = bottom;
|
|
3076
|
+
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
3077
|
+
offsetParent[heightProp];
|
|
3078
|
+
y -= offsetY - popperRect.height;
|
|
3019
3079
|
y *= gpuAcceleration ? 1 : -1;
|
|
3020
3080
|
}
|
|
3021
3081
|
|
|
3022
|
-
if (placement === left) {
|
|
3023
|
-
sideX = right;
|
|
3024
|
-
|
|
3025
|
-
|
|
3082
|
+
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
3083
|
+
sideX = right;
|
|
3084
|
+
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
3085
|
+
offsetParent[widthProp];
|
|
3086
|
+
x -= offsetX - popperRect.width;
|
|
3026
3087
|
x *= gpuAcceleration ? 1 : -1;
|
|
3027
3088
|
}
|
|
3028
3089
|
}
|
|
@@ -3034,7 +3095,7 @@ function mapToStyles(_ref2) {
|
|
|
3034
3095
|
if (gpuAcceleration) {
|
|
3035
3096
|
var _Object$assign;
|
|
3036
3097
|
|
|
3037
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1)
|
|
3098
|
+
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));
|
|
3038
3099
|
}
|
|
3039
3100
|
|
|
3040
3101
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
@@ -3062,9 +3123,11 @@ function computeStyles(_ref4) {
|
|
|
3062
3123
|
|
|
3063
3124
|
var commonStyles = {
|
|
3064
3125
|
placement: getBasePlacement(state.placement),
|
|
3126
|
+
variation: getVariation(state.placement),
|
|
3065
3127
|
popper: state.elements.popper,
|
|
3066
3128
|
popperRect: state.rects.popper,
|
|
3067
|
-
gpuAcceleration: gpuAcceleration
|
|
3129
|
+
gpuAcceleration: gpuAcceleration,
|
|
3130
|
+
isFixed: state.options.strategy === 'fixed'
|
|
3068
3131
|
};
|
|
3069
3132
|
|
|
3070
3133
|
if (state.modifiersData.popperOffsets != null) {
|
|
@@ -3322,7 +3385,7 @@ function getInnerBoundingClientRect(element) {
|
|
|
3322
3385
|
}
|
|
3323
3386
|
|
|
3324
3387
|
function getClientRectFromMixedType(element, clippingParent) {
|
|
3325
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) :
|
|
3388
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
3326
3389
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
3327
3390
|
// clipping (or hiding) overflowing elements with a position different from
|
|
3328
3391
|
// `initial`
|
|
@@ -3339,7 +3402,7 @@ function getClippingParents(element) {
|
|
|
3339
3402
|
|
|
3340
3403
|
|
|
3341
3404
|
return clippingParents.filter(function (clippingParent) {
|
|
3342
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3405
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
|
|
3343
3406
|
});
|
|
3344
3407
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3345
3408
|
// clipping parents
|
|
@@ -3364,10 +3427,6 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
3364
3427
|
return clippingRect;
|
|
3365
3428
|
}
|
|
3366
3429
|
|
|
3367
|
-
function getVariation(placement) {
|
|
3368
|
-
return placement.split('-')[1];
|
|
3369
|
-
}
|
|
3370
|
-
|
|
3371
3430
|
function computeOffsets(_ref) {
|
|
3372
3431
|
var reference = _ref.reference,
|
|
3373
3432
|
element = _ref.element,
|
|
@@ -3453,11 +3512,10 @@ function detectOverflow(state, options) {
|
|
|
3453
3512
|
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
3454
3513
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
3455
3514
|
var altContext = elementContext === popper ? reference : popper;
|
|
3456
|
-
var referenceElement = state.elements.reference;
|
|
3457
3515
|
var popperRect = state.rects.popper;
|
|
3458
3516
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
3459
3517
|
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
3460
|
-
var referenceClientRect = getBoundingClientRect(
|
|
3518
|
+
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
3461
3519
|
var popperOffsets = computeOffsets({
|
|
3462
3520
|
reference: referenceClientRect,
|
|
3463
3521
|
element: popperRect,
|
|
@@ -3844,6 +3902,14 @@ function preventOverflow(_ref) {
|
|
|
3844
3902
|
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
3845
3903
|
placement: state.placement
|
|
3846
3904
|
})) : tetherOffset;
|
|
3905
|
+
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
|
3906
|
+
mainAxis: tetherOffsetValue,
|
|
3907
|
+
altAxis: tetherOffsetValue
|
|
3908
|
+
} : Object.assign({
|
|
3909
|
+
mainAxis: 0,
|
|
3910
|
+
altAxis: 0
|
|
3911
|
+
}, tetherOffsetValue);
|
|
3912
|
+
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
3847
3913
|
var data = {
|
|
3848
3914
|
x: 0,
|
|
3849
3915
|
y: 0
|
|
@@ -3853,13 +3919,15 @@ function preventOverflow(_ref) {
|
|
|
3853
3919
|
return;
|
|
3854
3920
|
}
|
|
3855
3921
|
|
|
3856
|
-
if (checkMainAxis
|
|
3922
|
+
if (checkMainAxis) {
|
|
3923
|
+
var _offsetModifierState$;
|
|
3924
|
+
|
|
3857
3925
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
3858
3926
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
3859
3927
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
3860
3928
|
var offset = popperOffsets[mainAxis];
|
|
3861
|
-
var min$1 =
|
|
3862
|
-
var max$1 =
|
|
3929
|
+
var min$1 = offset + overflow[mainSide];
|
|
3930
|
+
var max$1 = offset - overflow[altSide];
|
|
3863
3931
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
3864
3932
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
3865
3933
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -3879,36 +3947,45 @@ function preventOverflow(_ref) {
|
|
|
3879
3947
|
// width or height)
|
|
3880
3948
|
|
|
3881
3949
|
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
3882
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin -
|
|
3883
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax +
|
|
3950
|
+
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
|
|
3951
|
+
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
3884
3952
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
3885
3953
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
3886
|
-
var offsetModifierValue =
|
|
3887
|
-
var tetherMin =
|
|
3888
|
-
var tetherMax =
|
|
3954
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
3955
|
+
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
3956
|
+
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
3957
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
3958
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
3959
|
+
data[mainAxis] = preventedOffset - offset;
|
|
3960
|
+
}
|
|
3889
3961
|
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
3893
|
-
data[mainAxis] = preventedOffset - offset;
|
|
3894
|
-
}
|
|
3962
|
+
if (checkAltAxis) {
|
|
3963
|
+
var _offsetModifierState$2;
|
|
3895
3964
|
|
|
3896
|
-
|
|
3897
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3965
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3898
3966
|
|
|
3899
|
-
|
|
3967
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3900
3968
|
|
|
3901
|
-
|
|
3969
|
+
var _offset = popperOffsets[altAxis];
|
|
3902
3970
|
|
|
3903
|
-
|
|
3971
|
+
var _len = altAxis === 'y' ? 'height' : 'width';
|
|
3904
3972
|
|
|
3905
|
-
|
|
3973
|
+
var _min = _offset + overflow[_mainSide];
|
|
3906
3974
|
|
|
3907
|
-
|
|
3975
|
+
var _max = _offset - overflow[_altSide];
|
|
3908
3976
|
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3977
|
+
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
3978
|
+
|
|
3979
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
3980
|
+
|
|
3981
|
+
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
3982
|
+
|
|
3983
|
+
var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
|
|
3984
|
+
|
|
3985
|
+
var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
|
|
3986
|
+
|
|
3987
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
3988
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
3912
3989
|
}
|
|
3913
3990
|
|
|
3914
3991
|
state.modifiersData[name] = data;
|
|
@@ -3940,8 +4017,8 @@ function getNodeScroll(node) {
|
|
|
3940
4017
|
|
|
3941
4018
|
function isElementScaled(element) {
|
|
3942
4019
|
var rect = element.getBoundingClientRect();
|
|
3943
|
-
var scaleX = rect.width / element.offsetWidth || 1;
|
|
3944
|
-
var scaleY = rect.height / element.offsetHeight || 1;
|
|
4020
|
+
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
4021
|
+
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
3945
4022
|
return scaleX !== 1 || scaleY !== 1;
|
|
3946
4023
|
} // Returns the composite rect of an element relative to its offsetParent.
|
|
3947
4024
|
// Composite means it takes into account transforms as well as layout.
|
|
@@ -4062,7 +4139,10 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
|
|
|
4062
4139
|
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
4063
4140
|
function validateModifiers(modifiers) {
|
|
4064
4141
|
modifiers.forEach(function (modifier) {
|
|
4065
|
-
Object.keys(modifier)
|
|
4142
|
+
[].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
|
|
4143
|
+
.filter(function (value, index, self) {
|
|
4144
|
+
return self.indexOf(value) === index;
|
|
4145
|
+
}).forEach(function (key) {
|
|
4066
4146
|
switch (key) {
|
|
4067
4147
|
case 'name':
|
|
4068
4148
|
if (typeof modifier.name !== 'string') {
|
|
@@ -4076,6 +4156,8 @@ function validateModifiers(modifiers) {
|
|
|
4076
4156
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
4077
4157
|
}
|
|
4078
4158
|
|
|
4159
|
+
break;
|
|
4160
|
+
|
|
4079
4161
|
case 'phase':
|
|
4080
4162
|
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
4081
4163
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
@@ -4091,14 +4173,14 @@ function validateModifiers(modifiers) {
|
|
|
4091
4173
|
break;
|
|
4092
4174
|
|
|
4093
4175
|
case 'effect':
|
|
4094
|
-
if (typeof modifier.effect !== 'function') {
|
|
4176
|
+
if (modifier.effect != null && typeof modifier.effect !== 'function') {
|
|
4095
4177
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
4096
4178
|
}
|
|
4097
4179
|
|
|
4098
4180
|
break;
|
|
4099
4181
|
|
|
4100
4182
|
case 'requires':
|
|
4101
|
-
if (!Array.isArray(modifier.requires)) {
|
|
4183
|
+
if (modifier.requires != null && !Array.isArray(modifier.requires)) {
|
|
4102
4184
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
4103
4185
|
}
|
|
4104
4186
|
|
|
@@ -4208,7 +4290,8 @@ function popperGenerator(generatorOptions) {
|
|
|
4208
4290
|
var isDestroyed = false;
|
|
4209
4291
|
var instance = {
|
|
4210
4292
|
state: state,
|
|
4211
|
-
setOptions: function setOptions(
|
|
4293
|
+
setOptions: function setOptions(setOptionsAction) {
|
|
4294
|
+
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
|
4212
4295
|
cleanupModifierEffects();
|
|
4213
4296
|
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
4214
4297
|
state.scrollParents = {
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
7
|
-
import './index-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-4e0ddeca.js';
|
|
7
|
+
import './index-174b5baf.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-3bb56969.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -27,8 +27,7 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
27
27
|
import './inherits-a6ba2ec4.js';
|
|
28
28
|
import './_object-sap-7cee6f84.js';
|
|
29
29
|
import './define-property-5f1bda73.js';
|
|
30
|
-
import './index-
|
|
31
|
-
import './events-6c3a7a63.js';
|
|
30
|
+
import './index-5cc7b406.js';
|
|
32
31
|
import 'react-bootstrap/Container';
|
|
33
32
|
import 'react-bootstrap/Row';
|
|
34
33
|
import 'react-bootstrap/Col';
|
|
@@ -40,13 +39,13 @@ import './isSymbol-a7e9aafe.js';
|
|
|
40
39
|
import './toNumber-5aeba6e7.js';
|
|
41
40
|
import './index.es-a6137319.js';
|
|
42
41
|
import './visibility-sensor-72fd8f8b.js';
|
|
43
|
-
import './ADlgInfeed-
|
|
42
|
+
import './ADlgInfeed-012e6f16.js';
|
|
44
43
|
import './AdSlot.js';
|
|
45
44
|
import './Beam.js';
|
|
46
45
|
import './stringify-2b084bee.js';
|
|
47
46
|
import './Segment.js';
|
|
48
|
-
import './main-
|
|
49
|
-
import './ADInfeed-
|
|
47
|
+
import './main-9f6806ea.js';
|
|
48
|
+
import './ADInfeed-f946441a.js';
|
|
50
49
|
import 'react-bootstrap';
|
|
51
50
|
import './index-c7e2ac95.js';
|
|
52
51
|
import './util-8ed16d48.js';
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
7
|
-
import './index-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-4e0ddeca.js';
|
|
7
|
+
import './index-174b5baf.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-3bb56969.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -28,14 +28,13 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
28
28
|
import './inherits-a6ba2ec4.js';
|
|
29
29
|
import './_object-sap-7cee6f84.js';
|
|
30
30
|
import './define-property-5f1bda73.js';
|
|
31
|
-
import './index-
|
|
32
|
-
import './events-6c3a7a63.js';
|
|
31
|
+
import './index-5cc7b406.js';
|
|
33
32
|
import 'react-bootstrap/Container';
|
|
34
33
|
import 'react-bootstrap/Spinner';
|
|
35
34
|
import 'next/router';
|
|
36
35
|
import './lodash-f97fd99a.js';
|
|
37
|
-
import './main-
|
|
38
|
-
import './ADlgInfeed-
|
|
36
|
+
import './main-9f6806ea.js';
|
|
37
|
+
import './ADlgInfeed-012e6f16.js';
|
|
39
38
|
import 'react-bootstrap/Card';
|
|
40
39
|
import './AdSlot.js';
|
|
41
40
|
import './debounce-533d9748.js';
|
|
@@ -43,8 +42,8 @@ import './isSymbol-a7e9aafe.js';
|
|
|
43
42
|
import './toNumber-5aeba6e7.js';
|
|
44
43
|
import './Beam.js';
|
|
45
44
|
import './Segment.js';
|
|
46
|
-
import './ADInfeed-
|
|
47
|
-
import './Pagination-
|
|
45
|
+
import './ADInfeed-f946441a.js';
|
|
46
|
+
import './Pagination-9fe9f61d.js';
|
|
48
47
|
import 'react-bootstrap/Button';
|
|
49
48
|
import './index.esm-1bd8a0a8.js';
|
|
50
49
|
import './iconBase-ccc56b97.js';
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -9,9 +9,9 @@ import { M as MdEmail } from './index.esm-9b042655.js';
|
|
|
9
9
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
10
10
|
import { N as NavFooter } from './NavFooter-3272e9cd.js';
|
|
11
11
|
import { S as SocialNavFooter } from './index.esm-07c37a92.js';
|
|
12
|
-
import { c as main_44 } from './main-
|
|
12
|
+
import { c as main_44 } from './main-9f6806ea.js';
|
|
13
13
|
import Segment from './Segment.js';
|
|
14
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
14
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-68d948b9.js';
|
|
15
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
16
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -13,7 +13,7 @@ import { I as IconContext } from './iconBase-ccc56b97.js';
|
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { c as main_44 } from './main-
|
|
16
|
+
import { c as main_44 } from './main-9f6806ea.js';
|
|
17
17
|
import { i as isFunction_1, e as eq_1 } from './eq-bdcbf886.js';
|
|
18
18
|
import { i as isObject_1 } from './isSymbol-a7e9aafe.js';
|
|
19
19
|
import { t as toNumber_1 } from './toNumber-5aeba6e7.js';
|