@mjhls/mjh-framework 1.0.993-logtest → 1.0.993-topelement-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 +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -1
- package/dist/cjs/AD300x250x600.js +2 -1
- package/dist/cjs/AD728x90.js +2 -1
- package/dist/cjs/ADFloatingFooter.js +2 -1
- package/dist/cjs/ADGutter.js +2 -1
- package/dist/cjs/ADSkyscraper.js +2 -1
- package/dist/cjs/ADSponsoredResources.js +2 -1
- package/dist/cjs/ADWebcast.js +2 -1
- package/dist/cjs/ADWelcome.js +2 -1
- package/dist/cjs/AdSlot.js +2 -1
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +276 -738
- package/dist/cjs/ArticleProgramLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesListing.js +2 -1
- package/dist/cjs/Auth.js +22830 -26
- package/dist/cjs/AuthWrapper.js +36 -16
- package/dist/cjs/CMEDeck.js +2 -1
- package/dist/cjs/Column3.js +2 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -2
- package/dist/cjs/DeckContent.js +11 -10
- package/dist/cjs/DeckQueue.js +2 -1
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/{Dfp-67646058.js → Dfp-c313a700.js} +2 -1
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +5 -4
- package/dist/cjs/GridContent.js +4 -3
- package/dist/cjs/GridContentPaginated.js +4 -3
- package/dist/cjs/HamMagazine.js +9 -9
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +5 -4
- package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-ca708da8.js} +1100 -1
- package/dist/cjs/IssueLanding.js +36 -35
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -1
- package/dist/cjs/MasterDeck.js +12 -11
- package/dist/cjs/MasterDeckPaginated.js +12 -11
- package/dist/cjs/{MediaSeriesCard-2645b00a.js → MediaSeriesCard-f6db8f70.js} +218 -227
- package/dist/cjs/MediaSeriesLanding.js +14 -13
- package/dist/cjs/MediaSeriesLandingPaginated.js +14 -13
- package/dist/cjs/NavMagazine.js +10 -10
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/PartnerDetailListing.js +10 -9
- package/dist/cjs/PartnerDetailListingPaginated.js +10 -9
- package/dist/cjs/PubSection.js +4 -3
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -3
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -3
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +2 -1
- package/dist/cjs/SeriesListingDeck.js +3 -2
- package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-f5248377.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +5 -4
- package/dist/cjs/TemplateNormal.js +2 -1
- package/dist/cjs/VideoProgramLandingPage.js +5 -4
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesListing.js +2 -1
- package/dist/cjs/View.js +9 -8
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/defineProperty-ad65f5f0.js +110 -0
- package/dist/{esm/util-8ed16d48.js → cjs/empty-559717f3.js} +146 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +5 -4
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/index-0cf4c9fc.js +904 -0
- package/dist/cjs/{index-b95410f0.js → index-9ec837cc.js} +35 -0
- package/dist/cjs/{index-669d70bd.js → index-b10d6863.js} +12 -15
- package/dist/cjs/{index-7435b964.js → index-d2a6ef75.js} +2 -467
- package/dist/cjs/index.js +12 -14
- 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 +3 -2
- package/dist/esm/AlgoliaSearch.js +12 -474
- package/dist/esm/ArticleProgramLandingPage.js +5 -4
- package/dist/esm/ArticleSeriesLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesListing.js +2 -1
- package/dist/esm/Auth.js +22825 -18
- package/dist/esm/AuthWrapper.js +36 -16
- 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 +3 -2
- package/dist/esm/DeckContent.js +11 -10
- package/dist/esm/DeckQueue.js +2 -1
- package/dist/esm/DeckQueuePaginated.js +2 -1
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +17 -17
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/GridContent.js +4 -3
- package/dist/esm/GridContentPaginated.js +4 -3
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/Header.js +1 -1
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +5 -4
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-fada4f0c.js} +1101 -3
- package/dist/esm/IssueLanding.js +36 -35
- 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 +12 -11
- package/dist/esm/{MediaSeriesCard-2a9ff7f3.js → MediaSeriesCard-96ac8ed4.js} +218 -227
- package/dist/esm/MediaSeriesLanding.js +14 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +14 -13
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/PartnerDetailListing.js +9 -8
- package/dist/esm/PartnerDetailListingPaginated.js +9 -8
- package/dist/esm/PubSection.js +4 -3
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -3
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +2 -1
- package/dist/esm/SeriesListingDeck.js +3 -2
- package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-4875823e.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyDescription.js +5 -4
- package/dist/esm/TemplateNormal.js +2 -1
- package/dist/esm/VideoProgramLandingPage.js +5 -4
- 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 +9 -8
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/defineProperty-50094484.js +101 -0
- package/dist/{cjs/util-93a37fd0.js → esm/empty-a8042e3c.js} +135 -3
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +5 -4
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-4d0371dc.js → index-076baa11.js} +5 -7
- package/dist/esm/{index-174b5baf.js → index-0ce54f8a.js} +34 -1
- package/dist/esm/index-e7075467.js +897 -0
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +12 -14
- package/package.json +114 -114
- /package/dist/cjs/{ADInfeed-ef933a08.js → ADInfeed-f316b66a.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-0e931f24.js → ADlgInfeed-2003306e.js} +0 -0
- /package/dist/esm/{ADInfeed-f946441a.js → ADInfeed-777bb0b3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-012e6f16.js → ADlgInfeed-e7fd1bb6.js} +0 -0
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import Head from 'next/head';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-076baa11.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
@@ -16,9 +16,10 @@ import 'prop-types';
|
|
|
16
16
|
import './index-3f5c03b2.js';
|
|
17
17
|
import 'react-bootstrap';
|
|
18
18
|
import './urlFor.js';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-f0fc23eb.js';
|
|
20
|
+
import './events-6c3a7a63.js';
|
|
20
21
|
import './index-c7e2ac95.js';
|
|
21
|
-
import './
|
|
22
|
+
import './empty-a8042e3c.js';
|
|
22
23
|
import './Beam.js';
|
|
23
24
|
import './stringify-2b084bee.js';
|
|
24
25
|
import './Segment.js';
|
|
@@ -32,7 +33,7 @@ import './brightcove-react-player-loader.es-57a70a56.js';
|
|
|
32
33
|
import 'react-bootstrap/Modal';
|
|
33
34
|
import 'react-bootstrap/Button';
|
|
34
35
|
import 'react-bootstrap/Form';
|
|
35
|
-
import '
|
|
36
|
+
import './index-e7075467.js';
|
|
36
37
|
import './GroupDeck.js';
|
|
37
38
|
import './smoothscroll-fa4e3f8c.js';
|
|
38
39
|
import './moment-bc12cb97.js';
|
|
@@ -19,7 +19,8 @@ import './AdSlot.js';
|
|
|
19
19
|
import './extends-6d8e3924.js';
|
|
20
20
|
import './_object-pie-133f504a.js';
|
|
21
21
|
import 'prop-types';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-f0fc23eb.js';
|
|
23
|
+
import './events-6c3a7a63.js';
|
|
23
24
|
import './debounce-533d9748.js';
|
|
24
25
|
import './isSymbol-a7e9aafe.js';
|
|
25
26
|
import './toNumber-5aeba6e7.js';
|
|
@@ -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-076baa11.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -18,10 +18,11 @@ 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
|
-
import './
|
|
25
|
+
import './empty-a8042e3c.js';
|
|
25
26
|
import './Beam.js';
|
|
26
27
|
import './stringify-2b084bee.js';
|
|
27
28
|
import './Segment.js';
|
|
@@ -33,7 +34,7 @@ import './typeof-e9fc0c5d.js';
|
|
|
33
34
|
import './_is-array-8d21b9e3.js';
|
|
34
35
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
35
36
|
import 'react-bootstrap/Modal';
|
|
36
|
-
import '
|
|
37
|
+
import './index-e7075467.js';
|
|
37
38
|
import './GroupDeck.js';
|
|
38
39
|
import './smoothscroll-fa4e3f8c.js';
|
|
39
40
|
import './moment-bc12cb97.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 {\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";
|
|
18
|
+
var css = ".VideoSeriesCard-module_article__Hlc3e {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.VideoSeriesCard-module_article__Hlc3e a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ {\r\n width: 25%;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_published__1fI0q {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_summary__3hWJT {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o {\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o span {\r\n color: #6d6d6d;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .VideoSeriesCard-module_article__Hlc3e {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .VideoSeriesCard-module_article__Hlc3e a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ figure {\r\n margin: 0;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N {\r\n width: 90%;\r\n padding: 1rem !important;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N h2 {\r\n font-size: 1rem;\r\n }\r\n}\r\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 './extends-6d8e3924.js';
|
|
|
20
20
|
import './inherits-a6ba2ec4.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-e7fd1bb6.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-9f6806ea.js';
|
|
44
|
-
import './ADInfeed-
|
|
45
|
+
import './ADInfeed-777bb0b3.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-6d8e3924.js';
|
|
2
2
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.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';
|
|
@@ -19,6 +19,7 @@ import './typeof-e9fc0c5d.js';
|
|
|
19
19
|
import './web.dom.iterable-ab4dea5c.js';
|
|
20
20
|
import './_is-array-8d21b9e3.js';
|
|
21
21
|
import './_library-528f1934.js';
|
|
22
|
+
import './events-6c3a7a63.js';
|
|
22
23
|
import 'prop-types';
|
|
23
24
|
import 'react-dom';
|
|
24
25
|
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-076baa11.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-4875823e.js';
|
|
21
|
+
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-c6884f34.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
24
24
|
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
@@ -33,7 +33,7 @@ import { PixelTrackingArticle } from './PixelTracking.js';
|
|
|
33
33
|
import './Segment.js';
|
|
34
34
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
35
35
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
36
|
-
import { l as lib_3 } from './index-
|
|
36
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
37
37
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
38
38
|
import getQuery from './getQuery.js';
|
|
39
39
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
@@ -48,11 +48,11 @@ import 'react-dom';
|
|
|
48
48
|
import 'react-share';
|
|
49
49
|
import 'react-bootstrap';
|
|
50
50
|
import './index-c7e2ac95.js';
|
|
51
|
-
import './
|
|
51
|
+
import './empty-a8042e3c.js';
|
|
52
52
|
import './Beam.js';
|
|
53
53
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
54
54
|
import 'react-bootstrap/Modal';
|
|
55
|
-
import '
|
|
55
|
+
import './index-e7075467.js';
|
|
56
56
|
import './GroupDeck.js';
|
|
57
57
|
import './smoothscroll-fa4e3f8c.js';
|
|
58
58
|
import './_is-array-8d21b9e3.js';
|
|
@@ -74,6 +74,7 @@ import './checkSisterSite-baa4fb6b.js';
|
|
|
74
74
|
import './debounce-533d9748.js';
|
|
75
75
|
import './isSymbol-a7e9aafe.js';
|
|
76
76
|
import './toNumber-5aeba6e7.js';
|
|
77
|
+
import './events-6c3a7a63.js';
|
|
77
78
|
import './index-db3bb315.js';
|
|
78
79
|
|
|
79
80
|
var getArticleSummary = function getArticleSummary(article) {
|
|
@@ -363,7 +364,7 @@ var ISI = function ISI(props) {
|
|
|
363
364
|
);
|
|
364
365
|
};
|
|
365
366
|
|
|
366
|
-
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";
|
|
367
|
+
var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
|
|
367
368
|
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" };
|
|
368
369
|
styleInject(css$1);
|
|
369
370
|
|
|
@@ -468,7 +469,7 @@ var FileSaver_min = createCommonjsModule(function (module, exports) {
|
|
|
468
469
|
|
|
469
470
|
});
|
|
470
471
|
|
|
471
|
-
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}";
|
|
472
|
+
var css = ".RecommendedArticles-module_recommendTitle__2kUji {\r\n border-bottom: 2px solid var(--secondary-blue);\r\n font-size: 1.5rem;\r\n font-weight: bold;\r\n color: #0d335a;\r\n padding: 0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendContainer__sZukI {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n margin: 0 -0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendTop__1_yqw {\r\n margin: 0.5rem;\r\n width: 100%;\r\n flex-basis: 100%;\r\n display: flex;\r\n\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu {\r\n min-width: 55%;\r\n width: 55%;\r\n height: 100%;\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n}\r\n.RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-left: 1rem;\r\n line-height: 1.3;\r\n color: #121212;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 25px;\r\n font-weight: bold;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 19px;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 19px;\r\n color: rgb(43, 43, 151);\r\n text-decoration: underline;\r\n margin-top: auto;\r\n}\r\n.RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(25% - 1rem);\r\n margin: 0 0.5rem;\r\n}\r\n.RecommendedArticles-module_smImage__TYZGY img {\r\n width: 100%;\r\n}\r\n.RecommendedArticles-module_title__3q1ud {\r\n margin-top: 1rem;\r\n line-height: 1.2;\r\n color: #121212;\r\n}\r\n.RecommendedArticles-module_category__2jRto {\r\n text-transform: uppercase;\r\n font-size: 16px;\r\n letter-spacing: 2px;\r\n margin: 0.25rem 0;\r\n}\r\n\r\n/* media query */\r\n\r\n@media screen and (max-width: 1399px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 21px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 1191px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 23px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 17px;\r\n }\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 18px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 768px) {\r\n .RecommendedArticles-module_recommendTop__1_yqw {\r\n flex-direction: column;\r\n }\r\n .RecommendedArticles-module_recommendTopImg__1b9gu,\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n width: 100%;\r\n margin: 0;\r\n }\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-bottom: 1rem;\r\n }\r\n .RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(50% - 1rem);\r\n }\r\n}";
|
|
472
473
|
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" };
|
|
473
474
|
styleInject(css);
|
|
474
475
|
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -12,10 +12,10 @@ import 'react-dom';
|
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import './index-3f5c03b2.js';
|
|
14
14
|
|
|
15
|
-
/*
|
|
16
|
-
GROQ query -
|
|
17
|
-
accepts an array of title, URL
|
|
18
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
15
|
+
/*
|
|
16
|
+
GROQ query -
|
|
17
|
+
accepts an array of title, URL
|
|
18
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
var YoutubeGroup = function YoutubeGroup(props) {
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
function _classCallCheck(instance, Constructor) {
|
|
2
|
+
if (!(instance instanceof Constructor)) {
|
|
3
|
+
throw new TypeError("Cannot call a class as a function");
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _defineProperties(target, props) {
|
|
8
|
+
for (var i = 0; i < props.length; i++) {
|
|
9
|
+
var descriptor = props[i];
|
|
10
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
11
|
+
descriptor.configurable = true;
|
|
12
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
13
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
18
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
19
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
20
|
+
return Constructor;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function _assertThisInitialized(self) {
|
|
24
|
+
if (self === void 0) {
|
|
25
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return self;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function _setPrototypeOf(o, p) {
|
|
32
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
33
|
+
o.__proto__ = p;
|
|
34
|
+
return o;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
return _setPrototypeOf(o, p);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function _inherits(subClass, superClass) {
|
|
41
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
42
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
46
|
+
constructor: {
|
|
47
|
+
value: subClass,
|
|
48
|
+
writable: true,
|
|
49
|
+
configurable: true
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function _typeof(obj) {
|
|
56
|
+
"@babel/helpers - typeof";
|
|
57
|
+
|
|
58
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
59
|
+
_typeof = function _typeof(obj) {
|
|
60
|
+
return typeof obj;
|
|
61
|
+
};
|
|
62
|
+
} else {
|
|
63
|
+
_typeof = function _typeof(obj) {
|
|
64
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return _typeof(obj);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function _possibleConstructorReturn(self, call) {
|
|
72
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
73
|
+
return call;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
return _assertThisInitialized(self);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function _getPrototypeOf(o) {
|
|
80
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
81
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
82
|
+
};
|
|
83
|
+
return _getPrototypeOf(o);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function _defineProperty(obj, key, value) {
|
|
87
|
+
if (key in obj) {
|
|
88
|
+
Object.defineProperty(obj, key, {
|
|
89
|
+
value: value,
|
|
90
|
+
enumerable: true,
|
|
91
|
+
configurable: true,
|
|
92
|
+
writable: true
|
|
93
|
+
});
|
|
94
|
+
} else {
|
|
95
|
+
obj[key] = value;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return obj;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export { _defineProperty as _, _typeof as a, _inherits as b, _getPrototypeOf as c, _possibleConstructorReturn as d, _classCallCheck as e, _assertThisInitialized as f, _createClass as g };
|
|
@@ -1,6 +1,136 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
1
|
// shim for using process in browser
|
|
2
|
+
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
|
|
3
|
+
|
|
4
|
+
function defaultSetTimout() {
|
|
5
|
+
throw new Error('setTimeout has not been defined');
|
|
6
|
+
}
|
|
7
|
+
function defaultClearTimeout () {
|
|
8
|
+
throw new Error('clearTimeout has not been defined');
|
|
9
|
+
}
|
|
10
|
+
var cachedSetTimeout = defaultSetTimout;
|
|
11
|
+
var cachedClearTimeout = defaultClearTimeout;
|
|
12
|
+
if (typeof global.setTimeout === 'function') {
|
|
13
|
+
cachedSetTimeout = setTimeout;
|
|
14
|
+
}
|
|
15
|
+
if (typeof global.clearTimeout === 'function') {
|
|
16
|
+
cachedClearTimeout = clearTimeout;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function runTimeout(fun) {
|
|
20
|
+
if (cachedSetTimeout === setTimeout) {
|
|
21
|
+
//normal enviroments in sane situations
|
|
22
|
+
return setTimeout(fun, 0);
|
|
23
|
+
}
|
|
24
|
+
// if setTimeout wasn't available but was latter defined
|
|
25
|
+
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
26
|
+
cachedSetTimeout = setTimeout;
|
|
27
|
+
return setTimeout(fun, 0);
|
|
28
|
+
}
|
|
29
|
+
try {
|
|
30
|
+
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
31
|
+
return cachedSetTimeout(fun, 0);
|
|
32
|
+
} catch(e){
|
|
33
|
+
try {
|
|
34
|
+
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
35
|
+
return cachedSetTimeout.call(null, fun, 0);
|
|
36
|
+
} catch(e){
|
|
37
|
+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
|
38
|
+
return cachedSetTimeout.call(this, fun, 0);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
function runClearTimeout(marker) {
|
|
45
|
+
if (cachedClearTimeout === clearTimeout) {
|
|
46
|
+
//normal enviroments in sane situations
|
|
47
|
+
return clearTimeout(marker);
|
|
48
|
+
}
|
|
49
|
+
// if clearTimeout wasn't available but was latter defined
|
|
50
|
+
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
51
|
+
cachedClearTimeout = clearTimeout;
|
|
52
|
+
return clearTimeout(marker);
|
|
53
|
+
}
|
|
54
|
+
try {
|
|
55
|
+
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
56
|
+
return cachedClearTimeout(marker);
|
|
57
|
+
} catch (e){
|
|
58
|
+
try {
|
|
59
|
+
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
60
|
+
return cachedClearTimeout.call(null, marker);
|
|
61
|
+
} catch (e){
|
|
62
|
+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
|
63
|
+
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
64
|
+
return cachedClearTimeout.call(this, marker);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
}
|
|
71
|
+
var queue = [];
|
|
72
|
+
var draining = false;
|
|
73
|
+
var currentQueue;
|
|
74
|
+
var queueIndex = -1;
|
|
75
|
+
|
|
76
|
+
function cleanUpNextTick() {
|
|
77
|
+
if (!draining || !currentQueue) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
draining = false;
|
|
81
|
+
if (currentQueue.length) {
|
|
82
|
+
queue = currentQueue.concat(queue);
|
|
83
|
+
} else {
|
|
84
|
+
queueIndex = -1;
|
|
85
|
+
}
|
|
86
|
+
if (queue.length) {
|
|
87
|
+
drainQueue();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function drainQueue() {
|
|
92
|
+
if (draining) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
var timeout = runTimeout(cleanUpNextTick);
|
|
96
|
+
draining = true;
|
|
97
|
+
|
|
98
|
+
var len = queue.length;
|
|
99
|
+
while(len) {
|
|
100
|
+
currentQueue = queue;
|
|
101
|
+
queue = [];
|
|
102
|
+
while (++queueIndex < len) {
|
|
103
|
+
if (currentQueue) {
|
|
104
|
+
currentQueue[queueIndex].run();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
queueIndex = -1;
|
|
108
|
+
len = queue.length;
|
|
109
|
+
}
|
|
110
|
+
currentQueue = null;
|
|
111
|
+
draining = false;
|
|
112
|
+
runClearTimeout(timeout);
|
|
113
|
+
}
|
|
114
|
+
function nextTick(fun) {
|
|
115
|
+
var args = new Array(arguments.length - 1);
|
|
116
|
+
if (arguments.length > 1) {
|
|
117
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
118
|
+
args[i - 1] = arguments[i];
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
queue.push(new Item(fun, args));
|
|
122
|
+
if (queue.length === 1 && !draining) {
|
|
123
|
+
runTimeout(drainQueue);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
// v8 likes predictible objects
|
|
127
|
+
function Item(fun, array) {
|
|
128
|
+
this.fun = fun;
|
|
129
|
+
this.array = array;
|
|
130
|
+
}
|
|
131
|
+
Item.prototype.run = function () {
|
|
132
|
+
this.fun.apply(null, this.array);
|
|
133
|
+
};
|
|
4
134
|
|
|
5
135
|
// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
|
|
6
136
|
var performance = global.performance || {};
|
|
@@ -584,4 +714,6 @@ var util = {
|
|
|
584
714
|
debuglog: debuglog
|
|
585
715
|
};
|
|
586
716
|
|
|
587
|
-
|
|
717
|
+
var tls = {};
|
|
718
|
+
|
|
719
|
+
export { isString as a, isNullOrUndefined as b, isNull as c, debuglog as d, inherits$1 as e, deprecate as f, isObject as i, nextTick as n, tls as t, util as u };
|