@mjhls/mjh-framework 1.0.760-page-refresh → 1.0.761-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 +167 -167
- 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-67ba5ac4.js → ADInfeed-673f0acd.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-42534448.js → ADlgInfeed-f60a46a9.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 +37 -38
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +102 -106
- package/dist/cjs/DeckQueue.js +86 -90
- package/dist/cjs/{Dfp-80146e98.js → Dfp-ce7ac168.js} +30 -31
- package/dist/cjs/EventsDeck.js +148 -155
- 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 +140 -145
- 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 +69 -70
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +36 -38
- package/dist/cjs/MasterDeck.js +78 -79
- package/dist/cjs/NavDvm.js +75 -80
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +148 -153
- package/dist/cjs/NavNative.js +124 -132
- 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 +108 -112
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +52 -53
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -38
- 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 +32 -33
- 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 +240 -243
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +66 -67
- 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-963303c6.js → getTargeting-9af0ef69.js} +12 -12
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-9e0ebc87.js → index-07135d95.js} +902 -925
- package/dist/cjs/{index-cb6ed1fc.js → index-3294d3bc.js} +18 -17
- 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 +159 -161
- 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-d1e9b645.js → ADInfeed-ab5fbe8c.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-f6128af4.js → ADlgInfeed-65549e1a.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 +33 -33
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-8bfbd310.js → Dfp-e9a07597.js} +20 -20
- package/dist/esm/EventsDeck.js +101 -101
- 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 +114 -114
- 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 +66 -66
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +72 -72
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +100 -100
- 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 +84 -84
- 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-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 +25 -25
- 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 +224 -223
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +50 -50
- 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-85315091.js → getTargeting-7211f12c.js} +11 -11
- 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-98643e12.js → index-a3ef3404.js} +844 -860
- package/dist/esm/{index-888f9253.js → index-a9e53f80.js} +6 -6
- package/dist/esm/{index-750a7380.js → index-ef6d5dcf.js} +18 -17
- 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 +128 -127
- 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 +107 -107
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/esm/index-db3bb315.js +0 -207
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { G as GoSearch } from './index.esm-8016b507.js';
|
|
1
|
+
import React__default, { useState, useRef, useEffect } from 'react';
|
|
2
|
+
import { f as main_30, c as main_37 } from './main-e4a934b2.js';
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
5
4
|
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';
|
|
7
9
|
import FormControl from 'react-bootstrap/FormControl';
|
|
8
|
-
import Button from 'react-bootstrap/Button';
|
|
9
|
-
import { f as main_31, c as main_41 } from './main-1450d277.js';
|
|
10
10
|
|
|
11
11
|
var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
12
12
|
var type = _ref.type,
|
|
@@ -40,7 +40,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
40
40
|
var mastNav = document.querySelector('.nav-brands');
|
|
41
41
|
var topOffset = 0;
|
|
42
42
|
// Checking for non-IOS devices before setting the offset position.
|
|
43
|
-
if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !
|
|
43
|
+
if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !main_30) topOffset = topOffset + mastNav.offsetHeight;
|
|
44
44
|
if (navWrapper && navWrapper.offsetHeight) topOffset = topOffset + navWrapper.offsetHeight;
|
|
45
45
|
setTopOffset(topOffset + 2);
|
|
46
46
|
|
|
@@ -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_37 || window.innerWidth < 1200 && main_30) {
|
|
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_37 || window.innerWidth < 1200 && main_30) {
|
|
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__default.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ id: 'search-content-desktop', ref: desktopComponent, style: { display: 'flex' } },
|
|
91
|
-
|
|
91
|
+
React__default.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ id: 'search-bar-desktop', style: { top: topOffset, right: rightOffset } },
|
|
94
|
-
|
|
94
|
+
React__default.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__default.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__default.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__default.createElement(
|
|
112
112
|
IconContext.Provider,
|
|
113
113
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-desktop', size: '35px' } },
|
|
114
|
-
|
|
114
|
+
React__default.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__default.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__default.createElement(SocialIcons, { socialLinks: website.socialLinks, variant: socialIconVariant })
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React__default.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__default.createElement(
|
|
136
136
|
'div',
|
|
137
137
|
{ id: 'search-content-mobile', ref: mobileComponent },
|
|
138
|
-
|
|
138
|
+
React__default.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ id: 'search-bar-mobile', style: { top: topOffset } },
|
|
141
|
-
|
|
141
|
+
React__default.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__default.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__default.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__default.createElement(
|
|
159
159
|
IconContext.Provider,
|
|
160
160
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-mobile', size: '35px' } },
|
|
161
|
-
|
|
161
|
+
React__default.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,10 +174,10 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
174
174
|
}
|
|
175
175
|
})
|
|
176
176
|
),
|
|
177
|
-
|
|
177
|
+
React__default.createElement(
|
|
178
178
|
'style',
|
|
179
179
|
{ jsx: 'true' },
|
|
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: ' + (
|
|
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_30 ? '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 '
|
|
181
181
|
)
|
|
182
182
|
);
|
|
183
183
|
};
|
package/dist/esm/SocialShare.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default 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__default.createElement(
|
|
21
|
+
React__default.Fragment,
|
|
22
22
|
null,
|
|
23
|
-
!disableMeta &&
|
|
23
|
+
!disableMeta && React__default.createElement(
|
|
24
24
|
Head,
|
|
25
25
|
null,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
React__default.createElement('meta', { property: 'og:url', content: shareUrl, key: 'og:url' }),
|
|
27
|
+
React__default.createElement('meta', { property: 'og:title', content: shareTitle, key: 'og:title' }),
|
|
28
|
+
React__default.createElement('meta', { property: 'og:image', content: shareImage, key: 'og:image' }),
|
|
29
|
+
React__default.createElement('meta', { property: 'og:site_name', content: siteName, key: 'og:site_name' }),
|
|
30
|
+
React__default.createElement('meta', { property: 'og:description', content: shareSummary, key: 'og:description' }),
|
|
31
|
+
React__default.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'og:card' }),
|
|
32
|
+
React__default.createElement('meta', { name: 'twitter:title', content: shareTitle, key: 'og:title' }),
|
|
33
|
+
React__default.createElement('meta', { name: 'twitter:image', content: shareImage, key: 'og:image' }),
|
|
34
|
+
React__default.createElement('meta', { name: 'twitter:site', content: twitterSiteName, key: 'og:site' }),
|
|
35
|
+
React__default.createElement('meta', { name: 'twitter:description', content: shareSummary, key: 'og:description' })
|
|
36
36
|
),
|
|
37
|
-
!hideFacebook &&
|
|
37
|
+
!hideFacebook && React__default.createElement(
|
|
38
38
|
FacebookShareButton,
|
|
39
39
|
{ url: shareUrl, quote: shareTitle },
|
|
40
|
-
|
|
40
|
+
React__default.createElement(FacebookIcon, { size: size, round: true })
|
|
41
41
|
),
|
|
42
|
-
|
|
42
|
+
React__default.createElement(
|
|
43
43
|
TwitterShareButton,
|
|
44
44
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
45
|
-
|
|
45
|
+
React__default.createElement(TwitterIcon, { size: size, round: true })
|
|
46
46
|
),
|
|
47
|
-
|
|
47
|
+
React__default.createElement(
|
|
48
48
|
LinkedinShareButton,
|
|
49
49
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
50
|
-
|
|
50
|
+
React__default.createElement(LinkedinIcon, { size: size, round: true })
|
|
51
51
|
),
|
|
52
|
-
!hidePinterest &&
|
|
52
|
+
!hidePinterest && React__default.createElement(
|
|
53
53
|
PinterestShareButton,
|
|
54
54
|
{ url: shareUrl, media: shareImage, description: shareSummary },
|
|
55
|
-
|
|
55
|
+
React__default.createElement(PinterestIcon, { size: size, round: true })
|
|
56
56
|
),
|
|
57
|
-
|
|
57
|
+
React__default.createElement(
|
|
58
58
|
EmailShareButton,
|
|
59
59
|
{ url: shareUrl, subject: shareSubject, body: shareSummary },
|
|
60
|
-
|
|
60
|
+
React__default.createElement(EmailIcon, { size: size, round: true })
|
|
61
61
|
)
|
|
62
62
|
);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
var SocialShare$1 =
|
|
65
|
+
var SocialShare$1 = React__default.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
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './_object-pie-33c40e79.js';
|
|
4
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
5
|
+
import React__default from 'react';
|
|
6
|
+
import 'prop-types';
|
|
4
7
|
import Container from 'react-bootstrap/Container';
|
|
5
8
|
import Row from 'react-bootstrap/Row';
|
|
6
9
|
import Col from 'react-bootstrap/Col';
|
|
7
10
|
import Card from 'react-bootstrap/Card';
|
|
8
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.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-97770c52.js';
|
|
13
|
-
import './_object-pie-33c40e79.js';
|
|
14
|
-
import 'prop-types';
|
|
15
11
|
import 'react-dom';
|
|
12
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
13
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
14
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.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__default.createElement(
|
|
50
50
|
'div',
|
|
51
51
|
{ className: 'contentDeck' },
|
|
52
|
-
|
|
52
|
+
React__default.createElement(
|
|
53
53
|
Container,
|
|
54
54
|
null,
|
|
55
|
-
|
|
55
|
+
React__default.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__default.createElement(
|
|
95
95
|
Col,
|
|
96
96
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
97
|
-
|
|
97
|
+
React__default.createElement(
|
|
98
98
|
Card,
|
|
99
99
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
100
|
-
|
|
100
|
+
React__default.createElement(
|
|
101
101
|
Card.Body,
|
|
102
102
|
null,
|
|
103
|
-
|
|
103
|
+
React__default.createElement(
|
|
104
104
|
Row,
|
|
105
105
|
null,
|
|
106
|
-
thumbnailURL &&
|
|
106
|
+
thumbnailURL && React__default.createElement(
|
|
107
107
|
Col,
|
|
108
108
|
null,
|
|
109
|
-
|
|
109
|
+
React__default.createElement(
|
|
110
110
|
LazyLoad,
|
|
111
111
|
{ height: imageHeight },
|
|
112
|
-
row && row.thumbnail &&
|
|
112
|
+
row && row.thumbnail && React__default.createElement(
|
|
113
113
|
'figure',
|
|
114
114
|
null,
|
|
115
|
-
row.thumbnail.link ?
|
|
115
|
+
row.thumbnail.link ? React__default.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__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
119
|
+
) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
120
|
+
row && row.thumbnail && row.thumbnail.caption && React__default.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__default.createElement(
|
|
129
129
|
Col,
|
|
130
130
|
null,
|
|
131
|
-
|
|
131
|
+
React__default.createElement(
|
|
132
132
|
Row,
|
|
133
133
|
{ className: 'details-content-wrapper' },
|
|
134
|
-
|
|
134
|
+
React__default.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__default.createElement(
|
|
138
138
|
'div',
|
|
139
139
|
{ className: 'details-wrapper' },
|
|
140
|
-
companyDetails && companyDetails.length > 0 &&
|
|
140
|
+
companyDetails && companyDetails.length > 0 && React__default.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__default.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__default.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__default.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__default.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__default.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__default.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__default.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__default.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__default.createElement(
|
|
207
207
|
Card.Text,
|
|
208
208
|
null,
|
|
209
|
-
|
|
209
|
+
React__default.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__default.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__default.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,55 +1,55 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-31d65aba.js';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { useRouter } from 'next/router';
|
|
5
|
-
import Head from 'next/head';
|
|
6
|
-
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
7
|
-
import { g as getSerializers } from './index-98643e12.js';
|
|
8
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './web.dom.iterable-035980f3.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
12
4
|
import './_library-528f1934.js';
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
16
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends, a as _Object$assign } from './extends-eb69e8ac.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-fb9b6e8f.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-6435ba1c.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React__default from 'react';
|
|
17
|
+
import './index-a9e53f80.js';
|
|
17
18
|
import 'prop-types';
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import './Beam.js';
|
|
25
|
-
import './stringify-d4839bab.js';
|
|
26
|
-
import './Segment.js';
|
|
27
|
-
import './main-1450d277.js';
|
|
28
|
-
import './index-752d1dae.js';
|
|
19
|
+
import 'react-bootstrap/Row';
|
|
20
|
+
import 'react-bootstrap/Col';
|
|
21
|
+
import './moment-e2f9b20c.js';
|
|
22
|
+
import { useRouter } from 'next/router';
|
|
23
|
+
import './isSymbol-807e927e.js';
|
|
24
|
+
import './debounce-1a993acf.js';
|
|
29
25
|
import 'react-dom';
|
|
30
|
-
import './
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
26
|
+
import './index-73819142.js';
|
|
27
|
+
import './index-5f9f807a.js';
|
|
28
|
+
import './main-e4a934b2.js';
|
|
29
|
+
import './entities-7cc3bf45.js';
|
|
30
|
+
import './slicedToArray-641f241f.js';
|
|
31
|
+
import './stringify-4330ccdc.js';
|
|
32
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-502f13b4.js';
|
|
33
|
+
import './_set-species-3f8319f5.js';
|
|
34
|
+
import './Segment.js';
|
|
35
|
+
import './Beam.js';
|
|
36
|
+
import './AdSlot.js';
|
|
37
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
38
|
+
import './index-c7e2ac95.js';
|
|
39
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
33
40
|
import './GroupDeck.js';
|
|
34
|
-
import '
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
41
|
+
import 'react-bootstrap';
|
|
42
|
+
import './iconBase-602d52fe.js';
|
|
43
|
+
import './index.esm-29e48d38.js';
|
|
44
|
+
import { g as getSerializers } from './index-a3ef3404.js';
|
|
45
|
+
import './util-7700fc59.js';
|
|
46
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
47
|
+
import Head from 'next/head';
|
|
37
48
|
import 'react-share';
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
49
|
+
import './SocialShare.js';
|
|
50
|
+
import './_object-to-array-7e804fce.js';
|
|
40
51
|
import 'react-bootstrap/Pagination';
|
|
41
52
|
import 'react-bootstrap/Button';
|
|
42
|
-
import './entities-932b50cf.js';
|
|
43
|
-
import './AdSlot.js';
|
|
44
|
-
import './debounce-1a993acf.js';
|
|
45
|
-
import './isSymbol-807e927e.js';
|
|
46
|
-
import 'react-bootstrap/Row';
|
|
47
|
-
import 'react-bootstrap/Col';
|
|
48
|
-
import './inherits-5906fbea.js';
|
|
49
|
-
import './_object-sap-fd3054d0.js';
|
|
50
|
-
import './define-property-ec6d528d.js';
|
|
51
|
-
import './index.esm-3fdda599.js';
|
|
52
|
-
import './iconBase-602d52fe.js';
|
|
53
53
|
import 'react-bootstrap/Figure';
|
|
54
54
|
|
|
55
55
|
var _this = undefined;
|
|
@@ -89,10 +89,10 @@ var setMetaDescription = function setMetaDescription(data, router) {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
return
|
|
92
|
+
return React__default.createElement(
|
|
93
93
|
Head,
|
|
94
94
|
null,
|
|
95
|
-
|
|
95
|
+
React__default.createElement('meta', { name: 'description', content: metaDescription, key: 'description' })
|
|
96
96
|
);
|
|
97
97
|
};
|
|
98
98
|
|
|
@@ -101,11 +101,11 @@ var TaxonomyDescription = function TaxonomyDescription(_ref) {
|
|
|
101
101
|
client = _ref.client;
|
|
102
102
|
|
|
103
103
|
var router = useRouter();
|
|
104
|
-
return data && data.length > 0 &&
|
|
104
|
+
return data && data.length > 0 && React__default.createElement(
|
|
105
105
|
'section',
|
|
106
106
|
{ className: 'taxonomy-description' },
|
|
107
107
|
setMetaDescription(data, router),
|
|
108
|
-
|
|
108
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: data, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
109
109
|
);
|
|
110
110
|
};
|
|
111
111
|
|