@mjhls/mjh-framework 1.0.1067 → 1.0.1068-publication-pixel-v2
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 +168 -168
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +6 -5
- package/dist/cjs/AD300x250x600.js +6 -5
- package/dist/cjs/AD728x90.js +7 -6
- package/dist/cjs/ADFloatingFooter.js +9 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +9 -8
- package/dist/cjs/{ADInfeed-0519664d.js → ADInfeed-3a68b356.js} +6 -6
- package/dist/cjs/ADSkyscraper.js +9 -8
- package/dist/cjs/ADSponsoredResources.js +9 -8
- package/dist/cjs/ADWebcast.js +9 -8
- package/dist/cjs/ADWelcome.js +13 -12
- package/dist/cjs/{ADlgInfeed-e544ac1c.js → ADlgInfeed-d88a0250.js} +4 -4
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +10 -9
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlgoliaSearch.js +896 -1409
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +16 -15
- package/dist/cjs/ArticleSeriesLandingPage.js +12 -11
- package/dist/cjs/ArticleSeriesListing.js +30 -29
- package/dist/cjs/AuthWrapper.js +1497 -315
- package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
- package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CEDeckSupabase.js +69 -68
- package/dist/cjs/CMEDeck.js +62 -61
- package/dist/cjs/Column1.js +6 -6
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +27 -26
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +51 -50
- package/dist/cjs/DeckContent.js +68 -67
- package/dist/cjs/DeckQueue.js +59 -58
- package/dist/cjs/DeckQueuePaginated.js +48 -47
- package/dist/cjs/{Dfp-67646058.js → Dfp-9be904d5.js} +18 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +36 -35
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +136 -135
- package/dist/cjs/GridContentPaginated.js +123 -122
- package/dist/cjs/GridHero.js +27 -27
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +120 -120
- package/dist/cjs/Header.js +25 -25
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +6 -6
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +30 -29
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-62a43659.js → ImageSlider-294d3fc0.js} +164 -221
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +53 -49
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +18 -17
- package/dist/cjs/MasterDeck.js +48 -47
- package/dist/cjs/MasterDeckPaginated.js +38 -37
- package/dist/cjs/{MediaSeriesCard-ce34b9ee.js → MediaSeriesCard-b842b86f.js} +17 -17
- package/dist/cjs/MediaSeriesLanding.js +44 -43
- package/dist/cjs/MediaSeriesLandingPaginated.js +43 -42
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-b7b16d48.js → NavFooter-fa5fae05.js} +11 -11
- package/dist/cjs/NavMagazine.js +116 -116
- package/dist/cjs/NavNative.js +106 -106
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +50 -50
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +52 -50
- package/dist/cjs/PartnerDetailListingPaginated.js +51 -49
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +10 -10
- package/dist/cjs/PodcastsLanding.js +24 -23
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +15 -14
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-e945bd55.js → PublicationFeature-03de3225.js} +29 -29
- package/dist/cjs/PublicationLanding.js +101 -101
- package/dist/cjs/QueueDeckExpanded.js +247 -246
- package/dist/cjs/QueueDeckExpandedPaginated.js +224 -223
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +42 -42
- package/dist/cjs/RelatedTopicsDropdown.js +24 -24
- 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 +19 -18
- package/dist/cjs/{SeriesSlider-edcb8e4b.js → SeriesSlider-621d0cbb.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-e9ec9c63.js → SocialSearchComponent-f874175b.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +13 -12
- package/dist/cjs/TemplateNormal.js +28 -27
- package/dist/cjs/ThumbnailCard.js +11 -11
- package/dist/cjs/{Tooltip-980a1d1a.js → Tooltip-f075b7ef.js} +608 -493
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +30 -29
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +12 -11
- package/dist/cjs/VideoSeriesListing.js +47 -46
- package/dist/cjs/View.js +243 -238
- package/dist/cjs/YahooHero.js +23 -23
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getSerializers.js +8 -7
- package/dist/cjs/{getTargeting-45ffbee8.js → getTargeting-5b954783.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-8041a4eb.js → index-50be6759.js} +15 -9
- package/dist/cjs/{index-58778b87.js → index-6900cba9.js} +491 -491
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/{index-7435b964.js → index-fc2f1ca2.js} +6 -471
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-2ea9e9ff.js → index.esm-f51609ab.js} +14 -14
- package/dist/cjs/index.js +106 -103
- package/dist/cjs/{main-47be4f9f.js → main-1ec1de84.js} +13 -13
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -1
- package/dist/esm/AD300x250x600.js +2 -1
- package/dist/esm/AD728x90.js +2 -1
- package/dist/esm/ADFloatingFooter.js +2 -1
- package/dist/esm/ADGutter.js +2 -1
- package/dist/esm/ADSkyscraper.js +2 -1
- package/dist/esm/ADSponsoredResources.js +2 -1
- package/dist/esm/ADWebcast.js +2 -1
- package/dist/esm/ADWelcome.js +2 -1
- package/dist/esm/AdSlot.js +2 -1
- package/dist/esm/AdSlotsProvider.js +2 -1
- package/dist/esm/AlgoliaSearch.js +513 -1026
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesListing.js +2 -1
- package/dist/esm/AuthWrapper.js +1470 -288
- package/dist/esm/CEDeckSupabase.js +3 -2
- package/dist/esm/CMEDeck.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +5 -4
- package/dist/esm/DeckContent.js +12 -11
- package/dist/esm/DeckQueue.js +3 -2
- package/dist/esm/DeckQueuePaginated.js +4 -3
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/GridContent.js +5 -4
- package/dist/esm/GridContentPaginated.js +6 -5
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/{ImageSlider-aea3a615.js → ImageSlider-497e9c88.js} +10 -67
- package/dist/esm/IssueLanding.js +38 -34
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +12 -11
- package/dist/esm/MasterDeckPaginated.js +13 -12
- package/dist/esm/{MediaSeriesCard-6a972372.js → MediaSeriesCard-ba6a0d3b.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +14 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +15 -14
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -6
- package/dist/esm/PartnerDetailListingPaginated.js +9 -7
- package/dist/esm/PixelTracking.js +1 -1
- package/dist/esm/PodcastsLanding.js +7 -6
- package/dist/esm/PubSection.js +5 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +5 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +3 -2
- package/dist/esm/{SeriesSlider-2e83e861.js → SeriesSlider-07be99e0.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/TemplateNormal.js +2 -1
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/{Tooltip-51957f7c.js → Tooltip-95655b44.js} +170 -55
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -3
- package/dist/esm/VideoSeriesListing.js +2 -1
- package/dist/esm/View.js +12 -7
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/{getTargeting-a569a9cc.js → getTargeting-5a281334.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/{index-67e1773f.js → index-98ca9cec.js} +15 -9
- package/dist/esm/{index-b672e697.js → index-c10c03a2.js} +2 -2
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +13 -10
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +116 -116
- /package/dist/esm/{ADInfeed-c3f5613e.js → ADInfeed-74cc728c.js} +0 -0
- /package/dist/esm/{ADlgInfeed-2b148f3f.js → ADlgInfeed-b6217567.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-
|
|
1
|
+
import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-98ca9cec.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';
|
|
@@ -170,15 +170,33 @@ var AccordionToggle = React__default.forwardRef(function (_ref, ref) {
|
|
|
170
170
|
}, props), children);
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
+
/**
|
|
174
|
+
* Returns the owner document of a given element.
|
|
175
|
+
*
|
|
176
|
+
* @param node the element
|
|
177
|
+
*/
|
|
173
178
|
function ownerDocument$1(node) {
|
|
174
179
|
return node && node.ownerDocument || document;
|
|
175
180
|
}
|
|
176
181
|
|
|
182
|
+
/**
|
|
183
|
+
* Returns the owner window of a given element.
|
|
184
|
+
*
|
|
185
|
+
* @param node the element
|
|
186
|
+
*/
|
|
187
|
+
|
|
177
188
|
function ownerWindow(node) {
|
|
178
189
|
var doc = ownerDocument$1(node);
|
|
179
190
|
return doc && doc.defaultView || window;
|
|
180
191
|
}
|
|
181
192
|
|
|
193
|
+
/**
|
|
194
|
+
* Returns one or all computed style properties of an element.
|
|
195
|
+
*
|
|
196
|
+
* @param node the element
|
|
197
|
+
* @param psuedoElement the style property
|
|
198
|
+
*/
|
|
199
|
+
|
|
182
200
|
function getComputedStyle$2(node, psuedoElement) {
|
|
183
201
|
return ownerWindow(node).getComputedStyle(node, psuedoElement);
|
|
184
202
|
}
|
|
@@ -259,6 +277,11 @@ try {
|
|
|
259
277
|
|
|
260
278
|
/**
|
|
261
279
|
* An `addEventListener` ponyfill, supports the `once` option
|
|
280
|
+
*
|
|
281
|
+
* @param node the element
|
|
282
|
+
* @param eventName the event name
|
|
283
|
+
* @param handle the handler
|
|
284
|
+
* @param options event options
|
|
262
285
|
*/
|
|
263
286
|
function addEventListener(node, eventName, handler, options) {
|
|
264
287
|
if (options && typeof options !== 'boolean' && !onceSupported) {
|
|
@@ -281,6 +304,14 @@ function addEventListener(node, eventName, handler, options) {
|
|
|
281
304
|
node.addEventListener(eventName, handler, options);
|
|
282
305
|
}
|
|
283
306
|
|
|
307
|
+
/**
|
|
308
|
+
* A `removeEventListener` ponyfill
|
|
309
|
+
*
|
|
310
|
+
* @param node the element
|
|
311
|
+
* @param eventName the event name
|
|
312
|
+
* @param handle the handler
|
|
313
|
+
* @param options event options
|
|
314
|
+
*/
|
|
284
315
|
function removeEventListener(node, eventName, handler, options) {
|
|
285
316
|
var capture = options && typeof options !== 'boolean' ? options.capture : options;
|
|
286
317
|
node.removeEventListener(eventName, handler, capture);
|
|
@@ -297,18 +328,36 @@ function listen(node, eventName, handler, options) {
|
|
|
297
328
|
};
|
|
298
329
|
}
|
|
299
330
|
|
|
331
|
+
/**
|
|
332
|
+
* Triggers an event on a given element.
|
|
333
|
+
*
|
|
334
|
+
* @param node the element
|
|
335
|
+
* @param eventName the event name to trigger
|
|
336
|
+
* @param bubbles whether the event should bubble up
|
|
337
|
+
* @param cancelable whether the event should be cancelable
|
|
338
|
+
*/
|
|
339
|
+
function triggerEvent(node, eventName, bubbles, cancelable) {
|
|
340
|
+
if (bubbles === void 0) {
|
|
341
|
+
bubbles = false;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
if (cancelable === void 0) {
|
|
345
|
+
cancelable = true;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
if (node) {
|
|
349
|
+
var event = document.createEvent('HTMLEvents');
|
|
350
|
+
event.initEvent(eventName, bubbles, cancelable);
|
|
351
|
+
node.dispatchEvent(event);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
300
355
|
function parseDuration(node) {
|
|
301
356
|
var str = style(node, 'transitionDuration') || '';
|
|
302
357
|
var mult = str.indexOf('ms') === -1 ? 1000 : 1;
|
|
303
358
|
return parseFloat(str) * mult;
|
|
304
359
|
}
|
|
305
360
|
|
|
306
|
-
function triggerTransitionEnd(element) {
|
|
307
|
-
var evt = document.createEvent('HTMLEvents');
|
|
308
|
-
evt.initEvent('transitionend', true, true);
|
|
309
|
-
element.dispatchEvent(evt);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
361
|
function emulateTransitionEnd(element, duration, padding) {
|
|
313
362
|
if (padding === void 0) {
|
|
314
363
|
padding = 5;
|
|
@@ -316,7 +365,7 @@ function emulateTransitionEnd(element, duration, padding) {
|
|
|
316
365
|
|
|
317
366
|
var called = false;
|
|
318
367
|
var handle = setTimeout(function () {
|
|
319
|
-
if (!called)
|
|
368
|
+
if (!called) triggerEvent(element, 'transitionend', true);
|
|
320
369
|
}, duration + padding);
|
|
321
370
|
var remove = listen(element, 'transitionend', function () {
|
|
322
371
|
called = true;
|
|
@@ -774,7 +823,10 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
774
823
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
775
824
|
*/
|
|
776
825
|
nodeRef: PropTypes.shape({
|
|
777
|
-
current: typeof Element === 'undefined' ? PropTypes.any :
|
|
826
|
+
current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {
|
|
827
|
+
var value = propValue[key];
|
|
828
|
+
return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
|
829
|
+
}
|
|
778
830
|
}),
|
|
779
831
|
|
|
780
832
|
/**
|
|
@@ -2406,6 +2458,13 @@ function (_ref, ref) {
|
|
|
2406
2458
|
Col.displayName = 'Col';
|
|
2407
2459
|
|
|
2408
2460
|
var matchesImpl;
|
|
2461
|
+
/**
|
|
2462
|
+
* Checks if a given element matches a selector.
|
|
2463
|
+
*
|
|
2464
|
+
* @param node the element
|
|
2465
|
+
* @param selector the selector
|
|
2466
|
+
*/
|
|
2467
|
+
|
|
2409
2468
|
function matches(node, selector) {
|
|
2410
2469
|
if (!matchesImpl) {
|
|
2411
2470
|
var body = document.body;
|
|
@@ -2420,6 +2479,13 @@ function matches(node, selector) {
|
|
|
2420
2479
|
}
|
|
2421
2480
|
|
|
2422
2481
|
var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
|
2482
|
+
/**
|
|
2483
|
+
* Runs `querySelectorAll` on a given element.
|
|
2484
|
+
*
|
|
2485
|
+
* @param element the element
|
|
2486
|
+
* @param selector the selector
|
|
2487
|
+
*/
|
|
2488
|
+
|
|
2423
2489
|
function qsa(element, selector) {
|
|
2424
2490
|
return toArray(element.querySelectorAll(selector));
|
|
2425
2491
|
}
|
|
@@ -2553,45 +2619,6 @@ function getBasePlacement(placement) {
|
|
|
2553
2619
|
return placement.split('-')[0];
|
|
2554
2620
|
}
|
|
2555
2621
|
|
|
2556
|
-
function getBoundingClientRect(element) {
|
|
2557
|
-
var rect = element.getBoundingClientRect();
|
|
2558
|
-
return {
|
|
2559
|
-
width: rect.width,
|
|
2560
|
-
height: rect.height,
|
|
2561
|
-
top: rect.top,
|
|
2562
|
-
right: rect.right,
|
|
2563
|
-
bottom: rect.bottom,
|
|
2564
|
-
left: rect.left,
|
|
2565
|
-
x: rect.left,
|
|
2566
|
-
y: rect.top
|
|
2567
|
-
};
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
|
-
// means it doesn't take into account transforms.
|
|
2571
|
-
|
|
2572
|
-
function getLayoutRect(element) {
|
|
2573
|
-
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2574
|
-
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2575
|
-
|
|
2576
|
-
var width = element.offsetWidth;
|
|
2577
|
-
var height = element.offsetHeight;
|
|
2578
|
-
|
|
2579
|
-
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2580
|
-
width = clientRect.width;
|
|
2581
|
-
}
|
|
2582
|
-
|
|
2583
|
-
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2584
|
-
height = clientRect.height;
|
|
2585
|
-
}
|
|
2586
|
-
|
|
2587
|
-
return {
|
|
2588
|
-
x: element.offsetLeft,
|
|
2589
|
-
y: element.offsetTop,
|
|
2590
|
-
width: width,
|
|
2591
|
-
height: height
|
|
2592
|
-
};
|
|
2593
|
-
}
|
|
2594
|
-
|
|
2595
2622
|
function getWindow(node) {
|
|
2596
2623
|
if (node == null) {
|
|
2597
2624
|
return window;
|
|
@@ -2625,6 +2652,59 @@ function isShadowRoot(node) {
|
|
|
2625
2652
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2626
2653
|
}
|
|
2627
2654
|
|
|
2655
|
+
var round$1 = Math.round;
|
|
2656
|
+
function getBoundingClientRect(element, includeScale) {
|
|
2657
|
+
if (includeScale === void 0) {
|
|
2658
|
+
includeScale = false;
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
var rect = element.getBoundingClientRect();
|
|
2662
|
+
var scaleX = 1;
|
|
2663
|
+
var scaleY = 1;
|
|
2664
|
+
|
|
2665
|
+
if (isHTMLElement(element) && includeScale) {
|
|
2666
|
+
// Fallback to 1 in case both values are `0`
|
|
2667
|
+
scaleX = rect.width / element.offsetWidth || 1;
|
|
2668
|
+
scaleY = rect.height / element.offsetHeight || 1;
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
return {
|
|
2672
|
+
width: round$1(rect.width / scaleX),
|
|
2673
|
+
height: round$1(rect.height / scaleY),
|
|
2674
|
+
top: round$1(rect.top / scaleY),
|
|
2675
|
+
right: round$1(rect.right / scaleX),
|
|
2676
|
+
bottom: round$1(rect.bottom / scaleY),
|
|
2677
|
+
left: round$1(rect.left / scaleX),
|
|
2678
|
+
x: round$1(rect.left / scaleX),
|
|
2679
|
+
y: round$1(rect.top / scaleY)
|
|
2680
|
+
};
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
// means it doesn't take into account transforms.
|
|
2684
|
+
|
|
2685
|
+
function getLayoutRect(element) {
|
|
2686
|
+
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2687
|
+
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2688
|
+
|
|
2689
|
+
var width = element.offsetWidth;
|
|
2690
|
+
var height = element.offsetHeight;
|
|
2691
|
+
|
|
2692
|
+
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2693
|
+
width = clientRect.width;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2697
|
+
height = clientRect.height;
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
return {
|
|
2701
|
+
x: element.offsetLeft,
|
|
2702
|
+
y: element.offsetTop,
|
|
2703
|
+
width: width,
|
|
2704
|
+
height: height
|
|
2705
|
+
};
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2628
2708
|
function contains$1(parent, child) {
|
|
2629
2709
|
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
|
2630
2710
|
|
|
@@ -3851,16 +3931,24 @@ function getNodeScroll(node) {
|
|
|
3851
3931
|
}
|
|
3852
3932
|
}
|
|
3853
3933
|
|
|
3934
|
+
function isElementScaled(element) {
|
|
3935
|
+
var rect = element.getBoundingClientRect();
|
|
3936
|
+
var scaleX = rect.width / element.offsetWidth || 1;
|
|
3937
|
+
var scaleY = rect.height / element.offsetHeight || 1;
|
|
3938
|
+
return scaleX !== 1 || scaleY !== 1;
|
|
3939
|
+
} // Returns the composite rect of an element relative to its offsetParent.
|
|
3854
3940
|
// Composite means it takes into account transforms as well as layout.
|
|
3855
3941
|
|
|
3942
|
+
|
|
3856
3943
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
3857
3944
|
if (isFixed === void 0) {
|
|
3858
3945
|
isFixed = false;
|
|
3859
3946
|
}
|
|
3860
3947
|
|
|
3861
|
-
var documentElement = getDocumentElement(offsetParent);
|
|
3862
|
-
var rect = getBoundingClientRect(elementOrVirtualElement);
|
|
3863
3948
|
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
3949
|
+
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
3950
|
+
var documentElement = getDocumentElement(offsetParent);
|
|
3951
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
|
|
3864
3952
|
var scroll = {
|
|
3865
3953
|
scrollLeft: 0,
|
|
3866
3954
|
scrollTop: 0
|
|
@@ -3877,7 +3965,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
|
3877
3965
|
}
|
|
3878
3966
|
|
|
3879
3967
|
if (isHTMLElement(offsetParent)) {
|
|
3880
|
-
offsets = getBoundingClientRect(offsetParent);
|
|
3968
|
+
offsets = getBoundingClientRect(offsetParent, true);
|
|
3881
3969
|
offsets.x += offsetParent.clientLeft;
|
|
3882
3970
|
offsets.y += offsetParent.clientTop;
|
|
3883
3971
|
} else if (documentElement) {
|
|
@@ -4485,9 +4573,16 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4485
4573
|
}
|
|
4486
4574
|
|
|
4487
4575
|
/* eslint-disable no-bitwise, no-cond-assign */
|
|
4488
|
-
|
|
4489
|
-
|
|
4576
|
+
|
|
4577
|
+
/**
|
|
4578
|
+
* Checks if an element contains another given element.
|
|
4579
|
+
*
|
|
4580
|
+
* @param context the context element
|
|
4581
|
+
* @param node the element to check
|
|
4582
|
+
*/
|
|
4490
4583
|
function contains(context, node) {
|
|
4584
|
+
// HTML DOM and SVG DOM may have different support levels,
|
|
4585
|
+
// so we need to check on context instead of a document root element.
|
|
4491
4586
|
if (context.contains) return context.contains(node);
|
|
4492
4587
|
if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);
|
|
4493
4588
|
}
|
|
@@ -5304,6 +5399,12 @@ function useWrappedRefWithWarning(ref, componentName) {
|
|
|
5304
5399
|
return useMergedRefs(warningRef, ref);
|
|
5305
5400
|
}
|
|
5306
5401
|
|
|
5402
|
+
/**
|
|
5403
|
+
* Checks if a given element has a CSS class.
|
|
5404
|
+
*
|
|
5405
|
+
* @param element the element
|
|
5406
|
+
* @param className the CSS class name
|
|
5407
|
+
*/
|
|
5307
5408
|
function hasClass(element, className) {
|
|
5308
5409
|
if (element.classList) return !!className && element.classList.contains(className);
|
|
5309
5410
|
return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
|
|
@@ -6743,9 +6844,9 @@ function scrollbarSize(recalc) {
|
|
|
6743
6844
|
}
|
|
6744
6845
|
|
|
6745
6846
|
/**
|
|
6746
|
-
*
|
|
6847
|
+
* Returns the actively focused element safely.
|
|
6747
6848
|
*
|
|
6748
|
-
* @param doc the document to
|
|
6849
|
+
* @param doc the document to check
|
|
6749
6850
|
*/
|
|
6750
6851
|
|
|
6751
6852
|
function activeElement(doc) {
|
|
@@ -6767,6 +6868,13 @@ function activeElement(doc) {
|
|
|
6767
6868
|
}
|
|
6768
6869
|
}
|
|
6769
6870
|
|
|
6871
|
+
/**
|
|
6872
|
+
* Adds a CSS class to a given element.
|
|
6873
|
+
*
|
|
6874
|
+
* @param element the element
|
|
6875
|
+
* @param className the CSS class name
|
|
6876
|
+
*/
|
|
6877
|
+
|
|
6770
6878
|
function addClass(element, className) {
|
|
6771
6879
|
if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className);
|
|
6772
6880
|
}
|
|
@@ -6774,6 +6882,13 @@ function addClass(element, className) {
|
|
|
6774
6882
|
function replaceClassName(origClass, classToRemove) {
|
|
6775
6883
|
return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, '');
|
|
6776
6884
|
}
|
|
6885
|
+
/**
|
|
6886
|
+
* Removes a CSS class from a given element.
|
|
6887
|
+
*
|
|
6888
|
+
* @param element the element
|
|
6889
|
+
* @param className the CSS class name
|
|
6890
|
+
*/
|
|
6891
|
+
|
|
6777
6892
|
|
|
6778
6893
|
function removeClass(element, className) {
|
|
6779
6894
|
if (element.classList) {
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-c10c03a2.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -18,7 +18,8 @@ import './index-3f5c03b2.js';
|
|
|
18
18
|
import './slicedToArray-6ebcbfea.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
20
|
import './urlFor.js';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-f0fc23eb.js';
|
|
22
|
+
import './events-6c3a7a63.js';
|
|
22
23
|
import 'next/router';
|
|
23
24
|
import './index-c7e2ac95.js';
|
|
24
25
|
import './Beam.js';
|
|
@@ -44,7 +45,7 @@ import 'next/head';
|
|
|
44
45
|
import 'react-share';
|
|
45
46
|
import './toConsumableArray-f7074d7c.js';
|
|
46
47
|
import 'react-bootstrap/Pagination';
|
|
47
|
-
import './entities-
|
|
48
|
+
import './entities-6d9154b4.js';
|
|
48
49
|
import './AdSlot.js';
|
|
49
50
|
import './debounce-533d9748.js';
|
|
50
51
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -15,7 +15,7 @@ import 'react-dom';
|
|
|
15
15
|
import './slicedToArray-6ebcbfea.js';
|
|
16
16
|
import './index-3f5c03b2.js';
|
|
17
17
|
|
|
18
|
-
var css = ".VideoSeriesCard-module_article__Hlc3e {\
|
|
18
|
+
var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
|
|
19
19
|
var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
|
|
20
20
|
styleInject(css);
|
|
21
21
|
|
|
@@ -20,7 +20,8 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
20
20
|
import './inherits-d21b4ef9.js';
|
|
21
21
|
import './_object-sap-7cee6f84.js';
|
|
22
22
|
import './define-property-5f1bda73.js';
|
|
23
|
-
import './index-
|
|
23
|
+
import './index-f0fc23eb.js';
|
|
24
|
+
import './events-6c3a7a63.js';
|
|
24
25
|
import 'prop-types';
|
|
25
26
|
import 'react-bootstrap/Container';
|
|
26
27
|
import 'react-bootstrap/Row';
|
|
@@ -35,13 +36,13 @@ import './index.es-a6137319.js';
|
|
|
35
36
|
import './visibility-sensor-72fd8f8b.js';
|
|
36
37
|
import 'react-dom';
|
|
37
38
|
import './index-3f5c03b2.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
39
|
+
import './ADlgInfeed-b6217567.js';
|
|
39
40
|
import './AdSlot.js';
|
|
40
41
|
import './Beam.js';
|
|
41
42
|
import './stringify-2b084bee.js';
|
|
42
43
|
import './Segment.js';
|
|
43
44
|
import './main-f97773b2.js';
|
|
44
|
-
import './ADInfeed-
|
|
45
|
+
import './ADInfeed-74cc728c.js';
|
|
45
46
|
import './index-755f2cc2.js';
|
|
46
47
|
import './urlFor.js';
|
|
47
48
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-1559c147.js';
|
|
2
2
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { l as lib_3 } from './index-
|
|
4
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
6
6
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
7
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
@@ -18,6 +18,7 @@ import './typeof-657f25da.js';
|
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
19
19
|
import './_is-array-8d21b9e3.js';
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
|
+
import './events-6c3a7a63.js';
|
|
21
22
|
import 'prop-types';
|
|
22
23
|
import 'react-dom';
|
|
23
24
|
import './iconBase-ccc56b97.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,10 +15,10 @@ import FormControl from 'react-bootstrap/FormControl';
|
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-c10c03a2.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
21
|
-
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-07be99e0.js';
|
|
21
|
+
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-5a281334.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
24
24
|
import { u as urlForFile } from './urlForFile-f6485737.js';
|
|
@@ -32,7 +32,7 @@ import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpe
|
|
|
32
32
|
import { PixelTrackingArticle } from './PixelTracking.js';
|
|
33
33
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
34
34
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
35
|
-
import { l as lib_3 } from './index-
|
|
35
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
36
36
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
37
37
|
import getQuery from './getQuery.js';
|
|
38
38
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
@@ -57,7 +57,7 @@ import './GroupDeck.js';
|
|
|
57
57
|
import './smoothscroll-fa4e3f8c.js';
|
|
58
58
|
import './_is-array-8d21b9e3.js';
|
|
59
59
|
import 'react-bootstrap/Pagination';
|
|
60
|
-
import './entities-
|
|
60
|
+
import './entities-6d9154b4.js';
|
|
61
61
|
import 'react-bootstrap/Row';
|
|
62
62
|
import 'react-bootstrap/Col';
|
|
63
63
|
import './inherits-d21b4ef9.js';
|
|
@@ -73,6 +73,7 @@ import './checkSisterSite-a7218fda.js';
|
|
|
73
73
|
import './debounce-533d9748.js';
|
|
74
74
|
import './isSymbol-a7e9aafe.js';
|
|
75
75
|
import './toNumber-5aeba6e7.js';
|
|
76
|
+
import './events-6c3a7a63.js';
|
|
76
77
|
|
|
77
78
|
var getArticleSummary = function getArticleSummary(article) {
|
|
78
79
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -100,6 +101,10 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
|
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
|
|
104
|
+
if (docGroup.parent.identifier.current.includes('/') && docGroup.parent.identifier.current.split('/')[0] === docGroup.parent.parent.identifier.current) {
|
|
105
|
+
return '/' + docGroup.parent.identifier.current + '/' + docGroup.path;
|
|
106
|
+
}
|
|
107
|
+
|
|
103
108
|
if (docGroup.parent) {
|
|
104
109
|
url = '/' + docGroup.parent.identifier.current;
|
|
105
110
|
if (docGroup.parent.parent && docGroup.parent.parent.name) {
|
|
@@ -376,7 +381,7 @@ var ISI = function ISI(props) {
|
|
|
376
381
|
);
|
|
377
382
|
};
|
|
378
383
|
|
|
379
|
-
var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
384
|
+
var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
380
385
|
var styles$1 = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
381
386
|
styleInject(css$1);
|
|
382
387
|
|
|
@@ -481,7 +486,7 @@ var FileSaver_min = createCommonjsModule(function (module, exports) {
|
|
|
481
486
|
|
|
482
487
|
});
|
|
483
488
|
|
|
484
|
-
var css = ".RecommendedArticles-module_recommendTitle__2kUji {\
|
|
489
|
+
var css = ".RecommendedArticles-module_recommendTitle__2kUji {\n border-bottom: 2px solid var(--secondary-blue);\n font-size: 1.5rem;\n font-weight: bold;\n color: #0d335a;\n padding: 0.5rem;\n}\n.RecommendedArticles-module_recommendContainer__sZukI {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n margin: 0 -0.5rem;\n}\n.RecommendedArticles-module_recommendTop__1_yqw {\n margin: 0.5rem;\n width: 100%;\n flex-basis: 100%;\n display: flex;\n\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu {\n min-width: 55%;\n width: 55%;\n height: 100%;\n}\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.RecommendedArticles-module_recommendTopBody__-13FI {\n margin-left: 1rem;\n line-height: 1.3;\n color: #121212;\n display: flex;\n flex-direction: column;\n}\n.RecommendedArticles-module_topTitle__2EafN {\n font-size: 25px;\n font-weight: bold;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topBody__2_VNi {\n font-size: 19px;\n margin-bottom: 0.5rem;\n}\n.RecommendedArticles-module_topLink__2RnXu {\n font-size: 19px;\n color: rgb(43, 43, 151);\n text-decoration: underline;\n margin-top: auto;\n}\n.RecommendedArticles-module_smContainer__4byBO {\n width: calc(25% - 1rem);\n margin: 0 0.5rem;\n}\n.RecommendedArticles-module_smImage__TYZGY img {\n width: 100%;\n}\n.RecommendedArticles-module_title__3q1ud {\n margin-top: 1rem;\n line-height: 1.2;\n color: #121212;\n}\n.RecommendedArticles-module_category__2jRto {\n text-transform: uppercase;\n font-size: 16px;\n letter-spacing: 2px;\n margin: 0.25rem 0;\n}\n\n/* media query */\n\n@media screen and (max-width: 1399px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 21px;\n }\n .RecommendedArticles-module_topBody__2_VNi {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 1191px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 23px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 17px;\n }\n}\n@media screen and (max-width: 968px) {\n .RecommendedArticles-module_topTitle__2EafN {\n font-size: 18px;\n }\n .RecommendedArticles-module_topBody__2_VNi,\n .RecommendedArticles-module_topLink__2RnXu {\n font-size: 15px;\n }\n}\n@media screen and (max-width: 768px) {\n .RecommendedArticles-module_recommendTop__1_yqw {\n flex-direction: column;\n }\n .RecommendedArticles-module_recommendTopImg__1b9gu,\n .RecommendedArticles-module_recommendTopBody__-13FI {\n width: 100%;\n margin: 0;\n }\n .RecommendedArticles-module_recommendTopBody__-13FI {\n margin-bottom: 1rem;\n }\n .RecommendedArticles-module_smContainer__4byBO {\n width: calc(50% - 1rem);\n }\n}";
|
|
485
490
|
var styles = { "recommendTitle": "RecommendedArticles-module_recommendTitle__2kUji", "recommendContainer": "RecommendedArticles-module_recommendContainer__sZukI", "recommendTop": "RecommendedArticles-module_recommendTop__1_yqw", "recommendTopImg": "RecommendedArticles-module_recommendTopImg__1b9gu", "recommendTopBody": "RecommendedArticles-module_recommendTopBody__-13FI", "topTitle": "RecommendedArticles-module_topTitle__2EafN", "topBody": "RecommendedArticles-module_topBody__2_VNi", "topLink": "RecommendedArticles-module_topLink__2RnXu", "smContainer": "RecommendedArticles-module_smContainer__4byBO", "smImage": "RecommendedArticles-module_smImage__TYZGY", "title": "RecommendedArticles-module_title__3q1ud", "category": "RecommendedArticles-module_category__2jRto" };
|
|
486
491
|
styleInject(css);
|
|
487
492
|
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-
|
|
4
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
6
6
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -13,10 +13,10 @@ import 'prop-types';
|
|
|
13
13
|
import './extends-1559c147.js';
|
|
14
14
|
import './index-3f5c03b2.js';
|
|
15
15
|
|
|
16
|
-
/*
|
|
17
|
-
GROQ query -
|
|
18
|
-
accepts an array of title, URL
|
|
19
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
16
|
+
/*
|
|
17
|
+
GROQ query -
|
|
18
|
+
accepts an array of title, URL
|
|
19
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
var YoutubeGroup = function YoutubeGroup(props) {
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
|
|
3
|
+
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
4
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
5
|
+
try {
|
|
6
|
+
var info = gen[key](arg);
|
|
7
|
+
var value = info.value;
|
|
8
|
+
} catch (error) {
|
|
9
|
+
reject(error);
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
if (info.done) {
|
|
14
|
+
resolve(value);
|
|
15
|
+
} else {
|
|
16
|
+
Promise.resolve(value).then(_next, _throw);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function _asyncToGenerator(fn) {
|
|
21
|
+
return function () {
|
|
22
|
+
var self = this,
|
|
23
|
+
args = arguments;
|
|
24
|
+
return new Promise(function (resolve, reject) {
|
|
25
|
+
var gen = fn.apply(self, args);
|
|
26
|
+
|
|
27
|
+
function _next(value) {
|
|
28
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function _throw(err) {
|
|
32
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_next(undefined);
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
module.exports = _asyncToGenerator;
|
|
41
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
45
|
+
|
|
46
|
+
var defineProperty = createCommonjsModule(function (module) {
|
|
47
|
+
function _defineProperty(obj, key, value) {
|
|
48
|
+
if (key in obj) {
|
|
49
|
+
Object.defineProperty(obj, key, {
|
|
50
|
+
value: value,
|
|
51
|
+
enumerable: true,
|
|
52
|
+
configurable: true,
|
|
53
|
+
writable: true
|
|
54
|
+
});
|
|
55
|
+
} else {
|
|
56
|
+
obj[key] = value;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return obj;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
module.exports = _defineProperty;
|
|
63
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
67
|
+
|
|
68
|
+
export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
|
|
@@ -58,6 +58,10 @@ var striptags = createCommonjsModule(function (module) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
function striptags_internal(html, context) {
|
|
61
|
+
if (typeof html != "string") {
|
|
62
|
+
throw new TypeError("'html' parameter must be a string");
|
|
63
|
+
}
|
|
64
|
+
|
|
61
65
|
let allowable_tags = context.allowable_tags;
|
|
62
66
|
let tag_replacement = context.tag_replacement;
|
|
63
67
|
|