@mjhls/mjh-framework 1.0.689 → 1.0.690
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 +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +29 -28
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +26 -25
- package/dist/cjs/{ADInfeed-3410ab3c.js → ADInfeed-ba531ca6.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +26 -25
- package/dist/cjs/ADSponsoredResources.js +26 -25
- package/dist/cjs/ADWebcast.js +26 -25
- package/dist/cjs/ADWelcome.js +30 -29
- package/dist/cjs/{ADlgInfeed-845aac15.js → ADlgInfeed-b0cc0e88.js} +9 -8
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +30 -29
- package/dist/cjs/AdSlotsProvider.js +7 -6
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +22 -21
- package/dist/cjs/ArticleSeriesListing.js +58 -57
- package/dist/cjs/Auth.js +793 -557
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-98ebefa4.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-bbc3be61.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/BrowseVideosListing.js +28 -27
- package/dist/cjs/CMEDeck.js +77 -77
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +57 -54
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +106 -102
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-76acc8c2.js} +31 -30
- package/dist/cjs/EventsDeck.js +153 -146
- package/dist/cjs/ExternalResources.js +73 -72
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +180 -176
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +50 -49
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +70 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +37 -35
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +153 -148
- package/dist/cjs/NavNative.js +128 -120
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +1302 -104
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +98 -94
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +38 -37
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-6b5e5b47.js → SocialSearchComponent-de064e93.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TemplateNormal.js +72 -71
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesListing.js +72 -71
- package/dist/cjs/View.js +238 -235
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +69 -68
- package/dist/cjs/{_is-array-754e012d.js → _is-array-b1090e3d.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-8decaf0f.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-b69cab35.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-5c9fd235.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-e2d5cc9d.js} +3 -3
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-a855b820.js} +6 -6
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-bf3fde8c.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-1d75ae0f.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-16bd5829.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e3ce14ae.js} +1 -1
- package/dist/cjs/{extends-60837c34.js → extends-a9da965c.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +424 -13
- package/dist/cjs/getSerializers.js +39 -39
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-d8df2f51.js} +11 -11
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b5eb3ff8.js → index-10185024.js} +3 -3
- package/dist/cjs/{index-2d0a4911.js → index-5ad2b070.js} +12 -11
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-44c25825.js → index-e1d6c590.js} +427 -417
- package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-876ca9ff.js → index.esm-61650d1a.js} +5 -12
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/index.js +126 -127
- package/dist/cjs/{inherits-513d81cd.js → inherits-3affeccb.js} +8 -8
- package/dist/cjs/{keys-a586b7a0.js → keys-218a754a.js} +2 -2
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-df97bfe9.js} +84 -79
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5b1b0ed8.js} +4 -4
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-4f757ee6.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-57153848.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-c69a5548.js} +6 -6
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-0ffca19f.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +20 -20
- package/dist/esm/AD300x250x600.js +20 -20
- package/dist/esm/AD728x90.js +23 -23
- package/dist/esm/ADFloatingFooter.js +25 -25
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +22 -22
- package/dist/esm/{ADInfeed-205cb7a9.js → ADInfeed-45191cf8.js} +7 -7
- package/dist/esm/ADSkyscraper.js +22 -22
- package/dist/esm/ADSponsoredResources.js +22 -22
- package/dist/esm/ADWebcast.js +22 -22
- package/dist/esm/ADWelcome.js +26 -26
- package/dist/esm/{ADlgInfeed-e538f17a.js → ADlgInfeed-1f8fc733.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +21 -21
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +18 -18
- package/dist/esm/ArticleSeriesListing.js +52 -52
- package/dist/esm/Auth.js +775 -543
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-30ec92a8.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c5de3044.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/BrowseVideosListing.js +24 -24
- package/dist/esm/CMEDeck.js +73 -73
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +47 -47
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-8b5b19d0.js} +20 -20
- package/dist/esm/EventsDeck.js +99 -99
- package/dist/esm/ExternalResources.js +66 -66
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +138 -138
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +66 -66
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +31 -31
- package/dist/esm/MasterDeck.js +74 -74
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +98 -98
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +1296 -100
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +33 -33
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-7f14e0f3.js → SocialSearchComponent-cddc9ce1.js} +26 -26
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesListing.js +65 -65
- package/dist/esm/View.js +224 -225
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +53 -53
- package/dist/esm/{_is-array-49698029.js → _is-array-ffa65b7e.js} +6 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-256a4d61.js} +2 -2
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-0cecd031.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-09ba387c.js} +4 -4
- package/dist/esm/{_to-object-ded78eb9.js → _to-object-ee10dabb.js} +4 -4
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-b0af4000.js} +6 -6
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-0e6dc181.js} +2 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-e013aae3.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-2385da87.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-c5179428.js} +2 -2
- package/dist/esm/{extends-cc5da797.js → extends-03593dc6.js} +1 -1
- package/dist/esm/getRelatedArticle.js +424 -13
- package/dist/esm/getSerializers.js +39 -39
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-60717d7f.js} +11 -11
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-51a80699.js → index-4de5c15f.js} +3 -3
- package/dist/esm/{index-93ec3c59.js → index-669ff425.js} +6 -6
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-8a757d91.js → index-cbd95715.js} +373 -369
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +104 -105
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-d88f5b29.js} +5 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-618df59d.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-a2443735.js} +84 -80
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-648674b3.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-7c97a94d.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-aa76a4fe.js} +4 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-5c759779.js} +6 -6
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-de3b4afb.js} +3 -3
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-648674b3.js';
|
|
2
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
3
|
+
import SocialIcons from './SocialIcons.js';
|
|
4
|
+
import { G as GoSearch } from './index.esm-8016b507.js';
|
|
4
5
|
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
5
|
-
import Button from 'react-bootstrap/Button';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
|
-
import { G as GoSearch } from './index.esm-fd746768.js';
|
|
8
|
-
import SocialIcons from './SocialIcons.js';
|
|
9
7
|
import FormControl from 'react-bootstrap/FormControl';
|
|
8
|
+
import Button from 'react-bootstrap/Button';
|
|
9
|
+
import { d as main_31, a as main_41 } from './main-a2443735.js';
|
|
10
10
|
|
|
11
11
|
var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
12
12
|
var type = _ref.type,
|
|
@@ -68,14 +68,14 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
68
68
|
var searchBtn = document.getElementsByClassName(selector)[0];
|
|
69
69
|
if (searchBtn && searchBtn.classList && searchBtn.classList.contains(addOn)) {
|
|
70
70
|
// Set overflow fix for iPhones safari browsers
|
|
71
|
-
if (
|
|
71
|
+
if (main_41 || window.innerWidth < 1200 && main_31) {
|
|
72
72
|
var mainNav = document.querySelector('#navbar-ham');
|
|
73
73
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
74
74
|
}
|
|
75
75
|
searchBtn.classList.remove(addOn);
|
|
76
76
|
} else if (searchBtn && searchBtn.classList) {
|
|
77
77
|
// Set overflow fix for iPhones safari browsers
|
|
78
|
-
if (
|
|
78
|
+
if (main_41 || window.innerWidth < 1200 && main_31) {
|
|
79
79
|
var _mainNav = document.querySelector('#navbar-ham');
|
|
80
80
|
if (_mainNav && _mainNav.style) _mainNav.style.overflow = 'visible';
|
|
81
81
|
}
|
|
@@ -85,21 +85,21 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
var socialSearchDesktop = function socialSearchDesktop() {
|
|
88
|
-
return
|
|
88
|
+
return React.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ id: 'search-content-desktop', ref: desktopComponent, style: { display: 'flex' } },
|
|
91
|
-
|
|
91
|
+
React.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ id: 'search-bar-desktop', style: { top: topOffset, right: rightOffset } },
|
|
94
|
-
|
|
94
|
+
React.createElement(
|
|
95
95
|
Form,
|
|
96
96
|
{ style: { padding: '6px' }, inline: true, onSubmit: function onSubmit(e) {
|
|
97
97
|
return submitSearch(e);
|
|
98
98
|
} },
|
|
99
|
-
|
|
99
|
+
React.createElement(FormControl, { style: { width: '78%' }, placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
100
100
|
return setSearchKey(e.target.value);
|
|
101
101
|
} }),
|
|
102
|
-
|
|
102
|
+
React.createElement(
|
|
103
103
|
Button,
|
|
104
104
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
105
105
|
return submitSearch(e);
|
|
@@ -108,22 +108,22 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
108
108
|
)
|
|
109
109
|
)
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
IconContext.Provider,
|
|
113
113
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-desktop', size: '35px' } },
|
|
114
|
-
|
|
114
|
+
React.createElement(GoSearch, {
|
|
115
115
|
onClick: function onClick() {
|
|
116
116
|
toggleClass('search-bar-desktop', 'id', 'show');
|
|
117
117
|
toggleClass('search-btn-desktop', 'class', 'active-search');
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
),
|
|
121
|
-
website && website.socialLinks && website.socialLinks.length !== 0 &&
|
|
121
|
+
website && website.socialLinks && website.socialLinks.length !== 0 && React.createElement(
|
|
122
122
|
'div',
|
|
123
123
|
{ id: 'social-tab-desktop', style: { display: 'flex', left: '0px', position: 'relative', paddingTop: '3px', maxHeight: '35px' } },
|
|
124
|
-
website.socialLinks &&
|
|
124
|
+
website.socialLinks && React.createElement(SocialIcons, { socialLinks: website.socialLinks, variant: socialIconVariant })
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React.createElement(
|
|
127
127
|
'style',
|
|
128
128
|
{ jsx: 'true' },
|
|
129
129
|
'\n #search-content-desktop .search-btn-desktop {\n padding: 5px;\n cursor: pointer;\n }\n #search-content-desktop #search-bar-desktop {\n display: none;\n background-color: var(--primary);\n position: absolute;\n width: 400px;\n border-radius: 5px;\n height: 48px;\n right: 15%;\n }\n #search-content-desktop .search-btn-desktop.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary) !important;\n }\n #search-content-desktop #search-bar-desktop.show {\n display: block !important;\n }\n '
|
|
@@ -132,21 +132,21 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
var socialSearchMobile = function socialSearchMobile() {
|
|
135
|
-
return
|
|
135
|
+
return React.createElement(
|
|
136
136
|
'div',
|
|
137
137
|
{ id: 'search-content-mobile', ref: mobileComponent },
|
|
138
|
-
|
|
138
|
+
React.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ id: 'search-bar-mobile', style: { top: topOffset } },
|
|
141
|
-
|
|
141
|
+
React.createElement(
|
|
142
142
|
Form,
|
|
143
143
|
{ inline: true, style: { padding: '6px', width: '100%' }, onSubmit: function onSubmit(e) {
|
|
144
144
|
return submitSearch(e);
|
|
145
145
|
} },
|
|
146
|
-
|
|
146
|
+
React.createElement(FormControl, { style: { width: '78%' }, placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
147
147
|
return setSearchKey(e.target.value);
|
|
148
148
|
} }),
|
|
149
|
-
|
|
149
|
+
React.createElement(
|
|
150
150
|
Button,
|
|
151
151
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
152
152
|
return submitSearch(e);
|
|
@@ -155,10 +155,10 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
155
155
|
)
|
|
156
156
|
)
|
|
157
157
|
),
|
|
158
|
-
|
|
158
|
+
React.createElement(
|
|
159
159
|
IconContext.Provider,
|
|
160
160
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-mobile', size: '35px' } },
|
|
161
|
-
|
|
161
|
+
React.createElement(GoSearch, {
|
|
162
162
|
onClick: function onClick() {
|
|
163
163
|
var navToggle = document.getElementsByClassName('navbar-toggler')[0];
|
|
164
164
|
if (navToggle && navToggle.classList && !navToggle.classList.contains('collapsed')) {
|
|
@@ -174,7 +174,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
174
174
|
}
|
|
175
175
|
})
|
|
176
176
|
),
|
|
177
|
-
|
|
177
|
+
React.createElement(
|
|
178
178
|
'style',
|
|
179
179
|
{ jsx: 'true' },
|
|
180
180
|
'\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_31 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
|
package/dist/esm/SocialShare.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import Head from 'next/head';
|
|
3
3
|
import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, LinkedinShareButton, LinkedinIcon, PinterestShareButton, PinterestIcon, EmailShareButton, EmailIcon } from 'react-share';
|
|
4
4
|
|
|
@@ -17,51 +17,51 @@ var SocialShare = function SocialShare(props) {
|
|
|
17
17
|
hidePinterest = props.hidePinterest,
|
|
18
18
|
hideFacebook = props.hideFacebook;
|
|
19
19
|
|
|
20
|
-
return
|
|
21
|
-
|
|
20
|
+
return React.createElement(
|
|
21
|
+
React.Fragment,
|
|
22
22
|
null,
|
|
23
|
-
!disableMeta &&
|
|
23
|
+
!disableMeta && React.createElement(
|
|
24
24
|
Head,
|
|
25
25
|
null,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
React.createElement('meta', { property: 'og:url', content: shareUrl, key: 'og:url' }),
|
|
27
|
+
React.createElement('meta', { property: 'og:title', content: shareTitle, key: 'og:title' }),
|
|
28
|
+
React.createElement('meta', { property: 'og:image', content: shareImage, key: 'og:image' }),
|
|
29
|
+
React.createElement('meta', { property: 'og:site_name', content: siteName, key: 'og:site_name' }),
|
|
30
|
+
React.createElement('meta', { property: 'og:description', content: shareSummary, key: 'og:description' }),
|
|
31
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'og:card' }),
|
|
32
|
+
React.createElement('meta', { name: 'twitter:title', content: shareTitle, key: 'og:title' }),
|
|
33
|
+
React.createElement('meta', { name: 'twitter:image', content: shareImage, key: 'og:image' }),
|
|
34
|
+
React.createElement('meta', { name: 'twitter:site', content: twitterSiteName, key: 'og:site' }),
|
|
35
|
+
React.createElement('meta', { name: 'twitter:description', content: shareSummary, key: 'og:description' })
|
|
36
36
|
),
|
|
37
|
-
!hideFacebook &&
|
|
37
|
+
!hideFacebook && React.createElement(
|
|
38
38
|
FacebookShareButton,
|
|
39
39
|
{ url: shareUrl, quote: shareTitle },
|
|
40
|
-
|
|
40
|
+
React.createElement(FacebookIcon, { size: size, round: true })
|
|
41
41
|
),
|
|
42
|
-
|
|
42
|
+
React.createElement(
|
|
43
43
|
TwitterShareButton,
|
|
44
44
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
45
|
-
|
|
45
|
+
React.createElement(TwitterIcon, { size: size, round: true })
|
|
46
46
|
),
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
LinkedinShareButton,
|
|
49
49
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
50
|
-
|
|
50
|
+
React.createElement(LinkedinIcon, { size: size, round: true })
|
|
51
51
|
),
|
|
52
|
-
!hidePinterest &&
|
|
52
|
+
!hidePinterest && React.createElement(
|
|
53
53
|
PinterestShareButton,
|
|
54
54
|
{ url: shareUrl, media: shareImage, description: shareSummary },
|
|
55
|
-
|
|
55
|
+
React.createElement(PinterestIcon, { size: size, round: true })
|
|
56
56
|
),
|
|
57
|
-
|
|
57
|
+
React.createElement(
|
|
58
58
|
EmailShareButton,
|
|
59
59
|
{ url: shareUrl, subject: shareSubject, body: shareSummary },
|
|
60
|
-
|
|
60
|
+
React.createElement(EmailIcon, { size: size, round: true })
|
|
61
61
|
)
|
|
62
62
|
);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
var SocialShare$1 =
|
|
65
|
+
var SocialShare$1 = React.memo(SocialShare);
|
|
66
66
|
|
|
67
67
|
export default SocialShare$1;
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import '
|
|
3
|
-
import './
|
|
4
|
-
import { _ as _extends } from './extends-cc5da797.js';
|
|
5
|
-
import React__default from 'react';
|
|
6
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _extends } from './extends-03593dc6.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { B as BlockContent } from './BlockContent-c5de3044.js';
|
|
7
4
|
import Container from 'react-bootstrap/Container';
|
|
8
5
|
import Row from 'react-bootstrap/Row';
|
|
9
6
|
import Col from 'react-bootstrap/Col';
|
|
10
7
|
import Card from 'react-bootstrap/Card';
|
|
8
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
9
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
10
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
11
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
+
import './_to-object-ee10dabb.js';
|
|
13
|
+
import './_object-pie-71ac75a4.js';
|
|
14
|
+
import 'prop-types';
|
|
11
15
|
import 'react-dom';
|
|
12
|
-
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
13
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
14
|
-
import { B as BlockContent } from './BlockContent-a614acdf.js';
|
|
15
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
|
|
16
16
|
|
|
17
17
|
var TaxonomyCard = function TaxonomyCard(props) {
|
|
18
18
|
// setting default value for imageHeight
|
|
@@ -46,13 +46,13 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
46
46
|
var itemCounter = 0;
|
|
47
47
|
var lgVar = 12;
|
|
48
48
|
|
|
49
|
-
return
|
|
49
|
+
return React.createElement(
|
|
50
50
|
'div',
|
|
51
51
|
{ className: 'contentDeck' },
|
|
52
|
-
|
|
52
|
+
React.createElement(
|
|
53
53
|
Container,
|
|
54
54
|
null,
|
|
55
|
-
|
|
55
|
+
React.createElement(
|
|
56
56
|
Row,
|
|
57
57
|
null,
|
|
58
58
|
data && data.map(function (row, index) {
|
|
@@ -91,33 +91,33 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
91
91
|
extraURL2 && companyDetails.push({ key: 'url', value: extraURL2 });
|
|
92
92
|
extraURL3 && companyDetails.push({ key: 'url', value: extraURL3 });
|
|
93
93
|
extraURL4 && companyDetails.push({ key: 'url', value: extraURL4 });
|
|
94
|
-
return
|
|
94
|
+
return React.createElement(
|
|
95
95
|
Col,
|
|
96
96
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
97
|
-
|
|
97
|
+
React.createElement(
|
|
98
98
|
Card,
|
|
99
99
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
100
|
-
|
|
100
|
+
React.createElement(
|
|
101
101
|
Card.Body,
|
|
102
102
|
null,
|
|
103
|
-
|
|
103
|
+
React.createElement(
|
|
104
104
|
Row,
|
|
105
105
|
null,
|
|
106
|
-
thumbnailURL &&
|
|
106
|
+
thumbnailURL && React.createElement(
|
|
107
107
|
Col,
|
|
108
108
|
null,
|
|
109
|
-
|
|
109
|
+
React.createElement(
|
|
110
110
|
LazyLoad,
|
|
111
111
|
{ height: imageHeight },
|
|
112
|
-
row && row.thumbnail &&
|
|
112
|
+
row && row.thumbnail && React.createElement(
|
|
113
113
|
'figure',
|
|
114
114
|
null,
|
|
115
|
-
row.thumbnail.link ?
|
|
115
|
+
row.thumbnail.link ? React.createElement(
|
|
116
116
|
'a',
|
|
117
117
|
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
118
|
-
|
|
119
|
-
) :
|
|
120
|
-
row && row.thumbnail && row.thumbnail.caption &&
|
|
118
|
+
React.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
119
|
+
) : React.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
120
|
+
row && row.thumbnail && row.thumbnail.caption && React.createElement(
|
|
121
121
|
'figcaption',
|
|
122
122
|
null,
|
|
123
123
|
row.thumbnail.caption
|
|
@@ -125,30 +125,30 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
125
125
|
)
|
|
126
126
|
)
|
|
127
127
|
),
|
|
128
|
-
|
|
128
|
+
React.createElement(
|
|
129
129
|
Col,
|
|
130
130
|
null,
|
|
131
|
-
|
|
131
|
+
React.createElement(
|
|
132
132
|
Row,
|
|
133
133
|
{ className: 'details-content-wrapper' },
|
|
134
|
-
|
|
134
|
+
React.createElement(
|
|
135
135
|
'div',
|
|
136
136
|
{ className: 'details-content-inner-wrapper' },
|
|
137
|
-
(address && address.length > 0 || companyDetails && companyDetails.length > 0) &&
|
|
137
|
+
(address && address.length > 0 || companyDetails && companyDetails.length > 0) && React.createElement(
|
|
138
138
|
'div',
|
|
139
139
|
{ className: 'details-wrapper' },
|
|
140
|
-
companyDetails && companyDetails.length > 0 &&
|
|
140
|
+
companyDetails && companyDetails.length > 0 && React.createElement(
|
|
141
141
|
'div',
|
|
142
142
|
{ className: 'company-wrapper' },
|
|
143
143
|
companyDetails.map(function (field, index) {
|
|
144
144
|
if (field.value && field.key === 'company') {
|
|
145
|
-
return
|
|
145
|
+
return React.createElement(
|
|
146
146
|
'p',
|
|
147
147
|
{ className: 'details-field', key: index },
|
|
148
148
|
field.value
|
|
149
149
|
);
|
|
150
150
|
} else if (field.value && field.key === 'url') {
|
|
151
|
-
return
|
|
151
|
+
return React.createElement(
|
|
152
152
|
'a',
|
|
153
153
|
{ className: 'details-field', href: field.value, key: index },
|
|
154
154
|
field.value
|
|
@@ -163,12 +163,12 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
163
163
|
// }
|
|
164
164
|
})
|
|
165
165
|
),
|
|
166
|
-
address && address.length > 0 &&
|
|
166
|
+
address && address.length > 0 && React.createElement(
|
|
167
167
|
'div',
|
|
168
168
|
{ className: 'address-wrapper' },
|
|
169
169
|
address.map(function (field, index) {
|
|
170
170
|
if (field) {
|
|
171
|
-
return
|
|
171
|
+
return React.createElement(
|
|
172
172
|
'p',
|
|
173
173
|
{ className: 'details-field', key: index },
|
|
174
174
|
field
|
|
@@ -176,18 +176,18 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
176
176
|
}
|
|
177
177
|
})
|
|
178
178
|
),
|
|
179
|
-
|
|
179
|
+
React.createElement(
|
|
180
180
|
'style',
|
|
181
181
|
{ jsx: 'true' },
|
|
182
182
|
'\n .details-content-wrapper,\n .details-content-inner-wrapper {\n width: 100%;\n }\n .details-wrapper .details-field {\n margin: 0px;\n display: block;\n font-size: 1rem;\n margin-bottom: 3px;\n }\n .details-wrapper .company-wrapper {\n margin-right: 20px;\n display: inline-block;\n width: 50%;\n vertical-align: top;\n }\n .details-wrapper .address-wrapper {\n width: 45%;\n display: inline-block;\n }\n '
|
|
183
183
|
)
|
|
184
184
|
),
|
|
185
|
-
socialLinks && socialLinks.length &&
|
|
185
|
+
socialLinks && socialLinks.length && React.createElement(
|
|
186
186
|
'div',
|
|
187
187
|
{ className: 'social-icons' },
|
|
188
188
|
socialLinks.map(function (url, index) {
|
|
189
189
|
if (url && url.length) {
|
|
190
|
-
return
|
|
190
|
+
return React.createElement(reactSocialIcons_1, {
|
|
191
191
|
target: '_blank',
|
|
192
192
|
rel: 'noopener noreferrer',
|
|
193
193
|
key: index,
|
|
@@ -197,22 +197,22 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
}),
|
|
200
|
-
|
|
200
|
+
React.createElement(
|
|
201
201
|
'style',
|
|
202
202
|
{ jsx: 'true' },
|
|
203
203
|
'\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
|
|
204
204
|
)
|
|
205
205
|
),
|
|
206
|
-
|
|
206
|
+
React.createElement(
|
|
207
207
|
Card.Text,
|
|
208
208
|
null,
|
|
209
|
-
|
|
209
|
+
React.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
210
210
|
)
|
|
211
211
|
)
|
|
212
212
|
)
|
|
213
213
|
)
|
|
214
214
|
),
|
|
215
|
-
icon &&
|
|
215
|
+
icon && React.createElement(
|
|
216
216
|
'span',
|
|
217
217
|
{
|
|
218
218
|
className: 'taxonomy-icon',
|
|
@@ -232,7 +232,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
232
232
|
})
|
|
233
233
|
)
|
|
234
234
|
),
|
|
235
|
-
icon &&
|
|
235
|
+
icon && React.createElement(
|
|
236
236
|
'style',
|
|
237
237
|
{ jsx: 'true' },
|
|
238
238
|
'\n .taxonomy-card:hover .taxonomy-icon {\n transform: translateY(-50%) scale(1.5) translateX(0) !important;\n }\n '
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-648674b3.js';
|
|
2
|
+
import React, { useState, useEffect } from 'react';
|
|
3
|
+
import { useRouter } from 'next/router';
|
|
4
|
+
import Container from 'react-bootstrap/Container';
|
|
5
|
+
import ADGutter from './ADGutter.js';
|
|
6
|
+
import AD728x90 from './AD728x90.js';
|
|
7
|
+
import Header from './Header.js';
|
|
8
|
+
import { Column1 } from './Column1.js';
|
|
9
|
+
import { Column2 } from './Column2.js';
|
|
10
|
+
import { Column3 } from './Column3.js';
|
|
11
|
+
import MagazineNav from './NavMagazine.js';
|
|
12
|
+
import { NavNative } from './NavNative.js';
|
|
13
|
+
import { NavNormal } from './NavNormal.js';
|
|
14
|
+
import { NavDvm } from './NavDvm.js';
|
|
15
|
+
import { HamMagazine } from './HamMagazine.js';
|
|
1
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
9
|
-
import React__default, { useState, useEffect } from 'react';
|
|
10
|
-
import './index-93ec3c59.js';
|
|
17
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
18
|
+
import './es6.string.iterator-c5179428.js';
|
|
19
|
+
import './_to-object-ee10dabb.js';
|
|
20
|
+
import './core.get-iterator-method-0e6dc181.js';
|
|
21
|
+
import './stringify-7c97a94d.js';
|
|
22
|
+
import './AdSlot.js';
|
|
11
23
|
import 'prop-types';
|
|
12
|
-
import
|
|
13
|
-
import 'react-bootstrap/Row';
|
|
14
|
-
import 'react-bootstrap/Col';
|
|
15
|
-
import { useRouter } from 'next/router';
|
|
16
|
-
import './isSymbol-807e927e.js';
|
|
24
|
+
import './index-669ff425.js';
|
|
17
25
|
import './debounce-1a993acf.js';
|
|
18
|
-
import './
|
|
19
|
-
import './stringify-008c8802.js';
|
|
20
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
21
|
-
import './asyncToGenerator-7c654f36.js';
|
|
22
|
-
import './_set-species-cede29f8.js';
|
|
23
|
-
import './Segment.js';
|
|
26
|
+
import './isSymbol-807e927e.js';
|
|
24
27
|
import './Beam.js';
|
|
25
|
-
import './
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
28
|
-
import '
|
|
29
|
-
import './
|
|
30
|
-
import './
|
|
31
|
-
import 'react-bootstrap/Button';
|
|
32
|
-
import './defineProperty-b798470d.js';
|
|
33
|
-
import 'react-bootstrap/Form';
|
|
28
|
+
import './asyncToGenerator-b0af4000.js';
|
|
29
|
+
import './_library-528f1934.js';
|
|
30
|
+
import './_set-species-09ba387c.js';
|
|
31
|
+
import './_iter-detect-256a4d61.js';
|
|
32
|
+
import './Segment.js';
|
|
33
|
+
import './main-a2443735.js';
|
|
34
34
|
import 'next/head';
|
|
35
|
-
import
|
|
35
|
+
import 'react-bootstrap/Row';
|
|
36
|
+
import 'react-bootstrap/Col';
|
|
36
37
|
import './SideFooter.js';
|
|
37
|
-
import './
|
|
38
|
-
import
|
|
38
|
+
import './defineProperty-2385da87.js';
|
|
39
|
+
import './define-property-e013aae3.js';
|
|
40
|
+
import './react-social-icons-91f9716f.js';
|
|
41
|
+
import './get-5ee14cda.js';
|
|
42
|
+
import './ConferenceBanner-9162d0ca.js';
|
|
39
43
|
import './ADSponsoredResources.js';
|
|
44
|
+
import './LeftNav.js';
|
|
40
45
|
import 'react-bootstrap/ListGroup';
|
|
41
46
|
import './ADWebcast.js';
|
|
42
|
-
import './LeftNav.js';
|
|
43
47
|
import './PageFilter.js';
|
|
44
|
-
import
|
|
45
|
-
import Header from './Header.js';
|
|
48
|
+
import 'react-bootstrap';
|
|
46
49
|
import 'react-bootstrap/Nav';
|
|
47
50
|
import 'react-bootstrap/Navbar';
|
|
48
51
|
import 'react-bootstrap/NavDropdown';
|
|
49
|
-
import './index.esm-
|
|
50
|
-
import './
|
|
51
|
-
import './index.esm-
|
|
52
|
+
import './index.esm-d6f88d94.js';
|
|
53
|
+
import './iconBase-602d52fe.js';
|
|
54
|
+
import './index.esm-79385203.js';
|
|
55
|
+
import './NavFooter-c29526b7.js';
|
|
56
|
+
import './index.esm-8016b507.js';
|
|
57
|
+
import './SocialSearchComponent-cddc9ce1.js';
|
|
52
58
|
import './SocialIcons.js';
|
|
59
|
+
import 'react-bootstrap/Form';
|
|
53
60
|
import 'react-bootstrap/FormControl';
|
|
54
|
-
import '
|
|
55
|
-
import MagazineNav from './NavMagazine.js';
|
|
56
|
-
import { NavNative } from './NavNative.js';
|
|
61
|
+
import 'react-bootstrap/Button';
|
|
57
62
|
import './Search.js';
|
|
58
|
-
import { NavNormal } from './NavNormal.js';
|
|
59
|
-
import { NavDvm } from './NavDvm.js';
|
|
60
|
-
import { HamMagazine } from './HamMagazine.js';
|
|
61
|
-
import ADGutter from './ADGutter.js';
|
|
62
|
-
import AD728x90 from './AD728x90.js';
|
|
63
63
|
|
|
64
64
|
// Main
|
|
65
65
|
var TemplateNormal = function TemplateNormal(props) {
|
|
@@ -97,15 +97,15 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
97
97
|
var navigation = function navigation() {
|
|
98
98
|
switch (config.navComponent) {
|
|
99
99
|
case 'normal':
|
|
100
|
-
return
|
|
100
|
+
return React.createElement(NavNormal, { logo: website.logo, dataObject: config.navItems });
|
|
101
101
|
case 'magazine':
|
|
102
|
-
return
|
|
102
|
+
return React.createElement(MagazineNav, { logo: website.logo, mobileLogo: website.mobileLogo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
103
103
|
case 'native':
|
|
104
|
-
return
|
|
104
|
+
return React.createElement(NavNative, { logo: website.logo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
105
105
|
case 'dvm':
|
|
106
|
-
return
|
|
106
|
+
return React.createElement(NavDvm, { logo: website.logo, dataObject: config.navItems, mobileLogo: website.logo, subNav: config.leftItems, website: website });
|
|
107
107
|
case 'hamburgerNav':
|
|
108
|
-
return
|
|
108
|
+
return React.createElement(HamMagazine, {
|
|
109
109
|
socialFooterNav: true,
|
|
110
110
|
logo: website.logo,
|
|
111
111
|
dataObject: config.navItems,
|
|
@@ -115,7 +115,7 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
115
115
|
showLogin: website.showLogin
|
|
116
116
|
});
|
|
117
117
|
default:
|
|
118
|
-
return
|
|
118
|
+
return React.createElement('noNav', null);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -132,19 +132,19 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
132
132
|
function layout() {
|
|
133
133
|
switch (config.columns) {
|
|
134
134
|
case '1':
|
|
135
|
-
return
|
|
135
|
+
return React.createElement(
|
|
136
136
|
Column1,
|
|
137
137
|
{ title: title },
|
|
138
138
|
props.children
|
|
139
139
|
);
|
|
140
140
|
case '2':
|
|
141
|
-
return
|
|
141
|
+
return React.createElement(
|
|
142
142
|
Column2,
|
|
143
143
|
{ title: title, rightItems: config.rightItems, website: website },
|
|
144
144
|
props.children
|
|
145
145
|
);
|
|
146
146
|
case '3':
|
|
147
|
-
return
|
|
147
|
+
return React.createElement(
|
|
148
148
|
Column3,
|
|
149
149
|
{
|
|
150
150
|
title: title,
|
|
@@ -160,35 +160,35 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
160
160
|
props.children
|
|
161
161
|
);
|
|
162
162
|
default:
|
|
163
|
-
return
|
|
163
|
+
return React.createElement('noLayout', null);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
return
|
|
167
|
+
return React.createElement(
|
|
168
168
|
'section',
|
|
169
169
|
null,
|
|
170
|
-
noTitle ?
|
|
170
|
+
noTitle ? React.createElement(Header, {
|
|
171
171
|
isLiveSite: config.isLiveSite,
|
|
172
172
|
keyword: keywords,
|
|
173
173
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
174
|
-
}) :
|
|
174
|
+
}) : React.createElement(Header, {
|
|
175
175
|
title: title ? title + ' ' + (currentPage !== 0 ? '| Page ' + currentPage + ' ' : router && router.query && router.query.page ? '| Page ' + router.query.page + ' ' : '') + '| ' + website.title : website.title + ' ' + (currentPage !== 0 ? '| Page ' + currentPage + ' ' : router && router.query && router.query.page ? '| Page ' + router.query.page + ' ' : ''),
|
|
176
176
|
isLiveSite: config.isLiveSite,
|
|
177
177
|
keyword: keywords,
|
|
178
178
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
179
179
|
}),
|
|
180
180
|
navigation(),
|
|
181
|
-
sponsoredFlag ?
|
|
182
|
-
|
|
181
|
+
sponsoredFlag ? React.createElement('div', { style: { height: '50px' } }) : React.createElement(
|
|
182
|
+
React.Fragment,
|
|
183
183
|
null,
|
|
184
|
-
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit &&
|
|
184
|
+
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit && React.createElement(
|
|
185
185
|
Container,
|
|
186
186
|
null,
|
|
187
|
-
|
|
187
|
+
React.createElement(AD728x90, { networkID: horizontalAD.networkID, adUnit: horizontalAD.adUnit, targeting: adTargeting })
|
|
188
188
|
)
|
|
189
189
|
),
|
|
190
|
-
website.gutterAd && !sponsoredFlag &&
|
|
191
|
-
|
|
190
|
+
website.gutterAd && !sponsoredFlag && React.createElement(ADGutter, { title: 'gutter-ad', gutterAd: website.gutterAd }),
|
|
191
|
+
React.createElement(
|
|
192
192
|
Container,
|
|
193
193
|
null,
|
|
194
194
|
layout()
|