@mjhls/mjh-framework 1.0.992-publication-test-v2 → 1.0.993-logtest
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +2 -1
- package/dist/cjs/Column2.js +3 -4
- package/dist/cjs/Column3.js +1 -2
- package/dist/cjs/EventsDeck.js +30 -3
- package/dist/cjs/ExternalResources.js +5 -4
- package/dist/cjs/HamMagazine.js +10 -10
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +2 -1
- package/dist/cjs/IssueLanding.js +2 -1
- package/dist/cjs/LeftNav.js +12 -3
- package/dist/cjs/{MediaSeriesCard-d736ac47.js → MediaSeriesCard-2645b00a.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +3 -2
- package/dist/cjs/MediaSeriesLandingPaginated.js +3 -2
- package/dist/cjs/NavDvm.js +37 -6
- package/dist/cjs/{NavFooter-1fda6732.js → NavFooter-880e9d87.js} +9 -4
- package/dist/cjs/NavMagazine.js +23 -5
- package/dist/cjs/NavNative.js +23 -4
- package/dist/cjs/PartnerDetailListing.js +24 -8
- package/dist/cjs/PartnerDetailListingPaginated.js +16 -5
- package/dist/cjs/SideFooter.js +5 -6
- package/dist/cjs/{SocialSearchComponent-bac7d6fa.js → SocialSearchComponent-ca9c0c45.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +7 -3
- package/dist/cjs/TaxonomyDescription.js +2 -1
- package/dist/cjs/TemplateNormal.js +4 -5
- package/dist/cjs/VideoProgramLandingPage.js +2 -1
- package/dist/cjs/View.js +2 -1
- package/dist/cjs/checkSisterSite-b29833b2.js +19 -0
- package/dist/cjs/getQuery.js +2 -5
- package/dist/cjs/getRelatedArticle.js +0 -1
- package/dist/cjs/getSerializers.js +2 -1
- package/dist/cjs/{index-0befb5fb.js → index-669d70bd.js} +3 -11
- package/dist/cjs/{index.esm-70e78156.js → index.esm-f59ef5b4.js} +5 -4
- package/dist/cjs/index.js +5 -5
- package/dist/esm/ArticleProgramLandingPage.js +2 -1
- package/dist/esm/Column2.js +3 -4
- package/dist/esm/Column3.js +1 -2
- package/dist/esm/EventsDeck.js +29 -2
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/HamMagazine.js +10 -10
- package/dist/esm/Header.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +2 -1
- package/dist/esm/IssueLanding.js +2 -1
- package/dist/esm/LeftNav.js +12 -3
- package/dist/esm/{MediaSeriesCard-3a4646ca.js → MediaSeriesCard-2a9ff7f3.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +3 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +3 -2
- package/dist/esm/NavDvm.js +37 -6
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-3272e9cd.js} +9 -4
- package/dist/esm/NavMagazine.js +23 -5
- package/dist/esm/NavNative.js +23 -4
- package/dist/esm/PartnerDetailListing.js +24 -8
- package/dist/esm/PartnerDetailListingPaginated.js +16 -5
- package/dist/esm/SideFooter.js +5 -6
- package/dist/esm/{SocialSearchComponent-c249903e.js → SocialSearchComponent-68d948b9.js} +1 -1
- package/dist/esm/TaxonomyCard.js +7 -3
- package/dist/esm/TaxonomyDescription.js +2 -1
- package/dist/esm/TemplateNormal.js +4 -5
- package/dist/esm/VideoProgramLandingPage.js +2 -1
- package/dist/esm/View.js +2 -1
- package/dist/esm/checkSisterSite-baa4fb6b.js +17 -0
- package/dist/esm/getQuery.js +2 -5
- package/dist/esm/getRelatedArticle.js +0 -1
- package/dist/esm/getSerializers.js +2 -1
- package/dist/esm/{index-eaa2c6b3.js → index-4d0371dc.js} +3 -11
- package/dist/esm/{index.esm-37268dca.js → index.esm-07c37a92.js} +5 -4
- package/dist/esm/index.js +5 -5
- package/package.json +2 -2
- package/dist/cjs/defineProperty-9673846a.js +0 -34
- package/dist/esm/defineProperty-8c30428f.js +0 -32
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-4d0371dc.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -58,6 +58,7 @@ import 'react-bootstrap/Figure';
|
|
|
58
58
|
import 'react-bootstrap/OverlayTrigger';
|
|
59
59
|
import 'react-bootstrap/Tooltip';
|
|
60
60
|
import 'react-bootstrap/Popover';
|
|
61
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
61
62
|
import 'react-bootstrap/Container';
|
|
62
63
|
import './visibility-sensor-72fd8f8b.js';
|
|
63
64
|
import './YoutubeGroup.js';
|
package/dist/esm/Column2.js
CHANGED
|
@@ -3,20 +3,19 @@ import Row from 'react-bootstrap/Row';
|
|
|
3
3
|
import Col from 'react-bootstrap/Col';
|
|
4
4
|
import SideFooter from './SideFooter.js';
|
|
5
5
|
import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
|
|
6
|
-
import './defineProperty-8c30428f.js';
|
|
7
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './define-property-5f1bda73.js';
|
|
9
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
10
6
|
import './react-social-icons-9be47857.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
8
|
import 'prop-types';
|
|
12
9
|
import './get-3c308da4.js';
|
|
13
10
|
import './isSymbol-a7e9aafe.js';
|
|
14
11
|
import './eq-bdcbf886.js';
|
|
15
12
|
import './Segment.js';
|
|
16
13
|
import './asyncToGenerator-958ef5fc.js';
|
|
14
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
17
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
18
16
|
import './_library-528f1934.js';
|
|
19
17
|
import './_iter-detect-98db3b07.js';
|
|
18
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
20
19
|
|
|
21
20
|
var Column2 = function Column2(props) {
|
|
22
21
|
var rightItems = props.rightItems,
|
package/dist/esm/Column3.js
CHANGED
|
@@ -27,8 +27,7 @@ import './_iter-detect-98db3b07.js';
|
|
|
27
27
|
import './Segment.js';
|
|
28
28
|
import 'react-bootstrap/ListGroup';
|
|
29
29
|
import './ADWebcast.js';
|
|
30
|
-
import './
|
|
31
|
-
import './define-property-5f1bda73.js';
|
|
30
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
32
31
|
import './react-social-icons-9be47857.js';
|
|
33
32
|
import './get-3c308da4.js';
|
|
34
33
|
import './eq-bdcbf886.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './defineProperty-8c30428f.js';
|
|
2
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { d as defineProperty$1 } from './define-property-5f1bda73.js';
|
|
3
3
|
import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
4
4
|
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
5
5
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
@@ -19,12 +19,39 @@ import './main-9f6806ea.js';
|
|
|
19
19
|
import { m as momentTimezone } from './index-30a6257d.js';
|
|
20
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
21
|
import { useRouter } from 'next/router';
|
|
22
|
-
import './define-property-5f1bda73.js';
|
|
23
22
|
import './_object-pie-133f504a.js';
|
|
24
23
|
import './web.dom.iterable-ab4dea5c.js';
|
|
25
24
|
import './_iter-detect-98db3b07.js';
|
|
26
25
|
import './moment-bc12cb97.js';
|
|
27
26
|
|
|
27
|
+
var defineProperty = createCommonjsModule(function (module, exports) {
|
|
28
|
+
|
|
29
|
+
exports.__esModule = true;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
var _defineProperty2 = _interopRequireDefault(defineProperty$1);
|
|
34
|
+
|
|
35
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
36
|
+
|
|
37
|
+
exports.default = function (obj, key, value) {
|
|
38
|
+
if (key in obj) {
|
|
39
|
+
(0, _defineProperty2.default)(obj, key, {
|
|
40
|
+
value: value,
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
writable: true
|
|
44
|
+
});
|
|
45
|
+
} else {
|
|
46
|
+
obj[key] = value;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return obj;
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
54
|
+
|
|
28
55
|
// https://github.com/tc39/proposal-object-values-entries
|
|
29
56
|
|
|
30
57
|
var $entries = _objectToArray(true);
|
|
@@ -2,10 +2,11 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-4d0371dc.js';
|
|
6
6
|
import { m as momentTimezone } from './index-30a6257d.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
9
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
9
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
12
|
import './_object-pie-133f504a.js';
|
|
@@ -121,7 +122,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
121
122
|
{ id: 'thumb' },
|
|
122
123
|
React__default.createElement(
|
|
123
124
|
'a',
|
|
124
|
-
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
125
|
+
{ href: r.destination, target: '_blank', rel: checkSisterSite(r.destination) ? '' : 'noopener noreferrer' },
|
|
125
126
|
React__default.createElement('img', { src: r.thumbnail })
|
|
126
127
|
)
|
|
127
128
|
),
|
|
@@ -130,7 +131,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
130
131
|
{ id: 'details' },
|
|
131
132
|
React__default.createElement(
|
|
132
133
|
'a',
|
|
133
|
-
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
134
|
+
{ href: r.destination, target: '_blank', rel: checkSisterSite(r.destination) ? '' : 'noopener noreferrer' },
|
|
134
135
|
React__default.createElement(
|
|
135
136
|
'p',
|
|
136
137
|
{ id: 'title' },
|
|
@@ -190,7 +191,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
190
191
|
),
|
|
191
192
|
React__default.createElement(
|
|
192
193
|
Button,
|
|
193
|
-
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
194
|
+
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: checkSisterSite(r.destination) ? '' : 'noopener noreferrer' },
|
|
194
195
|
cta
|
|
195
196
|
)
|
|
196
197
|
)
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
|
-
import { N as NavFooter } from './NavFooter-
|
|
4
|
-
import { S as SocialNavFooter } from './index.esm-
|
|
5
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
3
|
+
import { N as NavFooter } from './NavFooter-3272e9cd.js';
|
|
4
|
+
import { S as SocialNavFooter } from './index.esm-07c37a92.js';
|
|
5
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-68d948b9.js';
|
|
6
6
|
import 'react-bootstrap/Form';
|
|
7
7
|
import 'react-bootstrap/FormControl';
|
|
8
8
|
import 'react-bootstrap/Button';
|
|
@@ -17,6 +17,7 @@ import { m as main_43, c as main_44 } from './main-9f6806ea.js';
|
|
|
17
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
19
19
|
import './core.get-iterator-method-ea258bb1.js';
|
|
20
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
20
21
|
import './react-social-icons-9be47857.js';
|
|
21
22
|
import 'prop-types';
|
|
22
23
|
import './iconBase-ccc56b97.js';
|
|
@@ -160,7 +161,6 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
160
161
|
// Taking into consideration the height of the top navbar while setting the navigation fixed
|
|
161
162
|
|
|
162
163
|
if (window && topNavRef && topNavRef.current && navRef && navRef.current && window.pageYOffset !== 0 && window.pageYOffset + topNavRef.current.clientHeight + navRef.current.clientHeight > navOffsetTop) {
|
|
163
|
-
|
|
164
164
|
if (navRef.current && navRef.current.style) {
|
|
165
165
|
navRef.current.style.position = 'fixed';
|
|
166
166
|
if (mastNav && mastNav.offsetHeight) navRef.current.style.top = mastNav.offsetHeight;
|
|
@@ -418,7 +418,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
418
418
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
419
419
|
href: ddRow.url,
|
|
420
420
|
target: ddRow.blank ? '_blank' : '_self',
|
|
421
|
-
rel: 'noopener noreferrer',
|
|
421
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
422
422
|
className: 'dropdown-item' },
|
|
423
423
|
ddRow.name
|
|
424
424
|
) : null;
|
|
@@ -441,7 +441,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
441
441
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
442
442
|
href: ddRow.url,
|
|
443
443
|
target: ddRow.blank ? '_blank' : '_self',
|
|
444
|
-
rel: 'noopener noreferrer',
|
|
444
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
445
445
|
className: 'dropdown-item' },
|
|
446
446
|
ddRow.name
|
|
447
447
|
) : null;
|
|
@@ -458,7 +458,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
458
458
|
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
459
459
|
href: row.url,
|
|
460
460
|
target: row.blank ? '_blank' : '_self',
|
|
461
|
-
rel: 'noopener noreferrer',
|
|
461
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
462
462
|
className: 'nav-link' },
|
|
463
463
|
row.name
|
|
464
464
|
) : null;
|
|
@@ -500,7 +500,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
500
500
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
501
501
|
href: ddRow.url,
|
|
502
502
|
target: ddRow.blank ? '_blank' : '_self',
|
|
503
|
-
rel: 'noopener noreferrer',
|
|
503
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
504
504
|
className: 'dropdown-item nav-link' },
|
|
505
505
|
ddRow.name
|
|
506
506
|
) : null;
|
|
@@ -522,7 +522,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
522
522
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
523
523
|
href: ddRow.url,
|
|
524
524
|
target: ddRow.blank ? '_blank' : '_self',
|
|
525
|
-
rel: 'noopener noreferrer',
|
|
525
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
526
526
|
className: 'dropdown-item' },
|
|
527
527
|
ddRow.name
|
|
528
528
|
) : null;
|
|
@@ -539,7 +539,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
539
539
|
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
540
540
|
href: row.url,
|
|
541
541
|
target: row.blank ? '_blank' : '_self',
|
|
542
|
-
rel: 'noopener noreferrer',
|
|
542
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
543
543
|
className: 'nav-link' },
|
|
544
544
|
row.name
|
|
545
545
|
) : null;
|
package/dist/esm/Header.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.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-4d0371dc.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -59,6 +59,7 @@ import 'react-bootstrap/Figure';
|
|
|
59
59
|
import 'react-bootstrap/OverlayTrigger';
|
|
60
60
|
import 'react-bootstrap/Tooltip';
|
|
61
61
|
import 'react-bootstrap/Popover';
|
|
62
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
62
63
|
|
|
63
64
|
function HorizontalArticleListing(_ref) {
|
|
64
65
|
var _ref$data = _ref.data,
|
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-4d0371dc.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -69,6 +69,7 @@ import 'react-bootstrap/Figure';
|
|
|
69
69
|
import 'react-bootstrap/OverlayTrigger';
|
|
70
70
|
import 'react-bootstrap/Tooltip';
|
|
71
71
|
import 'react-bootstrap/Popover';
|
|
72
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
72
73
|
|
|
73
74
|
/* usage
|
|
74
75
|
import Settings, { Ads } from '../../../../settings'
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -2,6 +2,7 @@ import React__default, { useRef, useEffect } from 'react';
|
|
|
2
2
|
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
3
|
import ADWebcast from './ADWebcast.js';
|
|
4
4
|
import Segment from './Segment.js';
|
|
5
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
5
6
|
import './slicedToArray-6ebcbfea.js';
|
|
6
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
8
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -65,14 +66,22 @@ var LeftNav = function LeftNav(props) {
|
|
|
65
66
|
if (checkUrlIsExternal(subRow.url)) {
|
|
66
67
|
return React__default.createElement(
|
|
67
68
|
'a',
|
|
68
|
-
{
|
|
69
|
+
{
|
|
70
|
+
target: subRow.blank ? '_blank' : '_self',
|
|
71
|
+
needsegmentsupport: subRow.needSegmentSupport ? 'true' : '',
|
|
72
|
+
href: subRow.url,
|
|
73
|
+
rel: checkSisterSite(subRow.url) ? '' : 'noopener noreferrer' },
|
|
69
74
|
subRow.name
|
|
70
75
|
);
|
|
71
76
|
}
|
|
72
77
|
|
|
73
78
|
return React__default.createElement(
|
|
74
79
|
'a',
|
|
75
|
-
{
|
|
80
|
+
{
|
|
81
|
+
href: subRow.url || '#',
|
|
82
|
+
target: subRow.blank ? '_blank' : '_self',
|
|
83
|
+
needsegmentsupport: subRow.needSegmentSupport ? 'true' : '',
|
|
84
|
+
rel: checkSisterSite(subRow.url) ? '' : 'noopener noreferrer' },
|
|
76
85
|
subRow.name
|
|
77
86
|
);
|
|
78
87
|
};
|
|
@@ -107,7 +116,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
107
116
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
108
117
|
React__default.createElement(
|
|
109
118
|
'a',
|
|
110
|
-
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
119
|
+
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url, rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
111
120
|
'See All ',
|
|
112
121
|
'>'
|
|
113
122
|
)
|
|
@@ -9,7 +9,7 @@ import urlFor from './urlFor.js';
|
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-4d0371dc.js';
|
|
13
13
|
|
|
14
14
|
function _extends() {
|
|
15
15
|
_extends = Object.assign || function (target) {
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-2a9ff7f3.js';
|
|
7
7
|
import './index-174b5baf.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-4d0371dc.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -69,6 +69,7 @@ import 'react-bootstrap/Figure';
|
|
|
69
69
|
import 'react-bootstrap/OverlayTrigger';
|
|
70
70
|
import 'react-bootstrap/Tooltip';
|
|
71
71
|
import 'react-bootstrap/Popover';
|
|
72
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
72
73
|
|
|
73
74
|
var _this = undefined;
|
|
74
75
|
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-2a9ff7f3.js';
|
|
7
7
|
import './index-174b5baf.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 { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-4d0371dc.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -70,6 +70,7 @@ import 'react-bootstrap/Figure';
|
|
|
70
70
|
import 'react-bootstrap/OverlayTrigger';
|
|
71
71
|
import 'react-bootstrap/Tooltip';
|
|
72
72
|
import 'react-bootstrap/Popover';
|
|
73
|
+
import './checkSisterSite-baa4fb6b.js';
|
|
73
74
|
|
|
74
75
|
var _this = undefined;
|
|
75
76
|
|
package/dist/esm/NavDvm.js
CHANGED
|
@@ -3,8 +3,9 @@ import Container from 'react-bootstrap/Container';
|
|
|
3
3
|
import Nav from 'react-bootstrap/Nav';
|
|
4
4
|
import Navbar from 'react-bootstrap/Navbar';
|
|
5
5
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
6
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
6
7
|
import Search from './Search.js';
|
|
7
|
-
import { N as NavFooter } from './NavFooter-
|
|
8
|
+
import { N as NavFooter } from './NavFooter-3272e9cd.js';
|
|
8
9
|
import Segment from './Segment.js';
|
|
9
10
|
import './slicedToArray-6ebcbfea.js';
|
|
10
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -48,14 +49,26 @@ var NavDvm = function NavDvm(props) {
|
|
|
48
49
|
if (url && (url.includes('https://') || url.includes('http://'))) {
|
|
49
50
|
return React__default.createElement(
|
|
50
51
|
'a',
|
|
51
|
-
{
|
|
52
|
+
{
|
|
53
|
+
target: blank ? '_blank' : '_self',
|
|
54
|
+
needsegmentsupport: needSegmentSupport ? 'true' : '',
|
|
55
|
+
key: key,
|
|
56
|
+
href: url || '#',
|
|
57
|
+
className: className,
|
|
58
|
+
rel: checkSisterSite(url) ? '' : 'noopener noreferrer' },
|
|
52
59
|
name
|
|
53
60
|
);
|
|
54
61
|
}
|
|
55
62
|
|
|
56
63
|
return React__default.createElement(
|
|
57
64
|
'a',
|
|
58
|
-
{
|
|
65
|
+
{
|
|
66
|
+
key: key,
|
|
67
|
+
href: url || '#',
|
|
68
|
+
needsegmentsupport: needSegmentSupport ? 'true' : '',
|
|
69
|
+
target: blank ? '_blank' : '_self',
|
|
70
|
+
className: className,
|
|
71
|
+
rel: checkSisterSite(url) ? '' : 'noopener noreferrer' },
|
|
59
72
|
name
|
|
60
73
|
);
|
|
61
74
|
};
|
|
@@ -162,7 +175,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
162
175
|
if (ddRow.url && ddRow.name) {
|
|
163
176
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
164
177
|
'a',
|
|
165
|
-
{
|
|
178
|
+
{
|
|
179
|
+
key: subIndex,
|
|
180
|
+
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
181
|
+
href: ddRow.url,
|
|
182
|
+
target: ddRow.blank ? '_blank' : '_self',
|
|
183
|
+
className: 'dropdown-item',
|
|
184
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer' },
|
|
166
185
|
ddRow.name
|
|
167
186
|
) : null;
|
|
168
187
|
} else return null;
|
|
@@ -182,7 +201,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
182
201
|
if (ddRow.url && ddRow.name) {
|
|
183
202
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
184
203
|
'a',
|
|
185
|
-
{
|
|
204
|
+
{
|
|
205
|
+
key: subIndex,
|
|
206
|
+
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
207
|
+
href: ddRow.url,
|
|
208
|
+
target: ddRow.blank ? '_blank' : '_self',
|
|
209
|
+
className: 'dropdown-item',
|
|
210
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer' },
|
|
186
211
|
ddRow.name
|
|
187
212
|
) : null;
|
|
188
213
|
} else return null;
|
|
@@ -194,7 +219,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
194
219
|
} else {
|
|
195
220
|
return row.url && row.name ? React__default.createElement(
|
|
196
221
|
'a',
|
|
197
|
-
{
|
|
222
|
+
{
|
|
223
|
+
key: index,
|
|
224
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
225
|
+
href: row.url,
|
|
226
|
+
target: row.blank ? '_blank' : '_self',
|
|
227
|
+
className: 'nav-link',
|
|
228
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
198
229
|
row.name
|
|
199
230
|
) : null;
|
|
200
231
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
2
3
|
|
|
3
4
|
var year = new Date().getFullYear();
|
|
4
5
|
|
|
@@ -19,7 +20,7 @@ var NavFooter = function NavFooter(props) {
|
|
|
19
20
|
{ key: index },
|
|
20
21
|
React__default.createElement(
|
|
21
22
|
'a',
|
|
22
|
-
{ target: '_blank', rel: 'noopener noreferrer', href: content.url, className: 'nav-link' },
|
|
23
|
+
{ target: '_blank', rel: checkSisterSite(content.url) ? '' : 'noopener noreferrer', href: content.url, className: 'nav-link' },
|
|
23
24
|
content.title
|
|
24
25
|
)
|
|
25
26
|
) : React__default.createElement(
|
|
@@ -27,7 +28,7 @@ var NavFooter = function NavFooter(props) {
|
|
|
27
28
|
{ key: index },
|
|
28
29
|
React__default.createElement(
|
|
29
30
|
'a',
|
|
30
|
-
{ href: content.url, className: 'nav-link' },
|
|
31
|
+
{ href: content.url, rel: checkSisterSite(content.url) ? '' : 'noopener noreferrer', className: 'nav-link' },
|
|
31
32
|
content.title
|
|
32
33
|
)
|
|
33
34
|
);
|
|
@@ -38,8 +39,12 @@ var NavFooter = function NavFooter(props) {
|
|
|
38
39
|
null,
|
|
39
40
|
React__default.createElement(
|
|
40
41
|
'a',
|
|
41
|
-
{ href: 'https://www.mjhlifesciences.com' },
|
|
42
|
-
React__default.createElement('img', {
|
|
42
|
+
{ href: 'https://www.mjhlifesciences.com', rel: checkSisterSite('https://www.mjhlifesciences.com') ? '' : 'noopener noreferrer' },
|
|
43
|
+
React__default.createElement('img', {
|
|
44
|
+
style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' },
|
|
45
|
+
alt: 'MJHLS Brand Logo',
|
|
46
|
+
src: 'https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png'
|
|
47
|
+
})
|
|
43
48
|
)
|
|
44
49
|
)
|
|
45
50
|
),
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -4,13 +4,14 @@ import Container from 'react-bootstrap/Container';
|
|
|
4
4
|
import Nav from 'react-bootstrap/Nav';
|
|
5
5
|
import Navbar from 'react-bootstrap/Navbar';
|
|
6
6
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
7
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
7
8
|
import { M as MdEmail } from './index.esm-9b042655.js';
|
|
8
9
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
9
|
-
import { N as NavFooter } from './NavFooter-
|
|
10
|
-
import { S as SocialNavFooter } from './index.esm-
|
|
10
|
+
import { N as NavFooter } from './NavFooter-3272e9cd.js';
|
|
11
|
+
import { S as SocialNavFooter } from './index.esm-07c37a92.js';
|
|
11
12
|
import { c as main_44 } from './main-9f6806ea.js';
|
|
12
13
|
import Segment from './Segment.js';
|
|
13
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
14
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-68d948b9.js';
|
|
14
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
16
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -406,6 +407,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
406
407
|
{
|
|
407
408
|
className: 'dropdownlist-expand-btn',
|
|
408
409
|
href: row.url,
|
|
410
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
409
411
|
style: {
|
|
410
412
|
position: 'absolute',
|
|
411
413
|
top: '0px',
|
|
@@ -427,6 +429,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
427
429
|
key: subIndex,
|
|
428
430
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
429
431
|
href: ddRow.url,
|
|
432
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
430
433
|
target: ddRow.blank ? '_blank' : '_self',
|
|
431
434
|
className: 'dropdown-item' },
|
|
432
435
|
ddRow.name
|
|
@@ -452,6 +455,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
452
455
|
key: subIndex,
|
|
453
456
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
454
457
|
href: ddRow.url,
|
|
458
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
455
459
|
target: ddRow.blank ? '_blank' : '_self',
|
|
456
460
|
className: 'dropdown-item' },
|
|
457
461
|
ddRow.name
|
|
@@ -465,7 +469,13 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
465
469
|
} else {
|
|
466
470
|
return row.url && row.name ? React__default.createElement(
|
|
467
471
|
'a',
|
|
468
|
-
{
|
|
472
|
+
{
|
|
473
|
+
key: index,
|
|
474
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
475
|
+
href: row.url,
|
|
476
|
+
target: row.blank ? '_blank' : '_self',
|
|
477
|
+
className: 'nav-link',
|
|
478
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
469
479
|
row.name
|
|
470
480
|
) : null;
|
|
471
481
|
}
|
|
@@ -505,6 +515,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
505
515
|
key: subIndex,
|
|
506
516
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
507
517
|
href: ddRow.url,
|
|
518
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
508
519
|
target: ddRow.blank ? '_blank' : '_self',
|
|
509
520
|
className: 'dropdown-item' },
|
|
510
521
|
ddRow.name
|
|
@@ -528,6 +539,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
528
539
|
key: subIndex,
|
|
529
540
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
530
541
|
href: ddRow.url,
|
|
542
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
531
543
|
target: ddRow.blank ? '_blank' : '_self',
|
|
532
544
|
className: 'dropdown-item' },
|
|
533
545
|
ddRow.name
|
|
@@ -540,7 +552,13 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
540
552
|
} else {
|
|
541
553
|
return row.url && row.name ? React__default.createElement(
|
|
542
554
|
'a',
|
|
543
|
-
{
|
|
555
|
+
{
|
|
556
|
+
key: index,
|
|
557
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
558
|
+
href: row.url,
|
|
559
|
+
target: row.blank ? '_blank' : '_self',
|
|
560
|
+
className: 'nav-link',
|
|
561
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
544
562
|
row.name
|
|
545
563
|
) : null;
|
|
546
564
|
}
|