@mjhls/mjh-framework 1.0.769 → 1.0.770-beta.0
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/AD.js +9 -10
- package/dist/cjs/AD300x250.js +27 -28
- package/dist/cjs/AD300x250x600.js +27 -28
- package/dist/cjs/AD728x90.js +30 -31
- package/dist/cjs/ADFloatingFooter.js +29 -30
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +29 -30
- package/dist/cjs/{ADInfeed-32dc37f4.js → ADInfeed-547e399f.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +29 -30
- package/dist/cjs/ADSponsoredResources.js +29 -30
- package/dist/cjs/ADWebcast.js +29 -30
- package/dist/cjs/ADWelcome.js +30 -31
- package/dist/cjs/{ADlgInfeed-a8dc2b08.js → ADlgInfeed-84cd6750.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +31 -32
- package/dist/cjs/AdSlotsProvider.js +16 -17
- package/dist/cjs/AlphabeticList.js +24 -25
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +55 -56
- package/dist/cjs/ArticleSeriesLandingPage.js +38 -39
- package/dist/cjs/ArticleSeriesListing.js +59 -60
- package/dist/cjs/Auth.js +335 -821
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +32 -35
- package/dist/cjs/Column3.js +55 -58
- package/dist/cjs/ConferenceArticleCard.js +23 -24
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +94 -98
- package/dist/cjs/DeckQueue.js +86 -90
- package/dist/cjs/{Dfp-80146e98.js → Dfp-ce7ac168.js} +30 -31
- package/dist/cjs/EventsDeck.js +131 -138
- package/dist/cjs/ExternalResources.js +77 -78
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +177 -181
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +58 -59
- package/dist/cjs/HamMagazine.js +131 -136
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +69 -70
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +40 -41
- package/dist/cjs/LeftNav.js +36 -38
- package/dist/cjs/MasterDeck.js +70 -71
- package/dist/cjs/MediaSeriesLanding.js +37 -39
- package/dist/cjs/NavDvm.js +75 -80
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +138 -143
- package/dist/cjs/NavNative.js +115 -123
- package/dist/cjs/NavNormal.js +48 -53
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +106 -107
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +39 -40
- package/dist/cjs/PubToc.js +16 -17
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +83 -83
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +24 -25
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SeriesListingDeck.js +38 -39
- package/dist/cjs/{SeriesSlider-8b500128.js → SeriesSlider-0a4b30a7.js} +37 -38
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +35 -36
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +57 -62
- package/dist/cjs/TaxonomyDescription.js +52 -53
- package/dist/cjs/TemplateNormal.js +72 -73
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +26 -27
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoProgramLandingPage.js +71 -75
- package/dist/cjs/VideoSeriesCard.js +31 -32
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesLandingPage.js +46 -47
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +263 -257
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +62 -63
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
- package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
- package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
- package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +13 -424
- package/dist/cjs/getRootDocGroup.js +7 -7
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-9af0ef69.js} +3 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
- package/dist/cjs/{index-33d0daca.js → index-4ec63018.js} +902 -925
- package/dist/cjs/{index-0e4427c8.js → index-8bf6c863.js} +11 -12
- package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
- package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +160 -162
- package/dist/cjs/{inherits-2eb23889.js → inherits-c9f99d47.js} +5 -5
- package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
- package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
- package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-6315ccfc.js → ADInfeed-892282a8.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-4e05a45c.js → ADlgInfeed-4cc9ead9.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +52 -52
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +322 -804
- package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-34b16174.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +19 -19
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-8bfbd310.js → Dfp-e9a07597.js} +20 -20
- package/dist/esm/EventsDeck.js +84 -84
- package/dist/esm/ExternalResources.js +71 -71
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +105 -105
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +66 -66
- 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 +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +64 -64
- package/dist/esm/MediaSeriesLanding.js +30 -30
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +91 -91
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +102 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +36 -36
- package/dist/esm/PubToc.js +13 -13
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +59 -55
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SeriesListingDeck.js +33 -33
- package/dist/esm/{SeriesSlider-00ad2992.js → SeriesSlider-f629bded.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-a2ae84d1.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +47 -47
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +61 -61
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesLandingPage.js +39 -39
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +247 -237
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -46
- package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
- package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{_set-species-494ed292.js → _set-species-3f8319f5.js} +4 -4
- package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
- package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-502f13b4.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
- package/dist/esm/{extends-31d65aba.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +13 -424
- package/dist/esm/getRootDocGroup.js +7 -7
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-2d402d66.js → getTargeting-7211f12c.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
- package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
- package/dist/esm/{index-888f9253.js → index-a9e53f80.js} +6 -6
- package/dist/esm/{index-47730283.js → index-c6e49ea4.js} +844 -860
- package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +129 -128
- package/dist/esm/{inherits-5906fbea.js → inherits-fb9b6e8f.js} +5 -5
- package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
- package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
- package/dist/esm/{typeof-e9cea9e8.js → typeof-6435ba1c.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/esm/index-db3bb315.js +0 -207
package/dist/esm/NavNative.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import React__default, { useRef, useState, useEffect } from 'react';
|
|
9
|
+
import 'prop-types';
|
|
3
10
|
import Container from 'react-bootstrap/Container';
|
|
11
|
+
import { c as main_37 } from './main-e4a934b2.js';
|
|
12
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
13
|
+
import './asyncToGenerator-502f13b4.js';
|
|
14
|
+
import './_set-species-3f8319f5.js';
|
|
15
|
+
import Segment from './Segment.js';
|
|
16
|
+
import './react-social-icons-a7d5c5c7.js';
|
|
17
|
+
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
18
|
+
import Button from 'react-bootstrap/Button';
|
|
19
|
+
import Form from 'react-bootstrap/Form';
|
|
4
20
|
import Nav from 'react-bootstrap/Nav';
|
|
5
21
|
import Navbar from 'react-bootstrap/Navbar';
|
|
6
22
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
7
|
-
import { N as NavFooter } from './NavFooter-
|
|
8
|
-
import { S as SocialNavFooter, G as GoSearch } from './index.esm-
|
|
9
|
-
import Segment from './Segment.js';
|
|
23
|
+
import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
24
|
+
import { S as SocialNavFooter, G as GoSearch } from './index.esm-fd746768.js';
|
|
10
25
|
import SocialIcons from './SocialIcons.js';
|
|
11
|
-
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
12
|
-
import Form from 'react-bootstrap/Form';
|
|
13
26
|
import FormControl from 'react-bootstrap/FormControl';
|
|
14
|
-
import Button from 'react-bootstrap/Button';
|
|
15
|
-
import { c as main_41 } from './main-1450d277.js';
|
|
16
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
|
-
import './web.dom.iterable-035980f3.js';
|
|
18
|
-
import './es6.string.iterator-aa6068a3.js';
|
|
19
|
-
import './_to-object-97770c52.js';
|
|
20
|
-
import './core.get-iterator-method-d1d5ed02.js';
|
|
21
|
-
import './react-social-icons-91f9716f.js';
|
|
22
|
-
import 'prop-types';
|
|
23
|
-
import './asyncToGenerator-2bd4099a.js';
|
|
24
|
-
import './_library-528f1934.js';
|
|
25
|
-
import './_set-species-494ed292.js';
|
|
26
|
-
import './_iter-detect-48516cd3.js';
|
|
27
27
|
|
|
28
28
|
var NavNative = function NavNative(props) {
|
|
29
29
|
/*
|
|
@@ -42,10 +42,10 @@ var NavNative = function NavNative(props) {
|
|
|
42
42
|
dataObject = props.dataObject,
|
|
43
43
|
subNav = props.subNav,
|
|
44
44
|
_props$website = props.website,
|
|
45
|
-
website = _props$website === undefined ? {} : _props$website
|
|
46
|
-
props.showLogin
|
|
47
|
-
props.userData
|
|
48
|
-
|
|
45
|
+
website = _props$website === undefined ? {} : _props$website,
|
|
46
|
+
_props$showLogin = props.showLogin,
|
|
47
|
+
_props$userData = props.userData,
|
|
48
|
+
_props$socialFooterNa = props.socialFooterNav,
|
|
49
49
|
socialFooterNav = _props$socialFooterNa === undefined ? false : _props$socialFooterNa,
|
|
50
50
|
_props$socialIconVari = props.socialIconVariant,
|
|
51
51
|
socialIconVariant = _props$socialIconVari === undefined ? 'dark' : _props$socialIconVari;
|
|
@@ -171,21 +171,21 @@ var NavNative = function NavNative(props) {
|
|
|
171
171
|
// Search Component
|
|
172
172
|
var socialSearchComponent = function socialSearchComponent(type) {
|
|
173
173
|
if (type === 'mobile') {
|
|
174
|
-
return
|
|
174
|
+
return React__default.createElement(
|
|
175
175
|
'div',
|
|
176
176
|
{ id: 'search-content-mobile' },
|
|
177
|
-
|
|
177
|
+
React__default.createElement(
|
|
178
178
|
'div',
|
|
179
179
|
{ id: 'search-bar-mobile', ref: searchRef },
|
|
180
|
-
|
|
180
|
+
React__default.createElement(
|
|
181
181
|
Form,
|
|
182
182
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
183
183
|
return submitSearch(e);
|
|
184
184
|
} },
|
|
185
|
-
|
|
185
|
+
React__default.createElement(FormControl, { placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
186
186
|
return setSearchKey(e.target.value);
|
|
187
187
|
} }),
|
|
188
|
-
|
|
188
|
+
React__default.createElement(
|
|
189
189
|
Button,
|
|
190
190
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none' }, onClick: function onClick(e) {
|
|
191
191
|
return submitSearch(e);
|
|
@@ -194,10 +194,10 @@ var NavNative = function NavNative(props) {
|
|
|
194
194
|
)
|
|
195
195
|
)
|
|
196
196
|
),
|
|
197
|
-
|
|
197
|
+
React__default.createElement(
|
|
198
198
|
IconContext.Provider,
|
|
199
199
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-mobile', size: '50px' } },
|
|
200
|
-
|
|
200
|
+
React__default.createElement(GoSearch, {
|
|
201
201
|
onClick: function onClick() {
|
|
202
202
|
var navToggle = document.getElementsByClassName('navbar-toggler')[0];
|
|
203
203
|
if (navToggle && navToggle.classList && !navToggle.classList.contains('collapsed')) {
|
|
@@ -213,52 +213,52 @@ var NavNative = function NavNative(props) {
|
|
|
213
213
|
}
|
|
214
214
|
})
|
|
215
215
|
),
|
|
216
|
-
|
|
216
|
+
React__default.createElement(
|
|
217
217
|
'style',
|
|
218
218
|
{ jsx: 'true' },
|
|
219
219
|
'\n #search-content-mobile {\n display: flex;\n }\n @media screen and (min-width: 1192px) {\n #search-content-mobile {\n display: none;\n }\n #basic-navbar-nav {\n display: flex !important;\n }\n #basic-navbar-sub {\n display: none !important;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n position: absolute;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 12px;\n cursor: pointer;\n top: 0px;\n }\n #search-content-mobile #search-bar-mobile {\n position: 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: 2%;\n padding: 1px;\n }\n .show {\n display: block !important;\n }\n .active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n '
|
|
220
220
|
)
|
|
221
221
|
);
|
|
222
222
|
} else if (type === 'desktop') {
|
|
223
|
-
return
|
|
223
|
+
return React__default.createElement(
|
|
224
224
|
'div',
|
|
225
225
|
null,
|
|
226
|
-
|
|
226
|
+
React__default.createElement(
|
|
227
227
|
'div',
|
|
228
228
|
{ id: 'search-content-desktop' },
|
|
229
|
-
|
|
229
|
+
React__default.createElement(
|
|
230
230
|
IconContext.Provider,
|
|
231
231
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-desktop', size: '50px' } },
|
|
232
|
-
|
|
232
|
+
React__default.createElement(GoSearch, {
|
|
233
233
|
onClick: function onClick() {
|
|
234
234
|
toggleClass('search-bar-desktop', 'id', 'show');
|
|
235
235
|
toggleClass('search-btn-desktop', 'class', 'active-search');
|
|
236
236
|
}
|
|
237
237
|
})
|
|
238
238
|
),
|
|
239
|
-
website && website.socialLinks && website.socialLinks.length !== 0 &&
|
|
239
|
+
website && website.socialLinks && website.socialLinks.length !== 0 && React__default.createElement(
|
|
240
240
|
'div',
|
|
241
241
|
{ id: 'social-tab-desktop', style: { display: 'flex' } },
|
|
242
|
-
website.socialLinks &&
|
|
242
|
+
website.socialLinks && React__default.createElement(SocialIcons, { socialLinks: website.socialLinks, variant: socialIconVariant })
|
|
243
243
|
),
|
|
244
|
-
|
|
244
|
+
React__default.createElement(
|
|
245
245
|
'style',
|
|
246
246
|
{ jsx: 'true' },
|
|
247
247
|
'\n #social-tab-desktops {\n position: relative;\n display: flex;\n left: 0px;\n }\n #social-tab-desktops svg {\n height: 25px !important;\n width: 25px !important;\n }\n @media screen and (max-width: 1191px) {\n #search-content-desktop {\n display: none !important;\n }\n }\n @media screen and (min-width: 1199px) {\n .mobile-nav {\n width: 100% !important;\n }\n }\n #search-content-desktop {\n display: flex;\n padding-top: 2px;\n height: 35px;\n position: relative;\n }\n .search-btn-desktop {\n padding: 5px;\n height: 35px;\n width: 35px;\n margin: -3px 0px 0px 0px;\n cursor: pointer;\n }\n #search-bar-desktop {\n display: none;\n background-color: var(--primary);\n position: fixed;\n width: 400px;\n border-radius: 5px;\n height: 48px;\n top: 105px;\n }\n #search-bar-desktop .form-inline {\n padding: 5px;\n }\n #search-bar-desktop .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n }\n #search-bar-desktop .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n padding: 7px;\n margin-left: 5px;\n }\n .show {\n display: block !important;\n }\n .active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n margin-right: 1px !important;\n }\n #basic-navbar-nav {\n margin-right: 20%;\n }\n '
|
|
248
248
|
)
|
|
249
249
|
),
|
|
250
|
-
|
|
250
|
+
React__default.createElement(
|
|
251
251
|
'div',
|
|
252
252
|
{ id: 'search-bar-desktop' },
|
|
253
|
-
|
|
253
|
+
React__default.createElement(
|
|
254
254
|
Form,
|
|
255
255
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
256
256
|
return submitSearch(e);
|
|
257
257
|
} },
|
|
258
|
-
|
|
258
|
+
React__default.createElement(FormControl, { placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
259
259
|
return setSearchKey(e.target.value);
|
|
260
260
|
} }),
|
|
261
|
-
|
|
261
|
+
React__default.createElement(
|
|
262
262
|
Button,
|
|
263
263
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none' }, onClick: function onClick(e) {
|
|
264
264
|
return submitSearch(e);
|
|
@@ -271,35 +271,35 @@ var NavNative = function NavNative(props) {
|
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
273
|
|
|
274
|
-
return
|
|
275
|
-
|
|
274
|
+
return React__default.createElement(
|
|
275
|
+
React__default.Fragment,
|
|
276
276
|
null,
|
|
277
|
-
|
|
277
|
+
React__default.createElement(
|
|
278
278
|
Navbar,
|
|
279
279
|
{
|
|
280
|
-
className:
|
|
280
|
+
className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
|
|
281
281
|
variant: 'dark',
|
|
282
282
|
expand: 'lg',
|
|
283
283
|
bg: 'primary',
|
|
284
284
|
sticky: 'top',
|
|
285
285
|
ref: navRef,
|
|
286
|
-
style: { minHeight: '65px', overflow: '' + (
|
|
287
|
-
|
|
286
|
+
style: { minHeight: '65px', overflow: '' + (main_37 ? 'auto' : '') } },
|
|
287
|
+
React__default.createElement(
|
|
288
288
|
Container,
|
|
289
289
|
{ style: { maxHeight: '80vh' }, className: 'mobile-nav' },
|
|
290
|
-
|
|
290
|
+
React__default.createElement(
|
|
291
291
|
Navbar.Brand,
|
|
292
292
|
{ id: 'nav-mobile-sm', className: 'nav-mobile-logo' },
|
|
293
|
-
|
|
293
|
+
React__default.createElement(
|
|
294
294
|
'a',
|
|
295
295
|
{ href: '/' },
|
|
296
|
-
mobileLogo && screenWidth < 1200 ?
|
|
296
|
+
mobileLogo && screenWidth < 1200 ? React__default.createElement('img', { src: mobileLogo, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '50px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' })
|
|
297
297
|
)
|
|
298
298
|
),
|
|
299
|
-
|
|
299
|
+
React__default.createElement(
|
|
300
300
|
'div',
|
|
301
301
|
{ className: 'nav-toggle', style: { width: 'auto' } },
|
|
302
|
-
|
|
302
|
+
React__default.createElement(Navbar.Toggle, {
|
|
303
303
|
'aria-controls': 'basic-navbar-nav',
|
|
304
304
|
onClick: function onClick() {
|
|
305
305
|
var searchBar = document.getElementById('search-bar-mobile');
|
|
@@ -312,46 +312,46 @@ var NavNative = function NavNative(props) {
|
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}),
|
|
315
|
-
|
|
315
|
+
React__default.createElement(
|
|
316
316
|
Navbar.Brand,
|
|
317
317
|
{ id: 'nav-mobile-md', className: 'nav-mobile-logo' },
|
|
318
|
-
|
|
318
|
+
React__default.createElement(
|
|
319
319
|
'a',
|
|
320
320
|
{ href: '/' },
|
|
321
|
-
mobileLogo && screenWidth < 1200 ?
|
|
321
|
+
mobileLogo && screenWidth < 1200 ? React__default.createElement('img', { src: mobileLogo, style: { height: '40px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '40px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' })
|
|
322
322
|
)
|
|
323
323
|
)
|
|
324
324
|
),
|
|
325
|
-
|
|
325
|
+
React__default.createElement(
|
|
326
326
|
'div',
|
|
327
327
|
{ className: 'site-logo-wrapper', style: { display: 'none' } },
|
|
328
|
-
|
|
328
|
+
React__default.createElement(
|
|
329
329
|
'a',
|
|
330
330
|
{ href: '/' },
|
|
331
|
-
|
|
331
|
+
React__default.createElement('img', { src: logo })
|
|
332
332
|
),
|
|
333
|
-
|
|
333
|
+
React__default.createElement(
|
|
334
334
|
'style',
|
|
335
335
|
{ jsx: 'true' },
|
|
336
336
|
'\n @media screen and (max-width: 1199px) {\n .site-logo-wrapper {\n display: block !important;\n margin: auto;\n margin-top: 10px;\n padding-right: 8%;\n }\n .site-logo-wrapper img {\n object-fit: contain;\n max-height: 38px;\n }\n .nav-mobile-logo {\n display: none !important;\n }\n }\n @media screen and (max-width: 767px) {\n .site-logo-wrapper {\n padding-right: 17%;\n }\n }\n @media screen and (max-width: 420px) {\n .site-logo-wrapper img {\n max-width: 200px;\n }\n }\n '
|
|
337
337
|
)
|
|
338
338
|
),
|
|
339
339
|
socialSearchComponent('mobile'),
|
|
340
|
-
subNav &&
|
|
340
|
+
subNav && React__default.createElement(
|
|
341
341
|
Navbar.Collapse,
|
|
342
342
|
{ id: 'basic-navbar-sub' },
|
|
343
|
-
|
|
343
|
+
React__default.createElement(
|
|
344
344
|
Nav,
|
|
345
345
|
{ className: 'mr-auto' },
|
|
346
346
|
subNav && subNav.map(function (row, index) {
|
|
347
347
|
if (row.subQuery && row.subQuery.length > 0) {
|
|
348
|
-
return row.name ?
|
|
348
|
+
return row.name ? React__default.createElement(
|
|
349
349
|
'div',
|
|
350
350
|
{ key: index },
|
|
351
|
-
|
|
351
|
+
React__default.createElement(
|
|
352
352
|
NavDropdown,
|
|
353
353
|
{ title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
354
|
-
row.url &&
|
|
354
|
+
row.url && React__default.createElement(
|
|
355
355
|
'a',
|
|
356
356
|
{
|
|
357
357
|
className: 'dropdownlist-expand-btn',
|
|
@@ -368,10 +368,10 @@ var NavNative = function NavNative(props) {
|
|
|
368
368
|
),
|
|
369
369
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
370
370
|
if (ddRow.type === 'divider') {
|
|
371
|
-
return
|
|
371
|
+
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
372
372
|
} else {
|
|
373
373
|
if (ddRow.url && ddRow.name) {
|
|
374
|
-
return ddRow.url && ddRow.name ?
|
|
374
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
375
375
|
'a',
|
|
376
376
|
{
|
|
377
377
|
key: subIndex,
|
|
@@ -385,18 +385,18 @@ var NavNative = function NavNative(props) {
|
|
|
385
385
|
}
|
|
386
386
|
})
|
|
387
387
|
),
|
|
388
|
-
|
|
388
|
+
React__default.createElement(
|
|
389
389
|
'noscript',
|
|
390
390
|
null,
|
|
391
|
-
|
|
391
|
+
React__default.createElement(
|
|
392
392
|
'div',
|
|
393
393
|
null,
|
|
394
394
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
395
395
|
if (ddRow.type === 'divider') {
|
|
396
|
-
return
|
|
396
|
+
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
397
397
|
} else {
|
|
398
398
|
if (ddRow.url && ddRow.name) {
|
|
399
|
-
return ddRow.url && ddRow.name ?
|
|
399
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
400
400
|
'a',
|
|
401
401
|
{
|
|
402
402
|
key: subIndex,
|
|
@@ -413,7 +413,7 @@ var NavNative = function NavNative(props) {
|
|
|
413
413
|
)
|
|
414
414
|
) : null;
|
|
415
415
|
} else {
|
|
416
|
-
return row.url && row.name ?
|
|
416
|
+
return row.url && row.name ? React__default.createElement(
|
|
417
417
|
'a',
|
|
418
418
|
{ key: index, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', href: ddRow.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
419
419
|
row.name
|
|
@@ -422,28 +422,28 @@ var NavNative = function NavNative(props) {
|
|
|
422
422
|
})
|
|
423
423
|
)
|
|
424
424
|
),
|
|
425
|
-
|
|
425
|
+
React__default.createElement(
|
|
426
426
|
Navbar.Collapse,
|
|
427
427
|
{ id: 'basic-navbar-nav' },
|
|
428
|
-
|
|
428
|
+
React__default.createElement(
|
|
429
429
|
Nav,
|
|
430
430
|
{ className: 'mr-auto' },
|
|
431
431
|
dataObject && dataObject.map(function (row, index) {
|
|
432
432
|
if (row.subQuery && row.subQuery.length > 0) {
|
|
433
|
-
return row.name ?
|
|
433
|
+
return row.name ? React__default.createElement(
|
|
434
434
|
'div',
|
|
435
435
|
{ key: 'subnav-' + index },
|
|
436
|
-
|
|
436
|
+
React__default.createElement(
|
|
437
437
|
NavDropdown,
|
|
438
438
|
{ key: index, title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
439
439
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
440
440
|
if (ddRow.type === 'divider') {
|
|
441
|
-
return
|
|
441
|
+
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
442
442
|
} else {
|
|
443
|
-
return ddRow.url && ddRow.name ?
|
|
443
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
444
444
|
Nav.Item,
|
|
445
445
|
null,
|
|
446
|
-
|
|
446
|
+
React__default.createElement(
|
|
447
447
|
Nav.Link,
|
|
448
448
|
{
|
|
449
449
|
key: subIndex,
|
|
@@ -457,17 +457,17 @@ var NavNative = function NavNative(props) {
|
|
|
457
457
|
}
|
|
458
458
|
})
|
|
459
459
|
),
|
|
460
|
-
|
|
460
|
+
React__default.createElement(
|
|
461
461
|
'noscript',
|
|
462
462
|
null,
|
|
463
|
-
|
|
463
|
+
React__default.createElement(
|
|
464
464
|
'div',
|
|
465
465
|
null,
|
|
466
466
|
row.subQuery && row.subQuery.map(function (ddRow, subIndex) {
|
|
467
467
|
if (ddRow.type === 'divider') {
|
|
468
|
-
return
|
|
468
|
+
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
469
469
|
} else {
|
|
470
|
-
return ddRow.url && ddRow.name ?
|
|
470
|
+
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
471
471
|
'a',
|
|
472
472
|
{
|
|
473
473
|
key: subIndex,
|
|
@@ -483,7 +483,7 @@ var NavNative = function NavNative(props) {
|
|
|
483
483
|
)
|
|
484
484
|
) : null;
|
|
485
485
|
} else {
|
|
486
|
-
return row.url && row.name ?
|
|
486
|
+
return row.url && row.name ? React__default.createElement(
|
|
487
487
|
'a',
|
|
488
488
|
{ key: index, needsegmentsupport: row.needSegmentSupport ? 'true' : '', href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
489
489
|
row.name
|
|
@@ -492,28 +492,28 @@ var NavNative = function NavNative(props) {
|
|
|
492
492
|
})
|
|
493
493
|
)
|
|
494
494
|
),
|
|
495
|
-
website &&
|
|
495
|
+
website && React__default.createElement(
|
|
496
496
|
Navbar.Collapse,
|
|
497
497
|
{ id: 'basic-navbar-sub' },
|
|
498
|
-
|
|
498
|
+
React__default.createElement(
|
|
499
499
|
Nav,
|
|
500
500
|
{ className: 'mr-auto' },
|
|
501
|
-
socialFooterNav ?
|
|
501
|
+
socialFooterNav ? React__default.createElement(SocialNavFooter, { website: website }) : React__default.createElement(NavFooter, { website: website })
|
|
502
502
|
)
|
|
503
503
|
),
|
|
504
504
|
socialSearchComponent('desktop')
|
|
505
505
|
)
|
|
506
506
|
),
|
|
507
|
-
|
|
507
|
+
React__default.createElement(
|
|
508
508
|
'noscript',
|
|
509
509
|
null,
|
|
510
|
-
|
|
510
|
+
React__default.createElement(
|
|
511
511
|
'style',
|
|
512
512
|
{ jsx: 'true' },
|
|
513
513
|
'\n .navbar .collapse {\n display: block;\n }\n '
|
|
514
514
|
)
|
|
515
515
|
),
|
|
516
|
-
|
|
516
|
+
React__default.createElement(
|
|
517
517
|
'style',
|
|
518
518
|
{ jsx: 'true' },
|
|
519
519
|
'\n .sticky-home {\n position: relative;\n top: -3px;\n left: -6px;\n cursor: pointer;\n }\n .nav-item svg {\n margin-bottom: 2px;\n }\n #nav-login,\n #nav-logout,\n #nav-register {\n padding: 0.5rem;\n cursor: pointer;\n }\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: none;\n }\n #nav-mobile-logout,\n #nav-mobile-login {\n position: absolute;\n right: 1rem;\n }\n #nav-mobile-register {\n position: absolute;\n left: 1rem;\n }\n #nav-mobile-sm {\n display: none;\n }\n @media screen and (max-width: 1192px) {\n .mobile-nav .nav-toggle {\n display: flex;\n justify-content: space-between;\n }\n .nav-mobile-logo {\n margin-left: 1.5rem;\n }\n #nav-mobile-md {\n margin-right: auto;\n }\n .nav-mobile-logo img {\n height: 48px !important;\n }\n .nav-mobile-logo img {\n height: 38px !important;\n }\n .ios-nav {\n max-height: none;\n }\n .mobile-nav .nav-toggle .navbar-toggler {\n float: left;\n height: 45px;\n }\n .mobile-nav .nav-toggle .form-inline {\n float: right;\n margin: 4px 0px 0px 0px;\n }\n .mobile-nav .form-inline .mobile-search {\n width: auto;\n }\n .sticky-home {\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: 10px;\n border-bottom: 0.5px solid white;\n }\n .navbar .mobile-nav .navbar-collapse .form-inline {\n display: none;\n }\n .navbar .mobile-nav .navbar-collapse {\n margin-top: 15px;\n padding-left: 0.5rem;\n }\n .navbar .mobile-nav .navbar-collapse:last-child {\n border-bottom: none;\n margin-bottom: 0px;\n padding-bottom: 0px;\n margin-top: 0px;\n padding-top: 10px;\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 /* To break text into next line */\n white-space: inherit !important;\n margin-bottom: 0.25rem;\n padding: .25rem .5rem;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: inherit;\n border: none;\n direction: rtl;\n }\n }\n @media screen and (max-width: 1199px) {\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: block;\n }\n .navbar-top {\n flex-direction: row;\n justify-content: space-around !important;\n align-items: center;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n width: 100%;\n }\n }\n @media screen and (min-width: 1200px) {\n #basic-navbar-nav .navbar-nav {\n position: fixed !important;\n }\n #search-content-mobile {\n position: absolute;\n right: 4%;\n top: 10%;\n }\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 .mobile-nav .nav-toggle .form-inline {\n display: none;\n }\n }\n @media screen and (max-width: 376px) {\n .mobile-nav .nav-toggle .form-inline .mobile-search {\n width: 60%;\n }\n .mobile-nav .nav-toggle .form-inline {\n flex: 1 1 auto;\n margin-left: 0.25rem;\n }\n }\n @media screen and (max-width: 328px) {\n .mobile-nav .nav-toggle .form-inline .mobile-search {\n margin-right: 5px;\n }\n }\n @media screen and (max-width: 767px) {\n #nav-mobile-md {\n display: none;\n }\n #nav-mobile-sm {\n display: inline-block;\n margin: 0 auto 0.5rem;\n }\n .nav-toggle {\n margin: 0.5rem 0;\n padding: 0 0.5rem;\n }\n }\n '
|
package/dist/esm/NavNormal.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
2
9
|
import Container from 'react-bootstrap/Container';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { M as MdEmail, a as MdMouse } from './index.esm-d6f88d94.js';
|
|
7
|
-
import Search from './Search.js';
|
|
10
|
+
import './slicedToArray-641f241f.js';
|
|
11
|
+
import './asyncToGenerator-502f13b4.js';
|
|
12
|
+
import './_set-species-3f8319f5.js';
|
|
8
13
|
import Segment from './Segment.js';
|
|
9
14
|
import './iconBase-602d52fe.js';
|
|
10
|
-
import '
|
|
11
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
-
import './web.dom.iterable-035980f3.js';
|
|
13
|
-
import './es6.string.iterator-aa6068a3.js';
|
|
14
|
-
import './_to-object-97770c52.js';
|
|
15
|
-
import './core.get-iterator-method-d1d5ed02.js';
|
|
15
|
+
import 'react-bootstrap/Button';
|
|
16
16
|
import 'react-bootstrap/Form';
|
|
17
|
+
import Nav from 'react-bootstrap/Nav';
|
|
18
|
+
import Navbar from 'react-bootstrap/Navbar';
|
|
19
|
+
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
20
|
+
import { M as MdEmail, a as MdMouse } from './index.esm-b08f4b04.js';
|
|
17
21
|
import 'react-bootstrap/FormControl';
|
|
18
|
-
import '
|
|
19
|
-
import './asyncToGenerator-2bd4099a.js';
|
|
20
|
-
import './_library-528f1934.js';
|
|
21
|
-
import './_set-species-494ed292.js';
|
|
22
|
-
import './_iter-detect-48516cd3.js';
|
|
22
|
+
import Search from './Search.js';
|
|
23
23
|
|
|
24
24
|
var NavNormal = function NavNormal(props) {
|
|
25
25
|
var logo = props.logo,
|
|
@@ -43,50 +43,50 @@ var NavNormal = function NavNormal(props) {
|
|
|
43
43
|
}, 1000);
|
|
44
44
|
}, []);
|
|
45
45
|
|
|
46
|
-
return
|
|
46
|
+
return React__default.createElement(
|
|
47
47
|
'section',
|
|
48
48
|
{ ref: ref },
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
Navbar,
|
|
51
51
|
{ expand: 'lg' },
|
|
52
|
-
|
|
52
|
+
React__default.createElement(
|
|
53
53
|
Container,
|
|
54
54
|
null,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
React__default.createElement('img', { src: logo, style: { height: '50px' }, alt: website.title ? website.title : website.name ? website.name : 'Website Logo' }),
|
|
56
|
+
React__default.createElement(
|
|
57
57
|
'div',
|
|
58
58
|
null,
|
|
59
|
-
|
|
59
|
+
React__default.createElement(MdEmail, null),
|
|
60
60
|
' Subscribe',
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
React__default.createElement('br', null),
|
|
62
|
+
React__default.createElement(MdMouse, null),
|
|
63
63
|
' Login'
|
|
64
64
|
)
|
|
65
65
|
)
|
|
66
66
|
),
|
|
67
|
-
|
|
67
|
+
React__default.createElement(
|
|
68
68
|
Navbar,
|
|
69
69
|
{ variant: 'dark', expand: 'lg', bg: 'primary' },
|
|
70
|
-
|
|
70
|
+
React__default.createElement(
|
|
71
71
|
Container,
|
|
72
72
|
null,
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
React__default.createElement(Navbar.Toggle, { 'aria-controls': 'basic-navbar-nav' }),
|
|
74
|
+
React__default.createElement(
|
|
75
75
|
Navbar.Collapse,
|
|
76
76
|
{ id: 'basic-navbar-nav' },
|
|
77
|
-
|
|
77
|
+
React__default.createElement(
|
|
78
78
|
Nav,
|
|
79
79
|
{ className: 'mr-auto' },
|
|
80
80
|
dataObject && dataObject.map(function (row) {
|
|
81
81
|
if (row.type === 'dropdown') {
|
|
82
|
-
return
|
|
82
|
+
return React__default.createElement(
|
|
83
83
|
NavDropdown,
|
|
84
84
|
{ title: row.name, id: 'basic-nav-dropdown', renderMenuOnMount: true },
|
|
85
85
|
row.dropdown && row.dropdown.map(function (ddRow, ddItems) {
|
|
86
86
|
if (ddRow.type === 'divider') {
|
|
87
|
-
return
|
|
87
|
+
return React__default.createElement(NavDropdown.Divider, null);
|
|
88
88
|
} else {
|
|
89
|
-
return
|
|
89
|
+
return React__default.createElement(
|
|
90
90
|
NavDropdown.Item,
|
|
91
91
|
{ href: ddRow.url, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', target: ddRow.blank ? '_blank' : '_self' },
|
|
92
92
|
ddRow.name
|
|
@@ -96,7 +96,7 @@ var NavNormal = function NavNormal(props) {
|
|
|
96
96
|
);
|
|
97
97
|
} else {
|
|
98
98
|
// Link default
|
|
99
|
-
return
|
|
99
|
+
return React__default.createElement(
|
|
100
100
|
Nav.Link,
|
|
101
101
|
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: row.blank ? '_blank' : '_self' },
|
|
102
102
|
row.name
|
|
@@ -105,10 +105,10 @@ var NavNormal = function NavNormal(props) {
|
|
|
105
105
|
})
|
|
106
106
|
)
|
|
107
107
|
),
|
|
108
|
-
|
|
108
|
+
React__default.createElement(Search, null)
|
|
109
109
|
)
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React__default.createElement(
|
|
112
112
|
'style',
|
|
113
113
|
{ jsx: 'true' },
|
|
114
114
|
'\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 '
|
package/dist/esm/OncliveHero.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
3
|
-
import 'react-bootstrap/Badge';
|
|
4
|
-
import './iconBase-602d52fe.js';
|
|
5
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
5
|
+
import './iconBase-602d52fe.js';
|
|
6
|
+
import 'react-bootstrap/Badge';
|
|
7
|
+
import './index.esm-cf08bf18.js';
|
|
7
8
|
|
|
8
9
|
var OncliveHero = function OncliveHero(props) {
|
|
9
10
|
var client = props.client;
|
|
@@ -12,7 +13,7 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
12
13
|
function urlFor(source) {
|
|
13
14
|
return builder.image(source).auto('format');
|
|
14
15
|
}
|
|
15
|
-
return
|
|
16
|
+
return React__default.createElement(
|
|
16
17
|
'div',
|
|
17
18
|
{ className: 'article-group--container' },
|
|
18
19
|
props.dataRecord.map(function (article, index) {
|
|
@@ -24,35 +25,35 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
24
25
|
} else if (props.thumbnail) {
|
|
25
26
|
articleThumbnail = props.thumbnail;
|
|
26
27
|
}
|
|
27
|
-
return
|
|
28
|
+
return React__default.createElement(
|
|
28
29
|
'a',
|
|
29
30
|
{ key: index, href: '/view/' + article.url.current, className: 'article-group' },
|
|
30
|
-
|
|
31
|
+
React__default.createElement(
|
|
31
32
|
'figure',
|
|
32
33
|
null,
|
|
33
|
-
|
|
34
|
+
React__default.createElement('img', { src: articleThumbnail, alt: articleAltText })
|
|
34
35
|
),
|
|
35
|
-
|
|
36
|
+
React__default.createElement(
|
|
36
37
|
'div',
|
|
37
38
|
{ className: 'article-group--body' },
|
|
38
|
-
|
|
39
|
+
React__default.createElement(
|
|
39
40
|
'h2',
|
|
40
41
|
null,
|
|
41
42
|
article.title
|
|
42
43
|
),
|
|
43
|
-
|
|
44
|
+
React__default.createElement('div', null),
|
|
44
45
|
moment(article.published).format('MMMM Do YYYY, h:mma'),
|
|
45
|
-
article.authorMapping && article.authorMapping[0] && article.authorMapping[0].displayName &&
|
|
46
|
+
article.authorMapping && article.authorMapping[0] && article.authorMapping[0].displayName && React__default.createElement(
|
|
46
47
|
'p',
|
|
47
48
|
{ className: 'mb-2' },
|
|
48
49
|
'By ',
|
|
49
|
-
|
|
50
|
+
React__default.createElement(
|
|
50
51
|
'b',
|
|
51
52
|
null,
|
|
52
53
|
article.authorMapping[0].displayName
|
|
53
54
|
)
|
|
54
55
|
),
|
|
55
|
-
|
|
56
|
+
React__default.createElement(
|
|
56
57
|
'p',
|
|
57
58
|
{ className: 'article-group--summary' },
|
|
58
59
|
article.summary
|
|
@@ -60,7 +61,7 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
60
61
|
)
|
|
61
62
|
);
|
|
62
63
|
}),
|
|
63
|
-
|
|
64
|
+
React__default.createElement(
|
|
64
65
|
'style',
|
|
65
66
|
{ jsx: 'true' },
|
|
66
67
|
'\n .article-group--container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n }\n .article-group--container * {\n transition: all 0.13s ease;\n }\n .article-group {\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0.5rem 1rem;\n width: calc(50% - 2rem);\n background: #fff;\n min-width: 320px;\n transition: all 0.1s ease-out;\n border-top: 1px solid #eee;\n position: relative;\n overflow: hidden;\n }\n\n .article-group:nth-of-type(1) {\n width: 100%;\n }\n .article-group:nth-of-type(1) .article-group--body {\n }\n .article-group:nth-of-type(1) figure img {\n width: 225px;\n }\n .article-group:nth-of-type(1) .article-group--body h2 {\n font-size: 1.4rem;\n }\n .article-group:nth-of-type(1) .article-group--summary {\n display: block;\n }\n @media screen and (max-width: 1091px) {\n .article-group:nth-of-type(1) {\n width: 100%;\n }\n .article-group:nth-of-type(1) .article-group--summary {\n display: none;\n }\n .article-group:nth-of-type(1) figure img {\n width: 130px;\n }\n .article-group:nth-of-type(1) .article-group--body h2 {\n font-size: 1rem;\n }\n }\n .article-group figure {\n margin-bottom: 0;\n }\n .article-group figure img {\n height: 100%;\n width: 130px;\n object-fit: contain;\n }\n\n .article-group--body {\n padding-left: 1rem;\n }\n .article-group--body p {\n font-size: 0.9rem;\n }\n .article-group--body h2 {\n font-weight: bold;\n margin-top: 1rem;\n font-size: 1rem;\n padding-right: 0.5rem;\n }\n .article-group--summary {\n font-size: 1rem;\n display: none;\n }\n '
|