@mjhls/mjh-framework 1.0.935 → 1.0.936
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +26 -28
- package/dist/cjs/AD300x250x600.js +26 -28
- package/dist/cjs/AD728x90.js +29 -31
- package/dist/cjs/ADFloatingFooter.js +29 -31
- package/dist/cjs/ADFooter.js +12 -13
- package/dist/cjs/ADGutter.js +29 -31
- package/dist/cjs/{ADInfeed-44d43b8a.js → ADInfeed-a3fa4967.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +29 -31
- package/dist/cjs/ADSponsoredResources.js +29 -31
- package/dist/cjs/ADWebcast.js +29 -31
- package/dist/cjs/ADWelcome.js +30 -32
- package/dist/cjs/{ADlgInfeed-24d739f6.js → ADlgInfeed-79ce7a02.js} +10 -11
- package/dist/cjs/AccordionPanel.js +27 -29
- package/dist/cjs/AdSlot.js +30 -32
- package/dist/cjs/AdSlotsProvider.js +15 -18
- package/dist/cjs/AlgoliaSearch.js +67 -14215
- package/dist/cjs/AlphabeticList.js +23 -24
- package/dist/cjs/ArticleCarousel.js +19 -20
- package/dist/cjs/ArticleProgramLandingPage.js +58 -60
- package/dist/cjs/ArticleSeriesLandingPage.js +38 -40
- package/dist/cjs/ArticleSeriesListing.js +59 -61
- 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 -82
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +31 -34
- package/dist/cjs/Column3.js +55 -59
- package/dist/cjs/ConferenceArticleCard.js +25 -26
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/ContentCardPaginated.js +87 -93
- package/dist/cjs/DeckContent.js +92 -97
- package/dist/cjs/DeckQueue.js +86 -91
- package/dist/cjs/DeckQueuePaginated.js +81 -87
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-52a869e5.js} +32 -34
- package/dist/cjs/EventsDeck.js +133 -140
- package/dist/cjs/ExternalResources.js +79 -81
- package/dist/cjs/Feature.js +26 -28
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +182 -187
- package/dist/cjs/GridContentPaginated.js +172 -178
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +57 -58
- package/dist/cjs/HamMagazine.js +128 -133
- 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 +72 -74
- package/dist/cjs/HorizontalHero.js +28 -29
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-5d7082b9.js} +283 -182
- package/dist/cjs/IssueContentDeck.js +71 -76
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +66 -68
- package/dist/cjs/LeftNav.js +36 -39
- package/dist/cjs/MasterDeck.js +69 -71
- package/dist/cjs/MasterDeckPaginated.js +60 -63
- package/dist/cjs/{MediaSeriesCard-659279e0.js → MediaSeriesCard-b44a994b.js} +996 -902
- package/dist/cjs/MediaSeriesLanding.js +80 -84
- package/dist/cjs/MediaSeriesLandingPaginated.js +95 -99
- 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/{Pagination-885dcfbd.js → Pagination-df492888.js} +18 -21
- package/dist/cjs/PartnerDetailListing.js +96 -99
- package/dist/cjs/PartnerDetailListingPaginated.js +96 -99
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +17 -19
- package/dist/cjs/PubSection.js +40 -42
- package/dist/cjs/PubToc.js +13 -14
- package/dist/cjs/PublicationDeck.js +65 -70
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a54b1d9d.js} +36 -40
- package/dist/cjs/PublicationLanding.js +107 -115
- package/dist/cjs/QueueDeckExpanded.js +308 -309
- package/dist/cjs/QueueDeckExpandedPaginated.js +270 -271
- 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/Schema.js +14 -15
- package/dist/cjs/Search.js +16 -20
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +34 -35
- 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-b7faaedc.js → SocialSearchComponent-e5196fc1.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -66
- package/dist/cjs/TaxonomyDescription.js +54 -56
- package/dist/cjs/TemplateNormal.js +71 -73
- package/dist/cjs/ThumbnailCard.js +24 -26
- package/dist/cjs/Ustream.js +29 -30
- package/dist/cjs/VerticalHero.js +19 -20
- package/dist/cjs/VideoProgramLandingPage.js +73 -78
- package/dist/cjs/VideoSeriesCard.js +32 -33
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +48 -50
- package/dist/cjs/VideoSeriesListing.js +76 -78
- package/dist/cjs/View.js +609 -276
- 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 +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +16 -16
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -46
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-091ec6c8.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-f86bb269.js → index-79eed652.js} +6 -6
- package/dist/cjs/{index-fc2f1ca2.js → index-8bf6c863.js} +476 -12
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-c991e29a.js → index-9c98ac32.js} +592 -604
- 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-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-bf016399.js} +18 -19
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +230 -237
- package/dist/cjs/{inherits-de66ea16.js → inherits-07da6623.js} +21 -21
- 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/{urlForFile-29d3815a.js → urlForFile-0e7175d9.js} +1 -1
- 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 +20 -21
- package/dist/esm/AD300x250x600.js +20 -21
- package/dist/esm/AD728x90.js +22 -23
- package/dist/esm/ADFloatingFooter.js +20 -21
- package/dist/esm/ADFooter.js +4 -4
- package/dist/esm/ADGutter.js +20 -21
- package/dist/esm/{ADInfeed-7af1f934.js → ADInfeed-8153cd02.js} +4 -4
- package/dist/esm/ADSkyscraper.js +20 -21
- package/dist/esm/ADSponsoredResources.js +20 -21
- package/dist/esm/ADWebcast.js +20 -21
- package/dist/esm/ADWelcome.js +17 -18
- package/dist/esm/{ADlgInfeed-ebcafb85.js → ADlgInfeed-72aadf98.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +19 -20
- package/dist/esm/AdSlotsProvider.js +9 -10
- package/dist/esm/AlgoliaSearch.js +24 -14171
- package/dist/esm/AlphabeticList.js +8 -8
- package/dist/esm/ArticleCarousel.js +13 -13
- package/dist/esm/ArticleProgramLandingPage.js +49 -50
- package/dist/esm/ArticleSeriesLandingPage.js +29 -30
- package/dist/esm/ArticleSeriesListing.js +30 -31
- 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 -22
- package/dist/esm/Column2.js +14 -14
- package/dist/esm/Column3.js +28 -29
- package/dist/esm/ConferenceArticleCard.js +10 -10
- package/dist/esm/ContentCardPaginated.js +35 -36
- package/dist/esm/DeckContent.js +30 -31
- package/dist/esm/DeckQueue.js +28 -29
- package/dist/esm/DeckQueuePaginated.js +31 -32
- package/dist/esm/{Dfp-102f0beb.js → Dfp-8ff435f8.js} +12 -13
- package/dist/esm/EventsDeck.js +24 -24
- package/dist/esm/ExternalResources.js +46 -47
- package/dist/esm/Feature.js +6 -6
- package/dist/esm/ForbesHero.js +10 -10
- package/dist/esm/GridContent.js +42 -43
- package/dist/esm/GridContentPaginated.js +42 -43
- package/dist/esm/GridHero.js +11 -11
- package/dist/esm/GroupDeck.js +12 -12
- package/dist/esm/HamMagazine.js +23 -23
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -48
- package/dist/esm/HorizontalHero.js +8 -8
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-f34519d8.js} +134 -32
- package/dist/esm/IssueContentDeck.js +11 -11
- package/dist/esm/IssueDeck.js +13 -13
- package/dist/esm/IssueLanding.js +55 -56
- package/dist/esm/LeftNav.js +19 -20
- package/dist/esm/MasterDeck.js +30 -31
- package/dist/esm/MasterDeckPaginated.js +32 -33
- package/dist/esm/{MediaSeriesCard-06c6251a.js → MediaSeriesCard-dcc17da2.js} +373 -277
- package/dist/esm/MediaSeriesLanding.js +50 -52
- package/dist/esm/MediaSeriesLandingPaginated.js +56 -58
- package/dist/esm/NavDvm.js +11 -11
- package/dist/esm/NavMagazine.js +27 -27
- package/dist/esm/NavNative.js +26 -26
- package/dist/esm/OncliveHero.js +7 -7
- package/dist/esm/OncliveLargeHero.js +11 -11
- package/dist/esm/PageFilter.js +4 -4
- package/dist/esm/{Pagination-59436882.js → Pagination-4c847101.js} +2 -2
- package/dist/esm/PartnerDetailListing.js +58 -60
- package/dist/esm/PartnerDetailListingPaginated.js +58 -60
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +4 -4
- package/dist/esm/PubSection.js +32 -33
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +10 -10
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-99f26b5e.js} +2 -2
- package/dist/esm/PublicationLanding.js +26 -30
- package/dist/esm/QueueDeckExpanded.js +33 -34
- package/dist/esm/QueueDeckExpandedPaginated.js +35 -36
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +10 -10
- package/dist/esm/Schema.js +10 -10
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +17 -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-4b56cd8c.js → SocialSearchComponent-1a2b7ff8.js} +6 -6
- package/dist/esm/TaxonomyCard.js +12 -12
- package/dist/esm/TaxonomyDescription.js +45 -46
- package/dist/esm/TemplateNormal.js +45 -46
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +50 -51
- package/dist/esm/VideoSeriesCard.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +35 -36
- package/dist/esm/VideoSeriesListing.js +30 -31
- package/dist/esm/View.js +443 -105
- 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-958ef5fc.js → asyncToGenerator-ff459dfa.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 +45 -46
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-c43ad0eb.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-6dc67bdb.js → index-0aaba249.js} +116 -116
- 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-f0fc23eb.js → index-a9e53f80.js} +469 -4
- package/dist/esm/{index-3f5c03b2.js → index-f7fdcc91.js} +3 -3
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-ed50151c.js} +2 -2
- package/dist/esm/index.js +122 -125
- 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/{urlForFile-b69adffc.js → urlForFile-f1fe0b74.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-d325d196.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-6b037ff9.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- 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/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- 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,72 +1,60 @@
|
|
|
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 = require('./inherits-07da6623.js');
|
|
10
|
+
var _typeof$1 = 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-8bf6c863.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 stringify = require('./stringify-13405ce2.js');
|
|
27
|
+
var asyncToGenerator = require('./asyncToGenerator-15014394.js');
|
|
15
28
|
var Segment = require('./Segment.js');
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var _typeof$1 = require('./typeof-567e31ff.js');
|
|
22
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-a195642e.js');
|
|
23
|
-
var stringify = require('./stringify-f7a37a8d.js');
|
|
24
|
-
var Modal = require('react-bootstrap/Modal');
|
|
25
|
-
var Button = require('react-bootstrap/Button');
|
|
26
|
-
var Form = require('react-bootstrap/Form');
|
|
29
|
+
require('./Beam.js');
|
|
30
|
+
var AdSlot = require('./AdSlot.js');
|
|
31
|
+
var Button = _interopDefault(require('react-bootstrap/Button'));
|
|
32
|
+
var BlockContent = require('./BlockContent-bac780ac.js');
|
|
33
|
+
var index$3 = require('./index-187c967e.js');
|
|
27
34
|
var GroupDeck = require('./GroupDeck.js');
|
|
28
|
-
var
|
|
35
|
+
var reactBootstrap = require('react-bootstrap');
|
|
36
|
+
var index_esm = require('./index.esm-48e0f0d8.js');
|
|
37
|
+
var util = require('./util-f2c1b65b.js');
|
|
38
|
+
var urlForFile = require('./urlForFile-0e7175d9.js');
|
|
39
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-05029198.js');
|
|
40
|
+
var Modal = _interopDefault(require('react-bootstrap/Modal'));
|
|
41
|
+
var Form = _interopDefault(require('react-bootstrap/Form'));
|
|
42
|
+
var Head = _interopDefault(require('next/head'));
|
|
29
43
|
var SocialShare = require('./SocialShare.js');
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var Row = require('react-bootstrap/Row');
|
|
37
|
-
var Col = require('react-bootstrap/Col');
|
|
38
|
-
var Head = require('next/head');
|
|
39
|
-
var inherits = require('./inherits-de66ea16.js');
|
|
40
|
-
var index_esm = require('./index.esm-d81454e7.js');
|
|
41
|
-
var Figure$1 = require('react-bootstrap/Figure');
|
|
42
|
-
var OverlayTrigger = require('react-bootstrap/OverlayTrigger');
|
|
43
|
-
var Tooltip = require('react-bootstrap/Tooltip');
|
|
44
|
-
var Popover = require('react-bootstrap/Popover');
|
|
45
|
-
|
|
46
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
47
|
-
|
|
48
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
49
|
-
var Router__default = /*#__PURE__*/_interopDefaultLegacy(Router);
|
|
50
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
51
|
-
var Modal__default = /*#__PURE__*/_interopDefaultLegacy(Modal);
|
|
52
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
53
|
-
var Form__default = /*#__PURE__*/_interopDefaultLegacy(Form);
|
|
54
|
-
var Pagination__default = /*#__PURE__*/_interopDefaultLegacy(Pagination);
|
|
55
|
-
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
|
|
56
|
-
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);
|
|
57
|
-
var Head__default = /*#__PURE__*/_interopDefaultLegacy(Head);
|
|
58
|
-
var Figure__default = /*#__PURE__*/_interopDefaultLegacy(Figure$1);
|
|
59
|
-
var OverlayTrigger__default = /*#__PURE__*/_interopDefaultLegacy(OverlayTrigger);
|
|
60
|
-
var Tooltip__default = /*#__PURE__*/_interopDefaultLegacy(Tooltip);
|
|
61
|
-
var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
44
|
+
var _objectToArray = require('./_object-to-array-18379aba.js');
|
|
45
|
+
var Pagination = _interopDefault(require('react-bootstrap/Pagination'));
|
|
46
|
+
var Figure$1 = _interopDefault(require('react-bootstrap/Figure'));
|
|
47
|
+
var OverlayTrigger = _interopDefault(require('react-bootstrap/OverlayTrigger'));
|
|
48
|
+
var Tooltip = _interopDefault(require('react-bootstrap/Tooltip'));
|
|
49
|
+
var Popover = _interopDefault(require('react-bootstrap/Popover'));
|
|
62
50
|
|
|
63
51
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
64
52
|
var pageNumber = selectedIndex + 1;
|
|
65
53
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
66
|
-
Router__default
|
|
54
|
+
Router__default.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
67
55
|
};
|
|
68
56
|
|
|
69
|
-
var Slideshow
|
|
57
|
+
var Slideshow = function Slideshow(_ref) {
|
|
70
58
|
var slides = _ref.slides,
|
|
71
59
|
client = _ref.client,
|
|
72
60
|
pageview = _ref.pageview;
|
|
@@ -93,27 +81,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
93
81
|
if (pageview) pageview(router.asPath);
|
|
94
82
|
}, [router]);
|
|
95
83
|
|
|
96
|
-
return React__default
|
|
84
|
+
return React__default.createElement(
|
|
97
85
|
'div',
|
|
98
86
|
{ className: 'mt-3 mb-3' },
|
|
99
|
-
React__default
|
|
87
|
+
React__default.createElement(
|
|
100
88
|
reactBootstrap.Carousel,
|
|
101
89
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
102
90
|
return onChangeSlide(selectedIndex, router);
|
|
103
91
|
}, interval: null },
|
|
104
92
|
slides && slides.map(function (slide) {
|
|
105
|
-
return React__default
|
|
93
|
+
return React__default.createElement(
|
|
106
94
|
reactBootstrap.Carousel.Item,
|
|
107
95
|
{ key: slide._key },
|
|
108
|
-
React__default
|
|
96
|
+
React__default.createElement(
|
|
109
97
|
'picture',
|
|
110
98
|
null,
|
|
111
|
-
React__default
|
|
112
|
-
React__default
|
|
113
|
-
React__default
|
|
114
|
-
React__default
|
|
99
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
100
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
101
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
102
|
+
React__default.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
115
103
|
),
|
|
116
|
-
slide.caption && React__default
|
|
104
|
+
slide.caption && React__default.createElement(
|
|
117
105
|
'p',
|
|
118
106
|
{ className: 'p-2' },
|
|
119
107
|
slide.caption
|
|
@@ -703,14 +691,14 @@ function coerce(val) {
|
|
|
703
691
|
return val;
|
|
704
692
|
}
|
|
705
693
|
});
|
|
706
|
-
debug.coerce;
|
|
707
|
-
debug.disable;
|
|
708
|
-
debug.enable;
|
|
709
|
-
debug.enabled;
|
|
710
|
-
debug.humanize;
|
|
711
|
-
debug.names;
|
|
712
|
-
debug.skips;
|
|
713
|
-
debug.formatters;
|
|
694
|
+
var debug_1 = debug.coerce;
|
|
695
|
+
var debug_2 = debug.disable;
|
|
696
|
+
var debug_3 = debug.enable;
|
|
697
|
+
var debug_4 = debug.enabled;
|
|
698
|
+
var debug_5 = debug.humanize;
|
|
699
|
+
var debug_6 = debug.names;
|
|
700
|
+
var debug_7 = debug.skips;
|
|
701
|
+
var debug_8 = debug.formatters;
|
|
714
702
|
|
|
715
703
|
var browser = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
716
704
|
/**
|
|
@@ -899,13 +887,13 @@ function localstorage() {
|
|
|
899
887
|
} catch (e) {}
|
|
900
888
|
}
|
|
901
889
|
});
|
|
902
|
-
browser.log;
|
|
903
|
-
browser.formatArgs;
|
|
904
|
-
browser.save;
|
|
905
|
-
browser.load;
|
|
906
|
-
browser.useColors;
|
|
907
|
-
browser.storage;
|
|
908
|
-
browser.colors;
|
|
890
|
+
var browser_1 = browser.log;
|
|
891
|
+
var browser_2 = browser.formatArgs;
|
|
892
|
+
var browser_3 = browser.save;
|
|
893
|
+
var browser_4 = browser.load;
|
|
894
|
+
var browser_5 = browser.useColors;
|
|
895
|
+
var browser_6 = browser.storage;
|
|
896
|
+
var browser_7 = browser.colors;
|
|
909
897
|
|
|
910
898
|
// MIT lisence
|
|
911
899
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1180,14 +1168,14 @@ function init (debug) {
|
|
|
1180
1168
|
|
|
1181
1169
|
exports.enable(load());
|
|
1182
1170
|
});
|
|
1183
|
-
node.init;
|
|
1184
|
-
node.log;
|
|
1185
|
-
node.formatArgs;
|
|
1186
|
-
node.save;
|
|
1187
|
-
node.load;
|
|
1188
|
-
node.useColors;
|
|
1189
|
-
node.colors;
|
|
1190
|
-
node.inspectOpts;
|
|
1171
|
+
var node_1 = node.init;
|
|
1172
|
+
var node_2 = node.log;
|
|
1173
|
+
var node_3 = node.formatArgs;
|
|
1174
|
+
var node_4 = node.save;
|
|
1175
|
+
var node_5 = node.load;
|
|
1176
|
+
var node_6 = node.useColors;
|
|
1177
|
+
var node_7 = node.colors;
|
|
1178
|
+
var node_8 = node.inspectOpts;
|
|
1191
1179
|
|
|
1192
1180
|
var src = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
1193
1181
|
/**
|
|
@@ -1855,9 +1843,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1855
1843
|
}, {
|
|
1856
1844
|
key: "render",
|
|
1857
1845
|
value: function render() {
|
|
1858
|
-
return /*#__PURE__*/React__default
|
|
1846
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1859
1847
|
className: this.props.containerClassName
|
|
1860
|
-
}, /*#__PURE__*/React__default
|
|
1848
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1861
1849
|
id: this.props.id,
|
|
1862
1850
|
className: this.props.className,
|
|
1863
1851
|
ref: this.refContainer
|
|
@@ -1866,7 +1854,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1866
1854
|
}]);
|
|
1867
1855
|
|
|
1868
1856
|
return YouTube;
|
|
1869
|
-
}(React__default
|
|
1857
|
+
}(React__default.Component);
|
|
1870
1858
|
|
|
1871
1859
|
_defineProperty(YouTube, "PlayerState", {
|
|
1872
1860
|
UNSTARTED: -1,
|
|
@@ -1878,24 +1866,24 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1878
1866
|
});
|
|
1879
1867
|
|
|
1880
1868
|
YouTube.propTypes = {
|
|
1881
|
-
videoId: PropTypes__default
|
|
1869
|
+
videoId: PropTypes__default.string,
|
|
1882
1870
|
// custom ID for player element
|
|
1883
|
-
id: PropTypes__default
|
|
1871
|
+
id: PropTypes__default.string,
|
|
1884
1872
|
// custom class name for player element
|
|
1885
|
-
className: PropTypes__default
|
|
1873
|
+
className: PropTypes__default.string,
|
|
1886
1874
|
// custom class name for player container element
|
|
1887
|
-
containerClassName: PropTypes__default
|
|
1875
|
+
containerClassName: PropTypes__default.string,
|
|
1888
1876
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1889
|
-
opts: PropTypes__default
|
|
1877
|
+
opts: PropTypes__default.objectOf(PropTypes__default.any),
|
|
1890
1878
|
// event subscriptions
|
|
1891
|
-
onReady: PropTypes__default
|
|
1892
|
-
onError: PropTypes__default
|
|
1893
|
-
onPlay: PropTypes__default
|
|
1894
|
-
onPause: PropTypes__default
|
|
1895
|
-
onEnd: PropTypes__default
|
|
1896
|
-
onStateChange: PropTypes__default
|
|
1897
|
-
onPlaybackRateChange: PropTypes__default
|
|
1898
|
-
onPlaybackQualityChange: PropTypes__default
|
|
1879
|
+
onReady: PropTypes__default.func,
|
|
1880
|
+
onError: PropTypes__default.func,
|
|
1881
|
+
onPlay: PropTypes__default.func,
|
|
1882
|
+
onPause: PropTypes__default.func,
|
|
1883
|
+
onEnd: PropTypes__default.func,
|
|
1884
|
+
onStateChange: PropTypes__default.func,
|
|
1885
|
+
onPlaybackRateChange: PropTypes__default.func,
|
|
1886
|
+
onPlaybackQualityChange: PropTypes__default.func
|
|
1899
1887
|
};
|
|
1900
1888
|
YouTube.defaultProps = {
|
|
1901
1889
|
videoId: null,
|
|
@@ -1917,7 +1905,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1917
1905
|
var url = _ref.url,
|
|
1918
1906
|
autoplay = _ref.autoplay;
|
|
1919
1907
|
|
|
1920
|
-
var id = index$
|
|
1908
|
+
var id = index$3.getYoutubeId(url);
|
|
1921
1909
|
|
|
1922
1910
|
var _useState = React.useState(false),
|
|
1923
1911
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -2013,11 +2001,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2013
2001
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2014
2002
|
};
|
|
2015
2003
|
|
|
2016
|
-
return React__default
|
|
2004
|
+
return React__default.createElement(
|
|
2017
2005
|
'div',
|
|
2018
2006
|
{ id: 'fluid-video-container' },
|
|
2019
|
-
React__default
|
|
2020
|
-
React__default
|
|
2007
|
+
React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2008
|
+
React__default.createElement(
|
|
2021
2009
|
'style',
|
|
2022
2010
|
{ jsx: 'true' },
|
|
2023
2011
|
'\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 '
|
|
@@ -2030,20 +2018,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2030
2018
|
content = _ref.content,
|
|
2031
2019
|
getSerializers = _ref.getSerializers;
|
|
2032
2020
|
|
|
2033
|
-
return React__default
|
|
2021
|
+
return React__default.createElement(
|
|
2034
2022
|
'article',
|
|
2035
2023
|
{ className: 'sidebar' },
|
|
2036
|
-
React__default
|
|
2024
|
+
React__default.createElement(
|
|
2037
2025
|
'div',
|
|
2038
2026
|
null,
|
|
2039
|
-
React__default
|
|
2027
|
+
React__default.createElement(
|
|
2040
2028
|
'h3',
|
|
2041
2029
|
null,
|
|
2042
2030
|
caption
|
|
2043
2031
|
),
|
|
2044
|
-
React__default
|
|
2032
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2045
2033
|
),
|
|
2046
|
-
React__default
|
|
2034
|
+
React__default.createElement(
|
|
2047
2035
|
'style',
|
|
2048
2036
|
{ jsx: 'true' },
|
|
2049
2037
|
'\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 '
|
|
@@ -2054,18 +2042,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2054
2042
|
var TableShow = function TableShow(_ref) {
|
|
2055
2043
|
var rows = _ref.rows;
|
|
2056
2044
|
|
|
2057
|
-
return React__default
|
|
2045
|
+
return React__default.createElement(
|
|
2058
2046
|
reactBootstrap.Table,
|
|
2059
2047
|
{ bordered: true, hover: true, responsive: true },
|
|
2060
|
-
React__default
|
|
2048
|
+
React__default.createElement(
|
|
2061
2049
|
'tbody',
|
|
2062
2050
|
null,
|
|
2063
2051
|
rows && rows.map(function (row) {
|
|
2064
|
-
return React__default
|
|
2052
|
+
return React__default.createElement(
|
|
2065
2053
|
'tr',
|
|
2066
2054
|
{ key: row._key },
|
|
2067
2055
|
row.cells && row.cells.map(function (cell, index) {
|
|
2068
|
-
return cell && React__default
|
|
2056
|
+
return cell && React__default.createElement(
|
|
2069
2057
|
'td',
|
|
2070
2058
|
{ key: index },
|
|
2071
2059
|
cell
|
|
@@ -2163,25 +2151,25 @@ var Media = function Media(_ref) {
|
|
|
2163
2151
|
margin: imageMargin
|
|
2164
2152
|
};
|
|
2165
2153
|
|
|
2166
|
-
return React__default
|
|
2154
|
+
return React__default.createElement(
|
|
2167
2155
|
reactBootstrap.Figure,
|
|
2168
2156
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2169
|
-
React__default
|
|
2157
|
+
React__default.createElement(
|
|
2170
2158
|
'a',
|
|
2171
2159
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2172
|
-
React__default
|
|
2160
|
+
React__default.createElement(
|
|
2173
2161
|
index$2.LazyLoad,
|
|
2174
2162
|
{ once: true },
|
|
2175
|
-
React__default
|
|
2163
|
+
React__default.createElement(
|
|
2176
2164
|
'picture',
|
|
2177
2165
|
null,
|
|
2178
|
-
React__default
|
|
2179
|
-
React__default
|
|
2180
|
-
React__default
|
|
2181
|
-
React__default
|
|
2166
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2167
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2168
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2169
|
+
React__default.createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2182
2170
|
)
|
|
2183
2171
|
),
|
|
2184
|
-
caption && React__default
|
|
2172
|
+
caption && React__default.createElement(
|
|
2185
2173
|
reactBootstrap.Figure.Caption,
|
|
2186
2174
|
{ className: 'media-caption' },
|
|
2187
2175
|
caption
|
|
@@ -2189,7 +2177,7 @@ var Media = function Media(_ref) {
|
|
|
2189
2177
|
)
|
|
2190
2178
|
);
|
|
2191
2179
|
} else if (caption && caption !== '') {
|
|
2192
|
-
return React__default
|
|
2180
|
+
return React__default.createElement(
|
|
2193
2181
|
'a',
|
|
2194
2182
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2195
2183
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2209,10 +2197,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2209
2197
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2210
2198
|
|
|
2211
2199
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2212
|
-
return React__default
|
|
2200
|
+
return React__default.createElement(
|
|
2213
2201
|
'div',
|
|
2214
2202
|
{ className: 'd-block text-center mb-3' },
|
|
2215
|
-
React__default
|
|
2203
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2216
2204
|
);
|
|
2217
2205
|
};
|
|
2218
2206
|
|
|
@@ -2222,7 +2210,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2222
2210
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2223
2211
|
|
|
2224
2212
|
var choiceArray = choices.map(function (choice) {
|
|
2225
|
-
return React__default
|
|
2213
|
+
return React__default.createElement(Form.Check, {
|
|
2226
2214
|
inline: true,
|
|
2227
2215
|
label: choice.choiceText,
|
|
2228
2216
|
value: choice.choiceText,
|
|
@@ -2232,19 +2220,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2232
2220
|
onClick: handlePollAnswer
|
|
2233
2221
|
});
|
|
2234
2222
|
});
|
|
2235
|
-
return React__default
|
|
2223
|
+
return React__default.createElement(
|
|
2236
2224
|
'div',
|
|
2237
2225
|
{
|
|
2238
2226
|
key: 'inline-radio',
|
|
2239
2227
|
className: 'mb-3' },
|
|
2240
|
-
React__default
|
|
2228
|
+
React__default.createElement(
|
|
2241
2229
|
'h2',
|
|
2242
2230
|
{
|
|
2243
2231
|
className: 'radioLabelText'
|
|
2244
2232
|
},
|
|
2245
2233
|
question
|
|
2246
2234
|
),
|
|
2247
|
-
React__default
|
|
2235
|
+
React__default.createElement(
|
|
2248
2236
|
'div',
|
|
2249
2237
|
{
|
|
2250
2238
|
className: 'multiChoiceDiv'
|
|
@@ -2259,19 +2247,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2259
2247
|
textAnswer = _ref.textAnswer,
|
|
2260
2248
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2261
2249
|
|
|
2262
|
-
return React__default
|
|
2250
|
+
return React__default.createElement(
|
|
2263
2251
|
'div',
|
|
2264
2252
|
{
|
|
2265
2253
|
className: 'textInputDiv'
|
|
2266
2254
|
},
|
|
2267
|
-
React__default
|
|
2255
|
+
React__default.createElement(
|
|
2268
2256
|
'h2',
|
|
2269
2257
|
{
|
|
2270
2258
|
className: 'textInputQuestion'
|
|
2271
2259
|
},
|
|
2272
2260
|
textInputQuestion
|
|
2273
2261
|
),
|
|
2274
|
-
React__default
|
|
2262
|
+
React__default.createElement(Form.Control, {
|
|
2275
2263
|
type: 'text',
|
|
2276
2264
|
className: 'textInput',
|
|
2277
2265
|
value: textAnswer,
|
|
@@ -2381,7 +2369,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2381
2369
|
var pollArray = [];
|
|
2382
2370
|
pollItems.forEach(function (item, ind) {
|
|
2383
2371
|
if (item.format === 'multiChoice') {
|
|
2384
|
-
pollArray.push(React__default
|
|
2372
|
+
pollArray.push(React__default.createElement(PopupMultiChoice, {
|
|
2385
2373
|
question: item.question,
|
|
2386
2374
|
choices: item.choices,
|
|
2387
2375
|
handlePollAnswer: handlePollAnswer,
|
|
@@ -2389,7 +2377,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2389
2377
|
}));
|
|
2390
2378
|
}
|
|
2391
2379
|
if (item.format === 'textInput') {
|
|
2392
|
-
pollArray.push(React__default
|
|
2380
|
+
pollArray.push(React__default.createElement(PopupPollTextInput, {
|
|
2393
2381
|
textInputQuestion: item.question,
|
|
2394
2382
|
textanswer: textAnswer,
|
|
2395
2383
|
handleTextAnswer: handleTextAnswer,
|
|
@@ -2398,27 +2386,27 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2398
2386
|
}
|
|
2399
2387
|
});
|
|
2400
2388
|
|
|
2401
|
-
return React__default
|
|
2389
|
+
return React__default.createElement(
|
|
2402
2390
|
'div',
|
|
2403
2391
|
{
|
|
2404
2392
|
className: 'modalDiv',
|
|
2405
2393
|
id: 'modalDiv'
|
|
2406
2394
|
},
|
|
2407
|
-
React__default
|
|
2408
|
-
|
|
2395
|
+
React__default.createElement(
|
|
2396
|
+
Modal.Dialog,
|
|
2409
2397
|
null,
|
|
2410
|
-
React__default
|
|
2411
|
-
|
|
2398
|
+
React__default.createElement(
|
|
2399
|
+
Modal.Body,
|
|
2412
2400
|
null,
|
|
2413
|
-
React__default
|
|
2414
|
-
|
|
2401
|
+
React__default.createElement(
|
|
2402
|
+
Form,
|
|
2415
2403
|
{
|
|
2416
2404
|
onSubmit: handleSubmit,
|
|
2417
2405
|
className: 'modalForm'
|
|
2418
2406
|
},
|
|
2419
2407
|
pollArray,
|
|
2420
|
-
textInputRender && !multiChoiceRender ? React__default
|
|
2421
|
-
|
|
2408
|
+
textInputRender && !multiChoiceRender ? React__default.createElement(
|
|
2409
|
+
Button,
|
|
2422
2410
|
{
|
|
2423
2411
|
className: 'submitButton',
|
|
2424
2412
|
type: 'submit',
|
|
@@ -2426,8 +2414,8 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2426
2414
|
disabled: !textAnswer
|
|
2427
2415
|
},
|
|
2428
2416
|
'Submit'
|
|
2429
|
-
) : React__default
|
|
2430
|
-
|
|
2417
|
+
) : React__default.createElement(
|
|
2418
|
+
Button,
|
|
2431
2419
|
{
|
|
2432
2420
|
className: 'submitButton',
|
|
2433
2421
|
type: 'submit',
|
|
@@ -2595,10 +2583,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2595
2583
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2596
2584
|
};
|
|
2597
2585
|
|
|
2598
|
-
return React__default
|
|
2586
|
+
return React__default.createElement(
|
|
2599
2587
|
'div',
|
|
2600
2588
|
null,
|
|
2601
|
-
isPollingTime ? React__default
|
|
2589
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2602
2590
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2603
2591
|
, { pollItems: pollItems
|
|
2604
2592
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2612,7 +2600,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2612
2600
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2613
2601
|
, multiChoiceRender: multiChoiceRender
|
|
2614
2602
|
}) : null,
|
|
2615
|
-
vidLoaded && React__default
|
|
2603
|
+
vidLoaded && React__default.createElement(
|
|
2616
2604
|
'video',
|
|
2617
2605
|
{
|
|
2618
2606
|
poster: thumbnail || '',
|
|
@@ -2630,7 +2618,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2630
2618
|
onPlay: function onPlay(e) {
|
|
2631
2619
|
return handleOnPlay(e);
|
|
2632
2620
|
} },
|
|
2633
|
-
React__default
|
|
2621
|
+
React__default.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2634
2622
|
'Your browser does not support the video tag.'
|
|
2635
2623
|
)
|
|
2636
2624
|
);
|
|
@@ -2881,10 +2869,10 @@ var Video = function Video(_ref) {
|
|
|
2881
2869
|
|
|
2882
2870
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2883
2871
|
if (videoID) {
|
|
2884
|
-
return React__default
|
|
2872
|
+
return React__default.createElement(
|
|
2885
2873
|
'div',
|
|
2886
2874
|
null,
|
|
2887
|
-
isPollingTime ? React__default
|
|
2875
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2888
2876
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2889
2877
|
, { pollItems: pollItems
|
|
2890
2878
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2898,7 +2886,7 @@ var Video = function Video(_ref) {
|
|
|
2898
2886
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2899
2887
|
, multiChoiceRender: multiChoiceRender
|
|
2900
2888
|
}) : null,
|
|
2901
|
-
React__default
|
|
2889
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2902
2890
|
onSuccess: onVideoSuccess,
|
|
2903
2891
|
onFailure: onVideoFailure,
|
|
2904
2892
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2906,17 +2894,17 @@ var Video = function Video(_ref) {
|
|
|
2906
2894
|
playerId: accountIDs.brightcove.playerId,
|
|
2907
2895
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2908
2896
|
}),
|
|
2909
|
-
React__default
|
|
2897
|
+
React__default.createElement(
|
|
2910
2898
|
'style',
|
|
2911
2899
|
{ jsx: 'true' },
|
|
2912
2900
|
'\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 '
|
|
2913
2901
|
)
|
|
2914
2902
|
);
|
|
2915
2903
|
} else if (playlistID) {
|
|
2916
|
-
return React__default
|
|
2904
|
+
return React__default.createElement(
|
|
2917
2905
|
'div',
|
|
2918
2906
|
null,
|
|
2919
|
-
isPollingTime ? React__default
|
|
2907
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2920
2908
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2921
2909
|
, { pollItems: pollItems
|
|
2922
2910
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2930,7 +2918,7 @@ var Video = function Video(_ref) {
|
|
|
2930
2918
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2931
2919
|
, multiChoiceRender: multiChoiceRender
|
|
2932
2920
|
}) : null,
|
|
2933
|
-
React__default
|
|
2921
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2934
2922
|
accountId: accountIDs.brightcove.accountId,
|
|
2935
2923
|
playlistId: playlistID,
|
|
2936
2924
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2938,18 +2926,18 @@ var Video = function Video(_ref) {
|
|
|
2938
2926
|
onFailure: onVideoFailure,
|
|
2939
2927
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2940
2928
|
}),
|
|
2941
|
-
React__default
|
|
2929
|
+
React__default.createElement(
|
|
2942
2930
|
'style',
|
|
2943
2931
|
{ jsx: 'true' },
|
|
2944
2932
|
'\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 '
|
|
2945
2933
|
)
|
|
2946
2934
|
);
|
|
2947
2935
|
} else if (experienceID) {
|
|
2948
|
-
return React__default
|
|
2936
|
+
return React__default.createElement(
|
|
2949
2937
|
'div',
|
|
2950
2938
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2951
|
-
React__default
|
|
2952
|
-
isPollingTime ? React__default
|
|
2939
|
+
React__default.createElement('div', { 'data-experience': experienceID }),
|
|
2940
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2953
2941
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2954
2942
|
, { pollItems: pollItems
|
|
2955
2943
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2969,10 +2957,10 @@ var Video = function Video(_ref) {
|
|
|
2969
2957
|
}
|
|
2970
2958
|
|
|
2971
2959
|
if (source === 'mp4') {
|
|
2972
|
-
return React__default
|
|
2960
|
+
return React__default.createElement(
|
|
2973
2961
|
'div',
|
|
2974
2962
|
null,
|
|
2975
|
-
React__default
|
|
2963
|
+
React__default.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2976
2964
|
);
|
|
2977
2965
|
}
|
|
2978
2966
|
|
|
@@ -2987,7 +2975,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2987
2975
|
});
|
|
2988
2976
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2989
2977
|
|
|
2990
|
-
var _propTypes = _interopRequireDefault(PropTypes__default
|
|
2978
|
+
var _propTypes = _interopRequireDefault(PropTypes__default);
|
|
2991
2979
|
|
|
2992
2980
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2993
2981
|
|
|
@@ -3183,9 +3171,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3183
3171
|
});
|
|
3184
3172
|
|
|
3185
3173
|
_commonjsHelpers.unwrapExports(props);
|
|
3186
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
3187
|
-
props.defaultProps;
|
|
3188
|
-
props.propTypes;
|
|
3174
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
3175
|
+
var props_2 = props.defaultProps;
|
|
3176
|
+
var props_3 = props.propTypes;
|
|
3189
3177
|
|
|
3190
3178
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3191
3179
|
return isNonNullObject(value)
|
|
@@ -3577,7 +3565,7 @@ function isEqual(a, b) {
|
|
|
3577
3565
|
return true;
|
|
3578
3566
|
}
|
|
3579
3567
|
|
|
3580
|
-
if ((0, React__default
|
|
3568
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
3581
3569
|
return true;
|
|
3582
3570
|
}
|
|
3583
3571
|
|
|
@@ -3620,17 +3608,17 @@ function isMediaStream(url) {
|
|
|
3620
3608
|
});
|
|
3621
3609
|
|
|
3622
3610
|
_commonjsHelpers.unwrapExports(utils);
|
|
3623
|
-
utils.parseStartTime;
|
|
3624
|
-
utils.parseEndTime;
|
|
3625
|
-
utils.randomString;
|
|
3626
|
-
utils.queryString;
|
|
3627
|
-
utils.getSDK;
|
|
3628
|
-
utils.getConfig;
|
|
3629
|
-
utils.omit;
|
|
3630
|
-
utils.callPlayer;
|
|
3631
|
-
utils.isObject;
|
|
3632
|
-
utils.isEqual;
|
|
3633
|
-
utils.isMediaStream;
|
|
3611
|
+
var utils_1 = utils.parseStartTime;
|
|
3612
|
+
var utils_2 = utils.parseEndTime;
|
|
3613
|
+
var utils_3 = utils.randomString;
|
|
3614
|
+
var utils_4 = utils.queryString;
|
|
3615
|
+
var utils_5 = utils.getSDK;
|
|
3616
|
+
var utils_6 = utils.getConfig;
|
|
3617
|
+
var utils_7 = utils.omit;
|
|
3618
|
+
var utils_8 = utils.callPlayer;
|
|
3619
|
+
var utils_9 = utils.isObject;
|
|
3620
|
+
var utils_10 = utils.isEqual;
|
|
3621
|
+
var utils_11 = utils.isMediaStream;
|
|
3634
3622
|
|
|
3635
3623
|
var Player_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
3636
3624
|
|
|
@@ -3639,7 +3627,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3639
3627
|
});
|
|
3640
3628
|
exports["default"] = void 0;
|
|
3641
3629
|
|
|
3642
|
-
var _react = _interopRequireWildcard(React__default
|
|
3630
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3643
3631
|
|
|
3644
3632
|
|
|
3645
3633
|
|
|
@@ -4049,7 +4037,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4049
4037
|
});
|
|
4050
4038
|
exports["default"] = createSinglePlayer;
|
|
4051
4039
|
|
|
4052
|
-
var _react = _interopRequireWildcard(React__default
|
|
4040
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4053
4041
|
|
|
4054
4042
|
|
|
4055
4043
|
|
|
@@ -4207,7 +4195,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4207
4195
|
});
|
|
4208
4196
|
exports["default"] = exports.YouTube = void 0;
|
|
4209
4197
|
|
|
4210
|
-
var _react = _interopRequireWildcard(React__default
|
|
4198
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4211
4199
|
|
|
4212
4200
|
|
|
4213
4201
|
|
|
@@ -4507,7 +4495,7 @@ exports["default"] = _default;
|
|
|
4507
4495
|
});
|
|
4508
4496
|
|
|
4509
4497
|
_commonjsHelpers.unwrapExports(YouTube_1);
|
|
4510
|
-
YouTube_1.YouTube;
|
|
4498
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4511
4499
|
|
|
4512
4500
|
var SoundCloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4513
4501
|
|
|
@@ -4516,7 +4504,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4516
4504
|
});
|
|
4517
4505
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4518
4506
|
|
|
4519
|
-
var _react = _interopRequireWildcard(React__default
|
|
4507
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4520
4508
|
|
|
4521
4509
|
|
|
4522
4510
|
|
|
@@ -4724,7 +4712,7 @@ exports["default"] = _default;
|
|
|
4724
4712
|
});
|
|
4725
4713
|
|
|
4726
4714
|
_commonjsHelpers.unwrapExports(SoundCloud_1);
|
|
4727
|
-
SoundCloud_1.SoundCloud;
|
|
4715
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4728
4716
|
|
|
4729
4717
|
var Vimeo_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4730
4718
|
|
|
@@ -4733,7 +4721,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4733
4721
|
});
|
|
4734
4722
|
exports["default"] = exports.Vimeo = void 0;
|
|
4735
4723
|
|
|
4736
|
-
var _react = _interopRequireWildcard(React__default
|
|
4724
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4737
4725
|
|
|
4738
4726
|
|
|
4739
4727
|
|
|
@@ -4980,7 +4968,7 @@ exports["default"] = _default;
|
|
|
4980
4968
|
});
|
|
4981
4969
|
|
|
4982
4970
|
_commonjsHelpers.unwrapExports(Vimeo_1);
|
|
4983
|
-
Vimeo_1.Vimeo;
|
|
4971
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
4984
4972
|
|
|
4985
4973
|
var Facebook_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4986
4974
|
|
|
@@ -4989,7 +4977,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4989
4977
|
});
|
|
4990
4978
|
exports["default"] = exports.Facebook = void 0;
|
|
4991
4979
|
|
|
4992
|
-
var _react = _interopRequireWildcard(React__default
|
|
4980
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4993
4981
|
|
|
4994
4982
|
|
|
4995
4983
|
|
|
@@ -5192,7 +5180,7 @@ exports["default"] = _default;
|
|
|
5192
5180
|
});
|
|
5193
5181
|
|
|
5194
5182
|
_commonjsHelpers.unwrapExports(Facebook_1);
|
|
5195
|
-
Facebook_1.Facebook;
|
|
5183
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
5196
5184
|
|
|
5197
5185
|
var Streamable_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5198
5186
|
|
|
@@ -5201,7 +5189,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5201
5189
|
});
|
|
5202
5190
|
exports["default"] = exports.Streamable = void 0;
|
|
5203
5191
|
|
|
5204
|
-
var _react = _interopRequireWildcard(React__default
|
|
5192
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5205
5193
|
|
|
5206
5194
|
|
|
5207
5195
|
|
|
@@ -5403,7 +5391,7 @@ exports["default"] = _default;
|
|
|
5403
5391
|
});
|
|
5404
5392
|
|
|
5405
5393
|
_commonjsHelpers.unwrapExports(Streamable_1);
|
|
5406
|
-
Streamable_1.Streamable;
|
|
5394
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
5407
5395
|
|
|
5408
5396
|
var Wistia_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5409
5397
|
|
|
@@ -5412,7 +5400,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5412
5400
|
});
|
|
5413
5401
|
exports["default"] = exports.Wistia = void 0;
|
|
5414
5402
|
|
|
5415
|
-
var _react = _interopRequireWildcard(React__default
|
|
5403
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5416
5404
|
|
|
5417
5405
|
|
|
5418
5406
|
|
|
@@ -5646,7 +5634,7 @@ exports["default"] = _default;
|
|
|
5646
5634
|
});
|
|
5647
5635
|
|
|
5648
5636
|
_commonjsHelpers.unwrapExports(Wistia_1);
|
|
5649
|
-
Wistia_1.Wistia;
|
|
5637
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5650
5638
|
|
|
5651
5639
|
var Twitch_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5652
5640
|
|
|
@@ -5655,7 +5643,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5655
5643
|
});
|
|
5656
5644
|
exports["default"] = exports.Twitch = void 0;
|
|
5657
5645
|
|
|
5658
|
-
var _react = _interopRequireWildcard(React__default
|
|
5646
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5659
5647
|
|
|
5660
5648
|
|
|
5661
5649
|
|
|
@@ -5862,7 +5850,7 @@ exports["default"] = _default;
|
|
|
5862
5850
|
});
|
|
5863
5851
|
|
|
5864
5852
|
_commonjsHelpers.unwrapExports(Twitch_1);
|
|
5865
|
-
Twitch_1.Twitch;
|
|
5853
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5866
5854
|
|
|
5867
5855
|
var DailyMotion_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5868
5856
|
|
|
@@ -5871,7 +5859,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5871
5859
|
});
|
|
5872
5860
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5873
5861
|
|
|
5874
|
-
var _react = _interopRequireWildcard(React__default
|
|
5862
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5875
5863
|
|
|
5876
5864
|
|
|
5877
5865
|
|
|
@@ -6098,7 +6086,7 @@ exports["default"] = _default;
|
|
|
6098
6086
|
});
|
|
6099
6087
|
|
|
6100
6088
|
_commonjsHelpers.unwrapExports(DailyMotion_1);
|
|
6101
|
-
DailyMotion_1.DailyMotion;
|
|
6089
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
6102
6090
|
|
|
6103
6091
|
var Mixcloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6104
6092
|
|
|
@@ -6107,7 +6095,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6107
6095
|
});
|
|
6108
6096
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6109
6097
|
|
|
6110
|
-
var _react = _interopRequireWildcard(React__default
|
|
6098
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6111
6099
|
|
|
6112
6100
|
|
|
6113
6101
|
|
|
@@ -6297,7 +6285,7 @@ exports["default"] = _default;
|
|
|
6297
6285
|
});
|
|
6298
6286
|
|
|
6299
6287
|
_commonjsHelpers.unwrapExports(Mixcloud_1);
|
|
6300
|
-
Mixcloud_1.Mixcloud;
|
|
6288
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
6301
6289
|
|
|
6302
6290
|
var FilePlayer_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6303
6291
|
|
|
@@ -6306,7 +6294,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6306
6294
|
});
|
|
6307
6295
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6308
6296
|
|
|
6309
|
-
var _react = _interopRequireWildcard(React__default
|
|
6297
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6310
6298
|
|
|
6311
6299
|
|
|
6312
6300
|
|
|
@@ -6831,7 +6819,7 @@ exports["default"] = _default;
|
|
|
6831
6819
|
});
|
|
6832
6820
|
|
|
6833
6821
|
_commonjsHelpers.unwrapExports(FilePlayer_1);
|
|
6834
|
-
FilePlayer_1.FilePlayer;
|
|
6822
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6835
6823
|
|
|
6836
6824
|
var players = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6837
6825
|
|
|
@@ -6873,7 +6861,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6873
6861
|
});
|
|
6874
6862
|
exports["default"] = void 0;
|
|
6875
6863
|
|
|
6876
|
-
var _react = _interopRequireWildcard(React__default
|
|
6864
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6877
6865
|
|
|
6878
6866
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6879
6867
|
|
|
@@ -7052,7 +7040,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7052
7040
|
});
|
|
7053
7041
|
exports["default"] = renderPreloadPlayers;
|
|
7054
7042
|
|
|
7055
|
-
var _react = _interopRequireDefault(React__default
|
|
7043
|
+
var _react = _interopRequireDefault(React__default);
|
|
7056
7044
|
|
|
7057
7045
|
var _Player = _interopRequireDefault(Player_1);
|
|
7058
7046
|
|
|
@@ -7191,7 +7179,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7191
7179
|
});
|
|
7192
7180
|
exports["default"] = void 0;
|
|
7193
7181
|
|
|
7194
|
-
var _react = _interopRequireWildcard(React__default
|
|
7182
|
+
var _react = _interopRequireWildcard(React__default);
|
|
7195
7183
|
|
|
7196
7184
|
|
|
7197
7185
|
|
|
@@ -7505,20 +7493,20 @@ var Audio = function Audio(_ref) {
|
|
|
7505
7493
|
var node = _ref.node;
|
|
7506
7494
|
|
|
7507
7495
|
if (node.uploadAudio) {
|
|
7508
|
-
return React__default
|
|
7496
|
+
return React__default.createElement(
|
|
7509
7497
|
'div',
|
|
7510
7498
|
{ className: 'audio d-block text-center mb-3' },
|
|
7511
|
-
React__default
|
|
7499
|
+
React__default.createElement(
|
|
7512
7500
|
'audio',
|
|
7513
7501
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
7514
|
-
React__default
|
|
7515
|
-
React__default
|
|
7502
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7503
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7516
7504
|
'Your browser does not support the audio element.'
|
|
7517
7505
|
),
|
|
7518
|
-
node.caption && React__default
|
|
7506
|
+
node.caption && React__default.createElement(
|
|
7519
7507
|
'p',
|
|
7520
7508
|
{ style: { fontSize: '.9rem' } },
|
|
7521
|
-
React__default
|
|
7509
|
+
React__default.createElement(
|
|
7522
7510
|
'em',
|
|
7523
7511
|
null,
|
|
7524
7512
|
node.caption
|
|
@@ -7528,15 +7516,15 @@ var Audio = function Audio(_ref) {
|
|
|
7528
7516
|
} else if (node.audioFilePth) {
|
|
7529
7517
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7530
7518
|
if (hostname === 'embeds.audioboom.com') {
|
|
7531
|
-
return React__default
|
|
7519
|
+
return React__default.createElement(
|
|
7532
7520
|
'div',
|
|
7533
7521
|
null,
|
|
7534
|
-
React__default
|
|
7522
|
+
React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7535
7523
|
' ',
|
|
7536
|
-
node.caption && React__default
|
|
7524
|
+
node.caption && React__default.createElement(
|
|
7537
7525
|
'p',
|
|
7538
7526
|
{ style: { fontSize: '.9rem' } },
|
|
7539
|
-
React__default
|
|
7527
|
+
React__default.createElement(
|
|
7540
7528
|
'em',
|
|
7541
7529
|
null,
|
|
7542
7530
|
node.caption
|
|
@@ -7544,14 +7532,14 @@ var Audio = function Audio(_ref) {
|
|
|
7544
7532
|
)
|
|
7545
7533
|
);
|
|
7546
7534
|
}
|
|
7547
|
-
return React__default
|
|
7535
|
+
return React__default.createElement(
|
|
7548
7536
|
'div',
|
|
7549
7537
|
{ className: 'audio' },
|
|
7550
|
-
React__default
|
|
7551
|
-
node.caption && React__default
|
|
7538
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
7539
|
+
node.caption && React__default.createElement(
|
|
7552
7540
|
'p',
|
|
7553
7541
|
{ style: { fontSize: '.9rem' } },
|
|
7554
|
-
React__default
|
|
7542
|
+
React__default.createElement(
|
|
7555
7543
|
'em',
|
|
7556
7544
|
null,
|
|
7557
7545
|
node.caption
|
|
@@ -7570,34 +7558,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7570
7558
|
var showAuthorDetails = arguments[7];
|
|
7571
7559
|
|
|
7572
7560
|
if (authorName && authorURL) {
|
|
7573
|
-
return React__default
|
|
7561
|
+
return React__default.createElement(
|
|
7574
7562
|
'span',
|
|
7575
7563
|
null,
|
|
7576
|
-
React__default
|
|
7564
|
+
React__default.createElement(
|
|
7577
7565
|
'a',
|
|
7578
7566
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7579
7567
|
authorName
|
|
7580
7568
|
),
|
|
7581
|
-
showAuthorDetails && React__default
|
|
7569
|
+
showAuthorDetails && React__default.createElement(
|
|
7582
7570
|
reactBootstrap.Card,
|
|
7583
7571
|
{ className: 'author-details-card-' + index },
|
|
7584
|
-
React__default
|
|
7572
|
+
React__default.createElement(
|
|
7585
7573
|
reactBootstrap.Row,
|
|
7586
7574
|
null,
|
|
7587
|
-
profileImage && React__default
|
|
7575
|
+
profileImage && React__default.createElement(
|
|
7588
7576
|
reactBootstrap.Col,
|
|
7589
7577
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7590
|
-
React__default
|
|
7578
|
+
React__default.createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7591
7579
|
),
|
|
7592
|
-
React__default
|
|
7580
|
+
React__default.createElement(
|
|
7593
7581
|
reactBootstrap.Col,
|
|
7594
7582
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7595
|
-
React__default
|
|
7583
|
+
React__default.createElement(
|
|
7596
7584
|
'div',
|
|
7597
7585
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7598
7586
|
authorName
|
|
7599
7587
|
),
|
|
7600
|
-
React__default
|
|
7588
|
+
React__default.createElement(
|
|
7601
7589
|
'p',
|
|
7602
7590
|
null,
|
|
7603
7591
|
biography
|
|
@@ -7605,7 +7593,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7605
7593
|
)
|
|
7606
7594
|
)
|
|
7607
7595
|
),
|
|
7608
|
-
React__default
|
|
7596
|
+
React__default.createElement(
|
|
7609
7597
|
'style',
|
|
7610
7598
|
{ jsx: 'true' },
|
|
7611
7599
|
'\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 '
|
|
@@ -7613,7 +7601,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7613
7601
|
length !== index + 1 && ', '
|
|
7614
7602
|
);
|
|
7615
7603
|
} else if (authorName) {
|
|
7616
|
-
return React__default
|
|
7604
|
+
return React__default.createElement(
|
|
7617
7605
|
'span',
|
|
7618
7606
|
{ key: index },
|
|
7619
7607
|
authorName,
|
|
@@ -7715,7 +7703,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7715
7703
|
if (vid.thumbnail && vid.thumbnail.asset) {
|
|
7716
7704
|
data.push({ title: vid.title, thumbnail: urlFor({ client: client, source: vid.thumbnail.asset }), url: vid.url });
|
|
7717
7705
|
} else {
|
|
7718
|
-
data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + index$
|
|
7706
|
+
data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + index$3.getYoutubeId(vid.url) + '/hqdefault.jpg', url: vid.url });
|
|
7719
7707
|
}
|
|
7720
7708
|
}
|
|
7721
7709
|
});
|
|
@@ -7775,7 +7763,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7775
7763
|
//Small pause before starting next video
|
|
7776
7764
|
setTimeout(function () {
|
|
7777
7765
|
//Youtube API to start video playing automatically
|
|
7778
|
-
var id = index$
|
|
7766
|
+
var id = index$3.getYoutubeId(vidUrl);
|
|
7779
7767
|
event.target.loadVideoById(id);
|
|
7780
7768
|
}, 1500);
|
|
7781
7769
|
};
|
|
@@ -7885,44 +7873,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7885
7873
|
}
|
|
7886
7874
|
};
|
|
7887
7875
|
|
|
7888
|
-
return React__default
|
|
7876
|
+
return React__default.createElement(
|
|
7889
7877
|
'div',
|
|
7890
7878
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7891
|
-
React__default
|
|
7879
|
+
React__default.createElement(
|
|
7892
7880
|
'div',
|
|
7893
7881
|
{ className: 'mt-2 mb-5' },
|
|
7894
|
-
series && React__default
|
|
7882
|
+
series && React__default.createElement(
|
|
7895
7883
|
'div',
|
|
7896
7884
|
{ style: { fontSize: '0.9rem' } },
|
|
7897
7885
|
article.title,
|
|
7898
7886
|
' - Episode ',
|
|
7899
7887
|
series
|
|
7900
7888
|
),
|
|
7901
|
-
Videos[series - 1] && React__default
|
|
7889
|
+
Videos[series - 1] && React__default.createElement(
|
|
7902
7890
|
'h1',
|
|
7903
7891
|
{ className: 'mb-3' },
|
|
7904
7892
|
Videos[series - 1].title
|
|
7905
7893
|
),
|
|
7906
|
-
React__default
|
|
7894
|
+
React__default.createElement(
|
|
7907
7895
|
'div',
|
|
7908
7896
|
null,
|
|
7909
7897
|
moment.moment(article.published).format('LL')
|
|
7910
7898
|
),
|
|
7911
|
-
React__default
|
|
7899
|
+
React__default.createElement(
|
|
7912
7900
|
'div',
|
|
7913
7901
|
{ className: 'mb-3' },
|
|
7914
7902
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7915
|
-
return React__default
|
|
7903
|
+
return React__default.createElement(
|
|
7916
7904
|
'span',
|
|
7917
7905
|
{ key: index },
|
|
7918
7906
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7919
7907
|
);
|
|
7920
7908
|
})
|
|
7921
7909
|
),
|
|
7922
|
-
React__default
|
|
7910
|
+
React__default.createElement(
|
|
7923
7911
|
'p',
|
|
7924
7912
|
null,
|
|
7925
|
-
React__default
|
|
7913
|
+
React__default.createElement(SocialShare, {
|
|
7926
7914
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7927
7915
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7928
7916
|
shareVia: meta.shareVia,
|
|
@@ -7937,22 +7925,22 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7937
7925
|
hideFacebook: meta.hideFBShare
|
|
7938
7926
|
})
|
|
7939
7927
|
),
|
|
7940
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default
|
|
7928
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default.createElement(
|
|
7941
7929
|
'p',
|
|
7942
7930
|
{ className: 'mb-3' },
|
|
7943
|
-
React__default
|
|
7931
|
+
React__default.createElement(
|
|
7944
7932
|
'em',
|
|
7945
7933
|
null,
|
|
7946
7934
|
Videos[series - 1].intro
|
|
7947
7935
|
)
|
|
7948
7936
|
)
|
|
7949
7937
|
),
|
|
7950
|
-
React__default
|
|
7938
|
+
React__default.createElement(
|
|
7951
7939
|
'div',
|
|
7952
7940
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7953
|
-
vidUrl && vidType == 'youtube' && React__default
|
|
7941
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7954
7942
|
className: 'fluid-iframe',
|
|
7955
|
-
videoId: index$
|
|
7943
|
+
videoId: index$3.getYoutubeId(vidUrl),
|
|
7956
7944
|
opts: opts,
|
|
7957
7945
|
onReady: handleOnReady,
|
|
7958
7946
|
onPlay: handleOnPlay,
|
|
@@ -7961,10 +7949,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7961
7949
|
return handleOnEnd(e);
|
|
7962
7950
|
}
|
|
7963
7951
|
}),
|
|
7964
|
-
vidUrl && vidType == 'mp4' && React__default
|
|
7965
|
-
vidUrl && vidType == 'brightcove' && React__default
|
|
7966
|
-
React__default
|
|
7967
|
-
series && React__default
|
|
7952
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7953
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7954
|
+
React__default.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7955
|
+
series && React__default.createElement(
|
|
7968
7956
|
'div',
|
|
7969
7957
|
{
|
|
7970
7958
|
className: 'vid-series',
|
|
@@ -7974,10 +7962,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7974
7962
|
maxHeight: '100%',
|
|
7975
7963
|
paddingBottom: '0'
|
|
7976
7964
|
} },
|
|
7977
|
-
React__default
|
|
7965
|
+
React__default.createElement(
|
|
7978
7966
|
'p',
|
|
7979
7967
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7980
|
-
React__default
|
|
7968
|
+
React__default.createElement(
|
|
7981
7969
|
'b',
|
|
7982
7970
|
{ style: { fontSize: '1.25em' } },
|
|
7983
7971
|
'Now Playing:'
|
|
@@ -7985,16 +7973,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7985
7973
|
' ',
|
|
7986
7974
|
seriesData[series ? series - 1 : 0].title
|
|
7987
7975
|
),
|
|
7988
|
-
vidUrl && React__default
|
|
7976
|
+
vidUrl && React__default.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7989
7977
|
)
|
|
7990
7978
|
),
|
|
7991
|
-
React__default
|
|
7992
|
-
React__default
|
|
7979
|
+
React__default.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7980
|
+
React__default.createElement(
|
|
7993
7981
|
'div',
|
|
7994
7982
|
{ className: 'vid-text' },
|
|
7995
|
-
Videos[series - 1] && Videos[series - 1].text && React__default
|
|
7983
|
+
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()))
|
|
7996
7984
|
),
|
|
7997
|
-
React__default
|
|
7985
|
+
React__default.createElement(
|
|
7998
7986
|
'style',
|
|
7999
7987
|
{ jsx: 'true' },
|
|
8000
7988
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8002,14 +7990,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8002
7990
|
);
|
|
8003
7991
|
};
|
|
8004
7992
|
|
|
8005
|
-
var Poll
|
|
8006
|
-
var node = _ref.node
|
|
8007
|
-
_ref.client
|
|
8008
|
-
_ref.pageview
|
|
8009
|
-
_ref.videoAccountIDs
|
|
8010
|
-
|
|
8011
|
-
_ref.showVotes
|
|
8012
|
-
|
|
7993
|
+
var Poll = function Poll(_ref) {
|
|
7994
|
+
var node = _ref.node,
|
|
7995
|
+
client = _ref.client,
|
|
7996
|
+
pageview = _ref.pageview,
|
|
7997
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7998
|
+
onVote = _ref.onVote,
|
|
7999
|
+
_ref$showVotes = _ref.showVotes,
|
|
8000
|
+
getSerializers = _ref.getSerializers;
|
|
8013
8001
|
|
|
8014
8002
|
var _useState = React.useState(null),
|
|
8015
8003
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -8047,67 +8035,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8047
8035
|
return acc;
|
|
8048
8036
|
}
|
|
8049
8037
|
}, 0);
|
|
8050
|
-
return React__default
|
|
8051
|
-
React__default
|
|
8038
|
+
return React__default.createElement(
|
|
8039
|
+
React__default.Fragment,
|
|
8052
8040
|
null,
|
|
8053
|
-
question && React__default
|
|
8041
|
+
question && React__default.createElement(
|
|
8054
8042
|
'p',
|
|
8055
8043
|
{ className: 'font-weight-bold' },
|
|
8056
8044
|
question
|
|
8057
8045
|
),
|
|
8058
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
8046
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8059
8047
|
'form',
|
|
8060
8048
|
{ onSubmit: function onSubmit(e) {
|
|
8061
8049
|
return onSubmitPoll(e);
|
|
8062
8050
|
} },
|
|
8063
8051
|
choices && choices.map(function (choice) {
|
|
8064
|
-
return React__default
|
|
8052
|
+
return React__default.createElement(
|
|
8065
8053
|
'div',
|
|
8066
8054
|
{ key: choice._key },
|
|
8067
|
-
React__default
|
|
8055
|
+
React__default.createElement(
|
|
8068
8056
|
'label',
|
|
8069
8057
|
{ className: 'pl-2' },
|
|
8070
|
-
React__default
|
|
8058
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8071
8059
|
return setSelectedChoice(e.target.value);
|
|
8072
8060
|
} }),
|
|
8073
8061
|
' ' + choice.choiceText
|
|
8074
8062
|
)
|
|
8075
8063
|
);
|
|
8076
8064
|
}),
|
|
8077
|
-
React__default
|
|
8065
|
+
React__default.createElement(
|
|
8078
8066
|
reactBootstrap.Button,
|
|
8079
8067
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8080
8068
|
'Vote'
|
|
8081
8069
|
)
|
|
8082
8070
|
),
|
|
8083
|
-
React__default
|
|
8071
|
+
React__default.createElement(
|
|
8084
8072
|
'div',
|
|
8085
8073
|
{ className: 'progress-container' },
|
|
8086
8074
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8087
8075
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8088
|
-
return React__default
|
|
8076
|
+
return React__default.createElement(
|
|
8089
8077
|
'div',
|
|
8090
8078
|
{ key: choice._key, className: 'mb-3' },
|
|
8091
|
-
React__default
|
|
8079
|
+
React__default.createElement(
|
|
8092
8080
|
'div',
|
|
8093
8081
|
{ className: 'correct-answer' },
|
|
8094
|
-
React__default
|
|
8082
|
+
React__default.createElement(
|
|
8095
8083
|
'div',
|
|
8096
8084
|
null,
|
|
8097
8085
|
choice.choiceText
|
|
8098
8086
|
),
|
|
8099
|
-
choice.choiceAnswer === true && React__default
|
|
8087
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8100
8088
|
'div',
|
|
8101
8089
|
null,
|
|
8102
|
-
React__default
|
|
8090
|
+
React__default.createElement(
|
|
8103
8091
|
'span',
|
|
8104
8092
|
{ style: { color: 'limegreen' } },
|
|
8105
8093
|
'Correct!'
|
|
8106
8094
|
)
|
|
8107
8095
|
)
|
|
8108
8096
|
),
|
|
8109
|
-
React__default
|
|
8110
|
-
React__default
|
|
8097
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8098
|
+
React__default.createElement(
|
|
8111
8099
|
'span',
|
|
8112
8100
|
{ className: 'float-right' },
|
|
8113
8101
|
percentage,
|
|
@@ -8118,14 +8106,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8118
8106
|
);
|
|
8119
8107
|
})
|
|
8120
8108
|
),
|
|
8121
|
-
showAnswer && React__default
|
|
8109
|
+
showAnswer && React__default.createElement(
|
|
8122
8110
|
'h4',
|
|
8123
8111
|
{ className: 'text-center small p-3' },
|
|
8124
8112
|
'Total Votes: ',
|
|
8125
8113
|
choicesTotalCount
|
|
8126
8114
|
),
|
|
8127
|
-
showAnswer && response && React__default
|
|
8128
|
-
React__default
|
|
8115
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8116
|
+
React__default.createElement(
|
|
8129
8117
|
'style',
|
|
8130
8118
|
{ jsx: 'true' },
|
|
8131
8119
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8143,22 +8131,22 @@ core_getIteratorMethod._export(core_getIteratorMethod._export.S, 'Object', {
|
|
|
8143
8131
|
}
|
|
8144
8132
|
});
|
|
8145
8133
|
|
|
8146
|
-
var values
|
|
8134
|
+
var values = core_getIteratorMethod._core.Object.values;
|
|
8147
8135
|
|
|
8148
|
-
var values = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
8149
|
-
module.exports = { "default": values
|
|
8136
|
+
var values$1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
8137
|
+
module.exports = { "default": values, __esModule: true };
|
|
8150
8138
|
});
|
|
8151
8139
|
|
|
8152
|
-
var _Object$values = _commonjsHelpers.unwrapExports(values);
|
|
8140
|
+
var _Object$values = _commonjsHelpers.unwrapExports(values$1);
|
|
8153
8141
|
|
|
8154
|
-
var Poll = function Poll(_ref) {
|
|
8155
|
-
var node = _ref.node
|
|
8156
|
-
_ref.client
|
|
8157
|
-
_ref.pageview
|
|
8158
|
-
_ref.videoAccountIDs
|
|
8159
|
-
|
|
8160
|
-
_ref.showVotes
|
|
8161
|
-
|
|
8142
|
+
var Poll$1 = function Poll(_ref) {
|
|
8143
|
+
var node = _ref.node,
|
|
8144
|
+
client = _ref.client,
|
|
8145
|
+
pageview = _ref.pageview,
|
|
8146
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8147
|
+
onVote = _ref.onVote,
|
|
8148
|
+
_ref$showVotes = _ref.showVotes,
|
|
8149
|
+
getSerializers = _ref.getSerializers;
|
|
8162
8150
|
|
|
8163
8151
|
var _useState = React.useState(null),
|
|
8164
8152
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -8224,67 +8212,67 @@ var Poll = function Poll(_ref) {
|
|
|
8224
8212
|
return acc;
|
|
8225
8213
|
}
|
|
8226
8214
|
}, 0);
|
|
8227
|
-
return React__default
|
|
8228
|
-
React__default
|
|
8215
|
+
return React__default.createElement(
|
|
8216
|
+
React__default.Fragment,
|
|
8229
8217
|
null,
|
|
8230
|
-
question && React__default
|
|
8218
|
+
question && React__default.createElement(
|
|
8231
8219
|
'p',
|
|
8232
8220
|
{ className: 'font-weight-bold' },
|
|
8233
8221
|
question
|
|
8234
8222
|
),
|
|
8235
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
8223
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8236
8224
|
'form',
|
|
8237
8225
|
{ onSubmit: function onSubmit(e) {
|
|
8238
8226
|
return onSubmitPoll(e);
|
|
8239
8227
|
} },
|
|
8240
8228
|
choices && choices.map(function (choice) {
|
|
8241
|
-
return React__default
|
|
8229
|
+
return React__default.createElement(
|
|
8242
8230
|
'div',
|
|
8243
8231
|
{ key: choice._key },
|
|
8244
|
-
React__default
|
|
8232
|
+
React__default.createElement(
|
|
8245
8233
|
'label',
|
|
8246
8234
|
{ className: 'pl-2' },
|
|
8247
|
-
React__default
|
|
8235
|
+
React__default.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8248
8236
|
return setSelectedChoice(e.target.value);
|
|
8249
8237
|
} }),
|
|
8250
8238
|
' ' + choice.choiceText
|
|
8251
8239
|
)
|
|
8252
8240
|
);
|
|
8253
8241
|
}),
|
|
8254
|
-
React__default
|
|
8242
|
+
React__default.createElement(
|
|
8255
8243
|
reactBootstrap.Button,
|
|
8256
8244
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8257
8245
|
'Vote'
|
|
8258
8246
|
)
|
|
8259
8247
|
),
|
|
8260
|
-
React__default
|
|
8248
|
+
React__default.createElement(
|
|
8261
8249
|
'div',
|
|
8262
8250
|
{ className: 'progress-container' },
|
|
8263
8251
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8264
8252
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8265
|
-
return React__default
|
|
8253
|
+
return React__default.createElement(
|
|
8266
8254
|
'div',
|
|
8267
8255
|
{ key: choice._key, className: 'mb-3' },
|
|
8268
|
-
React__default
|
|
8256
|
+
React__default.createElement(
|
|
8269
8257
|
'div',
|
|
8270
8258
|
{ className: 'correct-answer' },
|
|
8271
|
-
React__default
|
|
8259
|
+
React__default.createElement(
|
|
8272
8260
|
'div',
|
|
8273
8261
|
null,
|
|
8274
8262
|
choice.choiceText
|
|
8275
8263
|
),
|
|
8276
|
-
choice.choiceAnswer === true && React__default
|
|
8264
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8277
8265
|
'div',
|
|
8278
8266
|
null,
|
|
8279
|
-
React__default
|
|
8267
|
+
React__default.createElement(
|
|
8280
8268
|
'span',
|
|
8281
8269
|
{ style: { color: 'limegreen' } },
|
|
8282
8270
|
'Correct!'
|
|
8283
8271
|
)
|
|
8284
8272
|
)
|
|
8285
8273
|
),
|
|
8286
|
-
React__default
|
|
8287
|
-
React__default
|
|
8274
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8275
|
+
React__default.createElement(
|
|
8288
8276
|
'span',
|
|
8289
8277
|
{ className: 'float-right' },
|
|
8290
8278
|
percentage,
|
|
@@ -8295,14 +8283,14 @@ var Poll = function Poll(_ref) {
|
|
|
8295
8283
|
);
|
|
8296
8284
|
})
|
|
8297
8285
|
),
|
|
8298
|
-
showAnswer && React__default
|
|
8286
|
+
showAnswer && React__default.createElement(
|
|
8299
8287
|
'h4',
|
|
8300
8288
|
{ className: 'text-center small p-3' },
|
|
8301
8289
|
'Total Votes: ',
|
|
8302
8290
|
choicesTotalCount
|
|
8303
8291
|
),
|
|
8304
|
-
showAnswer && response && React__default
|
|
8305
|
-
React__default
|
|
8292
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8293
|
+
React__default.createElement(
|
|
8306
8294
|
'style',
|
|
8307
8295
|
{ jsx: 'true' },
|
|
8308
8296
|
'\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 '
|
|
@@ -8428,34 +8416,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8428
8416
|
};
|
|
8429
8417
|
|
|
8430
8418
|
var renderPagination = function renderPagination() {
|
|
8431
|
-
return React__default
|
|
8432
|
-
|
|
8419
|
+
return React__default.createElement(
|
|
8420
|
+
Pagination,
|
|
8433
8421
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8434
|
-
React__default
|
|
8422
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
8435
8423
|
return changePage('first');
|
|
8436
8424
|
}, disabled: currentPage === 1 }),
|
|
8437
|
-
React__default
|
|
8425
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8438
8426
|
return changePage('prev');
|
|
8439
8427
|
}, disabled: currentPage === 1 }),
|
|
8440
|
-
React__default
|
|
8428
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8441
8429
|
return renderNewPages('prev');
|
|
8442
8430
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8443
8431
|
pages.map(function (page) {
|
|
8444
|
-
return React__default
|
|
8445
|
-
|
|
8432
|
+
return React__default.createElement(
|
|
8433
|
+
Pagination.Item,
|
|
8446
8434
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
8447
8435
|
return changePage(page);
|
|
8448
8436
|
} },
|
|
8449
8437
|
page
|
|
8450
8438
|
);
|
|
8451
8439
|
}),
|
|
8452
|
-
React__default
|
|
8440
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8453
8441
|
return renderNewPages('next');
|
|
8454
8442
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8455
|
-
React__default
|
|
8443
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8456
8444
|
return changePage('next');
|
|
8457
8445
|
}, disabled: currentPage === pageCount }),
|
|
8458
|
-
React__default
|
|
8446
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8459
8447
|
return changePage('last');
|
|
8460
8448
|
}, disabled: currentPage === pageCount })
|
|
8461
8449
|
);
|
|
@@ -8538,51 +8526,51 @@ var Quiz = function Quiz(_ref) {
|
|
|
8538
8526
|
}
|
|
8539
8527
|
};
|
|
8540
8528
|
|
|
8541
|
-
return React__default
|
|
8542
|
-
React__default
|
|
8529
|
+
return React__default.createElement(
|
|
8530
|
+
React__default.Fragment,
|
|
8543
8531
|
null,
|
|
8544
|
-
quizzes[currentPage - 1] && React__default
|
|
8545
|
-
React__default
|
|
8532
|
+
quizzes[currentPage - 1] && React__default.createElement(
|
|
8533
|
+
React__default.Fragment,
|
|
8546
8534
|
null,
|
|
8547
|
-
React__default
|
|
8548
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default
|
|
8535
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8536
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default.createElement(
|
|
8549
8537
|
'form',
|
|
8550
8538
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8551
8539
|
return e.preventDefault();
|
|
8552
8540
|
} },
|
|
8553
8541
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8554
|
-
return React__default
|
|
8542
|
+
return React__default.createElement(
|
|
8555
8543
|
'div',
|
|
8556
8544
|
{ key: answer._key },
|
|
8557
|
-
React__default
|
|
8545
|
+
React__default.createElement(
|
|
8558
8546
|
'label',
|
|
8559
8547
|
{ className: 'pl-2' },
|
|
8560
|
-
quizzes[currentPage - 1].multiAnswer ? React__default
|
|
8548
|
+
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 }),
|
|
8561
8549
|
' ' + answer.answerText
|
|
8562
8550
|
)
|
|
8563
8551
|
);
|
|
8564
8552
|
})
|
|
8565
8553
|
)
|
|
8566
8554
|
),
|
|
8567
|
-
!showAnswer && React__default
|
|
8568
|
-
|
|
8555
|
+
!showAnswer && React__default.createElement(
|
|
8556
|
+
Button,
|
|
8569
8557
|
{ onClick: function onClick() {
|
|
8570
8558
|
return checkAnswers();
|
|
8571
8559
|
}, variant: 'info', block: true },
|
|
8572
8560
|
'Please click here for answer'
|
|
8573
8561
|
),
|
|
8574
|
-
quizzes[currentPage - 1] && showAnswer && React__default
|
|
8575
|
-
React__default
|
|
8562
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
8563
|
+
React__default.Fragment,
|
|
8576
8564
|
null,
|
|
8577
|
-
React__default
|
|
8565
|
+
React__default.createElement(
|
|
8578
8566
|
'h4',
|
|
8579
8567
|
null,
|
|
8580
8568
|
'Answer:'
|
|
8581
8569
|
),
|
|
8582
|
-
quizzes[currentPage - 1].answer && React__default
|
|
8570
|
+
quizzes[currentPage - 1].answer && React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8583
8571
|
),
|
|
8584
|
-
React__default
|
|
8585
|
-
pageCount > 1 && React__default
|
|
8572
|
+
React__default.createElement('br', null),
|
|
8573
|
+
pageCount > 1 && React__default.createElement(
|
|
8586
8574
|
'div',
|
|
8587
8575
|
{ className: 'd-flex justify-content-center' },
|
|
8588
8576
|
renderPagination()
|
|
@@ -8593,19 +8581,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8593
8581
|
var Leads = function Leads(_ref) {
|
|
8594
8582
|
var url = _ref.url;
|
|
8595
8583
|
|
|
8596
|
-
return React__default
|
|
8584
|
+
return React__default.createElement(
|
|
8597
8585
|
'div',
|
|
8598
8586
|
{ className: 'd-block text-center mb-3' },
|
|
8599
|
-
React__default
|
|
8587
|
+
React__default.createElement(
|
|
8600
8588
|
'style',
|
|
8601
8589
|
{ jsx: 'true' },
|
|
8602
8590
|
'\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 '
|
|
8603
8591
|
),
|
|
8604
|
-
url && React__default
|
|
8592
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8605
8593
|
);
|
|
8606
8594
|
};
|
|
8607
8595
|
|
|
8608
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8596
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8609
8597
|
var slides = _ref.node.slides,
|
|
8610
8598
|
client = _ref.client,
|
|
8611
8599
|
pageview = _ref.pageview,
|
|
@@ -8645,53 +8633,53 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8645
8633
|
if (pageview) pageview(href);
|
|
8646
8634
|
};
|
|
8647
8635
|
|
|
8648
|
-
return React__default
|
|
8636
|
+
return React__default.createElement(
|
|
8649
8637
|
'div',
|
|
8650
8638
|
{ className: 'mt-3 mb-4' },
|
|
8651
|
-
React__default
|
|
8639
|
+
React__default.createElement(
|
|
8652
8640
|
reactBootstrap.Carousel,
|
|
8653
8641
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8654
8642
|
slides && slides.map(function (slide) {
|
|
8655
8643
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8656
|
-
return React__default
|
|
8644
|
+
return React__default.createElement(
|
|
8657
8645
|
reactBootstrap.Carousel.Item,
|
|
8658
8646
|
{ key: slide._key },
|
|
8659
|
-
React__default
|
|
8647
|
+
React__default.createElement(
|
|
8660
8648
|
'a',
|
|
8661
8649
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8662
|
-
React__default
|
|
8650
|
+
React__default.createElement(
|
|
8663
8651
|
'div',
|
|
8664
8652
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8665
|
-
React__default
|
|
8653
|
+
React__default.createElement(
|
|
8666
8654
|
index$2.LazyLoad,
|
|
8667
8655
|
null,
|
|
8668
|
-
React__default
|
|
8656
|
+
React__default.createElement(
|
|
8669
8657
|
'picture',
|
|
8670
8658
|
null,
|
|
8671
|
-
React__default
|
|
8672
|
-
React__default
|
|
8673
|
-
React__default
|
|
8674
|
-
React__default
|
|
8659
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8660
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8661
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8662
|
+
React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8675
8663
|
)
|
|
8676
8664
|
)
|
|
8677
8665
|
)
|
|
8678
8666
|
),
|
|
8679
|
-
React__default
|
|
8667
|
+
React__default.createElement(
|
|
8680
8668
|
'div',
|
|
8681
8669
|
{ className: 'p-2' },
|
|
8682
|
-
slide.slideshowImage.caption && React__default
|
|
8670
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
8683
8671
|
'h3',
|
|
8684
8672
|
{ style: { padding: '0px' } },
|
|
8685
8673
|
slide.slideshowImage.caption
|
|
8686
8674
|
),
|
|
8687
|
-
slide.description && React__default
|
|
8675
|
+
slide.description && React__default.createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8688
8676
|
)
|
|
8689
8677
|
);
|
|
8690
8678
|
}
|
|
8691
8679
|
return null;
|
|
8692
8680
|
})
|
|
8693
8681
|
),
|
|
8694
|
-
React__default
|
|
8682
|
+
React__default.createElement(
|
|
8695
8683
|
'style',
|
|
8696
8684
|
{ jsx: 'true' },
|
|
8697
8685
|
'\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 '
|
|
@@ -8710,10 +8698,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8710
8698
|
sizes = _props$node.sizes,
|
|
8711
8699
|
sizeMapping = _props$node.sizeMapping;
|
|
8712
8700
|
|
|
8713
|
-
return React__default
|
|
8701
|
+
return React__default.createElement(
|
|
8714
8702
|
'div',
|
|
8715
8703
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8716
|
-
React__default
|
|
8704
|
+
React__default.createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8717
8705
|
);
|
|
8718
8706
|
};
|
|
8719
8707
|
|
|
@@ -8724,15 +8712,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8724
8712
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8725
8713
|
|
|
8726
8714
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8727
|
-
return React__default
|
|
8715
|
+
return React__default.createElement(
|
|
8728
8716
|
'section',
|
|
8729
8717
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8730
|
-
Caption && React__default
|
|
8718
|
+
Caption && React__default.createElement(
|
|
8731
8719
|
'h4',
|
|
8732
8720
|
{ className: 'formstack-caption' },
|
|
8733
8721
|
Caption
|
|
8734
8722
|
),
|
|
8735
|
-
React__default
|
|
8723
|
+
React__default.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8736
8724
|
);
|
|
8737
8725
|
};
|
|
8738
8726
|
|
|
@@ -8748,36 +8736,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8748
8736
|
}
|
|
8749
8737
|
});
|
|
8750
8738
|
if (medias && medias.length > 0) {
|
|
8751
|
-
return React__default
|
|
8739
|
+
return React__default.createElement(
|
|
8752
8740
|
'div',
|
|
8753
8741
|
{ className: 'multi-media-container' },
|
|
8754
|
-
React__default
|
|
8755
|
-
|
|
8742
|
+
React__default.createElement(
|
|
8743
|
+
Row,
|
|
8756
8744
|
{ noGutters: true },
|
|
8757
8745
|
medias.map(function (media) {
|
|
8758
|
-
return React__default
|
|
8759
|
-
|
|
8746
|
+
return React__default.createElement(
|
|
8747
|
+
Col,
|
|
8760
8748
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8761
|
-
React__default
|
|
8749
|
+
React__default.createElement(
|
|
8762
8750
|
'a',
|
|
8763
8751
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8764
8752
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8765
|
-
React__default
|
|
8753
|
+
React__default.createElement(
|
|
8766
8754
|
'div',
|
|
8767
8755
|
{ className: 'multi-media-image-container' },
|
|
8768
|
-
imageBox && React__default
|
|
8756
|
+
imageBox && React__default.createElement(
|
|
8769
8757
|
index$2.LazyLoad,
|
|
8770
8758
|
{ once: true },
|
|
8771
|
-
React__default
|
|
8759
|
+
React__default.createElement(
|
|
8772
8760
|
'picture',
|
|
8773
8761
|
null,
|
|
8774
|
-
React__default
|
|
8775
|
-
React__default
|
|
8776
|
-
React__default
|
|
8777
|
-
React__default
|
|
8762
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8763
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8764
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8765
|
+
React__default.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8778
8766
|
)
|
|
8779
8767
|
),
|
|
8780
|
-
media.caption && React__default
|
|
8768
|
+
media.caption && React__default.createElement(
|
|
8781
8769
|
'span',
|
|
8782
8770
|
{ className: 'multi-media-caption' },
|
|
8783
8771
|
media.caption
|
|
@@ -8787,7 +8775,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8787
8775
|
);
|
|
8788
8776
|
})
|
|
8789
8777
|
),
|
|
8790
|
-
React__default
|
|
8778
|
+
React__default.createElement(
|
|
8791
8779
|
'style',
|
|
8792
8780
|
{ jsx: 'true' },
|
|
8793
8781
|
'\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 '
|
|
@@ -8834,7 +8822,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8834
8822
|
}
|
|
8835
8823
|
};
|
|
8836
8824
|
|
|
8837
|
-
_this.wraperRef = React__default
|
|
8825
|
+
_this.wraperRef = React__default.createRef();
|
|
8838
8826
|
_this.visible = false;
|
|
8839
8827
|
return _this;
|
|
8840
8828
|
}
|
|
@@ -8862,7 +8850,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8862
8850
|
_props$id = _props.id,
|
|
8863
8851
|
id = _props$id === undefined ? '' : _props$id;
|
|
8864
8852
|
|
|
8865
|
-
return React__default
|
|
8853
|
+
return React__default.createElement(
|
|
8866
8854
|
'div',
|
|
8867
8855
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8868
8856
|
this.props.children
|
|
@@ -8871,7 +8859,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8871
8859
|
}]);
|
|
8872
8860
|
|
|
8873
8861
|
return InscreenSensor;
|
|
8874
|
-
}(React__default
|
|
8862
|
+
}(React__default.Component);
|
|
8875
8863
|
|
|
8876
8864
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8877
8865
|
var nodes = _ref.nodes,
|
|
@@ -8980,33 +8968,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8980
8968
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
8981
8969
|
var showReading = show ? 'showReading' : '';
|
|
8982
8970
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8983
|
-
return React__default
|
|
8971
|
+
return React__default.createElement(
|
|
8984
8972
|
'div',
|
|
8985
8973
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8986
|
-
React__default
|
|
8974
|
+
React__default.createElement(
|
|
8987
8975
|
'a',
|
|
8988
8976
|
{ onClick: function onClick(e) {
|
|
8989
8977
|
return articleCardClickHandler(e);
|
|
8990
8978
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleIndex': '' + index, 'data-articleid': '' + article.param.current },
|
|
8991
|
-
React__default
|
|
8979
|
+
React__default.createElement(
|
|
8992
8980
|
'div',
|
|
8993
8981
|
{ className: 'prevNext-thumbnail' },
|
|
8994
|
-
React__default
|
|
8995
|
-
React__default
|
|
8982
|
+
React__default.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
8983
|
+
React__default.createElement(
|
|
8996
8984
|
'div',
|
|
8997
8985
|
{ className: 'prevNext-reading ' + showReading },
|
|
8998
8986
|
articleLabel
|
|
8999
8987
|
)
|
|
9000
8988
|
),
|
|
9001
|
-
React__default
|
|
8989
|
+
React__default.createElement(
|
|
9002
8990
|
'div',
|
|
9003
8991
|
{ className: 'prevNext-summary' },
|
|
9004
|
-
React__default
|
|
8992
|
+
React__default.createElement(
|
|
9005
8993
|
'div',
|
|
9006
8994
|
{ className: 'prevNext-publishDate' },
|
|
9007
8995
|
moment.moment(article.published).format('LL')
|
|
9008
8996
|
),
|
|
9009
|
-
React__default
|
|
8997
|
+
React__default.createElement(
|
|
9010
8998
|
'h2',
|
|
9011
8999
|
{ className: 'prevNext-title' },
|
|
9012
9000
|
article.title
|
|
@@ -9055,7 +9043,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9055
9043
|
|
|
9056
9044
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9057
9045
|
if (biography) {
|
|
9058
|
-
return React__default
|
|
9046
|
+
return React__default.createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9059
9047
|
}
|
|
9060
9048
|
};
|
|
9061
9049
|
|
|
@@ -9213,38 +9201,38 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9213
9201
|
setSensorVisible(false);
|
|
9214
9202
|
};
|
|
9215
9203
|
|
|
9216
|
-
return React__default
|
|
9217
|
-
React__default
|
|
9204
|
+
return React__default.createElement(
|
|
9205
|
+
React__default.Fragment,
|
|
9218
9206
|
null,
|
|
9219
|
-
React__default
|
|
9207
|
+
React__default.createElement(
|
|
9220
9208
|
'div',
|
|
9221
9209
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9222
|
-
React__default
|
|
9210
|
+
React__default.createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9223
9211
|
return handleArrowClick();
|
|
9224
9212
|
} })
|
|
9225
9213
|
),
|
|
9226
|
-
React__default
|
|
9227
|
-
React__default
|
|
9214
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9215
|
+
React__default.createElement(
|
|
9228
9216
|
'div',
|
|
9229
9217
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9230
|
-
React__default
|
|
9218
|
+
React__default.createElement(
|
|
9231
9219
|
'h5',
|
|
9232
9220
|
{ className: 'objective-title' },
|
|
9233
9221
|
nodes.seriesTitle
|
|
9234
9222
|
),
|
|
9235
|
-
React__default
|
|
9223
|
+
React__default.createElement(
|
|
9236
9224
|
'div',
|
|
9237
9225
|
{ className: 'prevNextWrapper' },
|
|
9238
9226
|
PrevNextCards(false, -1)
|
|
9239
9227
|
)
|
|
9240
9228
|
),
|
|
9241
|
-
React__default
|
|
9242
|
-
React__default
|
|
9229
|
+
React__default.createElement('hr', { className: 'article-seperater' }),
|
|
9230
|
+
React__default.createElement(
|
|
9243
9231
|
'div',
|
|
9244
9232
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
9245
9233
|
main.main_43 && Ads.map(function (ad, index) {
|
|
9246
9234
|
if (index === 0) {
|
|
9247
|
-
return React__default
|
|
9235
|
+
return React__default.createElement(
|
|
9248
9236
|
'div',
|
|
9249
9237
|
{
|
|
9250
9238
|
key: 'addid-1',
|
|
@@ -9264,14 +9252,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9264
9252
|
}
|
|
9265
9253
|
})
|
|
9266
9254
|
),
|
|
9267
|
-
React__default
|
|
9255
|
+
React__default.createElement(
|
|
9268
9256
|
'div',
|
|
9269
9257
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9270
9258
|
Articles.map(function (article, index) {
|
|
9271
|
-
return React__default
|
|
9259
|
+
return React__default.createElement(
|
|
9272
9260
|
'div',
|
|
9273
9261
|
{ key: article.title },
|
|
9274
|
-
React__default
|
|
9262
|
+
React__default.createElement(
|
|
9275
9263
|
InscreenSensor,
|
|
9276
9264
|
{
|
|
9277
9265
|
visible: sensorVisible,
|
|
@@ -9289,84 +9277,84 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9289
9277
|
}
|
|
9290
9278
|
}
|
|
9291
9279
|
} },
|
|
9292
|
-
React__default
|
|
9293
|
-
|
|
9280
|
+
React__default.createElement(
|
|
9281
|
+
Head,
|
|
9294
9282
|
null,
|
|
9295
|
-
currentTitle !== null && React__default
|
|
9283
|
+
currentTitle !== null && React__default.createElement(
|
|
9296
9284
|
'title',
|
|
9297
9285
|
{ key: 'title' },
|
|
9298
9286
|
currentTitle
|
|
9299
9287
|
),
|
|
9300
|
-
currentSummary !== null && React__default
|
|
9301
|
-
currentURL !== null && React__default
|
|
9302
|
-
currentTitle !== null && React__default
|
|
9303
|
-
currentThumbnail !== null && React__default
|
|
9304
|
-
currentSummary !== null && React__default
|
|
9305
|
-
currentTitle !== null && React__default
|
|
9306
|
-
currentThumbnail !== null && React__default
|
|
9307
|
-
currentSummary !== null && React__default
|
|
9288
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9289
|
+
currentURL !== null && React__default.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9290
|
+
currentTitle !== null && React__default.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9291
|
+
currentThumbnail !== null && React__default.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9292
|
+
currentSummary !== null && React__default.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9293
|
+
currentTitle !== null && React__default.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9294
|
+
currentThumbnail !== null && React__default.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9295
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9308
9296
|
),
|
|
9309
|
-
React__default
|
|
9297
|
+
React__default.createElement(
|
|
9310
9298
|
'article',
|
|
9311
9299
|
{ className: 'article-wrapper' },
|
|
9312
|
-
React__default
|
|
9300
|
+
React__default.createElement(
|
|
9313
9301
|
'div',
|
|
9314
9302
|
{ className: 'article-publishDate' },
|
|
9315
9303
|
moment.moment(article.published).format('LL')
|
|
9316
9304
|
),
|
|
9317
|
-
React__default
|
|
9305
|
+
React__default.createElement(
|
|
9318
9306
|
'div',
|
|
9319
9307
|
{ className: 'author-details-wrapper' },
|
|
9320
9308
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9321
|
-
return React__default
|
|
9309
|
+
return React__default.createElement(
|
|
9322
9310
|
'span',
|
|
9323
9311
|
{ key: index },
|
|
9324
9312
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9325
9313
|
);
|
|
9326
9314
|
})
|
|
9327
9315
|
),
|
|
9328
|
-
React__default
|
|
9316
|
+
React__default.createElement(
|
|
9329
9317
|
'h2',
|
|
9330
9318
|
{ className: 'article-title' },
|
|
9331
9319
|
article.title
|
|
9332
9320
|
),
|
|
9333
|
-
React__default
|
|
9321
|
+
React__default.createElement(
|
|
9334
9322
|
'div',
|
|
9335
9323
|
{ className: 'mt-2 mb-2' },
|
|
9336
|
-
React__default
|
|
9324
|
+
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
9337
9325
|
serializers: getSerializers,
|
|
9338
9326
|
videoAccountIDs: accountIDs,
|
|
9339
9327
|
blocks: article.text,
|
|
9340
9328
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9341
9329
|
}, client.config())),
|
|
9342
|
-
React__default
|
|
9330
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' })
|
|
9343
9331
|
),
|
|
9344
|
-
Articles.length > 1 && React__default
|
|
9345
|
-
React__default
|
|
9332
|
+
Articles.length > 1 && React__default.createElement(
|
|
9333
|
+
React__default.Fragment,
|
|
9346
9334
|
null,
|
|
9347
|
-
React__default
|
|
9335
|
+
React__default.createElement(
|
|
9348
9336
|
'div',
|
|
9349
9337
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9350
|
-
React__default
|
|
9338
|
+
React__default.createElement(
|
|
9351
9339
|
'h5',
|
|
9352
9340
|
{ className: 'objective-title' },
|
|
9353
9341
|
nodes.seriesTitle
|
|
9354
9342
|
),
|
|
9355
|
-
React__default
|
|
9343
|
+
React__default.createElement(
|
|
9356
9344
|
'div',
|
|
9357
9345
|
{ className: 'prevNextWrapper' },
|
|
9358
9346
|
PrevNextCards(true, index)
|
|
9359
9347
|
)
|
|
9360
9348
|
),
|
|
9361
|
-
React__default
|
|
9349
|
+
React__default.createElement('hr', { className: 'article-seperater' })
|
|
9362
9350
|
)
|
|
9363
9351
|
),
|
|
9364
|
-
React__default
|
|
9352
|
+
React__default.createElement(
|
|
9365
9353
|
'div',
|
|
9366
9354
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
9367
9355
|
main.main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
9368
9356
|
if (innerIndex === 0) {
|
|
9369
|
-
return React__default
|
|
9357
|
+
return React__default.createElement(
|
|
9370
9358
|
'div',
|
|
9371
9359
|
{
|
|
9372
9360
|
key: 'addid-' + (index + 2),
|
|
@@ -9389,7 +9377,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9389
9377
|
)
|
|
9390
9378
|
);
|
|
9391
9379
|
}),
|
|
9392
|
-
React__default
|
|
9380
|
+
React__default.createElement(
|
|
9393
9381
|
'style',
|
|
9394
9382
|
{ jsx: 'true' },
|
|
9395
9383
|
'\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 '
|
|
@@ -9419,11 +9407,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9419
9407
|
};
|
|
9420
9408
|
}, [handleClickOutside]);
|
|
9421
9409
|
|
|
9422
|
-
return React__default
|
|
9410
|
+
return React__default.createElement(
|
|
9423
9411
|
'div',
|
|
9424
9412
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9425
|
-
React__default
|
|
9426
|
-
React__default
|
|
9413
|
+
React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9414
|
+
React__default.createElement(
|
|
9427
9415
|
'style',
|
|
9428
9416
|
{ jsx: 'true' },
|
|
9429
9417
|
'\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 '
|
|
@@ -9437,7 +9425,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9437
9425
|
}
|
|
9438
9426
|
};
|
|
9439
9427
|
|
|
9440
|
-
var FigureImage
|
|
9428
|
+
var FigureImage = React__default.memo(function (_ref2) {
|
|
9441
9429
|
var node = _ref2.node,
|
|
9442
9430
|
client = _ref2.client,
|
|
9443
9431
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9445,13 +9433,13 @@ var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
|
9445
9433
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9446
9434
|
|
|
9447
9435
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9448
|
-
return React__default
|
|
9436
|
+
return React__default.createElement(
|
|
9449
9437
|
'picture',
|
|
9450
9438
|
null,
|
|
9451
|
-
React__default
|
|
9452
|
-
React__default
|
|
9453
|
-
React__default
|
|
9454
|
-
React__default
|
|
9439
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9440
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9441
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9442
|
+
React__default.createElement('img', _extends._extends({
|
|
9455
9443
|
style: figureImageStyle,
|
|
9456
9444
|
className: 'figure-image',
|
|
9457
9445
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9502,30 +9490,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9502
9490
|
|
|
9503
9491
|
var renderTooltip = function renderTooltip(props) {
|
|
9504
9492
|
if (infoBox[0].title) {
|
|
9505
|
-
return React__default
|
|
9506
|
-
|
|
9493
|
+
return React__default.createElement(
|
|
9494
|
+
Popover,
|
|
9507
9495
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9508
|
-
React__default
|
|
9509
|
-
|
|
9496
|
+
React__default.createElement(
|
|
9497
|
+
Popover.Title,
|
|
9510
9498
|
{ as: 'h3' },
|
|
9511
9499
|
infoBox[0].title
|
|
9512
9500
|
),
|
|
9513
|
-
React__default
|
|
9514
|
-
|
|
9501
|
+
React__default.createElement(
|
|
9502
|
+
Popover.Content,
|
|
9515
9503
|
null,
|
|
9516
|
-
React__default
|
|
9504
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9517
9505
|
)
|
|
9518
9506
|
);
|
|
9519
9507
|
} else {
|
|
9520
|
-
return React__default
|
|
9521
|
-
|
|
9508
|
+
return React__default.createElement(
|
|
9509
|
+
Tooltip,
|
|
9522
9510
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9523
|
-
React__default
|
|
9511
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9524
9512
|
);
|
|
9525
9513
|
}
|
|
9526
9514
|
};
|
|
9527
9515
|
|
|
9528
|
-
var FigureImageWOverLay = React__default
|
|
9516
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9529
9517
|
var node = _ref3.node,
|
|
9530
9518
|
client = _ref3.client,
|
|
9531
9519
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9535,13 +9523,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9535
9523
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9536
9524
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9537
9525
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9538
|
-
return React__default
|
|
9526
|
+
return React__default.createElement(
|
|
9539
9527
|
'picture',
|
|
9540
9528
|
null,
|
|
9541
|
-
React__default
|
|
9542
|
-
React__default
|
|
9543
|
-
React__default
|
|
9544
|
-
main.main_42 && link ? React__default
|
|
9529
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9530
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9531
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9532
|
+
main.main_42 && link ? React__default.createElement('img', _extends._extends({
|
|
9545
9533
|
style: figureImageStyle,
|
|
9546
9534
|
className: 'figure-image',
|
|
9547
9535
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9550,10 +9538,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9550
9538
|
onClick: function onClick() {
|
|
9551
9539
|
return handleClickFigure(node, client);
|
|
9552
9540
|
}
|
|
9553
|
-
})) : React__default
|
|
9554
|
-
|
|
9541
|
+
})) : React__default.createElement(
|
|
9542
|
+
OverlayTrigger,
|
|
9555
9543
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9556
|
-
React__default
|
|
9544
|
+
React__default.createElement('img', _extends._extends({
|
|
9557
9545
|
style: figureImageStyle,
|
|
9558
9546
|
className: 'figure-image',
|
|
9559
9547
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9607,13 +9595,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9607
9595
|
|
|
9608
9596
|
var FigureCaption = React.useCallback(function () {
|
|
9609
9597
|
if (imgcaption && imgcaption.length > 0) {
|
|
9610
|
-
return React__default
|
|
9598
|
+
return React__default.createElement(
|
|
9611
9599
|
'div',
|
|
9612
9600
|
{ className: 'figure-caption' },
|
|
9613
|
-
React__default
|
|
9601
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9614
9602
|
);
|
|
9615
9603
|
} else if (caption) {
|
|
9616
|
-
return React__default
|
|
9604
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9617
9605
|
} else return null;
|
|
9618
9606
|
}, [caption, imgcaption]);
|
|
9619
9607
|
|
|
@@ -9630,24 +9618,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9630
9618
|
setShowLightbox(true);
|
|
9631
9619
|
}, [node, client]);
|
|
9632
9620
|
|
|
9633
|
-
return React__default
|
|
9634
|
-
React__default
|
|
9621
|
+
return React__default.createElement(
|
|
9622
|
+
React__default.Fragment,
|
|
9635
9623
|
null,
|
|
9636
|
-
infoBox.length >= 1 ? React__default
|
|
9637
|
-
|
|
9624
|
+
infoBox.length >= 1 ? React__default.createElement(
|
|
9625
|
+
Figure$1,
|
|
9638
9626
|
{ className: '' + class_name, style: figureStyle },
|
|
9639
|
-
link ? React__default
|
|
9627
|
+
link ? React__default.createElement(
|
|
9640
9628
|
'a',
|
|
9641
9629
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9642
|
-
React__default
|
|
9643
|
-
React__default
|
|
9644
|
-
) : React__default
|
|
9645
|
-
React__default
|
|
9630
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9631
|
+
React__default.createElement(FigureCaption, null)
|
|
9632
|
+
) : React__default.createElement(
|
|
9633
|
+
React__default.Fragment,
|
|
9646
9634
|
null,
|
|
9647
|
-
React__default
|
|
9648
|
-
React__default
|
|
9635
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9636
|
+
React__default.createElement(FigureCaption, null)
|
|
9649
9637
|
),
|
|
9650
|
-
React__default
|
|
9638
|
+
React__default.createElement(LightBox, {
|
|
9651
9639
|
showLightbox: showLightbox,
|
|
9652
9640
|
lightboxImgSrc: lightboxImgSrc,
|
|
9653
9641
|
closeLightbox: function closeLightbox() {
|
|
@@ -9655,21 +9643,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9655
9643
|
setShowLightbox(false);
|
|
9656
9644
|
}
|
|
9657
9645
|
})
|
|
9658
|
-
) : React__default
|
|
9659
|
-
|
|
9646
|
+
) : React__default.createElement(
|
|
9647
|
+
Figure$1,
|
|
9660
9648
|
{ className: '' + class_name, style: figureStyle },
|
|
9661
|
-
link ? React__default
|
|
9649
|
+
link ? React__default.createElement(
|
|
9662
9650
|
'a',
|
|
9663
9651
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9664
|
-
React__default
|
|
9665
|
-
React__default
|
|
9666
|
-
) : React__default
|
|
9667
|
-
React__default
|
|
9652
|
+
React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9653
|
+
React__default.createElement(FigureCaption, null)
|
|
9654
|
+
) : React__default.createElement(
|
|
9655
|
+
React__default.Fragment,
|
|
9668
9656
|
null,
|
|
9669
|
-
React__default
|
|
9670
|
-
React__default
|
|
9657
|
+
React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9658
|
+
React__default.createElement(FigureCaption, null)
|
|
9671
9659
|
),
|
|
9672
|
-
React__default
|
|
9660
|
+
React__default.createElement(LightBox, {
|
|
9673
9661
|
showLightbox: showLightbox,
|
|
9674
9662
|
lightboxImgSrc: lightboxImgSrc,
|
|
9675
9663
|
closeLightbox: function closeLightbox() {
|
|
@@ -9678,7 +9666,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9678
9666
|
}
|
|
9679
9667
|
})
|
|
9680
9668
|
),
|
|
9681
|
-
React__default
|
|
9669
|
+
React__default.createElement(
|
|
9682
9670
|
'style',
|
|
9683
9671
|
{ jsx: 'true' },
|
|
9684
9672
|
'\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 '
|
|
@@ -9686,7 +9674,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9686
9674
|
);
|
|
9687
9675
|
};
|
|
9688
9676
|
|
|
9689
|
-
var Figure = React__default
|
|
9677
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
9690
9678
|
|
|
9691
9679
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9692
9680
|
React.useEffect(function () {
|
|
@@ -9703,7 +9691,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9703
9691
|
}, [ref]);
|
|
9704
9692
|
}
|
|
9705
9693
|
|
|
9706
|
-
var FigureImage = React__default
|
|
9694
|
+
var FigureImage$1 = React__default.memo(function (_ref) {
|
|
9707
9695
|
var imagesCount = _ref.imagesCount,
|
|
9708
9696
|
image = _ref.image,
|
|
9709
9697
|
client = _ref.client,
|
|
@@ -9711,13 +9699,13 @@ var FigureImage = React__default['default'].memo(function (_ref) {
|
|
|
9711
9699
|
link = _ref.link,
|
|
9712
9700
|
handleClickFigure = _ref.handleClickFigure;
|
|
9713
9701
|
|
|
9714
|
-
return React__default
|
|
9702
|
+
return React__default.createElement(
|
|
9715
9703
|
'picture',
|
|
9716
9704
|
null,
|
|
9717
|
-
React__default
|
|
9718
|
-
React__default
|
|
9719
|
-
React__default
|
|
9720
|
-
React__default
|
|
9705
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9706
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9707
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9708
|
+
React__default.createElement('img', _extends._extends({
|
|
9721
9709
|
'images-count': imagesCount,
|
|
9722
9710
|
className: 'multi-figure-image',
|
|
9723
9711
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9754,13 +9742,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9754
9742
|
imgcaption = _ref2.imgcaption;
|
|
9755
9743
|
|
|
9756
9744
|
if (imgcaption && imgcaption.length > 0) {
|
|
9757
|
-
return React__default
|
|
9745
|
+
return React__default.createElement(
|
|
9758
9746
|
'div',
|
|
9759
9747
|
{ className: 'multi-figure-caption' },
|
|
9760
|
-
React__default
|
|
9748
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9761
9749
|
);
|
|
9762
9750
|
} else if (caption) {
|
|
9763
|
-
return React__default
|
|
9751
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9764
9752
|
} else return null;
|
|
9765
9753
|
};
|
|
9766
9754
|
|
|
@@ -9769,7 +9757,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9769
9757
|
setOpenImg(true);
|
|
9770
9758
|
}, [client]);
|
|
9771
9759
|
|
|
9772
|
-
var FigureImageWOverLay = React__default
|
|
9760
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9773
9761
|
var imagesCount = _ref3.imagesCount,
|
|
9774
9762
|
image = _ref3.image,
|
|
9775
9763
|
client = _ref3.client,
|
|
@@ -9779,13 +9767,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9779
9767
|
|
|
9780
9768
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9781
9769
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9782
|
-
return React__default
|
|
9770
|
+
return React__default.createElement(
|
|
9783
9771
|
'picture',
|
|
9784
9772
|
null,
|
|
9785
|
-
React__default
|
|
9786
|
-
React__default
|
|
9787
|
-
React__default
|
|
9788
|
-
main.main_42 && link ? React__default
|
|
9773
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9774
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9775
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9776
|
+
main.main_42 && link ? React__default.createElement('img', _extends._extends({
|
|
9789
9777
|
'images-count': imagesCount,
|
|
9790
9778
|
className: 'multi-figure-image',
|
|
9791
9779
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9794,10 +9782,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9794
9782
|
onClick: function onClick() {
|
|
9795
9783
|
return handleClickFigure(image, client);
|
|
9796
9784
|
}
|
|
9797
|
-
})) : React__default
|
|
9798
|
-
|
|
9785
|
+
})) : React__default.createElement(
|
|
9786
|
+
OverlayTrigger,
|
|
9799
9787
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9800
|
-
React__default
|
|
9788
|
+
React__default.createElement('img', _extends._extends({
|
|
9801
9789
|
'images-count': imagesCount,
|
|
9802
9790
|
className: 'multi-figure-image',
|
|
9803
9791
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9813,102 +9801,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9813
9801
|
|
|
9814
9802
|
var renderTooltip = function renderTooltip(image) {
|
|
9815
9803
|
if (image.infoBox[0].title) {
|
|
9816
|
-
return React__default
|
|
9817
|
-
|
|
9804
|
+
return React__default.createElement(
|
|
9805
|
+
Popover,
|
|
9818
9806
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9819
|
-
React__default
|
|
9820
|
-
|
|
9807
|
+
React__default.createElement(
|
|
9808
|
+
Popover.Title,
|
|
9821
9809
|
{ as: 'h3' },
|
|
9822
9810
|
image.infoBox[0].title
|
|
9823
9811
|
),
|
|
9824
|
-
React__default
|
|
9825
|
-
|
|
9812
|
+
React__default.createElement(
|
|
9813
|
+
Popover.Content,
|
|
9826
9814
|
null,
|
|
9827
|
-
React__default
|
|
9815
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9828
9816
|
)
|
|
9829
9817
|
);
|
|
9830
9818
|
} else {
|
|
9831
|
-
return React__default
|
|
9832
|
-
|
|
9819
|
+
return React__default.createElement(
|
|
9820
|
+
Tooltip,
|
|
9833
9821
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9834
|
-
React__default
|
|
9822
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9835
9823
|
);
|
|
9836
9824
|
}
|
|
9837
9825
|
};
|
|
9838
9826
|
|
|
9839
9827
|
if (images && images.length > 0) {
|
|
9840
|
-
return React__default
|
|
9828
|
+
return React__default.createElement(
|
|
9841
9829
|
'div',
|
|
9842
9830
|
{ className: 'multi-figure-container' },
|
|
9843
|
-
React__default
|
|
9844
|
-
|
|
9831
|
+
React__default.createElement(
|
|
9832
|
+
Row,
|
|
9845
9833
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9846
9834
|
images.map(function (image, index) {
|
|
9847
9835
|
if (image.infoBox) {
|
|
9848
|
-
return React__default
|
|
9849
|
-
|
|
9836
|
+
return React__default.createElement(
|
|
9837
|
+
Col,
|
|
9850
9838
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9851
|
-
image.link ? React__default
|
|
9839
|
+
image.link ? React__default.createElement(
|
|
9852
9840
|
'a',
|
|
9853
9841
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9854
|
-
React__default
|
|
9842
|
+
React__default.createElement(
|
|
9855
9843
|
'div',
|
|
9856
9844
|
{ className: 'multi-figure-image-container' },
|
|
9857
|
-
React__default
|
|
9845
|
+
React__default.createElement(
|
|
9858
9846
|
index$2.LazyLoad,
|
|
9859
9847
|
{ once: true },
|
|
9860
|
-
React__default
|
|
9848
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9861
9849
|
),
|
|
9862
|
-
React__default
|
|
9850
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9863
9851
|
)
|
|
9864
|
-
) : React__default
|
|
9852
|
+
) : React__default.createElement(
|
|
9865
9853
|
'div',
|
|
9866
9854
|
{ className: 'multi-figure-image-container' },
|
|
9867
|
-
React__default
|
|
9855
|
+
React__default.createElement(
|
|
9868
9856
|
index$2.LazyLoad,
|
|
9869
9857
|
{ once: true },
|
|
9870
|
-
React__default
|
|
9858
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9871
9859
|
),
|
|
9872
|
-
React__default
|
|
9860
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9873
9861
|
)
|
|
9874
9862
|
);
|
|
9875
9863
|
} else {
|
|
9876
|
-
return React__default
|
|
9877
|
-
|
|
9864
|
+
return React__default.createElement(
|
|
9865
|
+
Col,
|
|
9878
9866
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9879
|
-
image.link ? React__default
|
|
9867
|
+
image.link ? React__default.createElement(
|
|
9880
9868
|
'a',
|
|
9881
9869
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9882
|
-
React__default
|
|
9870
|
+
React__default.createElement(
|
|
9883
9871
|
'div',
|
|
9884
9872
|
{ className: 'multi-figure-image-container' },
|
|
9885
|
-
React__default
|
|
9873
|
+
React__default.createElement(
|
|
9886
9874
|
index$2.LazyLoad,
|
|
9887
9875
|
{ once: true },
|
|
9888
|
-
React__default
|
|
9876
|
+
React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9889
9877
|
),
|
|
9890
|
-
React__default
|
|
9878
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9891
9879
|
)
|
|
9892
|
-
) : React__default
|
|
9880
|
+
) : React__default.createElement(
|
|
9893
9881
|
'div',
|
|
9894
9882
|
{ className: 'multi-figure-image-container' },
|
|
9895
|
-
React__default
|
|
9883
|
+
React__default.createElement(
|
|
9896
9884
|
index$2.LazyLoad,
|
|
9897
9885
|
{ once: true },
|
|
9898
|
-
React__default
|
|
9886
|
+
React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9899
9887
|
),
|
|
9900
|
-
React__default
|
|
9888
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9901
9889
|
)
|
|
9902
9890
|
);
|
|
9903
9891
|
}
|
|
9904
9892
|
})
|
|
9905
9893
|
),
|
|
9906
|
-
React__default
|
|
9894
|
+
React__default.createElement(
|
|
9907
9895
|
'div',
|
|
9908
9896
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9909
|
-
React__default
|
|
9897
|
+
React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9910
9898
|
),
|
|
9911
|
-
React__default
|
|
9899
|
+
React__default.createElement(
|
|
9912
9900
|
'style',
|
|
9913
9901
|
{ jsx: 'true' },
|
|
9914
9902
|
'\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 '
|
|
@@ -9957,23 +9945,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9957
9945
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9958
9946
|
}, []);
|
|
9959
9947
|
|
|
9960
|
-
return React__default
|
|
9961
|
-
React__default
|
|
9948
|
+
return React__default.createElement(
|
|
9949
|
+
React__default.Fragment,
|
|
9962
9950
|
null,
|
|
9963
|
-
React__default
|
|
9964
|
-
|
|
9951
|
+
React__default.createElement(
|
|
9952
|
+
Head,
|
|
9965
9953
|
null,
|
|
9966
|
-
React__default
|
|
9954
|
+
React__default.createElement('script', {
|
|
9967
9955
|
dangerouslySetInnerHTML: {
|
|
9968
9956
|
__html: 'history.scrollRestoration = "manual"'
|
|
9969
9957
|
}
|
|
9970
9958
|
})
|
|
9971
9959
|
),
|
|
9972
|
-
React__default
|
|
9960
|
+
React__default.createElement(
|
|
9973
9961
|
'div',
|
|
9974
9962
|
{ id: elementId },
|
|
9975
|
-
React__default
|
|
9976
|
-
React__default
|
|
9963
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9964
|
+
React__default.createElement(
|
|
9977
9965
|
'style',
|
|
9978
9966
|
{ jsx: 'true' },
|
|
9979
9967
|
'\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 '
|
|
@@ -10027,11 +10015,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
10027
10015
|
|
|
10028
10016
|
|
|
10029
10017
|
|
|
10030
|
-
var _react2 = _interopRequireDefault(React__default
|
|
10018
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
10031
10019
|
|
|
10032
10020
|
|
|
10033
10021
|
|
|
10034
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default
|
|
10022
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default);
|
|
10035
10023
|
|
|
10036
10024
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10037
10025
|
var noop = function noop() {};
|
|
@@ -10176,9 +10164,9 @@ var ScriptTag = function (_Component) {
|
|
|
10176
10164
|
|
|
10177
10165
|
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10178
10166
|
// eslint-disable-next-line no-unused-vars
|
|
10179
|
-
var _props3 = this.props
|
|
10180
|
-
_props3.isHydrating
|
|
10181
|
-
|
|
10167
|
+
var _props3 = this.props,
|
|
10168
|
+
isHydrating = _props3.isHydrating,
|
|
10169
|
+
tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10182
10170
|
|
|
10183
10171
|
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10184
10172
|
return _this2.domRef = tag;
|
|
@@ -10186,7 +10174,7 @@ var ScriptTag = function (_Component) {
|
|
|
10186
10174
|
};
|
|
10187
10175
|
|
|
10188
10176
|
return ScriptTag;
|
|
10189
|
-
}(React__default
|
|
10177
|
+
}(React__default.Component);
|
|
10190
10178
|
|
|
10191
10179
|
ScriptTag.propTypes = {
|
|
10192
10180
|
/**
|
|
@@ -10265,11 +10253,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10265
10253
|
}, []);
|
|
10266
10254
|
|
|
10267
10255
|
if (iframeSrc) {
|
|
10268
|
-
return React__default
|
|
10256
|
+
return React__default.createElement(
|
|
10269
10257
|
'section',
|
|
10270
10258
|
{ className: 'form-assembly' },
|
|
10271
|
-
React__default
|
|
10272
|
-
React__default
|
|
10259
|
+
React__default.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10260
|
+
React__default.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10273
10261
|
);
|
|
10274
10262
|
}
|
|
10275
10263
|
|
|
@@ -10306,27 +10294,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10306
10294
|
return window.removeEventListener('resize', handleResize);
|
|
10307
10295
|
};
|
|
10308
10296
|
}, []);
|
|
10309
|
-
return React__default
|
|
10297
|
+
return React__default.createElement(
|
|
10310
10298
|
'div',
|
|
10311
10299
|
{ className: 'blockTableHolder', ref: holder },
|
|
10312
|
-
React__default
|
|
10300
|
+
React__default.createElement(
|
|
10313
10301
|
'div',
|
|
10314
10302
|
{ className: 'blockTable' },
|
|
10315
10303
|
rows && rows.map(function (row) {
|
|
10316
|
-
return React__default
|
|
10304
|
+
return React__default.createElement(
|
|
10317
10305
|
'div',
|
|
10318
10306
|
{ className: 'blockTableRow' },
|
|
10319
10307
|
row.cells && row.cells.map(function (cell) {
|
|
10320
|
-
return React__default
|
|
10308
|
+
return React__default.createElement(
|
|
10321
10309
|
'div',
|
|
10322
10310
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10323
|
-
React__default
|
|
10311
|
+
React__default.createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10324
10312
|
);
|
|
10325
10313
|
})
|
|
10326
10314
|
);
|
|
10327
10315
|
})
|
|
10328
10316
|
),
|
|
10329
|
-
React__default
|
|
10317
|
+
React__default.createElement(
|
|
10330
10318
|
'style',
|
|
10331
10319
|
{ jsx: true },
|
|
10332
10320
|
'\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 '
|
|
@@ -10413,12 +10401,12 @@ var getSerializers = function getSerializers() {
|
|
|
10413
10401
|
var node = _ref.node;
|
|
10414
10402
|
var url = node.url;
|
|
10415
10403
|
|
|
10416
|
-
return React__default
|
|
10404
|
+
return React__default.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10417
10405
|
},
|
|
10418
10406
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10419
10407
|
var node = _ref2.node;
|
|
10420
10408
|
|
|
10421
|
-
return React__default
|
|
10409
|
+
return React__default.createElement(YouTubeGallery, {
|
|
10422
10410
|
nodes: node,
|
|
10423
10411
|
article: article,
|
|
10424
10412
|
meta: meta,
|
|
@@ -10432,7 +10420,7 @@ var getSerializers = function getSerializers() {
|
|
|
10432
10420
|
articleSeries: function articleSeries(_ref3) {
|
|
10433
10421
|
var node = _ref3.node;
|
|
10434
10422
|
|
|
10435
|
-
return React__default
|
|
10423
|
+
return React__default.createElement(ArticleSeries, {
|
|
10436
10424
|
nodes: node,
|
|
10437
10425
|
accountIDs: videoAccountIDs || {},
|
|
10438
10426
|
pageview: pageview,
|
|
@@ -10445,61 +10433,61 @@ var getSerializers = function getSerializers() {
|
|
|
10445
10433
|
figure: function figure(_ref4) {
|
|
10446
10434
|
var node = _ref4.node;
|
|
10447
10435
|
|
|
10448
|
-
return React__default
|
|
10436
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10449
10437
|
},
|
|
10450
10438
|
multifigure: function multifigure(_ref5) {
|
|
10451
10439
|
var node = _ref5.node;
|
|
10452
10440
|
|
|
10453
|
-
return React__default
|
|
10441
|
+
return React__default.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10454
10442
|
},
|
|
10455
10443
|
slideshow: function slideshow(_ref6) {
|
|
10456
10444
|
var node = _ref6.node;
|
|
10457
10445
|
var slides = node.slides;
|
|
10458
10446
|
|
|
10459
|
-
return React__default
|
|
10447
|
+
return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
10460
10448
|
},
|
|
10461
10449
|
sidebar: function sidebar(_ref7) {
|
|
10462
10450
|
var node = _ref7.node;
|
|
10463
10451
|
var caption = node.caption,
|
|
10464
10452
|
content = node.content;
|
|
10465
10453
|
|
|
10466
|
-
return React__default
|
|
10454
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10467
10455
|
},
|
|
10468
10456
|
datatable: function datatable(_ref8) {
|
|
10469
10457
|
var node = _ref8.node;
|
|
10470
10458
|
var table = node.table;
|
|
10471
10459
|
|
|
10472
|
-
return React__default
|
|
10460
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
10473
10461
|
},
|
|
10474
10462
|
media: function media(_ref9) {
|
|
10475
10463
|
var node = _ref9.node;
|
|
10476
10464
|
|
|
10477
|
-
return React__default
|
|
10465
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
10478
10466
|
},
|
|
10479
10467
|
iframe: function iframe(_ref10) {
|
|
10480
10468
|
var node = _ref10.node;
|
|
10481
10469
|
|
|
10482
|
-
return React__default
|
|
10470
|
+
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10483
10471
|
},
|
|
10484
10472
|
video: function video(_ref11) {
|
|
10485
10473
|
var node = _ref11.node;
|
|
10486
10474
|
|
|
10487
|
-
return React__default
|
|
10475
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10488
10476
|
},
|
|
10489
10477
|
audio: function audio(_ref12) {
|
|
10490
10478
|
var node = _ref12.node;
|
|
10491
10479
|
|
|
10492
|
-
return React__default
|
|
10480
|
+
return React__default.createElement(Audio, { node: node });
|
|
10493
10481
|
},
|
|
10494
10482
|
poll: function poll(_ref13) {
|
|
10495
10483
|
var node = _ref13.node;
|
|
10496
10484
|
|
|
10497
|
-
return React__default
|
|
10485
|
+
return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10498
10486
|
},
|
|
10499
10487
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10500
10488
|
var node = _ref14.node;
|
|
10501
10489
|
|
|
10502
|
-
return React__default
|
|
10490
|
+
return React__default.createElement(Poll$1, {
|
|
10503
10491
|
node: node,
|
|
10504
10492
|
client: client,
|
|
10505
10493
|
pageview: pageview,
|
|
@@ -10513,35 +10501,35 @@ var getSerializers = function getSerializers() {
|
|
|
10513
10501
|
var node = _ref15.node;
|
|
10514
10502
|
var quizzes = node.quizzes;
|
|
10515
10503
|
|
|
10516
|
-
return React__default
|
|
10504
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10517
10505
|
},
|
|
10518
10506
|
leads: function leads(_ref16) {
|
|
10519
10507
|
var node = _ref16.node;
|
|
10520
10508
|
var leadID = node.leadID;
|
|
10521
10509
|
|
|
10522
10510
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10523
|
-
return React__default
|
|
10511
|
+
return React__default.createElement(Leads, { url: url });
|
|
10524
10512
|
},
|
|
10525
10513
|
slideshows: function slideshows(_ref17) {
|
|
10526
10514
|
var node = _ref17.node;
|
|
10527
10515
|
|
|
10528
|
-
return React__default
|
|
10516
|
+
return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10529
10517
|
},
|
|
10530
10518
|
nativeAd: function nativeAd(_ref18) {
|
|
10531
10519
|
var node = _ref18.node;
|
|
10532
10520
|
|
|
10533
|
-
return React__default
|
|
10521
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
10534
10522
|
},
|
|
10535
10523
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10536
10524
|
var node = _ref19.node;
|
|
10537
10525
|
|
|
10538
|
-
return React__default
|
|
10526
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10539
10527
|
},
|
|
10540
10528
|
hrtag: function hrtag() {
|
|
10541
|
-
return React__default
|
|
10529
|
+
return React__default.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10542
10530
|
},
|
|
10543
10531
|
brtag: function brtag() {
|
|
10544
|
-
return React__default
|
|
10532
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
10545
10533
|
},
|
|
10546
10534
|
formstack: function formstack(_ref20) {
|
|
10547
10535
|
var node = _ref20.node;
|
|
@@ -10549,29 +10537,29 @@ var getSerializers = function getSerializers() {
|
|
|
10549
10537
|
Caption = node.Caption,
|
|
10550
10538
|
needSegmentSupport = node.needSegmentSupport;
|
|
10551
10539
|
|
|
10552
|
-
return React__default
|
|
10540
|
+
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10553
10541
|
},
|
|
10554
10542
|
formassembly: FormAssembly,
|
|
10555
10543
|
multimedia: function multimedia(_ref21) {
|
|
10556
10544
|
var node = _ref21.node;
|
|
10557
10545
|
|
|
10558
|
-
return React__default
|
|
10546
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
10559
10547
|
},
|
|
10560
10548
|
blockTable: function blockTable(_ref22) {
|
|
10561
10549
|
var node = _ref22.node;
|
|
10562
|
-
return React__default
|
|
10550
|
+
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10563
10551
|
}
|
|
10564
10552
|
},
|
|
10565
10553
|
marks: {
|
|
10566
10554
|
superscript: function superscript(props) {
|
|
10567
|
-
return React__default
|
|
10555
|
+
return React__default.createElement(
|
|
10568
10556
|
'sup',
|
|
10569
10557
|
null,
|
|
10570
10558
|
props.children
|
|
10571
10559
|
);
|
|
10572
10560
|
},
|
|
10573
10561
|
subscript: function subscript(props) {
|
|
10574
|
-
return React__default
|
|
10562
|
+
return React__default.createElement(
|
|
10575
10563
|
'sub',
|
|
10576
10564
|
null,
|
|
10577
10565
|
props.children
|
|
@@ -10588,7 +10576,7 @@ var getSerializers = function getSerializers() {
|
|
|
10588
10576
|
if (href && href.charAt(0) === '#') {
|
|
10589
10577
|
var elementId = href.slice(1);
|
|
10590
10578
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10591
|
-
return React__default
|
|
10579
|
+
return React__default.createElement(
|
|
10592
10580
|
'a',
|
|
10593
10581
|
{ onClick: function onClick() {
|
|
10594
10582
|
return ScrollToElement(elementId);
|
|
@@ -10598,7 +10586,7 @@ var getSerializers = function getSerializers() {
|
|
|
10598
10586
|
}
|
|
10599
10587
|
|
|
10600
10588
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10601
|
-
return href ? React__default
|
|
10589
|
+
return href ? React__default.createElement(
|
|
10602
10590
|
'a',
|
|
10603
10591
|
_extends._extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10604
10592
|
children
|
|
@@ -10606,7 +10594,7 @@ var getSerializers = function getSerializers() {
|
|
|
10606
10594
|
},
|
|
10607
10595
|
alignleft: function alignleft(_ref23) {
|
|
10608
10596
|
var children = _ref23.children;
|
|
10609
|
-
return React__default
|
|
10597
|
+
return React__default.createElement(
|
|
10610
10598
|
'div',
|
|
10611
10599
|
{ style: { textAlign: 'left' } },
|
|
10612
10600
|
children
|
|
@@ -10614,7 +10602,7 @@ var getSerializers = function getSerializers() {
|
|
|
10614
10602
|
},
|
|
10615
10603
|
alignright: function alignright(_ref24) {
|
|
10616
10604
|
var children = _ref24.children;
|
|
10617
|
-
return React__default
|
|
10605
|
+
return React__default.createElement(
|
|
10618
10606
|
'div',
|
|
10619
10607
|
{ style: { textAlign: 'right' } },
|
|
10620
10608
|
children
|
|
@@ -10622,7 +10610,7 @@ var getSerializers = function getSerializers() {
|
|
|
10622
10610
|
},
|
|
10623
10611
|
aligncenter: function aligncenter(_ref25) {
|
|
10624
10612
|
var children = _ref25.children;
|
|
10625
|
-
return React__default
|
|
10613
|
+
return React__default.createElement(
|
|
10626
10614
|
'div',
|
|
10627
10615
|
{ style: { textAlign: 'center' } },
|
|
10628
10616
|
children
|
|
@@ -10630,7 +10618,7 @@ var getSerializers = function getSerializers() {
|
|
|
10630
10618
|
},
|
|
10631
10619
|
alignjustify: function alignjustify(_ref26) {
|
|
10632
10620
|
var children = _ref26.children;
|
|
10633
|
-
return React__default
|
|
10621
|
+
return React__default.createElement(
|
|
10634
10622
|
'div',
|
|
10635
10623
|
{ style: { textAlign: 'justify' } },
|
|
10636
10624
|
children
|
|
@@ -10640,7 +10628,7 @@ var getSerializers = function getSerializers() {
|
|
|
10640
10628
|
var children = props.children,
|
|
10641
10629
|
color = props.mark.color;
|
|
10642
10630
|
|
|
10643
|
-
return React__default
|
|
10631
|
+
return React__default.createElement(
|
|
10644
10632
|
'span',
|
|
10645
10633
|
{ style: { color: color ? color.hex : null } },
|
|
10646
10634
|
children
|