@mjhls/mjh-framework 1.0.1023-blanktagremoval-v1 → 1.0.1023
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/{ADInfeed-89488c41.js → ADInfeed-5dabd71d.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/{ADlgInfeed-9d62050b.js → ADlgInfeed-1766ce0a.js} +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/Auth.js +11 -1493
- package/dist/cjs/AuthWrapper.js +294 -1484
- package/dist/cjs/CEDeckSupabase.js +2 -2
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column2.js +2 -4
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -3
- package/dist/cjs/DeckContent.js +11 -11
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +6 -6
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/GridContentPaginated.js +4 -4
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +50 -52
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/{ImageSlider-50807a77.js → ImageSlider-fd0cc91c.js} +145 -83
- package/dist/cjs/IssueLanding.js +34 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +15 -14
- package/dist/cjs/MasterDeck.js +11 -11
- package/dist/cjs/MasterDeckPaginated.js +11 -11
- package/dist/cjs/{MediaSeriesCard-de7f7fcc.js → MediaSeriesCard-ae205d40.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +13 -13
- package/dist/cjs/MediaSeriesLandingPaginated.js +13 -13
- package/dist/cjs/NavDvm.js +28 -30
- package/dist/cjs/{NavFooter-b37e3eed.js → NavFooter-257b5318.js} +3 -4
- package/dist/cjs/NavMagazine.js +53 -55
- package/dist/cjs/NavNative.js +55 -55
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +28 -40
- package/dist/cjs/PartnerDetailListingPaginated.js +32 -38
- package/dist/cjs/PodcastsLanding.js +6 -6
- package/dist/cjs/PubSection.js +4 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-fc6dd07d.js → SeriesSlider-0b2a2775.js} +5 -5
- package/dist/cjs/SideFooter.js +9 -11
- package/dist/cjs/{SocialSearchComponent-15e03760.js → SocialSearchComponent-6924a853.js} +2 -2
- package/dist/cjs/TaxonomyCard.js +8 -8
- package/dist/cjs/TaxonomyDescription.js +3 -3
- package/dist/cjs/TemplateNormal.js +4 -4
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/{Tooltip-8011d690.js → Tooltip-980a1d1a.js} +116 -291
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +8 -8
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
- package/dist/cjs/{index-3111bc4e.js → index-b78ce702.js} +2 -2
- package/dist/cjs/{index-3cd60d26.js → index-bd6c9f56.js} +11 -11
- package/dist/cjs/{index.esm-bb54403e.js → index.esm-91e651b0.js} +7 -8
- package/dist/cjs/index.js +14 -14
- package/dist/cjs/{main-ae8472f3.js → main-47be4f9f.js} +9 -4
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/{ADInfeed-fb3b056f.js → ADInfeed-cfc4f7b2.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/{ADlgInfeed-29f7b84c.js → ADlgInfeed-74c975b9.js} +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +10 -1493
- package/dist/esm/AuthWrapper.js +288 -1478
- package/dist/esm/CEDeckSupabase.js +2 -2
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column2.js +2 -4
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +11 -11
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +6 -6
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +50 -52
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/{ImageSlider-cdb57d30.js → ImageSlider-c3a57384.js} +63 -1
- package/dist/esm/IssueLanding.js +34 -34
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +15 -14
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +11 -11
- package/dist/esm/{MediaSeriesCard-8ec69f60.js → MediaSeriesCard-957b218d.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +13 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +13 -13
- package/dist/esm/NavDvm.js +28 -30
- package/dist/esm/{NavFooter-37c5eea2.js → NavFooter-27a16f65.js} +3 -4
- package/dist/esm/NavMagazine.js +53 -55
- package/dist/esm/NavNative.js +55 -55
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +28 -40
- package/dist/esm/PartnerDetailListingPaginated.js +32 -38
- package/dist/esm/PodcastsLanding.js +6 -6
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-771918ce.js → SeriesSlider-3f4d6012.js} +5 -5
- package/dist/esm/SideFooter.js +9 -11
- package/dist/esm/{SocialSearchComponent-b102181b.js → SocialSearchComponent-2451acd2.js} +2 -2
- package/dist/esm/TaxonomyCard.js +8 -8
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/TemplateNormal.js +4 -4
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/{Tooltip-2cdd0895.js → Tooltip-51957f7c.js} +116 -291
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +8 -8
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
- package/dist/esm/{index-0a63f9a3.js → index-db3bb315.js} +11 -11
- package/dist/esm/{index-a71a6cc7.js → index-f2f5b752.js} +2 -2
- package/dist/esm/{index.esm-8639823a.js → index.esm-06bf63a3.js} +7 -8
- package/dist/esm/index.js +14 -14
- package/dist/esm/{main-754d4992.js → main-f97773b2.js} +9 -4
- package/package.json +116 -116
- package/dist/cjs/defineProperty-19580e93.js +0 -71
- package/dist/esm/defineProperty-e8022d1e.js +0 -66
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, a as _defineProperty } from './defineProperty-e8022d1e.js';
|
|
2
1
|
import React__default, { createContext, Component, forwardRef, PureComponent, useRef, useState, useEffect } from 'react';
|
|
3
2
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
@@ -6,6 +5,69 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
6
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
7
6
|
import urlFor from './urlFor.js';
|
|
8
7
|
|
|
8
|
+
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
9
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
10
|
+
try {
|
|
11
|
+
var info = gen[key](arg);
|
|
12
|
+
var value = info.value;
|
|
13
|
+
} catch (error) {
|
|
14
|
+
reject(error);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
if (info.done) {
|
|
19
|
+
resolve(value);
|
|
20
|
+
} else {
|
|
21
|
+
Promise.resolve(value).then(_next, _throw);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function _asyncToGenerator(fn) {
|
|
26
|
+
return function () {
|
|
27
|
+
var self = this,
|
|
28
|
+
args = arguments;
|
|
29
|
+
return new Promise(function (resolve, reject) {
|
|
30
|
+
var gen = fn.apply(self, args);
|
|
31
|
+
|
|
32
|
+
function _next(value) {
|
|
33
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function _throw(err) {
|
|
37
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
_next(undefined);
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
49
|
+
|
|
50
|
+
var defineProperty = createCommonjsModule(function (module) {
|
|
51
|
+
function _defineProperty(obj, key, value) {
|
|
52
|
+
if (key in obj) {
|
|
53
|
+
Object.defineProperty(obj, key, {
|
|
54
|
+
value: value,
|
|
55
|
+
enumerable: true,
|
|
56
|
+
configurable: true,
|
|
57
|
+
writable: true
|
|
58
|
+
});
|
|
59
|
+
} else {
|
|
60
|
+
obj[key] = value;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return obj;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
70
|
+
|
|
9
71
|
var canUseDOM = !!(
|
|
10
72
|
typeof window !== 'undefined' &&
|
|
11
73
|
window.document &&
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-f2f5b752.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -22,9 +22,9 @@ import './index-5cc7b406.js';
|
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import 'next/router';
|
|
24
24
|
import './index-755f2cc2.js';
|
|
25
|
-
import './main-
|
|
26
|
-
import './entities-
|
|
27
|
-
import './ADInfeed-
|
|
25
|
+
import './main-f97773b2.js';
|
|
26
|
+
import './entities-932b50cf.js';
|
|
27
|
+
import './ADInfeed-cfc4f7b2.js';
|
|
28
28
|
import 'react-bootstrap/Card';
|
|
29
29
|
import './AdSlot.js';
|
|
30
30
|
import './debounce-533d9748.js';
|
|
@@ -37,7 +37,7 @@ import './_library-528f1934.js';
|
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './AuthorComponent-11adff02.js';
|
|
39
39
|
import './lodash-f97fd99a.js';
|
|
40
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADlgInfeed-74c975b9.js';
|
|
41
41
|
import './getContentCategory-15dcc413.js';
|
|
42
42
|
import './timeDifferenceCalc.js';
|
|
43
43
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -72,35 +72,35 @@ import 'react-bootstrap/Tooltip';
|
|
|
72
72
|
import 'react-bootstrap/Popover';
|
|
73
73
|
import './checkSisterSite-a7218fda.js';
|
|
74
74
|
|
|
75
|
-
/* usage
|
|
76
|
-
import Settings, { Ads } from '../../../../settings'
|
|
77
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
78
|
-
import client from '../../../../client'
|
|
79
|
-
import moment from 'moment'
|
|
80
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
81
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
82
|
-
|
|
83
|
-
const Issue = (props) => {
|
|
84
|
-
const { pubIssue, cache } = props
|
|
85
|
-
const targeting = {
|
|
86
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
87
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
88
|
-
}
|
|
89
|
-
return (
|
|
90
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
91
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
92
|
-
</Shell>
|
|
93
|
-
)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
Issue.getInitialProps = async (ctx) => {
|
|
97
|
-
const { query } = ctx
|
|
98
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
99
|
-
)
|
|
100
|
-
return { pubIssue }
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export default Issue
|
|
75
|
+
/* usage
|
|
76
|
+
import Settings, { Ads } from '../../../../settings'
|
|
77
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
78
|
+
import client from '../../../../client'
|
|
79
|
+
import moment from 'moment'
|
|
80
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
81
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
82
|
+
|
|
83
|
+
const Issue = (props) => {
|
|
84
|
+
const { pubIssue, cache } = props
|
|
85
|
+
const targeting = {
|
|
86
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
87
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
88
|
+
}
|
|
89
|
+
return (
|
|
90
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
91
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
92
|
+
</Shell>
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
Issue.getInitialProps = async (ctx) => {
|
|
97
|
+
const { query } = ctx
|
|
98
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
99
|
+
)
|
|
100
|
+
return { pubIssue }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export default Issue
|
|
104
104
|
*/
|
|
105
105
|
|
|
106
106
|
var IssueLanding = function IssueLanding(props) {
|
package/dist/esm/KMTracker.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var KMTracker = function KMTracker(props) {
|
|
2
|
-
|
|
2
|
+
var id = props.id;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
if (document && id) {
|
|
5
5
|
(function () {
|
|
6
|
-
|
|
6
|
+
var ecnJquery = document.createElement('script');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
ecnJquery.type = 'text/javascript';
|
|
9
|
+
ecnJquery.async = true;
|
|
10
|
+
ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
var ecnScript = document.createElement('script');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
ecnScript.type = 'text/javascript';
|
|
15
|
+
ecnScript.async = true;
|
|
16
|
+
ecnScript.id = 'km-tracker';
|
|
17
|
+
ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
document.head.appendChild(ecnJquery);
|
|
20
|
+
document.head.appendChild(ecnScript);
|
|
21
|
+
})();
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export { KMTracker as default };
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
1
|
import React__default, { useRef, useEffect } from 'react';
|
|
3
2
|
import ListGroup from 'react-bootstrap/ListGroup';
|
|
4
3
|
import ADWebcast from './ADWebcast.js';
|
|
5
4
|
import Segment from './Segment.js';
|
|
6
5
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
7
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
9
|
-
import './_object-pie-133f504a.js';
|
|
10
6
|
import './slicedToArray-6ebcbfea.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
8
|
import './web.dom.iterable-ab4dea5c.js';
|
|
9
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
12
10
|
import './AdSlot.js';
|
|
11
|
+
import './extends-6d8e3924.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import './index-5cc7b406.js';
|
|
15
15
|
import './debounce-533d9748.js';
|
|
@@ -20,7 +20,7 @@ import './stringify-2b084bee.js';
|
|
|
20
20
|
import './asyncToGenerator-958ef5fc.js';
|
|
21
21
|
import './_library-528f1934.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-f97773b2.js';
|
|
24
24
|
|
|
25
25
|
var LeftNav = function LeftNav(props) {
|
|
26
26
|
var leftItems = props.leftItems,
|
|
@@ -66,21 +66,22 @@ var LeftNav = function LeftNav(props) {
|
|
|
66
66
|
if (checkUrlIsExternal(subRow.url)) {
|
|
67
67
|
return React__default.createElement(
|
|
68
68
|
'a',
|
|
69
|
-
|
|
70
|
-
target: subRow.blank ? '_blank' : '_self'
|
|
71
|
-
|
|
72
|
-
href: subRow.url
|
|
73
|
-
|
|
69
|
+
{
|
|
70
|
+
target: subRow.blank ? '_blank' : '_self',
|
|
71
|
+
needsegmentsupport: subRow.needSegmentSupport ? 'true' : '',
|
|
72
|
+
href: subRow.url,
|
|
73
|
+
rel: checkSisterSite(subRow.url) ? '' : 'noopener noreferrer' },
|
|
74
74
|
subRow.name
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
return React__default.createElement(
|
|
79
79
|
'a',
|
|
80
|
-
|
|
80
|
+
{
|
|
81
81
|
href: subRow.url || '#',
|
|
82
|
-
target: subRow.blank ? '_blank' : '_self'
|
|
83
|
-
|
|
82
|
+
target: subRow.blank ? '_blank' : '_self',
|
|
83
|
+
needsegmentsupport: subRow.needSegmentSupport ? 'true' : '',
|
|
84
|
+
rel: checkSisterSite(subRow.url) ? '' : 'noopener noreferrer' },
|
|
84
85
|
subRow.name
|
|
85
86
|
);
|
|
86
87
|
};
|
|
@@ -115,7 +116,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
115
116
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
116
117
|
React__default.createElement(
|
|
117
118
|
'a',
|
|
118
|
-
|
|
119
|
+
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url, rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
119
120
|
'See All ',
|
|
120
121
|
'>'
|
|
121
122
|
)
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -16,9 +16,9 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import './slicedToArray-6ebcbfea.js';
|
|
18
18
|
import './index-3f5c03b2.js';
|
|
19
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
20
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
21
|
-
import './main-
|
|
19
|
+
import { A as ADlgInfeed } from './ADlgInfeed-74c975b9.js';
|
|
20
|
+
import { A as ADInfeed } from './ADInfeed-cfc4f7b2.js';
|
|
21
|
+
import './main-f97773b2.js';
|
|
22
22
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
23
23
|
import './core.get-iterator-method-ea258bb1.js';
|
|
24
24
|
import './_iter-detect-98db3b07.js';
|
|
@@ -222,14 +222,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
// please leave this for later debug purpose : Yong Jun.
|
|
225
|
-
/* console.log('page change reported', {
|
|
226
|
-
currentPage: currentPage,
|
|
227
|
-
pageNumber: pageNumber,
|
|
228
|
-
pathname: pathname,
|
|
229
|
-
path: path,
|
|
230
|
-
newPath: newPath,
|
|
231
|
-
firstPage: pageNumber === 1,
|
|
232
|
-
queryString: queryString
|
|
225
|
+
/* console.log('page change reported', {
|
|
226
|
+
currentPage: currentPage,
|
|
227
|
+
pageNumber: pageNumber,
|
|
228
|
+
pathname: pathname,
|
|
229
|
+
path: path,
|
|
230
|
+
newPath: newPath,
|
|
231
|
+
firstPage: pageNumber === 1,
|
|
232
|
+
queryString: queryString
|
|
233
233
|
}) */
|
|
234
234
|
|
|
235
235
|
if (pageview) {
|
|
@@ -9,9 +9,9 @@ import Container from 'react-bootstrap/Container';
|
|
|
9
9
|
import Spinner from 'react-bootstrap/Spinner';
|
|
10
10
|
import { withRouter } from 'next/router';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-
|
|
13
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
12
|
+
import { m as main_43 } from './main-f97773b2.js';
|
|
13
|
+
import { A as ADlgInfeed } from './ADlgInfeed-74c975b9.js';
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-cfc4f7b2.js';
|
|
15
15
|
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -106,14 +106,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
// please leave this for later debug purpose : Yong Jun.
|
|
109
|
-
/* console.log('page change reported', {
|
|
110
|
-
currentPage: currentPage,
|
|
111
|
-
pageNumber: pageNumber,
|
|
112
|
-
pathname: pathname,
|
|
113
|
-
path: path,
|
|
114
|
-
newPath: newPath,
|
|
115
|
-
firstPage: pageNumber === 1,
|
|
116
|
-
queryString: queryString
|
|
109
|
+
/* console.log('page change reported', {
|
|
110
|
+
currentPage: currentPage,
|
|
111
|
+
pageNumber: pageNumber,
|
|
112
|
+
pathname: pathname,
|
|
113
|
+
path: path,
|
|
114
|
+
newPath: newPath,
|
|
115
|
+
firstPage: pageNumber === 1,
|
|
116
|
+
queryString: queryString
|
|
117
117
|
}) */
|
|
118
118
|
|
|
119
119
|
if (pageview) {
|
|
@@ -5,9 +5,9 @@ import urlFor from './urlFor.js';
|
|
|
5
5
|
import { m as moment } from './moment-bc12cb97.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-f2f5b752.js';
|
|
9
9
|
|
|
10
|
-
var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
|
|
10
|
+
var css = ".MediaSeriesCard-module_article__SAFYK {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.MediaSeriesCard-module_article__SAFYK a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU {\r\n width: 25%;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_published__E4oiz {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_summary__1xanh {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR {\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR span {\r\n color: #6d6d6d;\r\n}\r\n.MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1.3rem;\r\n font-weight: bold;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .MediaSeriesCard-module_article__SAFYK {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .MediaSeriesCard-module_article__SAFYK a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU figure {\r\n margin: 0;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o {\r\n width: 90%;\r\n padding: 0rem !important;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o h2 {\r\n font-size: 1rem;\r\n }\r\n .MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1rem;\r\n \r\n }\r\n}\r\n";
|
|
11
11
|
var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
|
|
12
12
|
styleInject(css);
|
|
13
13
|
|
|
@@ -3,14 +3,14 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-51957f7c.js';
|
|
7
|
+
import './index-67e1773f.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-
|
|
11
|
+
import { M as MediaSeriesCard } from './MediaSeriesCard-957b218d.js';
|
|
12
12
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
13
|
+
import { g as getSerializers } from './index-f2f5b752.js';
|
|
14
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
15
|
import './core.get-iterator-method-ea258bb1.js';
|
|
16
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -37,13 +37,13 @@ import './toNumber-5aeba6e7.js';
|
|
|
37
37
|
import './index.es-a6137319.js';
|
|
38
38
|
import './visibility-sensor-72fd8f8b.js';
|
|
39
39
|
import './index-3f5c03b2.js';
|
|
40
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADlgInfeed-74c975b9.js';
|
|
41
41
|
import './AdSlot.js';
|
|
42
42
|
import './Beam.js';
|
|
43
43
|
import './stringify-2b084bee.js';
|
|
44
44
|
import './Segment.js';
|
|
45
|
-
import './main-
|
|
46
|
-
import './ADInfeed-
|
|
45
|
+
import './main-f97773b2.js';
|
|
46
|
+
import './ADInfeed-cfc4f7b2.js';
|
|
47
47
|
import './index-755f2cc2.js';
|
|
48
48
|
import './urlFor.js';
|
|
49
49
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -64,7 +64,7 @@ import './SocialShare.js';
|
|
|
64
64
|
import 'next/head';
|
|
65
65
|
import 'react-share';
|
|
66
66
|
import 'react-bootstrap/Pagination';
|
|
67
|
-
import './entities-
|
|
67
|
+
import './entities-932b50cf.js';
|
|
68
68
|
import './index.esm-eb1e8e80.js';
|
|
69
69
|
import './iconBase-ccc56b97.js';
|
|
70
70
|
import 'react-bootstrap/Figure';
|
|
@@ -95,11 +95,11 @@ var Filter = function Filter(_ref) {
|
|
|
95
95
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
96
96
|
grandChildData = _useState6[0],
|
|
97
97
|
setGrandChildData = _useState6[1];
|
|
98
|
-
/*
|
|
99
|
-
{parent: showAll,
|
|
100
|
-
chidlren: show selected from parent,
|
|
101
|
-
grandchildren: show selected from children
|
|
102
|
-
}
|
|
98
|
+
/*
|
|
99
|
+
{parent: showAll,
|
|
100
|
+
chidlren: show selected from parent,
|
|
101
|
+
grandchildren: show selected from children
|
|
102
|
+
}
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
105
|
|
|
@@ -3,14 +3,14 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-51957f7c.js';
|
|
7
|
+
import './index-67e1773f.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { M as MediaSeriesCard } from './MediaSeriesCard-957b218d.js';
|
|
13
|
+
import { g as getSerializers } from './index-f2f5b752.js';
|
|
14
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
15
|
import './core.get-iterator-method-ea258bb1.js';
|
|
16
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -30,8 +30,8 @@ import 'react-bootstrap/Container';
|
|
|
30
30
|
import 'react-bootstrap/Spinner';
|
|
31
31
|
import 'next/router';
|
|
32
32
|
import './lodash-f97fd99a.js';
|
|
33
|
-
import './main-
|
|
34
|
-
import './ADlgInfeed-
|
|
33
|
+
import './main-f97773b2.js';
|
|
34
|
+
import './ADlgInfeed-74c975b9.js';
|
|
35
35
|
import 'react-bootstrap/Card';
|
|
36
36
|
import './AdSlot.js';
|
|
37
37
|
import './debounce-533d9748.js';
|
|
@@ -39,7 +39,7 @@ import './isSymbol-a7e9aafe.js';
|
|
|
39
39
|
import './toNumber-5aeba6e7.js';
|
|
40
40
|
import './Beam.js';
|
|
41
41
|
import './Segment.js';
|
|
42
|
-
import './ADInfeed-
|
|
42
|
+
import './ADInfeed-cfc4f7b2.js';
|
|
43
43
|
import './Pagination-9fe9f61d.js';
|
|
44
44
|
import 'react-bootstrap/Button';
|
|
45
45
|
import './index.esm-1bd8a0a8.js';
|
|
@@ -64,7 +64,7 @@ import './SocialShare.js';
|
|
|
64
64
|
import 'next/head';
|
|
65
65
|
import 'react-share';
|
|
66
66
|
import 'react-bootstrap/Pagination';
|
|
67
|
-
import './entities-
|
|
67
|
+
import './entities-932b50cf.js';
|
|
68
68
|
import 'react-bootstrap/Row';
|
|
69
69
|
import 'react-bootstrap/Col';
|
|
70
70
|
import './index.esm-eb1e8e80.js';
|
|
@@ -96,11 +96,11 @@ var Filter = function Filter(_ref) {
|
|
|
96
96
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
97
97
|
grandChildData = _useState6[0],
|
|
98
98
|
setGrandChildData = _useState6[1];
|
|
99
|
-
/*
|
|
100
|
-
{parent: showAll,
|
|
101
|
-
chidlren: show selected from parent,
|
|
102
|
-
grandchildren: show selected from children
|
|
103
|
-
}
|
|
99
|
+
/*
|
|
100
|
+
{parent: showAll,
|
|
101
|
+
chidlren: show selected from parent,
|
|
102
|
+
grandchildren: show selected from children
|
|
103
|
+
}
|
|
104
104
|
*/
|
|
105
105
|
|
|
106
106
|
|
package/dist/esm/NavDvm.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
1
|
import React__default, { useRef, useEffect } from 'react';
|
|
3
2
|
import Container from 'react-bootstrap/Container';
|
|
4
3
|
import Nav from 'react-bootstrap/Nav';
|
|
@@ -6,13 +5,12 @@ import Navbar from 'react-bootstrap/Navbar';
|
|
|
6
5
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
7
6
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
8
7
|
import Search from './Search.js';
|
|
9
|
-
import { N as NavFooter } from './NavFooter-
|
|
8
|
+
import { N as NavFooter } from './NavFooter-27a16f65.js';
|
|
10
9
|
import Segment from './Segment.js';
|
|
11
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
13
|
-
import './_object-pie-133f504a.js';
|
|
14
10
|
import './slicedToArray-6ebcbfea.js';
|
|
11
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
12
|
import './web.dom.iterable-ab4dea5c.js';
|
|
13
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
16
14
|
import 'react-bootstrap/Form';
|
|
17
15
|
import 'react-bootstrap/FormControl';
|
|
18
16
|
import 'react-bootstrap/Button';
|
|
@@ -51,26 +49,26 @@ var NavDvm = function NavDvm(props) {
|
|
|
51
49
|
if (url && (url.includes('https://') || url.includes('http://'))) {
|
|
52
50
|
return React__default.createElement(
|
|
53
51
|
'a',
|
|
54
|
-
|
|
55
|
-
target: blank ? '_blank' : '_self'
|
|
56
|
-
|
|
52
|
+
{
|
|
53
|
+
target: blank ? '_blank' : '_self',
|
|
54
|
+
needsegmentsupport: needSegmentSupport ? 'true' : '',
|
|
57
55
|
key: key,
|
|
58
56
|
href: url || '#',
|
|
59
|
-
className: className
|
|
60
|
-
|
|
57
|
+
className: className,
|
|
58
|
+
rel: checkSisterSite(url) ? '' : 'noopener noreferrer' },
|
|
61
59
|
name
|
|
62
60
|
);
|
|
63
61
|
}
|
|
64
62
|
|
|
65
63
|
return React__default.createElement(
|
|
66
64
|
'a',
|
|
67
|
-
|
|
65
|
+
{
|
|
68
66
|
key: key,
|
|
69
|
-
href: url || '#'
|
|
70
|
-
|
|
67
|
+
href: url || '#',
|
|
68
|
+
needsegmentsupport: needSegmentSupport ? 'true' : '',
|
|
71
69
|
target: blank ? '_blank' : '_self',
|
|
72
|
-
className: className
|
|
73
|
-
|
|
70
|
+
className: className,
|
|
71
|
+
rel: checkSisterSite(url) ? '' : 'noopener noreferrer' },
|
|
74
72
|
name
|
|
75
73
|
);
|
|
76
74
|
};
|
|
@@ -177,13 +175,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
177
175
|
if (ddRow.url && ddRow.name) {
|
|
178
176
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
179
177
|
'a',
|
|
180
|
-
|
|
181
|
-
key: subIndex
|
|
182
|
-
|
|
178
|
+
{
|
|
179
|
+
key: subIndex,
|
|
180
|
+
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
183
181
|
href: ddRow.url,
|
|
184
182
|
target: ddRow.blank ? '_blank' : '_self',
|
|
185
|
-
className: 'dropdown-item'
|
|
186
|
-
|
|
183
|
+
className: 'dropdown-item',
|
|
184
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer' },
|
|
187
185
|
ddRow.name
|
|
188
186
|
) : null;
|
|
189
187
|
} else return null;
|
|
@@ -203,13 +201,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
203
201
|
if (ddRow.url && ddRow.name) {
|
|
204
202
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
205
203
|
'a',
|
|
206
|
-
|
|
207
|
-
key: subIndex
|
|
208
|
-
|
|
204
|
+
{
|
|
205
|
+
key: subIndex,
|
|
206
|
+
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
209
207
|
href: ddRow.url,
|
|
210
208
|
target: ddRow.blank ? '_blank' : '_self',
|
|
211
|
-
className: 'dropdown-item'
|
|
212
|
-
|
|
209
|
+
className: 'dropdown-item',
|
|
210
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer' },
|
|
213
211
|
ddRow.name
|
|
214
212
|
) : null;
|
|
215
213
|
} else return null;
|
|
@@ -221,13 +219,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
221
219
|
} else {
|
|
222
220
|
return row.url && row.name ? React__default.createElement(
|
|
223
221
|
'a',
|
|
224
|
-
|
|
225
|
-
key: index
|
|
226
|
-
|
|
222
|
+
{
|
|
223
|
+
key: index,
|
|
224
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
227
225
|
href: row.url,
|
|
228
226
|
target: row.blank ? '_blank' : '_self',
|
|
229
|
-
className: 'nav-link'
|
|
230
|
-
|
|
227
|
+
className: 'nav-link',
|
|
228
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
231
229
|
row.name
|
|
232
230
|
) : null;
|
|
233
231
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
4
3
|
|
|
@@ -21,7 +20,7 @@ var NavFooter = function NavFooter(props) {
|
|
|
21
20
|
{ key: index },
|
|
22
21
|
React__default.createElement(
|
|
23
22
|
'a',
|
|
24
|
-
|
|
23
|
+
{ target: '_blank', rel: checkSisterSite(content.url) ? '' : 'noopener noreferrer', href: content.url, className: 'nav-link' },
|
|
25
24
|
content.title
|
|
26
25
|
)
|
|
27
26
|
) : React__default.createElement(
|
|
@@ -29,7 +28,7 @@ var NavFooter = function NavFooter(props) {
|
|
|
29
28
|
{ key: index },
|
|
30
29
|
React__default.createElement(
|
|
31
30
|
'a',
|
|
32
|
-
|
|
31
|
+
{ href: content.url, rel: checkSisterSite(content.url) ? '' : 'noopener noreferrer', className: 'nav-link' },
|
|
33
32
|
content.title
|
|
34
33
|
)
|
|
35
34
|
);
|
|
@@ -40,7 +39,7 @@ var NavFooter = function NavFooter(props) {
|
|
|
40
39
|
null,
|
|
41
40
|
React__default.createElement(
|
|
42
41
|
'a',
|
|
43
|
-
|
|
42
|
+
{ href: 'https://www.mjhlifesciences.com', rel: checkSisterSite('https://www.mjhlifesciences.com') ? '' : 'noopener noreferrer' },
|
|
44
43
|
React__default.createElement('img', {
|
|
45
44
|
style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' },
|
|
46
45
|
alt: 'MJHLS Brand Logo',
|