@mjhls/mjh-framework 1.0.577-native-nav-v5 → 1.0.577
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 +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +8 -7
- package/dist/cjs/AD300x250x600.js +8 -7
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +15 -14
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-df340285.js → ADInfeed-fdbd80ea.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +11 -10
- package/dist/cjs/ADWebcast.js +11 -10
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-2110d08c.js → ADlgInfeed-ecd2642c.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleQueue.js +115 -112
- package/dist/cjs/Auth.js +227 -139
- package/dist/cjs/{AuthorComponent-cb8b8128.js → AuthorComponent-5bb8f868.js} +13 -12
- package/dist/cjs/{BlockContent-c2168db0.js → BlockContent-8b494587.js} +26 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +34 -33
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -81
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-a06d722a.js} +22 -20
- package/dist/cjs/EventsDeck.js +113 -106
- package/dist/cjs/ExternalResources.js +43 -42
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +148 -144
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +38 -37
- package/dist/cjs/HamMagazine.js +118 -113
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/{InscreenSensor-3aec8492.js → InscreenSensor-1f9f7db4.js} +8 -7
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +47 -46
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +60 -59
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +122 -117
- package/dist/cjs/NavNative.js +115 -108
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +134 -132
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +85 -81
- package/dist/cjs/QueueDeckExpanded.js +216 -216
- package/dist/cjs/RelatedContent.js +47 -46
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +20 -19
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialNavFooter-9a07520f.js → SocialNavFooter-d9ab4d17.js} +18 -17
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +35 -34
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +39 -38
- package/dist/cjs/View.js +165 -160
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +47 -46
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +9 -9
- package/dist/cjs/getSerializers.js +267 -257
- package/dist/cjs/{getTargeting-b15993cb.js → getTargeting-86e68d62.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-fa3cec70.js → index-44481153.js} +14 -14
- package/dist/cjs/{index-fa0fb52c.js → index-8a3fb0bc.js} +13 -10
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-39beccb3.js → index-b5eb3ff8.js} +18 -18
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-89fabc47.js → index.esm-55da9104.js} +3 -6
- package/dist/cjs/{index.esm-fbd1f7e9.js → index.esm-99553d28.js} +6 -15
- package/dist/cjs/index.js +28 -28
- package/dist/cjs/{inherits-14962339.js → inherits-4a2f1cc3.js} +4 -4
- package/dist/cjs/{main-88348b15.js → main-c50facd7.js} +89 -53
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-cd0d9d3b.js → react-social-icons-07939b41.js} +13 -11
- package/dist/cjs/{typeof-1869832c.js → typeof-583cdc4b.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +12 -12
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-db7610fb.js → ADInfeed-ed104a2b.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWebcast.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-4bb11153.js → ADlgInfeed-dfde985e.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleQueue.js +98 -98
- package/dist/esm/Auth.js +207 -123
- package/dist/esm/{AuthorComponent-158226c9.js → AuthorComponent-f67cb027.js} +10 -10
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +29 -29
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +62 -62
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-81a052c2.js → Dfp-0557840a.js} +10 -10
- package/dist/esm/EventsDeck.js +64 -64
- package/dist/esm/ExternalResources.js +36 -36
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +106 -106
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +86 -86
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/{InscreenSensor-280b2b10.js → InscreenSensor-3e1fe82a.js} +5 -5
- package/dist/esm/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +44 -44
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +53 -53
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +92 -92
- package/dist/esm/NavNative.js +82 -83
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +72 -72
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +61 -61
- package/dist/esm/QueueDeckExpanded.js +197 -197
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialNavFooter-4fb16720.js → SocialNavFooter-1a531144.js} +15 -15
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TemplateNormal.js +28 -28
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +139 -139
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +37 -37
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +2 -2
- package/dist/esm/getSerializers.js +219 -215
- package/dist/esm/{getTargeting-1a0bd08d.js → getTargeting-1f2c61e3.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-3f4dd6f2.js → index-1819118a.js} +7 -9
- package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/{index-ef6d5dcf.js → index-fa2ffe86.js} +1 -1
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-4b1d94b7.js → index.esm-116f3274.js} +6 -15
- package/dist/esm/{index.esm-9a4c8813.js → index.esm-16e9450c.js} +3 -6
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +24 -24
- package/dist/esm/{inherits-b8e4c697.js → inherits-2758cc14.js} +1 -1
- package/dist/esm/{main-d7ee6151.js → main-b722e2e2.js} +87 -52
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-5f046efd.js → typeof-7e72fee0.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/LeftNav.js
CHANGED
|
@@ -4,12 +4,12 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React, { useRef, useEffect } from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-b722e2e2.js';
|
|
13
13
|
import './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -61,21 +61,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
61
61
|
|
|
62
62
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
63
63
|
if (checkUrlIsExternal(subRow.url)) {
|
|
64
|
-
return
|
|
64
|
+
return React.createElement(
|
|
65
65
|
'a',
|
|
66
66
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
67
67
|
subRow.name
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
return
|
|
71
|
+
return React.createElement(
|
|
72
72
|
'a',
|
|
73
73
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
74
74
|
subRow.name
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
return
|
|
78
|
+
return React.createElement(
|
|
79
79
|
'section',
|
|
80
80
|
{ ref: leftNavRef },
|
|
81
81
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -83,27 +83,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
83
83
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
84
84
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
85
85
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
86
|
-
return
|
|
86
|
+
return React.createElement(
|
|
87
87
|
'div',
|
|
88
88
|
{ key: index },
|
|
89
|
-
|
|
89
|
+
React.createElement(ADWebcast, { webcastAd: row })
|
|
90
90
|
);
|
|
91
91
|
} else {
|
|
92
|
-
return
|
|
92
|
+
return React.createElement(
|
|
93
93
|
'nav',
|
|
94
94
|
{ key: index, 'aria-label': 'Secondary' },
|
|
95
|
-
|
|
95
|
+
React.createElement(
|
|
96
96
|
'div',
|
|
97
97
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
'span',
|
|
100
100
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
101
101
|
row.name
|
|
102
102
|
),
|
|
103
|
-
row.url && SeeAll &&
|
|
103
|
+
row.url && SeeAll && React.createElement(
|
|
104
104
|
'span',
|
|
105
105
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
106
|
-
|
|
106
|
+
React.createElement(
|
|
107
107
|
'a',
|
|
108
108
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
109
109
|
'See All ',
|
|
@@ -111,11 +111,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
111
111
|
)
|
|
112
112
|
)
|
|
113
113
|
),
|
|
114
|
-
|
|
114
|
+
React.createElement(
|
|
115
115
|
'ul',
|
|
116
116
|
{ style: sideNavStyles },
|
|
117
117
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
118
|
-
return
|
|
118
|
+
return React.createElement(
|
|
119
119
|
ListGroup.Item,
|
|
120
120
|
{ as: 'li', key: subIndex + '_2' },
|
|
121
121
|
renderListGroupItem(subRow)
|
|
@@ -128,7 +128,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
128
128
|
);
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
var LeftNav$1 =
|
|
131
|
+
var LeftNav$1 = React.memo(LeftNav);
|
|
132
132
|
|
|
133
133
|
export default LeftNav$1;
|
|
134
134
|
export { LeftNav };
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -8,35 +8,35 @@ import { _ as _toConsumableArray } from './toConsumableArray-8712d678.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends } from './extends-6e00b262.js';
|
|
10
10
|
import './_object-sap-56bb8073.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-2758cc14.js';
|
|
12
12
|
import './web.dom.iterable-46c95e52.js';
|
|
13
|
-
import './typeof-
|
|
13
|
+
import './typeof-7e72fee0.js';
|
|
14
14
|
import './_is-array-dd5523d6.js';
|
|
15
|
-
import
|
|
16
|
-
import { l as lib_3 } from './index-
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import Container from 'react-bootstrap/Container';
|
|
19
19
|
import 'react-bootstrap/Row';
|
|
20
20
|
import 'react-bootstrap/Col';
|
|
21
21
|
import 'react-bootstrap/Card';
|
|
22
|
-
import './moment-
|
|
22
|
+
import './moment-b6f49411.js';
|
|
23
23
|
import { withRouter } from 'next/router';
|
|
24
24
|
import './isSymbol-b7b7434f.js';
|
|
25
25
|
import { d as debounce_1 } from './debounce-048d9cb6.js';
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
27
27
|
import 'react-dom';
|
|
28
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
29
|
-
import './index-
|
|
30
|
-
import { m as
|
|
28
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
29
|
+
import './index-51a80699.js';
|
|
30
|
+
import { m as main_40 } from './main-b722e2e2.js';
|
|
31
31
|
import './slicedToArray-f1e40361.js';
|
|
32
32
|
import './stringify-e30bc114.js';
|
|
33
33
|
import { _ as _Promise } from './asyncToGenerator-0379e924.js';
|
|
34
34
|
import './_set-species-6f64f1c1.js';
|
|
35
35
|
import './beam-a25bd8fd.js';
|
|
36
36
|
import './AdSlot.js';
|
|
37
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
37
|
+
import { A as ADInfeed } from './ADInfeed-ed104a2b.js';
|
|
38
38
|
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
39
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
39
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dfde985e.js';
|
|
40
40
|
|
|
41
41
|
var MasterDeck = function (_React$Component) {
|
|
42
42
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -188,14 +188,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
// please leave this for later debug purpose : Yong Jun.
|
|
191
|
-
/* console.log('page change reported', {
|
|
192
|
-
currentPage: currentPage,
|
|
193
|
-
pageNumber: pageNumber,
|
|
194
|
-
pathname: pathname,
|
|
195
|
-
path: path,
|
|
196
|
-
newPath: newPath,
|
|
197
|
-
firstPage: pageNumber === 1,
|
|
198
|
-
queryString: queryString
|
|
191
|
+
/* console.log('page change reported', {
|
|
192
|
+
currentPage: currentPage,
|
|
193
|
+
pageNumber: pageNumber,
|
|
194
|
+
pathname: pathname,
|
|
195
|
+
path: path,
|
|
196
|
+
newPath: newPath,
|
|
197
|
+
firstPage: pageNumber === 1,
|
|
198
|
+
queryString: queryString
|
|
199
199
|
}) */
|
|
200
200
|
|
|
201
201
|
if (pageview) {
|
|
@@ -286,7 +286,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
return
|
|
289
|
+
return React.createElement(
|
|
290
290
|
'div',
|
|
291
291
|
null,
|
|
292
292
|
data && _this.state.dataRemapped && data.length > 0 ? // If JS enabled and Data remapped with ads
|
|
@@ -294,24 +294,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
294
294
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
295
295
|
|
|
296
296
|
if (row._type === 'lg-infeed' && row.adUnit) {
|
|
297
|
-
return
|
|
297
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
298
298
|
// Returning view for infeed Ad
|
|
299
299
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
300
|
-
return
|
|
300
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
301
301
|
} else if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
302
302
|
// Returning view for articles
|
|
303
|
-
return
|
|
303
|
+
return React.createElement(
|
|
304
304
|
VisibilitySensor,
|
|
305
305
|
{
|
|
306
306
|
key: row._id ? row._id : index,
|
|
307
307
|
onChange: function onChange(isVisible) {
|
|
308
308
|
isVisible && _this.changePageNumber(pageNumber);
|
|
309
309
|
} },
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
React.createElement(
|
|
311
|
+
React.Fragment,
|
|
312
312
|
{ key: index },
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
|
|
314
|
+
main_40 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
|
|
315
315
|
'div',
|
|
316
316
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
317
317
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -325,27 +325,27 @@ var MasterDeck = function (_React$Component) {
|
|
|
325
325
|
data.map(function (row, index) {
|
|
326
326
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
327
327
|
if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
328
|
-
return
|
|
328
|
+
return React.createElement(
|
|
329
329
|
VisibilitySensor,
|
|
330
330
|
{
|
|
331
331
|
key: row._id ? row._id : index,
|
|
332
332
|
onChange: function onChange(isVisible) {
|
|
333
333
|
isVisible && _this.changePageNumber(pageNumber);
|
|
334
334
|
} },
|
|
335
|
-
|
|
336
|
-
|
|
335
|
+
React.createElement(
|
|
336
|
+
React.Fragment,
|
|
337
337
|
{ key: index },
|
|
338
|
-
|
|
338
|
+
React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
|
|
339
339
|
)
|
|
340
340
|
);
|
|
341
341
|
}
|
|
342
|
-
}) :
|
|
342
|
+
}) : React.createElement(
|
|
343
343
|
'div',
|
|
344
344
|
null,
|
|
345
|
-
|
|
345
|
+
React.createElement(
|
|
346
346
|
'h5',
|
|
347
347
|
null,
|
|
348
|
-
|
|
348
|
+
React.createElement(
|
|
349
349
|
'em',
|
|
350
350
|
null,
|
|
351
351
|
'New content coming soon, please check back later.'
|
|
@@ -355,7 +355,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
355
355
|
);
|
|
356
356
|
}, _this.renderMobileAd = function (index, numberOfItemsBeforeAd, rightItems) {
|
|
357
357
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
358
|
-
return
|
|
358
|
+
return React.createElement(
|
|
359
359
|
'div',
|
|
360
360
|
{ className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
|
|
361
361
|
rightItems[i].component
|
|
@@ -363,15 +363,15 @@ var MasterDeck = function (_React$Component) {
|
|
|
363
363
|
}, _this.renderManualPagination = function () {
|
|
364
364
|
var currentPage = _this.state.currentPage;
|
|
365
365
|
|
|
366
|
-
return
|
|
366
|
+
return React.createElement(
|
|
367
367
|
'div',
|
|
368
368
|
{ className: 'd-flex justify-content-between' },
|
|
369
|
-
currentPage && currentPage > 1 &&
|
|
369
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
370
370
|
'a',
|
|
371
371
|
{ href: '?page=' + (currentPage - 1) },
|
|
372
372
|
'<< Previous'
|
|
373
373
|
),
|
|
374
|
-
|
|
374
|
+
React.createElement(
|
|
375
375
|
'a',
|
|
376
376
|
{ href: '?page=' + (currentPage + 1) },
|
|
377
377
|
'Next >>'
|
|
@@ -426,38 +426,38 @@ var MasterDeck = function (_React$Component) {
|
|
|
426
426
|
_props$lgInfeedAd = _props.lgInfeedAd,
|
|
427
427
|
lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd;
|
|
428
428
|
|
|
429
|
-
return
|
|
429
|
+
return React.createElement(
|
|
430
430
|
'div',
|
|
431
431
|
{ className: 'contentDeck' },
|
|
432
|
-
autoScroll ?
|
|
433
|
-
|
|
432
|
+
autoScroll ? React.createElement(
|
|
433
|
+
React.Fragment,
|
|
434
434
|
null,
|
|
435
|
-
|
|
435
|
+
React.createElement(
|
|
436
436
|
InfiniteScroll,
|
|
437
437
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
438
|
-
|
|
438
|
+
React.createElement(
|
|
439
439
|
Container,
|
|
440
440
|
null,
|
|
441
441
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
442
442
|
)
|
|
443
443
|
),
|
|
444
|
-
|
|
444
|
+
React.createElement(
|
|
445
445
|
'noscript',
|
|
446
446
|
null,
|
|
447
447
|
this.renderManualPagination()
|
|
448
448
|
)
|
|
449
|
-
) :
|
|
450
|
-
|
|
449
|
+
) : React.createElement(
|
|
450
|
+
React.Fragment,
|
|
451
451
|
null,
|
|
452
|
-
|
|
452
|
+
React.createElement(
|
|
453
453
|
Container,
|
|
454
454
|
null,
|
|
455
455
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
456
456
|
),
|
|
457
|
-
|
|
457
|
+
React.createElement(
|
|
458
458
|
'div',
|
|
459
459
|
{ style: { padding: '0px 10px' } },
|
|
460
|
-
this.state.scrolling ?
|
|
460
|
+
this.state.scrolling ? React.createElement(
|
|
461
461
|
'button',
|
|
462
462
|
{
|
|
463
463
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -465,17 +465,17 @@ var MasterDeck = function (_React$Component) {
|
|
|
465
465
|
_this3.loadMore();
|
|
466
466
|
} },
|
|
467
467
|
'Load More'
|
|
468
|
-
) :
|
|
468
|
+
) : React.createElement(
|
|
469
469
|
'p',
|
|
470
470
|
{ style: { textAlign: 'center' } },
|
|
471
|
-
|
|
471
|
+
React.createElement(
|
|
472
472
|
'b',
|
|
473
473
|
null,
|
|
474
474
|
'End of data'
|
|
475
475
|
)
|
|
476
476
|
)
|
|
477
477
|
),
|
|
478
|
-
|
|
478
|
+
React.createElement(
|
|
479
479
|
'noscript',
|
|
480
480
|
null,
|
|
481
481
|
this.renderManualPagination()
|
|
@@ -486,7 +486,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
486
486
|
}]);
|
|
487
487
|
|
|
488
488
|
return MasterDeck;
|
|
489
|
-
}(
|
|
489
|
+
}(React.Component);
|
|
490
490
|
|
|
491
491
|
var MasterDeck$1 = withRouter(MasterDeck);
|
|
492
492
|
|
package/dist/esm/NavDvm.js
CHANGED
|
@@ -4,7 +4,7 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
7
|
+
import React from 'react';
|
|
8
8
|
import Container from 'react-bootstrap/Container';
|
|
9
9
|
import './slicedToArray-f1e40361.js';
|
|
10
10
|
import './stringify-e30bc114.js';
|
|
@@ -18,7 +18,7 @@ import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
|
18
18
|
import 'react-bootstrap/Form';
|
|
19
19
|
import 'react-bootstrap/FormControl';
|
|
20
20
|
import Search from './Search.js';
|
|
21
|
-
import { N as NavFooter } from './NavFooter-
|
|
21
|
+
import { N as NavFooter } from './NavFooter-c29526b7.js';
|
|
22
22
|
|
|
23
23
|
var NavDvm = function NavDvm(props) {
|
|
24
24
|
var logo = props.logo,
|
|
@@ -34,87 +34,87 @@ var NavDvm = function NavDvm(props) {
|
|
|
34
34
|
|
|
35
35
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
36
36
|
if (url && (url.includes('https://') || url.includes('http://'))) {
|
|
37
|
-
return
|
|
37
|
+
return React.createElement(
|
|
38
38
|
'a',
|
|
39
39
|
{ target: blank ? '_blank' : '_self', key: key, href: url || '#', className: className },
|
|
40
40
|
name
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
return
|
|
44
|
+
return React.createElement(
|
|
45
45
|
'a',
|
|
46
46
|
{ key: key, href: url || '#', target: blank ? '_blank' : '_self', className: className },
|
|
47
47
|
name
|
|
48
48
|
);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
return
|
|
52
|
-
|
|
51
|
+
return React.createElement(
|
|
52
|
+
React.Fragment,
|
|
53
53
|
null,
|
|
54
|
-
|
|
54
|
+
React.createElement(
|
|
55
55
|
Navbar,
|
|
56
56
|
{ className: 'top-nav', expand: 'xl' },
|
|
57
|
-
|
|
57
|
+
React.createElement(
|
|
58
58
|
Container,
|
|
59
59
|
null,
|
|
60
|
-
|
|
60
|
+
React.createElement(
|
|
61
61
|
Nav,
|
|
62
62
|
{ className: 'justify-content-center', style: { margin: '0 auto' } },
|
|
63
|
-
|
|
63
|
+
React.createElement(
|
|
64
64
|
Nav.Item,
|
|
65
65
|
null,
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
'a',
|
|
68
68
|
{ href: '/' },
|
|
69
|
-
|
|
69
|
+
React.createElement('img', { src: logo, style: { height: '55px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' })
|
|
70
70
|
)
|
|
71
71
|
)
|
|
72
72
|
)
|
|
73
73
|
)
|
|
74
74
|
),
|
|
75
|
-
|
|
75
|
+
React.createElement(
|
|
76
76
|
Navbar,
|
|
77
77
|
{ className: 'bottom-nav', variant: 'dark', expand: 'xl', bg: 'primary', sticky: 'top' },
|
|
78
|
-
|
|
78
|
+
React.createElement(
|
|
79
79
|
Container,
|
|
80
80
|
{ className: 'mobile-nav position-relative' },
|
|
81
|
-
mobileLogo &&
|
|
81
|
+
mobileLogo && React.createElement(
|
|
82
82
|
'a',
|
|
83
83
|
{ href: '/', className: 'mobile-logo' },
|
|
84
|
-
|
|
84
|
+
React.createElement('img', { src: mobileLogo })
|
|
85
85
|
),
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
React.createElement(Navbar.Toggle, { 'aria-controls': 'basic-navbar-nav' }),
|
|
87
|
+
React.createElement(
|
|
88
88
|
Navbar.Collapse,
|
|
89
89
|
{ id: 'basic-navbar-nav' },
|
|
90
|
-
|
|
90
|
+
React.createElement(
|
|
91
91
|
Nav,
|
|
92
92
|
{ className: 'mr-auto' },
|
|
93
93
|
dataObject && dataObject.map(function (row, index) {
|
|
94
94
|
if (row.subQuery.length > 0) {
|
|
95
|
-
return
|
|
95
|
+
return React.createElement(
|
|
96
96
|
'div',
|
|
97
97
|
null,
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
NavDropdown,
|
|
100
100
|
{ key: index, title: row.name, id: 'basic-nav-dropdown' },
|
|
101
101
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
102
102
|
if (ddRow.type === 'divider') {
|
|
103
|
-
return
|
|
103
|
+
return React.createElement(NavDropdown.Divider, { key: subIndex });
|
|
104
104
|
} else {
|
|
105
105
|
return getLink(ddRow.url, 'dropdown-item', ddRow.name, subIndex, ddRow.blank, ddRow.needSegmentSupport);
|
|
106
106
|
}
|
|
107
107
|
})
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React.createElement(
|
|
110
110
|
'noscript',
|
|
111
111
|
null,
|
|
112
|
-
|
|
112
|
+
React.createElement(
|
|
113
113
|
'div',
|
|
114
114
|
null,
|
|
115
115
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
116
116
|
if (ddRow.type === 'divider') {
|
|
117
|
-
return
|
|
117
|
+
return React.createElement(NavDropdown.Divider, { key: subIndex });
|
|
118
118
|
} else {
|
|
119
119
|
return getLink(ddRow.url, 'dropdown-item', ddRow.name, subIndex, ddRow.blank, ddRow.needSegmentSupport);
|
|
120
120
|
}
|
|
@@ -127,28 +127,28 @@ var NavDvm = function NavDvm(props) {
|
|
|
127
127
|
}
|
|
128
128
|
})
|
|
129
129
|
),
|
|
130
|
-
|
|
130
|
+
React.createElement(Search, null)
|
|
131
131
|
),
|
|
132
|
-
subNav &&
|
|
132
|
+
subNav && React.createElement(
|
|
133
133
|
Navbar.Collapse,
|
|
134
134
|
{ id: 'basic-navbar-sub' },
|
|
135
|
-
|
|
135
|
+
React.createElement(
|
|
136
136
|
Nav,
|
|
137
137
|
{ className: 'mr-auto' },
|
|
138
138
|
subNav && subNav.map(function (row, index) {
|
|
139
139
|
if (row.subQuery && row.subQuery.length > 0) {
|
|
140
|
-
return row.name ?
|
|
140
|
+
return row.name ? React.createElement(
|
|
141
141
|
'div',
|
|
142
142
|
null,
|
|
143
|
-
|
|
143
|
+
React.createElement(
|
|
144
144
|
NavDropdown,
|
|
145
145
|
{ key: index, title: row.name, id: 'basic-nav-dropdown' },
|
|
146
146
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
147
147
|
if (ddRow.type === 'divider') {
|
|
148
|
-
return
|
|
148
|
+
return React.createElement(NavDropdown.Divider, { key: subIndex });
|
|
149
149
|
} else {
|
|
150
150
|
if (ddRow.url && ddRow.name) {
|
|
151
|
-
return ddRow.url && ddRow.name ?
|
|
151
|
+
return ddRow.url && ddRow.name ? React.createElement(
|
|
152
152
|
'a',
|
|
153
153
|
{ key: subIndex, href: Segment.getURL(ddRow.url, ddRow), target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
154
154
|
ddRow.name
|
|
@@ -157,18 +157,18 @@ var NavDvm = function NavDvm(props) {
|
|
|
157
157
|
}
|
|
158
158
|
})
|
|
159
159
|
),
|
|
160
|
-
|
|
160
|
+
React.createElement(
|
|
161
161
|
'noscript',
|
|
162
162
|
null,
|
|
163
|
-
|
|
163
|
+
React.createElement(
|
|
164
164
|
'div',
|
|
165
165
|
null,
|
|
166
166
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
167
167
|
if (ddRow.type === 'divider') {
|
|
168
|
-
return
|
|
168
|
+
return React.createElement(NavDropdown.Divider, { key: subIndex });
|
|
169
169
|
} else {
|
|
170
170
|
if (ddRow.url && ddRow.name) {
|
|
171
|
-
return ddRow.url && ddRow.name ?
|
|
171
|
+
return ddRow.url && ddRow.name ? React.createElement(
|
|
172
172
|
'a',
|
|
173
173
|
{ key: subIndex, href: Segment.getURL(ddRow.url, ddRow), target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
174
174
|
ddRow.name
|
|
@@ -180,7 +180,7 @@ var NavDvm = function NavDvm(props) {
|
|
|
180
180
|
)
|
|
181
181
|
) : null;
|
|
182
182
|
} else {
|
|
183
|
-
return row.url && row.name ?
|
|
183
|
+
return row.url && row.name ? React.createElement(
|
|
184
184
|
'a',
|
|
185
185
|
{ key: index, href: Segment.getURL(row.url, row), target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
186
186
|
row.name
|
|
@@ -189,27 +189,27 @@ var NavDvm = function NavDvm(props) {
|
|
|
189
189
|
})
|
|
190
190
|
)
|
|
191
191
|
),
|
|
192
|
-
website &&
|
|
192
|
+
website && React.createElement(
|
|
193
193
|
Navbar.Collapse,
|
|
194
194
|
{ id: 'basic-navbar-sub' },
|
|
195
|
-
|
|
195
|
+
React.createElement(
|
|
196
196
|
Nav,
|
|
197
197
|
{ className: 'mr-auto' },
|
|
198
|
-
|
|
198
|
+
React.createElement(NavFooter, { website: website })
|
|
199
199
|
)
|
|
200
200
|
)
|
|
201
201
|
)
|
|
202
202
|
),
|
|
203
|
-
|
|
203
|
+
React.createElement(
|
|
204
204
|
'noscript',
|
|
205
205
|
null,
|
|
206
|
-
|
|
206
|
+
React.createElement(
|
|
207
207
|
'style',
|
|
208
208
|
{ jsx: 'true' },
|
|
209
209
|
'\n .navbar .collapse {\n display: block;\n }\n '
|
|
210
210
|
)
|
|
211
211
|
),
|
|
212
|
-
|
|
212
|
+
React.createElement(
|
|
213
213
|
'style',
|
|
214
214
|
{ jsx: 'true' },
|
|
215
215
|
'\n .mobile-logo {\n display: none;\n position: absolute;\n left: 50%;\n top: 0;\n height: 40px;\n transform: translateX(-50%);\n }\n .mobile-logo img {\n height: 100%;\n }\n @media screen and (max-width: 1192px) {\n .mobile-logo {\n display: block;\n }\n .top-nav {\n display: none;\n }\n .navbar-expand-lg .show#basic-navbar-sub {\n display: block;\n }\n .navbar .mobile-nav .navbar-collapse.show {\n padding-bottom: 20px;\n border-bottom: 0.5px solid white;\n margin-bottom: 15px;\n }\n .navbar .mobile-nav .navbar-collapse .form-inline {\n margin: 5px 0px;\n }\n .navbar .mobile-nav .navbar-collapse:last-child {\n border-bottom: none;\n margin-bottom: 0px;\n padding-bottom: 0px;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer ul {\n list-style-type: none;\n padding: inherit;\n margin-bottom: 0rem;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer .nav-link {\n text-transform: capitalize !important;\n font-weight: 300;\n }\n .navbar .mobile-nav .dropdown-item:focus {\n background-color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: white;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: inherit;\n border: none;\n }\n }\n @media screen and (max-width: 991px) {\n .dropdown-menu {\n max-height: 315px;\n overflow: auto;\n }\n ::-webkit-scrollbar {\n width: 10px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(214, 214, 214, 0.8);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n }\n @media screen and (min-width: 1200px) {\n #basic-navbar-sub {\n display: none !important;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: white;\n border: 1 px solid #708090;\n }\n }\n '
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
|
|
3
3
|
var year = new Date().getFullYear();
|
|
4
4
|
|
|
@@ -6,26 +6,26 @@ var NavFooter = function NavFooter(props) {
|
|
|
6
6
|
var website = props.website,
|
|
7
7
|
showLogo = props.showLogo;
|
|
8
8
|
|
|
9
|
-
return
|
|
9
|
+
return React.createElement(
|
|
10
10
|
'div',
|
|
11
11
|
{ className: 'nav-footer' },
|
|
12
|
-
website &&
|
|
12
|
+
website && React.createElement(
|
|
13
13
|
'ul',
|
|
14
14
|
null,
|
|
15
15
|
website && website.sideFooterContent && website.sideFooterContent.length && website.sideFooterContent.map(function (content, index) {
|
|
16
16
|
if (content.url && content.title) {
|
|
17
|
-
return content.blank ?
|
|
17
|
+
return content.blank ? React.createElement(
|
|
18
18
|
'li',
|
|
19
19
|
{ key: index },
|
|
20
|
-
|
|
20
|
+
React.createElement(
|
|
21
21
|
'a',
|
|
22
22
|
{ target: '_blank', rel: 'noopener noreferrer', href: content.url, className: 'nav-link' },
|
|
23
23
|
content.title
|
|
24
24
|
)
|
|
25
|
-
) :
|
|
25
|
+
) : React.createElement(
|
|
26
26
|
'li',
|
|
27
27
|
{ key: index },
|
|
28
|
-
|
|
28
|
+
React.createElement(
|
|
29
29
|
'a',
|
|
30
30
|
{ href: content.url, className: 'nav-link' },
|
|
31
31
|
content.title
|
|
@@ -33,17 +33,17 @@ var NavFooter = function NavFooter(props) {
|
|
|
33
33
|
);
|
|
34
34
|
} else return null;
|
|
35
35
|
}),
|
|
36
|
-
showLogo &&
|
|
36
|
+
showLogo && React.createElement(
|
|
37
37
|
'li',
|
|
38
38
|
null,
|
|
39
|
-
|
|
39
|
+
React.createElement(
|
|
40
40
|
'a',
|
|
41
41
|
{ href: 'https://www.mjhlifesciences.com' },
|
|
42
|
-
|
|
42
|
+
React.createElement('img', { style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' }, alt: 'MJHLS Brand Logo', src: 'https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' })
|
|
43
43
|
)
|
|
44
44
|
)
|
|
45
45
|
),
|
|
46
|
-
website && website.title &&
|
|
46
|
+
website && website.title && React.createElement(
|
|
47
47
|
'p',
|
|
48
48
|
{ className: 'nav-link' },
|
|
49
49
|
'\xA9 ',
|
|
@@ -55,6 +55,6 @@ var NavFooter = function NavFooter(props) {
|
|
|
55
55
|
);
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
var NavFooter$1 =
|
|
58
|
+
var NavFooter$1 = React.memo(NavFooter);
|
|
59
59
|
|
|
60
60
|
export { NavFooter$1 as N };
|