@mjhls/mjh-framework 1.0.883-mwn-test-v4 → 1.0.883
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/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 +30 -31
- package/dist/cjs/ADFooter.js +12 -13
- package/dist/cjs/ADGutter.js +30 -31
- package/dist/cjs/{ADInfeed-bce0ba07.js → ADInfeed-4f661172.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +30 -31
- package/dist/cjs/ADSponsoredResources.js +30 -31
- package/dist/cjs/ADWebcast.js +30 -31
- package/dist/cjs/ADWelcome.js +31 -32
- package/dist/cjs/{ADlgInfeed-950b414b.js → ADlgInfeed-6242e5b5.js} +10 -11
- package/dist/cjs/AccordionPanel.js +27 -29
- package/dist/cjs/AdSlot.js +31 -32
- package/dist/cjs/AdSlotsProvider.js +15 -17
- package/dist/cjs/AlgoliaSearch.js +1103 -1160
- package/dist/cjs/AlphabeticList.js +23 -24
- package/dist/cjs/ArticleCarousel.js +19 -20
- package/dist/cjs/ArticleProgramLandingPage.js +60 -61
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +59 -60
- package/dist/cjs/Auth.js +283 -287
- package/dist/cjs/AuthWrapper.js +148 -59
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-421d5ec1.js} +13 -14
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-bac780ac.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +25 -27
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +31 -34
- package/dist/cjs/Column3.js +56 -59
- package/dist/cjs/ConferenceArticleCard.js +25 -26
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +92 -96
- package/dist/cjs/DeckQueue.js +86 -90
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-ab12cd55.js} +34 -35
- package/dist/cjs/EventsDeck.js +133 -140
- package/dist/cjs/ExternalResources.js +78 -79
- package/dist/cjs/Feature.js +26 -28
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +231 -236
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +57 -58
- package/dist/cjs/HamMagazine.js +127 -132
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +15 -16
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +71 -72
- package/dist/cjs/HorizontalHero.js +28 -29
- package/dist/cjs/IssueContentDeck.js +71 -76
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +64 -65
- package/dist/cjs/LeftNav.js +37 -39
- package/dist/cjs/MasterDeck.js +70 -71
- package/dist/cjs/MediaSeriesLanding.js +985 -988
- package/dist/cjs/NavDvm.js +72 -77
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +134 -139
- package/dist/cjs/NavNative.js +126 -134
- package/dist/cjs/OncliveHero.js +21 -22
- package/dist/cjs/OncliveLargeHero.js +70 -71
- package/dist/cjs/PageFilter.js +12 -13
- package/dist/cjs/PartnerDetailListing.js +373 -272
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +17 -19
- package/dist/cjs/PubSection.js +40 -41
- package/dist/cjs/PubToc.js +13 -14
- package/dist/cjs/PublicationDeck.js +65 -70
- package/dist/cjs/PublicationLanding.js +106 -114
- package/dist/cjs/QueueDeckExpanded.js +308 -308
- package/dist/cjs/RecentNews.js +22 -23
- package/dist/cjs/RelatedContent.js +29 -30
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +16 -20
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +36 -36
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-372e418f.js} +30 -31
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +34 -35
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-80a2130a.js} +32 -36
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -66
- package/dist/cjs/TaxonomyDescription.js +53 -54
- package/dist/cjs/TemplateNormal.js +72 -73
- package/dist/cjs/ThumbnailCard.js +24 -26
- package/dist/cjs/Ustream.js +78 -70
- package/dist/cjs/VerticalHero.js +19 -20
- package/dist/cjs/VideoProgramLandingPage.js +74 -78
- package/dist/cjs/VideoSeriesCard.js +32 -33
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +50 -51
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +249 -252
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +58 -59
- package/dist/cjs/{_is-array-54228b29.js → _is-array-bd978497.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-ee3d4802.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-fee50a62.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-18379aba.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-15014394.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-05029198.js} +6 -7
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-5cb3af28.js} +33 -33
- package/dist/cjs/{debounce-d4a2369b.js → debounce-6191c8ee.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-530a5e9e.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-5ca424cd.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-fb0c6568.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-1d905ddb.js} +7 -7
- package/dist/cjs/faundadb.js +19 -19
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +16 -16
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-9d509319.js → getTargeting-41f2f52d.js} +3 -3
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-af49d679.js → index-27377172.js} +574 -584
- package/dist/cjs/{index-50be6759.js → index-53e27416.js} +1 -1
- package/dist/cjs/{index-f86bb269.js → index-79eed652.js} +6 -6
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
- package/dist/cjs/{index-d48b231c.js → index-ff69979f.js} +3 -3
- package/dist/cjs/{index.es-f3e47207.js → index.es-e9d84959.js} +7 -8
- package/dist/cjs/{index.esm-88593816.js → index.esm-05850a2f.js} +4 -4
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-974f47d9.js} +4 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-bf016399.js} +18 -19
- package/dist/cjs/index.js +164 -169
- package/dist/cjs/{inherits-de66ea16.js → inherits-337c73a7.js} +22 -22
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-91f31941.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-b5e0d5f6.js} +1 -1
- package/dist/cjs/{main-f1c77adb.js → main-bc7d4bf8.js} +69 -70
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-0a78cdf3.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-13405ce2.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-39fd0757.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-f2f8744b.js} +1 -1
- package/dist/cjs/{typeof-567e31ff.js → typeof-3dd6d3df.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-5619c1fa.js} +4 -4
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-a9359910.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +21 -21
- package/dist/esm/AD300x250x600.js +21 -21
- package/dist/esm/AD728x90.js +23 -23
- package/dist/esm/ADFloatingFooter.js +21 -21
- package/dist/esm/ADFooter.js +4 -4
- package/dist/esm/ADGutter.js +21 -21
- package/dist/esm/{ADInfeed-0a55cd2d.js → ADInfeed-7db96917.js} +6 -6
- package/dist/esm/ADSkyscraper.js +21 -21
- package/dist/esm/ADSponsoredResources.js +21 -21
- package/dist/esm/ADWebcast.js +21 -21
- package/dist/esm/ADWelcome.js +18 -18
- package/dist/esm/{ADlgInfeed-013e1f4a.js → ADlgInfeed-a3931e68.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +20 -20
- package/dist/esm/AdSlotsProvider.js +9 -9
- package/dist/esm/AlgoliaSearch.js +552 -608
- package/dist/esm/AlphabeticList.js +8 -8
- package/dist/esm/ArticleCarousel.js +13 -13
- package/dist/esm/ArticleProgramLandingPage.js +48 -48
- package/dist/esm/ArticleSeriesLandingPage.js +29 -29
- package/dist/esm/ArticleSeriesListing.js +32 -32
- package/dist/esm/Auth.js +199 -199
- package/dist/esm/AuthWrapper.js +118 -28
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-2277b67c.js} +1 -1
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-ea93e8f7.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +21 -21
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +19 -19
- package/dist/esm/Column3.js +35 -35
- package/dist/esm/ConferenceArticleCard.js +10 -10
- package/dist/esm/DeckContent.js +46 -46
- package/dist/esm/DeckQueue.js +46 -46
- package/dist/esm/{Dfp-102f0beb.js → Dfp-d6a5629f.js} +13 -13
- package/dist/esm/EventsDeck.js +47 -47
- package/dist/esm/ExternalResources.js +46 -46
- package/dist/esm/Feature.js +6 -6
- package/dist/esm/ForbesHero.js +10 -10
- package/dist/esm/GridContent.js +85 -85
- package/dist/esm/GridHero.js +11 -11
- package/dist/esm/GroupDeck.js +12 -12
- package/dist/esm/HamMagazine.js +24 -24
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +46 -46
- package/dist/esm/HorizontalHero.js +8 -8
- package/dist/esm/IssueContentDeck.js +25 -25
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +53 -53
- package/dist/esm/LeftNav.js +20 -20
- package/dist/esm/MasterDeck.js +34 -34
- package/dist/esm/MediaSeriesLanding.js +325 -325
- package/dist/esm/NavDvm.js +14 -14
- package/dist/esm/NavMagazine.js +30 -30
- package/dist/esm/NavNative.js +30 -30
- package/dist/esm/OncliveHero.js +7 -7
- package/dist/esm/OncliveLargeHero.js +11 -11
- package/dist/esm/PageFilter.js +4 -4
- package/dist/esm/PartnerDetailListing.js +188 -86
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +4 -4
- package/dist/esm/PubSection.js +32 -32
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +27 -27
- package/dist/esm/PublicationLanding.js +47 -51
- package/dist/esm/QueueDeckExpanded.js +34 -34
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +10 -10
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +6 -6
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +18 -18
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-88c4133d.js} +5 -5
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +13 -13
- package/dist/esm/{SocialSearchComponent-8e0fcf66.js → SocialSearchComponent-7f3d6531.js} +8 -8
- package/dist/esm/TaxonomyCard.js +27 -27
- package/dist/esm/TaxonomyDescription.js +44 -44
- package/dist/esm/TemplateNormal.js +48 -48
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +71 -62
- package/dist/esm/VerticalHero.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +52 -52
- package/dist/esm/VideoSeriesCard.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +35 -35
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +83 -82
- package/dist/esm/YahooHero.js +13 -13
- package/dist/esm/YoutubeGroup.js +12 -12
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-8914b83f.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-13e31915.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-fc9da7e8.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-ee8f6d98.js} +2 -2
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-40371743.js} +30 -30
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-0fb60d94.js} +34 -34
- package/dist/esm/{debounce-533d9748.js → debounce-89969f66.js} +2 -2
- package/dist/esm/define-property-73034847.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-e66a2c7c.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-731f3fdb.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-9a61581c.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +11 -11
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-4061f839.js → getTargeting-e6820763.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-41a678ea.js} +4 -4
- package/dist/esm/{index-79cfd25c.js → index-511bdaa5.js} +6 -6
- package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-98ca9cec.js → index-637e8f49.js} +1 -1
- package/dist/esm/{index-d7489d39.js → index-afb3bbc2.js} +134 -134
- package/dist/esm/{index-3f5c03b2.js → index-f7fdcc91.js} +3 -3
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-3fdda599.js} +4 -2
- package/dist/esm/{index.esm-28aafed6.js → index.esm-a8ff922c.js} +4 -4
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-ed50151c.js} +2 -2
- package/dist/esm/index.js +122 -124
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-eeaf6740.js} +18 -18
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-a5ffafe7.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-a818d390.js} +1 -1
- package/dist/esm/{main-1894c974.js → main-ede573ee.js} +53 -53
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-9c3bb613.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-ebc16384.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-e333293f.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-e3dcad26.js} +1 -1
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-938ae770.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-d325d196.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-6b037ff9.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-e761d404.js} +1 -1
|
@@ -1,66 +1,56 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
6
|
+
var core_getIteratorMethod = require('./core.get-iterator-method-5cb3af28.js');
|
|
7
|
+
var toConsumableArray = require('./toConsumableArray-39fd0757.js');
|
|
8
|
+
var _extends = require('./extends-1d905ddb.js');
|
|
9
|
+
var inherits$1 = require('./inherits-337c73a7.js');
|
|
10
|
+
var _typeof$2 = require('./typeof-3dd6d3df.js');
|
|
4
11
|
var React = require('react');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var urlFor = require('./urlFor.js');
|
|
8
|
-
var index = require('./index-fc2f1ca2.js');
|
|
9
|
-
var Router = require('next/router');
|
|
10
|
-
var index$1 = require('./index-187c967e.js');
|
|
12
|
+
var React__default = _interopDefault(React);
|
|
13
|
+
var index = require('./index-98e01cb9.js');
|
|
11
14
|
var PropTypes = require('prop-types');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
require('
|
|
15
|
+
var PropTypes__default = _interopDefault(PropTypes);
|
|
16
|
+
var Row = _interopDefault(require('react-bootstrap/Row'));
|
|
17
|
+
var Col = _interopDefault(require('react-bootstrap/Col'));
|
|
18
|
+
var moment = require('./moment-ca3bd9fb.js');
|
|
19
|
+
var Router = require('next/router');
|
|
20
|
+
var Router__default = _interopDefault(Router);
|
|
21
|
+
var slicedToArray = require('./slicedToArray-0a78cdf3.js');
|
|
22
|
+
var urlFor = require('./urlFor.js');
|
|
23
|
+
var index$2 = require('./index-96b3db50.js');
|
|
24
|
+
var main = require('./main-bc7d4bf8.js');
|
|
25
|
+
var entities = require('./entities-fb0c6568.js');
|
|
26
|
+
var asyncToGenerator = require('./asyncToGenerator-15014394.js');
|
|
15
27
|
var Segment = require('./Segment.js');
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-a195642e.js');
|
|
28
|
+
require('./Beam.js');
|
|
29
|
+
var AdSlot = require('./AdSlot.js');
|
|
30
|
+
var Button = _interopDefault(require('react-bootstrap/Button'));
|
|
31
|
+
var BlockContent = require('./BlockContent-bac780ac.js');
|
|
32
|
+
var index$3 = require('./index-187c967e.js');
|
|
22
33
|
var GroupDeck = require('./GroupDeck.js');
|
|
23
|
-
var
|
|
34
|
+
var reactBootstrap = require('react-bootstrap');
|
|
35
|
+
var index_esm = require('./index.esm-974f47d9.js');
|
|
36
|
+
var util = require('./util-f2c1b65b.js');
|
|
37
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-05029198.js');
|
|
38
|
+
var Head = _interopDefault(require('next/head'));
|
|
24
39
|
var SocialShare = require('./SocialShare.js');
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var AdSlot = require('./AdSlot.js');
|
|
32
|
-
var Row = require('react-bootstrap/Row');
|
|
33
|
-
var Col = require('react-bootstrap/Col');
|
|
34
|
-
var Head = require('next/head');
|
|
35
|
-
var inherits = require('./inherits-de66ea16.js');
|
|
36
|
-
var index_esm = require('./index.esm-d81454e7.js');
|
|
37
|
-
var Figure$1 = require('react-bootstrap/Figure');
|
|
38
|
-
var OverlayTrigger = require('react-bootstrap/OverlayTrigger');
|
|
39
|
-
var Tooltip = require('react-bootstrap/Tooltip');
|
|
40
|
-
var Popover = require('react-bootstrap/Popover');
|
|
41
|
-
|
|
42
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
43
|
-
|
|
44
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
45
|
-
var Router__default = /*#__PURE__*/_interopDefaultLegacy(Router);
|
|
46
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
47
|
-
var Pagination__default = /*#__PURE__*/_interopDefaultLegacy(Pagination);
|
|
48
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
49
|
-
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
|
|
50
|
-
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);
|
|
51
|
-
var Head__default = /*#__PURE__*/_interopDefaultLegacy(Head);
|
|
52
|
-
var Figure__default = /*#__PURE__*/_interopDefaultLegacy(Figure$1);
|
|
53
|
-
var OverlayTrigger__default = /*#__PURE__*/_interopDefaultLegacy(OverlayTrigger);
|
|
54
|
-
var Tooltip__default = /*#__PURE__*/_interopDefaultLegacy(Tooltip);
|
|
55
|
-
var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
40
|
+
var _objectToArray = require('./_object-to-array-18379aba.js');
|
|
41
|
+
var Pagination = _interopDefault(require('react-bootstrap/Pagination'));
|
|
42
|
+
var Figure$1 = _interopDefault(require('react-bootstrap/Figure'));
|
|
43
|
+
var OverlayTrigger = _interopDefault(require('react-bootstrap/OverlayTrigger'));
|
|
44
|
+
var Tooltip = _interopDefault(require('react-bootstrap/Tooltip'));
|
|
45
|
+
var Popover = _interopDefault(require('react-bootstrap/Popover'));
|
|
56
46
|
|
|
57
47
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
58
48
|
var pageNumber = selectedIndex + 1;
|
|
59
49
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
60
|
-
Router__default
|
|
50
|
+
Router__default.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
61
51
|
};
|
|
62
52
|
|
|
63
|
-
var Slideshow
|
|
53
|
+
var Slideshow = function Slideshow(_ref) {
|
|
64
54
|
var slides = _ref.slides,
|
|
65
55
|
client = _ref.client,
|
|
66
56
|
pageview = _ref.pageview;
|
|
@@ -87,27 +77,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
87
77
|
if (pageview) pageview(router.asPath);
|
|
88
78
|
}, [router]);
|
|
89
79
|
|
|
90
|
-
return React__default
|
|
80
|
+
return React__default.createElement(
|
|
91
81
|
'div',
|
|
92
82
|
{ className: 'mt-3 mb-3' },
|
|
93
|
-
React__default
|
|
83
|
+
React__default.createElement(
|
|
94
84
|
reactBootstrap.Carousel,
|
|
95
85
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
96
86
|
return onChangeSlide(selectedIndex, router);
|
|
97
87
|
}, interval: null },
|
|
98
88
|
slides && slides.map(function (slide) {
|
|
99
|
-
return React__default
|
|
89
|
+
return React__default.createElement(
|
|
100
90
|
reactBootstrap.Carousel.Item,
|
|
101
91
|
{ key: slide._key },
|
|
102
|
-
React__default
|
|
92
|
+
React__default.createElement(
|
|
103
93
|
'picture',
|
|
104
94
|
null,
|
|
105
|
-
React__default
|
|
106
|
-
React__default
|
|
107
|
-
React__default
|
|
108
|
-
React__default
|
|
95
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
96
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
97
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
98
|
+
React__default.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
109
99
|
),
|
|
110
|
-
slide.caption && React__default
|
|
100
|
+
slide.caption && React__default.createElement(
|
|
111
101
|
'p',
|
|
112
102
|
{ className: 'p-2' },
|
|
113
103
|
slide.caption
|
|
@@ -697,14 +687,14 @@ function coerce(val) {
|
|
|
697
687
|
return val;
|
|
698
688
|
}
|
|
699
689
|
});
|
|
700
|
-
debug.coerce;
|
|
701
|
-
debug.disable;
|
|
702
|
-
debug.enable;
|
|
703
|
-
debug.enabled;
|
|
704
|
-
debug.humanize;
|
|
705
|
-
debug.names;
|
|
706
|
-
debug.skips;
|
|
707
|
-
debug.formatters;
|
|
690
|
+
var debug_1 = debug.coerce;
|
|
691
|
+
var debug_2 = debug.disable;
|
|
692
|
+
var debug_3 = debug.enable;
|
|
693
|
+
var debug_4 = debug.enabled;
|
|
694
|
+
var debug_5 = debug.humanize;
|
|
695
|
+
var debug_6 = debug.names;
|
|
696
|
+
var debug_7 = debug.skips;
|
|
697
|
+
var debug_8 = debug.formatters;
|
|
708
698
|
|
|
709
699
|
var browser = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
710
700
|
/**
|
|
@@ -893,13 +883,13 @@ function localstorage() {
|
|
|
893
883
|
} catch (e) {}
|
|
894
884
|
}
|
|
895
885
|
});
|
|
896
|
-
browser.log;
|
|
897
|
-
browser.formatArgs;
|
|
898
|
-
browser.save;
|
|
899
|
-
browser.load;
|
|
900
|
-
browser.useColors;
|
|
901
|
-
browser.storage;
|
|
902
|
-
browser.colors;
|
|
886
|
+
var browser_1 = browser.log;
|
|
887
|
+
var browser_2 = browser.formatArgs;
|
|
888
|
+
var browser_3 = browser.save;
|
|
889
|
+
var browser_4 = browser.load;
|
|
890
|
+
var browser_5 = browser.useColors;
|
|
891
|
+
var browser_6 = browser.storage;
|
|
892
|
+
var browser_7 = browser.colors;
|
|
903
893
|
|
|
904
894
|
// MIT lisence
|
|
905
895
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1174,14 +1164,14 @@ function init (debug) {
|
|
|
1174
1164
|
|
|
1175
1165
|
exports.enable(load());
|
|
1176
1166
|
});
|
|
1177
|
-
node.init;
|
|
1178
|
-
node.log;
|
|
1179
|
-
node.formatArgs;
|
|
1180
|
-
node.save;
|
|
1181
|
-
node.load;
|
|
1182
|
-
node.useColors;
|
|
1183
|
-
node.colors;
|
|
1184
|
-
node.inspectOpts;
|
|
1167
|
+
var node_1 = node.init;
|
|
1168
|
+
var node_2 = node.log;
|
|
1169
|
+
var node_3 = node.formatArgs;
|
|
1170
|
+
var node_4 = node.save;
|
|
1171
|
+
var node_5 = node.load;
|
|
1172
|
+
var node_6 = node.useColors;
|
|
1173
|
+
var node_7 = node.colors;
|
|
1174
|
+
var node_8 = node.inspectOpts;
|
|
1185
1175
|
|
|
1186
1176
|
var src = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
1187
1177
|
/**
|
|
@@ -1849,9 +1839,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1849
1839
|
}, {
|
|
1850
1840
|
key: "render",
|
|
1851
1841
|
value: function render() {
|
|
1852
|
-
return /*#__PURE__*/React__default
|
|
1842
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1853
1843
|
className: this.props.containerClassName
|
|
1854
|
-
}, /*#__PURE__*/React__default
|
|
1844
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1855
1845
|
id: this.props.id,
|
|
1856
1846
|
className: this.props.className,
|
|
1857
1847
|
ref: this.refContainer
|
|
@@ -1860,7 +1850,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1860
1850
|
}]);
|
|
1861
1851
|
|
|
1862
1852
|
return YouTube;
|
|
1863
|
-
}(React__default
|
|
1853
|
+
}(React__default.Component);
|
|
1864
1854
|
|
|
1865
1855
|
_defineProperty(YouTube, "PlayerState", {
|
|
1866
1856
|
UNSTARTED: -1,
|
|
@@ -1872,24 +1862,24 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1872
1862
|
});
|
|
1873
1863
|
|
|
1874
1864
|
YouTube.propTypes = {
|
|
1875
|
-
videoId: PropTypes__default
|
|
1865
|
+
videoId: PropTypes__default.string,
|
|
1876
1866
|
// custom ID for player element
|
|
1877
|
-
id: PropTypes__default
|
|
1867
|
+
id: PropTypes__default.string,
|
|
1878
1868
|
// custom class name for player element
|
|
1879
|
-
className: PropTypes__default
|
|
1869
|
+
className: PropTypes__default.string,
|
|
1880
1870
|
// custom class name for player container element
|
|
1881
|
-
containerClassName: PropTypes__default
|
|
1871
|
+
containerClassName: PropTypes__default.string,
|
|
1882
1872
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1883
|
-
opts: PropTypes__default
|
|
1873
|
+
opts: PropTypes__default.objectOf(PropTypes__default.any),
|
|
1884
1874
|
// event subscriptions
|
|
1885
|
-
onReady: PropTypes__default
|
|
1886
|
-
onError: PropTypes__default
|
|
1887
|
-
onPlay: PropTypes__default
|
|
1888
|
-
onPause: PropTypes__default
|
|
1889
|
-
onEnd: PropTypes__default
|
|
1890
|
-
onStateChange: PropTypes__default
|
|
1891
|
-
onPlaybackRateChange: PropTypes__default
|
|
1892
|
-
onPlaybackQualityChange: PropTypes__default
|
|
1875
|
+
onReady: PropTypes__default.func,
|
|
1876
|
+
onError: PropTypes__default.func,
|
|
1877
|
+
onPlay: PropTypes__default.func,
|
|
1878
|
+
onPause: PropTypes__default.func,
|
|
1879
|
+
onEnd: PropTypes__default.func,
|
|
1880
|
+
onStateChange: PropTypes__default.func,
|
|
1881
|
+
onPlaybackRateChange: PropTypes__default.func,
|
|
1882
|
+
onPlaybackQualityChange: PropTypes__default.func
|
|
1893
1883
|
};
|
|
1894
1884
|
YouTube.defaultProps = {
|
|
1895
1885
|
videoId: null,
|
|
@@ -1911,7 +1901,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1911
1901
|
var url = _ref.url,
|
|
1912
1902
|
autoplay = _ref.autoplay;
|
|
1913
1903
|
|
|
1914
|
-
var id = index$
|
|
1904
|
+
var id = index$3.getYoutubeId(url);
|
|
1915
1905
|
|
|
1916
1906
|
var _useState = React.useState(false),
|
|
1917
1907
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -2007,11 +1997,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2007
1997
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2008
1998
|
};
|
|
2009
1999
|
|
|
2010
|
-
return React__default
|
|
2000
|
+
return React__default.createElement(
|
|
2011
2001
|
'div',
|
|
2012
2002
|
{ id: 'fluid-video-container' },
|
|
2013
|
-
React__default
|
|
2014
|
-
React__default
|
|
2003
|
+
React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2004
|
+
React__default.createElement(
|
|
2015
2005
|
'style',
|
|
2016
2006
|
{ jsx: 'true' },
|
|
2017
2007
|
'\n #fluid-video-container {\n margin-bottom: 2rem;\n }\n #fluid-video-container > div {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n }\n #fluid-video-container .fluid-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100% !important;\n }\n '
|
|
@@ -2024,20 +2014,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2024
2014
|
content = _ref.content,
|
|
2025
2015
|
getSerializers = _ref.getSerializers;
|
|
2026
2016
|
|
|
2027
|
-
return React__default
|
|
2017
|
+
return React__default.createElement(
|
|
2028
2018
|
'article',
|
|
2029
2019
|
{ className: 'sidebar' },
|
|
2030
|
-
React__default
|
|
2020
|
+
React__default.createElement(
|
|
2031
2021
|
'div',
|
|
2032
2022
|
null,
|
|
2033
|
-
React__default
|
|
2023
|
+
React__default.createElement(
|
|
2034
2024
|
'h3',
|
|
2035
2025
|
null,
|
|
2036
2026
|
caption
|
|
2037
2027
|
),
|
|
2038
|
-
React__default
|
|
2028
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2039
2029
|
),
|
|
2040
|
-
React__default
|
|
2030
|
+
React__default.createElement(
|
|
2041
2031
|
'style',
|
|
2042
2032
|
{ jsx: 'true' },
|
|
2043
2033
|
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n /* resolving list items inside sidebar being shifted to center because of unusual margin */\n .sidebar ul {\n margin-left: 0;\n padding-left: 1rem;\n }\n @media screen and (max-width: 991px) {\n .sidebar {\n float: none;\n width: auto;\n margin: 1rem 0;\n }\n }\n '
|
|
@@ -2048,18 +2038,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2048
2038
|
var TableShow = function TableShow(_ref) {
|
|
2049
2039
|
var rows = _ref.rows;
|
|
2050
2040
|
|
|
2051
|
-
return React__default
|
|
2041
|
+
return React__default.createElement(
|
|
2052
2042
|
reactBootstrap.Table,
|
|
2053
2043
|
{ bordered: true, hover: true, responsive: true },
|
|
2054
|
-
React__default
|
|
2044
|
+
React__default.createElement(
|
|
2055
2045
|
'tbody',
|
|
2056
2046
|
null,
|
|
2057
2047
|
rows && rows.map(function (row) {
|
|
2058
|
-
return React__default
|
|
2048
|
+
return React__default.createElement(
|
|
2059
2049
|
'tr',
|
|
2060
2050
|
{ key: row._key },
|
|
2061
2051
|
row.cells && row.cells.map(function (cell, index) {
|
|
2062
|
-
return cell && React__default
|
|
2052
|
+
return cell && React__default.createElement(
|
|
2063
2053
|
'td',
|
|
2064
2054
|
{ key: index },
|
|
2065
2055
|
cell
|
|
@@ -2178,25 +2168,25 @@ var Media = function Media(_ref) {
|
|
|
2178
2168
|
margin: imageMargin
|
|
2179
2169
|
};
|
|
2180
2170
|
|
|
2181
|
-
return React__default
|
|
2171
|
+
return React__default.createElement(
|
|
2182
2172
|
reactBootstrap.Figure,
|
|
2183
2173
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2184
|
-
React__default
|
|
2174
|
+
React__default.createElement(
|
|
2185
2175
|
'a',
|
|
2186
2176
|
{ href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2187
|
-
React__default
|
|
2177
|
+
React__default.createElement(
|
|
2188
2178
|
index$2.LazyLoad,
|
|
2189
2179
|
{ once: true },
|
|
2190
|
-
React__default
|
|
2180
|
+
React__default.createElement(
|
|
2191
2181
|
'picture',
|
|
2192
2182
|
null,
|
|
2193
|
-
React__default
|
|
2194
|
-
React__default
|
|
2195
|
-
React__default
|
|
2196
|
-
React__default
|
|
2183
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2184
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2185
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2186
|
+
React__default.createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2197
2187
|
)
|
|
2198
2188
|
),
|
|
2199
|
-
caption && React__default
|
|
2189
|
+
caption && React__default.createElement(
|
|
2200
2190
|
reactBootstrap.Figure.Caption,
|
|
2201
2191
|
{ className: 'media-caption' },
|
|
2202
2192
|
caption
|
|
@@ -2204,7 +2194,7 @@ var Media = function Media(_ref) {
|
|
|
2204
2194
|
)
|
|
2205
2195
|
);
|
|
2206
2196
|
} else if (caption && caption !== '') {
|
|
2207
|
-
return React__default
|
|
2197
|
+
return React__default.createElement(
|
|
2208
2198
|
'a',
|
|
2209
2199
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2210
2200
|
href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2224,10 +2214,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2224
2214
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2225
2215
|
|
|
2226
2216
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2227
|
-
return React__default
|
|
2217
|
+
return React__default.createElement(
|
|
2228
2218
|
'div',
|
|
2229
2219
|
{ className: 'd-block text-center mb-3' },
|
|
2230
|
-
React__default
|
|
2220
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2231
2221
|
);
|
|
2232
2222
|
};
|
|
2233
2223
|
|
|
@@ -2322,10 +2312,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2322
2312
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2323
2313
|
};
|
|
2324
2314
|
|
|
2325
|
-
return React__default
|
|
2315
|
+
return React__default.createElement(
|
|
2326
2316
|
'div',
|
|
2327
2317
|
null,
|
|
2328
|
-
vidLoaded && React__default
|
|
2318
|
+
vidLoaded && React__default.createElement(
|
|
2329
2319
|
'video',
|
|
2330
2320
|
{
|
|
2331
2321
|
poster: thumbnail || '',
|
|
@@ -2343,7 +2333,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2343
2333
|
onPlay: function onPlay(e) {
|
|
2344
2334
|
return handleOnPlay(e);
|
|
2345
2335
|
} },
|
|
2346
|
-
React__default
|
|
2336
|
+
React__default.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2347
2337
|
'Your browser does not support the video tag.'
|
|
2348
2338
|
)
|
|
2349
2339
|
);
|
|
@@ -2385,7 +2375,7 @@ var Video = function Video(_ref) {
|
|
|
2385
2375
|
var onVideoSuccess = function onVideoSuccess(success) {
|
|
2386
2376
|
//console.log('success:', success.ref)
|
|
2387
2377
|
var player = success.ref;
|
|
2388
|
-
if (_typeof$
|
|
2378
|
+
if (_typeof$2._typeof(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
|
|
2389
2379
|
player.ima3.settings.debug = true;
|
|
2390
2380
|
if (targeting.content_placement && targeting.document_url) {
|
|
2391
2381
|
player.ima3.settings.serverUrl = player.ima3.settings.serverUrl + '&cust_params=' + encodeURIComponent('content_placement=' + targeting.content_placement + '&document_url=' + targeting.document_url);
|
|
@@ -2490,7 +2480,7 @@ var Video = function Video(_ref) {
|
|
|
2490
2480
|
// ad impression
|
|
2491
2481
|
player.on('ads-ad-started', function (evt) {
|
|
2492
2482
|
var duration = player.ads.ad.duration;
|
|
2493
|
-
player.ads.ad.id;
|
|
2483
|
+
var id = player.ads.ad.id;
|
|
2494
2484
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2495
2485
|
|
|
2496
2486
|
//Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
@@ -2500,7 +2490,7 @@ var Video = function Video(_ref) {
|
|
|
2500
2490
|
// ad ended
|
|
2501
2491
|
player.on('ads-ad-ended', function (evt) {
|
|
2502
2492
|
var duration = player.ads.ad.duration;
|
|
2503
|
-
player.ads.ad.id;
|
|
2493
|
+
var id = player.ads.ad.id;
|
|
2504
2494
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2505
2495
|
//Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2506
2496
|
Segment.report_ad_event('Video Ad Ended', main.main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
@@ -2509,10 +2499,10 @@ var Video = function Video(_ref) {
|
|
|
2509
2499
|
|
|
2510
2500
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2511
2501
|
if (videoID) {
|
|
2512
|
-
return React__default
|
|
2502
|
+
return React__default.createElement(
|
|
2513
2503
|
'div',
|
|
2514
2504
|
null,
|
|
2515
|
-
React__default
|
|
2505
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2516
2506
|
onSuccess: onVideoSuccess,
|
|
2517
2507
|
onFailure: onVideoFailure,
|
|
2518
2508
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2520,43 +2510,43 @@ var Video = function Video(_ref) {
|
|
|
2520
2510
|
playerId: accountIDs.brightcove.playerId,
|
|
2521
2511
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2522
2512
|
}),
|
|
2523
|
-
React__default
|
|
2513
|
+
React__default.createElement(
|
|
2524
2514
|
'style',
|
|
2525
2515
|
{ jsx: 'true' },
|
|
2526
2516
|
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2527
2517
|
)
|
|
2528
2518
|
);
|
|
2529
2519
|
} else if (playlistID) {
|
|
2530
|
-
return React__default
|
|
2520
|
+
return React__default.createElement(
|
|
2531
2521
|
'div',
|
|
2532
2522
|
null,
|
|
2533
|
-
React__default
|
|
2523
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2534
2524
|
accountId: accountIDs.brightcove.accountId,
|
|
2535
2525
|
playlistId: playlistID,
|
|
2536
2526
|
playerId: accountIDs.brightcove.playerId,
|
|
2537
2527
|
onSuccess: onVideoSuccess,
|
|
2538
2528
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2539
2529
|
}),
|
|
2540
|
-
React__default
|
|
2530
|
+
React__default.createElement(
|
|
2541
2531
|
'style',
|
|
2542
2532
|
{ jsx: 'true' },
|
|
2543
2533
|
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2544
2534
|
)
|
|
2545
2535
|
);
|
|
2546
2536
|
} else if (experienceID) {
|
|
2547
|
-
return React__default
|
|
2537
|
+
return React__default.createElement(
|
|
2548
2538
|
'div',
|
|
2549
2539
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2550
|
-
videoLoaded && React__default
|
|
2540
|
+
videoLoaded && React__default.createElement('div', { 'data-experience': experienceID })
|
|
2551
2541
|
);
|
|
2552
2542
|
}
|
|
2553
2543
|
return null;
|
|
2554
2544
|
}
|
|
2555
2545
|
if (source === 'mp4') {
|
|
2556
|
-
return React__default
|
|
2546
|
+
return React__default.createElement(
|
|
2557
2547
|
'div',
|
|
2558
2548
|
null,
|
|
2559
|
-
React__default
|
|
2549
|
+
React__default.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true })
|
|
2560
2550
|
);
|
|
2561
2551
|
}
|
|
2562
2552
|
|
|
@@ -2571,7 +2561,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2571
2561
|
});
|
|
2572
2562
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2573
2563
|
|
|
2574
|
-
var _propTypes = _interopRequireDefault(PropTypes__default
|
|
2564
|
+
var _propTypes = _interopRequireDefault(PropTypes__default);
|
|
2575
2565
|
|
|
2576
2566
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2577
2567
|
|
|
@@ -2767,9 +2757,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
2767
2757
|
});
|
|
2768
2758
|
|
|
2769
2759
|
_commonjsHelpers.unwrapExports(props);
|
|
2770
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
2771
|
-
props.defaultProps;
|
|
2772
|
-
props.propTypes;
|
|
2760
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
2761
|
+
var props_2 = props.defaultProps;
|
|
2762
|
+
var props_3 = props.propTypes;
|
|
2773
2763
|
|
|
2774
2764
|
var isMergeableObject = function isMergeableObject(value) {
|
|
2775
2765
|
return isNonNullObject(value)
|
|
@@ -3161,7 +3151,7 @@ function isEqual(a, b) {
|
|
|
3161
3151
|
return true;
|
|
3162
3152
|
}
|
|
3163
3153
|
|
|
3164
|
-
if ((0, React__default
|
|
3154
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
3165
3155
|
return true;
|
|
3166
3156
|
}
|
|
3167
3157
|
|
|
@@ -3204,17 +3194,17 @@ function isMediaStream(url) {
|
|
|
3204
3194
|
});
|
|
3205
3195
|
|
|
3206
3196
|
_commonjsHelpers.unwrapExports(utils);
|
|
3207
|
-
utils.parseStartTime;
|
|
3208
|
-
utils.parseEndTime;
|
|
3209
|
-
utils.randomString;
|
|
3210
|
-
utils.queryString;
|
|
3211
|
-
utils.getSDK;
|
|
3212
|
-
utils.getConfig;
|
|
3213
|
-
utils.omit;
|
|
3214
|
-
utils.callPlayer;
|
|
3215
|
-
utils.isObject;
|
|
3216
|
-
utils.isEqual;
|
|
3217
|
-
utils.isMediaStream;
|
|
3197
|
+
var utils_1 = utils.parseStartTime;
|
|
3198
|
+
var utils_2 = utils.parseEndTime;
|
|
3199
|
+
var utils_3 = utils.randomString;
|
|
3200
|
+
var utils_4 = utils.queryString;
|
|
3201
|
+
var utils_5 = utils.getSDK;
|
|
3202
|
+
var utils_6 = utils.getConfig;
|
|
3203
|
+
var utils_7 = utils.omit;
|
|
3204
|
+
var utils_8 = utils.callPlayer;
|
|
3205
|
+
var utils_9 = utils.isObject;
|
|
3206
|
+
var utils_10 = utils.isEqual;
|
|
3207
|
+
var utils_11 = utils.isMediaStream;
|
|
3218
3208
|
|
|
3219
3209
|
var Player_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
3220
3210
|
|
|
@@ -3223,7 +3213,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3223
3213
|
});
|
|
3224
3214
|
exports["default"] = void 0;
|
|
3225
3215
|
|
|
3226
|
-
var _react = _interopRequireWildcard(React__default
|
|
3216
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3227
3217
|
|
|
3228
3218
|
|
|
3229
3219
|
|
|
@@ -3633,7 +3623,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3633
3623
|
});
|
|
3634
3624
|
exports["default"] = createSinglePlayer;
|
|
3635
3625
|
|
|
3636
|
-
var _react = _interopRequireWildcard(React__default
|
|
3626
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3637
3627
|
|
|
3638
3628
|
|
|
3639
3629
|
|
|
@@ -3791,7 +3781,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3791
3781
|
});
|
|
3792
3782
|
exports["default"] = exports.YouTube = void 0;
|
|
3793
3783
|
|
|
3794
|
-
var _react = _interopRequireWildcard(React__default
|
|
3784
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3795
3785
|
|
|
3796
3786
|
|
|
3797
3787
|
|
|
@@ -4091,7 +4081,7 @@ exports["default"] = _default;
|
|
|
4091
4081
|
});
|
|
4092
4082
|
|
|
4093
4083
|
_commonjsHelpers.unwrapExports(YouTube_1);
|
|
4094
|
-
YouTube_1.YouTube;
|
|
4084
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4095
4085
|
|
|
4096
4086
|
var SoundCloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4097
4087
|
|
|
@@ -4100,7 +4090,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4100
4090
|
});
|
|
4101
4091
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4102
4092
|
|
|
4103
|
-
var _react = _interopRequireWildcard(React__default
|
|
4093
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4104
4094
|
|
|
4105
4095
|
|
|
4106
4096
|
|
|
@@ -4308,7 +4298,7 @@ exports["default"] = _default;
|
|
|
4308
4298
|
});
|
|
4309
4299
|
|
|
4310
4300
|
_commonjsHelpers.unwrapExports(SoundCloud_1);
|
|
4311
|
-
SoundCloud_1.SoundCloud;
|
|
4301
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4312
4302
|
|
|
4313
4303
|
var Vimeo_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4314
4304
|
|
|
@@ -4317,7 +4307,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4317
4307
|
});
|
|
4318
4308
|
exports["default"] = exports.Vimeo = void 0;
|
|
4319
4309
|
|
|
4320
|
-
var _react = _interopRequireWildcard(React__default
|
|
4310
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4321
4311
|
|
|
4322
4312
|
|
|
4323
4313
|
|
|
@@ -4564,7 +4554,7 @@ exports["default"] = _default;
|
|
|
4564
4554
|
});
|
|
4565
4555
|
|
|
4566
4556
|
_commonjsHelpers.unwrapExports(Vimeo_1);
|
|
4567
|
-
Vimeo_1.Vimeo;
|
|
4557
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
4568
4558
|
|
|
4569
4559
|
var Facebook_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4570
4560
|
|
|
@@ -4573,7 +4563,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4573
4563
|
});
|
|
4574
4564
|
exports["default"] = exports.Facebook = void 0;
|
|
4575
4565
|
|
|
4576
|
-
var _react = _interopRequireWildcard(React__default
|
|
4566
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4577
4567
|
|
|
4578
4568
|
|
|
4579
4569
|
|
|
@@ -4776,7 +4766,7 @@ exports["default"] = _default;
|
|
|
4776
4766
|
});
|
|
4777
4767
|
|
|
4778
4768
|
_commonjsHelpers.unwrapExports(Facebook_1);
|
|
4779
|
-
Facebook_1.Facebook;
|
|
4769
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
4780
4770
|
|
|
4781
4771
|
var Streamable_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4782
4772
|
|
|
@@ -4785,7 +4775,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4785
4775
|
});
|
|
4786
4776
|
exports["default"] = exports.Streamable = void 0;
|
|
4787
4777
|
|
|
4788
|
-
var _react = _interopRequireWildcard(React__default
|
|
4778
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4789
4779
|
|
|
4790
4780
|
|
|
4791
4781
|
|
|
@@ -4987,7 +4977,7 @@ exports["default"] = _default;
|
|
|
4987
4977
|
});
|
|
4988
4978
|
|
|
4989
4979
|
_commonjsHelpers.unwrapExports(Streamable_1);
|
|
4990
|
-
Streamable_1.Streamable;
|
|
4980
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
4991
4981
|
|
|
4992
4982
|
var Wistia_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4993
4983
|
|
|
@@ -4996,7 +4986,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4996
4986
|
});
|
|
4997
4987
|
exports["default"] = exports.Wistia = void 0;
|
|
4998
4988
|
|
|
4999
|
-
var _react = _interopRequireWildcard(React__default
|
|
4989
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5000
4990
|
|
|
5001
4991
|
|
|
5002
4992
|
|
|
@@ -5230,7 +5220,7 @@ exports["default"] = _default;
|
|
|
5230
5220
|
});
|
|
5231
5221
|
|
|
5232
5222
|
_commonjsHelpers.unwrapExports(Wistia_1);
|
|
5233
|
-
Wistia_1.Wistia;
|
|
5223
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5234
5224
|
|
|
5235
5225
|
var Twitch_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5236
5226
|
|
|
@@ -5239,7 +5229,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5239
5229
|
});
|
|
5240
5230
|
exports["default"] = exports.Twitch = void 0;
|
|
5241
5231
|
|
|
5242
|
-
var _react = _interopRequireWildcard(React__default
|
|
5232
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5243
5233
|
|
|
5244
5234
|
|
|
5245
5235
|
|
|
@@ -5446,7 +5436,7 @@ exports["default"] = _default;
|
|
|
5446
5436
|
});
|
|
5447
5437
|
|
|
5448
5438
|
_commonjsHelpers.unwrapExports(Twitch_1);
|
|
5449
|
-
Twitch_1.Twitch;
|
|
5439
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5450
5440
|
|
|
5451
5441
|
var DailyMotion_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5452
5442
|
|
|
@@ -5455,7 +5445,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5455
5445
|
});
|
|
5456
5446
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5457
5447
|
|
|
5458
|
-
var _react = _interopRequireWildcard(React__default
|
|
5448
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5459
5449
|
|
|
5460
5450
|
|
|
5461
5451
|
|
|
@@ -5682,7 +5672,7 @@ exports["default"] = _default;
|
|
|
5682
5672
|
});
|
|
5683
5673
|
|
|
5684
5674
|
_commonjsHelpers.unwrapExports(DailyMotion_1);
|
|
5685
|
-
DailyMotion_1.DailyMotion;
|
|
5675
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
5686
5676
|
|
|
5687
5677
|
var Mixcloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5688
5678
|
|
|
@@ -5691,7 +5681,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5691
5681
|
});
|
|
5692
5682
|
exports["default"] = exports.Mixcloud = void 0;
|
|
5693
5683
|
|
|
5694
|
-
var _react = _interopRequireWildcard(React__default
|
|
5684
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5695
5685
|
|
|
5696
5686
|
|
|
5697
5687
|
|
|
@@ -5881,7 +5871,7 @@ exports["default"] = _default;
|
|
|
5881
5871
|
});
|
|
5882
5872
|
|
|
5883
5873
|
_commonjsHelpers.unwrapExports(Mixcloud_1);
|
|
5884
|
-
Mixcloud_1.Mixcloud;
|
|
5874
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
5885
5875
|
|
|
5886
5876
|
var FilePlayer_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5887
5877
|
|
|
@@ -5890,7 +5880,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5890
5880
|
});
|
|
5891
5881
|
exports["default"] = exports.FilePlayer = void 0;
|
|
5892
5882
|
|
|
5893
|
-
var _react = _interopRequireWildcard(React__default
|
|
5883
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5894
5884
|
|
|
5895
5885
|
|
|
5896
5886
|
|
|
@@ -6415,7 +6405,7 @@ exports["default"] = _default;
|
|
|
6415
6405
|
});
|
|
6416
6406
|
|
|
6417
6407
|
_commonjsHelpers.unwrapExports(FilePlayer_1);
|
|
6418
|
-
FilePlayer_1.FilePlayer;
|
|
6408
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6419
6409
|
|
|
6420
6410
|
var players = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6421
6411
|
|
|
@@ -6457,7 +6447,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6457
6447
|
});
|
|
6458
6448
|
exports["default"] = void 0;
|
|
6459
6449
|
|
|
6460
|
-
var _react = _interopRequireWildcard(React__default
|
|
6450
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6461
6451
|
|
|
6462
6452
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6463
6453
|
|
|
@@ -6636,7 +6626,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6636
6626
|
});
|
|
6637
6627
|
exports["default"] = renderPreloadPlayers;
|
|
6638
6628
|
|
|
6639
|
-
var _react = _interopRequireDefault(React__default
|
|
6629
|
+
var _react = _interopRequireDefault(React__default);
|
|
6640
6630
|
|
|
6641
6631
|
var _Player = _interopRequireDefault(Player_1);
|
|
6642
6632
|
|
|
@@ -6775,7 +6765,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
6775
6765
|
});
|
|
6776
6766
|
exports["default"] = void 0;
|
|
6777
6767
|
|
|
6778
|
-
var _react = _interopRequireWildcard(React__default
|
|
6768
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6779
6769
|
|
|
6780
6770
|
|
|
6781
6771
|
|
|
@@ -7089,20 +7079,20 @@ var Audio = function Audio(_ref) {
|
|
|
7089
7079
|
var node = _ref.node;
|
|
7090
7080
|
|
|
7091
7081
|
if (node.uploadAudio) {
|
|
7092
|
-
return React__default
|
|
7082
|
+
return React__default.createElement(
|
|
7093
7083
|
'div',
|
|
7094
7084
|
{ className: 'audio d-block text-center mb-3' },
|
|
7095
|
-
React__default
|
|
7085
|
+
React__default.createElement(
|
|
7096
7086
|
'audio',
|
|
7097
7087
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
7098
|
-
React__default
|
|
7099
|
-
React__default
|
|
7088
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7089
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7100
7090
|
'Your browser does not support the audio element.'
|
|
7101
7091
|
),
|
|
7102
|
-
node.caption && React__default
|
|
7092
|
+
node.caption && React__default.createElement(
|
|
7103
7093
|
'p',
|
|
7104
7094
|
{ style: { fontSize: '.9rem' } },
|
|
7105
|
-
React__default
|
|
7095
|
+
React__default.createElement(
|
|
7106
7096
|
'em',
|
|
7107
7097
|
null,
|
|
7108
7098
|
node.caption
|
|
@@ -7112,15 +7102,15 @@ var Audio = function Audio(_ref) {
|
|
|
7112
7102
|
} else if (node.audioFilePth) {
|
|
7113
7103
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7114
7104
|
if (hostname === 'embeds.audioboom.com') {
|
|
7115
|
-
return React__default
|
|
7105
|
+
return React__default.createElement(
|
|
7116
7106
|
'div',
|
|
7117
7107
|
null,
|
|
7118
|
-
React__default
|
|
7108
|
+
React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7119
7109
|
' ',
|
|
7120
|
-
node.caption && React__default
|
|
7110
|
+
node.caption && React__default.createElement(
|
|
7121
7111
|
'p',
|
|
7122
7112
|
{ style: { fontSize: '.9rem' } },
|
|
7123
|
-
React__default
|
|
7113
|
+
React__default.createElement(
|
|
7124
7114
|
'em',
|
|
7125
7115
|
null,
|
|
7126
7116
|
node.caption
|
|
@@ -7128,14 +7118,14 @@ var Audio = function Audio(_ref) {
|
|
|
7128
7118
|
)
|
|
7129
7119
|
);
|
|
7130
7120
|
}
|
|
7131
|
-
return React__default
|
|
7121
|
+
return React__default.createElement(
|
|
7132
7122
|
'div',
|
|
7133
7123
|
{ className: 'audio' },
|
|
7134
|
-
React__default
|
|
7135
|
-
node.caption && React__default
|
|
7124
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
7125
|
+
node.caption && React__default.createElement(
|
|
7136
7126
|
'p',
|
|
7137
7127
|
{ style: { fontSize: '.9rem' } },
|
|
7138
|
-
React__default
|
|
7128
|
+
React__default.createElement(
|
|
7139
7129
|
'em',
|
|
7140
7130
|
null,
|
|
7141
7131
|
node.caption
|
|
@@ -7154,34 +7144,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7154
7144
|
var showAuthorDetails = arguments[7];
|
|
7155
7145
|
|
|
7156
7146
|
if (authorName && authorURL) {
|
|
7157
|
-
return React__default
|
|
7147
|
+
return React__default.createElement(
|
|
7158
7148
|
'span',
|
|
7159
7149
|
null,
|
|
7160
|
-
React__default
|
|
7150
|
+
React__default.createElement(
|
|
7161
7151
|
'a',
|
|
7162
7152
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7163
7153
|
authorName
|
|
7164
7154
|
),
|
|
7165
|
-
showAuthorDetails && React__default
|
|
7155
|
+
showAuthorDetails && React__default.createElement(
|
|
7166
7156
|
reactBootstrap.Card,
|
|
7167
7157
|
{ className: 'author-details-card-' + index },
|
|
7168
|
-
React__default
|
|
7158
|
+
React__default.createElement(
|
|
7169
7159
|
reactBootstrap.Row,
|
|
7170
7160
|
null,
|
|
7171
|
-
profileImage && React__default
|
|
7161
|
+
profileImage && React__default.createElement(
|
|
7172
7162
|
reactBootstrap.Col,
|
|
7173
7163
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7174
|
-
React__default
|
|
7164
|
+
React__default.createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7175
7165
|
),
|
|
7176
|
-
React__default
|
|
7166
|
+
React__default.createElement(
|
|
7177
7167
|
reactBootstrap.Col,
|
|
7178
7168
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7179
|
-
React__default
|
|
7169
|
+
React__default.createElement(
|
|
7180
7170
|
'div',
|
|
7181
7171
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7182
7172
|
authorName
|
|
7183
7173
|
),
|
|
7184
|
-
React__default
|
|
7174
|
+
React__default.createElement(
|
|
7185
7175
|
'p',
|
|
7186
7176
|
null,
|
|
7187
7177
|
biography
|
|
@@ -7189,7 +7179,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7189
7179
|
)
|
|
7190
7180
|
)
|
|
7191
7181
|
),
|
|
7192
|
-
React__default
|
|
7182
|
+
React__default.createElement(
|
|
7193
7183
|
'style',
|
|
7194
7184
|
{ jsx: 'true' },
|
|
7195
7185
|
'\n .author-details-card-' + index + ' {\n display: none;\n position: absolute;\n width: 90%;\n max-width: 450px;\n z-index: 9999;\n }\n .author-details-card-' + index + ' h5 {\n font-weight: 500;\n }\n .author-details-link-' + index + ':hover + .author-details-card-' + index + ', .author-details-card-' + index + ':hover {\n display: block;\n box-shadow: 0px 0px 5px #aaa;\n padding: 15px;\n border-radius: 5px;\n }\n '
|
|
@@ -7197,7 +7187,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7197
7187
|
length !== index + 1 && ', '
|
|
7198
7188
|
);
|
|
7199
7189
|
} else if (authorName) {
|
|
7200
|
-
return React__default
|
|
7190
|
+
return React__default.createElement(
|
|
7201
7191
|
'span',
|
|
7202
7192
|
{ key: index },
|
|
7203
7193
|
authorName,
|
|
@@ -7299,7 +7289,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7299
7289
|
if (vid.thumbnail && vid.thumbnail.asset) {
|
|
7300
7290
|
data.push({ title: vid.title, thumbnail: urlFor({ client: client, source: vid.thumbnail.asset }), url: vid.url });
|
|
7301
7291
|
} else {
|
|
7302
|
-
data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + index$
|
|
7292
|
+
data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + index$3.getYoutubeId(vid.url) + '/hqdefault.jpg', url: vid.url });
|
|
7303
7293
|
}
|
|
7304
7294
|
}
|
|
7305
7295
|
});
|
|
@@ -7359,7 +7349,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7359
7349
|
//Small pause before starting next video
|
|
7360
7350
|
setTimeout(function () {
|
|
7361
7351
|
//Youtube API to start video playing automatically
|
|
7362
|
-
var id = index$
|
|
7352
|
+
var id = index$3.getYoutubeId(vidUrl);
|
|
7363
7353
|
event.target.loadVideoById(id);
|
|
7364
7354
|
}, 1500);
|
|
7365
7355
|
};
|
|
@@ -7469,44 +7459,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7469
7459
|
}
|
|
7470
7460
|
};
|
|
7471
7461
|
|
|
7472
|
-
return React__default
|
|
7462
|
+
return React__default.createElement(
|
|
7473
7463
|
'div',
|
|
7474
7464
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7475
|
-
React__default
|
|
7465
|
+
React__default.createElement(
|
|
7476
7466
|
'div',
|
|
7477
7467
|
{ className: 'mt-2 mb-5' },
|
|
7478
|
-
series && React__default
|
|
7468
|
+
series && React__default.createElement(
|
|
7479
7469
|
'div',
|
|
7480
7470
|
{ style: { fontSize: '0.9rem' } },
|
|
7481
7471
|
article.title,
|
|
7482
7472
|
' - Episode ',
|
|
7483
7473
|
series
|
|
7484
7474
|
),
|
|
7485
|
-
Videos[series - 1] && React__default
|
|
7475
|
+
Videos[series - 1] && React__default.createElement(
|
|
7486
7476
|
'h1',
|
|
7487
7477
|
{ className: 'mb-3' },
|
|
7488
7478
|
Videos[series - 1].title
|
|
7489
7479
|
),
|
|
7490
|
-
React__default
|
|
7480
|
+
React__default.createElement(
|
|
7491
7481
|
'div',
|
|
7492
7482
|
null,
|
|
7493
7483
|
moment.moment(article.published).format('LL')
|
|
7494
7484
|
),
|
|
7495
|
-
React__default
|
|
7485
|
+
React__default.createElement(
|
|
7496
7486
|
'div',
|
|
7497
7487
|
{ className: 'mb-3' },
|
|
7498
7488
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7499
|
-
return React__default
|
|
7489
|
+
return React__default.createElement(
|
|
7500
7490
|
'span',
|
|
7501
7491
|
{ key: index },
|
|
7502
7492
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7503
7493
|
);
|
|
7504
7494
|
})
|
|
7505
7495
|
),
|
|
7506
|
-
React__default
|
|
7496
|
+
React__default.createElement(
|
|
7507
7497
|
'p',
|
|
7508
7498
|
null,
|
|
7509
|
-
React__default
|
|
7499
|
+
React__default.createElement(SocialShare, {
|
|
7510
7500
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7511
7501
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7512
7502
|
shareVia: meta.shareVia,
|
|
@@ -7521,22 +7511,22 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7521
7511
|
hideFacebook: meta.hideFBShare
|
|
7522
7512
|
})
|
|
7523
7513
|
),
|
|
7524
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default
|
|
7514
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default.createElement(
|
|
7525
7515
|
'p',
|
|
7526
7516
|
{ className: 'mb-3' },
|
|
7527
|
-
React__default
|
|
7517
|
+
React__default.createElement(
|
|
7528
7518
|
'em',
|
|
7529
7519
|
null,
|
|
7530
7520
|
Videos[series - 1].intro
|
|
7531
7521
|
)
|
|
7532
7522
|
)
|
|
7533
7523
|
),
|
|
7534
|
-
React__default
|
|
7524
|
+
React__default.createElement(
|
|
7535
7525
|
'div',
|
|
7536
7526
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7537
|
-
vidUrl && vidType == 'youtube' && React__default
|
|
7527
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7538
7528
|
className: 'fluid-iframe',
|
|
7539
|
-
videoId: index$
|
|
7529
|
+
videoId: index$3.getYoutubeId(vidUrl),
|
|
7540
7530
|
opts: opts,
|
|
7541
7531
|
onReady: handleOnReady,
|
|
7542
7532
|
onPlay: handleOnPlay,
|
|
@@ -7545,10 +7535,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7545
7535
|
return handleOnEnd(e);
|
|
7546
7536
|
}
|
|
7547
7537
|
}),
|
|
7548
|
-
vidUrl && vidType == 'mp4' && React__default
|
|
7549
|
-
vidUrl && vidType == 'brightcove' && React__default
|
|
7550
|
-
React__default
|
|
7551
|
-
series && React__default
|
|
7538
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7539
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7540
|
+
React__default.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7541
|
+
series && React__default.createElement(
|
|
7552
7542
|
'div',
|
|
7553
7543
|
{
|
|
7554
7544
|
className: 'vid-series',
|
|
@@ -7558,10 +7548,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7558
7548
|
maxHeight: '100%',
|
|
7559
7549
|
paddingBottom: '0'
|
|
7560
7550
|
} },
|
|
7561
|
-
React__default
|
|
7551
|
+
React__default.createElement(
|
|
7562
7552
|
'p',
|
|
7563
7553
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7564
|
-
React__default
|
|
7554
|
+
React__default.createElement(
|
|
7565
7555
|
'b',
|
|
7566
7556
|
{ style: { fontSize: '1.25em' } },
|
|
7567
7557
|
'Now Playing:'
|
|
@@ -7569,16 +7559,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7569
7559
|
' ',
|
|
7570
7560
|
seriesData[series ? series - 1 : 0].title
|
|
7571
7561
|
),
|
|
7572
|
-
vidUrl && React__default
|
|
7562
|
+
vidUrl && React__default.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7573
7563
|
)
|
|
7574
7564
|
),
|
|
7575
|
-
React__default
|
|
7576
|
-
React__default
|
|
7565
|
+
React__default.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7566
|
+
React__default.createElement(
|
|
7577
7567
|
'div',
|
|
7578
7568
|
{ className: 'vid-text' },
|
|
7579
|
-
Videos[series - 1] && Videos[series - 1].text && React__default
|
|
7569
|
+
Videos[series - 1] && Videos[series - 1].text && React__default.createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
7580
7570
|
),
|
|
7581
|
-
React__default
|
|
7571
|
+
React__default.createElement(
|
|
7582
7572
|
'style',
|
|
7583
7573
|
{ jsx: 'true' },
|
|
7584
7574
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -7586,14 +7576,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7586
7576
|
);
|
|
7587
7577
|
};
|
|
7588
7578
|
|
|
7589
|
-
var Poll
|
|
7590
|
-
var node = _ref.node
|
|
7591
|
-
_ref.client
|
|
7592
|
-
_ref.pageview
|
|
7593
|
-
_ref.videoAccountIDs
|
|
7594
|
-
|
|
7595
|
-
_ref.showVotes
|
|
7596
|
-
|
|
7579
|
+
var Poll = function Poll(_ref) {
|
|
7580
|
+
var node = _ref.node,
|
|
7581
|
+
client = _ref.client,
|
|
7582
|
+
pageview = _ref.pageview,
|
|
7583
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7584
|
+
onVote = _ref.onVote,
|
|
7585
|
+
_ref$showVotes = _ref.showVotes,
|
|
7586
|
+
getSerializers = _ref.getSerializers;
|
|
7597
7587
|
|
|
7598
7588
|
var _useState = React.useState(null),
|
|
7599
7589
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -7631,67 +7621,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
7631
7621
|
return acc;
|
|
7632
7622
|
}
|
|
7633
7623
|
}, 0);
|
|
7634
|
-
return React__default
|
|
7635
|
-
React__default
|
|
7624
|
+
return React__default.createElement(
|
|
7625
|
+
React__default.Fragment,
|
|
7636
7626
|
null,
|
|
7637
|
-
question && React__default
|
|
7627
|
+
question && React__default.createElement(
|
|
7638
7628
|
'p',
|
|
7639
7629
|
{ className: 'font-weight-bold' },
|
|
7640
7630
|
question
|
|
7641
7631
|
),
|
|
7642
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
7632
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
7643
7633
|
'form',
|
|
7644
7634
|
{ onSubmit: function onSubmit(e) {
|
|
7645
7635
|
return onSubmitPoll(e);
|
|
7646
7636
|
} },
|
|
7647
7637
|
choices && choices.map(function (choice) {
|
|
7648
|
-
return React__default
|
|
7638
|
+
return React__default.createElement(
|
|
7649
7639
|
'div',
|
|
7650
7640
|
{ key: choice._key },
|
|
7651
|
-
React__default
|
|
7641
|
+
React__default.createElement(
|
|
7652
7642
|
'label',
|
|
7653
7643
|
{ className: 'pl-2' },
|
|
7654
|
-
React__default
|
|
7644
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
7655
7645
|
return setSelectedChoice(e.target.value);
|
|
7656
7646
|
} }),
|
|
7657
7647
|
' ' + choice.choiceText
|
|
7658
7648
|
)
|
|
7659
7649
|
);
|
|
7660
7650
|
}),
|
|
7661
|
-
React__default
|
|
7651
|
+
React__default.createElement(
|
|
7662
7652
|
reactBootstrap.Button,
|
|
7663
7653
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7664
7654
|
'Vote'
|
|
7665
7655
|
)
|
|
7666
7656
|
),
|
|
7667
|
-
React__default
|
|
7657
|
+
React__default.createElement(
|
|
7668
7658
|
'div',
|
|
7669
7659
|
{ className: 'progress-container' },
|
|
7670
7660
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
7671
7661
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
7672
|
-
return React__default
|
|
7662
|
+
return React__default.createElement(
|
|
7673
7663
|
'div',
|
|
7674
7664
|
{ key: choice._key, className: 'mb-3' },
|
|
7675
|
-
React__default
|
|
7665
|
+
React__default.createElement(
|
|
7676
7666
|
'div',
|
|
7677
7667
|
{ className: 'correct-answer' },
|
|
7678
|
-
React__default
|
|
7668
|
+
React__default.createElement(
|
|
7679
7669
|
'div',
|
|
7680
7670
|
null,
|
|
7681
7671
|
choice.choiceText
|
|
7682
7672
|
),
|
|
7683
|
-
choice.choiceAnswer === true && React__default
|
|
7673
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
7684
7674
|
'div',
|
|
7685
7675
|
null,
|
|
7686
|
-
React__default
|
|
7676
|
+
React__default.createElement(
|
|
7687
7677
|
'span',
|
|
7688
7678
|
{ style: { color: 'limegreen' } },
|
|
7689
7679
|
'Correct!'
|
|
7690
7680
|
)
|
|
7691
7681
|
)
|
|
7692
7682
|
),
|
|
7693
|
-
React__default
|
|
7694
|
-
React__default
|
|
7683
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
7684
|
+
React__default.createElement(
|
|
7695
7685
|
'span',
|
|
7696
7686
|
{ className: 'float-right' },
|
|
7697
7687
|
percentage,
|
|
@@ -7702,14 +7692,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
7702
7692
|
);
|
|
7703
7693
|
})
|
|
7704
7694
|
),
|
|
7705
|
-
showAnswer && React__default
|
|
7695
|
+
showAnswer && React__default.createElement(
|
|
7706
7696
|
'h4',
|
|
7707
7697
|
{ className: 'text-center small p-3' },
|
|
7708
7698
|
'Total Votes: ',
|
|
7709
7699
|
choicesTotalCount
|
|
7710
7700
|
),
|
|
7711
|
-
showAnswer && response && React__default
|
|
7712
|
-
React__default
|
|
7701
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7702
|
+
React__default.createElement(
|
|
7713
7703
|
'style',
|
|
7714
7704
|
{ jsx: 'true' },
|
|
7715
7705
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -7727,22 +7717,22 @@ core_getIteratorMethod._export(core_getIteratorMethod._export.S, 'Object', {
|
|
|
7727
7717
|
}
|
|
7728
7718
|
});
|
|
7729
7719
|
|
|
7730
|
-
var values
|
|
7720
|
+
var values = core_getIteratorMethod._core.Object.values;
|
|
7731
7721
|
|
|
7732
|
-
var values = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
7733
|
-
module.exports = { "default": values
|
|
7722
|
+
var values$1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
7723
|
+
module.exports = { "default": values, __esModule: true };
|
|
7734
7724
|
});
|
|
7735
7725
|
|
|
7736
|
-
var _Object$values = _commonjsHelpers.unwrapExports(values);
|
|
7726
|
+
var _Object$values = _commonjsHelpers.unwrapExports(values$1);
|
|
7737
7727
|
|
|
7738
|
-
var Poll = function Poll(_ref) {
|
|
7739
|
-
var node = _ref.node
|
|
7740
|
-
_ref.client
|
|
7741
|
-
_ref.pageview
|
|
7742
|
-
_ref.videoAccountIDs
|
|
7743
|
-
|
|
7744
|
-
_ref.showVotes
|
|
7745
|
-
|
|
7728
|
+
var Poll$1 = function Poll(_ref) {
|
|
7729
|
+
var node = _ref.node,
|
|
7730
|
+
client = _ref.client,
|
|
7731
|
+
pageview = _ref.pageview,
|
|
7732
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7733
|
+
onVote = _ref.onVote,
|
|
7734
|
+
_ref$showVotes = _ref.showVotes,
|
|
7735
|
+
getSerializers = _ref.getSerializers;
|
|
7746
7736
|
|
|
7747
7737
|
var _useState = React.useState(null),
|
|
7748
7738
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -7808,67 +7798,67 @@ var Poll = function Poll(_ref) {
|
|
|
7808
7798
|
return acc;
|
|
7809
7799
|
}
|
|
7810
7800
|
}, 0);
|
|
7811
|
-
return React__default
|
|
7812
|
-
React__default
|
|
7801
|
+
return React__default.createElement(
|
|
7802
|
+
React__default.Fragment,
|
|
7813
7803
|
null,
|
|
7814
|
-
question && React__default
|
|
7804
|
+
question && React__default.createElement(
|
|
7815
7805
|
'p',
|
|
7816
7806
|
{ className: 'font-weight-bold' },
|
|
7817
7807
|
question
|
|
7818
7808
|
),
|
|
7819
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
7809
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
7820
7810
|
'form',
|
|
7821
7811
|
{ onSubmit: function onSubmit(e) {
|
|
7822
7812
|
return onSubmitPoll(e);
|
|
7823
7813
|
} },
|
|
7824
7814
|
choices && choices.map(function (choice) {
|
|
7825
|
-
return React__default
|
|
7815
|
+
return React__default.createElement(
|
|
7826
7816
|
'div',
|
|
7827
7817
|
{ key: choice._key },
|
|
7828
|
-
React__default
|
|
7818
|
+
React__default.createElement(
|
|
7829
7819
|
'label',
|
|
7830
7820
|
{ className: 'pl-2' },
|
|
7831
|
-
React__default
|
|
7821
|
+
React__default.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
7832
7822
|
return setSelectedChoice(e.target.value);
|
|
7833
7823
|
} }),
|
|
7834
7824
|
' ' + choice.choiceText
|
|
7835
7825
|
)
|
|
7836
7826
|
);
|
|
7837
7827
|
}),
|
|
7838
|
-
React__default
|
|
7828
|
+
React__default.createElement(
|
|
7839
7829
|
reactBootstrap.Button,
|
|
7840
7830
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7841
7831
|
'Vote'
|
|
7842
7832
|
)
|
|
7843
7833
|
),
|
|
7844
|
-
React__default
|
|
7834
|
+
React__default.createElement(
|
|
7845
7835
|
'div',
|
|
7846
7836
|
{ className: 'progress-container' },
|
|
7847
7837
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
7848
7838
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
7849
|
-
return React__default
|
|
7839
|
+
return React__default.createElement(
|
|
7850
7840
|
'div',
|
|
7851
7841
|
{ key: choice._key, className: 'mb-3' },
|
|
7852
|
-
React__default
|
|
7842
|
+
React__default.createElement(
|
|
7853
7843
|
'div',
|
|
7854
7844
|
{ className: 'correct-answer' },
|
|
7855
|
-
React__default
|
|
7845
|
+
React__default.createElement(
|
|
7856
7846
|
'div',
|
|
7857
7847
|
null,
|
|
7858
7848
|
choice.choiceText
|
|
7859
7849
|
),
|
|
7860
|
-
choice.choiceAnswer === true && React__default
|
|
7850
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
7861
7851
|
'div',
|
|
7862
7852
|
null,
|
|
7863
|
-
React__default
|
|
7853
|
+
React__default.createElement(
|
|
7864
7854
|
'span',
|
|
7865
7855
|
{ style: { color: 'limegreen' } },
|
|
7866
7856
|
'Correct!'
|
|
7867
7857
|
)
|
|
7868
7858
|
)
|
|
7869
7859
|
),
|
|
7870
|
-
React__default
|
|
7871
|
-
React__default
|
|
7860
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
7861
|
+
React__default.createElement(
|
|
7872
7862
|
'span',
|
|
7873
7863
|
{ className: 'float-right' },
|
|
7874
7864
|
percentage,
|
|
@@ -7879,14 +7869,14 @@ var Poll = function Poll(_ref) {
|
|
|
7879
7869
|
);
|
|
7880
7870
|
})
|
|
7881
7871
|
),
|
|
7882
|
-
showAnswer && React__default
|
|
7872
|
+
showAnswer && React__default.createElement(
|
|
7883
7873
|
'h4',
|
|
7884
7874
|
{ className: 'text-center small p-3' },
|
|
7885
7875
|
'Total Votes: ',
|
|
7886
7876
|
choicesTotalCount
|
|
7887
7877
|
),
|
|
7888
|
-
showAnswer && response && React__default
|
|
7889
|
-
React__default
|
|
7878
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7879
|
+
React__default.createElement(
|
|
7890
7880
|
'style',
|
|
7891
7881
|
{ jsx: 'true' },
|
|
7892
7882
|
'\n .correct-answer {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 0 0.5rem;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8012,34 +8002,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8012
8002
|
};
|
|
8013
8003
|
|
|
8014
8004
|
var renderPagination = function renderPagination() {
|
|
8015
|
-
return React__default
|
|
8016
|
-
|
|
8005
|
+
return React__default.createElement(
|
|
8006
|
+
Pagination,
|
|
8017
8007
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8018
|
-
React__default
|
|
8008
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
8019
8009
|
return changePage('first');
|
|
8020
8010
|
}, disabled: currentPage === 1 }),
|
|
8021
|
-
React__default
|
|
8011
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8022
8012
|
return changePage('prev');
|
|
8023
8013
|
}, disabled: currentPage === 1 }),
|
|
8024
|
-
React__default
|
|
8014
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8025
8015
|
return renderNewPages('prev');
|
|
8026
8016
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8027
8017
|
pages.map(function (page) {
|
|
8028
|
-
return React__default
|
|
8029
|
-
|
|
8018
|
+
return React__default.createElement(
|
|
8019
|
+
Pagination.Item,
|
|
8030
8020
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
8031
8021
|
return changePage(page);
|
|
8032
8022
|
} },
|
|
8033
8023
|
page
|
|
8034
8024
|
);
|
|
8035
8025
|
}),
|
|
8036
|
-
React__default
|
|
8026
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8037
8027
|
return renderNewPages('next');
|
|
8038
8028
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8039
|
-
React__default
|
|
8029
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8040
8030
|
return changePage('next');
|
|
8041
8031
|
}, disabled: currentPage === pageCount }),
|
|
8042
|
-
React__default
|
|
8032
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8043
8033
|
return changePage('last');
|
|
8044
8034
|
}, disabled: currentPage === pageCount })
|
|
8045
8035
|
);
|
|
@@ -8122,51 +8112,51 @@ var Quiz = function Quiz(_ref) {
|
|
|
8122
8112
|
}
|
|
8123
8113
|
};
|
|
8124
8114
|
|
|
8125
|
-
return React__default
|
|
8126
|
-
React__default
|
|
8115
|
+
return React__default.createElement(
|
|
8116
|
+
React__default.Fragment,
|
|
8127
8117
|
null,
|
|
8128
|
-
quizzes[currentPage - 1] && React__default
|
|
8129
|
-
React__default
|
|
8118
|
+
quizzes[currentPage - 1] && React__default.createElement(
|
|
8119
|
+
React__default.Fragment,
|
|
8130
8120
|
null,
|
|
8131
|
-
React__default
|
|
8132
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default
|
|
8121
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8122
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default.createElement(
|
|
8133
8123
|
'form',
|
|
8134
8124
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8135
8125
|
return e.preventDefault();
|
|
8136
8126
|
} },
|
|
8137
8127
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8138
|
-
return React__default
|
|
8128
|
+
return React__default.createElement(
|
|
8139
8129
|
'div',
|
|
8140
8130
|
{ key: answer._key },
|
|
8141
|
-
React__default
|
|
8131
|
+
React__default.createElement(
|
|
8142
8132
|
'label',
|
|
8143
8133
|
{ className: 'pl-2' },
|
|
8144
|
-
quizzes[currentPage - 1].multiAnswer ? React__default
|
|
8134
|
+
quizzes[currentPage - 1].multiAnswer ? React__default.createElement('input', { type: 'checkbox', id: 'male', disabled: isDisabled, name: answer._type, value: answer._key }) : React__default.createElement('input', { type: 'radio', id: 'male', name: answer._type, value: answer._key }),
|
|
8145
8135
|
' ' + answer.answerText
|
|
8146
8136
|
)
|
|
8147
8137
|
);
|
|
8148
8138
|
})
|
|
8149
8139
|
)
|
|
8150
8140
|
),
|
|
8151
|
-
!showAnswer && React__default
|
|
8152
|
-
|
|
8141
|
+
!showAnswer && React__default.createElement(
|
|
8142
|
+
Button,
|
|
8153
8143
|
{ onClick: function onClick() {
|
|
8154
8144
|
return checkAnswers();
|
|
8155
8145
|
}, variant: 'info', block: true },
|
|
8156
8146
|
'Please click here for answer'
|
|
8157
8147
|
),
|
|
8158
|
-
quizzes[currentPage - 1] && showAnswer && React__default
|
|
8159
|
-
React__default
|
|
8148
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
8149
|
+
React__default.Fragment,
|
|
8160
8150
|
null,
|
|
8161
|
-
React__default
|
|
8151
|
+
React__default.createElement(
|
|
8162
8152
|
'h4',
|
|
8163
8153
|
null,
|
|
8164
8154
|
'Answer:'
|
|
8165
8155
|
),
|
|
8166
|
-
quizzes[currentPage - 1].answer && React__default
|
|
8156
|
+
quizzes[currentPage - 1].answer && React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8167
8157
|
),
|
|
8168
|
-
React__default
|
|
8169
|
-
pageCount > 1 && React__default
|
|
8158
|
+
React__default.createElement('br', null),
|
|
8159
|
+
pageCount > 1 && React__default.createElement(
|
|
8170
8160
|
'div',
|
|
8171
8161
|
{ className: 'd-flex justify-content-center' },
|
|
8172
8162
|
renderPagination()
|
|
@@ -8177,19 +8167,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8177
8167
|
var Leads = function Leads(_ref) {
|
|
8178
8168
|
var url = _ref.url;
|
|
8179
8169
|
|
|
8180
|
-
return React__default
|
|
8170
|
+
return React__default.createElement(
|
|
8181
8171
|
'div',
|
|
8182
8172
|
{ className: 'd-block text-center mb-3' },
|
|
8183
|
-
React__default
|
|
8173
|
+
React__default.createElement(
|
|
8184
8174
|
'style',
|
|
8185
8175
|
{ jsx: 'true' },
|
|
8186
8176
|
'\n @media screen and (max-width: 1190px) {\n .leads-block {\n min-height: 2000px;\n }\n }\n @media screen and (min-width: 1191px) {\n .leads-block {\n min-height: 1500px;\n }\n }\n '
|
|
8187
8177
|
),
|
|
8188
|
-
url && React__default
|
|
8178
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8189
8179
|
);
|
|
8190
8180
|
};
|
|
8191
8181
|
|
|
8192
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8182
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8193
8183
|
var slides = _ref.node.slides,
|
|
8194
8184
|
client = _ref.client,
|
|
8195
8185
|
pageview = _ref.pageview,
|
|
@@ -8225,53 +8215,53 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8225
8215
|
setCarouselIndex(selectedIndex);
|
|
8226
8216
|
};
|
|
8227
8217
|
|
|
8228
|
-
return React__default
|
|
8218
|
+
return React__default.createElement(
|
|
8229
8219
|
'div',
|
|
8230
8220
|
{ className: 'mt-3 mb-4' },
|
|
8231
|
-
React__default
|
|
8221
|
+
React__default.createElement(
|
|
8232
8222
|
reactBootstrap.Carousel,
|
|
8233
8223
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8234
8224
|
slides && slides.map(function (slide) {
|
|
8235
8225
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8236
|
-
return React__default
|
|
8226
|
+
return React__default.createElement(
|
|
8237
8227
|
reactBootstrap.Carousel.Item,
|
|
8238
8228
|
{ key: slide._key },
|
|
8239
|
-
React__default
|
|
8229
|
+
React__default.createElement(
|
|
8240
8230
|
'a',
|
|
8241
8231
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8242
|
-
React__default
|
|
8232
|
+
React__default.createElement(
|
|
8243
8233
|
'div',
|
|
8244
8234
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8245
|
-
React__default
|
|
8235
|
+
React__default.createElement(
|
|
8246
8236
|
index$2.LazyLoad,
|
|
8247
8237
|
null,
|
|
8248
|
-
React__default
|
|
8238
|
+
React__default.createElement(
|
|
8249
8239
|
'picture',
|
|
8250
8240
|
null,
|
|
8251
|
-
React__default
|
|
8252
|
-
React__default
|
|
8253
|
-
React__default
|
|
8254
|
-
React__default
|
|
8241
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8242
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8243
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8244
|
+
React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8255
8245
|
)
|
|
8256
8246
|
)
|
|
8257
8247
|
)
|
|
8258
8248
|
),
|
|
8259
|
-
React__default
|
|
8249
|
+
React__default.createElement(
|
|
8260
8250
|
'div',
|
|
8261
8251
|
{ className: 'p-2' },
|
|
8262
|
-
slide.slideshowImage.caption && React__default
|
|
8252
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
8263
8253
|
'h3',
|
|
8264
8254
|
{ style: { padding: '0px' } },
|
|
8265
8255
|
slide.slideshowImage.caption
|
|
8266
8256
|
),
|
|
8267
|
-
slide.description && React__default
|
|
8257
|
+
slide.description && React__default.createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8268
8258
|
)
|
|
8269
8259
|
);
|
|
8270
8260
|
}
|
|
8271
8261
|
return null;
|
|
8272
8262
|
})
|
|
8273
8263
|
),
|
|
8274
|
-
React__default
|
|
8264
|
+
React__default.createElement(
|
|
8275
8265
|
'style',
|
|
8276
8266
|
{ jsx: 'true' },
|
|
8277
8267
|
'\n .embed-item-img {\n max-width: 100%;\n max-height: 750px;\n }\n .carousel-indicators {\n bottom: -2.5rem !important;\n }\n .carousel-indicators li {\n width: 20px;\n height: 20px;\n border-radius: 50% !important;\n background-color: var(--secondary);\n }\n .carousel-control-prev {\n justify-content: flex-start;\n }\n .carousel-control-next {\n justify-content: flex-end;\n }\n '
|
|
@@ -8290,10 +8280,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8290
8280
|
sizes = _props$node.sizes,
|
|
8291
8281
|
sizeMapping = _props$node.sizeMapping;
|
|
8292
8282
|
|
|
8293
|
-
return React__default
|
|
8283
|
+
return React__default.createElement(
|
|
8294
8284
|
'div',
|
|
8295
8285
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8296
|
-
React__default
|
|
8286
|
+
React__default.createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8297
8287
|
);
|
|
8298
8288
|
};
|
|
8299
8289
|
|
|
@@ -8304,15 +8294,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8304
8294
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8305
8295
|
|
|
8306
8296
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8307
|
-
return React__default
|
|
8297
|
+
return React__default.createElement(
|
|
8308
8298
|
'section',
|
|
8309
8299
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8310
|
-
Caption && React__default
|
|
8300
|
+
Caption && React__default.createElement(
|
|
8311
8301
|
'h4',
|
|
8312
8302
|
{ className: 'formstack-caption' },
|
|
8313
8303
|
Caption
|
|
8314
8304
|
),
|
|
8315
|
-
React__default
|
|
8305
|
+
React__default.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8316
8306
|
);
|
|
8317
8307
|
};
|
|
8318
8308
|
|
|
@@ -8328,36 +8318,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8328
8318
|
}
|
|
8329
8319
|
});
|
|
8330
8320
|
if (medias && medias.length > 0) {
|
|
8331
|
-
return React__default
|
|
8321
|
+
return React__default.createElement(
|
|
8332
8322
|
'div',
|
|
8333
8323
|
{ className: 'multi-media-container' },
|
|
8334
|
-
React__default
|
|
8335
|
-
|
|
8324
|
+
React__default.createElement(
|
|
8325
|
+
Row,
|
|
8336
8326
|
{ noGutters: true },
|
|
8337
8327
|
medias.map(function (media) {
|
|
8338
|
-
return React__default
|
|
8339
|
-
|
|
8328
|
+
return React__default.createElement(
|
|
8329
|
+
Col,
|
|
8340
8330
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8341
|
-
React__default
|
|
8331
|
+
React__default.createElement(
|
|
8342
8332
|
'a',
|
|
8343
8333
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8344
8334
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8345
|
-
React__default
|
|
8335
|
+
React__default.createElement(
|
|
8346
8336
|
'div',
|
|
8347
8337
|
{ className: 'multi-media-image-container' },
|
|
8348
|
-
imageBox && React__default
|
|
8338
|
+
imageBox && React__default.createElement(
|
|
8349
8339
|
index$2.LazyLoad,
|
|
8350
8340
|
{ once: true },
|
|
8351
|
-
React__default
|
|
8341
|
+
React__default.createElement(
|
|
8352
8342
|
'picture',
|
|
8353
8343
|
null,
|
|
8354
|
-
React__default
|
|
8355
|
-
React__default
|
|
8356
|
-
React__default
|
|
8357
|
-
React__default
|
|
8344
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8345
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8346
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8347
|
+
React__default.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8358
8348
|
)
|
|
8359
8349
|
),
|
|
8360
|
-
media.caption && React__default
|
|
8350
|
+
media.caption && React__default.createElement(
|
|
8361
8351
|
'span',
|
|
8362
8352
|
{ className: 'multi-media-caption' },
|
|
8363
8353
|
media.caption
|
|
@@ -8367,7 +8357,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8367
8357
|
);
|
|
8368
8358
|
})
|
|
8369
8359
|
),
|
|
8370
|
-
React__default
|
|
8360
|
+
React__default.createElement(
|
|
8371
8361
|
'style',
|
|
8372
8362
|
{ jsx: 'true' },
|
|
8373
8363
|
'\n .multi-media-container {\n margin-bottom: 1rem;\n }\n .multi-media-image {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-media-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-media-image[images-count=\'4\'] {\n height: 100px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 130px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 200px;\n }\n .multi-media-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-media-image[images-count=\'4\'] {\n height: 150px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 200px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 300px;\n }\n }\n\n .multi-media-caption {\n font-size: 90%;\n color: #6c757d;\n }\n '
|
|
@@ -8378,12 +8368,12 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8378
8368
|
};
|
|
8379
8369
|
|
|
8380
8370
|
var InscreenSensor = function (_React$Component) {
|
|
8381
|
-
inherits._inherits(InscreenSensor, _React$Component);
|
|
8371
|
+
inherits$1._inherits(InscreenSensor, _React$Component);
|
|
8382
8372
|
|
|
8383
8373
|
function InscreenSensor(props) {
|
|
8384
|
-
inherits._classCallCheck(this, InscreenSensor);
|
|
8374
|
+
inherits$1._classCallCheck(this, InscreenSensor);
|
|
8385
8375
|
|
|
8386
|
-
var _this = inherits._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits._Object$getPrototypeOf(InscreenSensor)).call(this, props));
|
|
8376
|
+
var _this = inherits$1._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits$1._Object$getPrototypeOf(InscreenSensor)).call(this, props));
|
|
8387
8377
|
|
|
8388
8378
|
_this.scrollHandler = function () {
|
|
8389
8379
|
var visible = _this.checkInside();
|
|
@@ -8414,12 +8404,12 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8414
8404
|
}
|
|
8415
8405
|
};
|
|
8416
8406
|
|
|
8417
|
-
_this.wraperRef = React__default
|
|
8407
|
+
_this.wraperRef = React__default.createRef();
|
|
8418
8408
|
_this.visible = false;
|
|
8419
8409
|
return _this;
|
|
8420
8410
|
}
|
|
8421
8411
|
|
|
8422
|
-
inherits._createClass(InscreenSensor, [{
|
|
8412
|
+
inherits$1._createClass(InscreenSensor, [{
|
|
8423
8413
|
key: 'componentDidMount',
|
|
8424
8414
|
value: function componentDidMount() {
|
|
8425
8415
|
this.visible = this.checkInside();
|
|
@@ -8442,7 +8432,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8442
8432
|
_props$id = _props.id,
|
|
8443
8433
|
id = _props$id === undefined ? '' : _props$id;
|
|
8444
8434
|
|
|
8445
|
-
return React__default
|
|
8435
|
+
return React__default.createElement(
|
|
8446
8436
|
'div',
|
|
8447
8437
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8448
8438
|
this.props.children
|
|
@@ -8451,7 +8441,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8451
8441
|
}]);
|
|
8452
8442
|
|
|
8453
8443
|
return InscreenSensor;
|
|
8454
|
-
}(React__default
|
|
8444
|
+
}(React__default.Component);
|
|
8455
8445
|
|
|
8456
8446
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8457
8447
|
var nodes = _ref.nodes,
|
|
@@ -8560,33 +8550,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8560
8550
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
8561
8551
|
var showReading = show ? 'showReading' : '';
|
|
8562
8552
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8563
|
-
return React__default
|
|
8553
|
+
return React__default.createElement(
|
|
8564
8554
|
'div',
|
|
8565
8555
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8566
|
-
React__default
|
|
8556
|
+
React__default.createElement(
|
|
8567
8557
|
'a',
|
|
8568
8558
|
{ onClick: function onClick(e) {
|
|
8569
8559
|
return articleCardClickHandler(e);
|
|
8570
8560
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleIndex': '' + index, 'data-articleid': '' + article.param.current },
|
|
8571
|
-
React__default
|
|
8561
|
+
React__default.createElement(
|
|
8572
8562
|
'div',
|
|
8573
8563
|
{ className: 'prevNext-thumbnail' },
|
|
8574
|
-
React__default
|
|
8575
|
-
React__default
|
|
8564
|
+
React__default.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
8565
|
+
React__default.createElement(
|
|
8576
8566
|
'div',
|
|
8577
8567
|
{ className: 'prevNext-reading ' + showReading },
|
|
8578
8568
|
articleLabel
|
|
8579
8569
|
)
|
|
8580
8570
|
),
|
|
8581
|
-
React__default
|
|
8571
|
+
React__default.createElement(
|
|
8582
8572
|
'div',
|
|
8583
8573
|
{ className: 'prevNext-summary' },
|
|
8584
|
-
React__default
|
|
8574
|
+
React__default.createElement(
|
|
8585
8575
|
'div',
|
|
8586
8576
|
{ className: 'prevNext-publishDate' },
|
|
8587
8577
|
moment.moment(article.published).format('LL')
|
|
8588
8578
|
),
|
|
8589
|
-
React__default
|
|
8579
|
+
React__default.createElement(
|
|
8590
8580
|
'h2',
|
|
8591
8581
|
{ className: 'prevNext-title' },
|
|
8592
8582
|
article.title
|
|
@@ -8635,7 +8625,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8635
8625
|
|
|
8636
8626
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
8637
8627
|
if (biography) {
|
|
8638
|
-
return React__default
|
|
8628
|
+
return React__default.createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
8639
8629
|
}
|
|
8640
8630
|
};
|
|
8641
8631
|
|
|
@@ -8793,38 +8783,38 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8793
8783
|
setSensorVisible(false);
|
|
8794
8784
|
};
|
|
8795
8785
|
|
|
8796
|
-
return React__default
|
|
8797
|
-
React__default
|
|
8786
|
+
return React__default.createElement(
|
|
8787
|
+
React__default.Fragment,
|
|
8798
8788
|
null,
|
|
8799
|
-
React__default
|
|
8789
|
+
React__default.createElement(
|
|
8800
8790
|
'div',
|
|
8801
8791
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
8802
|
-
React__default
|
|
8792
|
+
React__default.createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
8803
8793
|
return handleArrowClick();
|
|
8804
8794
|
} })
|
|
8805
8795
|
),
|
|
8806
|
-
React__default
|
|
8807
|
-
React__default
|
|
8796
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' }),
|
|
8797
|
+
React__default.createElement(
|
|
8808
8798
|
'div',
|
|
8809
8799
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8810
|
-
React__default
|
|
8800
|
+
React__default.createElement(
|
|
8811
8801
|
'h5',
|
|
8812
8802
|
{ className: 'objective-title' },
|
|
8813
8803
|
nodes.seriesTitle
|
|
8814
8804
|
),
|
|
8815
|
-
React__default
|
|
8805
|
+
React__default.createElement(
|
|
8816
8806
|
'div',
|
|
8817
8807
|
{ className: 'prevNextWrapper' },
|
|
8818
8808
|
PrevNextCards(false, -1)
|
|
8819
8809
|
)
|
|
8820
8810
|
),
|
|
8821
|
-
React__default
|
|
8822
|
-
React__default
|
|
8811
|
+
React__default.createElement('hr', { className: 'article-seperater' }),
|
|
8812
|
+
React__default.createElement(
|
|
8823
8813
|
'div',
|
|
8824
8814
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8825
8815
|
main.main_43 && Ads.map(function (ad, index) {
|
|
8826
8816
|
if (index === 0) {
|
|
8827
|
-
return React__default
|
|
8817
|
+
return React__default.createElement(
|
|
8828
8818
|
'div',
|
|
8829
8819
|
{
|
|
8830
8820
|
key: 'addid-1',
|
|
@@ -8844,14 +8834,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8844
8834
|
}
|
|
8845
8835
|
})
|
|
8846
8836
|
),
|
|
8847
|
-
React__default
|
|
8837
|
+
React__default.createElement(
|
|
8848
8838
|
'div',
|
|
8849
8839
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
8850
8840
|
Articles.map(function (article, index) {
|
|
8851
|
-
return React__default
|
|
8841
|
+
return React__default.createElement(
|
|
8852
8842
|
'div',
|
|
8853
8843
|
{ key: article.title },
|
|
8854
|
-
React__default
|
|
8844
|
+
React__default.createElement(
|
|
8855
8845
|
InscreenSensor,
|
|
8856
8846
|
{
|
|
8857
8847
|
visible: sensorVisible,
|
|
@@ -8869,84 +8859,84 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8869
8859
|
}
|
|
8870
8860
|
}
|
|
8871
8861
|
} },
|
|
8872
|
-
React__default
|
|
8873
|
-
|
|
8862
|
+
React__default.createElement(
|
|
8863
|
+
Head,
|
|
8874
8864
|
null,
|
|
8875
|
-
currentTitle !== null && React__default
|
|
8865
|
+
currentTitle !== null && React__default.createElement(
|
|
8876
8866
|
'title',
|
|
8877
8867
|
{ key: 'title' },
|
|
8878
8868
|
currentTitle
|
|
8879
8869
|
),
|
|
8880
|
-
currentSummary !== null && React__default
|
|
8881
|
-
currentURL !== null && React__default
|
|
8882
|
-
currentTitle !== null && React__default
|
|
8883
|
-
currentThumbnail !== null && React__default
|
|
8884
|
-
currentSummary !== null && React__default
|
|
8885
|
-
currentTitle !== null && React__default
|
|
8886
|
-
currentThumbnail !== null && React__default
|
|
8887
|
-
currentSummary !== null && React__default
|
|
8870
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
8871
|
+
currentURL !== null && React__default.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
8872
|
+
currentTitle !== null && React__default.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
8873
|
+
currentThumbnail !== null && React__default.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
8874
|
+
currentSummary !== null && React__default.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
8875
|
+
currentTitle !== null && React__default.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
8876
|
+
currentThumbnail !== null && React__default.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
8877
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
8888
8878
|
),
|
|
8889
|
-
React__default
|
|
8879
|
+
React__default.createElement(
|
|
8890
8880
|
'article',
|
|
8891
8881
|
{ className: 'article-wrapper' },
|
|
8892
|
-
React__default
|
|
8882
|
+
React__default.createElement(
|
|
8893
8883
|
'div',
|
|
8894
8884
|
{ className: 'article-publishDate' },
|
|
8895
8885
|
moment.moment(article.published).format('LL')
|
|
8896
8886
|
),
|
|
8897
|
-
React__default
|
|
8887
|
+
React__default.createElement(
|
|
8898
8888
|
'div',
|
|
8899
8889
|
{ className: 'author-details-wrapper' },
|
|
8900
8890
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
8901
|
-
return React__default
|
|
8891
|
+
return React__default.createElement(
|
|
8902
8892
|
'span',
|
|
8903
8893
|
{ key: index },
|
|
8904
8894
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
8905
8895
|
);
|
|
8906
8896
|
})
|
|
8907
8897
|
),
|
|
8908
|
-
React__default
|
|
8898
|
+
React__default.createElement(
|
|
8909
8899
|
'h2',
|
|
8910
8900
|
{ className: 'article-title' },
|
|
8911
8901
|
article.title
|
|
8912
8902
|
),
|
|
8913
|
-
React__default
|
|
8903
|
+
React__default.createElement(
|
|
8914
8904
|
'div',
|
|
8915
8905
|
{ className: 'mt-2 mb-2' },
|
|
8916
|
-
React__default
|
|
8906
|
+
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
8917
8907
|
serializers: getSerializers,
|
|
8918
8908
|
videoAccountIDs: accountIDs,
|
|
8919
8909
|
blocks: article.text,
|
|
8920
8910
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
8921
8911
|
}, client.config())),
|
|
8922
|
-
React__default
|
|
8912
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' })
|
|
8923
8913
|
),
|
|
8924
|
-
Articles.length > 1 && React__default
|
|
8925
|
-
React__default
|
|
8914
|
+
Articles.length > 1 && React__default.createElement(
|
|
8915
|
+
React__default.Fragment,
|
|
8926
8916
|
null,
|
|
8927
|
-
React__default
|
|
8917
|
+
React__default.createElement(
|
|
8928
8918
|
'div',
|
|
8929
8919
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8930
|
-
React__default
|
|
8920
|
+
React__default.createElement(
|
|
8931
8921
|
'h5',
|
|
8932
8922
|
{ className: 'objective-title' },
|
|
8933
8923
|
nodes.seriesTitle
|
|
8934
8924
|
),
|
|
8935
|
-
React__default
|
|
8925
|
+
React__default.createElement(
|
|
8936
8926
|
'div',
|
|
8937
8927
|
{ className: 'prevNextWrapper' },
|
|
8938
8928
|
PrevNextCards(true, index)
|
|
8939
8929
|
)
|
|
8940
8930
|
),
|
|
8941
|
-
React__default
|
|
8931
|
+
React__default.createElement('hr', { className: 'article-seperater' })
|
|
8942
8932
|
)
|
|
8943
8933
|
),
|
|
8944
|
-
React__default
|
|
8934
|
+
React__default.createElement(
|
|
8945
8935
|
'div',
|
|
8946
8936
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8947
8937
|
main.main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
8948
8938
|
if (innerIndex === 0) {
|
|
8949
|
-
return React__default
|
|
8939
|
+
return React__default.createElement(
|
|
8950
8940
|
'div',
|
|
8951
8941
|
{
|
|
8952
8942
|
key: 'addid-' + (index + 2),
|
|
@@ -8969,7 +8959,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8969
8959
|
)
|
|
8970
8960
|
);
|
|
8971
8961
|
}),
|
|
8972
|
-
React__default
|
|
8962
|
+
React__default.createElement(
|
|
8973
8963
|
'style',
|
|
8974
8964
|
{ jsx: 'true' },
|
|
8975
8965
|
'\n .scrollToTopArrow {\n position: fixed;\n top: 150px;\n display: flex;\n justify-content: center;\n width: ' + contentWidth + 'px;\n opacity: 1;\n z-index: 99999999999;\n visibility: hidden;\n }\n .scrollToTopArrow > svg {\n min-height: 50px;\n min-width: 50px;\n max-height: 50px;\n max-width: 50px;\n }\n .block-content > div p {\n padding: 0;\n }\n\n h2.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.prevNext-title {\n padding: 0;\n font-size: 1rem;\n font-weight: 500;\n }\n .article-wrapper {\n border: 1px solid #252525;\n border-radius: 5px;\n padding: 1rem 1rem 0 1rem;\n margin-bottom: 1rem;\n }\n .prevNext-reading {\n margin-top: -10px;\n width: 75%;\n text-align: center;\n background: white;\n border: 1px solid #252525;\n align-self: center;\n display: none;\n }\n .showReading {\n display: block;\n }\n .author-details-wrapper a {\n color: #252525;\n }\n .objective-prevNext-Wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n .objective-title {\n padding: 0 !important;\n }\n .prevNext-thumbnail {\n display: flex;\n flex-direction: column;\n min-width: 225px;\n max-width: 225px;\n overflow: hidden;\n align-items: center;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-thumbnail img {\n height: 125px;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-summary {\n text-align: center;\n }\n .prevNext-publishDate {\n font-size: 0.75rem;\n margin-top: 0.5rem;\n }\n .prevNext-title {\n padding: 0 !important;\n line-height: 1 !important;\n font-weight: 500;\n }\n .prevNextWrapper {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n flex-wrap: wrap;\n }\n .prevNextWrapper a {\n display: flex;\n flex-direction: column;\n color: #252525;\n align-items: center;\n }\n .prevNextCards {\n max-width: 250px;\n margin-bottom: 1rem;\n }\n @media only screen and (max-width: 568px) {\n .prevNextWrapper {\n flex-direction: column;\n align-items: center;\n }\n .prevNextCards {\n margin-bottom: 2rem;\n }\n }\n @media only screen and (max-width: 568px) {\n }\n '
|
|
@@ -8999,11 +8989,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
8999
8989
|
};
|
|
9000
8990
|
}, [handleClickOutside]);
|
|
9001
8991
|
|
|
9002
|
-
return React__default
|
|
8992
|
+
return React__default.createElement(
|
|
9003
8993
|
'div',
|
|
9004
8994
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9005
|
-
React__default
|
|
9006
|
-
React__default
|
|
8995
|
+
React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
8996
|
+
React__default.createElement(
|
|
9007
8997
|
'style',
|
|
9008
8998
|
{ jsx: 'true' },
|
|
9009
8999
|
'\n /*Eliminates padding, centers the thumbnail */\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9017,7 +9007,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9017
9007
|
}
|
|
9018
9008
|
};
|
|
9019
9009
|
|
|
9020
|
-
var FigureImage
|
|
9010
|
+
var FigureImage = React__default.memo(function (_ref2) {
|
|
9021
9011
|
var node = _ref2.node,
|
|
9022
9012
|
client = _ref2.client,
|
|
9023
9013
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9025,13 +9015,13 @@ var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
|
9025
9015
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9026
9016
|
|
|
9027
9017
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9028
|
-
return React__default
|
|
9018
|
+
return React__default.createElement(
|
|
9029
9019
|
'picture',
|
|
9030
9020
|
null,
|
|
9031
|
-
React__default
|
|
9032
|
-
React__default
|
|
9033
|
-
React__default
|
|
9034
|
-
React__default
|
|
9021
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9022
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9023
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9024
|
+
React__default.createElement('img', _extends._extends({
|
|
9035
9025
|
style: figureImageStyle,
|
|
9036
9026
|
className: 'figure-image',
|
|
9037
9027
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9082,30 +9072,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9082
9072
|
|
|
9083
9073
|
var renderTooltip = function renderTooltip(props) {
|
|
9084
9074
|
if (infoBox[0].title) {
|
|
9085
|
-
return React__default
|
|
9086
|
-
|
|
9075
|
+
return React__default.createElement(
|
|
9076
|
+
Popover,
|
|
9087
9077
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9088
|
-
React__default
|
|
9089
|
-
|
|
9078
|
+
React__default.createElement(
|
|
9079
|
+
Popover.Title,
|
|
9090
9080
|
{ as: 'h3' },
|
|
9091
9081
|
infoBox[0].title
|
|
9092
9082
|
),
|
|
9093
|
-
React__default
|
|
9094
|
-
|
|
9083
|
+
React__default.createElement(
|
|
9084
|
+
Popover.Content,
|
|
9095
9085
|
null,
|
|
9096
|
-
React__default
|
|
9086
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9097
9087
|
)
|
|
9098
9088
|
);
|
|
9099
9089
|
} else {
|
|
9100
|
-
return React__default
|
|
9101
|
-
|
|
9090
|
+
return React__default.createElement(
|
|
9091
|
+
Tooltip,
|
|
9102
9092
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9103
|
-
React__default
|
|
9093
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9104
9094
|
);
|
|
9105
9095
|
}
|
|
9106
9096
|
};
|
|
9107
9097
|
|
|
9108
|
-
var FigureImageWOverLay = React__default
|
|
9098
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9109
9099
|
var node = _ref3.node,
|
|
9110
9100
|
client = _ref3.client,
|
|
9111
9101
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9115,13 +9105,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9115
9105
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9116
9106
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9117
9107
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9118
|
-
return React__default
|
|
9108
|
+
return React__default.createElement(
|
|
9119
9109
|
'picture',
|
|
9120
9110
|
null,
|
|
9121
|
-
React__default
|
|
9122
|
-
React__default
|
|
9123
|
-
React__default
|
|
9124
|
-
main.main_42 && link ? React__default
|
|
9111
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9112
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9113
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9114
|
+
main.main_42 && link ? React__default.createElement('img', _extends._extends({
|
|
9125
9115
|
style: figureImageStyle,
|
|
9126
9116
|
className: 'figure-image',
|
|
9127
9117
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9130,10 +9120,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9130
9120
|
onClick: function onClick() {
|
|
9131
9121
|
return handleClickFigure(node, client);
|
|
9132
9122
|
}
|
|
9133
|
-
})) : React__default
|
|
9134
|
-
|
|
9123
|
+
})) : React__default.createElement(
|
|
9124
|
+
OverlayTrigger,
|
|
9135
9125
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9136
|
-
React__default
|
|
9126
|
+
React__default.createElement('img', _extends._extends({
|
|
9137
9127
|
style: figureImageStyle,
|
|
9138
9128
|
className: 'figure-image',
|
|
9139
9129
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9187,13 +9177,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9187
9177
|
|
|
9188
9178
|
var FigureCaption = React.useCallback(function () {
|
|
9189
9179
|
if (imgcaption && imgcaption.length > 0) {
|
|
9190
|
-
return React__default
|
|
9180
|
+
return React__default.createElement(
|
|
9191
9181
|
'div',
|
|
9192
9182
|
{ className: 'figure-caption' },
|
|
9193
|
-
React__default
|
|
9183
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9194
9184
|
);
|
|
9195
9185
|
} else if (caption) {
|
|
9196
|
-
return React__default
|
|
9186
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9197
9187
|
} else return null;
|
|
9198
9188
|
}, [caption, imgcaption]);
|
|
9199
9189
|
|
|
@@ -9210,24 +9200,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9210
9200
|
setShowLightbox(true);
|
|
9211
9201
|
}, [node, client]);
|
|
9212
9202
|
|
|
9213
|
-
return React__default
|
|
9214
|
-
React__default
|
|
9203
|
+
return React__default.createElement(
|
|
9204
|
+
React__default.Fragment,
|
|
9215
9205
|
null,
|
|
9216
|
-
infoBox.length >= 1 ? React__default
|
|
9217
|
-
|
|
9206
|
+
infoBox.length >= 1 ? React__default.createElement(
|
|
9207
|
+
Figure$1,
|
|
9218
9208
|
{ className: '' + class_name, style: figureStyle },
|
|
9219
|
-
link ? React__default
|
|
9209
|
+
link ? React__default.createElement(
|
|
9220
9210
|
'a',
|
|
9221
9211
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9222
|
-
React__default
|
|
9223
|
-
React__default
|
|
9224
|
-
) : React__default
|
|
9225
|
-
React__default
|
|
9212
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9213
|
+
React__default.createElement(FigureCaption, null)
|
|
9214
|
+
) : React__default.createElement(
|
|
9215
|
+
React__default.Fragment,
|
|
9226
9216
|
null,
|
|
9227
|
-
React__default
|
|
9228
|
-
React__default
|
|
9217
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9218
|
+
React__default.createElement(FigureCaption, null)
|
|
9229
9219
|
),
|
|
9230
|
-
React__default
|
|
9220
|
+
React__default.createElement(LightBox, {
|
|
9231
9221
|
showLightbox: showLightbox,
|
|
9232
9222
|
lightboxImgSrc: lightboxImgSrc,
|
|
9233
9223
|
closeLightbox: function closeLightbox() {
|
|
@@ -9235,21 +9225,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9235
9225
|
setShowLightbox(false);
|
|
9236
9226
|
}
|
|
9237
9227
|
})
|
|
9238
|
-
) : React__default
|
|
9239
|
-
|
|
9228
|
+
) : React__default.createElement(
|
|
9229
|
+
Figure$1,
|
|
9240
9230
|
{ className: '' + class_name, style: figureStyle },
|
|
9241
|
-
link ? React__default
|
|
9231
|
+
link ? React__default.createElement(
|
|
9242
9232
|
'a',
|
|
9243
9233
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9244
|
-
React__default
|
|
9245
|
-
React__default
|
|
9246
|
-
) : React__default
|
|
9247
|
-
React__default
|
|
9234
|
+
React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9235
|
+
React__default.createElement(FigureCaption, null)
|
|
9236
|
+
) : React__default.createElement(
|
|
9237
|
+
React__default.Fragment,
|
|
9248
9238
|
null,
|
|
9249
|
-
React__default
|
|
9250
|
-
React__default
|
|
9239
|
+
React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9240
|
+
React__default.createElement(FigureCaption, null)
|
|
9251
9241
|
),
|
|
9252
|
-
React__default
|
|
9242
|
+
React__default.createElement(LightBox, {
|
|
9253
9243
|
showLightbox: showLightbox,
|
|
9254
9244
|
lightboxImgSrc: lightboxImgSrc,
|
|
9255
9245
|
closeLightbox: function closeLightbox() {
|
|
@@ -9258,7 +9248,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9258
9248
|
}
|
|
9259
9249
|
})
|
|
9260
9250
|
),
|
|
9261
|
-
React__default
|
|
9251
|
+
React__default.createElement(
|
|
9262
9252
|
'style',
|
|
9263
9253
|
{ jsx: 'true' },
|
|
9264
9254
|
'\n .figure-caption,\n .figure-caption h1,\n .figure-caption h2,\n .figure-caption h3,\n .figure-caption h4,\n .figure-caption h5,\n .figure-caption h6,\n .figure-caption p,\n .figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n '
|
|
@@ -9266,7 +9256,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9266
9256
|
);
|
|
9267
9257
|
};
|
|
9268
9258
|
|
|
9269
|
-
var Figure = React__default
|
|
9259
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
9270
9260
|
|
|
9271
9261
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9272
9262
|
React.useEffect(function () {
|
|
@@ -9283,7 +9273,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9283
9273
|
}, [ref]);
|
|
9284
9274
|
}
|
|
9285
9275
|
|
|
9286
|
-
var FigureImage = React__default
|
|
9276
|
+
var FigureImage$1 = React__default.memo(function (_ref) {
|
|
9287
9277
|
var imagesCount = _ref.imagesCount,
|
|
9288
9278
|
image = _ref.image,
|
|
9289
9279
|
client = _ref.client,
|
|
@@ -9291,13 +9281,13 @@ var FigureImage = React__default['default'].memo(function (_ref) {
|
|
|
9291
9281
|
link = _ref.link,
|
|
9292
9282
|
handleClickFigure = _ref.handleClickFigure;
|
|
9293
9283
|
|
|
9294
|
-
return React__default
|
|
9284
|
+
return React__default.createElement(
|
|
9295
9285
|
'picture',
|
|
9296
9286
|
null,
|
|
9297
|
-
React__default
|
|
9298
|
-
React__default
|
|
9299
|
-
React__default
|
|
9300
|
-
React__default
|
|
9287
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9288
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9289
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9290
|
+
React__default.createElement('img', _extends._extends({
|
|
9301
9291
|
'images-count': imagesCount,
|
|
9302
9292
|
className: 'multi-figure-image',
|
|
9303
9293
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9334,13 +9324,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9334
9324
|
imgcaption = _ref2.imgcaption;
|
|
9335
9325
|
|
|
9336
9326
|
if (imgcaption && imgcaption.length > 0) {
|
|
9337
|
-
return React__default
|
|
9327
|
+
return React__default.createElement(
|
|
9338
9328
|
'div',
|
|
9339
9329
|
{ className: 'multi-figure-caption' },
|
|
9340
|
-
React__default
|
|
9330
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9341
9331
|
);
|
|
9342
9332
|
} else if (caption) {
|
|
9343
|
-
return React__default
|
|
9333
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9344
9334
|
} else return null;
|
|
9345
9335
|
};
|
|
9346
9336
|
|
|
@@ -9349,7 +9339,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9349
9339
|
setOpenImg(true);
|
|
9350
9340
|
}, [client]);
|
|
9351
9341
|
|
|
9352
|
-
var FigureImageWOverLay = React__default
|
|
9342
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9353
9343
|
var imagesCount = _ref3.imagesCount,
|
|
9354
9344
|
image = _ref3.image,
|
|
9355
9345
|
client = _ref3.client,
|
|
@@ -9359,13 +9349,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9359
9349
|
|
|
9360
9350
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9361
9351
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9362
|
-
return React__default
|
|
9352
|
+
return React__default.createElement(
|
|
9363
9353
|
'picture',
|
|
9364
9354
|
null,
|
|
9365
|
-
React__default
|
|
9366
|
-
React__default
|
|
9367
|
-
React__default
|
|
9368
|
-
main.main_42 && link ? React__default
|
|
9355
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9356
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9357
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9358
|
+
main.main_42 && link ? React__default.createElement('img', _extends._extends({
|
|
9369
9359
|
'images-count': imagesCount,
|
|
9370
9360
|
className: 'multi-figure-image',
|
|
9371
9361
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9374,10 +9364,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9374
9364
|
onClick: function onClick() {
|
|
9375
9365
|
return handleClickFigure(image, client);
|
|
9376
9366
|
}
|
|
9377
|
-
})) : React__default
|
|
9378
|
-
|
|
9367
|
+
})) : React__default.createElement(
|
|
9368
|
+
OverlayTrigger,
|
|
9379
9369
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9380
|
-
React__default
|
|
9370
|
+
React__default.createElement('img', _extends._extends({
|
|
9381
9371
|
'images-count': imagesCount,
|
|
9382
9372
|
className: 'multi-figure-image',
|
|
9383
9373
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9393,102 +9383,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9393
9383
|
|
|
9394
9384
|
var renderTooltip = function renderTooltip(image) {
|
|
9395
9385
|
if (image.infoBox[0].title) {
|
|
9396
|
-
return React__default
|
|
9397
|
-
|
|
9386
|
+
return React__default.createElement(
|
|
9387
|
+
Popover,
|
|
9398
9388
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9399
|
-
React__default
|
|
9400
|
-
|
|
9389
|
+
React__default.createElement(
|
|
9390
|
+
Popover.Title,
|
|
9401
9391
|
{ as: 'h3' },
|
|
9402
9392
|
image.infoBox[0].title
|
|
9403
9393
|
),
|
|
9404
|
-
React__default
|
|
9405
|
-
|
|
9394
|
+
React__default.createElement(
|
|
9395
|
+
Popover.Content,
|
|
9406
9396
|
null,
|
|
9407
|
-
React__default
|
|
9397
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9408
9398
|
)
|
|
9409
9399
|
);
|
|
9410
9400
|
} else {
|
|
9411
|
-
return React__default
|
|
9412
|
-
|
|
9401
|
+
return React__default.createElement(
|
|
9402
|
+
Tooltip,
|
|
9413
9403
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9414
|
-
React__default
|
|
9404
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9415
9405
|
);
|
|
9416
9406
|
}
|
|
9417
9407
|
};
|
|
9418
9408
|
|
|
9419
9409
|
if (images && images.length > 0) {
|
|
9420
|
-
return React__default
|
|
9410
|
+
return React__default.createElement(
|
|
9421
9411
|
'div',
|
|
9422
9412
|
{ className: 'multi-figure-container' },
|
|
9423
|
-
React__default
|
|
9424
|
-
|
|
9413
|
+
React__default.createElement(
|
|
9414
|
+
Row,
|
|
9425
9415
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9426
9416
|
images.map(function (image, index) {
|
|
9427
9417
|
if (image.infoBox) {
|
|
9428
|
-
return React__default
|
|
9429
|
-
|
|
9418
|
+
return React__default.createElement(
|
|
9419
|
+
Col,
|
|
9430
9420
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9431
|
-
image.link ? React__default
|
|
9421
|
+
image.link ? React__default.createElement(
|
|
9432
9422
|
'a',
|
|
9433
9423
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9434
|
-
React__default
|
|
9424
|
+
React__default.createElement(
|
|
9435
9425
|
'div',
|
|
9436
9426
|
{ className: 'multi-figure-image-container' },
|
|
9437
|
-
React__default
|
|
9427
|
+
React__default.createElement(
|
|
9438
9428
|
index$2.LazyLoad,
|
|
9439
9429
|
{ once: true },
|
|
9440
|
-
React__default
|
|
9430
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9441
9431
|
),
|
|
9442
|
-
React__default
|
|
9432
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9443
9433
|
)
|
|
9444
|
-
) : React__default
|
|
9434
|
+
) : React__default.createElement(
|
|
9445
9435
|
'div',
|
|
9446
9436
|
{ className: 'multi-figure-image-container' },
|
|
9447
|
-
React__default
|
|
9437
|
+
React__default.createElement(
|
|
9448
9438
|
index$2.LazyLoad,
|
|
9449
9439
|
{ once: true },
|
|
9450
|
-
React__default
|
|
9440
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9451
9441
|
),
|
|
9452
|
-
React__default
|
|
9442
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9453
9443
|
)
|
|
9454
9444
|
);
|
|
9455
9445
|
} else {
|
|
9456
|
-
return React__default
|
|
9457
|
-
|
|
9446
|
+
return React__default.createElement(
|
|
9447
|
+
Col,
|
|
9458
9448
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9459
|
-
image.link ? React__default
|
|
9449
|
+
image.link ? React__default.createElement(
|
|
9460
9450
|
'a',
|
|
9461
9451
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9462
|
-
React__default
|
|
9452
|
+
React__default.createElement(
|
|
9463
9453
|
'div',
|
|
9464
9454
|
{ className: 'multi-figure-image-container' },
|
|
9465
|
-
React__default
|
|
9455
|
+
React__default.createElement(
|
|
9466
9456
|
index$2.LazyLoad,
|
|
9467
9457
|
{ once: true },
|
|
9468
|
-
React__default
|
|
9458
|
+
React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9469
9459
|
),
|
|
9470
|
-
React__default
|
|
9460
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9471
9461
|
)
|
|
9472
|
-
) : React__default
|
|
9462
|
+
) : React__default.createElement(
|
|
9473
9463
|
'div',
|
|
9474
9464
|
{ className: 'multi-figure-image-container' },
|
|
9475
|
-
React__default
|
|
9465
|
+
React__default.createElement(
|
|
9476
9466
|
index$2.LazyLoad,
|
|
9477
9467
|
{ once: true },
|
|
9478
|
-
React__default
|
|
9468
|
+
React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9479
9469
|
),
|
|
9480
|
-
React__default
|
|
9470
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9481
9471
|
)
|
|
9482
9472
|
);
|
|
9483
9473
|
}
|
|
9484
9474
|
})
|
|
9485
9475
|
),
|
|
9486
|
-
React__default
|
|
9476
|
+
React__default.createElement(
|
|
9487
9477
|
'div',
|
|
9488
9478
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9489
|
-
React__default
|
|
9479
|
+
React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9490
9480
|
),
|
|
9491
|
-
React__default
|
|
9481
|
+
React__default.createElement(
|
|
9492
9482
|
'style',
|
|
9493
9483
|
{ jsx: 'true' },
|
|
9494
9484
|
'\n .multi-figure-caption,\n .multi-figure-caption h1,\n .multi-figure-caption h2,\n .multi-figure-caption h3,\n .multi-figure-caption h4,\n .multi-figure-caption h5,\n .multi-figure-caption h6,\n .multi-figure-caption p,\n .multi-figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n\n .multi-figure-container {\n margin-bottom: 1rem;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n object-fit: contain;\n cursor: pointer;\n }\n .multi-figure-image-container {\n padding-right: 0.5rem;\n }\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-figure-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 100px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 130px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 200px;\n }\n .multi-figure-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 150px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 200px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 300px;\n }\n }\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9537,23 +9527,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9537
9527
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9538
9528
|
}, []);
|
|
9539
9529
|
|
|
9540
|
-
return React__default
|
|
9541
|
-
React__default
|
|
9530
|
+
return React__default.createElement(
|
|
9531
|
+
React__default.Fragment,
|
|
9542
9532
|
null,
|
|
9543
|
-
React__default
|
|
9544
|
-
|
|
9533
|
+
React__default.createElement(
|
|
9534
|
+
Head,
|
|
9545
9535
|
null,
|
|
9546
|
-
React__default
|
|
9536
|
+
React__default.createElement('script', {
|
|
9547
9537
|
dangerouslySetInnerHTML: {
|
|
9548
9538
|
__html: 'history.scrollRestoration = "manual"'
|
|
9549
9539
|
}
|
|
9550
9540
|
})
|
|
9551
9541
|
),
|
|
9552
|
-
React__default
|
|
9542
|
+
React__default.createElement(
|
|
9553
9543
|
'div',
|
|
9554
9544
|
{ id: elementId },
|
|
9555
|
-
React__default
|
|
9556
|
-
React__default
|
|
9545
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9546
|
+
React__default.createElement(
|
|
9557
9547
|
'style',
|
|
9558
9548
|
{ jsx: 'true' },
|
|
9559
9549
|
'\n #' + elementId + '::before {\n display: block;\n content: \' \';\n margin-top: -' + (offsetHeight + offsetHeightBuffer) + 'px;\n height: ' + (offsetHeight + offsetHeightBuffer) + 'px;\n visibility: hidden;\n pointer-events: none;\n }\n '
|
|
@@ -9595,23 +9585,23 @@ var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
|
9595
9585
|
|
|
9596
9586
|
|
|
9597
9587
|
|
|
9598
|
-
var _classCallCheck3 = _interopRequireDefault(inherits.classCallCheck);
|
|
9588
|
+
var _classCallCheck3 = _interopRequireDefault(inherits$1.classCallCheck);
|
|
9599
9589
|
|
|
9600
9590
|
|
|
9601
9591
|
|
|
9602
|
-
var _possibleConstructorReturn3 = _interopRequireDefault(inherits.possibleConstructorReturn);
|
|
9592
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(inherits$1.possibleConstructorReturn);
|
|
9603
9593
|
|
|
9604
9594
|
|
|
9605
9595
|
|
|
9606
|
-
var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
9596
|
+
var _inherits3 = _interopRequireDefault(inherits$1.inherits);
|
|
9607
9597
|
|
|
9608
9598
|
|
|
9609
9599
|
|
|
9610
|
-
var _react2 = _interopRequireDefault(React__default
|
|
9600
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
9611
9601
|
|
|
9612
9602
|
|
|
9613
9603
|
|
|
9614
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default
|
|
9604
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default);
|
|
9615
9605
|
|
|
9616
9606
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9617
9607
|
var noop = function noop() {};
|
|
@@ -9756,9 +9746,9 @@ var ScriptTag = function (_Component) {
|
|
|
9756
9746
|
|
|
9757
9747
|
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
9758
9748
|
// eslint-disable-next-line no-unused-vars
|
|
9759
|
-
var _props3 = this.props
|
|
9760
|
-
_props3.isHydrating
|
|
9761
|
-
|
|
9749
|
+
var _props3 = this.props,
|
|
9750
|
+
isHydrating = _props3.isHydrating,
|
|
9751
|
+
tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
9762
9752
|
|
|
9763
9753
|
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
9764
9754
|
return _this2.domRef = tag;
|
|
@@ -9766,7 +9756,7 @@ var ScriptTag = function (_Component) {
|
|
|
9766
9756
|
};
|
|
9767
9757
|
|
|
9768
9758
|
return ScriptTag;
|
|
9769
|
-
}(React__default
|
|
9759
|
+
}(React__default.Component);
|
|
9770
9760
|
|
|
9771
9761
|
ScriptTag.propTypes = {
|
|
9772
9762
|
/**
|
|
@@ -9845,11 +9835,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
9845
9835
|
}, []);
|
|
9846
9836
|
|
|
9847
9837
|
if (iframeSrc) {
|
|
9848
|
-
return React__default
|
|
9838
|
+
return React__default.createElement(
|
|
9849
9839
|
'section',
|
|
9850
9840
|
{ className: 'form-assembly' },
|
|
9851
|
-
React__default
|
|
9852
|
-
React__default
|
|
9841
|
+
React__default.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
9842
|
+
React__default.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
9853
9843
|
);
|
|
9854
9844
|
}
|
|
9855
9845
|
|
|
@@ -9886,27 +9876,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
9886
9876
|
return window.removeEventListener('resize', handleResize);
|
|
9887
9877
|
};
|
|
9888
9878
|
}, []);
|
|
9889
|
-
return React__default
|
|
9879
|
+
return React__default.createElement(
|
|
9890
9880
|
'div',
|
|
9891
9881
|
{ className: 'blockTableHolder', ref: holder },
|
|
9892
|
-
React__default
|
|
9882
|
+
React__default.createElement(
|
|
9893
9883
|
'div',
|
|
9894
9884
|
{ className: 'blockTable' },
|
|
9895
9885
|
rows && rows.map(function (row) {
|
|
9896
|
-
return React__default
|
|
9886
|
+
return React__default.createElement(
|
|
9897
9887
|
'div',
|
|
9898
9888
|
{ className: 'blockTableRow' },
|
|
9899
9889
|
row.cells && row.cells.map(function (cell) {
|
|
9900
|
-
return React__default
|
|
9890
|
+
return React__default.createElement(
|
|
9901
9891
|
'div',
|
|
9902
9892
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
9903
|
-
React__default
|
|
9893
|
+
React__default.createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
9904
9894
|
);
|
|
9905
9895
|
})
|
|
9906
9896
|
);
|
|
9907
9897
|
})
|
|
9908
9898
|
),
|
|
9909
|
-
React__default
|
|
9899
|
+
React__default.createElement(
|
|
9910
9900
|
'style',
|
|
9911
9901
|
{ jsx: true },
|
|
9912
9902
|
'\n .blockTableRow {\n display: flex;\n ' + (showBorders && 'border-top: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTable {\n min-width: ' + minTableWidth + 'px;\n }\n .blockTableRow:last-of-type {\n ' + (showBorders && 'border-bottom: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell {\n padding: 0.5rem;\n ' + (showBorders && 'border-left: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell > div {\n width: 100%;\n }\n .blockTableCell > div p {\n margin: 0;\n }\n .blockTableCell > div figure {\n margin: 0 !important;\n }\n .blockTableCell > div figure img {\n margin: 0 !important;\n }\n .blockTableCell:last-of-type {\n ' + (showBorders && 'border-right: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n @media only screen and (max-width: 800px) {\n .blockTableCell {\n padding: 0.25rem;\n }\n }\n '
|
|
@@ -9991,12 +9981,12 @@ var getSerializers = function getSerializers() {
|
|
|
9991
9981
|
var node = _ref.node;
|
|
9992
9982
|
var url = node.url;
|
|
9993
9983
|
|
|
9994
|
-
return React__default
|
|
9984
|
+
return React__default.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
9995
9985
|
},
|
|
9996
9986
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
9997
9987
|
var node = _ref2.node;
|
|
9998
9988
|
|
|
9999
|
-
return React__default
|
|
9989
|
+
return React__default.createElement(YouTubeGallery, {
|
|
10000
9990
|
nodes: node,
|
|
10001
9991
|
article: article,
|
|
10002
9992
|
meta: meta,
|
|
@@ -10010,7 +10000,7 @@ var getSerializers = function getSerializers() {
|
|
|
10010
10000
|
articleSeries: function articleSeries(_ref3) {
|
|
10011
10001
|
var node = _ref3.node;
|
|
10012
10002
|
|
|
10013
|
-
return React__default
|
|
10003
|
+
return React__default.createElement(ArticleSeries, {
|
|
10014
10004
|
nodes: node,
|
|
10015
10005
|
accountIDs: videoAccountIDs || {},
|
|
10016
10006
|
pageview: pageview,
|
|
@@ -10023,61 +10013,61 @@ var getSerializers = function getSerializers() {
|
|
|
10023
10013
|
figure: function figure(_ref4) {
|
|
10024
10014
|
var node = _ref4.node;
|
|
10025
10015
|
|
|
10026
|
-
return React__default
|
|
10016
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10027
10017
|
},
|
|
10028
10018
|
multifigure: function multifigure(_ref5) {
|
|
10029
10019
|
var node = _ref5.node;
|
|
10030
10020
|
|
|
10031
|
-
return React__default
|
|
10021
|
+
return React__default.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10032
10022
|
},
|
|
10033
10023
|
slideshow: function slideshow(_ref6) {
|
|
10034
10024
|
var node = _ref6.node;
|
|
10035
10025
|
var slides = node.slides;
|
|
10036
10026
|
|
|
10037
|
-
return React__default
|
|
10027
|
+
return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
10038
10028
|
},
|
|
10039
10029
|
sidebar: function sidebar(_ref7) {
|
|
10040
10030
|
var node = _ref7.node;
|
|
10041
10031
|
var caption = node.caption,
|
|
10042
10032
|
content = node.content;
|
|
10043
10033
|
|
|
10044
|
-
return React__default
|
|
10034
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10045
10035
|
},
|
|
10046
10036
|
datatable: function datatable(_ref8) {
|
|
10047
10037
|
var node = _ref8.node;
|
|
10048
10038
|
var table = node.table;
|
|
10049
10039
|
|
|
10050
|
-
return React__default
|
|
10040
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
10051
10041
|
},
|
|
10052
10042
|
media: function media(_ref9) {
|
|
10053
10043
|
var node = _ref9.node;
|
|
10054
10044
|
|
|
10055
|
-
return React__default
|
|
10045
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
10056
10046
|
},
|
|
10057
10047
|
iframe: function iframe(_ref10) {
|
|
10058
10048
|
var node = _ref10.node;
|
|
10059
10049
|
|
|
10060
|
-
return React__default
|
|
10050
|
+
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10061
10051
|
},
|
|
10062
10052
|
video: function video(_ref11) {
|
|
10063
10053
|
var node = _ref11.node;
|
|
10064
10054
|
|
|
10065
|
-
return React__default
|
|
10055
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting });
|
|
10066
10056
|
},
|
|
10067
10057
|
audio: function audio(_ref12) {
|
|
10068
10058
|
var node = _ref12.node;
|
|
10069
10059
|
|
|
10070
|
-
return React__default
|
|
10060
|
+
return React__default.createElement(Audio, { node: node });
|
|
10071
10061
|
},
|
|
10072
10062
|
poll: function poll(_ref13) {
|
|
10073
10063
|
var node = _ref13.node;
|
|
10074
10064
|
|
|
10075
|
-
return React__default
|
|
10065
|
+
return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10076
10066
|
},
|
|
10077
10067
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10078
10068
|
var node = _ref14.node;
|
|
10079
10069
|
|
|
10080
|
-
return React__default
|
|
10070
|
+
return React__default.createElement(Poll$1, {
|
|
10081
10071
|
node: node,
|
|
10082
10072
|
client: client,
|
|
10083
10073
|
pageview: pageview,
|
|
@@ -10091,35 +10081,35 @@ var getSerializers = function getSerializers() {
|
|
|
10091
10081
|
var node = _ref15.node;
|
|
10092
10082
|
var quizzes = node.quizzes;
|
|
10093
10083
|
|
|
10094
|
-
return React__default
|
|
10084
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10095
10085
|
},
|
|
10096
10086
|
leads: function leads(_ref16) {
|
|
10097
10087
|
var node = _ref16.node;
|
|
10098
10088
|
var leadID = node.leadID;
|
|
10099
10089
|
|
|
10100
10090
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10101
|
-
return React__default
|
|
10091
|
+
return React__default.createElement(Leads, { url: url });
|
|
10102
10092
|
},
|
|
10103
10093
|
slideshows: function slideshows(_ref17) {
|
|
10104
10094
|
var node = _ref17.node;
|
|
10105
10095
|
|
|
10106
|
-
return React__default
|
|
10096
|
+
return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10107
10097
|
},
|
|
10108
10098
|
nativeAd: function nativeAd(_ref18) {
|
|
10109
10099
|
var node = _ref18.node;
|
|
10110
10100
|
|
|
10111
|
-
return React__default
|
|
10101
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
10112
10102
|
},
|
|
10113
10103
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10114
10104
|
var node = _ref19.node;
|
|
10115
10105
|
|
|
10116
|
-
return React__default
|
|
10106
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10117
10107
|
},
|
|
10118
10108
|
hrtag: function hrtag() {
|
|
10119
|
-
return React__default
|
|
10109
|
+
return React__default.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10120
10110
|
},
|
|
10121
10111
|
brtag: function brtag() {
|
|
10122
|
-
return React__default
|
|
10112
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
10123
10113
|
},
|
|
10124
10114
|
formstack: function formstack(_ref20) {
|
|
10125
10115
|
var node = _ref20.node;
|
|
@@ -10127,29 +10117,29 @@ var getSerializers = function getSerializers() {
|
|
|
10127
10117
|
Caption = node.Caption,
|
|
10128
10118
|
needSegmentSupport = node.needSegmentSupport;
|
|
10129
10119
|
|
|
10130
|
-
return React__default
|
|
10120
|
+
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10131
10121
|
},
|
|
10132
10122
|
formassembly: FormAssembly,
|
|
10133
10123
|
multimedia: function multimedia(_ref21) {
|
|
10134
10124
|
var node = _ref21.node;
|
|
10135
10125
|
|
|
10136
|
-
return React__default
|
|
10126
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
10137
10127
|
},
|
|
10138
10128
|
blockTable: function blockTable(_ref22) {
|
|
10139
10129
|
var node = _ref22.node;
|
|
10140
|
-
return React__default
|
|
10130
|
+
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10141
10131
|
}
|
|
10142
10132
|
},
|
|
10143
10133
|
marks: {
|
|
10144
10134
|
superscript: function superscript(props) {
|
|
10145
|
-
return React__default
|
|
10135
|
+
return React__default.createElement(
|
|
10146
10136
|
'sup',
|
|
10147
10137
|
null,
|
|
10148
10138
|
props.children
|
|
10149
10139
|
);
|
|
10150
10140
|
},
|
|
10151
10141
|
subscript: function subscript(props) {
|
|
10152
|
-
return React__default
|
|
10142
|
+
return React__default.createElement(
|
|
10153
10143
|
'sub',
|
|
10154
10144
|
null,
|
|
10155
10145
|
props.children
|
|
@@ -10166,7 +10156,7 @@ var getSerializers = function getSerializers() {
|
|
|
10166
10156
|
if (href && href.charAt(0) === '#') {
|
|
10167
10157
|
var elementId = href.slice(1);
|
|
10168
10158
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10169
|
-
return React__default
|
|
10159
|
+
return React__default.createElement(
|
|
10170
10160
|
'a',
|
|
10171
10161
|
{ onClick: function onClick() {
|
|
10172
10162
|
return ScrollToElement(elementId);
|
|
@@ -10176,7 +10166,7 @@ var getSerializers = function getSerializers() {
|
|
|
10176
10166
|
}
|
|
10177
10167
|
|
|
10178
10168
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10179
|
-
return href ? React__default
|
|
10169
|
+
return href ? React__default.createElement(
|
|
10180
10170
|
'a',
|
|
10181
10171
|
_extends._extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10182
10172
|
children
|
|
@@ -10184,7 +10174,7 @@ var getSerializers = function getSerializers() {
|
|
|
10184
10174
|
},
|
|
10185
10175
|
alignleft: function alignleft(_ref23) {
|
|
10186
10176
|
var children = _ref23.children;
|
|
10187
|
-
return React__default
|
|
10177
|
+
return React__default.createElement(
|
|
10188
10178
|
'div',
|
|
10189
10179
|
{ style: { textAlign: 'left' } },
|
|
10190
10180
|
children
|
|
@@ -10192,7 +10182,7 @@ var getSerializers = function getSerializers() {
|
|
|
10192
10182
|
},
|
|
10193
10183
|
alignright: function alignright(_ref24) {
|
|
10194
10184
|
var children = _ref24.children;
|
|
10195
|
-
return React__default
|
|
10185
|
+
return React__default.createElement(
|
|
10196
10186
|
'div',
|
|
10197
10187
|
{ style: { textAlign: 'right' } },
|
|
10198
10188
|
children
|
|
@@ -10200,7 +10190,7 @@ var getSerializers = function getSerializers() {
|
|
|
10200
10190
|
},
|
|
10201
10191
|
aligncenter: function aligncenter(_ref25) {
|
|
10202
10192
|
var children = _ref25.children;
|
|
10203
|
-
return React__default
|
|
10193
|
+
return React__default.createElement(
|
|
10204
10194
|
'div',
|
|
10205
10195
|
{ style: { textAlign: 'center' } },
|
|
10206
10196
|
children
|
|
@@ -10208,7 +10198,7 @@ var getSerializers = function getSerializers() {
|
|
|
10208
10198
|
},
|
|
10209
10199
|
alignjustify: function alignjustify(_ref26) {
|
|
10210
10200
|
var children = _ref26.children;
|
|
10211
|
-
return React__default
|
|
10201
|
+
return React__default.createElement(
|
|
10212
10202
|
'div',
|
|
10213
10203
|
{ style: { textAlign: 'justify' } },
|
|
10214
10204
|
children
|
|
@@ -10218,7 +10208,7 @@ var getSerializers = function getSerializers() {
|
|
|
10218
10208
|
var children = props.children,
|
|
10219
10209
|
color = props.mark.color;
|
|
10220
10210
|
|
|
10221
|
-
return React__default
|
|
10211
|
+
return React__default.createElement(
|
|
10222
10212
|
'span',
|
|
10223
10213
|
{ style: { color: color ? color.hex : null } },
|
|
10224
10214
|
children
|