@mjhls/mjh-framework 1.0.914 → 1.0.915-nav-fix-v1
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/AlgoliaSearch.js +143 -21
- package/dist/cjs/Auth.js +20 -17
- package/dist/cjs/AuthWrapper.js +18 -12
- package/dist/cjs/CMEDeck.js +5 -1
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +1 -2
- package/dist/cjs/DeckQueuePaginated.js +1 -2
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/GridContentPaginated.js +1 -2
- package/dist/cjs/HamMagazine.js +1 -1
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeckPaginated.js +1 -2
- package/dist/cjs/{MediaSeriesCard-d46317f0.js → MediaSeriesCard-8c3c5514.js} +64 -42
- package/dist/cjs/MediaSeriesLanding.js +1 -1
- package/dist/cjs/MediaSeriesLandingPaginated.js +2 -3
- package/dist/cjs/NavDvm.js +1 -1
- package/dist/cjs/NavMagazine.js +2 -2
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/Pagination-42f92f7c.js +97 -0
- package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
- package/dist/cjs/QueueDeckExpandedPaginated.js +1 -2
- package/dist/cjs/View.js +8 -4
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +145 -23
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +20 -18
- package/dist/esm/AuthWrapper.js +19 -13
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +6 -2
- package/dist/esm/Column1.js +1 -2
- package/dist/esm/Column2.js +1 -2
- package/dist/esm/Column3.js +1 -2
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +2 -3
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -3
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +1 -1
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +1 -1
- package/dist/esm/GridContentPaginated.js +2 -3
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +1 -2
- package/dist/esm/Header.js +1 -2
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +1 -1
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +1 -2
- package/dist/esm/MasterDeck.js +1 -1
- package/dist/esm/MasterDeckPaginated.js +2 -3
- package/dist/esm/{MediaSeriesCard-b1845b19.js → MediaSeriesCard-30892d60.js} +64 -42
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +3 -4
- package/dist/esm/NavDvm.js +1 -2
- package/dist/esm/NavMagazine.js +2 -3
- package/dist/esm/NavNative.js +1 -2
- 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-484b86c5.js +90 -0
- package/dist/esm/PartnerDetailListing.js +1 -1
- package/dist/esm/PartnerDetailListingPaginated.js +2 -3
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PubSection.js +1 -1
- 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 +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +2 -3
- 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 +1 -1
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +1 -1
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +9 -4
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +1 -1
- 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/getSeriesDetail.js +1 -1
- package/dist/esm/index.js +0 -1
- 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 +1 -1
- package/dist/cjs/Pagination-885dcfbd.js +0 -90
- package/dist/esm/Pagination-59436882.js +0 -82
package/dist/esm/AuthWrapper.js
CHANGED
|
@@ -109,9 +109,9 @@ var runtime = (function (exports) {
|
|
|
109
109
|
// This is a polyfill for %IteratorPrototype% for environments that
|
|
110
110
|
// don't natively support it.
|
|
111
111
|
var IteratorPrototype = {};
|
|
112
|
-
IteratorPrototype
|
|
112
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
113
113
|
return this;
|
|
114
|
-
};
|
|
114
|
+
});
|
|
115
115
|
|
|
116
116
|
var getProto = Object.getPrototypeOf;
|
|
117
117
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
@@ -125,8 +125,9 @@ var runtime = (function (exports) {
|
|
|
125
125
|
|
|
126
126
|
var Gp = GeneratorFunctionPrototype.prototype =
|
|
127
127
|
Generator.prototype = Object.create(IteratorPrototype);
|
|
128
|
-
GeneratorFunction.prototype =
|
|
129
|
-
|
|
128
|
+
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
129
|
+
define(Gp, "constructor", GeneratorFunctionPrototype);
|
|
130
|
+
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
130
131
|
GeneratorFunction.displayName = define(
|
|
131
132
|
GeneratorFunctionPrototype,
|
|
132
133
|
toStringTagSymbol,
|
|
@@ -240,9 +241,9 @@ var runtime = (function (exports) {
|
|
|
240
241
|
}
|
|
241
242
|
|
|
242
243
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
243
|
-
AsyncIterator.prototype
|
|
244
|
+
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
244
245
|
return this;
|
|
245
|
-
};
|
|
246
|
+
});
|
|
246
247
|
exports.AsyncIterator = AsyncIterator;
|
|
247
248
|
|
|
248
249
|
// Note that simple async functions are implemented on top of
|
|
@@ -435,13 +436,13 @@ var runtime = (function (exports) {
|
|
|
435
436
|
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
436
437
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
437
438
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
438
|
-
Gp
|
|
439
|
+
define(Gp, iteratorSymbol, function() {
|
|
439
440
|
return this;
|
|
440
|
-
};
|
|
441
|
+
});
|
|
441
442
|
|
|
442
|
-
Gp
|
|
443
|
+
define(Gp, "toString", function() {
|
|
443
444
|
return "[object Generator]";
|
|
444
|
-
};
|
|
445
|
+
});
|
|
445
446
|
|
|
446
447
|
function pushTryEntry(locs) {
|
|
447
448
|
var entry = { tryLoc: locs[0] };
|
|
@@ -760,14 +761,19 @@ try {
|
|
|
760
761
|
} catch (accidentalStrictMode) {
|
|
761
762
|
// This module should not be running in strict mode, so the above
|
|
762
763
|
// assignment should always work unless something is misconfigured. Just
|
|
763
|
-
// in case runtime.js accidentally runs in strict mode,
|
|
764
|
+
// in case runtime.js accidentally runs in strict mode, in modern engines
|
|
765
|
+
// we can explicitly access globalThis. In older engines we can escape
|
|
764
766
|
// strict mode using a global Function call. This could conceivably fail
|
|
765
767
|
// if a Content Security Policy forbids using Function, but in that case
|
|
766
768
|
// the proper solution is to fix the accidental strict mode problem. If
|
|
767
769
|
// you've misconfigured your bundler to force strict mode and applied a
|
|
768
770
|
// CSP to forbid Function, and you're not willing to fix either of those
|
|
769
771
|
// problems, please detail your unique predicament in a GitHub issue.
|
|
770
|
-
|
|
772
|
+
if (typeof globalThis === "object") {
|
|
773
|
+
globalThis.regeneratorRuntime = runtime;
|
|
774
|
+
} else {
|
|
775
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
776
|
+
}
|
|
771
777
|
}
|
|
772
778
|
});
|
|
773
779
|
|
|
@@ -1887,4 +1893,4 @@ var AuthWrapper = function AuthWrapper(_ref) {
|
|
|
1887
1893
|
}
|
|
1888
1894
|
};
|
|
1889
1895
|
|
|
1890
|
-
export default
|
|
1896
|
+
export { AuthWrapper as default };
|
package/dist/esm/Beam.js
CHANGED
package/dist/esm/Breadcrumbs.js
CHANGED
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -309,7 +309,11 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
309
309
|
return React__default.createElement(
|
|
310
310
|
'div',
|
|
311
311
|
{ className: 'd-flex justify-content-between' },
|
|
312
|
-
currentPage > 1
|
|
312
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
313
|
+
'a',
|
|
314
|
+
{ href: '?page=' + (currentPage - 1) },
|
|
315
|
+
'<< Previous'
|
|
316
|
+
),
|
|
313
317
|
React__default.createElement(
|
|
314
318
|
'a',
|
|
315
319
|
{ href: '?page=' + (currentPage + 1) },
|
|
@@ -435,4 +439,4 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
435
439
|
}
|
|
436
440
|
};
|
|
437
441
|
|
|
438
|
-
export default
|
|
442
|
+
export { CMEDeck as default };
|
package/dist/esm/Column1.js
CHANGED
package/dist/esm/Column2.js
CHANGED
package/dist/esm/Column3.js
CHANGED
|
@@ -15,7 +15,7 @@ import { L as LazyLoad } from './index-755f2cc2.js';
|
|
|
15
15
|
import { m as main_43 } from './main-1894c974.js';
|
|
16
16
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
17
17
|
import { A as ADInfeed } from './ADInfeed-0a55cd2d.js';
|
|
18
|
-
import { P as Pagination } from './Pagination-
|
|
18
|
+
import { P as Pagination } from './Pagination-484b86c5.js';
|
|
19
19
|
import Spinner from 'react-bootstrap/Spinner';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -39,7 +39,6 @@ import './toNumber-5aeba6e7.js';
|
|
|
39
39
|
import './Beam.js';
|
|
40
40
|
import './stringify-2b084bee.js';
|
|
41
41
|
import './Segment.js';
|
|
42
|
-
import 'react-paginate';
|
|
43
42
|
import 'react-bootstrap/Button';
|
|
44
43
|
import './index.esm-1bd8a0a8.js';
|
|
45
44
|
import './iconBase-ccc56b97.js';
|
|
@@ -404,4 +403,4 @@ var DeckContent = function (_React$Component) {
|
|
|
404
403
|
|
|
405
404
|
var ContentCardPaginated = withRouter(DeckContent);
|
|
406
405
|
|
|
407
|
-
export default
|
|
406
|
+
export { ContentCardPaginated as default };
|
package/dist/esm/DeckContent.js
CHANGED
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -16,7 +16,7 @@ import { g as get_1 } from './get-3c308da4.js';
|
|
|
16
16
|
import { m as main_43 } from './main-1894c974.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
-
import { P as Pagination } from './Pagination-
|
|
19
|
+
import { P as Pagination } from './Pagination-484b86c5.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -34,7 +34,6 @@ import './isSymbol-a7e9aafe.js';
|
|
|
34
34
|
import './eq-bdcbf886.js';
|
|
35
35
|
import './slicedToArray-6ebcbfea.js';
|
|
36
36
|
import './index-3f5c03b2.js';
|
|
37
|
-
import 'react-paginate';
|
|
38
37
|
import 'react-bootstrap/Button';
|
|
39
38
|
import './index.esm-1bd8a0a8.js';
|
|
40
39
|
import './iconBase-ccc56b97.js';
|
|
@@ -335,4 +334,4 @@ var DeckQueue = function (_React$Component) {
|
|
|
335
334
|
|
|
336
335
|
var QueuePaginated = withRouter(DeckQueue);
|
|
337
336
|
|
|
338
|
-
export default
|
|
337
|
+
export { QueuePaginated as default };
|
package/dist/esm/Dfp-102f0beb.js
CHANGED
package/dist/esm/EventsDeck.js
CHANGED
package/dist/esm/Feature.js
CHANGED
package/dist/esm/ForbesHero.js
CHANGED
package/dist/esm/GridContent.js
CHANGED
|
@@ -22,7 +22,7 @@ import urlFor from './urlFor.js';
|
|
|
22
22
|
import { m as main_43 } from './main-1894c974.js';
|
|
23
23
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
24
24
|
import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
|
|
25
|
-
import { P as Pagination } from './Pagination-
|
|
25
|
+
import { P as Pagination } from './Pagination-484b86c5.js';
|
|
26
26
|
import Spinner from 'react-bootstrap/Spinner';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
28
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -47,7 +47,6 @@ import './Segment.js';
|
|
|
47
47
|
import './eq-bdcbf886.js';
|
|
48
48
|
import './index-3f5c03b2.js';
|
|
49
49
|
import 'react-bootstrap/Button';
|
|
50
|
-
import 'react-paginate';
|
|
51
50
|
import './index.esm-1bd8a0a8.js';
|
|
52
51
|
import './iconBase-ccc56b97.js';
|
|
53
52
|
|
|
@@ -689,4 +688,4 @@ var GridContent = function (_React$Component) {
|
|
|
689
688
|
|
|
690
689
|
var GridContentPaginated = React__default.memo(withRouter(GridContent));
|
|
691
690
|
|
|
692
|
-
export default
|
|
691
|
+
export { GridContentPaginated as default };
|
package/dist/esm/GridHero.js
CHANGED
package/dist/esm/GroupDeck.js
CHANGED
package/dist/esm/HamMagazine.js
CHANGED
package/dist/esm/Header.js
CHANGED
package/dist/esm/Hero.js
CHANGED
package/dist/esm/IssueDeck.js
CHANGED
package/dist/esm/IssueLanding.js
CHANGED
package/dist/esm/KMTracker.js
CHANGED
package/dist/esm/LeftNav.js
CHANGED
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -12,7 +12,7 @@ import { l as lodash } from './lodash-f97fd99a.js';
|
|
|
12
12
|
import { m as main_43 } from './main-1894c974.js';
|
|
13
13
|
import { A as ADlgInfeed } from './ADlgInfeed-013e1f4a.js';
|
|
14
14
|
import { A as ADInfeed } from './ADInfeed-0a55cd2d.js';
|
|
15
|
-
import { P as Pagination } from './Pagination-
|
|
15
|
+
import { P as Pagination } from './Pagination-484b86c5.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -33,7 +33,6 @@ import './isSymbol-a7e9aafe.js';
|
|
|
33
33
|
import './toNumber-5aeba6e7.js';
|
|
34
34
|
import './Beam.js';
|
|
35
35
|
import './Segment.js';
|
|
36
|
-
import 'react-paginate';
|
|
37
36
|
import 'react-bootstrap/Button';
|
|
38
37
|
import './index.esm-1bd8a0a8.js';
|
|
39
38
|
import './iconBase-ccc56b97.js';
|
|
@@ -457,4 +456,4 @@ var MasterDeck = function (_React$Component) {
|
|
|
457
456
|
|
|
458
457
|
var MasterDeck$1 = withRouter(MasterDeck);
|
|
459
458
|
|
|
460
|
-
export
|
|
459
|
+
export { MasterDeck$1 as default };
|
|
@@ -2626,45 +2626,6 @@ function getBasePlacement(placement) {
|
|
|
2626
2626
|
return placement.split('-')[0];
|
|
2627
2627
|
}
|
|
2628
2628
|
|
|
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
2629
|
function getWindow(node) {
|
|
2669
2630
|
if (node == null) {
|
|
2670
2631
|
return window;
|
|
@@ -2698,6 +2659,59 @@ function isShadowRoot(node) {
|
|
|
2698
2659
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2699
2660
|
}
|
|
2700
2661
|
|
|
2662
|
+
var round$1 = Math.round;
|
|
2663
|
+
function getBoundingClientRect(element, includeScale) {
|
|
2664
|
+
if (includeScale === void 0) {
|
|
2665
|
+
includeScale = false;
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
var rect = element.getBoundingClientRect();
|
|
2669
|
+
var scaleX = 1;
|
|
2670
|
+
var scaleY = 1;
|
|
2671
|
+
|
|
2672
|
+
if (isHTMLElement(element) && includeScale) {
|
|
2673
|
+
// Fallback to 1 in case both values are `0`
|
|
2674
|
+
scaleX = rect.width / element.offsetWidth || 1;
|
|
2675
|
+
scaleY = rect.height / element.offsetHeight || 1;
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
return {
|
|
2679
|
+
width: round$1(rect.width / scaleX),
|
|
2680
|
+
height: round$1(rect.height / scaleY),
|
|
2681
|
+
top: round$1(rect.top / scaleY),
|
|
2682
|
+
right: round$1(rect.right / scaleX),
|
|
2683
|
+
bottom: round$1(rect.bottom / scaleY),
|
|
2684
|
+
left: round$1(rect.left / scaleX),
|
|
2685
|
+
x: round$1(rect.left / scaleX),
|
|
2686
|
+
y: round$1(rect.top / scaleY)
|
|
2687
|
+
};
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
// means it doesn't take into account transforms.
|
|
2691
|
+
|
|
2692
|
+
function getLayoutRect(element) {
|
|
2693
|
+
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2694
|
+
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2695
|
+
|
|
2696
|
+
var width = element.offsetWidth;
|
|
2697
|
+
var height = element.offsetHeight;
|
|
2698
|
+
|
|
2699
|
+
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2700
|
+
width = clientRect.width;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2704
|
+
height = clientRect.height;
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
return {
|
|
2708
|
+
x: element.offsetLeft,
|
|
2709
|
+
y: element.offsetTop,
|
|
2710
|
+
width: width,
|
|
2711
|
+
height: height
|
|
2712
|
+
};
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2701
2715
|
function contains$1(parent, child) {
|
|
2702
2716
|
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
|
2703
2717
|
|
|
@@ -3924,16 +3938,24 @@ function getNodeScroll(node) {
|
|
|
3924
3938
|
}
|
|
3925
3939
|
}
|
|
3926
3940
|
|
|
3941
|
+
function isElementScaled(element) {
|
|
3942
|
+
var rect = element.getBoundingClientRect();
|
|
3943
|
+
var scaleX = rect.width / element.offsetWidth || 1;
|
|
3944
|
+
var scaleY = rect.height / element.offsetHeight || 1;
|
|
3945
|
+
return scaleX !== 1 || scaleY !== 1;
|
|
3946
|
+
} // Returns the composite rect of an element relative to its offsetParent.
|
|
3927
3947
|
// Composite means it takes into account transforms as well as layout.
|
|
3928
3948
|
|
|
3949
|
+
|
|
3929
3950
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
3930
3951
|
if (isFixed === void 0) {
|
|
3931
3952
|
isFixed = false;
|
|
3932
3953
|
}
|
|
3933
3954
|
|
|
3934
|
-
var documentElement = getDocumentElement(offsetParent);
|
|
3935
|
-
var rect = getBoundingClientRect(elementOrVirtualElement);
|
|
3936
3955
|
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
3956
|
+
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
3957
|
+
var documentElement = getDocumentElement(offsetParent);
|
|
3958
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
|
|
3937
3959
|
var scroll = {
|
|
3938
3960
|
scrollLeft: 0,
|
|
3939
3961
|
scrollTop: 0
|
|
@@ -3950,7 +3972,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
|
3950
3972
|
}
|
|
3951
3973
|
|
|
3952
3974
|
if (isHTMLElement(offsetParent)) {
|
|
3953
|
-
offsets = getBoundingClientRect(offsetParent);
|
|
3975
|
+
offsets = getBoundingClientRect(offsetParent, true);
|
|
3954
3976
|
offsets.x += offsetParent.clientLeft;
|
|
3955
3977
|
offsets.y += offsetParent.clientTop;
|
|
3956
3978
|
} else if (documentElement) {
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-30892d60.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
@@ -481,4 +481,4 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
481
481
|
};
|
|
482
482
|
}();
|
|
483
483
|
|
|
484
|
-
export default
|
|
484
|
+
export { MediaSeriesLanding as default };
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-30892d60.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
@@ -44,8 +44,7 @@ import './toNumber-5aeba6e7.js';
|
|
|
44
44
|
import './Beam.js';
|
|
45
45
|
import './Segment.js';
|
|
46
46
|
import './ADInfeed-0a55cd2d.js';
|
|
47
|
-
import './Pagination-
|
|
48
|
-
import 'react-paginate';
|
|
47
|
+
import './Pagination-484b86c5.js';
|
|
49
48
|
import 'react-bootstrap/Button';
|
|
50
49
|
import './index.esm-1bd8a0a8.js';
|
|
51
50
|
import './iconBase-ccc56b97.js';
|
|
@@ -515,4 +514,4 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
515
514
|
};
|
|
516
515
|
}();
|
|
517
516
|
|
|
518
|
-
export default
|
|
517
|
+
export { MediaSeriesLanding as default };
|
package/dist/esm/NavDvm.js
CHANGED
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -340,7 +340,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
340
340
|
if (searchBar && searchBar.classList) {
|
|
341
341
|
searchBar.classList.remove('show');
|
|
342
342
|
}
|
|
343
|
-
if (searchBtn && searchBtn[0].classList) {
|
|
343
|
+
if (searchBtn && searchBtn[0] && searchBtn[0].classList) {
|
|
344
344
|
searchBtn[0].classList.remove('active-search');
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -579,5 +579,4 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
579
579
|
|
|
580
580
|
var MagazineNav = React__default.memo(NavMagazine);
|
|
581
581
|
|
|
582
|
-
export default
|
|
583
|
-
export { NavMagazine };
|
|
582
|
+
export { NavMagazine, MagazineNav as default };
|
package/dist/esm/NavNative.js
CHANGED
package/dist/esm/OncliveHero.js
CHANGED
package/dist/esm/PageFilter.js
CHANGED