@mjhls/mjh-framework 1.0.1005-ce-test-v2 → 1.0.1005-next12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -22
- package/dist/cjs/AD300x250x600.js +21 -22
- package/dist/cjs/AD728x90.js +24 -25
- package/dist/cjs/ADFloatingFooter.js +20 -21
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -21
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-08a6ef56.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -21
- package/dist/cjs/ADSponsoredResources.js +20 -21
- package/dist/cjs/ADWebcast.js +20 -21
- package/dist/cjs/ADWelcome.js +17 -18
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-f46139b2.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -20
- package/dist/cjs/AdSlotsProvider.js +11 -12
- package/dist/cjs/AlgoliaSearch.js +31 -14300
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +52 -52
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -30
- package/dist/cjs/ArticleSeriesListing.js +30 -31
- package/dist/cjs/Auth.js +355 -494
- package/dist/cjs/AuthWrapper.js +13 -1772
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -27
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -31
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +13 -14
- package/dist/cjs/EventsDeck.js +54 -27
- package/dist/cjs/ExternalResources.js +48 -48
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -46
- package/dist/cjs/GridContentPaginated.js +47 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +28 -28
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HealthCareProfessionalModal.js +2 -2
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +50 -50
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +58 -58
- package/dist/cjs/LeftNav.js +21 -22
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -33
- package/dist/cjs/{MediaSeriesCard-594c5edf.js → MediaSeriesCard-a6e3f32e.js} +5 -5
- package/dist/cjs/MediaSeriesLanding.js +54 -55
- package/dist/cjs/MediaSeriesLandingPaginated.js +60 -60
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +31 -31
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/Pagination-7624a3bd.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +64 -65
- package/dist/cjs/PartnerDetailListingPaginated.js +64 -64
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PixelTracking.js +7 -7
- package/dist/cjs/PodcastsLanding.js +63 -63
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PtceDeck.js +10 -10
- package/dist/cjs/PubSection.js +32 -33
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +27 -31
- package/dist/cjs/QueueDeckExpanded.js +35 -36
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-08699353.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +11 -11
- package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-59192efd.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +48 -48
- package/dist/cjs/TemplateNormal.js +44 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-7be5df78.js} +804 -1029
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +54 -54
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -36
- package/dist/cjs/VideoSeriesListing.js +30 -31
- package/dist/cjs/View.js +120 -123
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.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-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{entities-df1aed86.js → entities-310b46ee.js} +1 -5
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getPtceActivities.js +4 -4
- package/dist/cjs/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +48 -48
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-5eabd6e2.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-144b90c4.js → index-b278e08f.js} +167 -429
- package/dist/cjs/{index-d48b231c.js → index-b5eb3ff8.js} +6 -11
- 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-1461604c.js → index.esm-f4cf6943.js} +2 -2
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +146 -148
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +5 -5
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +8 -8
- package/dist/esm/AD300x250.js +25 -26
- package/dist/esm/AD300x250x600.js +25 -26
- package/dist/esm/AD728x90.js +28 -29
- package/dist/esm/ADFloatingFooter.js +27 -28
- package/dist/esm/ADFooter.js +10 -10
- package/dist/esm/ADGutter.js +27 -28
- package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-36973a76.js} +9 -9
- package/dist/esm/ADSkyscraper.js +27 -28
- package/dist/esm/ADSponsoredResources.js +27 -28
- package/dist/esm/ADWebcast.js +27 -28
- package/dist/esm/ADWelcome.js +28 -29
- package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-f6e898d5.js} +8 -8
- package/dist/esm/AccordionPanel.js +23 -23
- package/dist/esm/AdSlot.js +23 -24
- package/dist/esm/AdSlotsProvider.js +13 -14
- package/dist/esm/AlgoliaSearch.js +56 -14325
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +59 -59
- package/dist/esm/ArticleSeriesLandingPage.js +36 -37
- package/dist/esm/ArticleSeriesListing.js +55 -56
- package/dist/esm/Auth.js +427 -565
- package/dist/esm/AuthWrapper.js +27 -1787
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-b0a47123.js} +11 -11
- package/dist/esm/Beam.js +7 -7
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +16 -16
- package/dist/esm/CMEDeck.js +78 -83
- package/dist/esm/Column1.js +7 -6
- package/dist/esm/Column2.js +25 -24
- package/dist/esm/Column3.js +50 -50
- package/dist/esm/ConferenceArticleCard.js +24 -24
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +73 -73
- package/dist/esm/DeckContent.js +77 -78
- package/dist/esm/DeckQueue.js +71 -72
- package/dist/esm/DeckQueuePaginated.js +64 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-e151d2de.js} +21 -22
- package/dist/esm/EventsDeck.js +114 -87
- package/dist/esm/ExternalResources.js +76 -76
- package/dist/esm/Feature.js +22 -22
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +146 -147
- package/dist/esm/GridContentPaginated.js +135 -135
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +106 -105
- package/dist/esm/Header.js +10 -9
- package/dist/esm/HealthCareProfessionalModal.js +13 -13
- package/dist/esm/Hero.js +14 -14
- package/dist/esm/HighlightenVideo.js +15 -15
- package/dist/esm/HorizontalArticleListing.js +73 -73
- package/dist/esm/HorizontalHero.js +27 -27
- package/dist/esm/ImageSlider-5ae6287a.js +1375 -0
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +67 -67
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +64 -65
- package/dist/esm/MasterDeckPaginated.js +56 -56
- package/dist/esm/{MediaSeriesCard-f56c8274.js → MediaSeriesCard-66045ffb.js} +19 -19
- package/dist/esm/MediaSeriesLanding.js +80 -81
- package/dist/esm/MediaSeriesLandingPaginated.js +84 -84
- package/dist/esm/NavDvm.js +57 -56
- package/dist/esm/{NavFooter-3272e9cd.js → NavFooter-da30eae3.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -113
- package/dist/esm/NavNative.js +104 -103
- package/dist/esm/OncliveHero.js +20 -20
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +11 -11
- package/dist/esm/Pagination-1e09918f.js +82 -0
- package/dist/esm/PartnerDetailListing.js +100 -101
- package/dist/esm/PartnerDetailListingPaginated.js +99 -99
- package/dist/esm/PdfDownload.js +8 -8
- package/dist/esm/PixelTracking.js +16 -16
- package/dist/esm/PodcastsLanding.js +75 -75
- package/dist/esm/PopUpModal.js +13 -13
- package/dist/esm/PtceDeck.js +24 -24
- package/dist/esm/PubSection.js +38 -39
- package/dist/esm/PubToc.js +11 -11
- package/dist/esm/PublicationDeck.js +43 -43
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-0379cc20.js} +23 -23
- package/dist/esm/PublicationLanding.js +75 -79
- package/dist/esm/QueueDeckExpanded.js +274 -275
- package/dist/esm/QueueDeckExpandedPaginated.js +254 -254
- package/dist/esm/RecentNews.js +21 -21
- package/dist/esm/RelatedContent.js +24 -24
- package/dist/esm/RelatedTopicsDropdown.js +12 -12
- package/dist/esm/RolesDeck.js +14 -14
- package/dist/esm/Schema.js +13 -13
- package/dist/esm/Search.js +11 -11
- package/dist/esm/Segment.js +5 -5
- package/dist/esm/SeriesListingDeck.js +31 -32
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-b364d074.js} +31 -31
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +8 -8
- package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-09b55779.js} +33 -33
- package/dist/esm/SocialShare.js +26 -26
- package/dist/esm/TaxonomyCard.js +45 -45
- package/dist/esm/TaxonomyDescription.js +53 -53
- package/dist/esm/TemplateNormal.js +65 -66
- package/dist/esm/ThumbnailCard.js +18 -18
- package/dist/esm/{Tooltip-95655b44.js → Tooltip-af3e4ee9.js} +792 -1017
- package/dist/esm/Ustream.js +30 -30
- package/dist/esm/VerticalHero.js +18 -18
- package/dist/esm/VideoProgramLandingPage.js +67 -67
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +14 -14
- package/dist/esm/VideoSeriesLandingPage.js +41 -42
- package/dist/esm/VideoSeriesListing.js +71 -72
- package/dist/esm/View.js +327 -331
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +49 -49
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-31d40a83.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-72edfd60.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-4201ccf6.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-fa0feeff.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-9c835201.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-8c71f470.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-a8a00786.js +18 -0
- package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-7fbbe94e.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getPtceActivities.js +4 -4
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +70 -134
- package/dist/esm/getRootDocGroup.js +5 -5
- package/dist/esm/getSerializers.js +48 -48
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-eed01f73.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-1819118a.js} +490 -44
- package/dist/esm/{index-5d8b0a9d.js → index-3a7c5bbe.js} +581 -844
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-07c37a92.js → index.esm-9d701385.js} +16 -16
- 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.js +172 -174
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-d26c739e.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/keys-5e9bd229.js +23 -0
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-99bcfd93.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-0c65d837.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +2 -2
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-47a5394a.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-d92ed6e0.js} +34 -34
- package/dist/esm/urlFor.js +5 -5
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-0fc42ed8.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-cbba615a.js} +5 -5
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-406140e0.js} +2 -2
- package/package.json +1 -2
- package/dist/cjs/CEDeckSupabase.js +0 -445
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- package/dist/cjs/Pagination-2a3d0103.js +0 -97
- package/dist/cjs/defineProperty-9673846a.js +0 -34
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/getTIData.js +0 -61
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/CEDeckSupabase.js +0 -439
- package/dist/esm/ImageSlider-f84174cb.js +0 -2804
- package/dist/esm/Pagination-dc30727b.js +0 -90
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/defineProperty-8c30428f.js +0 -32
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/getTIData.js +0 -59
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/keys-31dcdb31.js +0 -23
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
2
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
3
|
-
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
4
|
-
import urlFor from './urlFor.js';
|
|
5
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
6
|
-
import Router, { useRouter } from 'next/router';
|
|
7
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
8
|
-
import PropTypes from 'prop-types';
|
|
9
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import {
|
|
11
|
-
import './
|
|
2
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-8c71f470.js';
|
|
3
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-47a5394a.js';
|
|
4
|
+
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
5
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-d26c739e.js';
|
|
6
|
+
import { _ as _typeof$1 } from './typeof-d92ed6e0.js';
|
|
7
|
+
import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
8
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
11
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
12
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
13
|
+
import Router, { useRouter } from 'next/router';
|
|
14
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-99bcfd93.js';
|
|
15
|
+
import urlFor from './urlFor.js';
|
|
16
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
17
|
+
import { e as main_16, b as main_39, m as main_40 } from './main-43ca42fe.js';
|
|
18
|
+
import { h as html_decode_1 } from './entities-7cc3bf45.js';
|
|
19
|
+
import { _ as _JSON$stringify } from './stringify-0c65d837.js';
|
|
20
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
|
|
12
21
|
import Segment from './Segment.js';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
16
|
-
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
17
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
18
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
19
|
-
import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
|
|
20
|
-
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
|
|
21
|
-
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
22
|
-
import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
23
|
-
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
24
|
-
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
25
|
-
import Modal from 'react-bootstrap/Modal';
|
|
22
|
+
import './Beam.js';
|
|
23
|
+
import DFPAdSlot from './AdSlot.js';
|
|
26
24
|
import Button from 'react-bootstrap/Button';
|
|
25
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
26
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
27
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
28
|
+
import GroupDeck from './GroupDeck.js';
|
|
29
|
+
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
30
|
+
import { c as IoIosArrowDropupCircle } from './index.esm-55f22b35.js';
|
|
31
|
+
import { u as util } from './util-7700fc59.js';
|
|
32
|
+
import { u as urlForFile } from './urlForFile-0fc42ed8.js';
|
|
33
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-4abff0b1.js';
|
|
34
|
+
import { _ as _objectToArray } from './_object-to-array-fa0feeff.js';
|
|
35
|
+
import { _ as _Object$keys } from './keys-5e9bd229.js';
|
|
36
|
+
import Modal from 'react-bootstrap/Modal';
|
|
27
37
|
import Form from 'react-bootstrap/Form';
|
|
28
38
|
import ReactGA from 'react-ga';
|
|
29
|
-
import
|
|
30
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
39
|
+
import Head from 'next/head';
|
|
31
40
|
import SocialShare from './SocialShare.js';
|
|
32
|
-
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
33
41
|
import Pagination from 'react-bootstrap/Pagination';
|
|
34
|
-
import { h as html_decode_1 } from './entities-6d9154b4.js';
|
|
35
|
-
import DFPAdSlot from './AdSlot.js';
|
|
36
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
37
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
38
|
-
import Head from 'next/head';
|
|
39
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a6ba2ec4.js';
|
|
40
|
-
import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
|
|
41
42
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
42
43
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
43
44
|
import Tooltip from 'react-bootstrap/Tooltip';
|
|
44
45
|
import Popover from 'react-bootstrap/Popover';
|
|
45
|
-
import
|
|
46
|
+
import ScriptTag from 'react-script-tag';
|
|
46
47
|
|
|
47
48
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
48
49
|
var pageNumber = selectedIndex + 1;
|
|
@@ -50,7 +51,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
50
51
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
51
52
|
};
|
|
52
53
|
|
|
53
|
-
var Slideshow
|
|
54
|
+
var Slideshow = function Slideshow(_ref) {
|
|
54
55
|
var slides = _ref.slides,
|
|
55
56
|
client = _ref.client,
|
|
56
57
|
pageview = _ref.pageview;
|
|
@@ -77,27 +78,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
77
78
|
if (pageview) pageview(router.asPath);
|
|
78
79
|
}, [router]);
|
|
79
80
|
|
|
80
|
-
return
|
|
81
|
+
return React.createElement(
|
|
81
82
|
'div',
|
|
82
83
|
{ className: 'mt-3 mb-3' },
|
|
83
|
-
|
|
84
|
+
React.createElement(
|
|
84
85
|
Carousel,
|
|
85
86
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
86
87
|
return onChangeSlide(selectedIndex, router);
|
|
87
88
|
}, interval: null },
|
|
88
89
|
slides && slides.map(function (slide) {
|
|
89
|
-
return
|
|
90
|
+
return React.createElement(
|
|
90
91
|
Carousel.Item,
|
|
91
92
|
{ key: slide._key },
|
|
92
|
-
|
|
93
|
+
React.createElement(
|
|
93
94
|
'picture',
|
|
94
95
|
null,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
97
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
98
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
99
|
+
React.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
99
100
|
),
|
|
100
|
-
slide.caption &&
|
|
101
|
+
slide.caption && React.createElement(
|
|
101
102
|
'p',
|
|
102
103
|
{ className: 'p-2' },
|
|
103
104
|
slide.caption
|
|
@@ -687,14 +688,14 @@ function coerce(val) {
|
|
|
687
688
|
return val;
|
|
688
689
|
}
|
|
689
690
|
});
|
|
690
|
-
debug.coerce;
|
|
691
|
-
debug.disable;
|
|
692
|
-
debug.enable;
|
|
693
|
-
debug.enabled;
|
|
694
|
-
debug.humanize;
|
|
695
|
-
debug.names;
|
|
696
|
-
debug.skips;
|
|
697
|
-
debug.formatters;
|
|
691
|
+
var debug_1 = debug.coerce;
|
|
692
|
+
var debug_2 = debug.disable;
|
|
693
|
+
var debug_3 = debug.enable;
|
|
694
|
+
var debug_4 = debug.enabled;
|
|
695
|
+
var debug_5 = debug.humanize;
|
|
696
|
+
var debug_6 = debug.names;
|
|
697
|
+
var debug_7 = debug.skips;
|
|
698
|
+
var debug_8 = debug.formatters;
|
|
698
699
|
|
|
699
700
|
var browser = createCommonjsModule(function (module, exports) {
|
|
700
701
|
/**
|
|
@@ -883,13 +884,13 @@ function localstorage() {
|
|
|
883
884
|
} catch (e) {}
|
|
884
885
|
}
|
|
885
886
|
});
|
|
886
|
-
browser.log;
|
|
887
|
-
browser.formatArgs;
|
|
888
|
-
browser.save;
|
|
889
|
-
browser.load;
|
|
890
|
-
browser.useColors;
|
|
891
|
-
browser.storage;
|
|
892
|
-
browser.colors;
|
|
887
|
+
var browser_1 = browser.log;
|
|
888
|
+
var browser_2 = browser.formatArgs;
|
|
889
|
+
var browser_3 = browser.save;
|
|
890
|
+
var browser_4 = browser.load;
|
|
891
|
+
var browser_5 = browser.useColors;
|
|
892
|
+
var browser_6 = browser.storage;
|
|
893
|
+
var browser_7 = browser.colors;
|
|
893
894
|
|
|
894
895
|
// MIT lisence
|
|
895
896
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1164,14 +1165,14 @@ function init (debug) {
|
|
|
1164
1165
|
|
|
1165
1166
|
exports.enable(load());
|
|
1166
1167
|
});
|
|
1167
|
-
node.init;
|
|
1168
|
-
node.log;
|
|
1169
|
-
node.formatArgs;
|
|
1170
|
-
node.save;
|
|
1171
|
-
node.load;
|
|
1172
|
-
node.useColors;
|
|
1173
|
-
node.colors;
|
|
1174
|
-
node.inspectOpts;
|
|
1168
|
+
var node_1 = node.init;
|
|
1169
|
+
var node_2 = node.log;
|
|
1170
|
+
var node_3 = node.formatArgs;
|
|
1171
|
+
var node_4 = node.save;
|
|
1172
|
+
var node_5 = node.load;
|
|
1173
|
+
var node_6 = node.useColors;
|
|
1174
|
+
var node_7 = node.colors;
|
|
1175
|
+
var node_8 = node.inspectOpts;
|
|
1175
1176
|
|
|
1176
1177
|
var src = createCommonjsModule(function (module) {
|
|
1177
1178
|
/**
|
|
@@ -1629,8 +1630,6 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1629
1630
|
|
|
1630
1631
|
function filterResetOptions(opts) {
|
|
1631
1632
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1632
|
-
height: 0,
|
|
1633
|
-
width: 0,
|
|
1634
1633
|
playerVars: _objectSpread(_objectSpread({}, opts.playerVars), {}, {
|
|
1635
1634
|
autoplay: 0,
|
|
1636
1635
|
start: 0,
|
|
@@ -1650,7 +1649,7 @@ function filterResetOptions(opts) {
|
|
|
1650
1649
|
|
|
1651
1650
|
|
|
1652
1651
|
function shouldResetPlayer(prevProps, props) {
|
|
1653
|
-
return
|
|
1652
|
+
return !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
|
|
1654
1653
|
}
|
|
1655
1654
|
/**
|
|
1656
1655
|
* Check whether a props change should result in an id or className update.
|
|
@@ -1661,7 +1660,7 @@ function shouldResetPlayer(prevProps, props) {
|
|
|
1661
1660
|
|
|
1662
1661
|
|
|
1663
1662
|
function shouldUpdatePlayer(prevProps, props) {
|
|
1664
|
-
return prevProps.id !== props.id || prevProps.className !== props.className
|
|
1663
|
+
return prevProps.id !== props.id || prevProps.className !== props.className;
|
|
1665
1664
|
}
|
|
1666
1665
|
|
|
1667
1666
|
var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
@@ -1748,9 +1747,6 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1748
1747
|
_this.internalPlayer.getIframe().then(function (iframe) {
|
|
1749
1748
|
if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');
|
|
1750
1749
|
if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');
|
|
1751
|
-
if (_this.props.opts && _this.props.opts.width) iframe.setAttribute('width', _this.props.opts.width);else iframe.removeAttribute('width');
|
|
1752
|
-
if (_this.props.opts && _this.props.opts.height) iframe.setAttribute('height', _this.props.opts.height);else iframe.removeAttribute('height');
|
|
1753
|
-
if (typeof _this.props.title === 'string') iframe.setAttribute('title', _this.props.title);else iframe.setAttribute('title', 'YouTube video player');
|
|
1754
1750
|
});
|
|
1755
1751
|
});
|
|
1756
1752
|
|
|
@@ -1844,19 +1840,18 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1844
1840
|
}, {
|
|
1845
1841
|
key: "render",
|
|
1846
1842
|
value: function render() {
|
|
1847
|
-
return /*#__PURE__*/
|
|
1843
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1848
1844
|
className: this.props.containerClassName
|
|
1849
|
-
}, /*#__PURE__*/
|
|
1845
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1850
1846
|
id: this.props.id,
|
|
1851
1847
|
className: this.props.className,
|
|
1852
|
-
ref: this.refContainer
|
|
1853
|
-
loading: this.props.loading
|
|
1848
|
+
ref: this.refContainer
|
|
1854
1849
|
}));
|
|
1855
1850
|
}
|
|
1856
1851
|
}]);
|
|
1857
1852
|
|
|
1858
1853
|
return YouTube;
|
|
1859
|
-
}(
|
|
1854
|
+
}(React.Component);
|
|
1860
1855
|
|
|
1861
1856
|
_defineProperty(YouTube, "PlayerState", {
|
|
1862
1857
|
UNSTARTED: -1,
|
|
@@ -1875,10 +1870,6 @@ YouTube.propTypes = {
|
|
|
1875
1870
|
className: PropTypes.string,
|
|
1876
1871
|
// custom class name for player container element
|
|
1877
1872
|
containerClassName: PropTypes.string,
|
|
1878
|
-
// custom title for the iFrame, see https://www.w3.org/TR/WCAG20-TECHS/H64.html
|
|
1879
|
-
title: PropTypes.string,
|
|
1880
|
-
// custom loading for player element
|
|
1881
|
-
loading: PropTypes.oneOf(['lazy', 'eager', 'auto']),
|
|
1882
1873
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1883
1874
|
opts: PropTypes.objectOf(PropTypes.any),
|
|
1884
1875
|
// event subscriptions
|
|
@@ -1895,7 +1886,6 @@ YouTube.defaultProps = {
|
|
|
1895
1886
|
videoId: null,
|
|
1896
1887
|
id: null,
|
|
1897
1888
|
className: null,
|
|
1898
|
-
loading: null,
|
|
1899
1889
|
opts: {},
|
|
1900
1890
|
containerClassName: '',
|
|
1901
1891
|
onReady: function onReady() {},
|
|
@@ -1905,8 +1895,7 @@ YouTube.defaultProps = {
|
|
|
1905
1895
|
onEnd: function onEnd() {},
|
|
1906
1896
|
onStateChange: function onStateChange() {},
|
|
1907
1897
|
onPlaybackRateChange: function onPlaybackRateChange() {},
|
|
1908
|
-
onPlaybackQualityChange: function onPlaybackQualityChange() {}
|
|
1909
|
-
title: null
|
|
1898
|
+
onPlaybackQualityChange: function onPlaybackQualityChange() {}
|
|
1910
1899
|
};
|
|
1911
1900
|
|
|
1912
1901
|
var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
@@ -1947,7 +1936,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1947
1936
|
var queue = Math.floor(duration / 10);
|
|
1948
1937
|
var segment = Math.floor(current / queue);
|
|
1949
1938
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
1950
|
-
Segment.report_video_event('Video Ready',
|
|
1939
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
1951
1940
|
};
|
|
1952
1941
|
|
|
1953
1942
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1958,7 +1947,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1958
1947
|
|
|
1959
1948
|
if (!queueProgress.includes(segment)) {
|
|
1960
1949
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
1961
|
-
Segment.report_video_event('Video Segment',
|
|
1950
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
1962
1951
|
queueProgress.push(segment);
|
|
1963
1952
|
}
|
|
1964
1953
|
};
|
|
@@ -1972,7 +1961,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1972
1961
|
var segment = Math.floor(current / queue);
|
|
1973
1962
|
|
|
1974
1963
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
1975
|
-
Segment.report_video_event('Video Play',
|
|
1964
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
1976
1965
|
|
|
1977
1966
|
if (!playReported) {
|
|
1978
1967
|
setPlayReported(true);
|
|
@@ -1992,7 +1981,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1992
1981
|
var segment = Math.floor(current / queue);
|
|
1993
1982
|
|
|
1994
1983
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
1995
|
-
Segment.report_video_event('Video End',
|
|
1984
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
1996
1985
|
setEndReported(true);
|
|
1997
1986
|
clearInterval(intervalID);
|
|
1998
1987
|
}
|
|
@@ -2006,14 +1995,14 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2006
1995
|
var segment = Math.floor(current / queue);
|
|
2007
1996
|
|
|
2008
1997
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
2009
|
-
Segment.report_video_event('Video Pause',
|
|
1998
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
2010
1999
|
};
|
|
2011
2000
|
|
|
2012
|
-
return
|
|
2001
|
+
return React.createElement(
|
|
2013
2002
|
'div',
|
|
2014
2003
|
{ id: 'fluid-video-container' },
|
|
2015
|
-
|
|
2016
|
-
|
|
2004
|
+
React.createElement(YouTube, { className: 'fluid-iframe', loading: 'lazy', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2005
|
+
React.createElement(
|
|
2017
2006
|
'style',
|
|
2018
2007
|
{ jsx: 'true' },
|
|
2019
2008
|
'\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 '
|
|
@@ -2026,20 +2015,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2026
2015
|
content = _ref.content,
|
|
2027
2016
|
getSerializers = _ref.getSerializers;
|
|
2028
2017
|
|
|
2029
|
-
return
|
|
2018
|
+
return React.createElement(
|
|
2030
2019
|
'article',
|
|
2031
2020
|
{ className: 'sidebar' },
|
|
2032
|
-
|
|
2021
|
+
React.createElement(
|
|
2033
2022
|
'div',
|
|
2034
2023
|
null,
|
|
2035
|
-
|
|
2024
|
+
React.createElement(
|
|
2036
2025
|
'h3',
|
|
2037
2026
|
null,
|
|
2038
2027
|
caption
|
|
2039
2028
|
),
|
|
2040
|
-
|
|
2029
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2041
2030
|
),
|
|
2042
|
-
|
|
2031
|
+
React.createElement(
|
|
2043
2032
|
'style',
|
|
2044
2033
|
{ jsx: 'true' },
|
|
2045
2034
|
'\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 '
|
|
@@ -2050,18 +2039,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2050
2039
|
var TableShow = function TableShow(_ref) {
|
|
2051
2040
|
var rows = _ref.rows;
|
|
2052
2041
|
|
|
2053
|
-
return
|
|
2042
|
+
return React.createElement(
|
|
2054
2043
|
Table,
|
|
2055
2044
|
{ bordered: true, hover: true, responsive: true },
|
|
2056
|
-
|
|
2045
|
+
React.createElement(
|
|
2057
2046
|
'tbody',
|
|
2058
2047
|
null,
|
|
2059
2048
|
rows && rows.map(function (row) {
|
|
2060
|
-
return
|
|
2049
|
+
return React.createElement(
|
|
2061
2050
|
'tr',
|
|
2062
2051
|
{ key: row._key },
|
|
2063
2052
|
row.cells && row.cells.map(function (cell, index) {
|
|
2064
|
-
return cell &&
|
|
2053
|
+
return cell && React.createElement(
|
|
2065
2054
|
'td',
|
|
2066
2055
|
{ key: index },
|
|
2067
2056
|
cell
|
|
@@ -2159,25 +2148,25 @@ var Media = function Media(_ref) {
|
|
|
2159
2148
|
margin: imageMargin
|
|
2160
2149
|
};
|
|
2161
2150
|
|
|
2162
|
-
return
|
|
2151
|
+
return React.createElement(
|
|
2163
2152
|
Figure$1,
|
|
2164
2153
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2165
|
-
|
|
2154
|
+
React.createElement(
|
|
2166
2155
|
'a',
|
|
2167
2156
|
{ href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2168
|
-
|
|
2157
|
+
React.createElement(
|
|
2169
2158
|
LazyLoad,
|
|
2170
2159
|
{ once: true },
|
|
2171
|
-
|
|
2160
|
+
React.createElement(
|
|
2172
2161
|
'picture',
|
|
2173
2162
|
null,
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2163
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2164
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2165
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2166
|
+
React.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2178
2167
|
)
|
|
2179
2168
|
),
|
|
2180
|
-
caption &&
|
|
2169
|
+
caption && React.createElement(
|
|
2181
2170
|
Figure$1.Caption,
|
|
2182
2171
|
{ className: 'media-caption' },
|
|
2183
2172
|
caption
|
|
@@ -2185,7 +2174,7 @@ var Media = function Media(_ref) {
|
|
|
2185
2174
|
)
|
|
2186
2175
|
);
|
|
2187
2176
|
} else if (caption && caption !== '') {
|
|
2188
|
-
return
|
|
2177
|
+
return React.createElement(
|
|
2189
2178
|
'a',
|
|
2190
2179
|
_extends({}, uploadDoc.downloadMedia ? {
|
|
2191
2180
|
href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2205,10 +2194,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2205
2194
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2206
2195
|
|
|
2207
2196
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2208
|
-
return
|
|
2197
|
+
return React.createElement(
|
|
2209
2198
|
'div',
|
|
2210
2199
|
{ className: 'd-block text-center mb-3' },
|
|
2211
|
-
|
|
2200
|
+
React.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2212
2201
|
);
|
|
2213
2202
|
};
|
|
2214
2203
|
|
|
@@ -2222,13 +2211,13 @@ _export(_export.S, 'Object', {
|
|
|
2222
2211
|
}
|
|
2223
2212
|
});
|
|
2224
2213
|
|
|
2225
|
-
var values
|
|
2214
|
+
var values = _core.Object.values;
|
|
2226
2215
|
|
|
2227
|
-
var values = createCommonjsModule(function (module) {
|
|
2228
|
-
module.exports = { "default": values
|
|
2216
|
+
var values$1 = createCommonjsModule(function (module) {
|
|
2217
|
+
module.exports = { "default": values, __esModule: true };
|
|
2229
2218
|
});
|
|
2230
2219
|
|
|
2231
|
-
var _Object$values = unwrapExports(values);
|
|
2220
|
+
var _Object$values = unwrapExports(values$1);
|
|
2232
2221
|
|
|
2233
2222
|
var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
2234
2223
|
var question = _ref.question,
|
|
@@ -2236,7 +2225,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2236
2225
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2237
2226
|
|
|
2238
2227
|
var choiceArray = choices.map(function (choice) {
|
|
2239
|
-
return
|
|
2228
|
+
return React.createElement(Form.Check, {
|
|
2240
2229
|
inline: true,
|
|
2241
2230
|
label: choice.choiceText,
|
|
2242
2231
|
value: choice.choiceText,
|
|
@@ -2246,19 +2235,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2246
2235
|
onClick: handlePollAnswer
|
|
2247
2236
|
});
|
|
2248
2237
|
});
|
|
2249
|
-
return
|
|
2238
|
+
return React.createElement(
|
|
2250
2239
|
'div',
|
|
2251
2240
|
{
|
|
2252
2241
|
key: 'inline-radio',
|
|
2253
2242
|
className: 'radioContainer' },
|
|
2254
|
-
|
|
2243
|
+
React.createElement(
|
|
2255
2244
|
'h2',
|
|
2256
2245
|
{
|
|
2257
2246
|
className: 'radioLabelText'
|
|
2258
2247
|
},
|
|
2259
2248
|
question
|
|
2260
2249
|
),
|
|
2261
|
-
|
|
2250
|
+
React.createElement(
|
|
2262
2251
|
'div',
|
|
2263
2252
|
{
|
|
2264
2253
|
className: 'multiChoiceDiv'
|
|
@@ -2273,19 +2262,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2273
2262
|
textAnswer = _ref.textAnswer,
|
|
2274
2263
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2275
2264
|
|
|
2276
|
-
return
|
|
2265
|
+
return React.createElement(
|
|
2277
2266
|
'div',
|
|
2278
2267
|
{
|
|
2279
2268
|
className: 'textInputDiv'
|
|
2280
2269
|
},
|
|
2281
|
-
|
|
2270
|
+
React.createElement(
|
|
2282
2271
|
'h2',
|
|
2283
2272
|
{
|
|
2284
2273
|
className: 'textInputQuestion'
|
|
2285
2274
|
},
|
|
2286
2275
|
textInputQuestion
|
|
2287
2276
|
),
|
|
2288
|
-
|
|
2277
|
+
React.createElement(Form.Control, {
|
|
2289
2278
|
type: 'text',
|
|
2290
2279
|
className: 'textInput',
|
|
2291
2280
|
value: textAnswer,
|
|
@@ -2413,46 +2402,46 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2413
2402
|
pollItems.forEach(function (item, ind) {
|
|
2414
2403
|
if (!item.atStart) {
|
|
2415
2404
|
if (item.format === 'multiChoice') {
|
|
2416
|
-
pollArray.push(
|
|
2405
|
+
pollArray.push(React.createElement(PopupMultiChoice, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2417
2406
|
}
|
|
2418
2407
|
if (item.format === 'textInput') {
|
|
2419
|
-
pollArray.push(
|
|
2408
|
+
pollArray.push(React.createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2420
2409
|
}
|
|
2421
2410
|
} else {
|
|
2422
2411
|
if (item.pollItems[0] && item.pollItems[0].format === 'multiChoice') {
|
|
2423
|
-
pollArray.push(
|
|
2412
|
+
pollArray.push(React.createElement(PopupMultiChoice, { question: item.pollItems[0].question, choices: item.pollItems[0].choices, handlePollAnswer: handleMultiItemPollAnswers, key: ind }));
|
|
2424
2413
|
}
|
|
2425
2414
|
if (item.pollItems[0] && item.pollItems[0].format === 'textInput') {
|
|
2426
|
-
pollArray.push(
|
|
2415
|
+
pollArray.push(React.createElement(PopupPollTextInput, { textInputQuestion: item.pollItems[0].question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2427
2416
|
}
|
|
2428
2417
|
}
|
|
2429
2418
|
});
|
|
2430
2419
|
|
|
2431
|
-
return
|
|
2420
|
+
return React.createElement(
|
|
2432
2421
|
'div',
|
|
2433
2422
|
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2434
|
-
|
|
2423
|
+
React.createElement(
|
|
2435
2424
|
Modal.Dialog,
|
|
2436
2425
|
{ className: pollItems.length > 1 ? 'modal-dialog-overflow' : null, scrollable: pollItems.length > 1 },
|
|
2437
|
-
props.closeable &&
|
|
2426
|
+
props.closeable && React.createElement(Modal.Header, { closeButton: true, onClick: function onClick() {
|
|
2438
2427
|
return restartPlayer();
|
|
2439
2428
|
} }),
|
|
2440
|
-
|
|
2429
|
+
React.createElement(
|
|
2441
2430
|
Modal.Body,
|
|
2442
2431
|
null,
|
|
2443
|
-
|
|
2432
|
+
React.createElement(
|
|
2444
2433
|
Form,
|
|
2445
2434
|
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2446
2435
|
pollArray,
|
|
2447
|
-
textInputRender && !multiChoiceRender ?
|
|
2436
|
+
textInputRender && !multiChoiceRender ? React.createElement(
|
|
2448
2437
|
Button,
|
|
2449
2438
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2450
2439
|
'Submit'
|
|
2451
|
-
) : !textInputRender && multiChoiceRender ?
|
|
2440
|
+
) : !textInputRender && multiChoiceRender ? React.createElement(
|
|
2452
2441
|
Button,
|
|
2453
2442
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2454
2443
|
'Submit'
|
|
2455
|
-
) :
|
|
2444
|
+
) : React.createElement(
|
|
2456
2445
|
Button,
|
|
2457
2446
|
{ className: 'submitButton', type: 'submit', variant: 'success' },
|
|
2458
2447
|
'Submit'
|
|
@@ -2533,7 +2522,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2533
2522
|
var queue = Math.floor(duration / 10);
|
|
2534
2523
|
var segment = Math.floor(current / queue);
|
|
2535
2524
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2536
|
-
Segment.report_video_event('Video Ready',
|
|
2525
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
|
|
2537
2526
|
};
|
|
2538
2527
|
|
|
2539
2528
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2543,7 +2532,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2543
2532
|
var segment = Math.floor(current / queue);
|
|
2544
2533
|
if (!queueProgress.includes(segment)) {
|
|
2545
2534
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2546
|
-
Segment.report_video_event('Video Segment',
|
|
2535
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
|
|
2547
2536
|
queueProgress.push(segment);
|
|
2548
2537
|
}
|
|
2549
2538
|
};
|
|
@@ -2556,7 +2545,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2556
2545
|
var queue = Math.floor(duration / 10);
|
|
2557
2546
|
var segment = Math.floor(current / queue);
|
|
2558
2547
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2559
|
-
Segment.report_video_event('Video Play',
|
|
2548
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
|
|
2560
2549
|
if (!playReported) {
|
|
2561
2550
|
event.persist();
|
|
2562
2551
|
setPlayReported(true);
|
|
@@ -2599,7 +2588,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2599
2588
|
var segment = Math.floor(current / queue);
|
|
2600
2589
|
clearInterval(intId);
|
|
2601
2590
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2602
|
-
Segment.report_video_event('Video End',
|
|
2591
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
|
|
2603
2592
|
setEndReported(true);
|
|
2604
2593
|
clearInterval(intervalID);
|
|
2605
2594
|
}
|
|
@@ -2613,13 +2602,13 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2613
2602
|
var segment = Math.floor(current / queue);
|
|
2614
2603
|
clearInterval(intId);
|
|
2615
2604
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2616
|
-
Segment.report_video_event('Video Pause',
|
|
2605
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
|
|
2617
2606
|
};
|
|
2618
2607
|
|
|
2619
|
-
return
|
|
2608
|
+
return React.createElement(
|
|
2620
2609
|
'div',
|
|
2621
2610
|
null,
|
|
2622
|
-
isPollingTime ?
|
|
2611
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2623
2612
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2624
2613
|
, { pollItems: pollItems
|
|
2625
2614
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2633,7 +2622,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2633
2622
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2634
2623
|
, multiChoiceRender: multiChoiceRender
|
|
2635
2624
|
}) : null,
|
|
2636
|
-
vidLoaded &&
|
|
2625
|
+
vidLoaded && React.createElement(
|
|
2637
2626
|
'video',
|
|
2638
2627
|
{
|
|
2639
2628
|
poster: thumbnail || '',
|
|
@@ -2651,7 +2640,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2651
2640
|
onPlay: function onPlay(e) {
|
|
2652
2641
|
return handleOnPlay(e);
|
|
2653
2642
|
} },
|
|
2654
|
-
|
|
2643
|
+
React.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2655
2644
|
'Your browser does not support the video tag.'
|
|
2656
2645
|
)
|
|
2657
2646
|
);
|
|
@@ -2816,7 +2805,7 @@ var Video = function Video(_ref) {
|
|
|
2816
2805
|
}
|
|
2817
2806
|
|
|
2818
2807
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2819
|
-
Segment.report_video_event('Video Ready',
|
|
2808
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2820
2809
|
});
|
|
2821
2810
|
|
|
2822
2811
|
player.on('play', function (evt) {
|
|
@@ -2846,7 +2835,7 @@ var Video = function Video(_ref) {
|
|
|
2846
2835
|
}, 1000);
|
|
2847
2836
|
}
|
|
2848
2837
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2849
|
-
Segment.report_video_event('Video Play',
|
|
2838
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2850
2839
|
});
|
|
2851
2840
|
|
|
2852
2841
|
// pause
|
|
@@ -2857,7 +2846,7 @@ var Video = function Video(_ref) {
|
|
|
2857
2846
|
var segment = Math.floor(current / queue);
|
|
2858
2847
|
clearInterval(intId);
|
|
2859
2848
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2860
|
-
Segment.report_video_event('Video Pause',
|
|
2849
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2861
2850
|
});
|
|
2862
2851
|
|
|
2863
2852
|
// end
|
|
@@ -2868,7 +2857,7 @@ var Video = function Video(_ref) {
|
|
|
2868
2857
|
var segment = Math.floor(current / queue);
|
|
2869
2858
|
clearInterval(intId);
|
|
2870
2859
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2871
|
-
Segment.report_video_event('Video End',
|
|
2860
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2872
2861
|
// This is for old series format
|
|
2873
2862
|
autoplayNextVideo(evt);
|
|
2874
2863
|
if (nextVideo) {
|
|
@@ -2884,7 +2873,7 @@ var Video = function Video(_ref) {
|
|
|
2884
2873
|
var segment = Math.floor(current / queue);
|
|
2885
2874
|
if (!queueProgress.includes(segment)) {
|
|
2886
2875
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2887
|
-
Segment.report_video_event('Video Segment',
|
|
2876
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2888
2877
|
queueProgress.push(segment);
|
|
2889
2878
|
}
|
|
2890
2879
|
});
|
|
@@ -2896,7 +2885,7 @@ var Video = function Video(_ref) {
|
|
|
2896
2885
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2897
2886
|
|
|
2898
2887
|
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2899
|
-
Segment.report_ad_event('Video Ad Started',
|
|
2888
|
+
Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2900
2889
|
});
|
|
2901
2890
|
|
|
2902
2891
|
// ad ended
|
|
@@ -2905,16 +2894,16 @@ var Video = function Video(_ref) {
|
|
|
2905
2894
|
// const id = player.ads.ad.id
|
|
2906
2895
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2907
2896
|
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2908
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
2897
|
+
Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2909
2898
|
});
|
|
2910
2899
|
};
|
|
2911
2900
|
|
|
2912
2901
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2913
2902
|
if (videoID) {
|
|
2914
|
-
return
|
|
2903
|
+
return React.createElement(
|
|
2915
2904
|
'div',
|
|
2916
2905
|
null,
|
|
2917
|
-
isPollingTime ?
|
|
2906
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2918
2907
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2919
2908
|
, { pollItems: pollItems
|
|
2920
2909
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2930,7 +2919,7 @@ var Video = function Video(_ref) {
|
|
|
2930
2919
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2931
2920
|
, closeable: node.polls && node.polls[0] ? node.polls[0].closeable : null
|
|
2932
2921
|
}) : null,
|
|
2933
|
-
|
|
2922
|
+
React.createElement(ReactPlayerLoader, {
|
|
2934
2923
|
onSuccess: onVideoSuccess,
|
|
2935
2924
|
onFailure: onVideoFailure,
|
|
2936
2925
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2938,17 +2927,17 @@ var Video = function Video(_ref) {
|
|
|
2938
2927
|
playerId: accountIDs.brightcove.playerId,
|
|
2939
2928
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2940
2929
|
}),
|
|
2941
|
-
|
|
2930
|
+
React.createElement(
|
|
2942
2931
|
'style',
|
|
2943
2932
|
{ jsx: 'true' },
|
|
2944
2933
|
'\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
2934
|
)
|
|
2946
2935
|
);
|
|
2947
2936
|
} else if (playlistID) {
|
|
2948
|
-
return
|
|
2937
|
+
return React.createElement(
|
|
2949
2938
|
'div',
|
|
2950
2939
|
null,
|
|
2951
|
-
isPollingTime ?
|
|
2940
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2952
2941
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2953
2942
|
, { pollItems: pollItems
|
|
2954
2943
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2964,7 +2953,7 @@ var Video = function Video(_ref) {
|
|
|
2964
2953
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2965
2954
|
, closeable: node.polls && node.polls[0] ? node.polls[0].closeable : null
|
|
2966
2955
|
}) : null,
|
|
2967
|
-
|
|
2956
|
+
React.createElement(ReactPlayerLoader, {
|
|
2968
2957
|
accountId: accountIDs.brightcove.accountId,
|
|
2969
2958
|
playlistId: playlistID,
|
|
2970
2959
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2972,18 +2961,18 @@ var Video = function Video(_ref) {
|
|
|
2972
2961
|
onFailure: onVideoFailure,
|
|
2973
2962
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2974
2963
|
}),
|
|
2975
|
-
|
|
2964
|
+
React.createElement(
|
|
2976
2965
|
'style',
|
|
2977
2966
|
{ jsx: 'true' },
|
|
2978
2967
|
'\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 '
|
|
2979
2968
|
)
|
|
2980
2969
|
);
|
|
2981
2970
|
} else if (experienceID) {
|
|
2982
|
-
return
|
|
2971
|
+
return React.createElement(
|
|
2983
2972
|
'div',
|
|
2984
2973
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2985
|
-
|
|
2986
|
-
isPollingTime ?
|
|
2974
|
+
React.createElement('div', { 'data-experience': experienceID }),
|
|
2975
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2987
2976
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2988
2977
|
, { pollItems: pollItems
|
|
2989
2978
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -3006,10 +2995,10 @@ var Video = function Video(_ref) {
|
|
|
3006
2995
|
}
|
|
3007
2996
|
|
|
3008
2997
|
if (source === 'mp4') {
|
|
3009
|
-
return
|
|
2998
|
+
return React.createElement(
|
|
3010
2999
|
'div',
|
|
3011
3000
|
null,
|
|
3012
|
-
|
|
3001
|
+
React.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
3013
3002
|
);
|
|
3014
3003
|
}
|
|
3015
3004
|
|
|
@@ -3220,9 +3209,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3220
3209
|
});
|
|
3221
3210
|
|
|
3222
3211
|
unwrapExports(props);
|
|
3223
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
3224
|
-
props.defaultProps;
|
|
3225
|
-
props.propTypes;
|
|
3212
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
3213
|
+
var props_2 = props.defaultProps;
|
|
3214
|
+
var props_3 = props.propTypes;
|
|
3226
3215
|
|
|
3227
3216
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3228
3217
|
return isNonNullObject(value)
|
|
@@ -3614,7 +3603,7 @@ function isEqual(a, b) {
|
|
|
3614
3603
|
return true;
|
|
3615
3604
|
}
|
|
3616
3605
|
|
|
3617
|
-
if ((0,
|
|
3606
|
+
if ((0, React.isValidElement)(a) && (0, React.isValidElement)(b)) {
|
|
3618
3607
|
return true;
|
|
3619
3608
|
}
|
|
3620
3609
|
|
|
@@ -3657,17 +3646,17 @@ function isMediaStream(url) {
|
|
|
3657
3646
|
});
|
|
3658
3647
|
|
|
3659
3648
|
unwrapExports(utils);
|
|
3660
|
-
utils.parseStartTime;
|
|
3661
|
-
utils.parseEndTime;
|
|
3662
|
-
utils.randomString;
|
|
3663
|
-
utils.queryString;
|
|
3664
|
-
utils.getSDK;
|
|
3665
|
-
utils.getConfig;
|
|
3666
|
-
utils.omit;
|
|
3667
|
-
utils.callPlayer;
|
|
3668
|
-
utils.isObject;
|
|
3669
|
-
utils.isEqual;
|
|
3670
|
-
utils.isMediaStream;
|
|
3649
|
+
var utils_1 = utils.parseStartTime;
|
|
3650
|
+
var utils_2 = utils.parseEndTime;
|
|
3651
|
+
var utils_3 = utils.randomString;
|
|
3652
|
+
var utils_4 = utils.queryString;
|
|
3653
|
+
var utils_5 = utils.getSDK;
|
|
3654
|
+
var utils_6 = utils.getConfig;
|
|
3655
|
+
var utils_7 = utils.omit;
|
|
3656
|
+
var utils_8 = utils.callPlayer;
|
|
3657
|
+
var utils_9 = utils.isObject;
|
|
3658
|
+
var utils_10 = utils.isEqual;
|
|
3659
|
+
var utils_11 = utils.isMediaStream;
|
|
3671
3660
|
|
|
3672
3661
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3673
3662
|
|
|
@@ -3676,7 +3665,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3676
3665
|
});
|
|
3677
3666
|
exports["default"] = void 0;
|
|
3678
3667
|
|
|
3679
|
-
var _react = _interopRequireWildcard(
|
|
3668
|
+
var _react = _interopRequireWildcard(React);
|
|
3680
3669
|
|
|
3681
3670
|
|
|
3682
3671
|
|
|
@@ -4086,7 +4075,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4086
4075
|
});
|
|
4087
4076
|
exports["default"] = createSinglePlayer;
|
|
4088
4077
|
|
|
4089
|
-
var _react = _interopRequireWildcard(
|
|
4078
|
+
var _react = _interopRequireWildcard(React);
|
|
4090
4079
|
|
|
4091
4080
|
|
|
4092
4081
|
|
|
@@ -4244,7 +4233,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4244
4233
|
});
|
|
4245
4234
|
exports["default"] = exports.YouTube = void 0;
|
|
4246
4235
|
|
|
4247
|
-
var _react = _interopRequireWildcard(
|
|
4236
|
+
var _react = _interopRequireWildcard(React);
|
|
4248
4237
|
|
|
4249
4238
|
|
|
4250
4239
|
|
|
@@ -4544,7 +4533,7 @@ exports["default"] = _default;
|
|
|
4544
4533
|
});
|
|
4545
4534
|
|
|
4546
4535
|
unwrapExports(YouTube_1);
|
|
4547
|
-
YouTube_1.YouTube;
|
|
4536
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4548
4537
|
|
|
4549
4538
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4550
4539
|
|
|
@@ -4553,7 +4542,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4553
4542
|
});
|
|
4554
4543
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4555
4544
|
|
|
4556
|
-
var _react = _interopRequireWildcard(
|
|
4545
|
+
var _react = _interopRequireWildcard(React);
|
|
4557
4546
|
|
|
4558
4547
|
|
|
4559
4548
|
|
|
@@ -4761,7 +4750,7 @@ exports["default"] = _default;
|
|
|
4761
4750
|
});
|
|
4762
4751
|
|
|
4763
4752
|
unwrapExports(SoundCloud_1);
|
|
4764
|
-
SoundCloud_1.SoundCloud;
|
|
4753
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4765
4754
|
|
|
4766
4755
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4767
4756
|
|
|
@@ -4770,7 +4759,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4770
4759
|
});
|
|
4771
4760
|
exports["default"] = exports.Vimeo = void 0;
|
|
4772
4761
|
|
|
4773
|
-
var _react = _interopRequireWildcard(
|
|
4762
|
+
var _react = _interopRequireWildcard(React);
|
|
4774
4763
|
|
|
4775
4764
|
|
|
4776
4765
|
|
|
@@ -5017,7 +5006,7 @@ exports["default"] = _default;
|
|
|
5017
5006
|
});
|
|
5018
5007
|
|
|
5019
5008
|
unwrapExports(Vimeo_1);
|
|
5020
|
-
Vimeo_1.Vimeo;
|
|
5009
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
5021
5010
|
|
|
5022
5011
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
5023
5012
|
|
|
@@ -5026,7 +5015,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5026
5015
|
});
|
|
5027
5016
|
exports["default"] = exports.Facebook = void 0;
|
|
5028
5017
|
|
|
5029
|
-
var _react = _interopRequireWildcard(
|
|
5018
|
+
var _react = _interopRequireWildcard(React);
|
|
5030
5019
|
|
|
5031
5020
|
|
|
5032
5021
|
|
|
@@ -5229,7 +5218,7 @@ exports["default"] = _default;
|
|
|
5229
5218
|
});
|
|
5230
5219
|
|
|
5231
5220
|
unwrapExports(Facebook_1);
|
|
5232
|
-
Facebook_1.Facebook;
|
|
5221
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
5233
5222
|
|
|
5234
5223
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
5235
5224
|
|
|
@@ -5238,7 +5227,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5238
5227
|
});
|
|
5239
5228
|
exports["default"] = exports.Streamable = void 0;
|
|
5240
5229
|
|
|
5241
|
-
var _react = _interopRequireWildcard(
|
|
5230
|
+
var _react = _interopRequireWildcard(React);
|
|
5242
5231
|
|
|
5243
5232
|
|
|
5244
5233
|
|
|
@@ -5440,7 +5429,7 @@ exports["default"] = _default;
|
|
|
5440
5429
|
});
|
|
5441
5430
|
|
|
5442
5431
|
unwrapExports(Streamable_1);
|
|
5443
|
-
Streamable_1.Streamable;
|
|
5432
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
5444
5433
|
|
|
5445
5434
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
5446
5435
|
|
|
@@ -5449,7 +5438,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5449
5438
|
});
|
|
5450
5439
|
exports["default"] = exports.Wistia = void 0;
|
|
5451
5440
|
|
|
5452
|
-
var _react = _interopRequireWildcard(
|
|
5441
|
+
var _react = _interopRequireWildcard(React);
|
|
5453
5442
|
|
|
5454
5443
|
|
|
5455
5444
|
|
|
@@ -5683,7 +5672,7 @@ exports["default"] = _default;
|
|
|
5683
5672
|
});
|
|
5684
5673
|
|
|
5685
5674
|
unwrapExports(Wistia_1);
|
|
5686
|
-
Wistia_1.Wistia;
|
|
5675
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5687
5676
|
|
|
5688
5677
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5689
5678
|
|
|
@@ -5692,7 +5681,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5692
5681
|
});
|
|
5693
5682
|
exports["default"] = exports.Twitch = void 0;
|
|
5694
5683
|
|
|
5695
|
-
var _react = _interopRequireWildcard(
|
|
5684
|
+
var _react = _interopRequireWildcard(React);
|
|
5696
5685
|
|
|
5697
5686
|
|
|
5698
5687
|
|
|
@@ -5899,7 +5888,7 @@ exports["default"] = _default;
|
|
|
5899
5888
|
});
|
|
5900
5889
|
|
|
5901
5890
|
unwrapExports(Twitch_1);
|
|
5902
|
-
Twitch_1.Twitch;
|
|
5891
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5903
5892
|
|
|
5904
5893
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5905
5894
|
|
|
@@ -5908,7 +5897,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5908
5897
|
});
|
|
5909
5898
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5910
5899
|
|
|
5911
|
-
var _react = _interopRequireWildcard(
|
|
5900
|
+
var _react = _interopRequireWildcard(React);
|
|
5912
5901
|
|
|
5913
5902
|
|
|
5914
5903
|
|
|
@@ -6135,7 +6124,7 @@ exports["default"] = _default;
|
|
|
6135
6124
|
});
|
|
6136
6125
|
|
|
6137
6126
|
unwrapExports(DailyMotion_1);
|
|
6138
|
-
DailyMotion_1.DailyMotion;
|
|
6127
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
6139
6128
|
|
|
6140
6129
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
6141
6130
|
|
|
@@ -6144,7 +6133,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6144
6133
|
});
|
|
6145
6134
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6146
6135
|
|
|
6147
|
-
var _react = _interopRequireWildcard(
|
|
6136
|
+
var _react = _interopRequireWildcard(React);
|
|
6148
6137
|
|
|
6149
6138
|
|
|
6150
6139
|
|
|
@@ -6334,7 +6323,7 @@ exports["default"] = _default;
|
|
|
6334
6323
|
});
|
|
6335
6324
|
|
|
6336
6325
|
unwrapExports(Mixcloud_1);
|
|
6337
|
-
Mixcloud_1.Mixcloud;
|
|
6326
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
6338
6327
|
|
|
6339
6328
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
6340
6329
|
|
|
@@ -6343,7 +6332,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6343
6332
|
});
|
|
6344
6333
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6345
6334
|
|
|
6346
|
-
var _react = _interopRequireWildcard(
|
|
6335
|
+
var _react = _interopRequireWildcard(React);
|
|
6347
6336
|
|
|
6348
6337
|
|
|
6349
6338
|
|
|
@@ -6868,7 +6857,7 @@ exports["default"] = _default;
|
|
|
6868
6857
|
});
|
|
6869
6858
|
|
|
6870
6859
|
unwrapExports(FilePlayer_1);
|
|
6871
|
-
FilePlayer_1.FilePlayer;
|
|
6860
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6872
6861
|
|
|
6873
6862
|
var players = createCommonjsModule(function (module, exports) {
|
|
6874
6863
|
|
|
@@ -6910,7 +6899,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6910
6899
|
});
|
|
6911
6900
|
exports["default"] = void 0;
|
|
6912
6901
|
|
|
6913
|
-
var _react = _interopRequireWildcard(
|
|
6902
|
+
var _react = _interopRequireWildcard(React);
|
|
6914
6903
|
|
|
6915
6904
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6916
6905
|
|
|
@@ -7089,7 +7078,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7089
7078
|
});
|
|
7090
7079
|
exports["default"] = renderPreloadPlayers;
|
|
7091
7080
|
|
|
7092
|
-
var _react = _interopRequireDefault(
|
|
7081
|
+
var _react = _interopRequireDefault(React);
|
|
7093
7082
|
|
|
7094
7083
|
var _Player = _interopRequireDefault(Player_1);
|
|
7095
7084
|
|
|
@@ -7228,7 +7217,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7228
7217
|
});
|
|
7229
7218
|
exports["default"] = void 0;
|
|
7230
7219
|
|
|
7231
|
-
var _react = _interopRequireWildcard(
|
|
7220
|
+
var _react = _interopRequireWildcard(React);
|
|
7232
7221
|
|
|
7233
7222
|
|
|
7234
7223
|
|
|
@@ -7573,10 +7562,10 @@ var Audio = function Audio(_ref) {
|
|
|
7573
7562
|
}));
|
|
7574
7563
|
};
|
|
7575
7564
|
if (node.uploadAudio) {
|
|
7576
|
-
return
|
|
7565
|
+
return React.createElement(
|
|
7577
7566
|
'div',
|
|
7578
7567
|
{ className: 'audio d-block text-center mb-3' },
|
|
7579
|
-
|
|
7568
|
+
React.createElement(
|
|
7580
7569
|
'audio',
|
|
7581
7570
|
{
|
|
7582
7571
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7585,14 +7574,14 @@ var Audio = function Audio(_ref) {
|
|
|
7585
7574
|
onPause: reportPause,
|
|
7586
7575
|
onEnded: reportEnd
|
|
7587
7576
|
},
|
|
7588
|
-
|
|
7589
|
-
|
|
7577
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7578
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7590
7579
|
'Your browser does not support the audio element.'
|
|
7591
7580
|
),
|
|
7592
|
-
node.caption &&
|
|
7581
|
+
node.caption && React.createElement(
|
|
7593
7582
|
'p',
|
|
7594
7583
|
{ style: { fontSize: '.9rem' } },
|
|
7595
|
-
|
|
7584
|
+
React.createElement(
|
|
7596
7585
|
'em',
|
|
7597
7586
|
null,
|
|
7598
7587
|
node.caption
|
|
@@ -7602,15 +7591,15 @@ var Audio = function Audio(_ref) {
|
|
|
7602
7591
|
} else if (node.audioFilePth) {
|
|
7603
7592
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7604
7593
|
if (hostname === 'embeds.audioboom.com') {
|
|
7605
|
-
return
|
|
7594
|
+
return React.createElement(
|
|
7606
7595
|
'div',
|
|
7607
7596
|
null,
|
|
7608
|
-
|
|
7597
|
+
React.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7609
7598
|
' ',
|
|
7610
|
-
node.caption &&
|
|
7599
|
+
node.caption && React.createElement(
|
|
7611
7600
|
'p',
|
|
7612
7601
|
{ style: { fontSize: '.9rem' } },
|
|
7613
|
-
|
|
7602
|
+
React.createElement(
|
|
7614
7603
|
'em',
|
|
7615
7604
|
null,
|
|
7616
7605
|
node.caption
|
|
@@ -7618,10 +7607,10 @@ var Audio = function Audio(_ref) {
|
|
|
7618
7607
|
)
|
|
7619
7608
|
);
|
|
7620
7609
|
}
|
|
7621
|
-
return
|
|
7610
|
+
return React.createElement(
|
|
7622
7611
|
'div',
|
|
7623
7612
|
{ className: 'audio' },
|
|
7624
|
-
|
|
7613
|
+
React.createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7625
7614
|
onPlay: reportPlay,
|
|
7626
7615
|
onPause: reportPause,
|
|
7627
7616
|
onEnded: reportEnd,
|
|
@@ -7629,10 +7618,10 @@ var Audio = function Audio(_ref) {
|
|
|
7629
7618
|
width: '100%',
|
|
7630
7619
|
height: '100%'
|
|
7631
7620
|
}),
|
|
7632
|
-
node.caption &&
|
|
7621
|
+
node.caption && React.createElement(
|
|
7633
7622
|
'p',
|
|
7634
7623
|
{ style: { fontSize: '.9rem' } },
|
|
7635
|
-
|
|
7624
|
+
React.createElement(
|
|
7636
7625
|
'em',
|
|
7637
7626
|
null,
|
|
7638
7627
|
node.caption
|
|
@@ -7651,34 +7640,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7651
7640
|
var showAuthorDetails = arguments[7];
|
|
7652
7641
|
|
|
7653
7642
|
if (authorName && authorURL) {
|
|
7654
|
-
return
|
|
7643
|
+
return React.createElement(
|
|
7655
7644
|
'span',
|
|
7656
7645
|
null,
|
|
7657
|
-
|
|
7646
|
+
React.createElement(
|
|
7658
7647
|
'a',
|
|
7659
7648
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7660
7649
|
authorName
|
|
7661
7650
|
),
|
|
7662
|
-
showAuthorDetails &&
|
|
7651
|
+
showAuthorDetails && React.createElement(
|
|
7663
7652
|
Card,
|
|
7664
7653
|
{ className: 'author-details-card-' + index },
|
|
7665
|
-
|
|
7654
|
+
React.createElement(
|
|
7666
7655
|
Row,
|
|
7667
7656
|
null,
|
|
7668
|
-
profileImage &&
|
|
7657
|
+
profileImage && React.createElement(
|
|
7669
7658
|
Col,
|
|
7670
7659
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7671
|
-
|
|
7660
|
+
React.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7672
7661
|
),
|
|
7673
|
-
|
|
7662
|
+
React.createElement(
|
|
7674
7663
|
Col,
|
|
7675
7664
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7676
|
-
|
|
7665
|
+
React.createElement(
|
|
7677
7666
|
'div',
|
|
7678
7667
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7679
7668
|
authorName
|
|
7680
7669
|
),
|
|
7681
|
-
|
|
7670
|
+
React.createElement(
|
|
7682
7671
|
'p',
|
|
7683
7672
|
null,
|
|
7684
7673
|
biography
|
|
@@ -7686,7 +7675,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7686
7675
|
)
|
|
7687
7676
|
)
|
|
7688
7677
|
),
|
|
7689
|
-
|
|
7678
|
+
React.createElement(
|
|
7690
7679
|
'style',
|
|
7691
7680
|
{ jsx: 'true' },
|
|
7692
7681
|
'\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 '
|
|
@@ -7694,7 +7683,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7694
7683
|
length !== index + 1 && ', '
|
|
7695
7684
|
);
|
|
7696
7685
|
} else if (authorName) {
|
|
7697
|
-
return
|
|
7686
|
+
return React.createElement(
|
|
7698
7687
|
'span',
|
|
7699
7688
|
{ key: index },
|
|
7700
7689
|
authorName,
|
|
@@ -7850,7 +7839,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7850
7839
|
var queue = Math.floor(duration / 10);
|
|
7851
7840
|
var segment = Math.floor(current / queue);
|
|
7852
7841
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
7853
|
-
Segment.report_video_event('Video Ready',
|
|
7842
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
7854
7843
|
//autoplay
|
|
7855
7844
|
|
|
7856
7845
|
//Small pause before starting next video
|
|
@@ -7871,7 +7860,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7871
7860
|
var segment = Math.floor(current / queue);
|
|
7872
7861
|
|
|
7873
7862
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
7874
|
-
Segment.report_video_event('Video End',
|
|
7863
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
7875
7864
|
setEndReported(true);
|
|
7876
7865
|
clearInterval(intervalID);
|
|
7877
7866
|
}
|
|
@@ -7922,7 +7911,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7922
7911
|
var segment = Math.floor(current / queue);
|
|
7923
7912
|
if (!queueProgress.includes(segment)) {
|
|
7924
7913
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
7925
|
-
Segment.report_video_event('Video Segment',
|
|
7914
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
7926
7915
|
queueProgress.push(segment);
|
|
7927
7916
|
}
|
|
7928
7917
|
};
|
|
@@ -7936,7 +7925,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7936
7925
|
var segment = Math.floor(current / queue);
|
|
7937
7926
|
|
|
7938
7927
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
7939
|
-
Segment.report_video_event('Video Play',
|
|
7928
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
7940
7929
|
|
|
7941
7930
|
if (!playReported) {
|
|
7942
7931
|
setPlayReported(true);
|
|
@@ -7955,7 +7944,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7955
7944
|
var segment = Math.floor(current / queue);
|
|
7956
7945
|
|
|
7957
7946
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
7958
|
-
Segment.report_video_event('Video Pause',
|
|
7947
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
7959
7948
|
};
|
|
7960
7949
|
|
|
7961
7950
|
// Youtube Options
|
|
@@ -7966,44 +7955,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7966
7955
|
}
|
|
7967
7956
|
};
|
|
7968
7957
|
|
|
7969
|
-
return
|
|
7958
|
+
return React.createElement(
|
|
7970
7959
|
'div',
|
|
7971
7960
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7972
|
-
|
|
7961
|
+
React.createElement(
|
|
7973
7962
|
'div',
|
|
7974
7963
|
{ className: 'mt-2 mb-5' },
|
|
7975
|
-
series &&
|
|
7964
|
+
series && React.createElement(
|
|
7976
7965
|
'div',
|
|
7977
7966
|
{ style: { fontSize: '0.9rem' } },
|
|
7978
7967
|
article.title,
|
|
7979
7968
|
' - Episode ',
|
|
7980
7969
|
series
|
|
7981
7970
|
),
|
|
7982
|
-
Videos[series - 1] &&
|
|
7971
|
+
Videos[series - 1] && React.createElement(
|
|
7983
7972
|
'h1',
|
|
7984
7973
|
{ className: 'mb-3' },
|
|
7985
7974
|
Videos[series - 1].title
|
|
7986
7975
|
),
|
|
7987
|
-
|
|
7976
|
+
React.createElement(
|
|
7988
7977
|
'div',
|
|
7989
7978
|
null,
|
|
7990
7979
|
moment(article.published).format('LL')
|
|
7991
7980
|
),
|
|
7992
|
-
|
|
7981
|
+
React.createElement(
|
|
7993
7982
|
'div',
|
|
7994
7983
|
{ className: 'mb-3' },
|
|
7995
7984
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7996
|
-
return
|
|
7985
|
+
return React.createElement(
|
|
7997
7986
|
'span',
|
|
7998
7987
|
{ key: index },
|
|
7999
7988
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
8000
7989
|
);
|
|
8001
7990
|
})
|
|
8002
7991
|
),
|
|
8003
|
-
|
|
7992
|
+
React.createElement(
|
|
8004
7993
|
'p',
|
|
8005
7994
|
null,
|
|
8006
|
-
|
|
7995
|
+
React.createElement(SocialShare, {
|
|
8007
7996
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
8008
7997
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
8009
7998
|
shareVia: meta.shareVia,
|
|
@@ -8018,20 +8007,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8018
8007
|
hideFacebook: meta.hideFBShare
|
|
8019
8008
|
})
|
|
8020
8009
|
),
|
|
8021
|
-
Videos[series - 1] && Videos[series - 1].intro &&
|
|
8010
|
+
Videos[series - 1] && Videos[series - 1].intro && React.createElement(
|
|
8022
8011
|
'p',
|
|
8023
8012
|
{ className: 'mb-3' },
|
|
8024
|
-
|
|
8013
|
+
React.createElement(
|
|
8025
8014
|
'em',
|
|
8026
8015
|
null,
|
|
8027
8016
|
Videos[series - 1].intro
|
|
8028
8017
|
)
|
|
8029
8018
|
)
|
|
8030
8019
|
),
|
|
8031
|
-
|
|
8020
|
+
React.createElement(
|
|
8032
8021
|
'div',
|
|
8033
8022
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
8034
|
-
vidUrl && vidType == 'youtube' &&
|
|
8023
|
+
vidUrl && vidType == 'youtube' && React.createElement(YouTube, {
|
|
8035
8024
|
className: 'fluid-iframe',
|
|
8036
8025
|
loading: 'lazy',
|
|
8037
8026
|
videoId: getYoutubeId(vidUrl),
|
|
@@ -8043,10 +8032,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8043
8032
|
return handleOnEnd(e);
|
|
8044
8033
|
}
|
|
8045
8034
|
}),
|
|
8046
|
-
vidUrl && vidType == 'mp4' &&
|
|
8047
|
-
vidUrl && vidType == 'brightcove' &&
|
|
8048
|
-
|
|
8049
|
-
series &&
|
|
8035
|
+
vidUrl && vidType == 'mp4' && React.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
8036
|
+
vidUrl && vidType == 'brightcove' && React.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
8037
|
+
React.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
8038
|
+
series && React.createElement(
|
|
8050
8039
|
'div',
|
|
8051
8040
|
{
|
|
8052
8041
|
className: 'vid-series',
|
|
@@ -8056,10 +8045,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8056
8045
|
maxHeight: '100%',
|
|
8057
8046
|
paddingBottom: '0'
|
|
8058
8047
|
} },
|
|
8059
|
-
|
|
8048
|
+
React.createElement(
|
|
8060
8049
|
'p',
|
|
8061
8050
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
8062
|
-
|
|
8051
|
+
React.createElement(
|
|
8063
8052
|
'b',
|
|
8064
8053
|
{ style: { fontSize: '1.25em' } },
|
|
8065
8054
|
'Now Playing:'
|
|
@@ -8067,16 +8056,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8067
8056
|
' ',
|
|
8068
8057
|
seriesData[series ? series - 1 : 0].title
|
|
8069
8058
|
),
|
|
8070
|
-
vidUrl &&
|
|
8059
|
+
vidUrl && React.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8071
8060
|
)
|
|
8072
8061
|
),
|
|
8073
|
-
|
|
8074
|
-
|
|
8062
|
+
React.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8063
|
+
React.createElement(
|
|
8075
8064
|
'div',
|
|
8076
8065
|
{ className: 'vid-text' },
|
|
8077
|
-
Videos[series - 1] && Videos[series - 1].text &&
|
|
8066
|
+
Videos[series - 1] && Videos[series - 1].text && React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
8078
8067
|
),
|
|
8079
|
-
|
|
8068
|
+
React.createElement(
|
|
8080
8069
|
'style',
|
|
8081
8070
|
{ jsx: 'true' },
|
|
8082
8071
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8084,14 +8073,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8084
8073
|
);
|
|
8085
8074
|
};
|
|
8086
8075
|
|
|
8087
|
-
var Poll
|
|
8088
|
-
var node = _ref.node
|
|
8089
|
-
_ref.client
|
|
8090
|
-
_ref.pageview
|
|
8091
|
-
_ref.videoAccountIDs
|
|
8092
|
-
|
|
8093
|
-
_ref.showVotes
|
|
8094
|
-
|
|
8076
|
+
var Poll = function Poll(_ref) {
|
|
8077
|
+
var node = _ref.node,
|
|
8078
|
+
client = _ref.client,
|
|
8079
|
+
pageview = _ref.pageview,
|
|
8080
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8081
|
+
onVote = _ref.onVote,
|
|
8082
|
+
_ref$showVotes = _ref.showVotes,
|
|
8083
|
+
getSerializers = _ref.getSerializers;
|
|
8095
8084
|
|
|
8096
8085
|
var _useState = useState(null),
|
|
8097
8086
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8129,67 +8118,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8129
8118
|
return acc;
|
|
8130
8119
|
}
|
|
8131
8120
|
}, 0);
|
|
8132
|
-
return
|
|
8133
|
-
|
|
8121
|
+
return React.createElement(
|
|
8122
|
+
React.Fragment,
|
|
8134
8123
|
null,
|
|
8135
|
-
question &&
|
|
8124
|
+
question && React.createElement(
|
|
8136
8125
|
'p',
|
|
8137
8126
|
{ className: 'font-weight-bold' },
|
|
8138
8127
|
question
|
|
8139
8128
|
),
|
|
8140
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8129
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
8141
8130
|
'form',
|
|
8142
8131
|
{ onSubmit: function onSubmit(e) {
|
|
8143
8132
|
return onSubmitPoll(e);
|
|
8144
8133
|
} },
|
|
8145
8134
|
choices && choices.map(function (choice) {
|
|
8146
|
-
return
|
|
8135
|
+
return React.createElement(
|
|
8147
8136
|
'div',
|
|
8148
8137
|
{ key: choice._key },
|
|
8149
|
-
|
|
8138
|
+
React.createElement(
|
|
8150
8139
|
'label',
|
|
8151
8140
|
{ className: 'pl-2' },
|
|
8152
|
-
|
|
8141
|
+
React.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8153
8142
|
return setSelectedChoice(e.target.value);
|
|
8154
8143
|
} }),
|
|
8155
8144
|
' ' + choice.choiceText
|
|
8156
8145
|
)
|
|
8157
8146
|
);
|
|
8158
8147
|
}),
|
|
8159
|
-
|
|
8148
|
+
React.createElement(
|
|
8160
8149
|
Button$1,
|
|
8161
8150
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8162
8151
|
'Vote'
|
|
8163
8152
|
)
|
|
8164
8153
|
),
|
|
8165
|
-
|
|
8154
|
+
React.createElement(
|
|
8166
8155
|
'div',
|
|
8167
8156
|
{ className: 'progress-container' },
|
|
8168
8157
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8169
8158
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8170
|
-
return
|
|
8159
|
+
return React.createElement(
|
|
8171
8160
|
'div',
|
|
8172
8161
|
{ key: choice._key, className: 'mb-3' },
|
|
8173
|
-
|
|
8162
|
+
React.createElement(
|
|
8174
8163
|
'div',
|
|
8175
8164
|
{ className: 'correct-answer' },
|
|
8176
|
-
|
|
8165
|
+
React.createElement(
|
|
8177
8166
|
'div',
|
|
8178
8167
|
null,
|
|
8179
8168
|
choice.choiceText
|
|
8180
8169
|
),
|
|
8181
|
-
choice.choiceAnswer === true &&
|
|
8170
|
+
choice.choiceAnswer === true && React.createElement(
|
|
8182
8171
|
'div',
|
|
8183
8172
|
null,
|
|
8184
|
-
|
|
8173
|
+
React.createElement(
|
|
8185
8174
|
'span',
|
|
8186
8175
|
{ style: { color: 'limegreen' } },
|
|
8187
8176
|
'Correct!'
|
|
8188
8177
|
)
|
|
8189
8178
|
)
|
|
8190
8179
|
),
|
|
8191
|
-
|
|
8192
|
-
|
|
8180
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
8181
|
+
React.createElement(
|
|
8193
8182
|
'span',
|
|
8194
8183
|
{ className: 'float-right' },
|
|
8195
8184
|
percentage,
|
|
@@ -8200,14 +8189,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8200
8189
|
);
|
|
8201
8190
|
})
|
|
8202
8191
|
),
|
|
8203
|
-
showAnswer &&
|
|
8192
|
+
showAnswer && React.createElement(
|
|
8204
8193
|
'h4',
|
|
8205
8194
|
{ className: 'text-center small p-3' },
|
|
8206
8195
|
'Total Votes: ',
|
|
8207
8196
|
choicesTotalCount
|
|
8208
8197
|
),
|
|
8209
|
-
showAnswer && response &&
|
|
8210
|
-
|
|
8198
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8199
|
+
React.createElement(
|
|
8211
8200
|
'style',
|
|
8212
8201
|
{ jsx: 'true' },
|
|
8213
8202
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8215,14 +8204,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8215
8204
|
);
|
|
8216
8205
|
};
|
|
8217
8206
|
|
|
8218
|
-
var Poll = function Poll(_ref) {
|
|
8219
|
-
var node = _ref.node
|
|
8220
|
-
_ref.client
|
|
8221
|
-
_ref.pageview
|
|
8222
|
-
_ref.videoAccountIDs
|
|
8223
|
-
|
|
8224
|
-
_ref.showVotes
|
|
8225
|
-
|
|
8207
|
+
var Poll$1 = function Poll(_ref) {
|
|
8208
|
+
var node = _ref.node,
|
|
8209
|
+
client = _ref.client,
|
|
8210
|
+
pageview = _ref.pageview,
|
|
8211
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8212
|
+
onVote = _ref.onVote,
|
|
8213
|
+
_ref$showVotes = _ref.showVotes,
|
|
8214
|
+
getSerializers = _ref.getSerializers;
|
|
8226
8215
|
|
|
8227
8216
|
var _useState = useState(null),
|
|
8228
8217
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8288,67 +8277,67 @@ var Poll = function Poll(_ref) {
|
|
|
8288
8277
|
return acc;
|
|
8289
8278
|
}
|
|
8290
8279
|
}, 0);
|
|
8291
|
-
return
|
|
8292
|
-
|
|
8280
|
+
return React.createElement(
|
|
8281
|
+
React.Fragment,
|
|
8293
8282
|
null,
|
|
8294
|
-
question &&
|
|
8283
|
+
question && React.createElement(
|
|
8295
8284
|
'p',
|
|
8296
8285
|
{ className: 'font-weight-bold' },
|
|
8297
8286
|
question
|
|
8298
8287
|
),
|
|
8299
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8288
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
8300
8289
|
'form',
|
|
8301
8290
|
{ onSubmit: function onSubmit(e) {
|
|
8302
8291
|
return onSubmitPoll(e);
|
|
8303
8292
|
} },
|
|
8304
8293
|
choices && choices.map(function (choice) {
|
|
8305
|
-
return
|
|
8294
|
+
return React.createElement(
|
|
8306
8295
|
'div',
|
|
8307
8296
|
{ key: choice._key },
|
|
8308
|
-
|
|
8297
|
+
React.createElement(
|
|
8309
8298
|
'label',
|
|
8310
8299
|
{ className: 'pl-2' },
|
|
8311
|
-
|
|
8300
|
+
React.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8312
8301
|
return setSelectedChoice(e.target.value);
|
|
8313
8302
|
} }),
|
|
8314
8303
|
' ' + choice.choiceText
|
|
8315
8304
|
)
|
|
8316
8305
|
);
|
|
8317
8306
|
}),
|
|
8318
|
-
|
|
8307
|
+
React.createElement(
|
|
8319
8308
|
Button$1,
|
|
8320
8309
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8321
8310
|
'Vote'
|
|
8322
8311
|
)
|
|
8323
8312
|
),
|
|
8324
|
-
|
|
8313
|
+
React.createElement(
|
|
8325
8314
|
'div',
|
|
8326
8315
|
{ className: 'progress-container' },
|
|
8327
8316
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8328
8317
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8329
|
-
return
|
|
8318
|
+
return React.createElement(
|
|
8330
8319
|
'div',
|
|
8331
8320
|
{ key: choice._key, className: 'mb-3' },
|
|
8332
|
-
|
|
8321
|
+
React.createElement(
|
|
8333
8322
|
'div',
|
|
8334
8323
|
{ className: 'correct-answer' },
|
|
8335
|
-
|
|
8324
|
+
React.createElement(
|
|
8336
8325
|
'div',
|
|
8337
8326
|
null,
|
|
8338
8327
|
choice.choiceText
|
|
8339
8328
|
),
|
|
8340
|
-
choice.choiceAnswer === true &&
|
|
8329
|
+
choice.choiceAnswer === true && React.createElement(
|
|
8341
8330
|
'div',
|
|
8342
8331
|
null,
|
|
8343
|
-
|
|
8332
|
+
React.createElement(
|
|
8344
8333
|
'span',
|
|
8345
8334
|
{ style: { color: 'limegreen' } },
|
|
8346
8335
|
'Correct!'
|
|
8347
8336
|
)
|
|
8348
8337
|
)
|
|
8349
8338
|
),
|
|
8350
|
-
|
|
8351
|
-
|
|
8339
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
8340
|
+
React.createElement(
|
|
8352
8341
|
'span',
|
|
8353
8342
|
{ className: 'float-right' },
|
|
8354
8343
|
percentage,
|
|
@@ -8359,14 +8348,14 @@ var Poll = function Poll(_ref) {
|
|
|
8359
8348
|
);
|
|
8360
8349
|
})
|
|
8361
8350
|
),
|
|
8362
|
-
showAnswer &&
|
|
8351
|
+
showAnswer && React.createElement(
|
|
8363
8352
|
'h4',
|
|
8364
8353
|
{ className: 'text-center small p-3' },
|
|
8365
8354
|
'Total Votes: ',
|
|
8366
8355
|
choicesTotalCount
|
|
8367
8356
|
),
|
|
8368
|
-
showAnswer && response &&
|
|
8369
|
-
|
|
8357
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8358
|
+
React.createElement(
|
|
8370
8359
|
'style',
|
|
8371
8360
|
{ jsx: 'true' },
|
|
8372
8361
|
'\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 '
|
|
@@ -8374,7 +8363,7 @@ var Poll = function Poll(_ref) {
|
|
|
8374
8363
|
);
|
|
8375
8364
|
};
|
|
8376
8365
|
|
|
8377
|
-
var numberOfPaginations =
|
|
8366
|
+
var numberOfPaginations = main_39 ? 4 : 10;
|
|
8378
8367
|
|
|
8379
8368
|
var Quiz = function Quiz(_ref) {
|
|
8380
8369
|
var quizzes = _ref.quizzes,
|
|
@@ -8510,20 +8499,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
8510
8499
|
};
|
|
8511
8500
|
|
|
8512
8501
|
var renderPagination = function renderPagination() {
|
|
8513
|
-
return
|
|
8502
|
+
return React.createElement(
|
|
8514
8503
|
Pagination,
|
|
8515
|
-
{ className: 'p-0 m-0', size:
|
|
8516
|
-
|
|
8504
|
+
{ className: 'p-0 m-0', size: main_39 && 'sm' },
|
|
8505
|
+
React.createElement(Pagination.First, { onClick: function onClick() {
|
|
8517
8506
|
return changePage('first');
|
|
8518
8507
|
}, disabled: currentPage === 1 }),
|
|
8519
|
-
|
|
8508
|
+
React.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8520
8509
|
return changePage('prev');
|
|
8521
8510
|
}, disabled: currentPage === 1 }),
|
|
8522
|
-
|
|
8511
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8523
8512
|
return renderNewPages('prev');
|
|
8524
8513
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8525
8514
|
pages.map(function (page) {
|
|
8526
|
-
return
|
|
8515
|
+
return React.createElement(
|
|
8527
8516
|
Pagination.Item,
|
|
8528
8517
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8529
8518
|
return changePage(page);
|
|
@@ -8531,13 +8520,13 @@ var Quiz = function Quiz(_ref) {
|
|
|
8531
8520
|
page
|
|
8532
8521
|
);
|
|
8533
8522
|
}),
|
|
8534
|
-
|
|
8523
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8535
8524
|
return renderNewPages('next');
|
|
8536
8525
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8537
|
-
|
|
8526
|
+
React.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8538
8527
|
return changePage('next');
|
|
8539
8528
|
}, disabled: currentPage === pageCount }),
|
|
8540
|
-
|
|
8529
|
+
React.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8541
8530
|
return changePage('last');
|
|
8542
8531
|
}, disabled: currentPage === pageCount })
|
|
8543
8532
|
);
|
|
@@ -8648,49 +8637,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8648
8637
|
}
|
|
8649
8638
|
};
|
|
8650
8639
|
|
|
8651
|
-
return
|
|
8652
|
-
|
|
8640
|
+
return React.createElement(
|
|
8641
|
+
React.Fragment,
|
|
8653
8642
|
null,
|
|
8654
|
-
quizzes[currentPage - 1] &&
|
|
8655
|
-
|
|
8643
|
+
quizzes[currentPage - 1] && React.createElement(
|
|
8644
|
+
React.Fragment,
|
|
8656
8645
|
null,
|
|
8657
|
-
|
|
8658
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
8646
|
+
React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8647
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React.createElement(
|
|
8659
8648
|
'form',
|
|
8660
8649
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8661
8650
|
return e.preventDefault();
|
|
8662
8651
|
} },
|
|
8663
8652
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8664
|
-
return
|
|
8653
|
+
return React.createElement(
|
|
8665
8654
|
'div',
|
|
8666
8655
|
{ key: answer._key },
|
|
8667
|
-
|
|
8656
|
+
React.createElement(
|
|
8668
8657
|
'label',
|
|
8669
8658
|
{ className: 'pl-2' },
|
|
8670
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
8659
|
+
quizzes[currentPage - 1].multiAnswer ? React.createElement('input', { type: 'checkbox', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }) : React.createElement('input', { type: 'radio', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }),
|
|
8671
8660
|
' ' + answer.answerText
|
|
8672
8661
|
)
|
|
8673
8662
|
);
|
|
8674
8663
|
})
|
|
8675
8664
|
)
|
|
8676
8665
|
),
|
|
8677
|
-
!showAnswer &&
|
|
8666
|
+
!showAnswer && React.createElement(
|
|
8678
8667
|
Button,
|
|
8679
8668
|
{ onClick: function onClick(e) {
|
|
8680
8669
|
return checkAnswers(e);
|
|
8681
8670
|
}, variant: 'info', block: true },
|
|
8682
8671
|
'Please click here for answer'
|
|
8683
8672
|
),
|
|
8684
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
8685
|
-
|
|
8673
|
+
quizzes[currentPage - 1] && showAnswer && React.createElement(
|
|
8674
|
+
React.Fragment,
|
|
8686
8675
|
null,
|
|
8687
|
-
quizzes[currentPage - 1].answer &&
|
|
8676
|
+
quizzes[currentPage - 1].answer && React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8688
8677
|
),
|
|
8689
|
-
|
|
8690
|
-
firstRender &&
|
|
8691
|
-
|
|
8678
|
+
React.createElement('br', null),
|
|
8679
|
+
firstRender && React.createElement(
|
|
8680
|
+
React.Fragment,
|
|
8692
8681
|
null,
|
|
8693
|
-
pageCount > 1 && currentPage &&
|
|
8682
|
+
pageCount > 1 && currentPage && React.createElement(
|
|
8694
8683
|
'div',
|
|
8695
8684
|
{ className: 'd-flex justify-content-center' },
|
|
8696
8685
|
renderPagination()
|
|
@@ -8702,19 +8691,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8702
8691
|
var Leads = function Leads(_ref) {
|
|
8703
8692
|
var url = _ref.url;
|
|
8704
8693
|
|
|
8705
|
-
return
|
|
8694
|
+
return React.createElement(
|
|
8706
8695
|
'div',
|
|
8707
8696
|
{ className: 'd-block text-center mb-3' },
|
|
8708
|
-
|
|
8697
|
+
React.createElement(
|
|
8709
8698
|
'style',
|
|
8710
8699
|
{ jsx: 'true' },
|
|
8711
8700
|
'\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 '
|
|
8712
8701
|
),
|
|
8713
|
-
url &&
|
|
8702
|
+
url && React.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8714
8703
|
);
|
|
8715
8704
|
};
|
|
8716
8705
|
|
|
8717
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8706
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8718
8707
|
var slides = _ref.node.slides,
|
|
8719
8708
|
client = _ref.client,
|
|
8720
8709
|
pageview = _ref.pageview,
|
|
@@ -8752,49 +8741,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8752
8741
|
if (pageview) pageview(href);
|
|
8753
8742
|
};
|
|
8754
8743
|
|
|
8755
|
-
return
|
|
8744
|
+
return React.createElement(
|
|
8756
8745
|
'div',
|
|
8757
8746
|
{ className: 'mt-3 mb-4' },
|
|
8758
|
-
|
|
8747
|
+
React.createElement(
|
|
8759
8748
|
Carousel,
|
|
8760
8749
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8761
8750
|
slides && slides.map(function (slide) {
|
|
8762
8751
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8763
|
-
return
|
|
8752
|
+
return React.createElement(
|
|
8764
8753
|
Carousel.Item,
|
|
8765
8754
|
{ key: slide._key },
|
|
8766
|
-
|
|
8755
|
+
React.createElement(
|
|
8767
8756
|
'a',
|
|
8768
8757
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8769
|
-
|
|
8758
|
+
React.createElement(
|
|
8770
8759
|
'div',
|
|
8771
8760
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8772
|
-
|
|
8761
|
+
React.createElement(
|
|
8773
8762
|
'picture',
|
|
8774
8763
|
null,
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8764
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8765
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8766
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8767
|
+
React.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8779
8768
|
)
|
|
8780
8769
|
)
|
|
8781
8770
|
),
|
|
8782
|
-
|
|
8771
|
+
React.createElement(
|
|
8783
8772
|
'div',
|
|
8784
8773
|
{ className: 'p-2' },
|
|
8785
|
-
slide.slideshowImage.caption &&
|
|
8774
|
+
slide.slideshowImage.caption && React.createElement(
|
|
8786
8775
|
'h3',
|
|
8787
8776
|
{ style: { padding: '0px' } },
|
|
8788
8777
|
slide.slideshowImage.caption
|
|
8789
8778
|
),
|
|
8790
|
-
slide.description &&
|
|
8779
|
+
slide.description && React.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8791
8780
|
)
|
|
8792
8781
|
);
|
|
8793
8782
|
}
|
|
8794
8783
|
return null;
|
|
8795
8784
|
})
|
|
8796
8785
|
),
|
|
8797
|
-
|
|
8786
|
+
React.createElement(
|
|
8798
8787
|
'style',
|
|
8799
8788
|
{ jsx: 'true' },
|
|
8800
8789
|
'\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 '
|
|
@@ -8813,10 +8802,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8813
8802
|
sizes = _props$node.sizes,
|
|
8814
8803
|
sizeMapping = _props$node.sizeMapping;
|
|
8815
8804
|
|
|
8816
|
-
return
|
|
8805
|
+
return React.createElement(
|
|
8817
8806
|
'div',
|
|
8818
8807
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8819
|
-
|
|
8808
|
+
React.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8820
8809
|
);
|
|
8821
8810
|
};
|
|
8822
8811
|
|
|
@@ -8827,15 +8816,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8827
8816
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8828
8817
|
|
|
8829
8818
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8830
|
-
return
|
|
8819
|
+
return React.createElement(
|
|
8831
8820
|
'section',
|
|
8832
8821
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8833
|
-
Caption &&
|
|
8822
|
+
Caption && React.createElement(
|
|
8834
8823
|
'h4',
|
|
8835
8824
|
{ className: 'formstack-caption' },
|
|
8836
8825
|
Caption
|
|
8837
8826
|
),
|
|
8838
|
-
|
|
8827
|
+
React.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8839
8828
|
);
|
|
8840
8829
|
};
|
|
8841
8830
|
|
|
@@ -8851,36 +8840,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8851
8840
|
}
|
|
8852
8841
|
});
|
|
8853
8842
|
if (medias && medias.length > 0) {
|
|
8854
|
-
return
|
|
8843
|
+
return React.createElement(
|
|
8855
8844
|
'div',
|
|
8856
8845
|
{ className: 'multi-media-container' },
|
|
8857
|
-
|
|
8846
|
+
React.createElement(
|
|
8858
8847
|
Row$1,
|
|
8859
8848
|
{ noGutters: true },
|
|
8860
8849
|
medias.map(function (media) {
|
|
8861
|
-
return
|
|
8850
|
+
return React.createElement(
|
|
8862
8851
|
Col$1,
|
|
8863
8852
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8864
|
-
|
|
8853
|
+
React.createElement(
|
|
8865
8854
|
'a',
|
|
8866
8855
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8867
8856
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8868
|
-
|
|
8857
|
+
React.createElement(
|
|
8869
8858
|
'div',
|
|
8870
8859
|
{ className: 'multi-media-image-container' },
|
|
8871
|
-
imageBox &&
|
|
8860
|
+
imageBox && React.createElement(
|
|
8872
8861
|
LazyLoad,
|
|
8873
8862
|
{ once: true },
|
|
8874
|
-
|
|
8863
|
+
React.createElement(
|
|
8875
8864
|
'picture',
|
|
8876
8865
|
null,
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8880
|
-
|
|
8866
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8867
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8868
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8869
|
+
React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8881
8870
|
)
|
|
8882
8871
|
),
|
|
8883
|
-
media.caption &&
|
|
8872
|
+
media.caption && React.createElement(
|
|
8884
8873
|
'span',
|
|
8885
8874
|
{ className: 'multi-media-caption' },
|
|
8886
8875
|
media.caption
|
|
@@ -8890,7 +8879,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8890
8879
|
);
|
|
8891
8880
|
})
|
|
8892
8881
|
),
|
|
8893
|
-
|
|
8882
|
+
React.createElement(
|
|
8894
8883
|
'style',
|
|
8895
8884
|
{ jsx: 'true' },
|
|
8896
8885
|
'\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 '
|
|
@@ -8937,7 +8926,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8937
8926
|
}
|
|
8938
8927
|
};
|
|
8939
8928
|
|
|
8940
|
-
_this.wraperRef =
|
|
8929
|
+
_this.wraperRef = React.createRef();
|
|
8941
8930
|
_this.visible = false;
|
|
8942
8931
|
return _this;
|
|
8943
8932
|
}
|
|
@@ -8965,7 +8954,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8965
8954
|
_props$id = _props.id,
|
|
8966
8955
|
id = _props$id === undefined ? '' : _props$id;
|
|
8967
8956
|
|
|
8968
|
-
return
|
|
8957
|
+
return React.createElement(
|
|
8969
8958
|
'div',
|
|
8970
8959
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8971
8960
|
this.props.children
|
|
@@ -8974,16 +8963,16 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8974
8963
|
}]);
|
|
8975
8964
|
|
|
8976
8965
|
return InscreenSensor;
|
|
8977
|
-
}(
|
|
8966
|
+
}(React.Component);
|
|
8978
8967
|
|
|
8979
8968
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8980
8969
|
var nodes = _ref.nodes,
|
|
8981
8970
|
client = _ref.client,
|
|
8982
8971
|
pageview = _ref.pageview,
|
|
8983
8972
|
getSerializers = _ref.getSerializers,
|
|
8984
|
-
accountIDs = _ref.accountIDs
|
|
8985
|
-
_ref.Ads
|
|
8986
|
-
|
|
8973
|
+
accountIDs = _ref.accountIDs,
|
|
8974
|
+
Ads = _ref.Ads,
|
|
8975
|
+
rootArticle = _ref.rootArticle;
|
|
8987
8976
|
|
|
8988
8977
|
if (!nodes || !nodes.articles) {
|
|
8989
8978
|
return null;
|
|
@@ -8997,7 +8986,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8997
8986
|
var router = useRouter();
|
|
8998
8987
|
|
|
8999
8988
|
var refArray = useRef([]);
|
|
9000
|
-
useRef([]);
|
|
8989
|
+
var adRefArray = useRef([]);
|
|
9001
8990
|
var articleContainerRef = useRef(null);
|
|
9002
8991
|
var arrowRef = useRef(null);
|
|
9003
8992
|
|
|
@@ -9085,33 +9074,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9085
9074
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9086
9075
|
var showReading = show ? 'showReading' : '';
|
|
9087
9076
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9088
|
-
return
|
|
9077
|
+
return React.createElement(
|
|
9089
9078
|
'div',
|
|
9090
9079
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9091
|
-
|
|
9080
|
+
React.createElement(
|
|
9092
9081
|
'a',
|
|
9093
9082
|
{ onClick: function onClick(e) {
|
|
9094
9083
|
return articleCardClickHandler(e);
|
|
9095
9084
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9096
|
-
|
|
9085
|
+
React.createElement(
|
|
9097
9086
|
'div',
|
|
9098
9087
|
{ className: 'prevNext-thumbnail' },
|
|
9099
|
-
|
|
9100
|
-
|
|
9088
|
+
React.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9089
|
+
React.createElement(
|
|
9101
9090
|
'div',
|
|
9102
9091
|
{ className: 'prevNext-reading ' + showReading },
|
|
9103
9092
|
articleLabel
|
|
9104
9093
|
)
|
|
9105
9094
|
),
|
|
9106
|
-
|
|
9095
|
+
React.createElement(
|
|
9107
9096
|
'div',
|
|
9108
9097
|
{ className: 'prevNext-summary' },
|
|
9109
|
-
|
|
9098
|
+
React.createElement(
|
|
9110
9099
|
'div',
|
|
9111
9100
|
{ className: 'prevNext-publishDate' },
|
|
9112
9101
|
moment(article.published).format('LL')
|
|
9113
9102
|
),
|
|
9114
|
-
|
|
9103
|
+
React.createElement(
|
|
9115
9104
|
'h2',
|
|
9116
9105
|
{ className: 'prevNext-title' },
|
|
9117
9106
|
article.title
|
|
@@ -9160,7 +9149,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9160
9149
|
|
|
9161
9150
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9162
9151
|
if (biography) {
|
|
9163
|
-
return
|
|
9152
|
+
return React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9164
9153
|
}
|
|
9165
9154
|
};
|
|
9166
9155
|
|
|
@@ -9246,7 +9235,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9246
9235
|
//console.log('useLayoutEffect')
|
|
9247
9236
|
if (!firstLoad) {
|
|
9248
9237
|
setUpArrowClicked(false);
|
|
9249
|
-
if (
|
|
9238
|
+
if (main_40) {
|
|
9250
9239
|
grabLoadedAds();
|
|
9251
9240
|
} else {
|
|
9252
9241
|
scrollToArticle();
|
|
@@ -9270,7 +9259,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9270
9259
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
9271
9260
|
if (pageview) pageview(path);
|
|
9272
9261
|
|
|
9273
|
-
if (!
|
|
9262
|
+
if (!main_40) {
|
|
9274
9263
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9275
9264
|
if (window.googletag && googletag.pubadsReady) {
|
|
9276
9265
|
lib_3.refresh();
|
|
@@ -9278,7 +9267,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9278
9267
|
});
|
|
9279
9268
|
}
|
|
9280
9269
|
//Refresh leaderboard ad on mobile
|
|
9281
|
-
if (
|
|
9270
|
+
if (main_40) {
|
|
9282
9271
|
var leaderboardSlotId = '';
|
|
9283
9272
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9284
9273
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -9318,40 +9307,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9318
9307
|
setSensorVisible(false);
|
|
9319
9308
|
};
|
|
9320
9309
|
|
|
9321
|
-
return
|
|
9322
|
-
|
|
9310
|
+
return React.createElement(
|
|
9311
|
+
React.Fragment,
|
|
9323
9312
|
null,
|
|
9324
|
-
|
|
9313
|
+
React.createElement(
|
|
9325
9314
|
'div',
|
|
9326
9315
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9327
|
-
|
|
9316
|
+
React.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9328
9317
|
return handleArrowClick();
|
|
9329
9318
|
} })
|
|
9330
9319
|
),
|
|
9331
|
-
|
|
9332
|
-
|
|
9320
|
+
React.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9321
|
+
React.createElement(
|
|
9333
9322
|
'div',
|
|
9334
9323
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9335
|
-
|
|
9324
|
+
React.createElement(
|
|
9336
9325
|
'h5',
|
|
9337
9326
|
{ className: 'objective-title' },
|
|
9338
9327
|
nodes.seriesTitle
|
|
9339
9328
|
),
|
|
9340
|
-
|
|
9329
|
+
React.createElement(
|
|
9341
9330
|
'div',
|
|
9342
9331
|
{ className: 'prevNextWrapper' },
|
|
9343
9332
|
PrevNextCards(false, -1)
|
|
9344
9333
|
)
|
|
9345
9334
|
),
|
|
9346
|
-
|
|
9347
|
-
|
|
9335
|
+
React.createElement('hr', { className: 'article-seperater' }),
|
|
9336
|
+
React.createElement(
|
|
9348
9337
|
'div',
|
|
9349
9338
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9350
9339
|
Articles.map(function (article, index) {
|
|
9351
|
-
return
|
|
9340
|
+
return React.createElement(
|
|
9352
9341
|
'div',
|
|
9353
9342
|
{ key: article.title },
|
|
9354
|
-
|
|
9343
|
+
React.createElement(
|
|
9355
9344
|
InscreenSensor,
|
|
9356
9345
|
{
|
|
9357
9346
|
visible: sensorVisible,
|
|
@@ -9369,82 +9358,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9369
9358
|
}
|
|
9370
9359
|
}
|
|
9371
9360
|
} },
|
|
9372
|
-
|
|
9361
|
+
React.createElement(
|
|
9373
9362
|
Head,
|
|
9374
9363
|
null,
|
|
9375
|
-
currentTitle !== null &&
|
|
9364
|
+
currentTitle !== null && React.createElement(
|
|
9376
9365
|
'title',
|
|
9377
9366
|
{ key: 'title' },
|
|
9378
9367
|
currentTitle
|
|
9379
9368
|
),
|
|
9380
|
-
currentSummary !== null &&
|
|
9381
|
-
currentURL !== null &&
|
|
9382
|
-
currentTitle !== null &&
|
|
9383
|
-
currentThumbnail !== null &&
|
|
9384
|
-
currentSummary !== null &&
|
|
9385
|
-
currentTitle !== null &&
|
|
9386
|
-
currentThumbnail !== null &&
|
|
9387
|
-
currentSummary !== null &&
|
|
9369
|
+
currentSummary !== null && React.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9370
|
+
currentURL !== null && React.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9371
|
+
currentTitle !== null && React.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9372
|
+
currentThumbnail !== null && React.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9373
|
+
currentSummary !== null && React.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9374
|
+
currentTitle !== null && React.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9375
|
+
currentThumbnail !== null && React.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9376
|
+
currentSummary !== null && React.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9388
9377
|
),
|
|
9389
|
-
|
|
9378
|
+
React.createElement(
|
|
9390
9379
|
'article',
|
|
9391
9380
|
{ className: 'article-wrapper' },
|
|
9392
|
-
|
|
9381
|
+
React.createElement(
|
|
9393
9382
|
'div',
|
|
9394
9383
|
{ className: 'article-publishDate' },
|
|
9395
9384
|
moment(article.published).format('LL')
|
|
9396
9385
|
),
|
|
9397
|
-
|
|
9386
|
+
React.createElement(
|
|
9398
9387
|
'div',
|
|
9399
9388
|
{ className: 'author-details-wrapper' },
|
|
9400
9389
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9401
|
-
return
|
|
9390
|
+
return React.createElement(
|
|
9402
9391
|
'span',
|
|
9403
9392
|
{ key: index },
|
|
9404
9393
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9405
9394
|
);
|
|
9406
9395
|
})
|
|
9407
9396
|
),
|
|
9408
|
-
|
|
9397
|
+
React.createElement(
|
|
9409
9398
|
'h2',
|
|
9410
9399
|
{ className: 'article-title' },
|
|
9411
9400
|
article.title
|
|
9412
9401
|
),
|
|
9413
|
-
|
|
9402
|
+
React.createElement(
|
|
9414
9403
|
'div',
|
|
9415
9404
|
{ className: 'mt-2 mb-2' },
|
|
9416
|
-
|
|
9405
|
+
React.createElement(BlockContent, _extends({
|
|
9417
9406
|
serializers: getSerializers,
|
|
9418
9407
|
videoAccountIDs: accountIDs,
|
|
9419
9408
|
blocks: article.text,
|
|
9420
9409
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9421
9410
|
}, client.config())),
|
|
9422
|
-
|
|
9411
|
+
React.createElement('hr', { className: 'article-seperater my-4' })
|
|
9423
9412
|
),
|
|
9424
|
-
Articles.length > 1 &&
|
|
9425
|
-
|
|
9413
|
+
Articles.length > 1 && React.createElement(
|
|
9414
|
+
React.Fragment,
|
|
9426
9415
|
null,
|
|
9427
|
-
|
|
9416
|
+
React.createElement(
|
|
9428
9417
|
'div',
|
|
9429
9418
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9430
|
-
|
|
9419
|
+
React.createElement(
|
|
9431
9420
|
'h5',
|
|
9432
9421
|
{ className: 'objective-title' },
|
|
9433
9422
|
nodes.seriesTitle
|
|
9434
9423
|
),
|
|
9435
|
-
|
|
9424
|
+
React.createElement(
|
|
9436
9425
|
'div',
|
|
9437
9426
|
{ className: 'prevNextWrapper' },
|
|
9438
9427
|
PrevNextCards(true, index)
|
|
9439
9428
|
)
|
|
9440
9429
|
),
|
|
9441
|
-
|
|
9430
|
+
React.createElement('hr', { className: 'article-seperater' })
|
|
9442
9431
|
)
|
|
9443
9432
|
)
|
|
9444
9433
|
)
|
|
9445
9434
|
);
|
|
9446
9435
|
}),
|
|
9447
|
-
|
|
9436
|
+
React.createElement(
|
|
9448
9437
|
'style',
|
|
9449
9438
|
{ jsx: 'true' },
|
|
9450
9439
|
'\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 '
|
|
@@ -9474,11 +9463,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9474
9463
|
};
|
|
9475
9464
|
}, [handleClickOutside]);
|
|
9476
9465
|
|
|
9477
|
-
return
|
|
9466
|
+
return React.createElement(
|
|
9478
9467
|
'div',
|
|
9479
9468
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9480
|
-
|
|
9481
|
-
|
|
9469
|
+
React.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9470
|
+
React.createElement(
|
|
9482
9471
|
'style',
|
|
9483
9472
|
{ jsx: 'true' },
|
|
9484
9473
|
'\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 '
|
|
@@ -9492,7 +9481,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9492
9481
|
}
|
|
9493
9482
|
};
|
|
9494
9483
|
|
|
9495
|
-
var FigureImage
|
|
9484
|
+
var FigureImage = React.memo(function (_ref2) {
|
|
9496
9485
|
var node = _ref2.node,
|
|
9497
9486
|
client = _ref2.client,
|
|
9498
9487
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9500,13 +9489,13 @@ var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
|
9500
9489
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9501
9490
|
|
|
9502
9491
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9503
|
-
return
|
|
9492
|
+
return React.createElement(
|
|
9504
9493
|
'picture',
|
|
9505
9494
|
null,
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9495
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9496
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9497
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9498
|
+
React.createElement('img', _extends({
|
|
9510
9499
|
style: figureImageStyle,
|
|
9511
9500
|
className: 'figure-image',
|
|
9512
9501
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9557,30 +9546,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9557
9546
|
|
|
9558
9547
|
var renderTooltip = function renderTooltip(props) {
|
|
9559
9548
|
if (infoBox[0].title) {
|
|
9560
|
-
return
|
|
9549
|
+
return React.createElement(
|
|
9561
9550
|
Popover,
|
|
9562
9551
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9563
|
-
|
|
9552
|
+
React.createElement(
|
|
9564
9553
|
Popover.Title,
|
|
9565
9554
|
{ as: 'h3' },
|
|
9566
9555
|
infoBox[0].title
|
|
9567
9556
|
),
|
|
9568
|
-
|
|
9557
|
+
React.createElement(
|
|
9569
9558
|
Popover.Content,
|
|
9570
9559
|
null,
|
|
9571
|
-
|
|
9560
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9572
9561
|
)
|
|
9573
9562
|
);
|
|
9574
9563
|
} else {
|
|
9575
|
-
return
|
|
9564
|
+
return React.createElement(
|
|
9576
9565
|
Tooltip,
|
|
9577
9566
|
_extends({ id: 'button-tooltip' }, props),
|
|
9578
|
-
|
|
9567
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9579
9568
|
);
|
|
9580
9569
|
}
|
|
9581
9570
|
};
|
|
9582
9571
|
|
|
9583
|
-
var FigureImageWOverLay =
|
|
9572
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9584
9573
|
var node = _ref3.node,
|
|
9585
9574
|
client = _ref3.client,
|
|
9586
9575
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9588,32 +9577,32 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9588
9577
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9589
9578
|
|
|
9590
9579
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9591
|
-
var triggerAction =
|
|
9592
|
-
var placementLocation =
|
|
9593
|
-
return
|
|
9580
|
+
var triggerAction = main_39 ? 'click' : 'hover';
|
|
9581
|
+
var placementLocation = main_39 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9582
|
+
return React.createElement(
|
|
9594
9583
|
'picture',
|
|
9595
9584
|
null,
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9585
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9586
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9587
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9588
|
+
main_39 && link ? React.createElement('img', _extends({
|
|
9600
9589
|
style: figureImageStyle,
|
|
9601
9590
|
className: 'figure-image',
|
|
9602
9591
|
src: urlFor({ source: node, client: client }),
|
|
9603
9592
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9604
|
-
}, !link && !
|
|
9593
|
+
}, !link && !main_39 && {
|
|
9605
9594
|
onClick: function onClick() {
|
|
9606
9595
|
return handleClickFigure(node, client);
|
|
9607
9596
|
}
|
|
9608
|
-
})) :
|
|
9597
|
+
})) : React.createElement(
|
|
9609
9598
|
OverlayTrigger,
|
|
9610
9599
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9611
|
-
|
|
9600
|
+
React.createElement('img', _extends({
|
|
9612
9601
|
style: figureImageStyle,
|
|
9613
9602
|
className: 'figure-image',
|
|
9614
9603
|
src: urlFor({ source: node, client: client }),
|
|
9615
9604
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9616
|
-
}, !link && !
|
|
9605
|
+
}, !link && !main_39 && {
|
|
9617
9606
|
onClick: function onClick() {
|
|
9618
9607
|
return handleClickFigure(node, client);
|
|
9619
9608
|
}
|
|
@@ -9662,13 +9651,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9662
9651
|
|
|
9663
9652
|
var FigureCaption = useCallback(function () {
|
|
9664
9653
|
if (imgcaption && imgcaption.length > 0) {
|
|
9665
|
-
return
|
|
9654
|
+
return React.createElement(
|
|
9666
9655
|
'div',
|
|
9667
9656
|
{ className: 'figure-caption' },
|
|
9668
|
-
|
|
9657
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9669
9658
|
);
|
|
9670
9659
|
} else if (caption) {
|
|
9671
|
-
return
|
|
9660
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9672
9661
|
} else return null;
|
|
9673
9662
|
}, [caption, imgcaption]);
|
|
9674
9663
|
|
|
@@ -9685,24 +9674,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9685
9674
|
setShowLightbox(true);
|
|
9686
9675
|
}, [node, client]);
|
|
9687
9676
|
|
|
9688
|
-
return
|
|
9689
|
-
|
|
9677
|
+
return React.createElement(
|
|
9678
|
+
React.Fragment,
|
|
9690
9679
|
null,
|
|
9691
|
-
infoBox.length >= 1 ?
|
|
9680
|
+
infoBox.length >= 1 ? React.createElement(
|
|
9692
9681
|
Figure$2,
|
|
9693
9682
|
{ className: '' + class_name, style: figureStyle },
|
|
9694
|
-
link ?
|
|
9683
|
+
link ? React.createElement(
|
|
9695
9684
|
'a',
|
|
9696
9685
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
) :
|
|
9700
|
-
|
|
9686
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9687
|
+
React.createElement(FigureCaption, null)
|
|
9688
|
+
) : React.createElement(
|
|
9689
|
+
React.Fragment,
|
|
9701
9690
|
null,
|
|
9702
|
-
|
|
9703
|
-
|
|
9691
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9692
|
+
React.createElement(FigureCaption, null)
|
|
9704
9693
|
),
|
|
9705
|
-
|
|
9694
|
+
React.createElement(LightBox, {
|
|
9706
9695
|
showLightbox: showLightbox,
|
|
9707
9696
|
lightboxImgSrc: lightboxImgSrc,
|
|
9708
9697
|
closeLightbox: function closeLightbox() {
|
|
@@ -9710,21 +9699,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9710
9699
|
setShowLightbox(false);
|
|
9711
9700
|
}
|
|
9712
9701
|
})
|
|
9713
|
-
) :
|
|
9702
|
+
) : React.createElement(
|
|
9714
9703
|
Figure$2,
|
|
9715
9704
|
{ className: '' + class_name, style: figureStyle },
|
|
9716
|
-
link ?
|
|
9705
|
+
link ? React.createElement(
|
|
9717
9706
|
'a',
|
|
9718
9707
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
) :
|
|
9722
|
-
|
|
9708
|
+
React.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9709
|
+
React.createElement(FigureCaption, null)
|
|
9710
|
+
) : React.createElement(
|
|
9711
|
+
React.Fragment,
|
|
9723
9712
|
null,
|
|
9724
|
-
|
|
9725
|
-
|
|
9713
|
+
React.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9714
|
+
React.createElement(FigureCaption, null)
|
|
9726
9715
|
),
|
|
9727
|
-
|
|
9716
|
+
React.createElement(LightBox, {
|
|
9728
9717
|
showLightbox: showLightbox,
|
|
9729
9718
|
lightboxImgSrc: lightboxImgSrc,
|
|
9730
9719
|
closeLightbox: function closeLightbox() {
|
|
@@ -9733,7 +9722,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9733
9722
|
}
|
|
9734
9723
|
})
|
|
9735
9724
|
),
|
|
9736
|
-
|
|
9725
|
+
React.createElement(
|
|
9737
9726
|
'style',
|
|
9738
9727
|
{ jsx: 'true' },
|
|
9739
9728
|
'\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 '
|
|
@@ -9741,7 +9730,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9741
9730
|
);
|
|
9742
9731
|
};
|
|
9743
9732
|
|
|
9744
|
-
var Figure =
|
|
9733
|
+
var Figure = React.memo(FigureComponent, compareProps);
|
|
9745
9734
|
|
|
9746
9735
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9747
9736
|
useEffect(function () {
|
|
@@ -9758,7 +9747,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9758
9747
|
}, [ref]);
|
|
9759
9748
|
}
|
|
9760
9749
|
|
|
9761
|
-
var FigureImage =
|
|
9750
|
+
var FigureImage$1 = React.memo(function (_ref) {
|
|
9762
9751
|
var imagesCount = _ref.imagesCount,
|
|
9763
9752
|
image = _ref.image,
|
|
9764
9753
|
client = _ref.client,
|
|
@@ -9766,13 +9755,13 @@ var FigureImage = React__default.memo(function (_ref) {
|
|
|
9766
9755
|
link = _ref.link,
|
|
9767
9756
|
handleClickFigure = _ref.handleClickFigure;
|
|
9768
9757
|
|
|
9769
|
-
return
|
|
9758
|
+
return React.createElement(
|
|
9770
9759
|
'picture',
|
|
9771
9760
|
null,
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9761
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9762
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9763
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9764
|
+
React.createElement('img', _extends({
|
|
9776
9765
|
'images-count': imagesCount,
|
|
9777
9766
|
className: 'multi-figure-image',
|
|
9778
9767
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9809,13 +9798,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9809
9798
|
imgcaption = _ref2.imgcaption;
|
|
9810
9799
|
|
|
9811
9800
|
if (imgcaption && imgcaption.length > 0) {
|
|
9812
|
-
return
|
|
9801
|
+
return React.createElement(
|
|
9813
9802
|
'div',
|
|
9814
9803
|
{ className: 'multi-figure-caption' },
|
|
9815
|
-
|
|
9804
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9816
9805
|
);
|
|
9817
9806
|
} else if (caption) {
|
|
9818
|
-
return
|
|
9807
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9819
9808
|
} else return null;
|
|
9820
9809
|
};
|
|
9821
9810
|
|
|
@@ -9824,7 +9813,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9824
9813
|
setOpenImg(true);
|
|
9825
9814
|
}, [client]);
|
|
9826
9815
|
|
|
9827
|
-
var FigureImageWOverLay =
|
|
9816
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9828
9817
|
var imagesCount = _ref3.imagesCount,
|
|
9829
9818
|
image = _ref3.image,
|
|
9830
9819
|
client = _ref3.client,
|
|
@@ -9832,32 +9821,32 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9832
9821
|
link = _ref3.link,
|
|
9833
9822
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9834
9823
|
|
|
9835
|
-
var triggerAction =
|
|
9836
|
-
var placementLocation =
|
|
9837
|
-
return
|
|
9824
|
+
var triggerAction = main_39 ? 'click' : 'hover';
|
|
9825
|
+
var placementLocation = main_39 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9826
|
+
return React.createElement(
|
|
9838
9827
|
'picture',
|
|
9839
9828
|
null,
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9829
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9830
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9831
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9832
|
+
main_39 && link ? React.createElement('img', _extends({
|
|
9844
9833
|
'images-count': imagesCount,
|
|
9845
9834
|
className: 'multi-figure-image',
|
|
9846
9835
|
src: urlFor({ source: image, client: client }),
|
|
9847
9836
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9848
|
-
}, !link && !
|
|
9837
|
+
}, !link && !main_39 && {
|
|
9849
9838
|
onClick: function onClick() {
|
|
9850
9839
|
return handleClickFigure(image, client);
|
|
9851
9840
|
}
|
|
9852
|
-
})) :
|
|
9841
|
+
})) : React.createElement(
|
|
9853
9842
|
OverlayTrigger,
|
|
9854
9843
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9855
|
-
|
|
9844
|
+
React.createElement('img', _extends({
|
|
9856
9845
|
'images-count': imagesCount,
|
|
9857
9846
|
className: 'multi-figure-image',
|
|
9858
9847
|
src: urlFor({ source: image, client: client }),
|
|
9859
9848
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9860
|
-
}, !link && !
|
|
9849
|
+
}, !link && !main_39 && {
|
|
9861
9850
|
onClick: function onClick() {
|
|
9862
9851
|
return handleClickFigure(image, client);
|
|
9863
9852
|
}
|
|
@@ -9868,102 +9857,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9868
9857
|
|
|
9869
9858
|
var renderTooltip = function renderTooltip(image) {
|
|
9870
9859
|
if (image.infoBox[0].title) {
|
|
9871
|
-
return
|
|
9860
|
+
return React.createElement(
|
|
9872
9861
|
Popover,
|
|
9873
9862
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9874
|
-
|
|
9863
|
+
React.createElement(
|
|
9875
9864
|
Popover.Title,
|
|
9876
9865
|
{ as: 'h3' },
|
|
9877
9866
|
image.infoBox[0].title
|
|
9878
9867
|
),
|
|
9879
|
-
|
|
9868
|
+
React.createElement(
|
|
9880
9869
|
Popover.Content,
|
|
9881
9870
|
null,
|
|
9882
|
-
|
|
9871
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9883
9872
|
)
|
|
9884
9873
|
);
|
|
9885
9874
|
} else {
|
|
9886
|
-
return
|
|
9875
|
+
return React.createElement(
|
|
9887
9876
|
Tooltip,
|
|
9888
9877
|
_extends({ id: 'button-tooltip' }, props),
|
|
9889
|
-
|
|
9878
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9890
9879
|
);
|
|
9891
9880
|
}
|
|
9892
9881
|
};
|
|
9893
9882
|
|
|
9894
9883
|
if (images && images.length > 0) {
|
|
9895
|
-
return
|
|
9884
|
+
return React.createElement(
|
|
9896
9885
|
'div',
|
|
9897
9886
|
{ className: 'multi-figure-container' },
|
|
9898
|
-
|
|
9887
|
+
React.createElement(
|
|
9899
9888
|
Row$1,
|
|
9900
9889
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9901
9890
|
images.map(function (image, index) {
|
|
9902
9891
|
if (image.infoBox) {
|
|
9903
|
-
return
|
|
9892
|
+
return React.createElement(
|
|
9904
9893
|
Col$1,
|
|
9905
9894
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9906
|
-
image.link ?
|
|
9895
|
+
image.link ? React.createElement(
|
|
9907
9896
|
'a',
|
|
9908
9897
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9909
|
-
|
|
9898
|
+
React.createElement(
|
|
9910
9899
|
'div',
|
|
9911
9900
|
{ className: 'multi-figure-image-container' },
|
|
9912
|
-
|
|
9901
|
+
React.createElement(
|
|
9913
9902
|
LazyLoad,
|
|
9914
9903
|
{ once: true },
|
|
9915
|
-
|
|
9904
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9916
9905
|
),
|
|
9917
|
-
|
|
9906
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9918
9907
|
)
|
|
9919
|
-
) :
|
|
9908
|
+
) : React.createElement(
|
|
9920
9909
|
'div',
|
|
9921
9910
|
{ className: 'multi-figure-image-container' },
|
|
9922
|
-
|
|
9911
|
+
React.createElement(
|
|
9923
9912
|
LazyLoad,
|
|
9924
9913
|
{ once: true },
|
|
9925
|
-
|
|
9914
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9926
9915
|
),
|
|
9927
|
-
|
|
9916
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9928
9917
|
)
|
|
9929
9918
|
);
|
|
9930
9919
|
} else {
|
|
9931
|
-
return
|
|
9920
|
+
return React.createElement(
|
|
9932
9921
|
Col$1,
|
|
9933
9922
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9934
|
-
image.link ?
|
|
9923
|
+
image.link ? React.createElement(
|
|
9935
9924
|
'a',
|
|
9936
9925
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9937
|
-
|
|
9926
|
+
React.createElement(
|
|
9938
9927
|
'div',
|
|
9939
9928
|
{ className: 'multi-figure-image-container' },
|
|
9940
|
-
|
|
9929
|
+
React.createElement(
|
|
9941
9930
|
LazyLoad,
|
|
9942
9931
|
{ once: true },
|
|
9943
|
-
|
|
9932
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9944
9933
|
),
|
|
9945
|
-
|
|
9934
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9946
9935
|
)
|
|
9947
|
-
) :
|
|
9936
|
+
) : React.createElement(
|
|
9948
9937
|
'div',
|
|
9949
9938
|
{ className: 'multi-figure-image-container' },
|
|
9950
|
-
|
|
9939
|
+
React.createElement(
|
|
9951
9940
|
LazyLoad,
|
|
9952
9941
|
{ once: true },
|
|
9953
|
-
|
|
9942
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9954
9943
|
),
|
|
9955
|
-
|
|
9944
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9956
9945
|
)
|
|
9957
9946
|
);
|
|
9958
9947
|
}
|
|
9959
9948
|
})
|
|
9960
9949
|
),
|
|
9961
|
-
|
|
9950
|
+
React.createElement(
|
|
9962
9951
|
'div',
|
|
9963
9952
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9964
|
-
|
|
9953
|
+
React.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9965
9954
|
),
|
|
9966
|
-
|
|
9955
|
+
React.createElement(
|
|
9967
9956
|
'style',
|
|
9968
9957
|
{ jsx: 'true' },
|
|
9969
9958
|
'\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 '
|
|
@@ -10012,23 +10001,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
10012
10001
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
10013
10002
|
}, []);
|
|
10014
10003
|
|
|
10015
|
-
return
|
|
10016
|
-
|
|
10004
|
+
return React.createElement(
|
|
10005
|
+
React.Fragment,
|
|
10017
10006
|
null,
|
|
10018
|
-
|
|
10007
|
+
React.createElement(
|
|
10019
10008
|
Head,
|
|
10020
10009
|
null,
|
|
10021
|
-
|
|
10010
|
+
React.createElement('script', {
|
|
10022
10011
|
dangerouslySetInnerHTML: {
|
|
10023
10012
|
__html: 'history.scrollRestoration = "manual"'
|
|
10024
10013
|
}
|
|
10025
10014
|
})
|
|
10026
10015
|
),
|
|
10027
|
-
|
|
10016
|
+
React.createElement(
|
|
10028
10017
|
'div',
|
|
10029
10018
|
{ id: elementId },
|
|
10030
|
-
|
|
10031
|
-
|
|
10019
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers }),
|
|
10020
|
+
React.createElement(
|
|
10032
10021
|
'style',
|
|
10033
10022
|
{ jsx: 'true' },
|
|
10034
10023
|
'\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 '
|
|
@@ -10037,258 +10026,6 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
10037
10026
|
);
|
|
10038
10027
|
};
|
|
10039
10028
|
|
|
10040
|
-
var objectWithoutProperties = createCommonjsModule(function (module, exports) {
|
|
10041
|
-
|
|
10042
|
-
exports.__esModule = true;
|
|
10043
|
-
|
|
10044
|
-
exports.default = function (obj, keys) {
|
|
10045
|
-
var target = {};
|
|
10046
|
-
|
|
10047
|
-
for (var i in obj) {
|
|
10048
|
-
if (keys.indexOf(i) >= 0) continue;
|
|
10049
|
-
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
10050
|
-
target[i] = obj[i];
|
|
10051
|
-
}
|
|
10052
|
-
|
|
10053
|
-
return target;
|
|
10054
|
-
};
|
|
10055
|
-
});
|
|
10056
|
-
|
|
10057
|
-
unwrapExports(objectWithoutProperties);
|
|
10058
|
-
|
|
10059
|
-
var ScriptTag_1 = createCommonjsModule(function (module, exports) {
|
|
10060
|
-
|
|
10061
|
-
exports.__esModule = true;
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
var _extends3 = _interopRequireDefault(_extends$1);
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
var _classCallCheck3 = _interopRequireDefault(classCallCheck);
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
var _inherits3 = _interopRequireDefault(inherits);
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
var _react2 = _interopRequireDefault(React__default);
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
10090
|
-
|
|
10091
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10092
|
-
var noop = function noop() {};
|
|
10093
|
-
|
|
10094
|
-
var ScriptTag = function (_Component) {
|
|
10095
|
-
(0, _inherits3.default)(ScriptTag, _Component);
|
|
10096
|
-
|
|
10097
|
-
ScriptTag.removeNode = function removeNode(node) {
|
|
10098
|
-
if (node) {
|
|
10099
|
-
node.parentNode.removeChild(node);
|
|
10100
|
-
}
|
|
10101
|
-
};
|
|
10102
|
-
|
|
10103
|
-
function ScriptTag(props, context) {
|
|
10104
|
-
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
10105
|
-
|
|
10106
|
-
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
10107
|
-
|
|
10108
|
-
_this.domRef = null;
|
|
10109
|
-
_this.state = {
|
|
10110
|
-
isHydrated: props.isHydrating,
|
|
10111
|
-
additionalNode: null,
|
|
10112
|
-
removeAdditionalNode: null
|
|
10113
|
-
};
|
|
10114
|
-
return _this;
|
|
10115
|
-
}
|
|
10116
|
-
|
|
10117
|
-
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
10118
|
-
var _props = this.props,
|
|
10119
|
-
onError = _props.onError,
|
|
10120
|
-
onLoad = _props.onLoad,
|
|
10121
|
-
nonce = _props.nonce;
|
|
10122
|
-
|
|
10123
|
-
// Create a new HTML script element
|
|
10124
|
-
|
|
10125
|
-
var newElement = document.createElement("script");
|
|
10126
|
-
|
|
10127
|
-
// Copy all attribute values
|
|
10128
|
-
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
10129
|
-
var attr = this.domRef.attributes[i];
|
|
10130
|
-
if (attr.nodeName === 'nonce') {
|
|
10131
|
-
// The browser clears the nonce value - grab from props
|
|
10132
|
-
newElement.setAttribute(attr.nodeName, nonce);
|
|
10133
|
-
} else {
|
|
10134
|
-
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
10135
|
-
}
|
|
10136
|
-
}
|
|
10137
|
-
|
|
10138
|
-
// Copy the inner script
|
|
10139
|
-
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
10140
|
-
newElement.innerHTML = this.domRef.innerHTML;
|
|
10141
|
-
}
|
|
10142
|
-
|
|
10143
|
-
// Bind event listeners
|
|
10144
|
-
newElement.addEventListener('load', onLoad);
|
|
10145
|
-
newElement.addEventListener('error', onError);
|
|
10146
|
-
|
|
10147
|
-
// Append the new script tag
|
|
10148
|
-
this.domRef.parentNode.appendChild(newElement);
|
|
10149
|
-
return newElement;
|
|
10150
|
-
};
|
|
10151
|
-
|
|
10152
|
-
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
10153
|
-
var isHydrated = this.state.isHydrated;
|
|
10154
|
-
|
|
10155
|
-
if (isHydrated) {
|
|
10156
|
-
// was rendered on server, don't replace elements when hydrating
|
|
10157
|
-
return;
|
|
10158
|
-
}
|
|
10159
|
-
|
|
10160
|
-
this.setState({
|
|
10161
|
-
additionalNode: this.appendAdditionalElement(),
|
|
10162
|
-
removeAdditionalNode: null
|
|
10163
|
-
});
|
|
10164
|
-
};
|
|
10165
|
-
|
|
10166
|
-
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
10167
|
-
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
10168
|
-
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
10169
|
-
|
|
10170
|
-
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
10171
|
-
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
10172
|
-
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
10173
|
-
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
10174
|
-
// This really complicates the component - for now we'll leave it as is.
|
|
10175
|
-
var _props2 = this.props,
|
|
10176
|
-
src = _props2.src,
|
|
10177
|
-
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
10178
|
-
|
|
10179
|
-
if (src && src === nextProps.src) {
|
|
10180
|
-
// The 'src' attribute has not changed
|
|
10181
|
-
return;
|
|
10182
|
-
}
|
|
10183
|
-
|
|
10184
|
-
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
10185
|
-
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
10186
|
-
return;
|
|
10187
|
-
}
|
|
10188
|
-
|
|
10189
|
-
this.setState({
|
|
10190
|
-
removeAdditionalNode: this.state.additionalNode,
|
|
10191
|
-
additionalNode: null
|
|
10192
|
-
});
|
|
10193
|
-
};
|
|
10194
|
-
|
|
10195
|
-
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
10196
|
-
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
10197
|
-
};
|
|
10198
|
-
|
|
10199
|
-
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
10200
|
-
var _state = this.state,
|
|
10201
|
-
additionalNode = _state.additionalNode,
|
|
10202
|
-
removeAdditionalNode = _state.removeAdditionalNode;
|
|
10203
|
-
|
|
10204
|
-
if (additionalNode === null) {
|
|
10205
|
-
this.setState({
|
|
10206
|
-
additionalNode: this.appendAdditionalElement()
|
|
10207
|
-
});
|
|
10208
|
-
}
|
|
10209
|
-
|
|
10210
|
-
if (removeAdditionalNode !== null) {
|
|
10211
|
-
// Was removed in 'componentWillUpdate', but can not update state there
|
|
10212
|
-
this.setState({
|
|
10213
|
-
removeAdditionalNode: null
|
|
10214
|
-
});
|
|
10215
|
-
}
|
|
10216
|
-
};
|
|
10217
|
-
|
|
10218
|
-
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
10219
|
-
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
10220
|
-
ScriptTag.removeNode(this.state.additionalNode);
|
|
10221
|
-
};
|
|
10222
|
-
|
|
10223
|
-
ScriptTag.prototype.render = function render() {
|
|
10224
|
-
var _this2 = this;
|
|
10225
|
-
|
|
10226
|
-
var additionalNode = this.state.additionalNode;
|
|
10227
|
-
|
|
10228
|
-
if (additionalNode !== null) {
|
|
10229
|
-
return null;
|
|
10230
|
-
}
|
|
10231
|
-
|
|
10232
|
-
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10233
|
-
// eslint-disable-next-line no-unused-vars
|
|
10234
|
-
var _props3 = this.props;
|
|
10235
|
-
_props3.isHydrating;
|
|
10236
|
-
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10237
|
-
|
|
10238
|
-
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10239
|
-
return _this2.domRef = tag;
|
|
10240
|
-
} }));
|
|
10241
|
-
};
|
|
10242
|
-
|
|
10243
|
-
return ScriptTag;
|
|
10244
|
-
}(React__default.Component);
|
|
10245
|
-
|
|
10246
|
-
ScriptTag.propTypes = {
|
|
10247
|
-
/**
|
|
10248
|
-
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
10249
|
-
*/
|
|
10250
|
-
isHydrating: _propTypes2.default.bool,
|
|
10251
|
-
|
|
10252
|
-
// Standard <script> tag props
|
|
10253
|
-
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
10254
|
-
crossOrigin: _propTypes2.default.string,
|
|
10255
|
-
defer: _propTypes2.default.bool,
|
|
10256
|
-
integrity: _propTypes2.default.string,
|
|
10257
|
-
nonce: _propTypes2.default.string,
|
|
10258
|
-
src: _propTypes2.default.string,
|
|
10259
|
-
text: _propTypes2.default.string,
|
|
10260
|
-
type: _propTypes2.default.string,
|
|
10261
|
-
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
10262
|
-
|
|
10263
|
-
// globals
|
|
10264
|
-
onError: _propTypes2.default.func,
|
|
10265
|
-
onLoad: _propTypes2.default.func
|
|
10266
|
-
};
|
|
10267
|
-
ScriptTag.defaultProps = {
|
|
10268
|
-
isHydrating: false,
|
|
10269
|
-
onError: noop,
|
|
10270
|
-
onLoad: noop
|
|
10271
|
-
};
|
|
10272
|
-
exports.default = ScriptTag;
|
|
10273
|
-
});
|
|
10274
|
-
|
|
10275
|
-
unwrapExports(ScriptTag_1);
|
|
10276
|
-
|
|
10277
|
-
var lib = createCommonjsModule(function (module, exports) {
|
|
10278
|
-
|
|
10279
|
-
exports.__esModule = true;
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
10284
|
-
|
|
10285
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10286
|
-
|
|
10287
|
-
exports.default = _ScriptTag2.default;
|
|
10288
|
-
});
|
|
10289
|
-
|
|
10290
|
-
var ScriptTag = unwrapExports(lib);
|
|
10291
|
-
|
|
10292
10029
|
var enterpriseDomainName = 'mjhlifesciences';
|
|
10293
10030
|
|
|
10294
10031
|
var FormAssembly = function FormAssembly(props) {
|
|
@@ -10333,11 +10070,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10333
10070
|
}, [anonymousID]);
|
|
10334
10071
|
|
|
10335
10072
|
if (iframeSrc) {
|
|
10336
|
-
return
|
|
10073
|
+
return React.createElement(
|
|
10337
10074
|
'section',
|
|
10338
10075
|
{ className: 'form-assembly' },
|
|
10339
|
-
iframeSrc &&
|
|
10340
|
-
|
|
10076
|
+
iframeSrc && React.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10077
|
+
React.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10341
10078
|
);
|
|
10342
10079
|
}
|
|
10343
10080
|
|
|
@@ -10374,27 +10111,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10374
10111
|
return window.removeEventListener('resize', handleResize);
|
|
10375
10112
|
};
|
|
10376
10113
|
}, []);
|
|
10377
|
-
return
|
|
10114
|
+
return React.createElement(
|
|
10378
10115
|
'div',
|
|
10379
10116
|
{ className: 'blockTableHolder', ref: holder },
|
|
10380
|
-
|
|
10117
|
+
React.createElement(
|
|
10381
10118
|
'div',
|
|
10382
10119
|
{ className: 'blockTable' },
|
|
10383
10120
|
rows && rows.map(function (row) {
|
|
10384
|
-
return
|
|
10121
|
+
return React.createElement(
|
|
10385
10122
|
'div',
|
|
10386
10123
|
{ className: 'blockTableRow' },
|
|
10387
10124
|
row.cells && row.cells.map(function (cell) {
|
|
10388
|
-
return
|
|
10125
|
+
return React.createElement(
|
|
10389
10126
|
'div',
|
|
10390
10127
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10391
|
-
|
|
10128
|
+
React.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10392
10129
|
);
|
|
10393
10130
|
})
|
|
10394
10131
|
);
|
|
10395
10132
|
})
|
|
10396
10133
|
),
|
|
10397
|
-
|
|
10134
|
+
React.createElement(
|
|
10398
10135
|
'style',
|
|
10399
10136
|
{ jsx: true },
|
|
10400
10137
|
'\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 '
|
|
@@ -10404,11 +10141,11 @@ var BlockTable = function BlockTable(props) {
|
|
|
10404
10141
|
|
|
10405
10142
|
var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
10406
10143
|
var _props$node = props.node,
|
|
10407
|
-
FormID = _props$node.FormID
|
|
10408
|
-
_props$node.needSegmentSupport;
|
|
10144
|
+
FormID = _props$node.FormID,
|
|
10145
|
+
_props$node$needSegme = _props$node.needSegmentSupport;
|
|
10409
10146
|
|
|
10410
10147
|
|
|
10411
|
-
return
|
|
10148
|
+
return React.createElement('div', { id: FormID });
|
|
10412
10149
|
};
|
|
10413
10150
|
|
|
10414
10151
|
var checkUrlIsExternal = function checkUrlIsExternal(url) {
|
|
@@ -10468,7 +10205,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10468
10205
|
if (href && href.charAt(0) === '#') {
|
|
10469
10206
|
var elementId = href.slice(1);
|
|
10470
10207
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10471
|
-
return
|
|
10208
|
+
return React.createElement(
|
|
10472
10209
|
'a',
|
|
10473
10210
|
{ onClick: function onClick() {
|
|
10474
10211
|
return ScrollToElement(elementId);
|
|
@@ -10478,11 +10215,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10478
10215
|
}
|
|
10479
10216
|
|
|
10480
10217
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkSisterSite(href) ? 'noreferrer noopener' : '');
|
|
10481
|
-
return href ? linkRel.trim().length > 0 ?
|
|
10218
|
+
return href ? linkRel.trim().length > 0 ? React.createElement(
|
|
10482
10219
|
'a',
|
|
10483
10220
|
_extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10484
10221
|
children
|
|
10485
|
-
) :
|
|
10222
|
+
) : React.createElement(
|
|
10486
10223
|
'a',
|
|
10487
10224
|
_extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10488
10225
|
children
|
|
@@ -10547,12 +10284,12 @@ var getSerializers = function getSerializers() {
|
|
|
10547
10284
|
var node = _ref.node;
|
|
10548
10285
|
var url = node.url;
|
|
10549
10286
|
|
|
10550
|
-
return
|
|
10287
|
+
return React.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10551
10288
|
},
|
|
10552
10289
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10553
10290
|
var node = _ref2.node;
|
|
10554
10291
|
|
|
10555
|
-
return
|
|
10292
|
+
return React.createElement(YouTubeGallery, {
|
|
10556
10293
|
nodes: node,
|
|
10557
10294
|
article: article,
|
|
10558
10295
|
meta: meta,
|
|
@@ -10566,7 +10303,7 @@ var getSerializers = function getSerializers() {
|
|
|
10566
10303
|
articleSeries: function articleSeries(_ref3) {
|
|
10567
10304
|
var node = _ref3.node;
|
|
10568
10305
|
|
|
10569
|
-
return
|
|
10306
|
+
return React.createElement(ArticleSeries, {
|
|
10570
10307
|
nodes: node,
|
|
10571
10308
|
accountIDs: videoAccountIDs || {},
|
|
10572
10309
|
pageview: pageview,
|
|
@@ -10579,61 +10316,61 @@ var getSerializers = function getSerializers() {
|
|
|
10579
10316
|
figure: function figure(_ref4) {
|
|
10580
10317
|
var node = _ref4.node;
|
|
10581
10318
|
|
|
10582
|
-
return
|
|
10319
|
+
return React.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10583
10320
|
},
|
|
10584
10321
|
multifigure: function multifigure(_ref5) {
|
|
10585
10322
|
var node = _ref5.node;
|
|
10586
10323
|
|
|
10587
|
-
return
|
|
10324
|
+
return React.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10588
10325
|
},
|
|
10589
10326
|
slideshow: function slideshow(_ref6) {
|
|
10590
10327
|
var node = _ref6.node;
|
|
10591
10328
|
var slides = node.slides;
|
|
10592
10329
|
|
|
10593
|
-
return
|
|
10330
|
+
return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
10594
10331
|
},
|
|
10595
10332
|
sidebar: function sidebar(_ref7) {
|
|
10596
10333
|
var node = _ref7.node;
|
|
10597
10334
|
var caption = node.caption,
|
|
10598
10335
|
content = node.content;
|
|
10599
10336
|
|
|
10600
|
-
return
|
|
10337
|
+
return React.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10601
10338
|
},
|
|
10602
10339
|
datatable: function datatable(_ref8) {
|
|
10603
10340
|
var node = _ref8.node;
|
|
10604
10341
|
var table = node.table;
|
|
10605
10342
|
|
|
10606
|
-
return
|
|
10343
|
+
return React.createElement(TableShow, { rows: table.rows });
|
|
10607
10344
|
},
|
|
10608
10345
|
media: function media(_ref9) {
|
|
10609
10346
|
var node = _ref9.node;
|
|
10610
10347
|
|
|
10611
|
-
return
|
|
10348
|
+
return React.createElement(Media, { node: node, client: client });
|
|
10612
10349
|
},
|
|
10613
10350
|
iframe: function iframe(_ref10) {
|
|
10614
10351
|
var node = _ref10.node;
|
|
10615
10352
|
|
|
10616
|
-
return
|
|
10353
|
+
return React.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10617
10354
|
},
|
|
10618
10355
|
video: function video(_ref11) {
|
|
10619
10356
|
var node = _ref11.node;
|
|
10620
10357
|
|
|
10621
|
-
return
|
|
10358
|
+
return React.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10622
10359
|
},
|
|
10623
10360
|
audio: function audio(_ref12) {
|
|
10624
10361
|
var node = _ref12.node;
|
|
10625
10362
|
|
|
10626
|
-
return
|
|
10363
|
+
return React.createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10627
10364
|
},
|
|
10628
10365
|
poll: function poll(_ref13) {
|
|
10629
10366
|
var node = _ref13.node;
|
|
10630
10367
|
|
|
10631
|
-
return
|
|
10368
|
+
return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10632
10369
|
},
|
|
10633
10370
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10634
10371
|
var node = _ref14.node;
|
|
10635
10372
|
|
|
10636
|
-
return
|
|
10373
|
+
return React.createElement(Poll$1, {
|
|
10637
10374
|
node: node,
|
|
10638
10375
|
client: client,
|
|
10639
10376
|
pageview: pageview,
|
|
@@ -10647,35 +10384,35 @@ var getSerializers = function getSerializers() {
|
|
|
10647
10384
|
var node = _ref15.node;
|
|
10648
10385
|
var quizzes = node.quizzes;
|
|
10649
10386
|
|
|
10650
|
-
return
|
|
10387
|
+
return React.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10651
10388
|
},
|
|
10652
10389
|
leads: function leads(_ref16) {
|
|
10653
10390
|
var node = _ref16.node;
|
|
10654
10391
|
var leadID = node.leadID;
|
|
10655
10392
|
|
|
10656
10393
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10657
|
-
return
|
|
10394
|
+
return React.createElement(Leads, { url: url });
|
|
10658
10395
|
},
|
|
10659
10396
|
slideshows: function slideshows(_ref17) {
|
|
10660
10397
|
var node = _ref17.node;
|
|
10661
10398
|
|
|
10662
|
-
return
|
|
10399
|
+
return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10663
10400
|
},
|
|
10664
10401
|
nativeAd: function nativeAd(_ref18) {
|
|
10665
10402
|
var node = _ref18.node;
|
|
10666
10403
|
|
|
10667
|
-
return
|
|
10404
|
+
return React.createElement(NativeAd, { node: node });
|
|
10668
10405
|
},
|
|
10669
10406
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10670
10407
|
var node = _ref19.node;
|
|
10671
10408
|
|
|
10672
|
-
return
|
|
10409
|
+
return React.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10673
10410
|
},
|
|
10674
10411
|
hrtag: function hrtag() {
|
|
10675
|
-
return
|
|
10412
|
+
return React.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10676
10413
|
},
|
|
10677
10414
|
brtag: function brtag() {
|
|
10678
|
-
return
|
|
10415
|
+
return React.createElement('br', { className: 'line-break' });
|
|
10679
10416
|
},
|
|
10680
10417
|
formstack: function formstack(_ref20) {
|
|
10681
10418
|
var node = _ref20.node;
|
|
@@ -10683,30 +10420,30 @@ var getSerializers = function getSerializers() {
|
|
|
10683
10420
|
Caption = node.Caption,
|
|
10684
10421
|
needSegmentSupport = node.needSegmentSupport;
|
|
10685
10422
|
|
|
10686
|
-
return
|
|
10423
|
+
return React.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10687
10424
|
},
|
|
10688
10425
|
formassembly: FormAssembly,
|
|
10689
10426
|
digiohSmartTag: DigiohSmartTag,
|
|
10690
10427
|
multimedia: function multimedia(_ref21) {
|
|
10691
10428
|
var node = _ref21.node;
|
|
10692
10429
|
|
|
10693
|
-
return
|
|
10430
|
+
return React.createElement(MultiMedia, { node: node, client: client });
|
|
10694
10431
|
},
|
|
10695
10432
|
blockTable: function blockTable(_ref22) {
|
|
10696
10433
|
var node = _ref22.node;
|
|
10697
|
-
return
|
|
10434
|
+
return React.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10698
10435
|
}
|
|
10699
10436
|
},
|
|
10700
10437
|
marks: {
|
|
10701
10438
|
superscript: function superscript(props) {
|
|
10702
|
-
return
|
|
10439
|
+
return React.createElement(
|
|
10703
10440
|
'sup',
|
|
10704
10441
|
null,
|
|
10705
10442
|
props.children
|
|
10706
10443
|
);
|
|
10707
10444
|
},
|
|
10708
10445
|
subscript: function subscript(props) {
|
|
10709
|
-
return
|
|
10446
|
+
return React.createElement(
|
|
10710
10447
|
'sub',
|
|
10711
10448
|
null,
|
|
10712
10449
|
props.children
|
|
@@ -10716,11 +10453,11 @@ var getSerializers = function getSerializers() {
|
|
|
10716
10453
|
var children = props.children,
|
|
10717
10454
|
mark = props.mark;
|
|
10718
10455
|
|
|
10719
|
-
return
|
|
10456
|
+
return React.createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10720
10457
|
},
|
|
10721
10458
|
alignleft: function alignleft(_ref23) {
|
|
10722
10459
|
var children = _ref23.children;
|
|
10723
|
-
return
|
|
10460
|
+
return React.createElement(
|
|
10724
10461
|
'div',
|
|
10725
10462
|
{ style: { textAlign: 'left' } },
|
|
10726
10463
|
children
|
|
@@ -10728,7 +10465,7 @@ var getSerializers = function getSerializers() {
|
|
|
10728
10465
|
},
|
|
10729
10466
|
alignright: function alignright(_ref24) {
|
|
10730
10467
|
var children = _ref24.children;
|
|
10731
|
-
return
|
|
10468
|
+
return React.createElement(
|
|
10732
10469
|
'div',
|
|
10733
10470
|
{ style: { textAlign: 'right' } },
|
|
10734
10471
|
children
|
|
@@ -10736,7 +10473,7 @@ var getSerializers = function getSerializers() {
|
|
|
10736
10473
|
},
|
|
10737
10474
|
aligncenter: function aligncenter(_ref25) {
|
|
10738
10475
|
var children = _ref25.children;
|
|
10739
|
-
return
|
|
10476
|
+
return React.createElement(
|
|
10740
10477
|
'div',
|
|
10741
10478
|
{ style: { textAlign: 'center' } },
|
|
10742
10479
|
children
|
|
@@ -10744,7 +10481,7 @@ var getSerializers = function getSerializers() {
|
|
|
10744
10481
|
},
|
|
10745
10482
|
alignjustify: function alignjustify(_ref26) {
|
|
10746
10483
|
var children = _ref26.children;
|
|
10747
|
-
return
|
|
10484
|
+
return React.createElement(
|
|
10748
10485
|
'div',
|
|
10749
10486
|
{ style: { textAlign: 'justify' } },
|
|
10750
10487
|
children
|
|
@@ -10754,7 +10491,7 @@ var getSerializers = function getSerializers() {
|
|
|
10754
10491
|
var children = props.children,
|
|
10755
10492
|
color = props.mark.color;
|
|
10756
10493
|
|
|
10757
|
-
return
|
|
10494
|
+
return React.createElement(
|
|
10758
10495
|
'span',
|
|
10759
10496
|
{ style: { color: color ? color.hex : null } },
|
|
10760
10497
|
children
|