@mjhls/mjh-framework 1.0.823-double-verify → 1.0.824-deckqueue-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 +170 -170
- package/dist/cjs/AD300x250.js +2 -2
- package/dist/cjs/AD300x250x600.js +2 -2
- package/dist/cjs/AD728x90.js +3 -3
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AdSlot.js +1 -74
- package/dist/cjs/AdSlotsProvider.js +5 -14
- package/dist/cjs/AlgoliaSearch.js +18 -36
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -5
- package/dist/cjs/ArticleSeriesListing.js +3 -3
- package/dist/cjs/Auth.js +41 -6
- package/dist/cjs/AuthWrapper.js +228 -189
- package/dist/cjs/CMEDeck.js +3 -3
- package/dist/cjs/Column3.js +3 -3
- package/dist/cjs/ConferenceArticleCard.js +16 -16
- package/dist/cjs/DeckContent.js +13 -13
- package/dist/cjs/DeckQueue.js +12 -6
- package/dist/cjs/EventsDeck.js +21 -21
- package/dist/cjs/ExternalResources.js +5 -5
- package/dist/cjs/Feature.js +2 -2
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +8 -8
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HighlightenVideo.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -4
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +36 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +13 -13
- package/dist/cjs/MediaSeriesLanding.js +149 -193
- package/dist/cjs/NavMagazine.js +14 -14
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -7
- package/dist/cjs/PubSection.js +5 -5
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +7 -7
- package/dist/cjs/RelatedContent.js +29 -29
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -3
- package/dist/cjs/{SeriesSlider-66092a33.js → SeriesSlider-b94509d5.js} +10 -10
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-560a666e.js → SocialSearchComponent-42b9d251.js} +3 -3
- package/dist/cjs/TaxonomyDescription.js +4 -4
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/Ustream.js +2 -2
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesCard.js +2 -2
- package/dist/cjs/VideoSeriesLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/View.js +22 -14
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +10 -10
- package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-5c98aec7.js} +4 -3
- package/dist/cjs/getRelatedArticle.js +62 -126
- package/dist/cjs/getSerializers.js +4 -4
- package/dist/cjs/{getTargeting-ea2ea5e7.js → getTargeting-15ad167c.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-f0677b9d.js → index-e2e62963.js} +0 -10
- package/dist/cjs/{index-be7af3a5.js → index-f30a10d6.js} +12 -12
- package/dist/cjs/{index.es-13533f24.js → index.es-f3e47207.js} +20 -4
- package/dist/cjs/index.js +12 -12
- package/dist/cjs/{main-11ec04d2.js → main-7b5e57b0.js} +32 -28
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/esm/AD300x250.js +2 -2
- package/dist/esm/AD300x250x600.js +2 -2
- package/dist/esm/AD728x90.js +3 -3
- package/dist/esm/ADFloatingFooter.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/AdSlot.js +2 -75
- package/dist/esm/AdSlotsProvider.js +5 -14
- package/dist/esm/AlgoliaSearch.js +17 -35
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +5 -5
- package/dist/esm/ArticleSeriesLandingPage.js +5 -5
- package/dist/esm/ArticleSeriesListing.js +3 -3
- package/dist/esm/Auth.js +42 -7
- package/dist/esm/AuthWrapper.js +228 -189
- package/dist/esm/CMEDeck.js +3 -3
- package/dist/esm/Column3.js +3 -3
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/DeckContent.js +13 -13
- package/dist/esm/DeckQueue.js +12 -6
- package/dist/esm/EventsDeck.js +21 -21
- package/dist/esm/ExternalResources.js +5 -5
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +8 -8
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +15 -15
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -4
- 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 +36 -36
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +13 -13
- package/dist/esm/MediaSeriesLanding.js +149 -193
- package/dist/esm/NavMagazine.js +14 -14
- package/dist/esm/NavNative.js +12 -12
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +7 -7
- package/dist/esm/PubSection.js +5 -5
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +7 -7
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +3 -3
- package/dist/esm/{SeriesSlider-802c4daf.js → SeriesSlider-935e2b4e.js} +10 -10
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-82ac7d6d.js → SocialSearchComponent-94f6554c.js} +3 -3
- package/dist/esm/TaxonomyDescription.js +4 -4
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +5 -5
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesLandingPage.js +5 -5
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/View.js +22 -14
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +10 -10
- package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-4abff0b1.js} +4 -3
- package/dist/esm/getRelatedArticle.js +62 -126
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/{getTargeting-831bc794.js → getTargeting-82e86707.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-a5e7c80c.js → index-a69960c8.js} +12 -12
- package/dist/esm/{index-b68072f5.js → index-aaa2dae0.js} +1 -10
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index.es-7dda2f0a.js → index.es-c6222053.js} +20 -4
- package/dist/esm/index.js +12 -12
- package/dist/esm/{main-aef58dbc.js → main-747e7d25.js} +32 -28
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/package.json +110 -110
- /package/dist/cjs/{ADInfeed-abcd28ad.js → ADInfeed-0158bee3.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-ed0bff5b.js → ADlgInfeed-3583144f.js} +0 -0
- /package/dist/esm/{ADInfeed-fc937563.js → ADInfeed-427022e9.js} +0 -0
- /package/dist/esm/{ADlgInfeed-d5032b24.js → ADlgInfeed-28d3f944.js} +0 -0
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -20,18 +20,18 @@ import 'prop-types';
|
|
|
20
20
|
import 'react-bootstrap/Container';
|
|
21
21
|
import 'react-bootstrap/Row';
|
|
22
22
|
import Col from 'react-bootstrap/Col';
|
|
23
|
-
import './moment-
|
|
23
|
+
import './moment-b6f49411.js';
|
|
24
24
|
import 'next/router';
|
|
25
25
|
import './isSymbol-1981418f.js';
|
|
26
26
|
import './debounce-9207d8ee.js';
|
|
27
27
|
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import './index.es-
|
|
28
|
+
import './index.es-c6222053.js';
|
|
29
29
|
import 'react-dom';
|
|
30
30
|
import './visibility-sensor-f40c2564.js';
|
|
31
31
|
import './index-51a80699.js';
|
|
32
32
|
import './urlFor.js';
|
|
33
33
|
import './index-6c12bdd5.js';
|
|
34
|
-
import './main-
|
|
34
|
+
import './main-747e7d25.js';
|
|
35
35
|
import './entities-7cc3bf45.js';
|
|
36
36
|
import './slicedToArray-641f241f.js';
|
|
37
37
|
import './stringify-4330ccdc.js';
|
|
@@ -48,9 +48,9 @@ import 'react-bootstrap';
|
|
|
48
48
|
import './iconBase-602d52fe.js';
|
|
49
49
|
import './index.esm-3fdda599.js';
|
|
50
50
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
51
|
-
import { g as getSerializers } from './index-
|
|
51
|
+
import { g as getSerializers } from './index-a69960c8.js';
|
|
52
52
|
import './util-7700fc59.js';
|
|
53
|
-
import './brightcove-react-player-loader.es-
|
|
53
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
54
54
|
import 'next/head';
|
|
55
55
|
import 'react-share';
|
|
56
56
|
import './SocialShare.js';
|
|
@@ -8,14 +8,14 @@ import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
|
8
8
|
import './_is-array-58e95429.js';
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import { m as moment } from './moment-
|
|
11
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
import './index-51a80699.js';
|
|
14
14
|
import urlFor from './urlFor.js';
|
|
15
15
|
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
16
16
|
import { s as styleInject } from './style-inject.es-1f59c1d0.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
|
|
|
@@ -21,27 +21,27 @@ import 'react-bootstrap/Container';
|
|
|
21
21
|
import 'react-bootstrap/Row';
|
|
22
22
|
import 'react-bootstrap/Col';
|
|
23
23
|
import 'react-bootstrap/Card';
|
|
24
|
-
import { m as moment } from './moment-
|
|
24
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
25
25
|
import 'next/router';
|
|
26
26
|
import './isSymbol-1981418f.js';
|
|
27
27
|
import './debounce-9207d8ee.js';
|
|
28
28
|
import './toNumber-2f7a84cd.js';
|
|
29
|
-
import './index.es-
|
|
29
|
+
import './index.es-c6222053.js';
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import './visibility-sensor-f40c2564.js';
|
|
32
32
|
import './index-51a80699.js';
|
|
33
33
|
import './urlFor.js';
|
|
34
34
|
import './index-6c12bdd5.js';
|
|
35
|
-
import './main-
|
|
35
|
+
import './main-747e7d25.js';
|
|
36
36
|
import './slicedToArray-641f241f.js';
|
|
37
37
|
import './stringify-4330ccdc.js';
|
|
38
38
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
39
39
|
import './Segment.js';
|
|
40
40
|
import './Beam.js';
|
|
41
41
|
import './AdSlot.js';
|
|
42
|
-
import './ADInfeed-
|
|
42
|
+
import './ADInfeed-427022e9.js';
|
|
43
43
|
import './lodash-ec8c6b48.js';
|
|
44
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-28d3f944.js';
|
|
45
45
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
46
46
|
import MasterDeck from './MasterDeck.js';
|
|
47
47
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -16,18 +16,18 @@ import './events-6c3a7a63.js';
|
|
|
16
16
|
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import Container from 'react-bootstrap/Container';
|
|
19
|
-
import { m as moment } from './moment-
|
|
19
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
20
20
|
import { withRouter } from 'next/router';
|
|
21
21
|
import './isSymbol-1981418f.js';
|
|
22
22
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
23
23
|
import './toNumber-2f7a84cd.js';
|
|
24
|
-
import { I as InfiniteScroll } from './index.es-
|
|
24
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
27
27
|
import './index-51a80699.js';
|
|
28
28
|
import './urlFor.js';
|
|
29
29
|
import './index-6c12bdd5.js';
|
|
30
|
-
import './main-
|
|
30
|
+
import './main-747e7d25.js';
|
|
31
31
|
import './slicedToArray-641f241f.js';
|
|
32
32
|
import './index-c7e2ac95.js';
|
|
33
33
|
import './smoothscroll-0cd4c7a6.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -19,18 +19,18 @@ import { l as lib_3 } from './index-f7fb1e25.js';
|
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import 'react-bootstrap/Row';
|
|
21
21
|
import 'react-bootstrap/Col';
|
|
22
|
-
import { m as moment } from './moment-
|
|
22
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
23
23
|
import { useRouter } from 'next/router';
|
|
24
24
|
import './isSymbol-1981418f.js';
|
|
25
25
|
import './debounce-9207d8ee.js';
|
|
26
26
|
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
30
30
|
import './index-51a80699.js';
|
|
31
31
|
import urlFor from './urlFor.js';
|
|
32
32
|
import './index-6c12bdd5.js';
|
|
33
|
-
import { m as
|
|
33
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
34
34
|
import './entities-7cc3bf45.js';
|
|
35
35
|
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
36
|
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
@@ -45,9 +45,9 @@ import './GroupDeck.js';
|
|
|
45
45
|
import 'react-bootstrap';
|
|
46
46
|
import './iconBase-602d52fe.js';
|
|
47
47
|
import './index.esm-3fdda599.js';
|
|
48
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
48
|
+
import { r as renderAuthor, g as getSerializers } from './index-a69960c8.js';
|
|
49
49
|
import './util-7700fc59.js';
|
|
50
|
-
import './brightcove-react-player-loader.es-
|
|
50
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
51
51
|
import Head from 'next/head';
|
|
52
52
|
import 'react-share';
|
|
53
53
|
import SocialShare from './SocialShare.js';
|
|
@@ -64,8 +64,8 @@ import getSeriesDetail from './getSeriesDetail.js';
|
|
|
64
64
|
import './index-db3bb315.js';
|
|
65
65
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
66
|
import getQuery from './getQuery.js';
|
|
67
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
68
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
67
|
+
import { S as SeriesSlider } from './SeriesSlider-935e2b4e.js';
|
|
68
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-82e86707.js';
|
|
69
69
|
import getKeywords from './getKeywords.js';
|
|
70
70
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
71
|
import { DiscussionEmbed } from 'disqus-react';
|
|
@@ -154,9 +154,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
154
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
155
155
|
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
156
|
!thumbnailUrl && React.createElement('p', {
|
|
157
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -335,7 +335,7 @@ var ISI = function ISI(props) {
|
|
|
335
335
|
);
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
var css = ".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";
|
|
338
|
+
var css = ".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";
|
|
339
339
|
var styles = { "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" };
|
|
340
340
|
styleInject(css);
|
|
341
341
|
|
|
@@ -390,6 +390,14 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
390
390
|
var getSocialShareDisableFlag = function getSocialShareDisableFlag(article) {
|
|
391
391
|
//Need to check Taxonomy, DocumentGroup, and Authors for showSocialShare
|
|
392
392
|
var showSocialShare = true;
|
|
393
|
+
if (article.showSocialShare === true) {
|
|
394
|
+
return showSocialShare;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
if (article.showSocialShare === false) {
|
|
398
|
+
showSocialShare = false;
|
|
399
|
+
return showSocialShare;
|
|
400
|
+
}
|
|
393
401
|
|
|
394
402
|
if (article.content_placement && article.content_placement.length > 0) {
|
|
395
403
|
//loop through each
|
|
@@ -1160,7 +1168,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1160
1168
|
React.createElement(
|
|
1161
1169
|
'div',
|
|
1162
1170
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1163
|
-
|
|
1171
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1164
1172
|
if (index === 0) {
|
|
1165
1173
|
return React.createElement(
|
|
1166
1174
|
'div',
|
|
@@ -1244,7 +1252,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1244
1252
|
blocks: isi
|
|
1245
1253
|
})
|
|
1246
1254
|
),
|
|
1247
|
-
|
|
1255
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1248
1256
|
if (index > 0) {
|
|
1249
1257
|
return React.createElement(
|
|
1250
1258
|
'div',
|
|
@@ -1340,7 +1348,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1340
1348
|
return item.url.current === path;
|
|
1341
1349
|
});
|
|
1342
1350
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1343
|
-
if (!
|
|
1351
|
+
if (!main_40) {
|
|
1344
1352
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1345
1353
|
if (window.googletag && googletag.pubadsReady) {
|
|
1346
1354
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1357,7 +1365,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1357
1365
|
});
|
|
1358
1366
|
}
|
|
1359
1367
|
//Refresh leaderboard ad on mobile
|
|
1360
|
-
if (
|
|
1368
|
+
if (main_40) {
|
|
1361
1369
|
var leaderboardSlotId = '';
|
|
1362
1370
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1363
1371
|
if (window.googletag && googletag.pubadsReady) {
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -5,7 +5,7 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
5
5
|
import './web.dom.iterable-4439f05a.js';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
9
9
|
import 'react-dom';
|
|
10
10
|
import './index-51a80699.js';
|
|
11
11
|
import urlFor from './urlFor.js';
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -13,15 +13,15 @@ import 'react-dom';
|
|
|
13
13
|
import './index-51a80699.js';
|
|
14
14
|
import urlFor from './urlFor.js';
|
|
15
15
|
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
16
|
-
import { m as
|
|
16
|
+
import { m as main_40, a as main_45, b as main_39 } from './main-747e7d25.js';
|
|
17
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
18
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
19
19
|
import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
|
|
20
20
|
|
|
21
|
-
/*
|
|
22
|
-
GROQ query -
|
|
23
|
-
accepts an array of title, URL
|
|
24
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
21
|
+
/*
|
|
22
|
+
GROQ query -
|
|
23
|
+
accepts an array of title, URL
|
|
24
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
var YoutubeGroup = function YoutubeGroup(props) {
|
|
@@ -101,13 +101,13 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
if (
|
|
104
|
+
if (main_40) {
|
|
105
105
|
thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth) / 2);
|
|
106
106
|
if (props.dataset.length > 2) {
|
|
107
107
|
scrollerVisible = true;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
if (
|
|
110
|
+
if (main_45) {
|
|
111
111
|
thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth * 2) / 3);
|
|
112
112
|
if (props.dataset.length > 3) {
|
|
113
113
|
scrollerVisible = true;
|
|
@@ -170,10 +170,10 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
170
170
|
if (viewableWindow.current.offsetWidth < 604) {
|
|
171
171
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
|
|
172
172
|
}
|
|
173
|
-
if (
|
|
173
|
+
if (main_45) {
|
|
174
174
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
|
|
175
175
|
}
|
|
176
|
-
if (
|
|
176
|
+
if (main_40) {
|
|
177
177
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 1;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -346,7 +346,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
346
346
|
React.createElement(
|
|
347
347
|
'style',
|
|
348
348
|
{ jsx: 'true' },
|
|
349
|
-
'\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n }\n #vid-slider.col {\n padding: 0 2.5rem;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: normal;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n #vid-slider .tile:first-child {\n margin-left: 0;\n }\n #vid-slider .tile__img {\n height: auto;\n\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n }\n\n #vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (
|
|
349
|
+
'\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n }\n #vid-slider.col {\n padding: 0 2.5rem;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: normal;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n #vid-slider .tile:first-child {\n margin-left: 0;\n }\n #vid-slider .tile__img {\n height: auto;\n\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n }\n\n #vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (main_39 ? '0.75rem' : '0.9rem') + ';\n font-weight: normal;\n transition: opacity 0.25s;\n -webkit-font-smoothing: antialiased;\n }\n\n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: 1rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n padding-right: 0 1.2rem;\n }\n\n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n }\n #vid-slider .tile__img {\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n #vid-slider .tile__img {\n }\n }\n\n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n\n #vid-slider .tile__img {\n }\n #vid-slider .row__inner {\n margin-top: 1.5rem !important;\n }\n }\n\n @media screen and (max-width: 590px) {\n #vid-slider .tile__img {\n }\n }\n '
|
|
350
350
|
)
|
|
351
351
|
);
|
|
352
352
|
};
|
|
@@ -625,7 +625,7 @@ if (typeof window !== "undefined") {
|
|
|
625
625
|
|
|
626
626
|
var window_1 = win;
|
|
627
627
|
|
|
628
|
-
/*! @name @brightcove/react-player-loader @version 1.4.
|
|
628
|
+
/*! @name @brightcove/react-player-loader @version 1.4.1 @license Apache-2.0 */
|
|
629
629
|
|
|
630
630
|
function _extends() {
|
|
631
631
|
_extends = Object.assign || function (target) {
|
|
@@ -659,7 +659,7 @@ function _assertThisInitialized(self) {
|
|
|
659
659
|
return self;
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
/*! @name @brightcove/player-loader @version 1.
|
|
662
|
+
/*! @name @brightcove/player-loader @version 1.8.0 @license Apache-2.0 */
|
|
663
663
|
|
|
664
664
|
function _extends$1() {
|
|
665
665
|
_extends$1 = Object.assign || function (target) {
|
|
@@ -679,7 +679,7 @@ function _extends$1() {
|
|
|
679
679
|
return _extends$1.apply(this, arguments);
|
|
680
680
|
}
|
|
681
681
|
|
|
682
|
-
var version = "1.
|
|
682
|
+
var version = "1.8.0";
|
|
683
683
|
|
|
684
684
|
/*! @name @brightcove/player-url @version 1.2.0 @license Apache-2.0 */
|
|
685
685
|
var version$1 = "1.2.0";
|
|
@@ -996,6 +996,7 @@ var createInPageEmbed = function createInPageEmbed(params) {
|
|
|
996
996
|
deliveryConfigId: 'data-delivery-config-id',
|
|
997
997
|
playlistId: 'data-playlist-id',
|
|
998
998
|
playlistVideoId: 'data-playlist-video-id',
|
|
999
|
+
poster: 'poster',
|
|
999
1000
|
videoId: 'data-video-id'
|
|
1000
1001
|
};
|
|
1001
1002
|
var tagName = embedOptions && embedOptions.tagName || EMBED_TAG_NAME_VIDEOJS;
|
|
@@ -29,20 +29,9 @@ function parseString(setCookieValue, options) {
|
|
|
29
29
|
? Object.assign({}, defaultParseOptions, options)
|
|
30
30
|
: defaultParseOptions;
|
|
31
31
|
|
|
32
|
-
try {
|
|
33
|
-
value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
|
|
34
|
-
} catch (e) {
|
|
35
|
-
console.error(
|
|
36
|
-
"set-cookie-parser encountered an error while decoding a cookie with value '" +
|
|
37
|
-
value +
|
|
38
|
-
"'. Set options.decodeValues to false to disable this feature.",
|
|
39
|
-
e
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
32
|
var cookie = {
|
|
44
33
|
name: name, // grab everything before the first =
|
|
45
|
-
value: value,
|
|
34
|
+
value: options.decodeValues ? decodeURIComponent(value) : value, // decode cookie value
|
|
46
35
|
};
|
|
47
36
|
|
|
48
37
|
parts.forEach(function (part) {
|
|
@@ -213,7 +202,7 @@ setCookie.parse = parse_1;
|
|
|
213
202
|
setCookie.parseString = parseString_1;
|
|
214
203
|
setCookie.splitCookiesString = splitCookiesString_1;
|
|
215
204
|
|
|
216
|
-
var
|
|
205
|
+
var dist = createCommonjsModule(function (module, exports) {
|
|
217
206
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
218
207
|
__assign = Object.assign || function(t) {
|
|
219
208
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -226,33 +215,10 @@ var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
|
226
215
|
return __assign.apply(this, arguments);
|
|
227
216
|
};
|
|
228
217
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
229
|
-
exports.
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
function isBrowser() {
|
|
234
|
-
return typeof window !== 'undefined';
|
|
235
|
-
}
|
|
236
|
-
exports.isBrowser = isBrowser;
|
|
237
|
-
/**
|
|
238
|
-
* Create an instance of the Cookie interface
|
|
239
|
-
*/
|
|
240
|
-
function createCookie(name, value, options) {
|
|
241
|
-
var sameSite = options.sameSite;
|
|
242
|
-
if (sameSite === true) {
|
|
243
|
-
sameSite = 'strict';
|
|
244
|
-
}
|
|
245
|
-
if (sameSite === undefined || sameSite === false) {
|
|
246
|
-
sameSite = 'lax';
|
|
247
|
-
}
|
|
248
|
-
var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
|
|
249
|
-
delete cookieToSet.encode;
|
|
250
|
-
return __assign({ name: name, value: value }, cookieToSet);
|
|
251
|
-
}
|
|
252
|
-
exports.createCookie = createCookie;
|
|
253
|
-
/**
|
|
254
|
-
* Tells whether given objects have the same properties.
|
|
255
|
-
*/
|
|
218
|
+
exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
var isBrowser = function () { return typeof window !== 'undefined'; };
|
|
256
222
|
function hasSameProperties(a, b) {
|
|
257
223
|
var aProps = Object.getOwnPropertyNames(a);
|
|
258
224
|
var bProps = Object.getOwnPropertyNames(b);
|
|
@@ -267,9 +233,8 @@ function hasSameProperties(a, b) {
|
|
|
267
233
|
}
|
|
268
234
|
return true;
|
|
269
235
|
}
|
|
270
|
-
exports.hasSameProperties = hasSameProperties;
|
|
271
236
|
/**
|
|
272
|
-
* Compare the cookie and return true if the cookies
|
|
237
|
+
* Compare the cookie and return true if the cookies has equivalent
|
|
273
238
|
* options and the cookies would be overwritten in the browser storage.
|
|
274
239
|
*
|
|
275
240
|
* @param a first Cookie for comparison
|
|
@@ -282,109 +247,71 @@ function areCookiesEqual(a, b) {
|
|
|
282
247
|
}
|
|
283
248
|
return (hasSameProperties(__assign(__assign({}, a), { sameSite: undefined }), __assign(__assign({}, b), { sameSite: undefined })) && sameSiteSame);
|
|
284
249
|
}
|
|
285
|
-
exports.areCookiesEqual = areCookiesEqual;
|
|
286
|
-
/* Functions */
|
|
287
|
-
|
|
288
|
-
});
|
|
289
|
-
|
|
290
|
-
unwrapExports(utils);
|
|
291
|
-
var utils_1 = utils.areCookiesEqual;
|
|
292
|
-
var utils_2 = utils.hasSameProperties;
|
|
293
|
-
var utils_3 = utils.createCookie;
|
|
294
|
-
var utils_4 = utils.isBrowser;
|
|
295
|
-
|
|
296
|
-
var dist = createCommonjsModule(function (module, exports) {
|
|
297
|
-
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
298
|
-
__assign = Object.assign || function(t) {
|
|
299
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
300
|
-
s = arguments[i];
|
|
301
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
302
|
-
t[p] = s[p];
|
|
303
|
-
}
|
|
304
|
-
return t;
|
|
305
|
-
};
|
|
306
|
-
return __assign.apply(this, arguments);
|
|
307
|
-
};
|
|
308
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
309
|
-
exports.destroyCookie = exports.setCookie = exports.parseCookies = void 0;
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
250
|
/**
|
|
251
|
+
* Create an instance of the Cookie interface
|
|
252
|
+
*
|
|
253
|
+
* @param name name of the Cookie
|
|
254
|
+
* @param value value of the Cookie
|
|
255
|
+
* @param options Cookie options
|
|
256
|
+
*/
|
|
257
|
+
function createCookie(name, value, options) {
|
|
258
|
+
var sameSite = options.sameSite;
|
|
259
|
+
if (sameSite === true) {
|
|
260
|
+
sameSite = 'strict';
|
|
261
|
+
}
|
|
262
|
+
if (sameSite === undefined || sameSite === false) {
|
|
263
|
+
sameSite = 'lax';
|
|
264
|
+
}
|
|
265
|
+
var cookieToSet = __assign(__assign({}, options), { sameSite: sameSite });
|
|
266
|
+
delete cookieToSet.encode;
|
|
267
|
+
return __assign({ name: name, value: value }, cookieToSet);
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
314
271
|
* Parses cookies.
|
|
315
272
|
*
|
|
316
|
-
* @param ctx
|
|
317
|
-
* @param options
|
|
273
|
+
* @param ctx
|
|
274
|
+
* @param options
|
|
318
275
|
*/
|
|
319
276
|
function parseCookies(ctx, options) {
|
|
320
|
-
|
|
321
|
-
if ((_b = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.req) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.cookie) {
|
|
277
|
+
if (ctx && ctx.req && ctx.req.headers && ctx.req.headers.cookie) {
|
|
322
278
|
return cookie.parse(ctx.req.headers.cookie, options);
|
|
323
279
|
}
|
|
324
|
-
if (
|
|
280
|
+
if (isBrowser()) {
|
|
325
281
|
return cookie.parse(document.cookie, options);
|
|
326
282
|
}
|
|
327
283
|
return {};
|
|
328
284
|
}
|
|
329
285
|
exports.parseCookies = parseCookies;
|
|
330
286
|
/**
|
|
287
|
+
*
|
|
331
288
|
* Sets a cookie.
|
|
332
289
|
*
|
|
333
|
-
* @param ctx
|
|
334
|
-
* @param name
|
|
335
|
-
* @param value
|
|
336
|
-
* @param options
|
|
290
|
+
* @param ctx
|
|
291
|
+
* @param name
|
|
292
|
+
* @param value
|
|
293
|
+
* @param options
|
|
337
294
|
*/
|
|
338
295
|
function setCookie$1(ctx, name, value, options) {
|
|
339
|
-
|
|
340
|
-
if (options === void 0) { options = {}; }
|
|
341
|
-
// SSR
|
|
342
|
-
if (((_a = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _a === void 0 ? void 0 : _a.getHeader) && ctx.res.setHeader) {
|
|
343
|
-
// Check if response has finished and warn about it.
|
|
344
|
-
if ((_b = ctx === null || ctx === void 0 ? void 0 : ctx.res) === null || _b === void 0 ? void 0 : _b.finished) {
|
|
345
|
-
console.warn("Not setting \"" + name + "\" cookie. Response has finished.");
|
|
346
|
-
console.warn("You should set cookie before res.send()");
|
|
347
|
-
return {};
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* Load existing cookies from the header and parse them.
|
|
351
|
-
*/
|
|
296
|
+
if (ctx && ctx.res && ctx.res.getHeader && ctx.res.setHeader) {
|
|
352
297
|
var cookies = ctx.res.getHeader('Set-Cookie') || [];
|
|
353
298
|
if (typeof cookies === 'string')
|
|
354
299
|
cookies = [cookies];
|
|
355
300
|
if (typeof cookies === 'number')
|
|
356
301
|
cookies = [];
|
|
357
|
-
|
|
358
|
-
* Parse cookies but ignore values - we've already encoded
|
|
359
|
-
* them in the previous call.
|
|
360
|
-
*/
|
|
361
|
-
var parsedCookies = setCookie.parse(cookies, {
|
|
362
|
-
decodeValues: false,
|
|
363
|
-
});
|
|
364
|
-
/**
|
|
365
|
-
* We create the new cookie and make sure that none of
|
|
366
|
-
* the existing cookies match it.
|
|
367
|
-
*/
|
|
368
|
-
var newCookie_1 = utils.createCookie(name, value, options);
|
|
302
|
+
var parsedCookies = setCookie.parse(cookies);
|
|
369
303
|
var cookiesToSet_1 = [];
|
|
370
304
|
parsedCookies.forEach(function (parsedCookie) {
|
|
371
|
-
if (!
|
|
372
|
-
|
|
373
|
-
* We serialize the cookie back to the original format
|
|
374
|
-
* if it isn't the same as the new one.
|
|
375
|
-
*/
|
|
376
|
-
var serializedCookie = cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({
|
|
377
|
-
// we prevent reencoding by default, but you might override it
|
|
378
|
-
encode: function (val) { return val; } }, parsedCookie));
|
|
379
|
-
cookiesToSet_1.push(serializedCookie);
|
|
305
|
+
if (!areCookiesEqual(parsedCookie, createCookie(name, value, options))) {
|
|
306
|
+
cookiesToSet_1.push(cookie.serialize(parsedCookie.name, parsedCookie.value, __assign({ encode: function (val) { return val; } }, parsedCookie)));
|
|
380
307
|
}
|
|
381
308
|
});
|
|
382
309
|
cookiesToSet_1.push(cookie.serialize(name, value, options));
|
|
383
|
-
|
|
384
|
-
|
|
310
|
+
if (!ctx.res.finished) {
|
|
311
|
+
ctx.res.setHeader('Set-Cookie', cookiesToSet_1);
|
|
312
|
+
}
|
|
385
313
|
}
|
|
386
|
-
|
|
387
|
-
if (utils.isBrowser()) {
|
|
314
|
+
if (isBrowser()) {
|
|
388
315
|
if (options && options.httpOnly) {
|
|
389
316
|
throw new Error('Can not set a httpOnly cookie in the browser.');
|
|
390
317
|
}
|
|
@@ -394,21 +321,30 @@ function setCookie$1(ctx, name, value, options) {
|
|
|
394
321
|
}
|
|
395
322
|
exports.setCookie = setCookie$1;
|
|
396
323
|
/**
|
|
324
|
+
*
|
|
397
325
|
* Destroys a cookie with a particular name.
|
|
398
326
|
*
|
|
399
|
-
* @param ctx
|
|
400
|
-
* @param name
|
|
401
|
-
* @param options
|
|
327
|
+
* @param ctx
|
|
328
|
+
* @param name
|
|
329
|
+
* @param options
|
|
402
330
|
*/
|
|
403
331
|
function destroyCookie(ctx, name, options) {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
332
|
+
var opts = __assign(__assign({}, (options || {})), { maxAge: -1 });
|
|
333
|
+
if (ctx && ctx.res && ctx.res.setHeader && ctx.res.getHeader) {
|
|
334
|
+
var cookies = ctx.res.getHeader('Set-Cookie') || [];
|
|
335
|
+
if (typeof cookies === 'string')
|
|
336
|
+
cookies = [cookies];
|
|
337
|
+
if (typeof cookies === 'number')
|
|
338
|
+
cookies = [];
|
|
339
|
+
cookies.push(cookie.serialize(name, '', opts));
|
|
340
|
+
ctx.res.setHeader('Set-Cookie', cookies);
|
|
341
|
+
}
|
|
342
|
+
if (isBrowser()) {
|
|
343
|
+
document.cookie = cookie.serialize(name, '', opts);
|
|
344
|
+
}
|
|
345
|
+
return {};
|
|
409
346
|
}
|
|
410
347
|
exports.destroyCookie = destroyCookie;
|
|
411
|
-
/* Utility Exports */
|
|
412
348
|
exports.default = {
|
|
413
349
|
set: setCookie$1,
|
|
414
350
|
get: parseCookies,
|