@mjhls/mjh-framework 1.0.934 → 1.0.935-segment-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +22 -21
- package/dist/cjs/AD300x250x600.js +22 -21
- package/dist/cjs/AD728x90.js +25 -24
- package/dist/cjs/ADFloatingFooter.js +21 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +21 -20
- package/dist/cjs/{ADInfeed-a4d973da.js → ADInfeed-44d43b8a.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +21 -20
- package/dist/cjs/ADSponsoredResources.js +21 -20
- package/dist/cjs/ADWebcast.js +21 -20
- package/dist/cjs/ADWelcome.js +18 -17
- package/dist/cjs/{ADlgInfeed-def2c25d.js → ADlgInfeed-24d739f6.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +20 -19
- package/dist/cjs/AdSlotsProvider.js +12 -11
- package/dist/cjs/AlgoliaSearch.js +14178 -31
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +30 -29
- package/dist/cjs/ArticleSeriesListing.js +31 -30
- package/dist/cjs/Auth.js +482 -346
- package/dist/cjs/AuthWrapper.js +1766 -13
- package/dist/cjs/{AuthorComponent-17e1c62b.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-9ebd251f.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +23 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +31 -30
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +38 -37
- package/dist/cjs/DeckContent.js +32 -31
- package/dist/cjs/DeckQueue.js +30 -29
- package/dist/cjs/DeckQueuePaginated.js +34 -33
- package/dist/cjs/{Dfp-bcaa7e3f.js → Dfp-9be904d5.js} +13 -12
- package/dist/cjs/EventsDeck.js +26 -26
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +46 -45
- package/dist/cjs/GridContentPaginated.js +47 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +48 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-6c00b878.js +2813 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +56 -56
- package/dist/cjs/LeftNav.js +20 -19
- package/dist/cjs/MasterDeck.js +31 -30
- package/dist/cjs/MasterDeckPaginated.js +34 -33
- package/dist/cjs/{MediaSeriesCard-2e1f34e6.js → MediaSeriesCard-659279e0.js} +1002 -799
- package/dist/cjs/MediaSeriesLanding.js +52 -51
- package/dist/cjs/MediaSeriesLandingPaginated.js +58 -57
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +29 -29
- package/dist/cjs/NavNative.js +30 -30
- 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-a2807e27.js → Pagination-885dcfbd.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +63 -62
- package/dist/cjs/PartnerDetailListingPaginated.js +63 -62
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +33 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-6f89fb97.js → PublicationFeature-5ccf9b13.js} +2 -2
- package/dist/cjs/PublicationLanding.js +31 -27
- package/dist/cjs/QueueDeckExpanded.js +36 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +39 -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 +18 -17
- package/dist/cjs/{SeriesSlider-88e59074.js → SeriesSlider-ba0c5d1a.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-af6ddcc0.js → SocialSearchComponent-b7faaedc.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +46 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +36 -35
- package/dist/cjs/VideoSeriesListing.js +31 -30
- package/dist/cjs/View.js +461 -124
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{entities-310b46ee.js → entities-df1aed86.js} +5 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-7df78678.js → extends-7c86182f.js} +8 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +132 -68
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-1359b868.js → getTargeting-3c5754ac.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-cda68ef1.js → index-c991e29a.js} +410 -159
- package/dist/cjs/{index-b5eb3ff8.js → index-d48b231c.js} +11 -6
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-44481153.js → index-fc2f1ca2.js} +42 -488
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-f93506ac.js → index.esm-d51c9ac6.js} +1 -1
- package/dist/cjs/{index.esm-48e0f0d8.js → index.esm-d81454e7.js} +1 -1
- package/dist/cjs/index.js +147 -145
- package/dist/cjs/{inherits-420ee86f.js → inherits-de66ea16.js} +21 -18
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/{typeof-ec08d471.js → typeof-567e31ff.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-ad96158c.js → urlForFile-29d3815a.js} +1 -1
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +25 -24
- package/dist/esm/AD300x250x600.js +25 -24
- package/dist/esm/AD728x90.js +28 -27
- package/dist/esm/ADFloatingFooter.js +27 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +27 -26
- package/dist/esm/{ADInfeed-f3a93040.js → ADInfeed-7af1f934.js} +9 -9
- package/dist/esm/ADSkyscraper.js +27 -26
- package/dist/esm/ADSponsoredResources.js +27 -26
- package/dist/esm/ADWebcast.js +27 -26
- package/dist/esm/ADWelcome.js +28 -27
- package/dist/esm/{ADlgInfeed-c4814c4e.js → ADlgInfeed-ebcafb85.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +23 -22
- package/dist/esm/AdSlotsProvider.js +13 -12
- package/dist/esm/AlgoliaSearch.js +14202 -55
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +36 -35
- package/dist/esm/ArticleSeriesListing.js +55 -54
- package/dist/esm/Auth.js +553 -417
- package/dist/esm/AuthWrapper.js +1780 -26
- package/dist/esm/{AuthorComponent-37ebc2bd.js → AuthorComponent-11adff02.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-1e73bd2c.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +78 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +50 -49
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +73 -72
- package/dist/esm/DeckContent.js +77 -76
- package/dist/esm/DeckQueue.js +68 -67
- package/dist/esm/DeckQueuePaginated.js +64 -63
- package/dist/esm/{Dfp-23281963.js → Dfp-102f0beb.js} +21 -20
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +143 -142
- package/dist/esm/GridContentPaginated.js +134 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +70 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-f84174cb.js +2804 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +64 -64
- package/dist/esm/LeftNav.js +33 -32
- package/dist/esm/MasterDeck.js +64 -63
- package/dist/esm/MasterDeckPaginated.js +56 -55
- package/dist/esm/{MediaSeriesCard-4ba5bde7.js → MediaSeriesCard-06c6251a.js} +1002 -799
- package/dist/esm/MediaSeriesLanding.js +77 -76
- package/dist/esm/MediaSeriesLandingPaginated.js +81 -80
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +101 -101
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-185dfca0.js → Pagination-59436882.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +96 -95
- package/dist/esm/PartnerDetailListingPaginated.js +94 -93
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +38 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-d79db241.js → PublicationFeature-d88e76b9.js} +23 -23
- package/dist/esm/PublicationLanding.js +78 -74
- package/dist/esm/QueueDeckExpanded.js +274 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +254 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +31 -30
- package/dist/esm/{SeriesSlider-0a8cfca0.js → SeriesSlider-45adb8dc.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-32ee0f63.js → SocialSearchComponent-4b56cd8c.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +66 -65
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +64 -64
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +41 -40
- package/dist/esm/VideoSeriesListing.js +71 -70
- package/dist/esm/View.js +613 -276
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-4df618a6.js → _is-array-8d21b9e3.js} +6 -6
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-98db3b07.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-7cee6f84.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-2300e51b.js} +2 -2
- package/dist/esm/{asyncToGenerator-64812e90.js → asyncToGenerator-958ef5fc.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-ea258bb1.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/define-property-5f1bda73.js +18 -0
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8c30428f.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-6d9154b4.js} +5 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-a4230287.js → extends-6d8e3924.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +133 -69
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/{getTargeting-ba1ffe43.js → getTargeting-42f9b439.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-51a80699.js → index-3f5c03b2.js} +11 -6
- package/dist/esm/{index-85bb0372.js → index-6dc67bdb.js} +821 -569
- package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
- package/dist/esm/{index-fa2ffe86.js → index-79cfd25c.js} +44 -45
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-1819118a.js → index-f0fc23eb.js} +44 -490
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-d1125763.js → index.esm-1bd8a0a8.js} +1 -1
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-55f22b35.js → index.esm-eb1e8e80.js} +1 -1
- package/dist/esm/index.js +173 -171
- package/dist/esm/{inherits-91a2c374.js → inherits-a6ba2ec4.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-69989821.js → keys-31dcdb31.js} +6 -6
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-1894c974.js +961 -0
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
- package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-6ebcbfea.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-2b084bee.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-f7074d7c.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/{typeof-f1b7564e.js → typeof-e9fc0c5d.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-d2a27665.js → urlForFile-b69adffc.js} +1 -1
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-d3714624.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-ab4dea5c.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/esm/ImageSlider-522a2cd0.js +0 -1375
- package/dist/esm/define-property-6d26cb48.js +0 -18
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/stringify-70b72959.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
|
@@ -1,46 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-91a2c374.js';
|
|
6
|
-
import { _ as _typeof$1 } from './typeof-f1b7564e.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-67a08c9c.js';
|
|
1
|
+
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
2
|
+
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
3
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
4
|
+
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
15
5
|
import urlFor from './urlFor.js';
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import { h as html_decode_1 } from './entities-7cc3bf45.js';
|
|
19
|
-
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
20
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64812e90.js';
|
|
21
|
-
import Segment from './Segment.js';
|
|
22
|
-
import './Beam.js';
|
|
23
|
-
import DFPAdSlot from './AdSlot.js';
|
|
24
|
-
import Button from 'react-bootstrap/Button';
|
|
25
|
-
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
6
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
|
+
import Router, { useRouter } from 'next/router';
|
|
26
8
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
+
import { u as util } from './util-8ed16d48.js';
|
|
12
|
+
import './Beam.js';
|
|
13
|
+
import Segment from './Segment.js';
|
|
14
|
+
import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
|
|
15
|
+
import { B as BlockContent } from './BlockContent-1e73bd2c.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';
|
|
33
22
|
import Modal from 'react-bootstrap/Modal';
|
|
23
|
+
import Button from 'react-bootstrap/Button';
|
|
34
24
|
import Form from 'react-bootstrap/Form';
|
|
35
|
-
import
|
|
25
|
+
import GroupDeck from './GroupDeck.js';
|
|
26
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
36
27
|
import SocialShare from './SocialShare.js';
|
|
37
|
-
import { _ as
|
|
28
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
29
|
+
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
30
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
38
31
|
import Pagination from 'react-bootstrap/Pagination';
|
|
32
|
+
import { h as html_decode_1 } from './entities-6d9154b4.js';
|
|
33
|
+
import DFPAdSlot from './AdSlot.js';
|
|
34
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
35
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
36
|
+
import Head from 'next/head';
|
|
37
|
+
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';
|
|
38
|
+
import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
|
|
39
39
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
40
40
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
41
41
|
import Tooltip from 'react-bootstrap/Tooltip';
|
|
42
42
|
import Popover from 'react-bootstrap/Popover';
|
|
43
|
-
import ScriptTag from 'react-script-tag';
|
|
44
43
|
|
|
45
44
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
46
45
|
var pageNumber = selectedIndex + 1;
|
|
@@ -48,7 +47,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
48
47
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
49
48
|
};
|
|
50
49
|
|
|
51
|
-
var Slideshow = function Slideshow(_ref) {
|
|
50
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
52
51
|
var slides = _ref.slides,
|
|
53
52
|
client = _ref.client,
|
|
54
53
|
pageview = _ref.pageview;
|
|
@@ -75,27 +74,27 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
75
74
|
if (pageview) pageview(router.asPath);
|
|
76
75
|
}, [router]);
|
|
77
76
|
|
|
78
|
-
return
|
|
77
|
+
return React__default.createElement(
|
|
79
78
|
'div',
|
|
80
79
|
{ className: 'mt-3 mb-3' },
|
|
81
|
-
|
|
80
|
+
React__default.createElement(
|
|
82
81
|
Carousel,
|
|
83
82
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
84
83
|
return onChangeSlide(selectedIndex, router);
|
|
85
84
|
}, interval: null },
|
|
86
85
|
slides && slides.map(function (slide) {
|
|
87
|
-
return
|
|
86
|
+
return React__default.createElement(
|
|
88
87
|
Carousel.Item,
|
|
89
88
|
{ key: slide._key },
|
|
90
|
-
|
|
89
|
+
React__default.createElement(
|
|
91
90
|
'picture',
|
|
92
91
|
null,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
93
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
94
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
95
|
+
React__default.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
97
96
|
),
|
|
98
|
-
slide.caption &&
|
|
97
|
+
slide.caption && React__default.createElement(
|
|
99
98
|
'p',
|
|
100
99
|
{ className: 'p-2' },
|
|
101
100
|
slide.caption
|
|
@@ -685,14 +684,14 @@ function coerce(val) {
|
|
|
685
684
|
return val;
|
|
686
685
|
}
|
|
687
686
|
});
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
687
|
+
debug.coerce;
|
|
688
|
+
debug.disable;
|
|
689
|
+
debug.enable;
|
|
690
|
+
debug.enabled;
|
|
691
|
+
debug.humanize;
|
|
692
|
+
debug.names;
|
|
693
|
+
debug.skips;
|
|
694
|
+
debug.formatters;
|
|
696
695
|
|
|
697
696
|
var browser = createCommonjsModule(function (module, exports) {
|
|
698
697
|
/**
|
|
@@ -881,13 +880,13 @@ function localstorage() {
|
|
|
881
880
|
} catch (e) {}
|
|
882
881
|
}
|
|
883
882
|
});
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
883
|
+
browser.log;
|
|
884
|
+
browser.formatArgs;
|
|
885
|
+
browser.save;
|
|
886
|
+
browser.load;
|
|
887
|
+
browser.useColors;
|
|
888
|
+
browser.storage;
|
|
889
|
+
browser.colors;
|
|
891
890
|
|
|
892
891
|
// MIT lisence
|
|
893
892
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1162,14 +1161,14 @@ function init (debug) {
|
|
|
1162
1161
|
|
|
1163
1162
|
exports.enable(load());
|
|
1164
1163
|
});
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1164
|
+
node.init;
|
|
1165
|
+
node.log;
|
|
1166
|
+
node.formatArgs;
|
|
1167
|
+
node.save;
|
|
1168
|
+
node.load;
|
|
1169
|
+
node.useColors;
|
|
1170
|
+
node.colors;
|
|
1171
|
+
node.inspectOpts;
|
|
1173
1172
|
|
|
1174
1173
|
var src = createCommonjsModule(function (module) {
|
|
1175
1174
|
/**
|
|
@@ -1627,11 +1626,11 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1627
1626
|
|
|
1628
1627
|
function filterResetOptions(opts) {
|
|
1629
1628
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1630
|
-
playerVars: _objectSpread(
|
|
1629
|
+
playerVars: _objectSpread({
|
|
1631
1630
|
autoplay: 0,
|
|
1632
1631
|
start: 0,
|
|
1633
1632
|
end: 0
|
|
1634
|
-
})
|
|
1633
|
+
}, opts.playerVars)
|
|
1635
1634
|
});
|
|
1636
1635
|
}
|
|
1637
1636
|
/**
|
|
@@ -1837,9 +1836,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1837
1836
|
}, {
|
|
1838
1837
|
key: "render",
|
|
1839
1838
|
value: function render() {
|
|
1840
|
-
return /*#__PURE__*/
|
|
1839
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1841
1840
|
className: this.props.containerClassName
|
|
1842
|
-
}, /*#__PURE__*/
|
|
1841
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1843
1842
|
id: this.props.id,
|
|
1844
1843
|
className: this.props.className,
|
|
1845
1844
|
ref: this.refContainer
|
|
@@ -1848,7 +1847,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1848
1847
|
}]);
|
|
1849
1848
|
|
|
1850
1849
|
return YouTube;
|
|
1851
|
-
}(
|
|
1850
|
+
}(React__default.Component);
|
|
1852
1851
|
|
|
1853
1852
|
_defineProperty(YouTube, "PlayerState", {
|
|
1854
1853
|
UNSTARTED: -1,
|
|
@@ -1933,7 +1932,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1933
1932
|
var queue = Math.floor(duration / 10);
|
|
1934
1933
|
var segment = Math.floor(current / queue);
|
|
1935
1934
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
1936
|
-
Segment.report_video_event('Video Ready',
|
|
1935
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment);
|
|
1937
1936
|
};
|
|
1938
1937
|
|
|
1939
1938
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1944,7 +1943,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1944
1943
|
|
|
1945
1944
|
if (!queueProgress.includes(segment)) {
|
|
1946
1945
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
1947
|
-
Segment.report_video_event('Video Segment',
|
|
1946
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment);
|
|
1948
1947
|
queueProgress.push(segment);
|
|
1949
1948
|
}
|
|
1950
1949
|
};
|
|
@@ -1958,7 +1957,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1958
1957
|
var segment = Math.floor(current / queue);
|
|
1959
1958
|
|
|
1960
1959
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
1961
|
-
Segment.report_video_event('Video Play',
|
|
1960
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment);
|
|
1962
1961
|
|
|
1963
1962
|
if (!playReported) {
|
|
1964
1963
|
setPlayReported(true);
|
|
@@ -1978,7 +1977,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1978
1977
|
var segment = Math.floor(current / queue);
|
|
1979
1978
|
|
|
1980
1979
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
1981
|
-
Segment.report_video_event('Video End',
|
|
1980
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment);
|
|
1982
1981
|
setEndReported(true);
|
|
1983
1982
|
clearInterval(intervalID);
|
|
1984
1983
|
}
|
|
@@ -1992,14 +1991,14 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1992
1991
|
var segment = Math.floor(current / queue);
|
|
1993
1992
|
|
|
1994
1993
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
1995
|
-
Segment.report_video_event('Video Pause',
|
|
1994
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
1996
1995
|
};
|
|
1997
1996
|
|
|
1998
|
-
return
|
|
1997
|
+
return React__default.createElement(
|
|
1999
1998
|
'div',
|
|
2000
1999
|
{ id: 'fluid-video-container' },
|
|
2001
|
-
|
|
2002
|
-
|
|
2000
|
+
React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2001
|
+
React__default.createElement(
|
|
2003
2002
|
'style',
|
|
2004
2003
|
{ jsx: 'true' },
|
|
2005
2004
|
'\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 '
|
|
@@ -2012,20 +2011,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2012
2011
|
content = _ref.content,
|
|
2013
2012
|
getSerializers = _ref.getSerializers;
|
|
2014
2013
|
|
|
2015
|
-
return
|
|
2014
|
+
return React__default.createElement(
|
|
2016
2015
|
'article',
|
|
2017
2016
|
{ className: 'sidebar' },
|
|
2018
|
-
|
|
2017
|
+
React__default.createElement(
|
|
2019
2018
|
'div',
|
|
2020
2019
|
null,
|
|
2021
|
-
|
|
2020
|
+
React__default.createElement(
|
|
2022
2021
|
'h3',
|
|
2023
2022
|
null,
|
|
2024
2023
|
caption
|
|
2025
2024
|
),
|
|
2026
|
-
|
|
2025
|
+
React__default.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2027
2026
|
),
|
|
2028
|
-
|
|
2027
|
+
React__default.createElement(
|
|
2029
2028
|
'style',
|
|
2030
2029
|
{ jsx: 'true' },
|
|
2031
2030
|
'\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 '
|
|
@@ -2036,18 +2035,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2036
2035
|
var TableShow = function TableShow(_ref) {
|
|
2037
2036
|
var rows = _ref.rows;
|
|
2038
2037
|
|
|
2039
|
-
return
|
|
2038
|
+
return React__default.createElement(
|
|
2040
2039
|
Table,
|
|
2041
2040
|
{ bordered: true, hover: true, responsive: true },
|
|
2042
|
-
|
|
2041
|
+
React__default.createElement(
|
|
2043
2042
|
'tbody',
|
|
2044
2043
|
null,
|
|
2045
2044
|
rows && rows.map(function (row) {
|
|
2046
|
-
return
|
|
2045
|
+
return React__default.createElement(
|
|
2047
2046
|
'tr',
|
|
2048
2047
|
{ key: row._key },
|
|
2049
2048
|
row.cells && row.cells.map(function (cell, index) {
|
|
2050
|
-
return cell &&
|
|
2049
|
+
return cell && React__default.createElement(
|
|
2051
2050
|
'td',
|
|
2052
2051
|
{ key: index },
|
|
2053
2052
|
cell
|
|
@@ -2145,25 +2144,25 @@ var Media = function Media(_ref) {
|
|
|
2145
2144
|
margin: imageMargin
|
|
2146
2145
|
};
|
|
2147
2146
|
|
|
2148
|
-
return
|
|
2147
|
+
return React__default.createElement(
|
|
2149
2148
|
Figure$1,
|
|
2150
2149
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2151
|
-
|
|
2150
|
+
React__default.createElement(
|
|
2152
2151
|
'a',
|
|
2153
2152
|
{ href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2154
|
-
|
|
2153
|
+
React__default.createElement(
|
|
2155
2154
|
LazyLoad,
|
|
2156
2155
|
{ once: true },
|
|
2157
|
-
|
|
2156
|
+
React__default.createElement(
|
|
2158
2157
|
'picture',
|
|
2159
2158
|
null,
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2159
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2160
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2161
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2162
|
+
React__default.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2164
2163
|
)
|
|
2165
2164
|
),
|
|
2166
|
-
caption &&
|
|
2165
|
+
caption && React__default.createElement(
|
|
2167
2166
|
Figure$1.Caption,
|
|
2168
2167
|
{ className: 'media-caption' },
|
|
2169
2168
|
caption
|
|
@@ -2171,7 +2170,7 @@ var Media = function Media(_ref) {
|
|
|
2171
2170
|
)
|
|
2172
2171
|
);
|
|
2173
2172
|
} else if (caption && caption !== '') {
|
|
2174
|
-
return
|
|
2173
|
+
return React__default.createElement(
|
|
2175
2174
|
'a',
|
|
2176
2175
|
_extends({}, uploadDoc.downloadMedia ? {
|
|
2177
2176
|
href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2191,10 +2190,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2191
2190
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2192
2191
|
|
|
2193
2192
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2194
|
-
return
|
|
2193
|
+
return React__default.createElement(
|
|
2195
2194
|
'div',
|
|
2196
2195
|
{ className: 'd-block text-center mb-3' },
|
|
2197
|
-
|
|
2196
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2198
2197
|
);
|
|
2199
2198
|
};
|
|
2200
2199
|
|
|
@@ -2204,7 +2203,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2204
2203
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2205
2204
|
|
|
2206
2205
|
var choiceArray = choices.map(function (choice) {
|
|
2207
|
-
return
|
|
2206
|
+
return React__default.createElement(Form.Check, {
|
|
2208
2207
|
inline: true,
|
|
2209
2208
|
label: choice.choiceText,
|
|
2210
2209
|
value: choice.choiceText,
|
|
@@ -2214,19 +2213,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2214
2213
|
onClick: handlePollAnswer
|
|
2215
2214
|
});
|
|
2216
2215
|
});
|
|
2217
|
-
return
|
|
2216
|
+
return React__default.createElement(
|
|
2218
2217
|
'div',
|
|
2219
2218
|
{
|
|
2220
2219
|
key: 'inline-radio',
|
|
2221
2220
|
className: 'mb-3' },
|
|
2222
|
-
|
|
2221
|
+
React__default.createElement(
|
|
2223
2222
|
'h2',
|
|
2224
2223
|
{
|
|
2225
2224
|
className: 'radioLabelText'
|
|
2226
2225
|
},
|
|
2227
2226
|
question
|
|
2228
2227
|
),
|
|
2229
|
-
|
|
2228
|
+
React__default.createElement(
|
|
2230
2229
|
'div',
|
|
2231
2230
|
{
|
|
2232
2231
|
className: 'multiChoiceDiv'
|
|
@@ -2241,19 +2240,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2241
2240
|
textAnswer = _ref.textAnswer,
|
|
2242
2241
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2243
2242
|
|
|
2244
|
-
return
|
|
2243
|
+
return React__default.createElement(
|
|
2245
2244
|
'div',
|
|
2246
2245
|
{
|
|
2247
2246
|
className: 'textInputDiv'
|
|
2248
2247
|
},
|
|
2249
|
-
|
|
2248
|
+
React__default.createElement(
|
|
2250
2249
|
'h2',
|
|
2251
2250
|
{
|
|
2252
2251
|
className: 'textInputQuestion'
|
|
2253
2252
|
},
|
|
2254
2253
|
textInputQuestion
|
|
2255
2254
|
),
|
|
2256
|
-
|
|
2255
|
+
React__default.createElement(Form.Control, {
|
|
2257
2256
|
type: 'text',
|
|
2258
2257
|
className: 'textInput',
|
|
2259
2258
|
value: textAnswer,
|
|
@@ -2363,7 +2362,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2363
2362
|
var pollArray = [];
|
|
2364
2363
|
pollItems.forEach(function (item, ind) {
|
|
2365
2364
|
if (item.format === 'multiChoice') {
|
|
2366
|
-
pollArray.push(
|
|
2365
|
+
pollArray.push(React__default.createElement(PopupMultiChoice, {
|
|
2367
2366
|
question: item.question,
|
|
2368
2367
|
choices: item.choices,
|
|
2369
2368
|
handlePollAnswer: handlePollAnswer,
|
|
@@ -2371,7 +2370,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2371
2370
|
}));
|
|
2372
2371
|
}
|
|
2373
2372
|
if (item.format === 'textInput') {
|
|
2374
|
-
pollArray.push(
|
|
2373
|
+
pollArray.push(React__default.createElement(PopupPollTextInput, {
|
|
2375
2374
|
textInputQuestion: item.question,
|
|
2376
2375
|
textanswer: textAnswer,
|
|
2377
2376
|
handleTextAnswer: handleTextAnswer,
|
|
@@ -2380,26 +2379,26 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2380
2379
|
}
|
|
2381
2380
|
});
|
|
2382
2381
|
|
|
2383
|
-
return
|
|
2382
|
+
return React__default.createElement(
|
|
2384
2383
|
'div',
|
|
2385
2384
|
{
|
|
2386
2385
|
className: 'modalDiv',
|
|
2387
2386
|
id: 'modalDiv'
|
|
2388
2387
|
},
|
|
2389
|
-
|
|
2388
|
+
React__default.createElement(
|
|
2390
2389
|
Modal.Dialog,
|
|
2391
2390
|
null,
|
|
2392
|
-
|
|
2391
|
+
React__default.createElement(
|
|
2393
2392
|
Modal.Body,
|
|
2394
2393
|
null,
|
|
2395
|
-
|
|
2394
|
+
React__default.createElement(
|
|
2396
2395
|
Form,
|
|
2397
2396
|
{
|
|
2398
2397
|
onSubmit: handleSubmit,
|
|
2399
2398
|
className: 'modalForm'
|
|
2400
2399
|
},
|
|
2401
2400
|
pollArray,
|
|
2402
|
-
textInputRender && !multiChoiceRender ?
|
|
2401
|
+
textInputRender && !multiChoiceRender ? React__default.createElement(
|
|
2403
2402
|
Button,
|
|
2404
2403
|
{
|
|
2405
2404
|
className: 'submitButton',
|
|
@@ -2408,7 +2407,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2408
2407
|
disabled: !textAnswer
|
|
2409
2408
|
},
|
|
2410
2409
|
'Submit'
|
|
2411
|
-
) :
|
|
2410
|
+
) : React__default.createElement(
|
|
2412
2411
|
Button,
|
|
2413
2412
|
{
|
|
2414
2413
|
className: 'submitButton',
|
|
@@ -2494,7 +2493,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2494
2493
|
var queue = Math.floor(duration / 10);
|
|
2495
2494
|
var segment = Math.floor(current / queue);
|
|
2496
2495
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2497
|
-
Segment.report_video_event('Video Ready',
|
|
2496
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
|
|
2498
2497
|
};
|
|
2499
2498
|
|
|
2500
2499
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2504,7 +2503,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2504
2503
|
var segment = Math.floor(current / queue);
|
|
2505
2504
|
if (!queueProgress.includes(segment)) {
|
|
2506
2505
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2507
|
-
Segment.report_video_event('Video Segment',
|
|
2506
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
|
|
2508
2507
|
queueProgress.push(segment);
|
|
2509
2508
|
}
|
|
2510
2509
|
};
|
|
@@ -2517,7 +2516,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2517
2516
|
var queue = Math.floor(duration / 10);
|
|
2518
2517
|
var segment = Math.floor(current / queue);
|
|
2519
2518
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2520
|
-
Segment.report_video_event('Video Play',
|
|
2519
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
|
|
2521
2520
|
if (!playReported) {
|
|
2522
2521
|
event.persist();
|
|
2523
2522
|
setPlayReported(true);
|
|
@@ -2560,7 +2559,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2560
2559
|
var segment = Math.floor(current / queue);
|
|
2561
2560
|
clearInterval(intId);
|
|
2562
2561
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2563
|
-
Segment.report_video_event('Video End',
|
|
2562
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
|
|
2564
2563
|
setEndReported(true);
|
|
2565
2564
|
clearInterval(intervalID);
|
|
2566
2565
|
}
|
|
@@ -2574,13 +2573,13 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2574
2573
|
var segment = Math.floor(current / queue);
|
|
2575
2574
|
clearInterval(intId);
|
|
2576
2575
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2577
|
-
Segment.report_video_event('Video Pause',
|
|
2576
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
|
|
2578
2577
|
};
|
|
2579
2578
|
|
|
2580
|
-
return
|
|
2579
|
+
return React__default.createElement(
|
|
2581
2580
|
'div',
|
|
2582
2581
|
null,
|
|
2583
|
-
isPollingTime ?
|
|
2582
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2584
2583
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2585
2584
|
, { pollItems: pollItems
|
|
2586
2585
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2594,7 +2593,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2594
2593
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2595
2594
|
, multiChoiceRender: multiChoiceRender
|
|
2596
2595
|
}) : null,
|
|
2597
|
-
vidLoaded &&
|
|
2596
|
+
vidLoaded && React__default.createElement(
|
|
2598
2597
|
'video',
|
|
2599
2598
|
{
|
|
2600
2599
|
poster: thumbnail || '',
|
|
@@ -2612,7 +2611,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2612
2611
|
onPlay: function onPlay(e) {
|
|
2613
2612
|
return handleOnPlay(e);
|
|
2614
2613
|
} },
|
|
2615
|
-
|
|
2614
|
+
React__default.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2616
2615
|
'Your browser does not support the video tag.'
|
|
2617
2616
|
)
|
|
2618
2617
|
);
|
|
@@ -2763,7 +2762,7 @@ var Video = function Video(_ref) {
|
|
|
2763
2762
|
}
|
|
2764
2763
|
|
|
2765
2764
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2766
|
-
Segment.report_video_event('Video Ready',
|
|
2765
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2767
2766
|
});
|
|
2768
2767
|
// let intId
|
|
2769
2768
|
// const convertTime = (timeStr) => {
|
|
@@ -2798,7 +2797,7 @@ var Video = function Video(_ref) {
|
|
|
2798
2797
|
}, 1000);
|
|
2799
2798
|
}
|
|
2800
2799
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2801
|
-
Segment.report_video_event('Video Play',
|
|
2800
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2802
2801
|
});
|
|
2803
2802
|
|
|
2804
2803
|
// pause
|
|
@@ -2809,7 +2808,7 @@ var Video = function Video(_ref) {
|
|
|
2809
2808
|
var segment = Math.floor(current / queue);
|
|
2810
2809
|
clearInterval(intId);
|
|
2811
2810
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2812
|
-
Segment.report_video_event('Video Pause',
|
|
2811
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2813
2812
|
});
|
|
2814
2813
|
|
|
2815
2814
|
// end
|
|
@@ -2820,7 +2819,7 @@ var Video = function Video(_ref) {
|
|
|
2820
2819
|
var segment = Math.floor(current / queue);
|
|
2821
2820
|
clearInterval(intId);
|
|
2822
2821
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2823
|
-
Segment.report_video_event('Video End',
|
|
2822
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2824
2823
|
// This is for old series format
|
|
2825
2824
|
autoplayNextVideo(evt);
|
|
2826
2825
|
if (nextVideo) {
|
|
@@ -2836,7 +2835,7 @@ var Video = function Video(_ref) {
|
|
|
2836
2835
|
var segment = Math.floor(current / queue);
|
|
2837
2836
|
if (!queueProgress.includes(segment)) {
|
|
2838
2837
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2839
|
-
Segment.report_video_event('Video Segment',
|
|
2838
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2840
2839
|
queueProgress.push(segment);
|
|
2841
2840
|
}
|
|
2842
2841
|
});
|
|
@@ -2848,7 +2847,7 @@ var Video = function Video(_ref) {
|
|
|
2848
2847
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2849
2848
|
|
|
2850
2849
|
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2851
|
-
Segment.report_ad_event('Video Ad Started',
|
|
2850
|
+
Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2852
2851
|
});
|
|
2853
2852
|
|
|
2854
2853
|
// ad ended
|
|
@@ -2857,16 +2856,16 @@ var Video = function Video(_ref) {
|
|
|
2857
2856
|
// const id = player.ads.ad.id
|
|
2858
2857
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2859
2858
|
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2860
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
2859
|
+
Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2861
2860
|
});
|
|
2862
2861
|
};
|
|
2863
2862
|
|
|
2864
2863
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2865
2864
|
if (videoID) {
|
|
2866
|
-
return
|
|
2865
|
+
return React__default.createElement(
|
|
2867
2866
|
'div',
|
|
2868
2867
|
null,
|
|
2869
|
-
isPollingTime ?
|
|
2868
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2870
2869
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2871
2870
|
, { pollItems: pollItems
|
|
2872
2871
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2880,7 +2879,7 @@ var Video = function Video(_ref) {
|
|
|
2880
2879
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2881
2880
|
, multiChoiceRender: multiChoiceRender
|
|
2882
2881
|
}) : null,
|
|
2883
|
-
|
|
2882
|
+
React__default.createElement(ReactPlayerLoader, {
|
|
2884
2883
|
onSuccess: onVideoSuccess,
|
|
2885
2884
|
onFailure: onVideoFailure,
|
|
2886
2885
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2888,17 +2887,17 @@ var Video = function Video(_ref) {
|
|
|
2888
2887
|
playerId: accountIDs.brightcove.playerId,
|
|
2889
2888
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2890
2889
|
}),
|
|
2891
|
-
|
|
2890
|
+
React__default.createElement(
|
|
2892
2891
|
'style',
|
|
2893
2892
|
{ jsx: 'true' },
|
|
2894
2893
|
'\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 '
|
|
2895
2894
|
)
|
|
2896
2895
|
);
|
|
2897
2896
|
} else if (playlistID) {
|
|
2898
|
-
return
|
|
2897
|
+
return React__default.createElement(
|
|
2899
2898
|
'div',
|
|
2900
2899
|
null,
|
|
2901
|
-
isPollingTime ?
|
|
2900
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2902
2901
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2903
2902
|
, { pollItems: pollItems
|
|
2904
2903
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2912,7 +2911,7 @@ var Video = function Video(_ref) {
|
|
|
2912
2911
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2913
2912
|
, multiChoiceRender: multiChoiceRender
|
|
2914
2913
|
}) : null,
|
|
2915
|
-
|
|
2914
|
+
React__default.createElement(ReactPlayerLoader, {
|
|
2916
2915
|
accountId: accountIDs.brightcove.accountId,
|
|
2917
2916
|
playlistId: playlistID,
|
|
2918
2917
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2920,17 +2919,18 @@ var Video = function Video(_ref) {
|
|
|
2920
2919
|
onFailure: onVideoFailure,
|
|
2921
2920
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2922
2921
|
}),
|
|
2923
|
-
|
|
2922
|
+
React__default.createElement(
|
|
2924
2923
|
'style',
|
|
2925
2924
|
{ jsx: 'true' },
|
|
2926
2925
|
'\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 '
|
|
2927
2926
|
)
|
|
2928
2927
|
);
|
|
2929
2928
|
} else if (experienceID) {
|
|
2930
|
-
return
|
|
2929
|
+
return React__default.createElement(
|
|
2931
2930
|
'div',
|
|
2932
2931
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2933
|
-
|
|
2932
|
+
React__default.createElement('div', { 'data-experience': experienceID }),
|
|
2933
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2934
2934
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2935
2935
|
, { pollItems: pollItems
|
|
2936
2936
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2950,10 +2950,10 @@ var Video = function Video(_ref) {
|
|
|
2950
2950
|
}
|
|
2951
2951
|
|
|
2952
2952
|
if (source === 'mp4') {
|
|
2953
|
-
return
|
|
2953
|
+
return React__default.createElement(
|
|
2954
2954
|
'div',
|
|
2955
2955
|
null,
|
|
2956
|
-
|
|
2956
|
+
React__default.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2957
2957
|
);
|
|
2958
2958
|
}
|
|
2959
2959
|
|
|
@@ -3164,9 +3164,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3164
3164
|
});
|
|
3165
3165
|
|
|
3166
3166
|
unwrapExports(props);
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3167
|
+
props.DEPRECATED_CONFIG_PROPS;
|
|
3168
|
+
props.defaultProps;
|
|
3169
|
+
props.propTypes;
|
|
3170
3170
|
|
|
3171
3171
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3172
3172
|
return isNonNullObject(value)
|
|
@@ -3558,7 +3558,7 @@ function isEqual(a, b) {
|
|
|
3558
3558
|
return true;
|
|
3559
3559
|
}
|
|
3560
3560
|
|
|
3561
|
-
if ((0,
|
|
3561
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
3562
3562
|
return true;
|
|
3563
3563
|
}
|
|
3564
3564
|
|
|
@@ -3601,17 +3601,17 @@ function isMediaStream(url) {
|
|
|
3601
3601
|
});
|
|
3602
3602
|
|
|
3603
3603
|
unwrapExports(utils);
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3604
|
+
utils.parseStartTime;
|
|
3605
|
+
utils.parseEndTime;
|
|
3606
|
+
utils.randomString;
|
|
3607
|
+
utils.queryString;
|
|
3608
|
+
utils.getSDK;
|
|
3609
|
+
utils.getConfig;
|
|
3610
|
+
utils.omit;
|
|
3611
|
+
utils.callPlayer;
|
|
3612
|
+
utils.isObject;
|
|
3613
|
+
utils.isEqual;
|
|
3614
|
+
utils.isMediaStream;
|
|
3615
3615
|
|
|
3616
3616
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3617
3617
|
|
|
@@ -3620,7 +3620,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3620
3620
|
});
|
|
3621
3621
|
exports["default"] = void 0;
|
|
3622
3622
|
|
|
3623
|
-
var _react = _interopRequireWildcard(
|
|
3623
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3624
3624
|
|
|
3625
3625
|
|
|
3626
3626
|
|
|
@@ -4030,7 +4030,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4030
4030
|
});
|
|
4031
4031
|
exports["default"] = createSinglePlayer;
|
|
4032
4032
|
|
|
4033
|
-
var _react = _interopRequireWildcard(
|
|
4033
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4034
4034
|
|
|
4035
4035
|
|
|
4036
4036
|
|
|
@@ -4188,7 +4188,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4188
4188
|
});
|
|
4189
4189
|
exports["default"] = exports.YouTube = void 0;
|
|
4190
4190
|
|
|
4191
|
-
var _react = _interopRequireWildcard(
|
|
4191
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4192
4192
|
|
|
4193
4193
|
|
|
4194
4194
|
|
|
@@ -4488,7 +4488,7 @@ exports["default"] = _default;
|
|
|
4488
4488
|
});
|
|
4489
4489
|
|
|
4490
4490
|
unwrapExports(YouTube_1);
|
|
4491
|
-
|
|
4491
|
+
YouTube_1.YouTube;
|
|
4492
4492
|
|
|
4493
4493
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4494
4494
|
|
|
@@ -4497,7 +4497,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4497
4497
|
});
|
|
4498
4498
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4499
4499
|
|
|
4500
|
-
var _react = _interopRequireWildcard(
|
|
4500
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4501
4501
|
|
|
4502
4502
|
|
|
4503
4503
|
|
|
@@ -4705,7 +4705,7 @@ exports["default"] = _default;
|
|
|
4705
4705
|
});
|
|
4706
4706
|
|
|
4707
4707
|
unwrapExports(SoundCloud_1);
|
|
4708
|
-
|
|
4708
|
+
SoundCloud_1.SoundCloud;
|
|
4709
4709
|
|
|
4710
4710
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4711
4711
|
|
|
@@ -4714,7 +4714,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4714
4714
|
});
|
|
4715
4715
|
exports["default"] = exports.Vimeo = void 0;
|
|
4716
4716
|
|
|
4717
|
-
var _react = _interopRequireWildcard(
|
|
4717
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4718
4718
|
|
|
4719
4719
|
|
|
4720
4720
|
|
|
@@ -4961,7 +4961,7 @@ exports["default"] = _default;
|
|
|
4961
4961
|
});
|
|
4962
4962
|
|
|
4963
4963
|
unwrapExports(Vimeo_1);
|
|
4964
|
-
|
|
4964
|
+
Vimeo_1.Vimeo;
|
|
4965
4965
|
|
|
4966
4966
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
4967
4967
|
|
|
@@ -4970,7 +4970,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4970
4970
|
});
|
|
4971
4971
|
exports["default"] = exports.Facebook = void 0;
|
|
4972
4972
|
|
|
4973
|
-
var _react = _interopRequireWildcard(
|
|
4973
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4974
4974
|
|
|
4975
4975
|
|
|
4976
4976
|
|
|
@@ -5173,7 +5173,7 @@ exports["default"] = _default;
|
|
|
5173
5173
|
});
|
|
5174
5174
|
|
|
5175
5175
|
unwrapExports(Facebook_1);
|
|
5176
|
-
|
|
5176
|
+
Facebook_1.Facebook;
|
|
5177
5177
|
|
|
5178
5178
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
5179
5179
|
|
|
@@ -5182,7 +5182,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5182
5182
|
});
|
|
5183
5183
|
exports["default"] = exports.Streamable = void 0;
|
|
5184
5184
|
|
|
5185
|
-
var _react = _interopRequireWildcard(
|
|
5185
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5186
5186
|
|
|
5187
5187
|
|
|
5188
5188
|
|
|
@@ -5384,7 +5384,7 @@ exports["default"] = _default;
|
|
|
5384
5384
|
});
|
|
5385
5385
|
|
|
5386
5386
|
unwrapExports(Streamable_1);
|
|
5387
|
-
|
|
5387
|
+
Streamable_1.Streamable;
|
|
5388
5388
|
|
|
5389
5389
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
5390
5390
|
|
|
@@ -5393,7 +5393,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5393
5393
|
});
|
|
5394
5394
|
exports["default"] = exports.Wistia = void 0;
|
|
5395
5395
|
|
|
5396
|
-
var _react = _interopRequireWildcard(
|
|
5396
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5397
5397
|
|
|
5398
5398
|
|
|
5399
5399
|
|
|
@@ -5627,7 +5627,7 @@ exports["default"] = _default;
|
|
|
5627
5627
|
});
|
|
5628
5628
|
|
|
5629
5629
|
unwrapExports(Wistia_1);
|
|
5630
|
-
|
|
5630
|
+
Wistia_1.Wistia;
|
|
5631
5631
|
|
|
5632
5632
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5633
5633
|
|
|
@@ -5636,7 +5636,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5636
5636
|
});
|
|
5637
5637
|
exports["default"] = exports.Twitch = void 0;
|
|
5638
5638
|
|
|
5639
|
-
var _react = _interopRequireWildcard(
|
|
5639
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5640
5640
|
|
|
5641
5641
|
|
|
5642
5642
|
|
|
@@ -5843,7 +5843,7 @@ exports["default"] = _default;
|
|
|
5843
5843
|
});
|
|
5844
5844
|
|
|
5845
5845
|
unwrapExports(Twitch_1);
|
|
5846
|
-
|
|
5846
|
+
Twitch_1.Twitch;
|
|
5847
5847
|
|
|
5848
5848
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5849
5849
|
|
|
@@ -5852,7 +5852,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5852
5852
|
});
|
|
5853
5853
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5854
5854
|
|
|
5855
|
-
var _react = _interopRequireWildcard(
|
|
5855
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5856
5856
|
|
|
5857
5857
|
|
|
5858
5858
|
|
|
@@ -6079,7 +6079,7 @@ exports["default"] = _default;
|
|
|
6079
6079
|
});
|
|
6080
6080
|
|
|
6081
6081
|
unwrapExports(DailyMotion_1);
|
|
6082
|
-
|
|
6082
|
+
DailyMotion_1.DailyMotion;
|
|
6083
6083
|
|
|
6084
6084
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
6085
6085
|
|
|
@@ -6088,7 +6088,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6088
6088
|
});
|
|
6089
6089
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6090
6090
|
|
|
6091
|
-
var _react = _interopRequireWildcard(
|
|
6091
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6092
6092
|
|
|
6093
6093
|
|
|
6094
6094
|
|
|
@@ -6278,7 +6278,7 @@ exports["default"] = _default;
|
|
|
6278
6278
|
});
|
|
6279
6279
|
|
|
6280
6280
|
unwrapExports(Mixcloud_1);
|
|
6281
|
-
|
|
6281
|
+
Mixcloud_1.Mixcloud;
|
|
6282
6282
|
|
|
6283
6283
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
6284
6284
|
|
|
@@ -6287,7 +6287,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6287
6287
|
});
|
|
6288
6288
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6289
6289
|
|
|
6290
|
-
var _react = _interopRequireWildcard(
|
|
6290
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6291
6291
|
|
|
6292
6292
|
|
|
6293
6293
|
|
|
@@ -6812,7 +6812,7 @@ exports["default"] = _default;
|
|
|
6812
6812
|
});
|
|
6813
6813
|
|
|
6814
6814
|
unwrapExports(FilePlayer_1);
|
|
6815
|
-
|
|
6815
|
+
FilePlayer_1.FilePlayer;
|
|
6816
6816
|
|
|
6817
6817
|
var players = createCommonjsModule(function (module, exports) {
|
|
6818
6818
|
|
|
@@ -6854,7 +6854,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6854
6854
|
});
|
|
6855
6855
|
exports["default"] = void 0;
|
|
6856
6856
|
|
|
6857
|
-
var _react = _interopRequireWildcard(
|
|
6857
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6858
6858
|
|
|
6859
6859
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6860
6860
|
|
|
@@ -7033,7 +7033,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7033
7033
|
});
|
|
7034
7034
|
exports["default"] = renderPreloadPlayers;
|
|
7035
7035
|
|
|
7036
|
-
var _react = _interopRequireDefault(
|
|
7036
|
+
var _react = _interopRequireDefault(React__default);
|
|
7037
7037
|
|
|
7038
7038
|
var _Player = _interopRequireDefault(Player_1);
|
|
7039
7039
|
|
|
@@ -7172,7 +7172,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7172
7172
|
});
|
|
7173
7173
|
exports["default"] = void 0;
|
|
7174
7174
|
|
|
7175
|
-
var _react = _interopRequireWildcard(
|
|
7175
|
+
var _react = _interopRequireWildcard(React__default);
|
|
7176
7176
|
|
|
7177
7177
|
|
|
7178
7178
|
|
|
@@ -7486,20 +7486,20 @@ var Audio = function Audio(_ref) {
|
|
|
7486
7486
|
var node = _ref.node;
|
|
7487
7487
|
|
|
7488
7488
|
if (node.uploadAudio) {
|
|
7489
|
-
return
|
|
7489
|
+
return React__default.createElement(
|
|
7490
7490
|
'div',
|
|
7491
7491
|
{ className: 'audio d-block text-center mb-3' },
|
|
7492
|
-
|
|
7492
|
+
React__default.createElement(
|
|
7493
7493
|
'audio',
|
|
7494
7494
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
7495
|
-
|
|
7496
|
-
|
|
7495
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7496
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7497
7497
|
'Your browser does not support the audio element.'
|
|
7498
7498
|
),
|
|
7499
|
-
node.caption &&
|
|
7499
|
+
node.caption && React__default.createElement(
|
|
7500
7500
|
'p',
|
|
7501
7501
|
{ style: { fontSize: '.9rem' } },
|
|
7502
|
-
|
|
7502
|
+
React__default.createElement(
|
|
7503
7503
|
'em',
|
|
7504
7504
|
null,
|
|
7505
7505
|
node.caption
|
|
@@ -7509,15 +7509,15 @@ var Audio = function Audio(_ref) {
|
|
|
7509
7509
|
} else if (node.audioFilePth) {
|
|
7510
7510
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7511
7511
|
if (hostname === 'embeds.audioboom.com') {
|
|
7512
|
-
return
|
|
7512
|
+
return React__default.createElement(
|
|
7513
7513
|
'div',
|
|
7514
7514
|
null,
|
|
7515
|
-
|
|
7515
|
+
React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7516
7516
|
' ',
|
|
7517
|
-
node.caption &&
|
|
7517
|
+
node.caption && React__default.createElement(
|
|
7518
7518
|
'p',
|
|
7519
7519
|
{ style: { fontSize: '.9rem' } },
|
|
7520
|
-
|
|
7520
|
+
React__default.createElement(
|
|
7521
7521
|
'em',
|
|
7522
7522
|
null,
|
|
7523
7523
|
node.caption
|
|
@@ -7525,14 +7525,14 @@ var Audio = function Audio(_ref) {
|
|
|
7525
7525
|
)
|
|
7526
7526
|
);
|
|
7527
7527
|
}
|
|
7528
|
-
return
|
|
7528
|
+
return React__default.createElement(
|
|
7529
7529
|
'div',
|
|
7530
7530
|
{ className: 'audio' },
|
|
7531
|
-
|
|
7532
|
-
node.caption &&
|
|
7531
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
7532
|
+
node.caption && React__default.createElement(
|
|
7533
7533
|
'p',
|
|
7534
7534
|
{ style: { fontSize: '.9rem' } },
|
|
7535
|
-
|
|
7535
|
+
React__default.createElement(
|
|
7536
7536
|
'em',
|
|
7537
7537
|
null,
|
|
7538
7538
|
node.caption
|
|
@@ -7551,34 +7551,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7551
7551
|
var showAuthorDetails = arguments[7];
|
|
7552
7552
|
|
|
7553
7553
|
if (authorName && authorURL) {
|
|
7554
|
-
return
|
|
7554
|
+
return React__default.createElement(
|
|
7555
7555
|
'span',
|
|
7556
7556
|
null,
|
|
7557
|
-
|
|
7557
|
+
React__default.createElement(
|
|
7558
7558
|
'a',
|
|
7559
7559
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7560
7560
|
authorName
|
|
7561
7561
|
),
|
|
7562
|
-
showAuthorDetails &&
|
|
7562
|
+
showAuthorDetails && React__default.createElement(
|
|
7563
7563
|
Card,
|
|
7564
7564
|
{ className: 'author-details-card-' + index },
|
|
7565
|
-
|
|
7565
|
+
React__default.createElement(
|
|
7566
7566
|
Row,
|
|
7567
7567
|
null,
|
|
7568
|
-
profileImage &&
|
|
7568
|
+
profileImage && React__default.createElement(
|
|
7569
7569
|
Col,
|
|
7570
7570
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7571
|
-
|
|
7571
|
+
React__default.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7572
7572
|
),
|
|
7573
|
-
|
|
7573
|
+
React__default.createElement(
|
|
7574
7574
|
Col,
|
|
7575
7575
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7576
|
-
|
|
7576
|
+
React__default.createElement(
|
|
7577
7577
|
'div',
|
|
7578
7578
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7579
7579
|
authorName
|
|
7580
7580
|
),
|
|
7581
|
-
|
|
7581
|
+
React__default.createElement(
|
|
7582
7582
|
'p',
|
|
7583
7583
|
null,
|
|
7584
7584
|
biography
|
|
@@ -7586,7 +7586,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7586
7586
|
)
|
|
7587
7587
|
)
|
|
7588
7588
|
),
|
|
7589
|
-
|
|
7589
|
+
React__default.createElement(
|
|
7590
7590
|
'style',
|
|
7591
7591
|
{ jsx: 'true' },
|
|
7592
7592
|
'\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 '
|
|
@@ -7594,7 +7594,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7594
7594
|
length !== index + 1 && ', '
|
|
7595
7595
|
);
|
|
7596
7596
|
} else if (authorName) {
|
|
7597
|
-
return
|
|
7597
|
+
return React__default.createElement(
|
|
7598
7598
|
'span',
|
|
7599
7599
|
{ key: index },
|
|
7600
7600
|
authorName,
|
|
@@ -7750,7 +7750,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7750
7750
|
var queue = Math.floor(duration / 10);
|
|
7751
7751
|
var segment = Math.floor(current / queue);
|
|
7752
7752
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
7753
|
-
Segment.report_video_event('Video Ready',
|
|
7753
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment);
|
|
7754
7754
|
//autoplay
|
|
7755
7755
|
|
|
7756
7756
|
//Small pause before starting next video
|
|
@@ -7771,7 +7771,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7771
7771
|
var segment = Math.floor(current / queue);
|
|
7772
7772
|
|
|
7773
7773
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
7774
|
-
Segment.report_video_event('Video End',
|
|
7774
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment);
|
|
7775
7775
|
setEndReported(true);
|
|
7776
7776
|
clearInterval(intervalID);
|
|
7777
7777
|
}
|
|
@@ -7822,7 +7822,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7822
7822
|
var segment = Math.floor(current / queue);
|
|
7823
7823
|
if (!queueProgress.includes(segment)) {
|
|
7824
7824
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
7825
|
-
Segment.report_video_event('Video Segment',
|
|
7825
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment);
|
|
7826
7826
|
queueProgress.push(segment);
|
|
7827
7827
|
}
|
|
7828
7828
|
};
|
|
@@ -7836,7 +7836,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7836
7836
|
var segment = Math.floor(current / queue);
|
|
7837
7837
|
|
|
7838
7838
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
7839
|
-
Segment.report_video_event('Video Play',
|
|
7839
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment);
|
|
7840
7840
|
|
|
7841
7841
|
if (!playReported) {
|
|
7842
7842
|
setPlayReported(true);
|
|
@@ -7855,7 +7855,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7855
7855
|
var segment = Math.floor(current / queue);
|
|
7856
7856
|
|
|
7857
7857
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
7858
|
-
Segment.report_video_event('Video Pause',
|
|
7858
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
7859
7859
|
};
|
|
7860
7860
|
|
|
7861
7861
|
// Youtube Options
|
|
@@ -7866,44 +7866,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7866
7866
|
}
|
|
7867
7867
|
};
|
|
7868
7868
|
|
|
7869
|
-
return
|
|
7869
|
+
return React__default.createElement(
|
|
7870
7870
|
'div',
|
|
7871
7871
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7872
|
-
|
|
7872
|
+
React__default.createElement(
|
|
7873
7873
|
'div',
|
|
7874
7874
|
{ className: 'mt-2 mb-5' },
|
|
7875
|
-
series &&
|
|
7875
|
+
series && React__default.createElement(
|
|
7876
7876
|
'div',
|
|
7877
7877
|
{ style: { fontSize: '0.9rem' } },
|
|
7878
7878
|
article.title,
|
|
7879
7879
|
' - Episode ',
|
|
7880
7880
|
series
|
|
7881
7881
|
),
|
|
7882
|
-
Videos[series - 1] &&
|
|
7882
|
+
Videos[series - 1] && React__default.createElement(
|
|
7883
7883
|
'h1',
|
|
7884
7884
|
{ className: 'mb-3' },
|
|
7885
7885
|
Videos[series - 1].title
|
|
7886
7886
|
),
|
|
7887
|
-
|
|
7887
|
+
React__default.createElement(
|
|
7888
7888
|
'div',
|
|
7889
7889
|
null,
|
|
7890
7890
|
moment(article.published).format('LL')
|
|
7891
7891
|
),
|
|
7892
|
-
|
|
7892
|
+
React__default.createElement(
|
|
7893
7893
|
'div',
|
|
7894
7894
|
{ className: 'mb-3' },
|
|
7895
7895
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7896
|
-
return
|
|
7896
|
+
return React__default.createElement(
|
|
7897
7897
|
'span',
|
|
7898
7898
|
{ key: index },
|
|
7899
7899
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7900
7900
|
);
|
|
7901
7901
|
})
|
|
7902
7902
|
),
|
|
7903
|
-
|
|
7903
|
+
React__default.createElement(
|
|
7904
7904
|
'p',
|
|
7905
7905
|
null,
|
|
7906
|
-
|
|
7906
|
+
React__default.createElement(SocialShare, {
|
|
7907
7907
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7908
7908
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7909
7909
|
shareVia: meta.shareVia,
|
|
@@ -7918,20 +7918,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7918
7918
|
hideFacebook: meta.hideFBShare
|
|
7919
7919
|
})
|
|
7920
7920
|
),
|
|
7921
|
-
Videos[series - 1] && Videos[series - 1].intro &&
|
|
7921
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default.createElement(
|
|
7922
7922
|
'p',
|
|
7923
7923
|
{ className: 'mb-3' },
|
|
7924
|
-
|
|
7924
|
+
React__default.createElement(
|
|
7925
7925
|
'em',
|
|
7926
7926
|
null,
|
|
7927
7927
|
Videos[series - 1].intro
|
|
7928
7928
|
)
|
|
7929
7929
|
)
|
|
7930
7930
|
),
|
|
7931
|
-
|
|
7931
|
+
React__default.createElement(
|
|
7932
7932
|
'div',
|
|
7933
7933
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7934
|
-
vidUrl && vidType == 'youtube' &&
|
|
7934
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7935
7935
|
className: 'fluid-iframe',
|
|
7936
7936
|
videoId: getYoutubeId(vidUrl),
|
|
7937
7937
|
opts: opts,
|
|
@@ -7942,10 +7942,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7942
7942
|
return handleOnEnd(e);
|
|
7943
7943
|
}
|
|
7944
7944
|
}),
|
|
7945
|
-
vidUrl && vidType == 'mp4' &&
|
|
7946
|
-
vidUrl && vidType == 'brightcove' &&
|
|
7947
|
-
|
|
7948
|
-
series &&
|
|
7945
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7946
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7947
|
+
React__default.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7948
|
+
series && React__default.createElement(
|
|
7949
7949
|
'div',
|
|
7950
7950
|
{
|
|
7951
7951
|
className: 'vid-series',
|
|
@@ -7955,10 +7955,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7955
7955
|
maxHeight: '100%',
|
|
7956
7956
|
paddingBottom: '0'
|
|
7957
7957
|
} },
|
|
7958
|
-
|
|
7958
|
+
React__default.createElement(
|
|
7959
7959
|
'p',
|
|
7960
7960
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7961
|
-
|
|
7961
|
+
React__default.createElement(
|
|
7962
7962
|
'b',
|
|
7963
7963
|
{ style: { fontSize: '1.25em' } },
|
|
7964
7964
|
'Now Playing:'
|
|
@@ -7966,16 +7966,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7966
7966
|
' ',
|
|
7967
7967
|
seriesData[series ? series - 1 : 0].title
|
|
7968
7968
|
),
|
|
7969
|
-
vidUrl &&
|
|
7969
|
+
vidUrl && React__default.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7970
7970
|
)
|
|
7971
7971
|
),
|
|
7972
|
-
|
|
7973
|
-
|
|
7972
|
+
React__default.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7973
|
+
React__default.createElement(
|
|
7974
7974
|
'div',
|
|
7975
7975
|
{ className: 'vid-text' },
|
|
7976
|
-
Videos[series - 1] && Videos[series - 1].text &&
|
|
7976
|
+
Videos[series - 1] && Videos[series - 1].text && React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
7977
7977
|
),
|
|
7978
|
-
|
|
7978
|
+
React__default.createElement(
|
|
7979
7979
|
'style',
|
|
7980
7980
|
{ jsx: 'true' },
|
|
7981
7981
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -7983,14 +7983,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7983
7983
|
);
|
|
7984
7984
|
};
|
|
7985
7985
|
|
|
7986
|
-
var Poll = function Poll(_ref) {
|
|
7987
|
-
var node = _ref.node
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
onVote = _ref.onVote
|
|
7992
|
-
_ref
|
|
7993
|
-
getSerializers = _ref.getSerializers;
|
|
7986
|
+
var Poll$1 = function Poll(_ref) {
|
|
7987
|
+
var node = _ref.node;
|
|
7988
|
+
_ref.client;
|
|
7989
|
+
_ref.pageview;
|
|
7990
|
+
_ref.videoAccountIDs;
|
|
7991
|
+
var onVote = _ref.onVote;
|
|
7992
|
+
_ref.showVotes;
|
|
7993
|
+
var getSerializers = _ref.getSerializers;
|
|
7994
7994
|
|
|
7995
7995
|
var _useState = useState(null),
|
|
7996
7996
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8028,67 +8028,67 @@ var Poll = function Poll(_ref) {
|
|
|
8028
8028
|
return acc;
|
|
8029
8029
|
}
|
|
8030
8030
|
}, 0);
|
|
8031
|
-
return
|
|
8032
|
-
|
|
8031
|
+
return React__default.createElement(
|
|
8032
|
+
React__default.Fragment,
|
|
8033
8033
|
null,
|
|
8034
|
-
question &&
|
|
8034
|
+
question && React__default.createElement(
|
|
8035
8035
|
'p',
|
|
8036
8036
|
{ className: 'font-weight-bold' },
|
|
8037
8037
|
question
|
|
8038
8038
|
),
|
|
8039
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8039
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8040
8040
|
'form',
|
|
8041
8041
|
{ onSubmit: function onSubmit(e) {
|
|
8042
8042
|
return onSubmitPoll(e);
|
|
8043
8043
|
} },
|
|
8044
8044
|
choices && choices.map(function (choice) {
|
|
8045
|
-
return
|
|
8045
|
+
return React__default.createElement(
|
|
8046
8046
|
'div',
|
|
8047
8047
|
{ key: choice._key },
|
|
8048
|
-
|
|
8048
|
+
React__default.createElement(
|
|
8049
8049
|
'label',
|
|
8050
8050
|
{ className: 'pl-2' },
|
|
8051
|
-
|
|
8051
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8052
8052
|
return setSelectedChoice(e.target.value);
|
|
8053
8053
|
} }),
|
|
8054
8054
|
' ' + choice.choiceText
|
|
8055
8055
|
)
|
|
8056
8056
|
);
|
|
8057
8057
|
}),
|
|
8058
|
-
|
|
8058
|
+
React__default.createElement(
|
|
8059
8059
|
Button$1,
|
|
8060
8060
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8061
8061
|
'Vote'
|
|
8062
8062
|
)
|
|
8063
8063
|
),
|
|
8064
|
-
|
|
8064
|
+
React__default.createElement(
|
|
8065
8065
|
'div',
|
|
8066
8066
|
{ className: 'progress-container' },
|
|
8067
8067
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8068
8068
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8069
|
-
return
|
|
8069
|
+
return React__default.createElement(
|
|
8070
8070
|
'div',
|
|
8071
8071
|
{ key: choice._key, className: 'mb-3' },
|
|
8072
|
-
|
|
8072
|
+
React__default.createElement(
|
|
8073
8073
|
'div',
|
|
8074
8074
|
{ className: 'correct-answer' },
|
|
8075
|
-
|
|
8075
|
+
React__default.createElement(
|
|
8076
8076
|
'div',
|
|
8077
8077
|
null,
|
|
8078
8078
|
choice.choiceText
|
|
8079
8079
|
),
|
|
8080
|
-
choice.choiceAnswer === true &&
|
|
8080
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8081
8081
|
'div',
|
|
8082
8082
|
null,
|
|
8083
|
-
|
|
8083
|
+
React__default.createElement(
|
|
8084
8084
|
'span',
|
|
8085
8085
|
{ style: { color: 'limegreen' } },
|
|
8086
8086
|
'Correct!'
|
|
8087
8087
|
)
|
|
8088
8088
|
)
|
|
8089
8089
|
),
|
|
8090
|
-
|
|
8091
|
-
|
|
8090
|
+
React__default.createElement(ProgressBar, { now: percentage }),
|
|
8091
|
+
React__default.createElement(
|
|
8092
8092
|
'span',
|
|
8093
8093
|
{ className: 'float-right' },
|
|
8094
8094
|
percentage,
|
|
@@ -8099,14 +8099,14 @@ var Poll = function Poll(_ref) {
|
|
|
8099
8099
|
);
|
|
8100
8100
|
})
|
|
8101
8101
|
),
|
|
8102
|
-
showAnswer &&
|
|
8102
|
+
showAnswer && React__default.createElement(
|
|
8103
8103
|
'h4',
|
|
8104
8104
|
{ className: 'text-center small p-3' },
|
|
8105
8105
|
'Total Votes: ',
|
|
8106
8106
|
choicesTotalCount
|
|
8107
8107
|
),
|
|
8108
|
-
showAnswer && response &&
|
|
8109
|
-
|
|
8108
|
+
showAnswer && response && React__default.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8109
|
+
React__default.createElement(
|
|
8110
8110
|
'style',
|
|
8111
8111
|
{ jsx: 'true' },
|
|
8112
8112
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8124,22 +8124,22 @@ _export(_export.S, 'Object', {
|
|
|
8124
8124
|
}
|
|
8125
8125
|
});
|
|
8126
8126
|
|
|
8127
|
-
var values = _core.Object.values;
|
|
8127
|
+
var values$1 = _core.Object.values;
|
|
8128
8128
|
|
|
8129
|
-
var values
|
|
8130
|
-
module.exports = { "default": values, __esModule: true };
|
|
8129
|
+
var values = createCommonjsModule(function (module) {
|
|
8130
|
+
module.exports = { "default": values$1, __esModule: true };
|
|
8131
8131
|
});
|
|
8132
8132
|
|
|
8133
|
-
var _Object$values = unwrapExports(values
|
|
8133
|
+
var _Object$values = unwrapExports(values);
|
|
8134
8134
|
|
|
8135
|
-
var Poll
|
|
8136
|
-
var node = _ref.node
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
onVote = _ref.onVote
|
|
8141
|
-
_ref
|
|
8142
|
-
getSerializers = _ref.getSerializers;
|
|
8135
|
+
var Poll = function Poll(_ref) {
|
|
8136
|
+
var node = _ref.node;
|
|
8137
|
+
_ref.client;
|
|
8138
|
+
_ref.pageview;
|
|
8139
|
+
_ref.videoAccountIDs;
|
|
8140
|
+
var onVote = _ref.onVote;
|
|
8141
|
+
_ref.showVotes;
|
|
8142
|
+
var getSerializers = _ref.getSerializers;
|
|
8143
8143
|
|
|
8144
8144
|
var _useState = useState(null),
|
|
8145
8145
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8205,67 +8205,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8205
8205
|
return acc;
|
|
8206
8206
|
}
|
|
8207
8207
|
}, 0);
|
|
8208
|
-
return
|
|
8209
|
-
|
|
8208
|
+
return React__default.createElement(
|
|
8209
|
+
React__default.Fragment,
|
|
8210
8210
|
null,
|
|
8211
|
-
question &&
|
|
8211
|
+
question && React__default.createElement(
|
|
8212
8212
|
'p',
|
|
8213
8213
|
{ className: 'font-weight-bold' },
|
|
8214
8214
|
question
|
|
8215
8215
|
),
|
|
8216
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8216
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8217
8217
|
'form',
|
|
8218
8218
|
{ onSubmit: function onSubmit(e) {
|
|
8219
8219
|
return onSubmitPoll(e);
|
|
8220
8220
|
} },
|
|
8221
8221
|
choices && choices.map(function (choice) {
|
|
8222
|
-
return
|
|
8222
|
+
return React__default.createElement(
|
|
8223
8223
|
'div',
|
|
8224
8224
|
{ key: choice._key },
|
|
8225
|
-
|
|
8225
|
+
React__default.createElement(
|
|
8226
8226
|
'label',
|
|
8227
8227
|
{ className: 'pl-2' },
|
|
8228
|
-
|
|
8228
|
+
React__default.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8229
8229
|
return setSelectedChoice(e.target.value);
|
|
8230
8230
|
} }),
|
|
8231
8231
|
' ' + choice.choiceText
|
|
8232
8232
|
)
|
|
8233
8233
|
);
|
|
8234
8234
|
}),
|
|
8235
|
-
|
|
8235
|
+
React__default.createElement(
|
|
8236
8236
|
Button$1,
|
|
8237
8237
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8238
8238
|
'Vote'
|
|
8239
8239
|
)
|
|
8240
8240
|
),
|
|
8241
|
-
|
|
8241
|
+
React__default.createElement(
|
|
8242
8242
|
'div',
|
|
8243
8243
|
{ className: 'progress-container' },
|
|
8244
8244
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8245
8245
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8246
|
-
return
|
|
8246
|
+
return React__default.createElement(
|
|
8247
8247
|
'div',
|
|
8248
8248
|
{ key: choice._key, className: 'mb-3' },
|
|
8249
|
-
|
|
8249
|
+
React__default.createElement(
|
|
8250
8250
|
'div',
|
|
8251
8251
|
{ className: 'correct-answer' },
|
|
8252
|
-
|
|
8252
|
+
React__default.createElement(
|
|
8253
8253
|
'div',
|
|
8254
8254
|
null,
|
|
8255
8255
|
choice.choiceText
|
|
8256
8256
|
),
|
|
8257
|
-
choice.choiceAnswer === true &&
|
|
8257
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8258
8258
|
'div',
|
|
8259
8259
|
null,
|
|
8260
|
-
|
|
8260
|
+
React__default.createElement(
|
|
8261
8261
|
'span',
|
|
8262
8262
|
{ style: { color: 'limegreen' } },
|
|
8263
8263
|
'Correct!'
|
|
8264
8264
|
)
|
|
8265
8265
|
)
|
|
8266
8266
|
),
|
|
8267
|
-
|
|
8268
|
-
|
|
8267
|
+
React__default.createElement(ProgressBar, { now: percentage }),
|
|
8268
|
+
React__default.createElement(
|
|
8269
8269
|
'span',
|
|
8270
8270
|
{ className: 'float-right' },
|
|
8271
8271
|
percentage,
|
|
@@ -8276,14 +8276,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8276
8276
|
);
|
|
8277
8277
|
})
|
|
8278
8278
|
),
|
|
8279
|
-
showAnswer &&
|
|
8279
|
+
showAnswer && React__default.createElement(
|
|
8280
8280
|
'h4',
|
|
8281
8281
|
{ className: 'text-center small p-3' },
|
|
8282
8282
|
'Total Votes: ',
|
|
8283
8283
|
choicesTotalCount
|
|
8284
8284
|
),
|
|
8285
|
-
showAnswer && response &&
|
|
8286
|
-
|
|
8285
|
+
showAnswer && response && React__default.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8286
|
+
React__default.createElement(
|
|
8287
8287
|
'style',
|
|
8288
8288
|
{ jsx: 'true' },
|
|
8289
8289
|
'\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 '
|
|
@@ -8291,7 +8291,7 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8291
8291
|
);
|
|
8292
8292
|
};
|
|
8293
8293
|
|
|
8294
|
-
var numberOfPaginations =
|
|
8294
|
+
var numberOfPaginations = main_42 ? 4 : 10;
|
|
8295
8295
|
|
|
8296
8296
|
var Quiz = function Quiz(_ref) {
|
|
8297
8297
|
var quizzes = _ref.quizzes,
|
|
@@ -8409,20 +8409,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
8409
8409
|
};
|
|
8410
8410
|
|
|
8411
8411
|
var renderPagination = function renderPagination() {
|
|
8412
|
-
return
|
|
8412
|
+
return React__default.createElement(
|
|
8413
8413
|
Pagination,
|
|
8414
|
-
{ className: 'p-0 m-0', size:
|
|
8415
|
-
|
|
8414
|
+
{ className: 'p-0 m-0', size: main_42 && 'sm' },
|
|
8415
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
8416
8416
|
return changePage('first');
|
|
8417
8417
|
}, disabled: currentPage === 1 }),
|
|
8418
|
-
|
|
8418
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8419
8419
|
return changePage('prev');
|
|
8420
8420
|
}, disabled: currentPage === 1 }),
|
|
8421
|
-
|
|
8421
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8422
8422
|
return renderNewPages('prev');
|
|
8423
8423
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8424
8424
|
pages.map(function (page) {
|
|
8425
|
-
return
|
|
8425
|
+
return React__default.createElement(
|
|
8426
8426
|
Pagination.Item,
|
|
8427
8427
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
8428
8428
|
return changePage(page);
|
|
@@ -8430,13 +8430,13 @@ var Quiz = function Quiz(_ref) {
|
|
|
8430
8430
|
page
|
|
8431
8431
|
);
|
|
8432
8432
|
}),
|
|
8433
|
-
|
|
8433
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8434
8434
|
return renderNewPages('next');
|
|
8435
8435
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8436
|
-
|
|
8436
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8437
8437
|
return changePage('next');
|
|
8438
8438
|
}, disabled: currentPage === pageCount }),
|
|
8439
|
-
|
|
8439
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8440
8440
|
return changePage('last');
|
|
8441
8441
|
}, disabled: currentPage === pageCount })
|
|
8442
8442
|
);
|
|
@@ -8519,51 +8519,51 @@ var Quiz = function Quiz(_ref) {
|
|
|
8519
8519
|
}
|
|
8520
8520
|
};
|
|
8521
8521
|
|
|
8522
|
-
return
|
|
8523
|
-
|
|
8522
|
+
return React__default.createElement(
|
|
8523
|
+
React__default.Fragment,
|
|
8524
8524
|
null,
|
|
8525
|
-
quizzes[currentPage - 1] &&
|
|
8526
|
-
|
|
8525
|
+
quizzes[currentPage - 1] && React__default.createElement(
|
|
8526
|
+
React__default.Fragment,
|
|
8527
8527
|
null,
|
|
8528
|
-
|
|
8529
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
8528
|
+
React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8529
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default.createElement(
|
|
8530
8530
|
'form',
|
|
8531
8531
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8532
8532
|
return e.preventDefault();
|
|
8533
8533
|
} },
|
|
8534
8534
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8535
|
-
return
|
|
8535
|
+
return React__default.createElement(
|
|
8536
8536
|
'div',
|
|
8537
8537
|
{ key: answer._key },
|
|
8538
|
-
|
|
8538
|
+
React__default.createElement(
|
|
8539
8539
|
'label',
|
|
8540
8540
|
{ className: 'pl-2' },
|
|
8541
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
8541
|
+
quizzes[currentPage - 1].multiAnswer ? React__default.createElement('input', { type: 'checkbox', id: 'male', disabled: isDisabled, name: answer._type, value: answer._key }) : React__default.createElement('input', { type: 'radio', id: 'male', name: answer._type, value: answer._key }),
|
|
8542
8542
|
' ' + answer.answerText
|
|
8543
8543
|
)
|
|
8544
8544
|
);
|
|
8545
8545
|
})
|
|
8546
8546
|
)
|
|
8547
8547
|
),
|
|
8548
|
-
!showAnswer &&
|
|
8548
|
+
!showAnswer && React__default.createElement(
|
|
8549
8549
|
Button,
|
|
8550
8550
|
{ onClick: function onClick() {
|
|
8551
8551
|
return checkAnswers();
|
|
8552
8552
|
}, variant: 'info', block: true },
|
|
8553
8553
|
'Please click here for answer'
|
|
8554
8554
|
),
|
|
8555
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
8556
|
-
|
|
8555
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
8556
|
+
React__default.Fragment,
|
|
8557
8557
|
null,
|
|
8558
|
-
|
|
8558
|
+
React__default.createElement(
|
|
8559
8559
|
'h4',
|
|
8560
8560
|
null,
|
|
8561
8561
|
'Answer:'
|
|
8562
8562
|
),
|
|
8563
|
-
quizzes[currentPage - 1].answer &&
|
|
8563
|
+
quizzes[currentPage - 1].answer && React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8564
8564
|
),
|
|
8565
|
-
|
|
8566
|
-
pageCount > 1 &&
|
|
8565
|
+
React__default.createElement('br', null),
|
|
8566
|
+
pageCount > 1 && React__default.createElement(
|
|
8567
8567
|
'div',
|
|
8568
8568
|
{ className: 'd-flex justify-content-center' },
|
|
8569
8569
|
renderPagination()
|
|
@@ -8574,19 +8574,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8574
8574
|
var Leads = function Leads(_ref) {
|
|
8575
8575
|
var url = _ref.url;
|
|
8576
8576
|
|
|
8577
|
-
return
|
|
8577
|
+
return React__default.createElement(
|
|
8578
8578
|
'div',
|
|
8579
8579
|
{ className: 'd-block text-center mb-3' },
|
|
8580
|
-
|
|
8580
|
+
React__default.createElement(
|
|
8581
8581
|
'style',
|
|
8582
8582
|
{ jsx: 'true' },
|
|
8583
8583
|
'\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 '
|
|
8584
8584
|
),
|
|
8585
|
-
url &&
|
|
8585
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8586
8586
|
);
|
|
8587
8587
|
};
|
|
8588
8588
|
|
|
8589
|
-
var Slideshow
|
|
8589
|
+
var Slideshow = function Slideshow(_ref) {
|
|
8590
8590
|
var slides = _ref.node.slides,
|
|
8591
8591
|
client = _ref.client,
|
|
8592
8592
|
pageview = _ref.pageview,
|
|
@@ -8626,53 +8626,53 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
8626
8626
|
if (pageview) pageview(href);
|
|
8627
8627
|
};
|
|
8628
8628
|
|
|
8629
|
-
return
|
|
8629
|
+
return React__default.createElement(
|
|
8630
8630
|
'div',
|
|
8631
8631
|
{ className: 'mt-3 mb-4' },
|
|
8632
|
-
|
|
8632
|
+
React__default.createElement(
|
|
8633
8633
|
Carousel,
|
|
8634
8634
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8635
8635
|
slides && slides.map(function (slide) {
|
|
8636
8636
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8637
|
-
return
|
|
8637
|
+
return React__default.createElement(
|
|
8638
8638
|
Carousel.Item,
|
|
8639
8639
|
{ key: slide._key },
|
|
8640
|
-
|
|
8640
|
+
React__default.createElement(
|
|
8641
8641
|
'a',
|
|
8642
8642
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8643
|
-
|
|
8643
|
+
React__default.createElement(
|
|
8644
8644
|
'div',
|
|
8645
8645
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8646
|
-
|
|
8646
|
+
React__default.createElement(
|
|
8647
8647
|
LazyLoad,
|
|
8648
8648
|
null,
|
|
8649
|
-
|
|
8649
|
+
React__default.createElement(
|
|
8650
8650
|
'picture',
|
|
8651
8651
|
null,
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8652
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8653
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8654
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8655
|
+
React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8656
8656
|
)
|
|
8657
8657
|
)
|
|
8658
8658
|
)
|
|
8659
8659
|
),
|
|
8660
|
-
|
|
8660
|
+
React__default.createElement(
|
|
8661
8661
|
'div',
|
|
8662
8662
|
{ className: 'p-2' },
|
|
8663
|
-
slide.slideshowImage.caption &&
|
|
8663
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
8664
8664
|
'h3',
|
|
8665
8665
|
{ style: { padding: '0px' } },
|
|
8666
8666
|
slide.slideshowImage.caption
|
|
8667
8667
|
),
|
|
8668
|
-
slide.description &&
|
|
8668
|
+
slide.description && React__default.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8669
8669
|
)
|
|
8670
8670
|
);
|
|
8671
8671
|
}
|
|
8672
8672
|
return null;
|
|
8673
8673
|
})
|
|
8674
8674
|
),
|
|
8675
|
-
|
|
8675
|
+
React__default.createElement(
|
|
8676
8676
|
'style',
|
|
8677
8677
|
{ jsx: 'true' },
|
|
8678
8678
|
'\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 '
|
|
@@ -8691,10 +8691,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8691
8691
|
sizes = _props$node.sizes,
|
|
8692
8692
|
sizeMapping = _props$node.sizeMapping;
|
|
8693
8693
|
|
|
8694
|
-
return
|
|
8694
|
+
return React__default.createElement(
|
|
8695
8695
|
'div',
|
|
8696
8696
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8697
|
-
|
|
8697
|
+
React__default.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8698
8698
|
);
|
|
8699
8699
|
};
|
|
8700
8700
|
|
|
@@ -8705,15 +8705,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8705
8705
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8706
8706
|
|
|
8707
8707
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8708
|
-
return
|
|
8708
|
+
return React__default.createElement(
|
|
8709
8709
|
'section',
|
|
8710
8710
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8711
|
-
Caption &&
|
|
8711
|
+
Caption && React__default.createElement(
|
|
8712
8712
|
'h4',
|
|
8713
8713
|
{ className: 'formstack-caption' },
|
|
8714
8714
|
Caption
|
|
8715
8715
|
),
|
|
8716
|
-
|
|
8716
|
+
React__default.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8717
8717
|
);
|
|
8718
8718
|
};
|
|
8719
8719
|
|
|
@@ -8729,36 +8729,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8729
8729
|
}
|
|
8730
8730
|
});
|
|
8731
8731
|
if (medias && medias.length > 0) {
|
|
8732
|
-
return
|
|
8732
|
+
return React__default.createElement(
|
|
8733
8733
|
'div',
|
|
8734
8734
|
{ className: 'multi-media-container' },
|
|
8735
|
-
|
|
8735
|
+
React__default.createElement(
|
|
8736
8736
|
Row$1,
|
|
8737
8737
|
{ noGutters: true },
|
|
8738
8738
|
medias.map(function (media) {
|
|
8739
|
-
return
|
|
8739
|
+
return React__default.createElement(
|
|
8740
8740
|
Col$1,
|
|
8741
8741
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8742
|
-
|
|
8742
|
+
React__default.createElement(
|
|
8743
8743
|
'a',
|
|
8744
8744
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8745
8745
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8746
|
-
|
|
8746
|
+
React__default.createElement(
|
|
8747
8747
|
'div',
|
|
8748
8748
|
{ className: 'multi-media-image-container' },
|
|
8749
|
-
imageBox &&
|
|
8749
|
+
imageBox && React__default.createElement(
|
|
8750
8750
|
LazyLoad,
|
|
8751
8751
|
{ once: true },
|
|
8752
|
-
|
|
8752
|
+
React__default.createElement(
|
|
8753
8753
|
'picture',
|
|
8754
8754
|
null,
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8755
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8756
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8757
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8758
|
+
React__default.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8759
8759
|
)
|
|
8760
8760
|
),
|
|
8761
|
-
media.caption &&
|
|
8761
|
+
media.caption && React__default.createElement(
|
|
8762
8762
|
'span',
|
|
8763
8763
|
{ className: 'multi-media-caption' },
|
|
8764
8764
|
media.caption
|
|
@@ -8768,7 +8768,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8768
8768
|
);
|
|
8769
8769
|
})
|
|
8770
8770
|
),
|
|
8771
|
-
|
|
8771
|
+
React__default.createElement(
|
|
8772
8772
|
'style',
|
|
8773
8773
|
{ jsx: 'true' },
|
|
8774
8774
|
'\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 '
|
|
@@ -8815,7 +8815,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8815
8815
|
}
|
|
8816
8816
|
};
|
|
8817
8817
|
|
|
8818
|
-
_this.wraperRef =
|
|
8818
|
+
_this.wraperRef = React__default.createRef();
|
|
8819
8819
|
_this.visible = false;
|
|
8820
8820
|
return _this;
|
|
8821
8821
|
}
|
|
@@ -8843,7 +8843,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8843
8843
|
_props$id = _props.id,
|
|
8844
8844
|
id = _props$id === undefined ? '' : _props$id;
|
|
8845
8845
|
|
|
8846
|
-
return
|
|
8846
|
+
return React__default.createElement(
|
|
8847
8847
|
'div',
|
|
8848
8848
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8849
8849
|
this.props.children
|
|
@@ -8852,7 +8852,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8852
8852
|
}]);
|
|
8853
8853
|
|
|
8854
8854
|
return InscreenSensor;
|
|
8855
|
-
}(
|
|
8855
|
+
}(React__default.Component);
|
|
8856
8856
|
|
|
8857
8857
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8858
8858
|
var nodes = _ref.nodes,
|
|
@@ -8961,33 +8961,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8961
8961
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
8962
8962
|
var showReading = show ? 'showReading' : '';
|
|
8963
8963
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8964
|
-
return
|
|
8964
|
+
return React__default.createElement(
|
|
8965
8965
|
'div',
|
|
8966
8966
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8967
|
-
|
|
8967
|
+
React__default.createElement(
|
|
8968
8968
|
'a',
|
|
8969
8969
|
{ onClick: function onClick(e) {
|
|
8970
8970
|
return articleCardClickHandler(e);
|
|
8971
8971
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleIndex': '' + index, 'data-articleid': '' + article.param.current },
|
|
8972
|
-
|
|
8972
|
+
React__default.createElement(
|
|
8973
8973
|
'div',
|
|
8974
8974
|
{ className: 'prevNext-thumbnail' },
|
|
8975
|
-
|
|
8976
|
-
|
|
8975
|
+
React__default.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
8976
|
+
React__default.createElement(
|
|
8977
8977
|
'div',
|
|
8978
8978
|
{ className: 'prevNext-reading ' + showReading },
|
|
8979
8979
|
articleLabel
|
|
8980
8980
|
)
|
|
8981
8981
|
),
|
|
8982
|
-
|
|
8982
|
+
React__default.createElement(
|
|
8983
8983
|
'div',
|
|
8984
8984
|
{ className: 'prevNext-summary' },
|
|
8985
|
-
|
|
8985
|
+
React__default.createElement(
|
|
8986
8986
|
'div',
|
|
8987
8987
|
{ className: 'prevNext-publishDate' },
|
|
8988
8988
|
moment(article.published).format('LL')
|
|
8989
8989
|
),
|
|
8990
|
-
|
|
8990
|
+
React__default.createElement(
|
|
8991
8991
|
'h2',
|
|
8992
8992
|
{ className: 'prevNext-title' },
|
|
8993
8993
|
article.title
|
|
@@ -9036,7 +9036,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9036
9036
|
|
|
9037
9037
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9038
9038
|
if (biography) {
|
|
9039
|
-
return
|
|
9039
|
+
return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9040
9040
|
}
|
|
9041
9041
|
};
|
|
9042
9042
|
|
|
@@ -9122,7 +9122,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9122
9122
|
//console.log('useLayoutEffect')
|
|
9123
9123
|
if (!firstLoad) {
|
|
9124
9124
|
setUpArrowClicked(false);
|
|
9125
|
-
if (
|
|
9125
|
+
if (main_43) {
|
|
9126
9126
|
grabLoadedAds();
|
|
9127
9127
|
} else {
|
|
9128
9128
|
scrollToArticle();
|
|
@@ -9146,7 +9146,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9146
9146
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
9147
9147
|
if (pageview) pageview(path);
|
|
9148
9148
|
|
|
9149
|
-
if (!
|
|
9149
|
+
if (!main_43) {
|
|
9150
9150
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9151
9151
|
if (window.googletag && googletag.pubadsReady) {
|
|
9152
9152
|
lib_3.refresh();
|
|
@@ -9154,7 +9154,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9154
9154
|
});
|
|
9155
9155
|
}
|
|
9156
9156
|
//Refresh leaderboard ad on mobile
|
|
9157
|
-
if (
|
|
9157
|
+
if (main_43) {
|
|
9158
9158
|
var leaderboardSlotId = '';
|
|
9159
9159
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9160
9160
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -9194,38 +9194,38 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9194
9194
|
setSensorVisible(false);
|
|
9195
9195
|
};
|
|
9196
9196
|
|
|
9197
|
-
return
|
|
9198
|
-
|
|
9197
|
+
return React__default.createElement(
|
|
9198
|
+
React__default.Fragment,
|
|
9199
9199
|
null,
|
|
9200
|
-
|
|
9200
|
+
React__default.createElement(
|
|
9201
9201
|
'div',
|
|
9202
9202
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9203
|
-
|
|
9203
|
+
React__default.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9204
9204
|
return handleArrowClick();
|
|
9205
9205
|
} })
|
|
9206
9206
|
),
|
|
9207
|
-
|
|
9208
|
-
|
|
9207
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9208
|
+
React__default.createElement(
|
|
9209
9209
|
'div',
|
|
9210
9210
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9211
|
-
|
|
9211
|
+
React__default.createElement(
|
|
9212
9212
|
'h5',
|
|
9213
9213
|
{ className: 'objective-title' },
|
|
9214
9214
|
nodes.seriesTitle
|
|
9215
9215
|
),
|
|
9216
|
-
|
|
9216
|
+
React__default.createElement(
|
|
9217
9217
|
'div',
|
|
9218
9218
|
{ className: 'prevNextWrapper' },
|
|
9219
9219
|
PrevNextCards(false, -1)
|
|
9220
9220
|
)
|
|
9221
9221
|
),
|
|
9222
|
-
|
|
9223
|
-
|
|
9222
|
+
React__default.createElement('hr', { className: 'article-seperater' }),
|
|
9223
|
+
React__default.createElement(
|
|
9224
9224
|
'div',
|
|
9225
9225
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
9226
|
-
|
|
9226
|
+
main_43 && Ads.map(function (ad, index) {
|
|
9227
9227
|
if (index === 0) {
|
|
9228
|
-
return
|
|
9228
|
+
return React__default.createElement(
|
|
9229
9229
|
'div',
|
|
9230
9230
|
{
|
|
9231
9231
|
key: 'addid-1',
|
|
@@ -9245,14 +9245,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9245
9245
|
}
|
|
9246
9246
|
})
|
|
9247
9247
|
),
|
|
9248
|
-
|
|
9248
|
+
React__default.createElement(
|
|
9249
9249
|
'div',
|
|
9250
9250
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9251
9251
|
Articles.map(function (article, index) {
|
|
9252
|
-
return
|
|
9252
|
+
return React__default.createElement(
|
|
9253
9253
|
'div',
|
|
9254
9254
|
{ key: article.title },
|
|
9255
|
-
|
|
9255
|
+
React__default.createElement(
|
|
9256
9256
|
InscreenSensor,
|
|
9257
9257
|
{
|
|
9258
9258
|
visible: sensorVisible,
|
|
@@ -9270,84 +9270,84 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9270
9270
|
}
|
|
9271
9271
|
}
|
|
9272
9272
|
} },
|
|
9273
|
-
|
|
9273
|
+
React__default.createElement(
|
|
9274
9274
|
Head,
|
|
9275
9275
|
null,
|
|
9276
|
-
currentTitle !== null &&
|
|
9276
|
+
currentTitle !== null && React__default.createElement(
|
|
9277
9277
|
'title',
|
|
9278
9278
|
{ key: 'title' },
|
|
9279
9279
|
currentTitle
|
|
9280
9280
|
),
|
|
9281
|
-
currentSummary !== null &&
|
|
9282
|
-
currentURL !== null &&
|
|
9283
|
-
currentTitle !== null &&
|
|
9284
|
-
currentThumbnail !== null &&
|
|
9285
|
-
currentSummary !== null &&
|
|
9286
|
-
currentTitle !== null &&
|
|
9287
|
-
currentThumbnail !== null &&
|
|
9288
|
-
currentSummary !== null &&
|
|
9281
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9282
|
+
currentURL !== null && React__default.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9283
|
+
currentTitle !== null && React__default.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9284
|
+
currentThumbnail !== null && React__default.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9285
|
+
currentSummary !== null && React__default.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9286
|
+
currentTitle !== null && React__default.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9287
|
+
currentThumbnail !== null && React__default.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9288
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9289
9289
|
),
|
|
9290
|
-
|
|
9290
|
+
React__default.createElement(
|
|
9291
9291
|
'article',
|
|
9292
9292
|
{ className: 'article-wrapper' },
|
|
9293
|
-
|
|
9293
|
+
React__default.createElement(
|
|
9294
9294
|
'div',
|
|
9295
9295
|
{ className: 'article-publishDate' },
|
|
9296
9296
|
moment(article.published).format('LL')
|
|
9297
9297
|
),
|
|
9298
|
-
|
|
9298
|
+
React__default.createElement(
|
|
9299
9299
|
'div',
|
|
9300
9300
|
{ className: 'author-details-wrapper' },
|
|
9301
9301
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9302
|
-
return
|
|
9302
|
+
return React__default.createElement(
|
|
9303
9303
|
'span',
|
|
9304
9304
|
{ key: index },
|
|
9305
9305
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9306
9306
|
);
|
|
9307
9307
|
})
|
|
9308
9308
|
),
|
|
9309
|
-
|
|
9309
|
+
React__default.createElement(
|
|
9310
9310
|
'h2',
|
|
9311
9311
|
{ className: 'article-title' },
|
|
9312
9312
|
article.title
|
|
9313
9313
|
),
|
|
9314
|
-
|
|
9314
|
+
React__default.createElement(
|
|
9315
9315
|
'div',
|
|
9316
9316
|
{ className: 'mt-2 mb-2' },
|
|
9317
|
-
|
|
9317
|
+
React__default.createElement(BlockContent, _extends({
|
|
9318
9318
|
serializers: getSerializers,
|
|
9319
9319
|
videoAccountIDs: accountIDs,
|
|
9320
9320
|
blocks: article.text,
|
|
9321
9321
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9322
9322
|
}, client.config())),
|
|
9323
|
-
|
|
9323
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' })
|
|
9324
9324
|
),
|
|
9325
|
-
Articles.length > 1 &&
|
|
9326
|
-
|
|
9325
|
+
Articles.length > 1 && React__default.createElement(
|
|
9326
|
+
React__default.Fragment,
|
|
9327
9327
|
null,
|
|
9328
|
-
|
|
9328
|
+
React__default.createElement(
|
|
9329
9329
|
'div',
|
|
9330
9330
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9331
|
-
|
|
9331
|
+
React__default.createElement(
|
|
9332
9332
|
'h5',
|
|
9333
9333
|
{ className: 'objective-title' },
|
|
9334
9334
|
nodes.seriesTitle
|
|
9335
9335
|
),
|
|
9336
|
-
|
|
9336
|
+
React__default.createElement(
|
|
9337
9337
|
'div',
|
|
9338
9338
|
{ className: 'prevNextWrapper' },
|
|
9339
9339
|
PrevNextCards(true, index)
|
|
9340
9340
|
)
|
|
9341
9341
|
),
|
|
9342
|
-
|
|
9342
|
+
React__default.createElement('hr', { className: 'article-seperater' })
|
|
9343
9343
|
)
|
|
9344
9344
|
),
|
|
9345
|
-
|
|
9345
|
+
React__default.createElement(
|
|
9346
9346
|
'div',
|
|
9347
9347
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
9348
|
-
|
|
9348
|
+
main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
9349
9349
|
if (innerIndex === 0) {
|
|
9350
|
-
return
|
|
9350
|
+
return React__default.createElement(
|
|
9351
9351
|
'div',
|
|
9352
9352
|
{
|
|
9353
9353
|
key: 'addid-' + (index + 2),
|
|
@@ -9370,7 +9370,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9370
9370
|
)
|
|
9371
9371
|
);
|
|
9372
9372
|
}),
|
|
9373
|
-
|
|
9373
|
+
React__default.createElement(
|
|
9374
9374
|
'style',
|
|
9375
9375
|
{ jsx: 'true' },
|
|
9376
9376
|
'\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 '
|
|
@@ -9400,11 +9400,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9400
9400
|
};
|
|
9401
9401
|
}, [handleClickOutside]);
|
|
9402
9402
|
|
|
9403
|
-
return
|
|
9403
|
+
return React__default.createElement(
|
|
9404
9404
|
'div',
|
|
9405
9405
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9406
|
-
|
|
9407
|
-
|
|
9406
|
+
React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9407
|
+
React__default.createElement(
|
|
9408
9408
|
'style',
|
|
9409
9409
|
{ jsx: 'true' },
|
|
9410
9410
|
'\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 '
|
|
@@ -9418,7 +9418,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9418
9418
|
}
|
|
9419
9419
|
};
|
|
9420
9420
|
|
|
9421
|
-
var FigureImage =
|
|
9421
|
+
var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
9422
9422
|
var node = _ref2.node,
|
|
9423
9423
|
client = _ref2.client,
|
|
9424
9424
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9426,13 +9426,13 @@ var FigureImage = React.memo(function (_ref2) {
|
|
|
9426
9426
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9427
9427
|
|
|
9428
9428
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9429
|
-
return
|
|
9429
|
+
return React__default.createElement(
|
|
9430
9430
|
'picture',
|
|
9431
9431
|
null,
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9432
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9433
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9434
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9435
|
+
React__default.createElement('img', _extends({
|
|
9436
9436
|
style: figureImageStyle,
|
|
9437
9437
|
className: 'figure-image',
|
|
9438
9438
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9483,30 +9483,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9483
9483
|
|
|
9484
9484
|
var renderTooltip = function renderTooltip(props) {
|
|
9485
9485
|
if (infoBox[0].title) {
|
|
9486
|
-
return
|
|
9486
|
+
return React__default.createElement(
|
|
9487
9487
|
Popover,
|
|
9488
9488
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9489
|
-
|
|
9489
|
+
React__default.createElement(
|
|
9490
9490
|
Popover.Title,
|
|
9491
9491
|
{ as: 'h3' },
|
|
9492
9492
|
infoBox[0].title
|
|
9493
9493
|
),
|
|
9494
|
-
|
|
9494
|
+
React__default.createElement(
|
|
9495
9495
|
Popover.Content,
|
|
9496
9496
|
null,
|
|
9497
|
-
|
|
9497
|
+
React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9498
9498
|
)
|
|
9499
9499
|
);
|
|
9500
9500
|
} else {
|
|
9501
|
-
return
|
|
9501
|
+
return React__default.createElement(
|
|
9502
9502
|
Tooltip,
|
|
9503
9503
|
_extends({ id: 'button-tooltip' }, props),
|
|
9504
|
-
|
|
9504
|
+
React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9505
9505
|
);
|
|
9506
9506
|
}
|
|
9507
9507
|
};
|
|
9508
9508
|
|
|
9509
|
-
var FigureImageWOverLay =
|
|
9509
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9510
9510
|
var node = _ref3.node,
|
|
9511
9511
|
client = _ref3.client,
|
|
9512
9512
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9514,32 +9514,32 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9514
9514
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9515
9515
|
|
|
9516
9516
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9517
|
-
var triggerAction =
|
|
9518
|
-
var placementLocation =
|
|
9519
|
-
return
|
|
9517
|
+
var triggerAction = main_42 ? 'click' : 'hover';
|
|
9518
|
+
var placementLocation = main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9519
|
+
return React__default.createElement(
|
|
9520
9520
|
'picture',
|
|
9521
9521
|
null,
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9522
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9523
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9524
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9525
|
+
main_42 && link ? React__default.createElement('img', _extends({
|
|
9526
9526
|
style: figureImageStyle,
|
|
9527
9527
|
className: 'figure-image',
|
|
9528
9528
|
src: urlFor({ source: node, client: client }),
|
|
9529
9529
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9530
|
-
}, !link && !
|
|
9530
|
+
}, !link && !main_42 && {
|
|
9531
9531
|
onClick: function onClick() {
|
|
9532
9532
|
return handleClickFigure(node, client);
|
|
9533
9533
|
}
|
|
9534
|
-
})) :
|
|
9534
|
+
})) : React__default.createElement(
|
|
9535
9535
|
OverlayTrigger,
|
|
9536
9536
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9537
|
-
|
|
9537
|
+
React__default.createElement('img', _extends({
|
|
9538
9538
|
style: figureImageStyle,
|
|
9539
9539
|
className: 'figure-image',
|
|
9540
9540
|
src: urlFor({ source: node, client: client }),
|
|
9541
9541
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9542
|
-
}, !link && !
|
|
9542
|
+
}, !link && !main_42 && {
|
|
9543
9543
|
onClick: function onClick() {
|
|
9544
9544
|
return handleClickFigure(node, client);
|
|
9545
9545
|
}
|
|
@@ -9588,13 +9588,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9588
9588
|
|
|
9589
9589
|
var FigureCaption = useCallback(function () {
|
|
9590
9590
|
if (imgcaption && imgcaption.length > 0) {
|
|
9591
|
-
return
|
|
9591
|
+
return React__default.createElement(
|
|
9592
9592
|
'div',
|
|
9593
9593
|
{ className: 'figure-caption' },
|
|
9594
|
-
|
|
9594
|
+
React__default.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9595
9595
|
);
|
|
9596
9596
|
} else if (caption) {
|
|
9597
|
-
return
|
|
9597
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9598
9598
|
} else return null;
|
|
9599
9599
|
}, [caption, imgcaption]);
|
|
9600
9600
|
|
|
@@ -9611,24 +9611,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9611
9611
|
setShowLightbox(true);
|
|
9612
9612
|
}, [node, client]);
|
|
9613
9613
|
|
|
9614
|
-
return
|
|
9615
|
-
|
|
9614
|
+
return React__default.createElement(
|
|
9615
|
+
React__default.Fragment,
|
|
9616
9616
|
null,
|
|
9617
|
-
infoBox.length >= 1 ?
|
|
9617
|
+
infoBox.length >= 1 ? React__default.createElement(
|
|
9618
9618
|
Figure$2,
|
|
9619
9619
|
{ className: '' + class_name, style: figureStyle },
|
|
9620
|
-
link ?
|
|
9620
|
+
link ? React__default.createElement(
|
|
9621
9621
|
'a',
|
|
9622
9622
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
) :
|
|
9626
|
-
|
|
9623
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9624
|
+
React__default.createElement(FigureCaption, null)
|
|
9625
|
+
) : React__default.createElement(
|
|
9626
|
+
React__default.Fragment,
|
|
9627
9627
|
null,
|
|
9628
|
-
|
|
9629
|
-
|
|
9628
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9629
|
+
React__default.createElement(FigureCaption, null)
|
|
9630
9630
|
),
|
|
9631
|
-
|
|
9631
|
+
React__default.createElement(LightBox, {
|
|
9632
9632
|
showLightbox: showLightbox,
|
|
9633
9633
|
lightboxImgSrc: lightboxImgSrc,
|
|
9634
9634
|
closeLightbox: function closeLightbox() {
|
|
@@ -9636,21 +9636,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9636
9636
|
setShowLightbox(false);
|
|
9637
9637
|
}
|
|
9638
9638
|
})
|
|
9639
|
-
) :
|
|
9639
|
+
) : React__default.createElement(
|
|
9640
9640
|
Figure$2,
|
|
9641
9641
|
{ className: '' + class_name, style: figureStyle },
|
|
9642
|
-
link ?
|
|
9642
|
+
link ? React__default.createElement(
|
|
9643
9643
|
'a',
|
|
9644
9644
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
) :
|
|
9648
|
-
|
|
9645
|
+
React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9646
|
+
React__default.createElement(FigureCaption, null)
|
|
9647
|
+
) : React__default.createElement(
|
|
9648
|
+
React__default.Fragment,
|
|
9649
9649
|
null,
|
|
9650
|
-
|
|
9651
|
-
|
|
9650
|
+
React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9651
|
+
React__default.createElement(FigureCaption, null)
|
|
9652
9652
|
),
|
|
9653
|
-
|
|
9653
|
+
React__default.createElement(LightBox, {
|
|
9654
9654
|
showLightbox: showLightbox,
|
|
9655
9655
|
lightboxImgSrc: lightboxImgSrc,
|
|
9656
9656
|
closeLightbox: function closeLightbox() {
|
|
@@ -9659,7 +9659,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9659
9659
|
}
|
|
9660
9660
|
})
|
|
9661
9661
|
),
|
|
9662
|
-
|
|
9662
|
+
React__default.createElement(
|
|
9663
9663
|
'style',
|
|
9664
9664
|
{ jsx: 'true' },
|
|
9665
9665
|
'\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 '
|
|
@@ -9667,7 +9667,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9667
9667
|
);
|
|
9668
9668
|
};
|
|
9669
9669
|
|
|
9670
|
-
var Figure =
|
|
9670
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
9671
9671
|
|
|
9672
9672
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9673
9673
|
useEffect(function () {
|
|
@@ -9684,7 +9684,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9684
9684
|
}, [ref]);
|
|
9685
9685
|
}
|
|
9686
9686
|
|
|
9687
|
-
var FigureImage
|
|
9687
|
+
var FigureImage = React__default.memo(function (_ref) {
|
|
9688
9688
|
var imagesCount = _ref.imagesCount,
|
|
9689
9689
|
image = _ref.image,
|
|
9690
9690
|
client = _ref.client,
|
|
@@ -9692,13 +9692,13 @@ var FigureImage$1 = React.memo(function (_ref) {
|
|
|
9692
9692
|
link = _ref.link,
|
|
9693
9693
|
handleClickFigure = _ref.handleClickFigure;
|
|
9694
9694
|
|
|
9695
|
-
return
|
|
9695
|
+
return React__default.createElement(
|
|
9696
9696
|
'picture',
|
|
9697
9697
|
null,
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9698
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9699
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9700
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9701
|
+
React__default.createElement('img', _extends({
|
|
9702
9702
|
'images-count': imagesCount,
|
|
9703
9703
|
className: 'multi-figure-image',
|
|
9704
9704
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9735,13 +9735,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9735
9735
|
imgcaption = _ref2.imgcaption;
|
|
9736
9736
|
|
|
9737
9737
|
if (imgcaption && imgcaption.length > 0) {
|
|
9738
|
-
return
|
|
9738
|
+
return React__default.createElement(
|
|
9739
9739
|
'div',
|
|
9740
9740
|
{ className: 'multi-figure-caption' },
|
|
9741
|
-
|
|
9741
|
+
React__default.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9742
9742
|
);
|
|
9743
9743
|
} else if (caption) {
|
|
9744
|
-
return
|
|
9744
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9745
9745
|
} else return null;
|
|
9746
9746
|
};
|
|
9747
9747
|
|
|
@@ -9750,7 +9750,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9750
9750
|
setOpenImg(true);
|
|
9751
9751
|
}, [client]);
|
|
9752
9752
|
|
|
9753
|
-
var FigureImageWOverLay =
|
|
9753
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9754
9754
|
var imagesCount = _ref3.imagesCount,
|
|
9755
9755
|
image = _ref3.image,
|
|
9756
9756
|
client = _ref3.client,
|
|
@@ -9758,32 +9758,32 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9758
9758
|
link = _ref3.link,
|
|
9759
9759
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9760
9760
|
|
|
9761
|
-
var triggerAction =
|
|
9762
|
-
var placementLocation =
|
|
9763
|
-
return
|
|
9761
|
+
var triggerAction = main_42 ? 'click' : 'hover';
|
|
9762
|
+
var placementLocation = main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9763
|
+
return React__default.createElement(
|
|
9764
9764
|
'picture',
|
|
9765
9765
|
null,
|
|
9766
|
-
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
|
|
9766
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9767
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9768
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9769
|
+
main_42 && link ? React__default.createElement('img', _extends({
|
|
9770
9770
|
'images-count': imagesCount,
|
|
9771
9771
|
className: 'multi-figure-image',
|
|
9772
9772
|
src: urlFor({ source: image, client: client }),
|
|
9773
9773
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9774
|
-
}, !link && !
|
|
9774
|
+
}, !link && !main_42 && {
|
|
9775
9775
|
onClick: function onClick() {
|
|
9776
9776
|
return handleClickFigure(image, client);
|
|
9777
9777
|
}
|
|
9778
|
-
})) :
|
|
9778
|
+
})) : React__default.createElement(
|
|
9779
9779
|
OverlayTrigger,
|
|
9780
9780
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9781
|
-
|
|
9781
|
+
React__default.createElement('img', _extends({
|
|
9782
9782
|
'images-count': imagesCount,
|
|
9783
9783
|
className: 'multi-figure-image',
|
|
9784
9784
|
src: urlFor({ source: image, client: client }),
|
|
9785
9785
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9786
|
-
}, !link && !
|
|
9786
|
+
}, !link && !main_42 && {
|
|
9787
9787
|
onClick: function onClick() {
|
|
9788
9788
|
return handleClickFigure(image, client);
|
|
9789
9789
|
}
|
|
@@ -9794,102 +9794,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9794
9794
|
|
|
9795
9795
|
var renderTooltip = function renderTooltip(image) {
|
|
9796
9796
|
if (image.infoBox[0].title) {
|
|
9797
|
-
return
|
|
9797
|
+
return React__default.createElement(
|
|
9798
9798
|
Popover,
|
|
9799
9799
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9800
|
-
|
|
9800
|
+
React__default.createElement(
|
|
9801
9801
|
Popover.Title,
|
|
9802
9802
|
{ as: 'h3' },
|
|
9803
9803
|
image.infoBox[0].title
|
|
9804
9804
|
),
|
|
9805
|
-
|
|
9805
|
+
React__default.createElement(
|
|
9806
9806
|
Popover.Content,
|
|
9807
9807
|
null,
|
|
9808
|
-
|
|
9808
|
+
React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9809
9809
|
)
|
|
9810
9810
|
);
|
|
9811
9811
|
} else {
|
|
9812
|
-
return
|
|
9812
|
+
return React__default.createElement(
|
|
9813
9813
|
Tooltip,
|
|
9814
9814
|
_extends({ id: 'button-tooltip' }, props),
|
|
9815
|
-
|
|
9815
|
+
React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9816
9816
|
);
|
|
9817
9817
|
}
|
|
9818
9818
|
};
|
|
9819
9819
|
|
|
9820
9820
|
if (images && images.length > 0) {
|
|
9821
|
-
return
|
|
9821
|
+
return React__default.createElement(
|
|
9822
9822
|
'div',
|
|
9823
9823
|
{ className: 'multi-figure-container' },
|
|
9824
|
-
|
|
9824
|
+
React__default.createElement(
|
|
9825
9825
|
Row$1,
|
|
9826
9826
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9827
9827
|
images.map(function (image, index) {
|
|
9828
9828
|
if (image.infoBox) {
|
|
9829
|
-
return
|
|
9829
|
+
return React__default.createElement(
|
|
9830
9830
|
Col$1,
|
|
9831
9831
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9832
|
-
image.link ?
|
|
9832
|
+
image.link ? React__default.createElement(
|
|
9833
9833
|
'a',
|
|
9834
9834
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9835
|
-
|
|
9835
|
+
React__default.createElement(
|
|
9836
9836
|
'div',
|
|
9837
9837
|
{ className: 'multi-figure-image-container' },
|
|
9838
|
-
|
|
9838
|
+
React__default.createElement(
|
|
9839
9839
|
LazyLoad,
|
|
9840
9840
|
{ once: true },
|
|
9841
|
-
|
|
9841
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9842
9842
|
),
|
|
9843
|
-
|
|
9843
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9844
9844
|
)
|
|
9845
|
-
) :
|
|
9845
|
+
) : React__default.createElement(
|
|
9846
9846
|
'div',
|
|
9847
9847
|
{ className: 'multi-figure-image-container' },
|
|
9848
|
-
|
|
9848
|
+
React__default.createElement(
|
|
9849
9849
|
LazyLoad,
|
|
9850
9850
|
{ once: true },
|
|
9851
|
-
|
|
9851
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9852
9852
|
),
|
|
9853
|
-
|
|
9853
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9854
9854
|
)
|
|
9855
9855
|
);
|
|
9856
9856
|
} else {
|
|
9857
|
-
return
|
|
9857
|
+
return React__default.createElement(
|
|
9858
9858
|
Col$1,
|
|
9859
9859
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9860
|
-
image.link ?
|
|
9860
|
+
image.link ? React__default.createElement(
|
|
9861
9861
|
'a',
|
|
9862
9862
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9863
|
-
|
|
9863
|
+
React__default.createElement(
|
|
9864
9864
|
'div',
|
|
9865
9865
|
{ className: 'multi-figure-image-container' },
|
|
9866
|
-
|
|
9866
|
+
React__default.createElement(
|
|
9867
9867
|
LazyLoad,
|
|
9868
9868
|
{ once: true },
|
|
9869
|
-
|
|
9869
|
+
React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9870
9870
|
),
|
|
9871
|
-
|
|
9871
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9872
9872
|
)
|
|
9873
|
-
) :
|
|
9873
|
+
) : React__default.createElement(
|
|
9874
9874
|
'div',
|
|
9875
9875
|
{ className: 'multi-figure-image-container' },
|
|
9876
|
-
|
|
9876
|
+
React__default.createElement(
|
|
9877
9877
|
LazyLoad,
|
|
9878
9878
|
{ once: true },
|
|
9879
|
-
|
|
9879
|
+
React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9880
9880
|
),
|
|
9881
|
-
|
|
9881
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9882
9882
|
)
|
|
9883
9883
|
);
|
|
9884
9884
|
}
|
|
9885
9885
|
})
|
|
9886
9886
|
),
|
|
9887
|
-
|
|
9887
|
+
React__default.createElement(
|
|
9888
9888
|
'div',
|
|
9889
9889
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9890
|
-
|
|
9890
|
+
React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9891
9891
|
),
|
|
9892
|
-
|
|
9892
|
+
React__default.createElement(
|
|
9893
9893
|
'style',
|
|
9894
9894
|
{ jsx: 'true' },
|
|
9895
9895
|
'\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 '
|
|
@@ -9938,23 +9938,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9938
9938
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9939
9939
|
}, []);
|
|
9940
9940
|
|
|
9941
|
-
return
|
|
9942
|
-
|
|
9941
|
+
return React__default.createElement(
|
|
9942
|
+
React__default.Fragment,
|
|
9943
9943
|
null,
|
|
9944
|
-
|
|
9944
|
+
React__default.createElement(
|
|
9945
9945
|
Head,
|
|
9946
9946
|
null,
|
|
9947
|
-
|
|
9947
|
+
React__default.createElement('script', {
|
|
9948
9948
|
dangerouslySetInnerHTML: {
|
|
9949
9949
|
__html: 'history.scrollRestoration = "manual"'
|
|
9950
9950
|
}
|
|
9951
9951
|
})
|
|
9952
9952
|
),
|
|
9953
|
-
|
|
9953
|
+
React__default.createElement(
|
|
9954
9954
|
'div',
|
|
9955
9955
|
{ id: elementId },
|
|
9956
|
-
|
|
9957
|
-
|
|
9956
|
+
React__default.createElement(BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9957
|
+
React__default.createElement(
|
|
9958
9958
|
'style',
|
|
9959
9959
|
{ jsx: 'true' },
|
|
9960
9960
|
'\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 '
|
|
@@ -9963,6 +9963,258 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9963
9963
|
);
|
|
9964
9964
|
};
|
|
9965
9965
|
|
|
9966
|
+
var objectWithoutProperties = createCommonjsModule(function (module, exports) {
|
|
9967
|
+
|
|
9968
|
+
exports.__esModule = true;
|
|
9969
|
+
|
|
9970
|
+
exports.default = function (obj, keys) {
|
|
9971
|
+
var target = {};
|
|
9972
|
+
|
|
9973
|
+
for (var i in obj) {
|
|
9974
|
+
if (keys.indexOf(i) >= 0) continue;
|
|
9975
|
+
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
9976
|
+
target[i] = obj[i];
|
|
9977
|
+
}
|
|
9978
|
+
|
|
9979
|
+
return target;
|
|
9980
|
+
};
|
|
9981
|
+
});
|
|
9982
|
+
|
|
9983
|
+
unwrapExports(objectWithoutProperties);
|
|
9984
|
+
|
|
9985
|
+
var ScriptTag_1 = createCommonjsModule(function (module, exports) {
|
|
9986
|
+
|
|
9987
|
+
exports.__esModule = true;
|
|
9988
|
+
|
|
9989
|
+
|
|
9990
|
+
|
|
9991
|
+
var _extends3 = _interopRequireDefault(_extends$1);
|
|
9992
|
+
|
|
9993
|
+
|
|
9994
|
+
|
|
9995
|
+
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
9996
|
+
|
|
9997
|
+
|
|
9998
|
+
|
|
9999
|
+
var _classCallCheck3 = _interopRequireDefault(classCallCheck);
|
|
10000
|
+
|
|
10001
|
+
|
|
10002
|
+
|
|
10003
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
|
|
10004
|
+
|
|
10005
|
+
|
|
10006
|
+
|
|
10007
|
+
var _inherits3 = _interopRequireDefault(inherits);
|
|
10008
|
+
|
|
10009
|
+
|
|
10010
|
+
|
|
10011
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
10012
|
+
|
|
10013
|
+
|
|
10014
|
+
|
|
10015
|
+
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
10016
|
+
|
|
10017
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10018
|
+
var noop = function noop() {};
|
|
10019
|
+
|
|
10020
|
+
var ScriptTag = function (_Component) {
|
|
10021
|
+
(0, _inherits3.default)(ScriptTag, _Component);
|
|
10022
|
+
|
|
10023
|
+
ScriptTag.removeNode = function removeNode(node) {
|
|
10024
|
+
if (node) {
|
|
10025
|
+
node.parentNode.removeChild(node);
|
|
10026
|
+
}
|
|
10027
|
+
};
|
|
10028
|
+
|
|
10029
|
+
function ScriptTag(props, context) {
|
|
10030
|
+
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
10031
|
+
|
|
10032
|
+
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
10033
|
+
|
|
10034
|
+
_this.domRef = null;
|
|
10035
|
+
_this.state = {
|
|
10036
|
+
isHydrated: props.isHydrating,
|
|
10037
|
+
additionalNode: null,
|
|
10038
|
+
removeAdditionalNode: null
|
|
10039
|
+
};
|
|
10040
|
+
return _this;
|
|
10041
|
+
}
|
|
10042
|
+
|
|
10043
|
+
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
10044
|
+
var _props = this.props,
|
|
10045
|
+
onError = _props.onError,
|
|
10046
|
+
onLoad = _props.onLoad,
|
|
10047
|
+
nonce = _props.nonce;
|
|
10048
|
+
|
|
10049
|
+
// Create a new HTML script element
|
|
10050
|
+
|
|
10051
|
+
var newElement = document.createElement("script");
|
|
10052
|
+
|
|
10053
|
+
// Copy all attribute values
|
|
10054
|
+
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
10055
|
+
var attr = this.domRef.attributes[i];
|
|
10056
|
+
if (attr.nodeName === 'nonce') {
|
|
10057
|
+
// The browser clears the nonce value - grab from props
|
|
10058
|
+
newElement.setAttribute(attr.nodeName, nonce);
|
|
10059
|
+
} else {
|
|
10060
|
+
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
10061
|
+
}
|
|
10062
|
+
}
|
|
10063
|
+
|
|
10064
|
+
// Copy the inner script
|
|
10065
|
+
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
10066
|
+
newElement.innerHTML = this.domRef.innerHTML;
|
|
10067
|
+
}
|
|
10068
|
+
|
|
10069
|
+
// Bind event listeners
|
|
10070
|
+
newElement.addEventListener('load', onLoad);
|
|
10071
|
+
newElement.addEventListener('error', onError);
|
|
10072
|
+
|
|
10073
|
+
// Append the new script tag
|
|
10074
|
+
this.domRef.parentNode.appendChild(newElement);
|
|
10075
|
+
return newElement;
|
|
10076
|
+
};
|
|
10077
|
+
|
|
10078
|
+
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
10079
|
+
var isHydrated = this.state.isHydrated;
|
|
10080
|
+
|
|
10081
|
+
if (isHydrated) {
|
|
10082
|
+
// was rendered on server, don't replace elements when hydrating
|
|
10083
|
+
return;
|
|
10084
|
+
}
|
|
10085
|
+
|
|
10086
|
+
this.setState({
|
|
10087
|
+
additionalNode: this.appendAdditionalElement(),
|
|
10088
|
+
removeAdditionalNode: null
|
|
10089
|
+
});
|
|
10090
|
+
};
|
|
10091
|
+
|
|
10092
|
+
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
10093
|
+
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
10094
|
+
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
10095
|
+
|
|
10096
|
+
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
10097
|
+
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
10098
|
+
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
10099
|
+
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
10100
|
+
// This really complicates the component - for now we'll leave it as is.
|
|
10101
|
+
var _props2 = this.props,
|
|
10102
|
+
src = _props2.src,
|
|
10103
|
+
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
10104
|
+
|
|
10105
|
+
if (src && src === nextProps.src) {
|
|
10106
|
+
// The 'src' attribute has not changed
|
|
10107
|
+
return;
|
|
10108
|
+
}
|
|
10109
|
+
|
|
10110
|
+
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
10111
|
+
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
10112
|
+
return;
|
|
10113
|
+
}
|
|
10114
|
+
|
|
10115
|
+
this.setState({
|
|
10116
|
+
removeAdditionalNode: this.state.additionalNode,
|
|
10117
|
+
additionalNode: null
|
|
10118
|
+
});
|
|
10119
|
+
};
|
|
10120
|
+
|
|
10121
|
+
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
10122
|
+
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
10123
|
+
};
|
|
10124
|
+
|
|
10125
|
+
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
10126
|
+
var _state = this.state,
|
|
10127
|
+
additionalNode = _state.additionalNode,
|
|
10128
|
+
removeAdditionalNode = _state.removeAdditionalNode;
|
|
10129
|
+
|
|
10130
|
+
if (additionalNode === null) {
|
|
10131
|
+
this.setState({
|
|
10132
|
+
additionalNode: this.appendAdditionalElement()
|
|
10133
|
+
});
|
|
10134
|
+
}
|
|
10135
|
+
|
|
10136
|
+
if (removeAdditionalNode !== null) {
|
|
10137
|
+
// Was removed in 'componentWillUpdate', but can not update state there
|
|
10138
|
+
this.setState({
|
|
10139
|
+
removeAdditionalNode: null
|
|
10140
|
+
});
|
|
10141
|
+
}
|
|
10142
|
+
};
|
|
10143
|
+
|
|
10144
|
+
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
10145
|
+
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
10146
|
+
ScriptTag.removeNode(this.state.additionalNode);
|
|
10147
|
+
};
|
|
10148
|
+
|
|
10149
|
+
ScriptTag.prototype.render = function render() {
|
|
10150
|
+
var _this2 = this;
|
|
10151
|
+
|
|
10152
|
+
var additionalNode = this.state.additionalNode;
|
|
10153
|
+
|
|
10154
|
+
if (additionalNode !== null) {
|
|
10155
|
+
return null;
|
|
10156
|
+
}
|
|
10157
|
+
|
|
10158
|
+
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10159
|
+
// eslint-disable-next-line no-unused-vars
|
|
10160
|
+
var _props3 = this.props;
|
|
10161
|
+
_props3.isHydrating;
|
|
10162
|
+
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10163
|
+
|
|
10164
|
+
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10165
|
+
return _this2.domRef = tag;
|
|
10166
|
+
} }));
|
|
10167
|
+
};
|
|
10168
|
+
|
|
10169
|
+
return ScriptTag;
|
|
10170
|
+
}(React__default.Component);
|
|
10171
|
+
|
|
10172
|
+
ScriptTag.propTypes = {
|
|
10173
|
+
/**
|
|
10174
|
+
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
10175
|
+
*/
|
|
10176
|
+
isHydrating: _propTypes2.default.bool,
|
|
10177
|
+
|
|
10178
|
+
// Standard <script> tag props
|
|
10179
|
+
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
10180
|
+
crossOrigin: _propTypes2.default.string,
|
|
10181
|
+
defer: _propTypes2.default.bool,
|
|
10182
|
+
integrity: _propTypes2.default.string,
|
|
10183
|
+
nonce: _propTypes2.default.string,
|
|
10184
|
+
src: _propTypes2.default.string,
|
|
10185
|
+
text: _propTypes2.default.string,
|
|
10186
|
+
type: _propTypes2.default.string,
|
|
10187
|
+
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
10188
|
+
|
|
10189
|
+
// globals
|
|
10190
|
+
onError: _propTypes2.default.func,
|
|
10191
|
+
onLoad: _propTypes2.default.func
|
|
10192
|
+
};
|
|
10193
|
+
ScriptTag.defaultProps = {
|
|
10194
|
+
isHydrating: false,
|
|
10195
|
+
onError: noop,
|
|
10196
|
+
onLoad: noop
|
|
10197
|
+
};
|
|
10198
|
+
exports.default = ScriptTag;
|
|
10199
|
+
});
|
|
10200
|
+
|
|
10201
|
+
unwrapExports(ScriptTag_1);
|
|
10202
|
+
|
|
10203
|
+
var lib = createCommonjsModule(function (module, exports) {
|
|
10204
|
+
|
|
10205
|
+
exports.__esModule = true;
|
|
10206
|
+
|
|
10207
|
+
|
|
10208
|
+
|
|
10209
|
+
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
10210
|
+
|
|
10211
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10212
|
+
|
|
10213
|
+
exports.default = _ScriptTag2.default;
|
|
10214
|
+
});
|
|
10215
|
+
|
|
10216
|
+
var ScriptTag = unwrapExports(lib);
|
|
10217
|
+
|
|
9966
10218
|
var enterpriseDomainName = 'mjhlifesciences';
|
|
9967
10219
|
|
|
9968
10220
|
var FormAssembly = function FormAssembly(props) {
|
|
@@ -9994,11 +10246,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
9994
10246
|
}, []);
|
|
9995
10247
|
|
|
9996
10248
|
if (iframeSrc) {
|
|
9997
|
-
return
|
|
10249
|
+
return React__default.createElement(
|
|
9998
10250
|
'section',
|
|
9999
10251
|
{ className: 'form-assembly' },
|
|
10000
|
-
|
|
10001
|
-
|
|
10252
|
+
React__default.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10253
|
+
React__default.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10002
10254
|
);
|
|
10003
10255
|
}
|
|
10004
10256
|
|
|
@@ -10035,27 +10287,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10035
10287
|
return window.removeEventListener('resize', handleResize);
|
|
10036
10288
|
};
|
|
10037
10289
|
}, []);
|
|
10038
|
-
return
|
|
10290
|
+
return React__default.createElement(
|
|
10039
10291
|
'div',
|
|
10040
10292
|
{ className: 'blockTableHolder', ref: holder },
|
|
10041
|
-
|
|
10293
|
+
React__default.createElement(
|
|
10042
10294
|
'div',
|
|
10043
10295
|
{ className: 'blockTable' },
|
|
10044
10296
|
rows && rows.map(function (row) {
|
|
10045
|
-
return
|
|
10297
|
+
return React__default.createElement(
|
|
10046
10298
|
'div',
|
|
10047
10299
|
{ className: 'blockTableRow' },
|
|
10048
10300
|
row.cells && row.cells.map(function (cell) {
|
|
10049
|
-
return
|
|
10301
|
+
return React__default.createElement(
|
|
10050
10302
|
'div',
|
|
10051
10303
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10052
|
-
|
|
10304
|
+
React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10053
10305
|
);
|
|
10054
10306
|
})
|
|
10055
10307
|
);
|
|
10056
10308
|
})
|
|
10057
10309
|
),
|
|
10058
|
-
|
|
10310
|
+
React__default.createElement(
|
|
10059
10311
|
'style',
|
|
10060
10312
|
{ jsx: true },
|
|
10061
10313
|
'\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 '
|
|
@@ -10142,12 +10394,12 @@ var getSerializers = function getSerializers() {
|
|
|
10142
10394
|
var node = _ref.node;
|
|
10143
10395
|
var url = node.url;
|
|
10144
10396
|
|
|
10145
|
-
return
|
|
10397
|
+
return React__default.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10146
10398
|
},
|
|
10147
10399
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10148
10400
|
var node = _ref2.node;
|
|
10149
10401
|
|
|
10150
|
-
return
|
|
10402
|
+
return React__default.createElement(YouTubeGallery, {
|
|
10151
10403
|
nodes: node,
|
|
10152
10404
|
article: article,
|
|
10153
10405
|
meta: meta,
|
|
@@ -10161,7 +10413,7 @@ var getSerializers = function getSerializers() {
|
|
|
10161
10413
|
articleSeries: function articleSeries(_ref3) {
|
|
10162
10414
|
var node = _ref3.node;
|
|
10163
10415
|
|
|
10164
|
-
return
|
|
10416
|
+
return React__default.createElement(ArticleSeries, {
|
|
10165
10417
|
nodes: node,
|
|
10166
10418
|
accountIDs: videoAccountIDs || {},
|
|
10167
10419
|
pageview: pageview,
|
|
@@ -10174,61 +10426,61 @@ var getSerializers = function getSerializers() {
|
|
|
10174
10426
|
figure: function figure(_ref4) {
|
|
10175
10427
|
var node = _ref4.node;
|
|
10176
10428
|
|
|
10177
|
-
return
|
|
10429
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10178
10430
|
},
|
|
10179
10431
|
multifigure: function multifigure(_ref5) {
|
|
10180
10432
|
var node = _ref5.node;
|
|
10181
10433
|
|
|
10182
|
-
return
|
|
10434
|
+
return React__default.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10183
10435
|
},
|
|
10184
10436
|
slideshow: function slideshow(_ref6) {
|
|
10185
10437
|
var node = _ref6.node;
|
|
10186
10438
|
var slides = node.slides;
|
|
10187
10439
|
|
|
10188
|
-
return
|
|
10440
|
+
return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10189
10441
|
},
|
|
10190
10442
|
sidebar: function sidebar(_ref7) {
|
|
10191
10443
|
var node = _ref7.node;
|
|
10192
10444
|
var caption = node.caption,
|
|
10193
10445
|
content = node.content;
|
|
10194
10446
|
|
|
10195
|
-
return
|
|
10447
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10196
10448
|
},
|
|
10197
10449
|
datatable: function datatable(_ref8) {
|
|
10198
10450
|
var node = _ref8.node;
|
|
10199
10451
|
var table = node.table;
|
|
10200
10452
|
|
|
10201
|
-
return
|
|
10453
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
10202
10454
|
},
|
|
10203
10455
|
media: function media(_ref9) {
|
|
10204
10456
|
var node = _ref9.node;
|
|
10205
10457
|
|
|
10206
|
-
return
|
|
10458
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
10207
10459
|
},
|
|
10208
10460
|
iframe: function iframe(_ref10) {
|
|
10209
10461
|
var node = _ref10.node;
|
|
10210
10462
|
|
|
10211
|
-
return
|
|
10463
|
+
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10212
10464
|
},
|
|
10213
10465
|
video: function video(_ref11) {
|
|
10214
10466
|
var node = _ref11.node;
|
|
10215
10467
|
|
|
10216
|
-
return
|
|
10468
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10217
10469
|
},
|
|
10218
10470
|
audio: function audio(_ref12) {
|
|
10219
10471
|
var node = _ref12.node;
|
|
10220
10472
|
|
|
10221
|
-
return
|
|
10473
|
+
return React__default.createElement(Audio, { node: node });
|
|
10222
10474
|
},
|
|
10223
10475
|
poll: function poll(_ref13) {
|
|
10224
10476
|
var node = _ref13.node;
|
|
10225
10477
|
|
|
10226
|
-
return
|
|
10478
|
+
return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10227
10479
|
},
|
|
10228
10480
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10229
10481
|
var node = _ref14.node;
|
|
10230
10482
|
|
|
10231
|
-
return
|
|
10483
|
+
return React__default.createElement(Poll, {
|
|
10232
10484
|
node: node,
|
|
10233
10485
|
client: client,
|
|
10234
10486
|
pageview: pageview,
|
|
@@ -10242,35 +10494,35 @@ var getSerializers = function getSerializers() {
|
|
|
10242
10494
|
var node = _ref15.node;
|
|
10243
10495
|
var quizzes = node.quizzes;
|
|
10244
10496
|
|
|
10245
|
-
return
|
|
10497
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10246
10498
|
},
|
|
10247
10499
|
leads: function leads(_ref16) {
|
|
10248
10500
|
var node = _ref16.node;
|
|
10249
10501
|
var leadID = node.leadID;
|
|
10250
10502
|
|
|
10251
10503
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10252
|
-
return
|
|
10504
|
+
return React__default.createElement(Leads, { url: url });
|
|
10253
10505
|
},
|
|
10254
10506
|
slideshows: function slideshows(_ref17) {
|
|
10255
10507
|
var node = _ref17.node;
|
|
10256
10508
|
|
|
10257
|
-
return
|
|
10509
|
+
return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10258
10510
|
},
|
|
10259
10511
|
nativeAd: function nativeAd(_ref18) {
|
|
10260
10512
|
var node = _ref18.node;
|
|
10261
10513
|
|
|
10262
|
-
return
|
|
10514
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
10263
10515
|
},
|
|
10264
10516
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10265
10517
|
var node = _ref19.node;
|
|
10266
10518
|
|
|
10267
|
-
return
|
|
10519
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10268
10520
|
},
|
|
10269
10521
|
hrtag: function hrtag() {
|
|
10270
|
-
return
|
|
10522
|
+
return React__default.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10271
10523
|
},
|
|
10272
10524
|
brtag: function brtag() {
|
|
10273
|
-
return
|
|
10525
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
10274
10526
|
},
|
|
10275
10527
|
formstack: function formstack(_ref20) {
|
|
10276
10528
|
var node = _ref20.node;
|
|
@@ -10278,29 +10530,29 @@ var getSerializers = function getSerializers() {
|
|
|
10278
10530
|
Caption = node.Caption,
|
|
10279
10531
|
needSegmentSupport = node.needSegmentSupport;
|
|
10280
10532
|
|
|
10281
|
-
return
|
|
10533
|
+
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10282
10534
|
},
|
|
10283
10535
|
formassembly: FormAssembly,
|
|
10284
10536
|
multimedia: function multimedia(_ref21) {
|
|
10285
10537
|
var node = _ref21.node;
|
|
10286
10538
|
|
|
10287
|
-
return
|
|
10539
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
10288
10540
|
},
|
|
10289
10541
|
blockTable: function blockTable(_ref22) {
|
|
10290
10542
|
var node = _ref22.node;
|
|
10291
|
-
return
|
|
10543
|
+
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10292
10544
|
}
|
|
10293
10545
|
},
|
|
10294
10546
|
marks: {
|
|
10295
10547
|
superscript: function superscript(props) {
|
|
10296
|
-
return
|
|
10548
|
+
return React__default.createElement(
|
|
10297
10549
|
'sup',
|
|
10298
10550
|
null,
|
|
10299
10551
|
props.children
|
|
10300
10552
|
);
|
|
10301
10553
|
},
|
|
10302
10554
|
subscript: function subscript(props) {
|
|
10303
|
-
return
|
|
10555
|
+
return React__default.createElement(
|
|
10304
10556
|
'sub',
|
|
10305
10557
|
null,
|
|
10306
10558
|
props.children
|
|
@@ -10317,7 +10569,7 @@ var getSerializers = function getSerializers() {
|
|
|
10317
10569
|
if (href && href.charAt(0) === '#') {
|
|
10318
10570
|
var elementId = href.slice(1);
|
|
10319
10571
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10320
|
-
return
|
|
10572
|
+
return React__default.createElement(
|
|
10321
10573
|
'a',
|
|
10322
10574
|
{ onClick: function onClick() {
|
|
10323
10575
|
return ScrollToElement(elementId);
|
|
@@ -10327,7 +10579,7 @@ var getSerializers = function getSerializers() {
|
|
|
10327
10579
|
}
|
|
10328
10580
|
|
|
10329
10581
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10330
|
-
return href ?
|
|
10582
|
+
return href ? React__default.createElement(
|
|
10331
10583
|
'a',
|
|
10332
10584
|
_extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10333
10585
|
children
|
|
@@ -10335,7 +10587,7 @@ var getSerializers = function getSerializers() {
|
|
|
10335
10587
|
},
|
|
10336
10588
|
alignleft: function alignleft(_ref23) {
|
|
10337
10589
|
var children = _ref23.children;
|
|
10338
|
-
return
|
|
10590
|
+
return React__default.createElement(
|
|
10339
10591
|
'div',
|
|
10340
10592
|
{ style: { textAlign: 'left' } },
|
|
10341
10593
|
children
|
|
@@ -10343,7 +10595,7 @@ var getSerializers = function getSerializers() {
|
|
|
10343
10595
|
},
|
|
10344
10596
|
alignright: function alignright(_ref24) {
|
|
10345
10597
|
var children = _ref24.children;
|
|
10346
|
-
return
|
|
10598
|
+
return React__default.createElement(
|
|
10347
10599
|
'div',
|
|
10348
10600
|
{ style: { textAlign: 'right' } },
|
|
10349
10601
|
children
|
|
@@ -10351,7 +10603,7 @@ var getSerializers = function getSerializers() {
|
|
|
10351
10603
|
},
|
|
10352
10604
|
aligncenter: function aligncenter(_ref25) {
|
|
10353
10605
|
var children = _ref25.children;
|
|
10354
|
-
return
|
|
10606
|
+
return React__default.createElement(
|
|
10355
10607
|
'div',
|
|
10356
10608
|
{ style: { textAlign: 'center' } },
|
|
10357
10609
|
children
|
|
@@ -10359,7 +10611,7 @@ var getSerializers = function getSerializers() {
|
|
|
10359
10611
|
},
|
|
10360
10612
|
alignjustify: function alignjustify(_ref26) {
|
|
10361
10613
|
var children = _ref26.children;
|
|
10362
|
-
return
|
|
10614
|
+
return React__default.createElement(
|
|
10363
10615
|
'div',
|
|
10364
10616
|
{ style: { textAlign: 'justify' } },
|
|
10365
10617
|
children
|
|
@@ -10369,7 +10621,7 @@ var getSerializers = function getSerializers() {
|
|
|
10369
10621
|
var children = props.children,
|
|
10370
10622
|
color = props.mark.color;
|
|
10371
10623
|
|
|
10372
|
-
return
|
|
10624
|
+
return React__default.createElement(
|
|
10373
10625
|
'span',
|
|
10374
10626
|
{ style: { color: color ? color.hex : null } },
|
|
10375
10627
|
children
|