@mjhls/mjh-framework 1.0.992 → 1.0.993-logtest
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 +1568 -897
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +15 -15
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -12
- package/dist/cjs/ArticleSeriesListing.js +29 -30
- package/dist/cjs/Auth.js +133 -101
- package/dist/cjs/AuthWrapper.js +131 -55
- 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 +65 -62
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +17 -18
- package/dist/cjs/Column3.js +28 -30
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -51
- package/dist/cjs/DeckContent.js +58 -59
- package/dist/cjs/DeckQueue.js +57 -58
- package/dist/cjs/DeckQueuePaginated.js +46 -48
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
- package/dist/cjs/EventsDeck.js +120 -93
- package/dist/cjs/ExternalResources.js +38 -38
- 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 -123
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +112 -112
- package/dist/cjs/Header.js +10 -10
- 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 +29 -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 +20 -20
- package/dist/cjs/LeftNav.js +29 -21
- package/dist/cjs/MasterDeck.js +39 -40
- package/dist/cjs/MasterDeckPaginated.js +29 -31
- package/dist/cjs/{MediaSeriesCard-9677fbc3.js → MediaSeriesCard-2645b00a.js} +771 -666
- package/dist/cjs/MediaSeriesLanding.js +37 -37
- package/dist/cjs/MediaSeriesLandingPaginated.js +36 -37
- package/dist/cjs/NavDvm.js +93 -62
- package/dist/cjs/NavFooter-880e9d87.js +71 -0
- package/dist/cjs/NavMagazine.js +126 -108
- package/dist/cjs/NavNative.js +118 -99
- 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-6359861a.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +68 -54
- package/dist/cjs/PartnerDetailListingPaginated.js +58 -50
- 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 -224
- 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 +23 -24
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-ca9c0c45.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +51 -47
- package/dist/cjs/TaxonomyDescription.js +12 -12
- package/dist/cjs/TemplateNormal.js +28 -30
- 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 +29 -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 +230 -226
- 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/checkSisterSite-b29833b2.js +19 -0
- package/dist/cjs/getSerializers.js +7 -7
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-5e63adb9.js → index-669d70bd.js} +484 -492
- 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.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-f59ef5b4.js} +19 -18
- package/dist/cjs/index.js +103 -107
- 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 +2 -2
- package/dist/esm/AD300x250.js +3 -4
- package/dist/esm/AD300x250x600.js +3 -4
- package/dist/esm/AD728x90.js +3 -4
- package/dist/esm/ADFloatingFooter.js +3 -4
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +3 -4
- package/dist/esm/ADSkyscraper.js +3 -4
- package/dist/esm/ADSponsoredResources.js +3 -4
- package/dist/esm/ADWebcast.js +3 -4
- package/dist/esm/ADWelcome.js +3 -4
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +3 -4
- package/dist/esm/AdSlotsProvider.js +3 -4
- package/dist/esm/AlgoliaSearch.js +1197 -526
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +2 -2
- package/dist/esm/ArticleProgramLandingPage.js +5 -5
- package/dist/esm/ArticleSeriesLandingPage.js +5 -6
- package/dist/esm/ArticleSeriesListing.js +3 -4
- package/dist/esm/Auth.js +60 -29
- package/dist/esm/AuthWrapper.js +105 -29
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +8 -5
- package/dist/esm/Column1.js +1 -2
- package/dist/esm/Column2.js +4 -6
- package/dist/esm/Column3.js +4 -7
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +5 -7
- package/dist/esm/DeckContent.js +4 -5
- package/dist/esm/DeckQueue.js +3 -4
- package/dist/esm/DeckQueuePaginated.js +4 -6
- package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +2 -3
- package/dist/esm/EventsDeck.js +32 -5
- package/dist/esm/ExternalResources.js +9 -9
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +5 -6
- package/dist/esm/GridContentPaginated.js +6 -8
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +12 -13
- package/dist/esm/Header.js +2 -3
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +5 -5
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-83913c4c.js} +157 -117
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +7 -7
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +15 -8
- package/dist/esm/MasterDeck.js +5 -6
- package/dist/esm/MasterDeckPaginated.js +6 -8
- package/dist/esm/{MediaSeriesCard-8b14906f.js → MediaSeriesCard-2a9ff7f3.js} +202 -97
- package/dist/esm/MediaSeriesLanding.js +9 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +10 -11
- package/dist/esm/NavDvm.js +38 -8
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-3272e9cd.js} +9 -4
- package/dist/esm/NavMagazine.js +25 -8
- package/dist/esm/NavNative.js +25 -7
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/Pagination-9fe9f61d.js +90 -0
- package/dist/esm/PartnerDetailListing.js +30 -16
- package/dist/esm/PartnerDetailListingPaginated.js +23 -15
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +5 -6
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +5 -6
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -8
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/RelatedTopicsDropdown.js +1 -1
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +4 -5
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-5728e349.js} +1 -1
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +6 -7
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-68d948b9.js} +2 -2
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +8 -4
- package/dist/esm/TaxonomyDescription.js +5 -5
- package/dist/esm/TemplateNormal.js +7 -9
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +5 -5
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +5 -6
- package/dist/esm/VideoSeriesListing.js +3 -4
- package/dist/esm/View.js +14 -9
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +2 -2
- package/dist/esm/checkSisterSite-baa4fb6b.js +17 -0
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/index-174b5baf.js +52 -0
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-e0aeabc5.js → index-4d0371dc.js} +5 -13
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-07c37a92.js} +5 -4
- package/dist/esm/index.js +13 -17
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/NavFooter-3dcd99a8.js +0 -66
- package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
- package/dist/cjs/defineProperty-9673846a.js +0 -34
- 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/Pagination-cd21f8c2.js +0 -82
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/defineProperty-8c30428f.js +0 -32
- 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
|
@@ -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-4d0371dc.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;
|
|
@@ -2626,45 +2668,6 @@ function getBasePlacement(placement) {
|
|
|
2626
2668
|
return placement.split('-')[0];
|
|
2627
2669
|
}
|
|
2628
2670
|
|
|
2629
|
-
function getBoundingClientRect(element) {
|
|
2630
|
-
var rect = element.getBoundingClientRect();
|
|
2631
|
-
return {
|
|
2632
|
-
width: rect.width,
|
|
2633
|
-
height: rect.height,
|
|
2634
|
-
top: rect.top,
|
|
2635
|
-
right: rect.right,
|
|
2636
|
-
bottom: rect.bottom,
|
|
2637
|
-
left: rect.left,
|
|
2638
|
-
x: rect.left,
|
|
2639
|
-
y: rect.top
|
|
2640
|
-
};
|
|
2641
|
-
}
|
|
2642
|
-
|
|
2643
|
-
// means it doesn't take into account transforms.
|
|
2644
|
-
|
|
2645
|
-
function getLayoutRect(element) {
|
|
2646
|
-
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2647
|
-
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2648
|
-
|
|
2649
|
-
var width = element.offsetWidth;
|
|
2650
|
-
var height = element.offsetHeight;
|
|
2651
|
-
|
|
2652
|
-
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2653
|
-
width = clientRect.width;
|
|
2654
|
-
}
|
|
2655
|
-
|
|
2656
|
-
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2657
|
-
height = clientRect.height;
|
|
2658
|
-
}
|
|
2659
|
-
|
|
2660
|
-
return {
|
|
2661
|
-
x: element.offsetLeft,
|
|
2662
|
-
y: element.offsetTop,
|
|
2663
|
-
width: width,
|
|
2664
|
-
height: height
|
|
2665
|
-
};
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2668
2671
|
function getWindow(node) {
|
|
2669
2672
|
if (node == null) {
|
|
2670
2673
|
return window;
|
|
@@ -2698,6 +2701,70 @@ function isShadowRoot(node) {
|
|
|
2698
2701
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2699
2702
|
}
|
|
2700
2703
|
|
|
2704
|
+
var max = Math.max;
|
|
2705
|
+
var min = Math.min;
|
|
2706
|
+
var round = Math.round;
|
|
2707
|
+
|
|
2708
|
+
function getBoundingClientRect(element, includeScale) {
|
|
2709
|
+
if (includeScale === void 0) {
|
|
2710
|
+
includeScale = false;
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
var rect = element.getBoundingClientRect();
|
|
2714
|
+
var scaleX = 1;
|
|
2715
|
+
var scaleY = 1;
|
|
2716
|
+
|
|
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
|
|
2720
|
+
// Fallback to 1 in case both values are `0`
|
|
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
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
return {
|
|
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
|
|
2740
|
+
};
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
// means it doesn't take into account transforms.
|
|
2744
|
+
|
|
2745
|
+
function getLayoutRect(element) {
|
|
2746
|
+
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2747
|
+
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2748
|
+
|
|
2749
|
+
var width = element.offsetWidth;
|
|
2750
|
+
var height = element.offsetHeight;
|
|
2751
|
+
|
|
2752
|
+
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2753
|
+
width = clientRect.width;
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2757
|
+
height = clientRect.height;
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
return {
|
|
2761
|
+
x: element.offsetLeft,
|
|
2762
|
+
y: element.offsetTop,
|
|
2763
|
+
width: width,
|
|
2764
|
+
height: height
|
|
2765
|
+
};
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2701
2768
|
function contains$1(parent, child) {
|
|
2702
2769
|
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
|
2703
2770
|
|
|
@@ -2818,13 +2885,13 @@ function getMainAxisFromPlacement(placement) {
|
|
|
2818
2885
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
2819
2886
|
}
|
|
2820
2887
|
|
|
2821
|
-
var max = Math.max;
|
|
2822
|
-
var min = Math.min;
|
|
2823
|
-
var round = Math.round;
|
|
2824
|
-
|
|
2825
2888
|
function within(min$1, value, max$1) {
|
|
2826
2889
|
return max(min$1, min(value, max$1));
|
|
2827
2890
|
}
|
|
2891
|
+
function withinMaxClamp(min, value, max) {
|
|
2892
|
+
var v = within(min, value, max);
|
|
2893
|
+
return v > max ? max : v;
|
|
2894
|
+
}
|
|
2828
2895
|
|
|
2829
2896
|
function getFreshSideObject() {
|
|
2830
2897
|
return {
|
|
@@ -2937,6 +3004,10 @@ var arrow$1 = {
|
|
|
2937
3004
|
requiresIfExists: ['preventOverflow']
|
|
2938
3005
|
};
|
|
2939
3006
|
|
|
3007
|
+
function getVariation(placement) {
|
|
3008
|
+
return placement.split('-')[1];
|
|
3009
|
+
}
|
|
3010
|
+
|
|
2940
3011
|
var unsetSides = {
|
|
2941
3012
|
top: 'auto',
|
|
2942
3013
|
right: 'auto',
|
|
@@ -2952,8 +3023,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
2952
3023
|
var win = window;
|
|
2953
3024
|
var dpr = win.devicePixelRatio || 1;
|
|
2954
3025
|
return {
|
|
2955
|
-
x: round(
|
|
2956
|
-
y: round(
|
|
3026
|
+
x: round(x * dpr) / dpr || 0,
|
|
3027
|
+
y: round(y * dpr) / dpr || 0
|
|
2957
3028
|
};
|
|
2958
3029
|
}
|
|
2959
3030
|
|
|
@@ -2963,11 +3034,13 @@ function mapToStyles(_ref2) {
|
|
|
2963
3034
|
var popper = _ref2.popper,
|
|
2964
3035
|
popperRect = _ref2.popperRect,
|
|
2965
3036
|
placement = _ref2.placement,
|
|
3037
|
+
variation = _ref2.variation,
|
|
2966
3038
|
offsets = _ref2.offsets,
|
|
2967
3039
|
position = _ref2.position,
|
|
2968
3040
|
gpuAcceleration = _ref2.gpuAcceleration,
|
|
2969
3041
|
adaptive = _ref2.adaptive,
|
|
2970
|
-
roundOffsets = _ref2.roundOffsets
|
|
3042
|
+
roundOffsets = _ref2.roundOffsets,
|
|
3043
|
+
isFixed = _ref2.isFixed;
|
|
2971
3044
|
|
|
2972
3045
|
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
2973
3046
|
_ref3$x = _ref3.x,
|
|
@@ -2989,7 +3062,7 @@ function mapToStyles(_ref2) {
|
|
|
2989
3062
|
if (offsetParent === getWindow(popper)) {
|
|
2990
3063
|
offsetParent = getDocumentElement(popper);
|
|
2991
3064
|
|
|
2992
|
-
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
3065
|
+
if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
|
|
2993
3066
|
heightProp = 'scrollHeight';
|
|
2994
3067
|
widthProp = 'scrollWidth';
|
|
2995
3068
|
}
|
|
@@ -2998,17 +3071,19 @@ function mapToStyles(_ref2) {
|
|
|
2998
3071
|
|
|
2999
3072
|
offsetParent = offsetParent;
|
|
3000
3073
|
|
|
3001
|
-
if (placement === top) {
|
|
3002
|
-
sideY = bottom;
|
|
3003
|
-
|
|
3004
|
-
|
|
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;
|
|
3005
3079
|
y *= gpuAcceleration ? 1 : -1;
|
|
3006
3080
|
}
|
|
3007
3081
|
|
|
3008
|
-
if (placement === left) {
|
|
3009
|
-
sideX = right;
|
|
3010
|
-
|
|
3011
|
-
|
|
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;
|
|
3012
3087
|
x *= gpuAcceleration ? 1 : -1;
|
|
3013
3088
|
}
|
|
3014
3089
|
}
|
|
@@ -3020,7 +3095,7 @@ function mapToStyles(_ref2) {
|
|
|
3020
3095
|
if (gpuAcceleration) {
|
|
3021
3096
|
var _Object$assign;
|
|
3022
3097
|
|
|
3023
|
-
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));
|
|
3024
3099
|
}
|
|
3025
3100
|
|
|
3026
3101
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
@@ -3048,9 +3123,11 @@ function computeStyles(_ref4) {
|
|
|
3048
3123
|
|
|
3049
3124
|
var commonStyles = {
|
|
3050
3125
|
placement: getBasePlacement(state.placement),
|
|
3126
|
+
variation: getVariation(state.placement),
|
|
3051
3127
|
popper: state.elements.popper,
|
|
3052
3128
|
popperRect: state.rects.popper,
|
|
3053
|
-
gpuAcceleration: gpuAcceleration
|
|
3129
|
+
gpuAcceleration: gpuAcceleration,
|
|
3130
|
+
isFixed: state.options.strategy === 'fixed'
|
|
3054
3131
|
};
|
|
3055
3132
|
|
|
3056
3133
|
if (state.modifiersData.popperOffsets != null) {
|
|
@@ -3308,7 +3385,7 @@ function getInnerBoundingClientRect(element) {
|
|
|
3308
3385
|
}
|
|
3309
3386
|
|
|
3310
3387
|
function getClientRectFromMixedType(element, clippingParent) {
|
|
3311
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) :
|
|
3388
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
3312
3389
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
3313
3390
|
// clipping (or hiding) overflowing elements with a position different from
|
|
3314
3391
|
// `initial`
|
|
@@ -3325,7 +3402,7 @@ function getClippingParents(element) {
|
|
|
3325
3402
|
|
|
3326
3403
|
|
|
3327
3404
|
return clippingParents.filter(function (clippingParent) {
|
|
3328
|
-
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);
|
|
3329
3406
|
});
|
|
3330
3407
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3331
3408
|
// clipping parents
|
|
@@ -3350,10 +3427,6 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
3350
3427
|
return clippingRect;
|
|
3351
3428
|
}
|
|
3352
3429
|
|
|
3353
|
-
function getVariation(placement) {
|
|
3354
|
-
return placement.split('-')[1];
|
|
3355
|
-
}
|
|
3356
|
-
|
|
3357
3430
|
function computeOffsets(_ref) {
|
|
3358
3431
|
var reference = _ref.reference,
|
|
3359
3432
|
element = _ref.element,
|
|
@@ -3439,11 +3512,10 @@ function detectOverflow(state, options) {
|
|
|
3439
3512
|
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
3440
3513
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
3441
3514
|
var altContext = elementContext === popper ? reference : popper;
|
|
3442
|
-
var referenceElement = state.elements.reference;
|
|
3443
3515
|
var popperRect = state.rects.popper;
|
|
3444
3516
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
3445
3517
|
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
3446
|
-
var referenceClientRect = getBoundingClientRect(
|
|
3518
|
+
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
3447
3519
|
var popperOffsets = computeOffsets({
|
|
3448
3520
|
reference: referenceClientRect,
|
|
3449
3521
|
element: popperRect,
|
|
@@ -3830,6 +3902,14 @@ function preventOverflow(_ref) {
|
|
|
3830
3902
|
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
3831
3903
|
placement: state.placement
|
|
3832
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;
|
|
3833
3913
|
var data = {
|
|
3834
3914
|
x: 0,
|
|
3835
3915
|
y: 0
|
|
@@ -3839,13 +3919,15 @@ function preventOverflow(_ref) {
|
|
|
3839
3919
|
return;
|
|
3840
3920
|
}
|
|
3841
3921
|
|
|
3842
|
-
if (checkMainAxis
|
|
3922
|
+
if (checkMainAxis) {
|
|
3923
|
+
var _offsetModifierState$;
|
|
3924
|
+
|
|
3843
3925
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
3844
3926
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
3845
3927
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
3846
3928
|
var offset = popperOffsets[mainAxis];
|
|
3847
|
-
var min$1 =
|
|
3848
|
-
var max$1 =
|
|
3929
|
+
var min$1 = offset + overflow[mainSide];
|
|
3930
|
+
var max$1 = offset - overflow[altSide];
|
|
3849
3931
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
3850
3932
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
3851
3933
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -3865,36 +3947,45 @@ function preventOverflow(_ref) {
|
|
|
3865
3947
|
// width or height)
|
|
3866
3948
|
|
|
3867
3949
|
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
3868
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin -
|
|
3869
|
-
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;
|
|
3870
3952
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
3871
3953
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
3872
|
-
var offsetModifierValue =
|
|
3873
|
-
var tetherMin =
|
|
3874
|
-
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
|
+
}
|
|
3875
3961
|
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
3879
|
-
data[mainAxis] = preventedOffset - offset;
|
|
3880
|
-
}
|
|
3962
|
+
if (checkAltAxis) {
|
|
3963
|
+
var _offsetModifierState$2;
|
|
3881
3964
|
|
|
3882
|
-
|
|
3883
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3965
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3884
3966
|
|
|
3885
|
-
|
|
3967
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3886
3968
|
|
|
3887
|
-
|
|
3969
|
+
var _offset = popperOffsets[altAxis];
|
|
3888
3970
|
|
|
3889
|
-
|
|
3971
|
+
var _len = altAxis === 'y' ? 'height' : 'width';
|
|
3890
3972
|
|
|
3891
|
-
|
|
3973
|
+
var _min = _offset + overflow[_mainSide];
|
|
3892
3974
|
|
|
3893
|
-
|
|
3975
|
+
var _max = _offset - overflow[_altSide];
|
|
3894
3976
|
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
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;
|
|
3898
3989
|
}
|
|
3899
3990
|
|
|
3900
3991
|
state.modifiersData[name] = data;
|
|
@@ -3924,16 +4015,24 @@ function getNodeScroll(node) {
|
|
|
3924
4015
|
}
|
|
3925
4016
|
}
|
|
3926
4017
|
|
|
4018
|
+
function isElementScaled(element) {
|
|
4019
|
+
var rect = element.getBoundingClientRect();
|
|
4020
|
+
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
4021
|
+
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
4022
|
+
return scaleX !== 1 || scaleY !== 1;
|
|
4023
|
+
} // Returns the composite rect of an element relative to its offsetParent.
|
|
3927
4024
|
// Composite means it takes into account transforms as well as layout.
|
|
3928
4025
|
|
|
4026
|
+
|
|
3929
4027
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
3930
4028
|
if (isFixed === void 0) {
|
|
3931
4029
|
isFixed = false;
|
|
3932
4030
|
}
|
|
3933
4031
|
|
|
3934
|
-
var documentElement = getDocumentElement(offsetParent);
|
|
3935
|
-
var rect = getBoundingClientRect(elementOrVirtualElement);
|
|
3936
4032
|
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
4033
|
+
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
4034
|
+
var documentElement = getDocumentElement(offsetParent);
|
|
4035
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
|
|
3937
4036
|
var scroll = {
|
|
3938
4037
|
scrollLeft: 0,
|
|
3939
4038
|
scrollTop: 0
|
|
@@ -3950,7 +4049,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
|
3950
4049
|
}
|
|
3951
4050
|
|
|
3952
4051
|
if (isHTMLElement(offsetParent)) {
|
|
3953
|
-
offsets = getBoundingClientRect(offsetParent);
|
|
4052
|
+
offsets = getBoundingClientRect(offsetParent, true);
|
|
3954
4053
|
offsets.x += offsetParent.clientLeft;
|
|
3955
4054
|
offsets.y += offsetParent.clientTop;
|
|
3956
4055
|
} else if (documentElement) {
|
|
@@ -4040,7 +4139,10 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
|
|
|
4040
4139
|
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
4041
4140
|
function validateModifiers(modifiers) {
|
|
4042
4141
|
modifiers.forEach(function (modifier) {
|
|
4043
|
-
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) {
|
|
4044
4146
|
switch (key) {
|
|
4045
4147
|
case 'name':
|
|
4046
4148
|
if (typeof modifier.name !== 'string') {
|
|
@@ -4054,6 +4156,8 @@ function validateModifiers(modifiers) {
|
|
|
4054
4156
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
4055
4157
|
}
|
|
4056
4158
|
|
|
4159
|
+
break;
|
|
4160
|
+
|
|
4057
4161
|
case 'phase':
|
|
4058
4162
|
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
4059
4163
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
@@ -4069,14 +4173,14 @@ function validateModifiers(modifiers) {
|
|
|
4069
4173
|
break;
|
|
4070
4174
|
|
|
4071
4175
|
case 'effect':
|
|
4072
|
-
if (typeof modifier.effect !== 'function') {
|
|
4176
|
+
if (modifier.effect != null && typeof modifier.effect !== 'function') {
|
|
4073
4177
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
4074
4178
|
}
|
|
4075
4179
|
|
|
4076
4180
|
break;
|
|
4077
4181
|
|
|
4078
4182
|
case 'requires':
|
|
4079
|
-
if (!Array.isArray(modifier.requires)) {
|
|
4183
|
+
if (modifier.requires != null && !Array.isArray(modifier.requires)) {
|
|
4080
4184
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
4081
4185
|
}
|
|
4082
4186
|
|
|
@@ -4186,7 +4290,8 @@ function popperGenerator(generatorOptions) {
|
|
|
4186
4290
|
var isDestroyed = false;
|
|
4187
4291
|
var instance = {
|
|
4188
4292
|
state: state,
|
|
4189
|
-
setOptions: function setOptions(
|
|
4293
|
+
setOptions: function setOptions(setOptionsAction) {
|
|
4294
|
+
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
|
4190
4295
|
cleanupModifierEffects();
|
|
4191
4296
|
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
4192
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-2a9ff7f3.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-4d0371dc.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';
|
|
@@ -70,6 +69,7 @@ import 'react-bootstrap/Figure';
|
|
|
70
69
|
import 'react-bootstrap/OverlayTrigger';
|
|
71
70
|
import 'react-bootstrap/Tooltip';
|
|
72
71
|
import 'react-bootstrap/Popover';
|
|
72
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
73
73
|
|
|
74
74
|
var _this = undefined;
|
|
75
75
|
|
|
@@ -496,4 +496,4 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
496
496
|
};
|
|
497
497
|
}();
|
|
498
498
|
|
|
499
|
-
export default
|
|
499
|
+
export { MediaSeriesLanding as default };
|
|
@@ -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-2a9ff7f3.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-4d0371dc.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,9 +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-
|
|
48
|
-
import 'react-paginate';
|
|
45
|
+
import './ADInfeed-f946441a.js';
|
|
46
|
+
import './Pagination-9fe9f61d.js';
|
|
49
47
|
import 'react-bootstrap/Button';
|
|
50
48
|
import './index.esm-1bd8a0a8.js';
|
|
51
49
|
import './iconBase-ccc56b97.js';
|
|
@@ -72,6 +70,7 @@ import 'react-bootstrap/Figure';
|
|
|
72
70
|
import 'react-bootstrap/OverlayTrigger';
|
|
73
71
|
import 'react-bootstrap/Tooltip';
|
|
74
72
|
import 'react-bootstrap/Popover';
|
|
73
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
75
74
|
|
|
76
75
|
var _this = undefined;
|
|
77
76
|
|
|
@@ -522,4 +521,4 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
522
521
|
};
|
|
523
522
|
}();
|
|
524
523
|
|
|
525
|
-
export default
|
|
524
|
+
export { MediaSeriesLanding as default };
|