@mjhls/mjh-framework 1.0.881-ios0fixv2 → 1.0.881
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 +27 -28
- 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-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-6763511d.js → index-d3451292.js} +574 -584
- 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-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -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 +11 -11
- 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-3ccc6d4b.js → index-cf149780.js} +134 -134
- package/dist/esm/{index-3f5c03b2.js → index-f7fdcc91.js} +3 -3
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- 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 +3 -3
- 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-00a6aade.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
|
);
|
|
@@ -2380,7 +2370,7 @@ var Video = function Video(_ref) {
|
|
|
2380
2370
|
var onVideoSuccess = function onVideoSuccess(success) {
|
|
2381
2371
|
//console.log('success:', success.ref)
|
|
2382
2372
|
var player = success.ref;
|
|
2383
|
-
if (_typeof$
|
|
2373
|
+
if (_typeof$2._typeof(player.ima3) === 'object' && player.ima3.settings && player.ima3.settings.serverUrl && targeting !== null) {
|
|
2384
2374
|
player.ima3.settings.debug = true;
|
|
2385
2375
|
if (targeting.content_placement && targeting.document_url) {
|
|
2386
2376
|
player.ima3.settings.serverUrl = player.ima3.settings.serverUrl + '&cust_params=' + encodeURIComponent('content_placement=' + targeting.content_placement + '&document_url=' + targeting.document_url);
|
|
@@ -2485,7 +2475,7 @@ var Video = function Video(_ref) {
|
|
|
2485
2475
|
// ad impression
|
|
2486
2476
|
player.on('ads-ad-started', function (evt) {
|
|
2487
2477
|
var duration = player.ads.ad.duration;
|
|
2488
|
-
player.ads.ad.id;
|
|
2478
|
+
var id = player.ads.ad.id;
|
|
2489
2479
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2490
2480
|
|
|
2491
2481
|
//Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
@@ -2495,7 +2485,7 @@ var Video = function Video(_ref) {
|
|
|
2495
2485
|
// ad ended
|
|
2496
2486
|
player.on('ads-ad-ended', function (evt) {
|
|
2497
2487
|
var duration = player.ads.ad.duration;
|
|
2498
|
-
player.ads.ad.id;
|
|
2488
|
+
var id = player.ads.ad.id;
|
|
2499
2489
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2500
2490
|
//Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2501
2491
|
Segment.report_ad_event('Video Ad Ended', main.main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
@@ -2504,53 +2494,53 @@ var Video = function Video(_ref) {
|
|
|
2504
2494
|
|
|
2505
2495
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2506
2496
|
if (videoID) {
|
|
2507
|
-
return React__default
|
|
2497
|
+
return React__default.createElement(
|
|
2508
2498
|
'div',
|
|
2509
2499
|
null,
|
|
2510
|
-
React__default
|
|
2500
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2511
2501
|
onSuccess: onVideoSuccess,
|
|
2512
2502
|
accountId: accountIDs.brightcove.accountId,
|
|
2513
2503
|
videoId: videoID,
|
|
2514
2504
|
playerId: accountIDs.brightcove.playerId,
|
|
2515
2505
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2516
2506
|
}),
|
|
2517
|
-
React__default
|
|
2507
|
+
React__default.createElement(
|
|
2518
2508
|
'style',
|
|
2519
2509
|
{ jsx: 'true' },
|
|
2520
2510
|
'\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 '
|
|
2521
2511
|
)
|
|
2522
2512
|
);
|
|
2523
2513
|
} else if (playlistID) {
|
|
2524
|
-
return React__default
|
|
2514
|
+
return React__default.createElement(
|
|
2525
2515
|
'div',
|
|
2526
2516
|
null,
|
|
2527
|
-
React__default
|
|
2517
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2528
2518
|
accountId: accountIDs.brightcove.accountId,
|
|
2529
2519
|
playlistId: playlistID,
|
|
2530
2520
|
playerId: accountIDs.brightcove.playerId,
|
|
2531
2521
|
onSuccess: onVideoSuccess,
|
|
2532
2522
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2533
2523
|
}),
|
|
2534
|
-
React__default
|
|
2524
|
+
React__default.createElement(
|
|
2535
2525
|
'style',
|
|
2536
2526
|
{ jsx: 'true' },
|
|
2537
2527
|
'\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 '
|
|
2538
2528
|
)
|
|
2539
2529
|
);
|
|
2540
2530
|
} else if (experienceID) {
|
|
2541
|
-
return React__default
|
|
2531
|
+
return React__default.createElement(
|
|
2542
2532
|
'div',
|
|
2543
2533
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2544
|
-
videoLoaded && React__default
|
|
2534
|
+
videoLoaded && React__default.createElement('div', { 'data-experience': experienceID })
|
|
2545
2535
|
);
|
|
2546
2536
|
}
|
|
2547
2537
|
return null;
|
|
2548
2538
|
}
|
|
2549
2539
|
if (source === 'mp4') {
|
|
2550
|
-
return React__default
|
|
2540
|
+
return React__default.createElement(
|
|
2551
2541
|
'div',
|
|
2552
2542
|
null,
|
|
2553
|
-
React__default
|
|
2543
|
+
React__default.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true })
|
|
2554
2544
|
);
|
|
2555
2545
|
}
|
|
2556
2546
|
|
|
@@ -2565,7 +2555,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2565
2555
|
});
|
|
2566
2556
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2567
2557
|
|
|
2568
|
-
var _propTypes = _interopRequireDefault(PropTypes__default
|
|
2558
|
+
var _propTypes = _interopRequireDefault(PropTypes__default);
|
|
2569
2559
|
|
|
2570
2560
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2571
2561
|
|
|
@@ -2761,9 +2751,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
2761
2751
|
});
|
|
2762
2752
|
|
|
2763
2753
|
_commonjsHelpers.unwrapExports(props);
|
|
2764
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
2765
|
-
props.defaultProps;
|
|
2766
|
-
props.propTypes;
|
|
2754
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
2755
|
+
var props_2 = props.defaultProps;
|
|
2756
|
+
var props_3 = props.propTypes;
|
|
2767
2757
|
|
|
2768
2758
|
var isMergeableObject = function isMergeableObject(value) {
|
|
2769
2759
|
return isNonNullObject(value)
|
|
@@ -3155,7 +3145,7 @@ function isEqual(a, b) {
|
|
|
3155
3145
|
return true;
|
|
3156
3146
|
}
|
|
3157
3147
|
|
|
3158
|
-
if ((0, React__default
|
|
3148
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
3159
3149
|
return true;
|
|
3160
3150
|
}
|
|
3161
3151
|
|
|
@@ -3198,17 +3188,17 @@ function isMediaStream(url) {
|
|
|
3198
3188
|
});
|
|
3199
3189
|
|
|
3200
3190
|
_commonjsHelpers.unwrapExports(utils);
|
|
3201
|
-
utils.parseStartTime;
|
|
3202
|
-
utils.parseEndTime;
|
|
3203
|
-
utils.randomString;
|
|
3204
|
-
utils.queryString;
|
|
3205
|
-
utils.getSDK;
|
|
3206
|
-
utils.getConfig;
|
|
3207
|
-
utils.omit;
|
|
3208
|
-
utils.callPlayer;
|
|
3209
|
-
utils.isObject;
|
|
3210
|
-
utils.isEqual;
|
|
3211
|
-
utils.isMediaStream;
|
|
3191
|
+
var utils_1 = utils.parseStartTime;
|
|
3192
|
+
var utils_2 = utils.parseEndTime;
|
|
3193
|
+
var utils_3 = utils.randomString;
|
|
3194
|
+
var utils_4 = utils.queryString;
|
|
3195
|
+
var utils_5 = utils.getSDK;
|
|
3196
|
+
var utils_6 = utils.getConfig;
|
|
3197
|
+
var utils_7 = utils.omit;
|
|
3198
|
+
var utils_8 = utils.callPlayer;
|
|
3199
|
+
var utils_9 = utils.isObject;
|
|
3200
|
+
var utils_10 = utils.isEqual;
|
|
3201
|
+
var utils_11 = utils.isMediaStream;
|
|
3212
3202
|
|
|
3213
3203
|
var Player_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
3214
3204
|
|
|
@@ -3217,7 +3207,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3217
3207
|
});
|
|
3218
3208
|
exports["default"] = void 0;
|
|
3219
3209
|
|
|
3220
|
-
var _react = _interopRequireWildcard(React__default
|
|
3210
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3221
3211
|
|
|
3222
3212
|
|
|
3223
3213
|
|
|
@@ -3627,7 +3617,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3627
3617
|
});
|
|
3628
3618
|
exports["default"] = createSinglePlayer;
|
|
3629
3619
|
|
|
3630
|
-
var _react = _interopRequireWildcard(React__default
|
|
3620
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3631
3621
|
|
|
3632
3622
|
|
|
3633
3623
|
|
|
@@ -3785,7 +3775,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3785
3775
|
});
|
|
3786
3776
|
exports["default"] = exports.YouTube = void 0;
|
|
3787
3777
|
|
|
3788
|
-
var _react = _interopRequireWildcard(React__default
|
|
3778
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3789
3779
|
|
|
3790
3780
|
|
|
3791
3781
|
|
|
@@ -4085,7 +4075,7 @@ exports["default"] = _default;
|
|
|
4085
4075
|
});
|
|
4086
4076
|
|
|
4087
4077
|
_commonjsHelpers.unwrapExports(YouTube_1);
|
|
4088
|
-
YouTube_1.YouTube;
|
|
4078
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4089
4079
|
|
|
4090
4080
|
var SoundCloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4091
4081
|
|
|
@@ -4094,7 +4084,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4094
4084
|
});
|
|
4095
4085
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4096
4086
|
|
|
4097
|
-
var _react = _interopRequireWildcard(React__default
|
|
4087
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4098
4088
|
|
|
4099
4089
|
|
|
4100
4090
|
|
|
@@ -4302,7 +4292,7 @@ exports["default"] = _default;
|
|
|
4302
4292
|
});
|
|
4303
4293
|
|
|
4304
4294
|
_commonjsHelpers.unwrapExports(SoundCloud_1);
|
|
4305
|
-
SoundCloud_1.SoundCloud;
|
|
4295
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4306
4296
|
|
|
4307
4297
|
var Vimeo_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4308
4298
|
|
|
@@ -4311,7 +4301,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4311
4301
|
});
|
|
4312
4302
|
exports["default"] = exports.Vimeo = void 0;
|
|
4313
4303
|
|
|
4314
|
-
var _react = _interopRequireWildcard(React__default
|
|
4304
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4315
4305
|
|
|
4316
4306
|
|
|
4317
4307
|
|
|
@@ -4558,7 +4548,7 @@ exports["default"] = _default;
|
|
|
4558
4548
|
});
|
|
4559
4549
|
|
|
4560
4550
|
_commonjsHelpers.unwrapExports(Vimeo_1);
|
|
4561
|
-
Vimeo_1.Vimeo;
|
|
4551
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
4562
4552
|
|
|
4563
4553
|
var Facebook_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4564
4554
|
|
|
@@ -4567,7 +4557,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4567
4557
|
});
|
|
4568
4558
|
exports["default"] = exports.Facebook = void 0;
|
|
4569
4559
|
|
|
4570
|
-
var _react = _interopRequireWildcard(React__default
|
|
4560
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4571
4561
|
|
|
4572
4562
|
|
|
4573
4563
|
|
|
@@ -4770,7 +4760,7 @@ exports["default"] = _default;
|
|
|
4770
4760
|
});
|
|
4771
4761
|
|
|
4772
4762
|
_commonjsHelpers.unwrapExports(Facebook_1);
|
|
4773
|
-
Facebook_1.Facebook;
|
|
4763
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
4774
4764
|
|
|
4775
4765
|
var Streamable_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4776
4766
|
|
|
@@ -4779,7 +4769,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4779
4769
|
});
|
|
4780
4770
|
exports["default"] = exports.Streamable = void 0;
|
|
4781
4771
|
|
|
4782
|
-
var _react = _interopRequireWildcard(React__default
|
|
4772
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4783
4773
|
|
|
4784
4774
|
|
|
4785
4775
|
|
|
@@ -4981,7 +4971,7 @@ exports["default"] = _default;
|
|
|
4981
4971
|
});
|
|
4982
4972
|
|
|
4983
4973
|
_commonjsHelpers.unwrapExports(Streamable_1);
|
|
4984
|
-
Streamable_1.Streamable;
|
|
4974
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
4985
4975
|
|
|
4986
4976
|
var Wistia_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4987
4977
|
|
|
@@ -4990,7 +4980,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4990
4980
|
});
|
|
4991
4981
|
exports["default"] = exports.Wistia = void 0;
|
|
4992
4982
|
|
|
4993
|
-
var _react = _interopRequireWildcard(React__default
|
|
4983
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4994
4984
|
|
|
4995
4985
|
|
|
4996
4986
|
|
|
@@ -5224,7 +5214,7 @@ exports["default"] = _default;
|
|
|
5224
5214
|
});
|
|
5225
5215
|
|
|
5226
5216
|
_commonjsHelpers.unwrapExports(Wistia_1);
|
|
5227
|
-
Wistia_1.Wistia;
|
|
5217
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5228
5218
|
|
|
5229
5219
|
var Twitch_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5230
5220
|
|
|
@@ -5233,7 +5223,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5233
5223
|
});
|
|
5234
5224
|
exports["default"] = exports.Twitch = void 0;
|
|
5235
5225
|
|
|
5236
|
-
var _react = _interopRequireWildcard(React__default
|
|
5226
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5237
5227
|
|
|
5238
5228
|
|
|
5239
5229
|
|
|
@@ -5440,7 +5430,7 @@ exports["default"] = _default;
|
|
|
5440
5430
|
});
|
|
5441
5431
|
|
|
5442
5432
|
_commonjsHelpers.unwrapExports(Twitch_1);
|
|
5443
|
-
Twitch_1.Twitch;
|
|
5433
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5444
5434
|
|
|
5445
5435
|
var DailyMotion_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5446
5436
|
|
|
@@ -5449,7 +5439,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5449
5439
|
});
|
|
5450
5440
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5451
5441
|
|
|
5452
|
-
var _react = _interopRequireWildcard(React__default
|
|
5442
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5453
5443
|
|
|
5454
5444
|
|
|
5455
5445
|
|
|
@@ -5676,7 +5666,7 @@ exports["default"] = _default;
|
|
|
5676
5666
|
});
|
|
5677
5667
|
|
|
5678
5668
|
_commonjsHelpers.unwrapExports(DailyMotion_1);
|
|
5679
|
-
DailyMotion_1.DailyMotion;
|
|
5669
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
5680
5670
|
|
|
5681
5671
|
var Mixcloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5682
5672
|
|
|
@@ -5685,7 +5675,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5685
5675
|
});
|
|
5686
5676
|
exports["default"] = exports.Mixcloud = void 0;
|
|
5687
5677
|
|
|
5688
|
-
var _react = _interopRequireWildcard(React__default
|
|
5678
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5689
5679
|
|
|
5690
5680
|
|
|
5691
5681
|
|
|
@@ -5875,7 +5865,7 @@ exports["default"] = _default;
|
|
|
5875
5865
|
});
|
|
5876
5866
|
|
|
5877
5867
|
_commonjsHelpers.unwrapExports(Mixcloud_1);
|
|
5878
|
-
Mixcloud_1.Mixcloud;
|
|
5868
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
5879
5869
|
|
|
5880
5870
|
var FilePlayer_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5881
5871
|
|
|
@@ -5884,7 +5874,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5884
5874
|
});
|
|
5885
5875
|
exports["default"] = exports.FilePlayer = void 0;
|
|
5886
5876
|
|
|
5887
|
-
var _react = _interopRequireWildcard(React__default
|
|
5877
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5888
5878
|
|
|
5889
5879
|
|
|
5890
5880
|
|
|
@@ -6409,7 +6399,7 @@ exports["default"] = _default;
|
|
|
6409
6399
|
});
|
|
6410
6400
|
|
|
6411
6401
|
_commonjsHelpers.unwrapExports(FilePlayer_1);
|
|
6412
|
-
FilePlayer_1.FilePlayer;
|
|
6402
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6413
6403
|
|
|
6414
6404
|
var players = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6415
6405
|
|
|
@@ -6451,7 +6441,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6451
6441
|
});
|
|
6452
6442
|
exports["default"] = void 0;
|
|
6453
6443
|
|
|
6454
|
-
var _react = _interopRequireWildcard(React__default
|
|
6444
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6455
6445
|
|
|
6456
6446
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6457
6447
|
|
|
@@ -6630,7 +6620,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6630
6620
|
});
|
|
6631
6621
|
exports["default"] = renderPreloadPlayers;
|
|
6632
6622
|
|
|
6633
|
-
var _react = _interopRequireDefault(React__default
|
|
6623
|
+
var _react = _interopRequireDefault(React__default);
|
|
6634
6624
|
|
|
6635
6625
|
var _Player = _interopRequireDefault(Player_1);
|
|
6636
6626
|
|
|
@@ -6769,7 +6759,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
6769
6759
|
});
|
|
6770
6760
|
exports["default"] = void 0;
|
|
6771
6761
|
|
|
6772
|
-
var _react = _interopRequireWildcard(React__default
|
|
6762
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6773
6763
|
|
|
6774
6764
|
|
|
6775
6765
|
|
|
@@ -7083,20 +7073,20 @@ var Audio = function Audio(_ref) {
|
|
|
7083
7073
|
var node = _ref.node;
|
|
7084
7074
|
|
|
7085
7075
|
if (node.uploadAudio) {
|
|
7086
|
-
return React__default
|
|
7076
|
+
return React__default.createElement(
|
|
7087
7077
|
'div',
|
|
7088
7078
|
{ className: 'audio d-block text-center mb-3' },
|
|
7089
|
-
React__default
|
|
7079
|
+
React__default.createElement(
|
|
7090
7080
|
'audio',
|
|
7091
7081
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
7092
|
-
React__default
|
|
7093
|
-
React__default
|
|
7082
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7083
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7094
7084
|
'Your browser does not support the audio element.'
|
|
7095
7085
|
),
|
|
7096
|
-
node.caption && React__default
|
|
7086
|
+
node.caption && React__default.createElement(
|
|
7097
7087
|
'p',
|
|
7098
7088
|
{ style: { fontSize: '.9rem' } },
|
|
7099
|
-
React__default
|
|
7089
|
+
React__default.createElement(
|
|
7100
7090
|
'em',
|
|
7101
7091
|
null,
|
|
7102
7092
|
node.caption
|
|
@@ -7106,15 +7096,15 @@ var Audio = function Audio(_ref) {
|
|
|
7106
7096
|
} else if (node.audioFilePth) {
|
|
7107
7097
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7108
7098
|
if (hostname === 'embeds.audioboom.com') {
|
|
7109
|
-
return React__default
|
|
7099
|
+
return React__default.createElement(
|
|
7110
7100
|
'div',
|
|
7111
7101
|
null,
|
|
7112
|
-
React__default
|
|
7102
|
+
React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7113
7103
|
' ',
|
|
7114
|
-
node.caption && React__default
|
|
7104
|
+
node.caption && React__default.createElement(
|
|
7115
7105
|
'p',
|
|
7116
7106
|
{ style: { fontSize: '.9rem' } },
|
|
7117
|
-
React__default
|
|
7107
|
+
React__default.createElement(
|
|
7118
7108
|
'em',
|
|
7119
7109
|
null,
|
|
7120
7110
|
node.caption
|
|
@@ -7122,14 +7112,14 @@ var Audio = function Audio(_ref) {
|
|
|
7122
7112
|
)
|
|
7123
7113
|
);
|
|
7124
7114
|
}
|
|
7125
|
-
return React__default
|
|
7115
|
+
return React__default.createElement(
|
|
7126
7116
|
'div',
|
|
7127
7117
|
{ className: 'audio' },
|
|
7128
|
-
React__default
|
|
7129
|
-
node.caption && React__default
|
|
7118
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
7119
|
+
node.caption && React__default.createElement(
|
|
7130
7120
|
'p',
|
|
7131
7121
|
{ style: { fontSize: '.9rem' } },
|
|
7132
|
-
React__default
|
|
7122
|
+
React__default.createElement(
|
|
7133
7123
|
'em',
|
|
7134
7124
|
null,
|
|
7135
7125
|
node.caption
|
|
@@ -7148,34 +7138,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7148
7138
|
var showAuthorDetails = arguments[7];
|
|
7149
7139
|
|
|
7150
7140
|
if (authorName && authorURL) {
|
|
7151
|
-
return React__default
|
|
7141
|
+
return React__default.createElement(
|
|
7152
7142
|
'span',
|
|
7153
7143
|
null,
|
|
7154
|
-
React__default
|
|
7144
|
+
React__default.createElement(
|
|
7155
7145
|
'a',
|
|
7156
7146
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7157
7147
|
authorName
|
|
7158
7148
|
),
|
|
7159
|
-
showAuthorDetails && React__default
|
|
7149
|
+
showAuthorDetails && React__default.createElement(
|
|
7160
7150
|
reactBootstrap.Card,
|
|
7161
7151
|
{ className: 'author-details-card-' + index },
|
|
7162
|
-
React__default
|
|
7152
|
+
React__default.createElement(
|
|
7163
7153
|
reactBootstrap.Row,
|
|
7164
7154
|
null,
|
|
7165
|
-
profileImage && React__default
|
|
7155
|
+
profileImage && React__default.createElement(
|
|
7166
7156
|
reactBootstrap.Col,
|
|
7167
7157
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7168
|
-
React__default
|
|
7158
|
+
React__default.createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7169
7159
|
),
|
|
7170
|
-
React__default
|
|
7160
|
+
React__default.createElement(
|
|
7171
7161
|
reactBootstrap.Col,
|
|
7172
7162
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7173
|
-
React__default
|
|
7163
|
+
React__default.createElement(
|
|
7174
7164
|
'div',
|
|
7175
7165
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7176
7166
|
authorName
|
|
7177
7167
|
),
|
|
7178
|
-
React__default
|
|
7168
|
+
React__default.createElement(
|
|
7179
7169
|
'p',
|
|
7180
7170
|
null,
|
|
7181
7171
|
biography
|
|
@@ -7183,7 +7173,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7183
7173
|
)
|
|
7184
7174
|
)
|
|
7185
7175
|
),
|
|
7186
|
-
React__default
|
|
7176
|
+
React__default.createElement(
|
|
7187
7177
|
'style',
|
|
7188
7178
|
{ jsx: 'true' },
|
|
7189
7179
|
'\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 '
|
|
@@ -7191,7 +7181,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7191
7181
|
length !== index + 1 && ', '
|
|
7192
7182
|
);
|
|
7193
7183
|
} else if (authorName) {
|
|
7194
|
-
return React__default
|
|
7184
|
+
return React__default.createElement(
|
|
7195
7185
|
'span',
|
|
7196
7186
|
{ key: index },
|
|
7197
7187
|
authorName,
|
|
@@ -7293,7 +7283,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7293
7283
|
if (vid.thumbnail && vid.thumbnail.asset) {
|
|
7294
7284
|
data.push({ title: vid.title, thumbnail: urlFor({ client: client, source: vid.thumbnail.asset }), url: vid.url });
|
|
7295
7285
|
} else {
|
|
7296
|
-
data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + index$
|
|
7286
|
+
data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + index$3.getYoutubeId(vid.url) + '/hqdefault.jpg', url: vid.url });
|
|
7297
7287
|
}
|
|
7298
7288
|
}
|
|
7299
7289
|
});
|
|
@@ -7353,7 +7343,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7353
7343
|
//Small pause before starting next video
|
|
7354
7344
|
setTimeout(function () {
|
|
7355
7345
|
//Youtube API to start video playing automatically
|
|
7356
|
-
var id = index$
|
|
7346
|
+
var id = index$3.getYoutubeId(vidUrl);
|
|
7357
7347
|
event.target.loadVideoById(id);
|
|
7358
7348
|
}, 1500);
|
|
7359
7349
|
};
|
|
@@ -7463,44 +7453,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7463
7453
|
}
|
|
7464
7454
|
};
|
|
7465
7455
|
|
|
7466
|
-
return React__default
|
|
7456
|
+
return React__default.createElement(
|
|
7467
7457
|
'div',
|
|
7468
7458
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7469
|
-
React__default
|
|
7459
|
+
React__default.createElement(
|
|
7470
7460
|
'div',
|
|
7471
7461
|
{ className: 'mt-2 mb-5' },
|
|
7472
|
-
series && React__default
|
|
7462
|
+
series && React__default.createElement(
|
|
7473
7463
|
'div',
|
|
7474
7464
|
{ style: { fontSize: '0.9rem' } },
|
|
7475
7465
|
article.title,
|
|
7476
7466
|
' - Episode ',
|
|
7477
7467
|
series
|
|
7478
7468
|
),
|
|
7479
|
-
Videos[series - 1] && React__default
|
|
7469
|
+
Videos[series - 1] && React__default.createElement(
|
|
7480
7470
|
'h1',
|
|
7481
7471
|
{ className: 'mb-3' },
|
|
7482
7472
|
Videos[series - 1].title
|
|
7483
7473
|
),
|
|
7484
|
-
React__default
|
|
7474
|
+
React__default.createElement(
|
|
7485
7475
|
'div',
|
|
7486
7476
|
null,
|
|
7487
7477
|
moment.moment(article.published).format('LL')
|
|
7488
7478
|
),
|
|
7489
|
-
React__default
|
|
7479
|
+
React__default.createElement(
|
|
7490
7480
|
'div',
|
|
7491
7481
|
{ className: 'mb-3' },
|
|
7492
7482
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7493
|
-
return React__default
|
|
7483
|
+
return React__default.createElement(
|
|
7494
7484
|
'span',
|
|
7495
7485
|
{ key: index },
|
|
7496
7486
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7497
7487
|
);
|
|
7498
7488
|
})
|
|
7499
7489
|
),
|
|
7500
|
-
React__default
|
|
7490
|
+
React__default.createElement(
|
|
7501
7491
|
'p',
|
|
7502
7492
|
null,
|
|
7503
|
-
React__default
|
|
7493
|
+
React__default.createElement(SocialShare, {
|
|
7504
7494
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7505
7495
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7506
7496
|
shareVia: meta.shareVia,
|
|
@@ -7515,22 +7505,22 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7515
7505
|
hideFacebook: meta.hideFBShare
|
|
7516
7506
|
})
|
|
7517
7507
|
),
|
|
7518
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default
|
|
7508
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default.createElement(
|
|
7519
7509
|
'p',
|
|
7520
7510
|
{ className: 'mb-3' },
|
|
7521
|
-
React__default
|
|
7511
|
+
React__default.createElement(
|
|
7522
7512
|
'em',
|
|
7523
7513
|
null,
|
|
7524
7514
|
Videos[series - 1].intro
|
|
7525
7515
|
)
|
|
7526
7516
|
)
|
|
7527
7517
|
),
|
|
7528
|
-
React__default
|
|
7518
|
+
React__default.createElement(
|
|
7529
7519
|
'div',
|
|
7530
7520
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7531
|
-
vidUrl && vidType == 'youtube' && React__default
|
|
7521
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7532
7522
|
className: 'fluid-iframe',
|
|
7533
|
-
videoId: index$
|
|
7523
|
+
videoId: index$3.getYoutubeId(vidUrl),
|
|
7534
7524
|
opts: opts,
|
|
7535
7525
|
onReady: handleOnReady,
|
|
7536
7526
|
onPlay: handleOnPlay,
|
|
@@ -7539,10 +7529,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7539
7529
|
return handleOnEnd(e);
|
|
7540
7530
|
}
|
|
7541
7531
|
}),
|
|
7542
|
-
vidUrl && vidType == 'mp4' && React__default
|
|
7543
|
-
vidUrl && vidType == 'brightcove' && React__default
|
|
7544
|
-
React__default
|
|
7545
|
-
series && React__default
|
|
7532
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7533
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7534
|
+
React__default.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7535
|
+
series && React__default.createElement(
|
|
7546
7536
|
'div',
|
|
7547
7537
|
{
|
|
7548
7538
|
className: 'vid-series',
|
|
@@ -7552,10 +7542,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7552
7542
|
maxHeight: '100%',
|
|
7553
7543
|
paddingBottom: '0'
|
|
7554
7544
|
} },
|
|
7555
|
-
React__default
|
|
7545
|
+
React__default.createElement(
|
|
7556
7546
|
'p',
|
|
7557
7547
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7558
|
-
React__default
|
|
7548
|
+
React__default.createElement(
|
|
7559
7549
|
'b',
|
|
7560
7550
|
{ style: { fontSize: '1.25em' } },
|
|
7561
7551
|
'Now Playing:'
|
|
@@ -7563,16 +7553,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7563
7553
|
' ',
|
|
7564
7554
|
seriesData[series ? series - 1 : 0].title
|
|
7565
7555
|
),
|
|
7566
|
-
vidUrl && React__default
|
|
7556
|
+
vidUrl && React__default.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7567
7557
|
)
|
|
7568
7558
|
),
|
|
7569
|
-
React__default
|
|
7570
|
-
React__default
|
|
7559
|
+
React__default.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7560
|
+
React__default.createElement(
|
|
7571
7561
|
'div',
|
|
7572
7562
|
{ className: 'vid-text' },
|
|
7573
|
-
Videos[series - 1] && Videos[series - 1].text && React__default
|
|
7563
|
+
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()))
|
|
7574
7564
|
),
|
|
7575
|
-
React__default
|
|
7565
|
+
React__default.createElement(
|
|
7576
7566
|
'style',
|
|
7577
7567
|
{ jsx: 'true' },
|
|
7578
7568
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -7580,14 +7570,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7580
7570
|
);
|
|
7581
7571
|
};
|
|
7582
7572
|
|
|
7583
|
-
var Poll
|
|
7584
|
-
var node = _ref.node
|
|
7585
|
-
_ref.client
|
|
7586
|
-
_ref.pageview
|
|
7587
|
-
_ref.videoAccountIDs
|
|
7588
|
-
|
|
7589
|
-
_ref.showVotes
|
|
7590
|
-
|
|
7573
|
+
var Poll = function Poll(_ref) {
|
|
7574
|
+
var node = _ref.node,
|
|
7575
|
+
client = _ref.client,
|
|
7576
|
+
pageview = _ref.pageview,
|
|
7577
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7578
|
+
onVote = _ref.onVote,
|
|
7579
|
+
_ref$showVotes = _ref.showVotes,
|
|
7580
|
+
getSerializers = _ref.getSerializers;
|
|
7591
7581
|
|
|
7592
7582
|
var _useState = React.useState(null),
|
|
7593
7583
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -7625,67 +7615,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
7625
7615
|
return acc;
|
|
7626
7616
|
}
|
|
7627
7617
|
}, 0);
|
|
7628
|
-
return React__default
|
|
7629
|
-
React__default
|
|
7618
|
+
return React__default.createElement(
|
|
7619
|
+
React__default.Fragment,
|
|
7630
7620
|
null,
|
|
7631
|
-
question && React__default
|
|
7621
|
+
question && React__default.createElement(
|
|
7632
7622
|
'p',
|
|
7633
7623
|
{ className: 'font-weight-bold' },
|
|
7634
7624
|
question
|
|
7635
7625
|
),
|
|
7636
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
7626
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
7637
7627
|
'form',
|
|
7638
7628
|
{ onSubmit: function onSubmit(e) {
|
|
7639
7629
|
return onSubmitPoll(e);
|
|
7640
7630
|
} },
|
|
7641
7631
|
choices && choices.map(function (choice) {
|
|
7642
|
-
return React__default
|
|
7632
|
+
return React__default.createElement(
|
|
7643
7633
|
'div',
|
|
7644
7634
|
{ key: choice._key },
|
|
7645
|
-
React__default
|
|
7635
|
+
React__default.createElement(
|
|
7646
7636
|
'label',
|
|
7647
7637
|
{ className: 'pl-2' },
|
|
7648
|
-
React__default
|
|
7638
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
7649
7639
|
return setSelectedChoice(e.target.value);
|
|
7650
7640
|
} }),
|
|
7651
7641
|
' ' + choice.choiceText
|
|
7652
7642
|
)
|
|
7653
7643
|
);
|
|
7654
7644
|
}),
|
|
7655
|
-
React__default
|
|
7645
|
+
React__default.createElement(
|
|
7656
7646
|
reactBootstrap.Button,
|
|
7657
7647
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7658
7648
|
'Vote'
|
|
7659
7649
|
)
|
|
7660
7650
|
),
|
|
7661
|
-
React__default
|
|
7651
|
+
React__default.createElement(
|
|
7662
7652
|
'div',
|
|
7663
7653
|
{ className: 'progress-container' },
|
|
7664
7654
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
7665
7655
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
7666
|
-
return React__default
|
|
7656
|
+
return React__default.createElement(
|
|
7667
7657
|
'div',
|
|
7668
7658
|
{ key: choice._key, className: 'mb-3' },
|
|
7669
|
-
React__default
|
|
7659
|
+
React__default.createElement(
|
|
7670
7660
|
'div',
|
|
7671
7661
|
{ className: 'correct-answer' },
|
|
7672
|
-
React__default
|
|
7662
|
+
React__default.createElement(
|
|
7673
7663
|
'div',
|
|
7674
7664
|
null,
|
|
7675
7665
|
choice.choiceText
|
|
7676
7666
|
),
|
|
7677
|
-
choice.choiceAnswer === true && React__default
|
|
7667
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
7678
7668
|
'div',
|
|
7679
7669
|
null,
|
|
7680
|
-
React__default
|
|
7670
|
+
React__default.createElement(
|
|
7681
7671
|
'span',
|
|
7682
7672
|
{ style: { color: 'limegreen' } },
|
|
7683
7673
|
'Correct!'
|
|
7684
7674
|
)
|
|
7685
7675
|
)
|
|
7686
7676
|
),
|
|
7687
|
-
React__default
|
|
7688
|
-
React__default
|
|
7677
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
7678
|
+
React__default.createElement(
|
|
7689
7679
|
'span',
|
|
7690
7680
|
{ className: 'float-right' },
|
|
7691
7681
|
percentage,
|
|
@@ -7696,14 +7686,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
7696
7686
|
);
|
|
7697
7687
|
})
|
|
7698
7688
|
),
|
|
7699
|
-
showAnswer && React__default
|
|
7689
|
+
showAnswer && React__default.createElement(
|
|
7700
7690
|
'h4',
|
|
7701
7691
|
{ className: 'text-center small p-3' },
|
|
7702
7692
|
'Total Votes: ',
|
|
7703
7693
|
choicesTotalCount
|
|
7704
7694
|
),
|
|
7705
|
-
showAnswer && response && React__default
|
|
7706
|
-
React__default
|
|
7695
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7696
|
+
React__default.createElement(
|
|
7707
7697
|
'style',
|
|
7708
7698
|
{ jsx: 'true' },
|
|
7709
7699
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -7721,22 +7711,22 @@ core_getIteratorMethod._export(core_getIteratorMethod._export.S, 'Object', {
|
|
|
7721
7711
|
}
|
|
7722
7712
|
});
|
|
7723
7713
|
|
|
7724
|
-
var values
|
|
7714
|
+
var values = core_getIteratorMethod._core.Object.values;
|
|
7725
7715
|
|
|
7726
|
-
var values = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
7727
|
-
module.exports = { "default": values
|
|
7716
|
+
var values$1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
7717
|
+
module.exports = { "default": values, __esModule: true };
|
|
7728
7718
|
});
|
|
7729
7719
|
|
|
7730
|
-
var _Object$values = _commonjsHelpers.unwrapExports(values);
|
|
7720
|
+
var _Object$values = _commonjsHelpers.unwrapExports(values$1);
|
|
7731
7721
|
|
|
7732
|
-
var Poll = function Poll(_ref) {
|
|
7733
|
-
var node = _ref.node
|
|
7734
|
-
_ref.client
|
|
7735
|
-
_ref.pageview
|
|
7736
|
-
_ref.videoAccountIDs
|
|
7737
|
-
|
|
7738
|
-
_ref.showVotes
|
|
7739
|
-
|
|
7722
|
+
var Poll$1 = function Poll(_ref) {
|
|
7723
|
+
var node = _ref.node,
|
|
7724
|
+
client = _ref.client,
|
|
7725
|
+
pageview = _ref.pageview,
|
|
7726
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7727
|
+
onVote = _ref.onVote,
|
|
7728
|
+
_ref$showVotes = _ref.showVotes,
|
|
7729
|
+
getSerializers = _ref.getSerializers;
|
|
7740
7730
|
|
|
7741
7731
|
var _useState = React.useState(null),
|
|
7742
7732
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -7802,67 +7792,67 @@ var Poll = function Poll(_ref) {
|
|
|
7802
7792
|
return acc;
|
|
7803
7793
|
}
|
|
7804
7794
|
}, 0);
|
|
7805
|
-
return React__default
|
|
7806
|
-
React__default
|
|
7795
|
+
return React__default.createElement(
|
|
7796
|
+
React__default.Fragment,
|
|
7807
7797
|
null,
|
|
7808
|
-
question && React__default
|
|
7798
|
+
question && React__default.createElement(
|
|
7809
7799
|
'p',
|
|
7810
7800
|
{ className: 'font-weight-bold' },
|
|
7811
7801
|
question
|
|
7812
7802
|
),
|
|
7813
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
7803
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
7814
7804
|
'form',
|
|
7815
7805
|
{ onSubmit: function onSubmit(e) {
|
|
7816
7806
|
return onSubmitPoll(e);
|
|
7817
7807
|
} },
|
|
7818
7808
|
choices && choices.map(function (choice) {
|
|
7819
|
-
return React__default
|
|
7809
|
+
return React__default.createElement(
|
|
7820
7810
|
'div',
|
|
7821
7811
|
{ key: choice._key },
|
|
7822
|
-
React__default
|
|
7812
|
+
React__default.createElement(
|
|
7823
7813
|
'label',
|
|
7824
7814
|
{ className: 'pl-2' },
|
|
7825
|
-
React__default
|
|
7815
|
+
React__default.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
7826
7816
|
return setSelectedChoice(e.target.value);
|
|
7827
7817
|
} }),
|
|
7828
7818
|
' ' + choice.choiceText
|
|
7829
7819
|
)
|
|
7830
7820
|
);
|
|
7831
7821
|
}),
|
|
7832
|
-
React__default
|
|
7822
|
+
React__default.createElement(
|
|
7833
7823
|
reactBootstrap.Button,
|
|
7834
7824
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7835
7825
|
'Vote'
|
|
7836
7826
|
)
|
|
7837
7827
|
),
|
|
7838
|
-
React__default
|
|
7828
|
+
React__default.createElement(
|
|
7839
7829
|
'div',
|
|
7840
7830
|
{ className: 'progress-container' },
|
|
7841
7831
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
7842
7832
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
7843
|
-
return React__default
|
|
7833
|
+
return React__default.createElement(
|
|
7844
7834
|
'div',
|
|
7845
7835
|
{ key: choice._key, className: 'mb-3' },
|
|
7846
|
-
React__default
|
|
7836
|
+
React__default.createElement(
|
|
7847
7837
|
'div',
|
|
7848
7838
|
{ className: 'correct-answer' },
|
|
7849
|
-
React__default
|
|
7839
|
+
React__default.createElement(
|
|
7850
7840
|
'div',
|
|
7851
7841
|
null,
|
|
7852
7842
|
choice.choiceText
|
|
7853
7843
|
),
|
|
7854
|
-
choice.choiceAnswer === true && React__default
|
|
7844
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
7855
7845
|
'div',
|
|
7856
7846
|
null,
|
|
7857
|
-
React__default
|
|
7847
|
+
React__default.createElement(
|
|
7858
7848
|
'span',
|
|
7859
7849
|
{ style: { color: 'limegreen' } },
|
|
7860
7850
|
'Correct!'
|
|
7861
7851
|
)
|
|
7862
7852
|
)
|
|
7863
7853
|
),
|
|
7864
|
-
React__default
|
|
7865
|
-
React__default
|
|
7854
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
7855
|
+
React__default.createElement(
|
|
7866
7856
|
'span',
|
|
7867
7857
|
{ className: 'float-right' },
|
|
7868
7858
|
percentage,
|
|
@@ -7873,14 +7863,14 @@ var Poll = function Poll(_ref) {
|
|
|
7873
7863
|
);
|
|
7874
7864
|
})
|
|
7875
7865
|
),
|
|
7876
|
-
showAnswer && React__default
|
|
7866
|
+
showAnswer && React__default.createElement(
|
|
7877
7867
|
'h4',
|
|
7878
7868
|
{ className: 'text-center small p-3' },
|
|
7879
7869
|
'Total Votes: ',
|
|
7880
7870
|
choicesTotalCount
|
|
7881
7871
|
),
|
|
7882
|
-
showAnswer && response && React__default
|
|
7883
|
-
React__default
|
|
7872
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7873
|
+
React__default.createElement(
|
|
7884
7874
|
'style',
|
|
7885
7875
|
{ jsx: 'true' },
|
|
7886
7876
|
'\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 '
|
|
@@ -8006,34 +7996,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8006
7996
|
};
|
|
8007
7997
|
|
|
8008
7998
|
var renderPagination = function renderPagination() {
|
|
8009
|
-
return React__default
|
|
8010
|
-
|
|
7999
|
+
return React__default.createElement(
|
|
8000
|
+
Pagination,
|
|
8011
8001
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8012
|
-
React__default
|
|
8002
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
8013
8003
|
return changePage('first');
|
|
8014
8004
|
}, disabled: currentPage === 1 }),
|
|
8015
|
-
React__default
|
|
8005
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8016
8006
|
return changePage('prev');
|
|
8017
8007
|
}, disabled: currentPage === 1 }),
|
|
8018
|
-
React__default
|
|
8008
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8019
8009
|
return renderNewPages('prev');
|
|
8020
8010
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8021
8011
|
pages.map(function (page) {
|
|
8022
|
-
return React__default
|
|
8023
|
-
|
|
8012
|
+
return React__default.createElement(
|
|
8013
|
+
Pagination.Item,
|
|
8024
8014
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
8025
8015
|
return changePage(page);
|
|
8026
8016
|
} },
|
|
8027
8017
|
page
|
|
8028
8018
|
);
|
|
8029
8019
|
}),
|
|
8030
|
-
React__default
|
|
8020
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8031
8021
|
return renderNewPages('next');
|
|
8032
8022
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8033
|
-
React__default
|
|
8023
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8034
8024
|
return changePage('next');
|
|
8035
8025
|
}, disabled: currentPage === pageCount }),
|
|
8036
|
-
React__default
|
|
8026
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8037
8027
|
return changePage('last');
|
|
8038
8028
|
}, disabled: currentPage === pageCount })
|
|
8039
8029
|
);
|
|
@@ -8116,51 +8106,51 @@ var Quiz = function Quiz(_ref) {
|
|
|
8116
8106
|
}
|
|
8117
8107
|
};
|
|
8118
8108
|
|
|
8119
|
-
return React__default
|
|
8120
|
-
React__default
|
|
8109
|
+
return React__default.createElement(
|
|
8110
|
+
React__default.Fragment,
|
|
8121
8111
|
null,
|
|
8122
|
-
quizzes[currentPage - 1] && React__default
|
|
8123
|
-
React__default
|
|
8112
|
+
quizzes[currentPage - 1] && React__default.createElement(
|
|
8113
|
+
React__default.Fragment,
|
|
8124
8114
|
null,
|
|
8125
|
-
React__default
|
|
8126
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default
|
|
8115
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8116
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default.createElement(
|
|
8127
8117
|
'form',
|
|
8128
8118
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8129
8119
|
return e.preventDefault();
|
|
8130
8120
|
} },
|
|
8131
8121
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8132
|
-
return React__default
|
|
8122
|
+
return React__default.createElement(
|
|
8133
8123
|
'div',
|
|
8134
8124
|
{ key: answer._key },
|
|
8135
|
-
React__default
|
|
8125
|
+
React__default.createElement(
|
|
8136
8126
|
'label',
|
|
8137
8127
|
{ className: 'pl-2' },
|
|
8138
|
-
quizzes[currentPage - 1].multiAnswer ? React__default
|
|
8128
|
+
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 }),
|
|
8139
8129
|
' ' + answer.answerText
|
|
8140
8130
|
)
|
|
8141
8131
|
);
|
|
8142
8132
|
})
|
|
8143
8133
|
)
|
|
8144
8134
|
),
|
|
8145
|
-
!showAnswer && React__default
|
|
8146
|
-
|
|
8135
|
+
!showAnswer && React__default.createElement(
|
|
8136
|
+
Button,
|
|
8147
8137
|
{ onClick: function onClick() {
|
|
8148
8138
|
return checkAnswers();
|
|
8149
8139
|
}, variant: 'info', block: true },
|
|
8150
8140
|
'Please click here for answer'
|
|
8151
8141
|
),
|
|
8152
|
-
quizzes[currentPage - 1] && showAnswer && React__default
|
|
8153
|
-
React__default
|
|
8142
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
8143
|
+
React__default.Fragment,
|
|
8154
8144
|
null,
|
|
8155
|
-
React__default
|
|
8145
|
+
React__default.createElement(
|
|
8156
8146
|
'h4',
|
|
8157
8147
|
null,
|
|
8158
8148
|
'Answer:'
|
|
8159
8149
|
),
|
|
8160
|
-
quizzes[currentPage - 1].answer && React__default
|
|
8150
|
+
quizzes[currentPage - 1].answer && React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8161
8151
|
),
|
|
8162
|
-
React__default
|
|
8163
|
-
pageCount > 1 && React__default
|
|
8152
|
+
React__default.createElement('br', null),
|
|
8153
|
+
pageCount > 1 && React__default.createElement(
|
|
8164
8154
|
'div',
|
|
8165
8155
|
{ className: 'd-flex justify-content-center' },
|
|
8166
8156
|
renderPagination()
|
|
@@ -8171,19 +8161,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8171
8161
|
var Leads = function Leads(_ref) {
|
|
8172
8162
|
var url = _ref.url;
|
|
8173
8163
|
|
|
8174
|
-
return React__default
|
|
8164
|
+
return React__default.createElement(
|
|
8175
8165
|
'div',
|
|
8176
8166
|
{ className: 'd-block text-center mb-3' },
|
|
8177
|
-
React__default
|
|
8167
|
+
React__default.createElement(
|
|
8178
8168
|
'style',
|
|
8179
8169
|
{ jsx: 'true' },
|
|
8180
8170
|
'\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 '
|
|
8181
8171
|
),
|
|
8182
|
-
url && React__default
|
|
8172
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8183
8173
|
);
|
|
8184
8174
|
};
|
|
8185
8175
|
|
|
8186
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8176
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8187
8177
|
var slides = _ref.node.slides,
|
|
8188
8178
|
client = _ref.client,
|
|
8189
8179
|
pageview = _ref.pageview,
|
|
@@ -8219,53 +8209,53 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8219
8209
|
setCarouselIndex(selectedIndex);
|
|
8220
8210
|
};
|
|
8221
8211
|
|
|
8222
|
-
return React__default
|
|
8212
|
+
return React__default.createElement(
|
|
8223
8213
|
'div',
|
|
8224
8214
|
{ className: 'mt-3 mb-4' },
|
|
8225
|
-
React__default
|
|
8215
|
+
React__default.createElement(
|
|
8226
8216
|
reactBootstrap.Carousel,
|
|
8227
8217
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8228
8218
|
slides && slides.map(function (slide) {
|
|
8229
8219
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8230
|
-
return React__default
|
|
8220
|
+
return React__default.createElement(
|
|
8231
8221
|
reactBootstrap.Carousel.Item,
|
|
8232
8222
|
{ key: slide._key },
|
|
8233
|
-
React__default
|
|
8223
|
+
React__default.createElement(
|
|
8234
8224
|
'a',
|
|
8235
8225
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8236
|
-
React__default
|
|
8226
|
+
React__default.createElement(
|
|
8237
8227
|
'div',
|
|
8238
8228
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8239
|
-
React__default
|
|
8229
|
+
React__default.createElement(
|
|
8240
8230
|
index$2.LazyLoad,
|
|
8241
8231
|
null,
|
|
8242
|
-
React__default
|
|
8232
|
+
React__default.createElement(
|
|
8243
8233
|
'picture',
|
|
8244
8234
|
null,
|
|
8245
|
-
React__default
|
|
8246
|
-
React__default
|
|
8247
|
-
React__default
|
|
8248
|
-
React__default
|
|
8235
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8236
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8237
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8238
|
+
React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8249
8239
|
)
|
|
8250
8240
|
)
|
|
8251
8241
|
)
|
|
8252
8242
|
),
|
|
8253
|
-
React__default
|
|
8243
|
+
React__default.createElement(
|
|
8254
8244
|
'div',
|
|
8255
8245
|
{ className: 'p-2' },
|
|
8256
|
-
slide.slideshowImage.caption && React__default
|
|
8246
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
8257
8247
|
'h3',
|
|
8258
8248
|
{ style: { padding: '0px' } },
|
|
8259
8249
|
slide.slideshowImage.caption
|
|
8260
8250
|
),
|
|
8261
|
-
slide.description && React__default
|
|
8251
|
+
slide.description && React__default.createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8262
8252
|
)
|
|
8263
8253
|
);
|
|
8264
8254
|
}
|
|
8265
8255
|
return null;
|
|
8266
8256
|
})
|
|
8267
8257
|
),
|
|
8268
|
-
React__default
|
|
8258
|
+
React__default.createElement(
|
|
8269
8259
|
'style',
|
|
8270
8260
|
{ jsx: 'true' },
|
|
8271
8261
|
'\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 '
|
|
@@ -8284,10 +8274,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8284
8274
|
sizes = _props$node.sizes,
|
|
8285
8275
|
sizeMapping = _props$node.sizeMapping;
|
|
8286
8276
|
|
|
8287
|
-
return React__default
|
|
8277
|
+
return React__default.createElement(
|
|
8288
8278
|
'div',
|
|
8289
8279
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8290
|
-
React__default
|
|
8280
|
+
React__default.createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8291
8281
|
);
|
|
8292
8282
|
};
|
|
8293
8283
|
|
|
@@ -8298,15 +8288,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8298
8288
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8299
8289
|
|
|
8300
8290
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8301
|
-
return React__default
|
|
8291
|
+
return React__default.createElement(
|
|
8302
8292
|
'section',
|
|
8303
8293
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8304
|
-
Caption && React__default
|
|
8294
|
+
Caption && React__default.createElement(
|
|
8305
8295
|
'h4',
|
|
8306
8296
|
{ className: 'formstack-caption' },
|
|
8307
8297
|
Caption
|
|
8308
8298
|
),
|
|
8309
|
-
React__default
|
|
8299
|
+
React__default.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8310
8300
|
);
|
|
8311
8301
|
};
|
|
8312
8302
|
|
|
@@ -8322,36 +8312,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8322
8312
|
}
|
|
8323
8313
|
});
|
|
8324
8314
|
if (medias && medias.length > 0) {
|
|
8325
|
-
return React__default
|
|
8315
|
+
return React__default.createElement(
|
|
8326
8316
|
'div',
|
|
8327
8317
|
{ className: 'multi-media-container' },
|
|
8328
|
-
React__default
|
|
8329
|
-
|
|
8318
|
+
React__default.createElement(
|
|
8319
|
+
Row,
|
|
8330
8320
|
{ noGutters: true },
|
|
8331
8321
|
medias.map(function (media) {
|
|
8332
|
-
return React__default
|
|
8333
|
-
|
|
8322
|
+
return React__default.createElement(
|
|
8323
|
+
Col,
|
|
8334
8324
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8335
|
-
React__default
|
|
8325
|
+
React__default.createElement(
|
|
8336
8326
|
'a',
|
|
8337
8327
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8338
8328
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8339
|
-
React__default
|
|
8329
|
+
React__default.createElement(
|
|
8340
8330
|
'div',
|
|
8341
8331
|
{ className: 'multi-media-image-container' },
|
|
8342
|
-
imageBox && React__default
|
|
8332
|
+
imageBox && React__default.createElement(
|
|
8343
8333
|
index$2.LazyLoad,
|
|
8344
8334
|
{ once: true },
|
|
8345
|
-
React__default
|
|
8335
|
+
React__default.createElement(
|
|
8346
8336
|
'picture',
|
|
8347
8337
|
null,
|
|
8348
|
-
React__default
|
|
8349
|
-
React__default
|
|
8350
|
-
React__default
|
|
8351
|
-
React__default
|
|
8338
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8339
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8340
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8341
|
+
React__default.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8352
8342
|
)
|
|
8353
8343
|
),
|
|
8354
|
-
media.caption && React__default
|
|
8344
|
+
media.caption && React__default.createElement(
|
|
8355
8345
|
'span',
|
|
8356
8346
|
{ className: 'multi-media-caption' },
|
|
8357
8347
|
media.caption
|
|
@@ -8361,7 +8351,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8361
8351
|
);
|
|
8362
8352
|
})
|
|
8363
8353
|
),
|
|
8364
|
-
React__default
|
|
8354
|
+
React__default.createElement(
|
|
8365
8355
|
'style',
|
|
8366
8356
|
{ jsx: 'true' },
|
|
8367
8357
|
'\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 '
|
|
@@ -8372,12 +8362,12 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8372
8362
|
};
|
|
8373
8363
|
|
|
8374
8364
|
var InscreenSensor = function (_React$Component) {
|
|
8375
|
-
inherits._inherits(InscreenSensor, _React$Component);
|
|
8365
|
+
inherits$1._inherits(InscreenSensor, _React$Component);
|
|
8376
8366
|
|
|
8377
8367
|
function InscreenSensor(props) {
|
|
8378
|
-
inherits._classCallCheck(this, InscreenSensor);
|
|
8368
|
+
inherits$1._classCallCheck(this, InscreenSensor);
|
|
8379
8369
|
|
|
8380
|
-
var _this = inherits._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits._Object$getPrototypeOf(InscreenSensor)).call(this, props));
|
|
8370
|
+
var _this = inherits$1._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits$1._Object$getPrototypeOf(InscreenSensor)).call(this, props));
|
|
8381
8371
|
|
|
8382
8372
|
_this.scrollHandler = function () {
|
|
8383
8373
|
var visible = _this.checkInside();
|
|
@@ -8408,12 +8398,12 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8408
8398
|
}
|
|
8409
8399
|
};
|
|
8410
8400
|
|
|
8411
|
-
_this.wraperRef = React__default
|
|
8401
|
+
_this.wraperRef = React__default.createRef();
|
|
8412
8402
|
_this.visible = false;
|
|
8413
8403
|
return _this;
|
|
8414
8404
|
}
|
|
8415
8405
|
|
|
8416
|
-
inherits._createClass(InscreenSensor, [{
|
|
8406
|
+
inherits$1._createClass(InscreenSensor, [{
|
|
8417
8407
|
key: 'componentDidMount',
|
|
8418
8408
|
value: function componentDidMount() {
|
|
8419
8409
|
this.visible = this.checkInside();
|
|
@@ -8436,7 +8426,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8436
8426
|
_props$id = _props.id,
|
|
8437
8427
|
id = _props$id === undefined ? '' : _props$id;
|
|
8438
8428
|
|
|
8439
|
-
return React__default
|
|
8429
|
+
return React__default.createElement(
|
|
8440
8430
|
'div',
|
|
8441
8431
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8442
8432
|
this.props.children
|
|
@@ -8445,7 +8435,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8445
8435
|
}]);
|
|
8446
8436
|
|
|
8447
8437
|
return InscreenSensor;
|
|
8448
|
-
}(React__default
|
|
8438
|
+
}(React__default.Component);
|
|
8449
8439
|
|
|
8450
8440
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8451
8441
|
var nodes = _ref.nodes,
|
|
@@ -8554,33 +8544,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8554
8544
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
8555
8545
|
var showReading = show ? 'showReading' : '';
|
|
8556
8546
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8557
|
-
return React__default
|
|
8547
|
+
return React__default.createElement(
|
|
8558
8548
|
'div',
|
|
8559
8549
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8560
|
-
React__default
|
|
8550
|
+
React__default.createElement(
|
|
8561
8551
|
'a',
|
|
8562
8552
|
{ onClick: function onClick(e) {
|
|
8563
8553
|
return articleCardClickHandler(e);
|
|
8564
8554
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleIndex': '' + index, 'data-articleid': '' + article.param.current },
|
|
8565
|
-
React__default
|
|
8555
|
+
React__default.createElement(
|
|
8566
8556
|
'div',
|
|
8567
8557
|
{ className: 'prevNext-thumbnail' },
|
|
8568
|
-
React__default
|
|
8569
|
-
React__default
|
|
8558
|
+
React__default.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
8559
|
+
React__default.createElement(
|
|
8570
8560
|
'div',
|
|
8571
8561
|
{ className: 'prevNext-reading ' + showReading },
|
|
8572
8562
|
articleLabel
|
|
8573
8563
|
)
|
|
8574
8564
|
),
|
|
8575
|
-
React__default
|
|
8565
|
+
React__default.createElement(
|
|
8576
8566
|
'div',
|
|
8577
8567
|
{ className: 'prevNext-summary' },
|
|
8578
|
-
React__default
|
|
8568
|
+
React__default.createElement(
|
|
8579
8569
|
'div',
|
|
8580
8570
|
{ className: 'prevNext-publishDate' },
|
|
8581
8571
|
moment.moment(article.published).format('LL')
|
|
8582
8572
|
),
|
|
8583
|
-
React__default
|
|
8573
|
+
React__default.createElement(
|
|
8584
8574
|
'h2',
|
|
8585
8575
|
{ className: 'prevNext-title' },
|
|
8586
8576
|
article.title
|
|
@@ -8629,7 +8619,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8629
8619
|
|
|
8630
8620
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
8631
8621
|
if (biography) {
|
|
8632
|
-
return React__default
|
|
8622
|
+
return React__default.createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
8633
8623
|
}
|
|
8634
8624
|
};
|
|
8635
8625
|
|
|
@@ -8787,38 +8777,38 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8787
8777
|
setSensorVisible(false);
|
|
8788
8778
|
};
|
|
8789
8779
|
|
|
8790
|
-
return React__default
|
|
8791
|
-
React__default
|
|
8780
|
+
return React__default.createElement(
|
|
8781
|
+
React__default.Fragment,
|
|
8792
8782
|
null,
|
|
8793
|
-
React__default
|
|
8783
|
+
React__default.createElement(
|
|
8794
8784
|
'div',
|
|
8795
8785
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
8796
|
-
React__default
|
|
8786
|
+
React__default.createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
8797
8787
|
return handleArrowClick();
|
|
8798
8788
|
} })
|
|
8799
8789
|
),
|
|
8800
|
-
React__default
|
|
8801
|
-
React__default
|
|
8790
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' }),
|
|
8791
|
+
React__default.createElement(
|
|
8802
8792
|
'div',
|
|
8803
8793
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8804
|
-
React__default
|
|
8794
|
+
React__default.createElement(
|
|
8805
8795
|
'h5',
|
|
8806
8796
|
{ className: 'objective-title' },
|
|
8807
8797
|
nodes.seriesTitle
|
|
8808
8798
|
),
|
|
8809
|
-
React__default
|
|
8799
|
+
React__default.createElement(
|
|
8810
8800
|
'div',
|
|
8811
8801
|
{ className: 'prevNextWrapper' },
|
|
8812
8802
|
PrevNextCards(false, -1)
|
|
8813
8803
|
)
|
|
8814
8804
|
),
|
|
8815
|
-
React__default
|
|
8816
|
-
React__default
|
|
8805
|
+
React__default.createElement('hr', { className: 'article-seperater' }),
|
|
8806
|
+
React__default.createElement(
|
|
8817
8807
|
'div',
|
|
8818
8808
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8819
8809
|
main.main_43 && Ads.map(function (ad, index) {
|
|
8820
8810
|
if (index === 0) {
|
|
8821
|
-
return React__default
|
|
8811
|
+
return React__default.createElement(
|
|
8822
8812
|
'div',
|
|
8823
8813
|
{
|
|
8824
8814
|
key: 'addid-1',
|
|
@@ -8838,14 +8828,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8838
8828
|
}
|
|
8839
8829
|
})
|
|
8840
8830
|
),
|
|
8841
|
-
React__default
|
|
8831
|
+
React__default.createElement(
|
|
8842
8832
|
'div',
|
|
8843
8833
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
8844
8834
|
Articles.map(function (article, index) {
|
|
8845
|
-
return React__default
|
|
8835
|
+
return React__default.createElement(
|
|
8846
8836
|
'div',
|
|
8847
8837
|
{ key: article.title },
|
|
8848
|
-
React__default
|
|
8838
|
+
React__default.createElement(
|
|
8849
8839
|
InscreenSensor,
|
|
8850
8840
|
{
|
|
8851
8841
|
visible: sensorVisible,
|
|
@@ -8863,84 +8853,84 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8863
8853
|
}
|
|
8864
8854
|
}
|
|
8865
8855
|
} },
|
|
8866
|
-
React__default
|
|
8867
|
-
|
|
8856
|
+
React__default.createElement(
|
|
8857
|
+
Head,
|
|
8868
8858
|
null,
|
|
8869
|
-
currentTitle !== null && React__default
|
|
8859
|
+
currentTitle !== null && React__default.createElement(
|
|
8870
8860
|
'title',
|
|
8871
8861
|
{ key: 'title' },
|
|
8872
8862
|
currentTitle
|
|
8873
8863
|
),
|
|
8874
|
-
currentSummary !== null && React__default
|
|
8875
|
-
currentURL !== null && React__default
|
|
8876
|
-
currentTitle !== null && React__default
|
|
8877
|
-
currentThumbnail !== null && React__default
|
|
8878
|
-
currentSummary !== null && React__default
|
|
8879
|
-
currentTitle !== null && React__default
|
|
8880
|
-
currentThumbnail !== null && React__default
|
|
8881
|
-
currentSummary !== null && React__default
|
|
8864
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
8865
|
+
currentURL !== null && React__default.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
8866
|
+
currentTitle !== null && React__default.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
8867
|
+
currentThumbnail !== null && React__default.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
8868
|
+
currentSummary !== null && React__default.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
8869
|
+
currentTitle !== null && React__default.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
8870
|
+
currentThumbnail !== null && React__default.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
8871
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
8882
8872
|
),
|
|
8883
|
-
React__default
|
|
8873
|
+
React__default.createElement(
|
|
8884
8874
|
'article',
|
|
8885
8875
|
{ className: 'article-wrapper' },
|
|
8886
|
-
React__default
|
|
8876
|
+
React__default.createElement(
|
|
8887
8877
|
'div',
|
|
8888
8878
|
{ className: 'article-publishDate' },
|
|
8889
8879
|
moment.moment(article.published).format('LL')
|
|
8890
8880
|
),
|
|
8891
|
-
React__default
|
|
8881
|
+
React__default.createElement(
|
|
8892
8882
|
'div',
|
|
8893
8883
|
{ className: 'author-details-wrapper' },
|
|
8894
8884
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
8895
|
-
return React__default
|
|
8885
|
+
return React__default.createElement(
|
|
8896
8886
|
'span',
|
|
8897
8887
|
{ key: index },
|
|
8898
8888
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
8899
8889
|
);
|
|
8900
8890
|
})
|
|
8901
8891
|
),
|
|
8902
|
-
React__default
|
|
8892
|
+
React__default.createElement(
|
|
8903
8893
|
'h2',
|
|
8904
8894
|
{ className: 'article-title' },
|
|
8905
8895
|
article.title
|
|
8906
8896
|
),
|
|
8907
|
-
React__default
|
|
8897
|
+
React__default.createElement(
|
|
8908
8898
|
'div',
|
|
8909
8899
|
{ className: 'mt-2 mb-2' },
|
|
8910
|
-
React__default
|
|
8900
|
+
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
8911
8901
|
serializers: getSerializers,
|
|
8912
8902
|
videoAccountIDs: accountIDs,
|
|
8913
8903
|
blocks: article.text,
|
|
8914
8904
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
8915
8905
|
}, client.config())),
|
|
8916
|
-
React__default
|
|
8906
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' })
|
|
8917
8907
|
),
|
|
8918
|
-
Articles.length > 1 && React__default
|
|
8919
|
-
React__default
|
|
8908
|
+
Articles.length > 1 && React__default.createElement(
|
|
8909
|
+
React__default.Fragment,
|
|
8920
8910
|
null,
|
|
8921
|
-
React__default
|
|
8911
|
+
React__default.createElement(
|
|
8922
8912
|
'div',
|
|
8923
8913
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8924
|
-
React__default
|
|
8914
|
+
React__default.createElement(
|
|
8925
8915
|
'h5',
|
|
8926
8916
|
{ className: 'objective-title' },
|
|
8927
8917
|
nodes.seriesTitle
|
|
8928
8918
|
),
|
|
8929
|
-
React__default
|
|
8919
|
+
React__default.createElement(
|
|
8930
8920
|
'div',
|
|
8931
8921
|
{ className: 'prevNextWrapper' },
|
|
8932
8922
|
PrevNextCards(true, index)
|
|
8933
8923
|
)
|
|
8934
8924
|
),
|
|
8935
|
-
React__default
|
|
8925
|
+
React__default.createElement('hr', { className: 'article-seperater' })
|
|
8936
8926
|
)
|
|
8937
8927
|
),
|
|
8938
|
-
React__default
|
|
8928
|
+
React__default.createElement(
|
|
8939
8929
|
'div',
|
|
8940
8930
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8941
8931
|
main.main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
8942
8932
|
if (innerIndex === 0) {
|
|
8943
|
-
return React__default
|
|
8933
|
+
return React__default.createElement(
|
|
8944
8934
|
'div',
|
|
8945
8935
|
{
|
|
8946
8936
|
key: 'addid-' + (index + 2),
|
|
@@ -8963,7 +8953,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8963
8953
|
)
|
|
8964
8954
|
);
|
|
8965
8955
|
}),
|
|
8966
|
-
React__default
|
|
8956
|
+
React__default.createElement(
|
|
8967
8957
|
'style',
|
|
8968
8958
|
{ jsx: 'true' },
|
|
8969
8959
|
'\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 '
|
|
@@ -8993,11 +8983,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
8993
8983
|
};
|
|
8994
8984
|
}, [handleClickOutside]);
|
|
8995
8985
|
|
|
8996
|
-
return React__default
|
|
8986
|
+
return React__default.createElement(
|
|
8997
8987
|
'div',
|
|
8998
8988
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
8999
|
-
React__default
|
|
9000
|
-
React__default
|
|
8989
|
+
React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
8990
|
+
React__default.createElement(
|
|
9001
8991
|
'style',
|
|
9002
8992
|
{ jsx: 'true' },
|
|
9003
8993
|
'\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 '
|
|
@@ -9011,7 +9001,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9011
9001
|
}
|
|
9012
9002
|
};
|
|
9013
9003
|
|
|
9014
|
-
var FigureImage
|
|
9004
|
+
var FigureImage = React__default.memo(function (_ref2) {
|
|
9015
9005
|
var node = _ref2.node,
|
|
9016
9006
|
client = _ref2.client,
|
|
9017
9007
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9019,13 +9009,13 @@ var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
|
9019
9009
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9020
9010
|
|
|
9021
9011
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9022
|
-
return React__default
|
|
9012
|
+
return React__default.createElement(
|
|
9023
9013
|
'picture',
|
|
9024
9014
|
null,
|
|
9025
|
-
React__default
|
|
9026
|
-
React__default
|
|
9027
|
-
React__default
|
|
9028
|
-
React__default
|
|
9015
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9016
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9017
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9018
|
+
React__default.createElement('img', _extends._extends({
|
|
9029
9019
|
style: figureImageStyle,
|
|
9030
9020
|
className: 'figure-image',
|
|
9031
9021
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9076,30 +9066,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9076
9066
|
|
|
9077
9067
|
var renderTooltip = function renderTooltip(props) {
|
|
9078
9068
|
if (infoBox[0].title) {
|
|
9079
|
-
return React__default
|
|
9080
|
-
|
|
9069
|
+
return React__default.createElement(
|
|
9070
|
+
Popover,
|
|
9081
9071
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9082
|
-
React__default
|
|
9083
|
-
|
|
9072
|
+
React__default.createElement(
|
|
9073
|
+
Popover.Title,
|
|
9084
9074
|
{ as: 'h3' },
|
|
9085
9075
|
infoBox[0].title
|
|
9086
9076
|
),
|
|
9087
|
-
React__default
|
|
9088
|
-
|
|
9077
|
+
React__default.createElement(
|
|
9078
|
+
Popover.Content,
|
|
9089
9079
|
null,
|
|
9090
|
-
React__default
|
|
9080
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9091
9081
|
)
|
|
9092
9082
|
);
|
|
9093
9083
|
} else {
|
|
9094
|
-
return React__default
|
|
9095
|
-
|
|
9084
|
+
return React__default.createElement(
|
|
9085
|
+
Tooltip,
|
|
9096
9086
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9097
|
-
React__default
|
|
9087
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9098
9088
|
);
|
|
9099
9089
|
}
|
|
9100
9090
|
};
|
|
9101
9091
|
|
|
9102
|
-
var FigureImageWOverLay = React__default
|
|
9092
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9103
9093
|
var node = _ref3.node,
|
|
9104
9094
|
client = _ref3.client,
|
|
9105
9095
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9109,13 +9099,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9109
9099
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9110
9100
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9111
9101
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9112
|
-
return React__default
|
|
9102
|
+
return React__default.createElement(
|
|
9113
9103
|
'picture',
|
|
9114
9104
|
null,
|
|
9115
|
-
React__default
|
|
9116
|
-
React__default
|
|
9117
|
-
React__default
|
|
9118
|
-
main.main_42 && link ? React__default
|
|
9105
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9106
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9107
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9108
|
+
main.main_42 && link ? React__default.createElement('img', _extends._extends({
|
|
9119
9109
|
style: figureImageStyle,
|
|
9120
9110
|
className: 'figure-image',
|
|
9121
9111
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9124,10 +9114,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9124
9114
|
onClick: function onClick() {
|
|
9125
9115
|
return handleClickFigure(node, client);
|
|
9126
9116
|
}
|
|
9127
|
-
})) : React__default
|
|
9128
|
-
|
|
9117
|
+
})) : React__default.createElement(
|
|
9118
|
+
OverlayTrigger,
|
|
9129
9119
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9130
|
-
React__default
|
|
9120
|
+
React__default.createElement('img', _extends._extends({
|
|
9131
9121
|
style: figureImageStyle,
|
|
9132
9122
|
className: 'figure-image',
|
|
9133
9123
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9181,13 +9171,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9181
9171
|
|
|
9182
9172
|
var FigureCaption = React.useCallback(function () {
|
|
9183
9173
|
if (imgcaption && imgcaption.length > 0) {
|
|
9184
|
-
return React__default
|
|
9174
|
+
return React__default.createElement(
|
|
9185
9175
|
'div',
|
|
9186
9176
|
{ className: 'figure-caption' },
|
|
9187
|
-
React__default
|
|
9177
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9188
9178
|
);
|
|
9189
9179
|
} else if (caption) {
|
|
9190
|
-
return React__default
|
|
9180
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9191
9181
|
} else return null;
|
|
9192
9182
|
}, [caption, imgcaption]);
|
|
9193
9183
|
|
|
@@ -9204,24 +9194,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9204
9194
|
setShowLightbox(true);
|
|
9205
9195
|
}, [node, client]);
|
|
9206
9196
|
|
|
9207
|
-
return React__default
|
|
9208
|
-
React__default
|
|
9197
|
+
return React__default.createElement(
|
|
9198
|
+
React__default.Fragment,
|
|
9209
9199
|
null,
|
|
9210
|
-
infoBox.length >= 1 ? React__default
|
|
9211
|
-
|
|
9200
|
+
infoBox.length >= 1 ? React__default.createElement(
|
|
9201
|
+
Figure$1,
|
|
9212
9202
|
{ className: '' + class_name, style: figureStyle },
|
|
9213
|
-
link ? React__default
|
|
9203
|
+
link ? React__default.createElement(
|
|
9214
9204
|
'a',
|
|
9215
9205
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9216
|
-
React__default
|
|
9217
|
-
React__default
|
|
9218
|
-
) : React__default
|
|
9219
|
-
React__default
|
|
9206
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9207
|
+
React__default.createElement(FigureCaption, null)
|
|
9208
|
+
) : React__default.createElement(
|
|
9209
|
+
React__default.Fragment,
|
|
9220
9210
|
null,
|
|
9221
|
-
React__default
|
|
9222
|
-
React__default
|
|
9211
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9212
|
+
React__default.createElement(FigureCaption, null)
|
|
9223
9213
|
),
|
|
9224
|
-
React__default
|
|
9214
|
+
React__default.createElement(LightBox, {
|
|
9225
9215
|
showLightbox: showLightbox,
|
|
9226
9216
|
lightboxImgSrc: lightboxImgSrc,
|
|
9227
9217
|
closeLightbox: function closeLightbox() {
|
|
@@ -9229,21 +9219,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9229
9219
|
setShowLightbox(false);
|
|
9230
9220
|
}
|
|
9231
9221
|
})
|
|
9232
|
-
) : React__default
|
|
9233
|
-
|
|
9222
|
+
) : React__default.createElement(
|
|
9223
|
+
Figure$1,
|
|
9234
9224
|
{ className: '' + class_name, style: figureStyle },
|
|
9235
|
-
link ? React__default
|
|
9225
|
+
link ? React__default.createElement(
|
|
9236
9226
|
'a',
|
|
9237
9227
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9238
|
-
React__default
|
|
9239
|
-
React__default
|
|
9240
|
-
) : React__default
|
|
9241
|
-
React__default
|
|
9228
|
+
React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9229
|
+
React__default.createElement(FigureCaption, null)
|
|
9230
|
+
) : React__default.createElement(
|
|
9231
|
+
React__default.Fragment,
|
|
9242
9232
|
null,
|
|
9243
|
-
React__default
|
|
9244
|
-
React__default
|
|
9233
|
+
React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9234
|
+
React__default.createElement(FigureCaption, null)
|
|
9245
9235
|
),
|
|
9246
|
-
React__default
|
|
9236
|
+
React__default.createElement(LightBox, {
|
|
9247
9237
|
showLightbox: showLightbox,
|
|
9248
9238
|
lightboxImgSrc: lightboxImgSrc,
|
|
9249
9239
|
closeLightbox: function closeLightbox() {
|
|
@@ -9252,7 +9242,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9252
9242
|
}
|
|
9253
9243
|
})
|
|
9254
9244
|
),
|
|
9255
|
-
React__default
|
|
9245
|
+
React__default.createElement(
|
|
9256
9246
|
'style',
|
|
9257
9247
|
{ jsx: 'true' },
|
|
9258
9248
|
'\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 '
|
|
@@ -9260,7 +9250,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9260
9250
|
);
|
|
9261
9251
|
};
|
|
9262
9252
|
|
|
9263
|
-
var Figure = React__default
|
|
9253
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
9264
9254
|
|
|
9265
9255
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9266
9256
|
React.useEffect(function () {
|
|
@@ -9277,7 +9267,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9277
9267
|
}, [ref]);
|
|
9278
9268
|
}
|
|
9279
9269
|
|
|
9280
|
-
var FigureImage = React__default
|
|
9270
|
+
var FigureImage$1 = React__default.memo(function (_ref) {
|
|
9281
9271
|
var imagesCount = _ref.imagesCount,
|
|
9282
9272
|
image = _ref.image,
|
|
9283
9273
|
client = _ref.client,
|
|
@@ -9285,13 +9275,13 @@ var FigureImage = React__default['default'].memo(function (_ref) {
|
|
|
9285
9275
|
link = _ref.link,
|
|
9286
9276
|
handleClickFigure = _ref.handleClickFigure;
|
|
9287
9277
|
|
|
9288
|
-
return React__default
|
|
9278
|
+
return React__default.createElement(
|
|
9289
9279
|
'picture',
|
|
9290
9280
|
null,
|
|
9291
|
-
React__default
|
|
9292
|
-
React__default
|
|
9293
|
-
React__default
|
|
9294
|
-
React__default
|
|
9281
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9282
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9283
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9284
|
+
React__default.createElement('img', _extends._extends({
|
|
9295
9285
|
'images-count': imagesCount,
|
|
9296
9286
|
className: 'multi-figure-image',
|
|
9297
9287
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9328,13 +9318,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9328
9318
|
imgcaption = _ref2.imgcaption;
|
|
9329
9319
|
|
|
9330
9320
|
if (imgcaption && imgcaption.length > 0) {
|
|
9331
|
-
return React__default
|
|
9321
|
+
return React__default.createElement(
|
|
9332
9322
|
'div',
|
|
9333
9323
|
{ className: 'multi-figure-caption' },
|
|
9334
|
-
React__default
|
|
9324
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9335
9325
|
);
|
|
9336
9326
|
} else if (caption) {
|
|
9337
|
-
return React__default
|
|
9327
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9338
9328
|
} else return null;
|
|
9339
9329
|
};
|
|
9340
9330
|
|
|
@@ -9343,7 +9333,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9343
9333
|
setOpenImg(true);
|
|
9344
9334
|
}, [client]);
|
|
9345
9335
|
|
|
9346
|
-
var FigureImageWOverLay = React__default
|
|
9336
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9347
9337
|
var imagesCount = _ref3.imagesCount,
|
|
9348
9338
|
image = _ref3.image,
|
|
9349
9339
|
client = _ref3.client,
|
|
@@ -9353,13 +9343,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9353
9343
|
|
|
9354
9344
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9355
9345
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9356
|
-
return React__default
|
|
9346
|
+
return React__default.createElement(
|
|
9357
9347
|
'picture',
|
|
9358
9348
|
null,
|
|
9359
|
-
React__default
|
|
9360
|
-
React__default
|
|
9361
|
-
React__default
|
|
9362
|
-
main.main_42 && link ? React__default
|
|
9349
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9350
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9351
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9352
|
+
main.main_42 && link ? React__default.createElement('img', _extends._extends({
|
|
9363
9353
|
'images-count': imagesCount,
|
|
9364
9354
|
className: 'multi-figure-image',
|
|
9365
9355
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9368,10 +9358,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9368
9358
|
onClick: function onClick() {
|
|
9369
9359
|
return handleClickFigure(image, client);
|
|
9370
9360
|
}
|
|
9371
|
-
})) : React__default
|
|
9372
|
-
|
|
9361
|
+
})) : React__default.createElement(
|
|
9362
|
+
OverlayTrigger,
|
|
9373
9363
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9374
|
-
React__default
|
|
9364
|
+
React__default.createElement('img', _extends._extends({
|
|
9375
9365
|
'images-count': imagesCount,
|
|
9376
9366
|
className: 'multi-figure-image',
|
|
9377
9367
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9387,102 +9377,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9387
9377
|
|
|
9388
9378
|
var renderTooltip = function renderTooltip(image) {
|
|
9389
9379
|
if (image.infoBox[0].title) {
|
|
9390
|
-
return React__default
|
|
9391
|
-
|
|
9380
|
+
return React__default.createElement(
|
|
9381
|
+
Popover,
|
|
9392
9382
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9393
|
-
React__default
|
|
9394
|
-
|
|
9383
|
+
React__default.createElement(
|
|
9384
|
+
Popover.Title,
|
|
9395
9385
|
{ as: 'h3' },
|
|
9396
9386
|
image.infoBox[0].title
|
|
9397
9387
|
),
|
|
9398
|
-
React__default
|
|
9399
|
-
|
|
9388
|
+
React__default.createElement(
|
|
9389
|
+
Popover.Content,
|
|
9400
9390
|
null,
|
|
9401
|
-
React__default
|
|
9391
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9402
9392
|
)
|
|
9403
9393
|
);
|
|
9404
9394
|
} else {
|
|
9405
|
-
return React__default
|
|
9406
|
-
|
|
9395
|
+
return React__default.createElement(
|
|
9396
|
+
Tooltip,
|
|
9407
9397
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9408
|
-
React__default
|
|
9398
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9409
9399
|
);
|
|
9410
9400
|
}
|
|
9411
9401
|
};
|
|
9412
9402
|
|
|
9413
9403
|
if (images && images.length > 0) {
|
|
9414
|
-
return React__default
|
|
9404
|
+
return React__default.createElement(
|
|
9415
9405
|
'div',
|
|
9416
9406
|
{ className: 'multi-figure-container' },
|
|
9417
|
-
React__default
|
|
9418
|
-
|
|
9407
|
+
React__default.createElement(
|
|
9408
|
+
Row,
|
|
9419
9409
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9420
9410
|
images.map(function (image, index) {
|
|
9421
9411
|
if (image.infoBox) {
|
|
9422
|
-
return React__default
|
|
9423
|
-
|
|
9412
|
+
return React__default.createElement(
|
|
9413
|
+
Col,
|
|
9424
9414
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9425
|
-
image.link ? React__default
|
|
9415
|
+
image.link ? React__default.createElement(
|
|
9426
9416
|
'a',
|
|
9427
9417
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9428
|
-
React__default
|
|
9418
|
+
React__default.createElement(
|
|
9429
9419
|
'div',
|
|
9430
9420
|
{ className: 'multi-figure-image-container' },
|
|
9431
|
-
React__default
|
|
9421
|
+
React__default.createElement(
|
|
9432
9422
|
index$2.LazyLoad,
|
|
9433
9423
|
{ once: true },
|
|
9434
|
-
React__default
|
|
9424
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9435
9425
|
),
|
|
9436
|
-
React__default
|
|
9426
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9437
9427
|
)
|
|
9438
|
-
) : React__default
|
|
9428
|
+
) : React__default.createElement(
|
|
9439
9429
|
'div',
|
|
9440
9430
|
{ className: 'multi-figure-image-container' },
|
|
9441
|
-
React__default
|
|
9431
|
+
React__default.createElement(
|
|
9442
9432
|
index$2.LazyLoad,
|
|
9443
9433
|
{ once: true },
|
|
9444
|
-
React__default
|
|
9434
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9445
9435
|
),
|
|
9446
|
-
React__default
|
|
9436
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9447
9437
|
)
|
|
9448
9438
|
);
|
|
9449
9439
|
} else {
|
|
9450
|
-
return React__default
|
|
9451
|
-
|
|
9440
|
+
return React__default.createElement(
|
|
9441
|
+
Col,
|
|
9452
9442
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9453
|
-
image.link ? React__default
|
|
9443
|
+
image.link ? React__default.createElement(
|
|
9454
9444
|
'a',
|
|
9455
9445
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9456
|
-
React__default
|
|
9446
|
+
React__default.createElement(
|
|
9457
9447
|
'div',
|
|
9458
9448
|
{ className: 'multi-figure-image-container' },
|
|
9459
|
-
React__default
|
|
9449
|
+
React__default.createElement(
|
|
9460
9450
|
index$2.LazyLoad,
|
|
9461
9451
|
{ once: true },
|
|
9462
|
-
React__default
|
|
9452
|
+
React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9463
9453
|
),
|
|
9464
|
-
React__default
|
|
9454
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9465
9455
|
)
|
|
9466
|
-
) : React__default
|
|
9456
|
+
) : React__default.createElement(
|
|
9467
9457
|
'div',
|
|
9468
9458
|
{ className: 'multi-figure-image-container' },
|
|
9469
|
-
React__default
|
|
9459
|
+
React__default.createElement(
|
|
9470
9460
|
index$2.LazyLoad,
|
|
9471
9461
|
{ once: true },
|
|
9472
|
-
React__default
|
|
9462
|
+
React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9473
9463
|
),
|
|
9474
|
-
React__default
|
|
9464
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9475
9465
|
)
|
|
9476
9466
|
);
|
|
9477
9467
|
}
|
|
9478
9468
|
})
|
|
9479
9469
|
),
|
|
9480
|
-
React__default
|
|
9470
|
+
React__default.createElement(
|
|
9481
9471
|
'div',
|
|
9482
9472
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9483
|
-
React__default
|
|
9473
|
+
React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9484
9474
|
),
|
|
9485
|
-
React__default
|
|
9475
|
+
React__default.createElement(
|
|
9486
9476
|
'style',
|
|
9487
9477
|
{ jsx: 'true' },
|
|
9488
9478
|
'\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 '
|
|
@@ -9531,23 +9521,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9531
9521
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9532
9522
|
}, []);
|
|
9533
9523
|
|
|
9534
|
-
return React__default
|
|
9535
|
-
React__default
|
|
9524
|
+
return React__default.createElement(
|
|
9525
|
+
React__default.Fragment,
|
|
9536
9526
|
null,
|
|
9537
|
-
React__default
|
|
9538
|
-
|
|
9527
|
+
React__default.createElement(
|
|
9528
|
+
Head,
|
|
9539
9529
|
null,
|
|
9540
|
-
React__default
|
|
9530
|
+
React__default.createElement('script', {
|
|
9541
9531
|
dangerouslySetInnerHTML: {
|
|
9542
9532
|
__html: 'history.scrollRestoration = "manual"'
|
|
9543
9533
|
}
|
|
9544
9534
|
})
|
|
9545
9535
|
),
|
|
9546
|
-
React__default
|
|
9536
|
+
React__default.createElement(
|
|
9547
9537
|
'div',
|
|
9548
9538
|
{ id: elementId },
|
|
9549
|
-
React__default
|
|
9550
|
-
React__default
|
|
9539
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9540
|
+
React__default.createElement(
|
|
9551
9541
|
'style',
|
|
9552
9542
|
{ jsx: 'true' },
|
|
9553
9543
|
'\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 '
|
|
@@ -9589,23 +9579,23 @@ var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
|
9589
9579
|
|
|
9590
9580
|
|
|
9591
9581
|
|
|
9592
|
-
var _classCallCheck3 = _interopRequireDefault(inherits.classCallCheck);
|
|
9582
|
+
var _classCallCheck3 = _interopRequireDefault(inherits$1.classCallCheck);
|
|
9593
9583
|
|
|
9594
9584
|
|
|
9595
9585
|
|
|
9596
|
-
var _possibleConstructorReturn3 = _interopRequireDefault(inherits.possibleConstructorReturn);
|
|
9586
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(inherits$1.possibleConstructorReturn);
|
|
9597
9587
|
|
|
9598
9588
|
|
|
9599
9589
|
|
|
9600
|
-
var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
9590
|
+
var _inherits3 = _interopRequireDefault(inherits$1.inherits);
|
|
9601
9591
|
|
|
9602
9592
|
|
|
9603
9593
|
|
|
9604
|
-
var _react2 = _interopRequireDefault(React__default
|
|
9594
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
9605
9595
|
|
|
9606
9596
|
|
|
9607
9597
|
|
|
9608
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default
|
|
9598
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default);
|
|
9609
9599
|
|
|
9610
9600
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9611
9601
|
var noop = function noop() {};
|
|
@@ -9750,9 +9740,9 @@ var ScriptTag = function (_Component) {
|
|
|
9750
9740
|
|
|
9751
9741
|
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
9752
9742
|
// eslint-disable-next-line no-unused-vars
|
|
9753
|
-
var _props3 = this.props
|
|
9754
|
-
_props3.isHydrating
|
|
9755
|
-
|
|
9743
|
+
var _props3 = this.props,
|
|
9744
|
+
isHydrating = _props3.isHydrating,
|
|
9745
|
+
tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
9756
9746
|
|
|
9757
9747
|
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
9758
9748
|
return _this2.domRef = tag;
|
|
@@ -9760,7 +9750,7 @@ var ScriptTag = function (_Component) {
|
|
|
9760
9750
|
};
|
|
9761
9751
|
|
|
9762
9752
|
return ScriptTag;
|
|
9763
|
-
}(React__default
|
|
9753
|
+
}(React__default.Component);
|
|
9764
9754
|
|
|
9765
9755
|
ScriptTag.propTypes = {
|
|
9766
9756
|
/**
|
|
@@ -9839,11 +9829,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
9839
9829
|
}, []);
|
|
9840
9830
|
|
|
9841
9831
|
if (iframeSrc) {
|
|
9842
|
-
return React__default
|
|
9832
|
+
return React__default.createElement(
|
|
9843
9833
|
'section',
|
|
9844
9834
|
{ className: 'form-assembly' },
|
|
9845
|
-
React__default
|
|
9846
|
-
React__default
|
|
9835
|
+
React__default.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
9836
|
+
React__default.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
9847
9837
|
);
|
|
9848
9838
|
}
|
|
9849
9839
|
|
|
@@ -9880,27 +9870,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
9880
9870
|
return window.removeEventListener('resize', handleResize);
|
|
9881
9871
|
};
|
|
9882
9872
|
}, []);
|
|
9883
|
-
return React__default
|
|
9873
|
+
return React__default.createElement(
|
|
9884
9874
|
'div',
|
|
9885
9875
|
{ className: 'blockTableHolder', ref: holder },
|
|
9886
|
-
React__default
|
|
9876
|
+
React__default.createElement(
|
|
9887
9877
|
'div',
|
|
9888
9878
|
{ className: 'blockTable' },
|
|
9889
9879
|
rows && rows.map(function (row) {
|
|
9890
|
-
return React__default
|
|
9880
|
+
return React__default.createElement(
|
|
9891
9881
|
'div',
|
|
9892
9882
|
{ className: 'blockTableRow' },
|
|
9893
9883
|
row.cells && row.cells.map(function (cell) {
|
|
9894
|
-
return React__default
|
|
9884
|
+
return React__default.createElement(
|
|
9895
9885
|
'div',
|
|
9896
9886
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
9897
|
-
React__default
|
|
9887
|
+
React__default.createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
9898
9888
|
);
|
|
9899
9889
|
})
|
|
9900
9890
|
);
|
|
9901
9891
|
})
|
|
9902
9892
|
),
|
|
9903
|
-
React__default
|
|
9893
|
+
React__default.createElement(
|
|
9904
9894
|
'style',
|
|
9905
9895
|
{ jsx: true },
|
|
9906
9896
|
'\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 '
|
|
@@ -9979,12 +9969,12 @@ var getSerializers = function getSerializers() {
|
|
|
9979
9969
|
var node = _ref.node;
|
|
9980
9970
|
var url = node.url;
|
|
9981
9971
|
|
|
9982
|
-
return React__default
|
|
9972
|
+
return React__default.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
9983
9973
|
},
|
|
9984
9974
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
9985
9975
|
var node = _ref2.node;
|
|
9986
9976
|
|
|
9987
|
-
return React__default
|
|
9977
|
+
return React__default.createElement(YouTubeGallery, {
|
|
9988
9978
|
nodes: node,
|
|
9989
9979
|
article: article,
|
|
9990
9980
|
meta: meta,
|
|
@@ -9998,7 +9988,7 @@ var getSerializers = function getSerializers() {
|
|
|
9998
9988
|
articleSeries: function articleSeries(_ref3) {
|
|
9999
9989
|
var node = _ref3.node;
|
|
10000
9990
|
|
|
10001
|
-
return React__default
|
|
9991
|
+
return React__default.createElement(ArticleSeries, {
|
|
10002
9992
|
nodes: node,
|
|
10003
9993
|
accountIDs: videoAccountIDs || {},
|
|
10004
9994
|
pageview: pageview,
|
|
@@ -10011,61 +10001,61 @@ var getSerializers = function getSerializers() {
|
|
|
10011
10001
|
figure: function figure(_ref4) {
|
|
10012
10002
|
var node = _ref4.node;
|
|
10013
10003
|
|
|
10014
|
-
return React__default
|
|
10004
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10015
10005
|
},
|
|
10016
10006
|
multifigure: function multifigure(_ref5) {
|
|
10017
10007
|
var node = _ref5.node;
|
|
10018
10008
|
|
|
10019
|
-
return React__default
|
|
10009
|
+
return React__default.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10020
10010
|
},
|
|
10021
10011
|
slideshow: function slideshow(_ref6) {
|
|
10022
10012
|
var node = _ref6.node;
|
|
10023
10013
|
var slides = node.slides;
|
|
10024
10014
|
|
|
10025
|
-
return React__default
|
|
10015
|
+
return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
10026
10016
|
},
|
|
10027
10017
|
sidebar: function sidebar(_ref7) {
|
|
10028
10018
|
var node = _ref7.node;
|
|
10029
10019
|
var caption = node.caption,
|
|
10030
10020
|
content = node.content;
|
|
10031
10021
|
|
|
10032
|
-
return React__default
|
|
10022
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10033
10023
|
},
|
|
10034
10024
|
datatable: function datatable(_ref8) {
|
|
10035
10025
|
var node = _ref8.node;
|
|
10036
10026
|
var table = node.table;
|
|
10037
10027
|
|
|
10038
|
-
return React__default
|
|
10028
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
10039
10029
|
},
|
|
10040
10030
|
media: function media(_ref9) {
|
|
10041
10031
|
var node = _ref9.node;
|
|
10042
10032
|
|
|
10043
|
-
return React__default
|
|
10033
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
10044
10034
|
},
|
|
10045
10035
|
iframe: function iframe(_ref10) {
|
|
10046
10036
|
var node = _ref10.node;
|
|
10047
10037
|
|
|
10048
|
-
return React__default
|
|
10038
|
+
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10049
10039
|
},
|
|
10050
10040
|
video: function video(_ref11) {
|
|
10051
10041
|
var node = _ref11.node;
|
|
10052
10042
|
|
|
10053
|
-
return React__default
|
|
10043
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting });
|
|
10054
10044
|
},
|
|
10055
10045
|
audio: function audio(_ref12) {
|
|
10056
10046
|
var node = _ref12.node;
|
|
10057
10047
|
|
|
10058
|
-
return React__default
|
|
10048
|
+
return React__default.createElement(Audio, { node: node });
|
|
10059
10049
|
},
|
|
10060
10050
|
poll: function poll(_ref13) {
|
|
10061
10051
|
var node = _ref13.node;
|
|
10062
10052
|
|
|
10063
|
-
return React__default
|
|
10053
|
+
return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10064
10054
|
},
|
|
10065
10055
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10066
10056
|
var node = _ref14.node;
|
|
10067
10057
|
|
|
10068
|
-
return React__default
|
|
10058
|
+
return React__default.createElement(Poll$1, {
|
|
10069
10059
|
node: node,
|
|
10070
10060
|
client: client,
|
|
10071
10061
|
pageview: pageview,
|
|
@@ -10079,35 +10069,35 @@ var getSerializers = function getSerializers() {
|
|
|
10079
10069
|
var node = _ref15.node;
|
|
10080
10070
|
var quizzes = node.quizzes;
|
|
10081
10071
|
|
|
10082
|
-
return React__default
|
|
10072
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10083
10073
|
},
|
|
10084
10074
|
leads: function leads(_ref16) {
|
|
10085
10075
|
var node = _ref16.node;
|
|
10086
10076
|
var leadID = node.leadID;
|
|
10087
10077
|
|
|
10088
10078
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10089
|
-
return React__default
|
|
10079
|
+
return React__default.createElement(Leads, { url: url });
|
|
10090
10080
|
},
|
|
10091
10081
|
slideshows: function slideshows(_ref17) {
|
|
10092
10082
|
var node = _ref17.node;
|
|
10093
10083
|
|
|
10094
|
-
return React__default
|
|
10084
|
+
return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10095
10085
|
},
|
|
10096
10086
|
nativeAd: function nativeAd(_ref18) {
|
|
10097
10087
|
var node = _ref18.node;
|
|
10098
10088
|
|
|
10099
|
-
return React__default
|
|
10089
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
10100
10090
|
},
|
|
10101
10091
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10102
10092
|
var node = _ref19.node;
|
|
10103
10093
|
|
|
10104
|
-
return React__default
|
|
10094
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10105
10095
|
},
|
|
10106
10096
|
hrtag: function hrtag() {
|
|
10107
|
-
return React__default
|
|
10097
|
+
return React__default.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10108
10098
|
},
|
|
10109
10099
|
brtag: function brtag() {
|
|
10110
|
-
return React__default
|
|
10100
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
10111
10101
|
},
|
|
10112
10102
|
formstack: function formstack(_ref20) {
|
|
10113
10103
|
var node = _ref20.node;
|
|
@@ -10115,29 +10105,29 @@ var getSerializers = function getSerializers() {
|
|
|
10115
10105
|
Caption = node.Caption,
|
|
10116
10106
|
needSegmentSupport = node.needSegmentSupport;
|
|
10117
10107
|
|
|
10118
|
-
return React__default
|
|
10108
|
+
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10119
10109
|
},
|
|
10120
10110
|
formassembly: FormAssembly,
|
|
10121
10111
|
multimedia: function multimedia(_ref21) {
|
|
10122
10112
|
var node = _ref21.node;
|
|
10123
10113
|
|
|
10124
|
-
return React__default
|
|
10114
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
10125
10115
|
},
|
|
10126
10116
|
blockTable: function blockTable(_ref22) {
|
|
10127
10117
|
var node = _ref22.node;
|
|
10128
|
-
return React__default
|
|
10118
|
+
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10129
10119
|
}
|
|
10130
10120
|
},
|
|
10131
10121
|
marks: {
|
|
10132
10122
|
superscript: function superscript(props) {
|
|
10133
|
-
return React__default
|
|
10123
|
+
return React__default.createElement(
|
|
10134
10124
|
'sup',
|
|
10135
10125
|
null,
|
|
10136
10126
|
props.children
|
|
10137
10127
|
);
|
|
10138
10128
|
},
|
|
10139
10129
|
subscript: function subscript(props) {
|
|
10140
|
-
return React__default
|
|
10130
|
+
return React__default.createElement(
|
|
10141
10131
|
'sub',
|
|
10142
10132
|
null,
|
|
10143
10133
|
props.children
|
|
@@ -10154,7 +10144,7 @@ var getSerializers = function getSerializers() {
|
|
|
10154
10144
|
if (href && href.charAt(0) === '#') {
|
|
10155
10145
|
var elementId = href.slice(1);
|
|
10156
10146
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10157
|
-
return React__default
|
|
10147
|
+
return React__default.createElement(
|
|
10158
10148
|
'a',
|
|
10159
10149
|
{ onClick: function onClick() {
|
|
10160
10150
|
return ScrollToElement(elementId);
|
|
@@ -10164,7 +10154,7 @@ var getSerializers = function getSerializers() {
|
|
|
10164
10154
|
}
|
|
10165
10155
|
|
|
10166
10156
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10167
|
-
return href ? React__default
|
|
10157
|
+
return href ? React__default.createElement(
|
|
10168
10158
|
'a',
|
|
10169
10159
|
_extends._extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10170
10160
|
children
|
|
@@ -10172,7 +10162,7 @@ var getSerializers = function getSerializers() {
|
|
|
10172
10162
|
},
|
|
10173
10163
|
alignleft: function alignleft(_ref23) {
|
|
10174
10164
|
var children = _ref23.children;
|
|
10175
|
-
return React__default
|
|
10165
|
+
return React__default.createElement(
|
|
10176
10166
|
'div',
|
|
10177
10167
|
{ style: { textAlign: 'left' } },
|
|
10178
10168
|
children
|
|
@@ -10180,7 +10170,7 @@ var getSerializers = function getSerializers() {
|
|
|
10180
10170
|
},
|
|
10181
10171
|
alignright: function alignright(_ref24) {
|
|
10182
10172
|
var children = _ref24.children;
|
|
10183
|
-
return React__default
|
|
10173
|
+
return React__default.createElement(
|
|
10184
10174
|
'div',
|
|
10185
10175
|
{ style: { textAlign: 'right' } },
|
|
10186
10176
|
children
|
|
@@ -10188,7 +10178,7 @@ var getSerializers = function getSerializers() {
|
|
|
10188
10178
|
},
|
|
10189
10179
|
aligncenter: function aligncenter(_ref25) {
|
|
10190
10180
|
var children = _ref25.children;
|
|
10191
|
-
return React__default
|
|
10181
|
+
return React__default.createElement(
|
|
10192
10182
|
'div',
|
|
10193
10183
|
{ style: { textAlign: 'center' } },
|
|
10194
10184
|
children
|
|
@@ -10196,7 +10186,7 @@ var getSerializers = function getSerializers() {
|
|
|
10196
10186
|
},
|
|
10197
10187
|
alignjustify: function alignjustify(_ref26) {
|
|
10198
10188
|
var children = _ref26.children;
|
|
10199
|
-
return React__default
|
|
10189
|
+
return React__default.createElement(
|
|
10200
10190
|
'div',
|
|
10201
10191
|
{ style: { textAlign: 'justify' } },
|
|
10202
10192
|
children
|
|
@@ -10206,7 +10196,7 @@ var getSerializers = function getSerializers() {
|
|
|
10206
10196
|
var children = props.children,
|
|
10207
10197
|
color = props.mark.color;
|
|
10208
10198
|
|
|
10209
|
-
return React__default
|
|
10199
|
+
return React__default.createElement(
|
|
10210
10200
|
'span',
|
|
10211
10201
|
{ style: { color: color ? color.hex : null } },
|
|
10212
10202
|
children
|