@mjhls/mjh-framework 1.0.976 → 1.0.977-docgroup-test-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +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-b54f0bda.js → ADInfeed-81006615.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-4f0850ec.js → ADlgInfeed-0db07099.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 +28 -28
- 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/HealthCareProfessionalModal.js +2 -2
- 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-ad60f8ab.js → MediaSeriesCard-5bf9813e.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-7624a3bd.js → Pagination-1e0d5f1d.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/PixelTracking.js +7 -7
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PtceDeck.js +10 -10
- 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-08699353.js → SeriesSlider-594b19eb.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 +204 -143
- 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/getPtceActivities.js +4 -4
- package/dist/cjs/getQuery.js +1 -1
- 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-b5eb3ff8.js → index-d48b231c.js} +11 -6
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-0dbf5088.js → index-eb1c583d.js} +413 -163
- 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-310d113c.js → ADInfeed-6d1fc6bf.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-eeaa14e2.js → ADlgInfeed-dc36c928.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-b0a47123.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 +71 -70
- package/dist/esm/DeckQueuePaginated.js +64 -63
- package/dist/esm/{Dfp-e151d2de.js → Dfp-102f0beb.js} +21 -20
- package/dist/esm/EventsDeck.js +88 -88
- 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 +146 -145
- 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/HealthCareProfessionalModal.js +12 -12
- 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-b3ee22d7.js → MediaSeriesCard-305a9cb3.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-1e09918f.js → Pagination-cd21f8c2.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +98 -97
- package/dist/esm/PartnerDetailListingPaginated.js +94 -93
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PixelTracking.js +16 -16
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PtceDeck.js +23 -23
- 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-0379cc20.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-b364d074.js → SeriesSlider-f771e20d.js} +31 -31
- 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-77a22145.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 +393 -332
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-31d40a83.js → _is-array-8d21b9e3.js} +6 -6
- package/dist/esm/{_iter-detect-72edfd60.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-4201ccf6.js → _object-sap-7cee6f84.js} +1 -1
- package/dist/esm/{_object-to-array-fa0feeff.js → _object-to-array-2300e51b.js} +2 -2
- package/dist/esm/{asyncToGenerator-9c835201.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-8c71f470.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-3518b6fe.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-7fbbe94e.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/getPtceActivities.js +4 -4
- package/dist/esm/getQuery.js +1 -1
- 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-260246fb.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-c7b58dc8.js → index-264bbd3c.js} +822 -571
- package/dist/esm/{index-51a80699.js → index-3f5c03b2.js} +11 -6
- 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-d26c739e.js → inherits-a6ba2ec4.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/keys-31dcdb31.js +23 -0
- 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-99bcfd93.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-47a5394a.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-d92ed6e0.js → typeof-e9fc0c5d.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-0fc42ed8.js → urlForFile-b69adffc.js} +1 -1
- package/dist/esm/{ustream-api-cbba615a.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-406140e0.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-5ae6287a.js +0 -1375
- package/dist/esm/define-property-a8a00786.js +0 -18
- package/dist/esm/keys-5e9bd229.js +0 -23
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/stringify-0c65d837.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
|
@@ -1,47 +1,46 @@
|
|
|
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-d26c739e.js';
|
|
6
|
-
import { _ as _typeof$1 } from './typeof-d92ed6e0.js';
|
|
7
|
-
import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
8
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
9
|
-
import PropTypes from 'prop-types';
|
|
10
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
11
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
12
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
13
|
-
import Router, { useRouter } from 'next/router';
|
|
14
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-99bcfd93.js';
|
|
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-0c65d837.js';
|
|
20
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.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
25
|
import ReactGA from 'react-ga';
|
|
36
|
-
import
|
|
26
|
+
import GroupDeck from './GroupDeck.js';
|
|
27
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
37
28
|
import SocialShare from './SocialShare.js';
|
|
38
|
-
import { _ as
|
|
29
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
30
|
+
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
31
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
39
32
|
import Pagination from 'react-bootstrap/Pagination';
|
|
33
|
+
import { h as html_decode_1 } from './entities-6d9154b4.js';
|
|
34
|
+
import DFPAdSlot from './AdSlot.js';
|
|
35
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
36
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
37
|
+
import Head from 'next/head';
|
|
38
|
+
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';
|
|
39
|
+
import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
|
|
40
40
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
41
41
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
42
42
|
import Tooltip from 'react-bootstrap/Tooltip';
|
|
43
43
|
import Popover from 'react-bootstrap/Popover';
|
|
44
|
-
import ScriptTag from 'react-script-tag';
|
|
45
44
|
|
|
46
45
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
47
46
|
var pageNumber = selectedIndex + 1;
|
|
@@ -49,7 +48,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
49
48
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
50
49
|
};
|
|
51
50
|
|
|
52
|
-
var Slideshow = function Slideshow(_ref) {
|
|
51
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
53
52
|
var slides = _ref.slides,
|
|
54
53
|
client = _ref.client,
|
|
55
54
|
pageview = _ref.pageview;
|
|
@@ -76,27 +75,27 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
76
75
|
if (pageview) pageview(router.asPath);
|
|
77
76
|
}, [router]);
|
|
78
77
|
|
|
79
|
-
return
|
|
78
|
+
return React__default.createElement(
|
|
80
79
|
'div',
|
|
81
80
|
{ className: 'mt-3 mb-3' },
|
|
82
|
-
|
|
81
|
+
React__default.createElement(
|
|
83
82
|
Carousel,
|
|
84
83
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
85
84
|
return onChangeSlide(selectedIndex, router);
|
|
86
85
|
}, interval: null },
|
|
87
86
|
slides && slides.map(function (slide) {
|
|
88
|
-
return
|
|
87
|
+
return React__default.createElement(
|
|
89
88
|
Carousel.Item,
|
|
90
89
|
{ key: slide._key },
|
|
91
|
-
|
|
90
|
+
React__default.createElement(
|
|
92
91
|
'picture',
|
|
93
92
|
null,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
94
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
95
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
96
|
+
React__default.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
98
97
|
),
|
|
99
|
-
slide.caption &&
|
|
98
|
+
slide.caption && React__default.createElement(
|
|
100
99
|
'p',
|
|
101
100
|
{ className: 'p-2' },
|
|
102
101
|
slide.caption
|
|
@@ -686,14 +685,14 @@ function coerce(val) {
|
|
|
686
685
|
return val;
|
|
687
686
|
}
|
|
688
687
|
});
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
688
|
+
debug.coerce;
|
|
689
|
+
debug.disable;
|
|
690
|
+
debug.enable;
|
|
691
|
+
debug.enabled;
|
|
692
|
+
debug.humanize;
|
|
693
|
+
debug.names;
|
|
694
|
+
debug.skips;
|
|
695
|
+
debug.formatters;
|
|
697
696
|
|
|
698
697
|
var browser = createCommonjsModule(function (module, exports) {
|
|
699
698
|
/**
|
|
@@ -882,13 +881,13 @@ function localstorage() {
|
|
|
882
881
|
} catch (e) {}
|
|
883
882
|
}
|
|
884
883
|
});
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
884
|
+
browser.log;
|
|
885
|
+
browser.formatArgs;
|
|
886
|
+
browser.save;
|
|
887
|
+
browser.load;
|
|
888
|
+
browser.useColors;
|
|
889
|
+
browser.storage;
|
|
890
|
+
browser.colors;
|
|
892
891
|
|
|
893
892
|
// MIT lisence
|
|
894
893
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1163,14 +1162,14 @@ function init (debug) {
|
|
|
1163
1162
|
|
|
1164
1163
|
exports.enable(load());
|
|
1165
1164
|
});
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1165
|
+
node.init;
|
|
1166
|
+
node.log;
|
|
1167
|
+
node.formatArgs;
|
|
1168
|
+
node.save;
|
|
1169
|
+
node.load;
|
|
1170
|
+
node.useColors;
|
|
1171
|
+
node.colors;
|
|
1172
|
+
node.inspectOpts;
|
|
1174
1173
|
|
|
1175
1174
|
var src = createCommonjsModule(function (module) {
|
|
1176
1175
|
/**
|
|
@@ -1628,11 +1627,11 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1628
1627
|
|
|
1629
1628
|
function filterResetOptions(opts) {
|
|
1630
1629
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1631
|
-
playerVars: _objectSpread(
|
|
1630
|
+
playerVars: _objectSpread({
|
|
1632
1631
|
autoplay: 0,
|
|
1633
1632
|
start: 0,
|
|
1634
1633
|
end: 0
|
|
1635
|
-
})
|
|
1634
|
+
}, opts.playerVars)
|
|
1636
1635
|
});
|
|
1637
1636
|
}
|
|
1638
1637
|
/**
|
|
@@ -1838,9 +1837,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1838
1837
|
}, {
|
|
1839
1838
|
key: "render",
|
|
1840
1839
|
value: function render() {
|
|
1841
|
-
return /*#__PURE__*/
|
|
1840
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1842
1841
|
className: this.props.containerClassName
|
|
1843
|
-
}, /*#__PURE__*/
|
|
1842
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1844
1843
|
id: this.props.id,
|
|
1845
1844
|
className: this.props.className,
|
|
1846
1845
|
ref: this.refContainer
|
|
@@ -1849,7 +1848,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1849
1848
|
}]);
|
|
1850
1849
|
|
|
1851
1850
|
return YouTube;
|
|
1852
|
-
}(
|
|
1851
|
+
}(React__default.Component);
|
|
1853
1852
|
|
|
1854
1853
|
_defineProperty(YouTube, "PlayerState", {
|
|
1855
1854
|
UNSTARTED: -1,
|
|
@@ -1934,7 +1933,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1934
1933
|
var queue = Math.floor(duration / 10);
|
|
1935
1934
|
var segment = Math.floor(current / queue);
|
|
1936
1935
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
1937
|
-
Segment.report_video_event('Video Ready',
|
|
1936
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment);
|
|
1938
1937
|
};
|
|
1939
1938
|
|
|
1940
1939
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1945,7 +1944,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1945
1944
|
|
|
1946
1945
|
if (!queueProgress.includes(segment)) {
|
|
1947
1946
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
1948
|
-
Segment.report_video_event('Video Segment',
|
|
1947
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment);
|
|
1949
1948
|
queueProgress.push(segment);
|
|
1950
1949
|
}
|
|
1951
1950
|
};
|
|
@@ -1959,7 +1958,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1959
1958
|
var segment = Math.floor(current / queue);
|
|
1960
1959
|
|
|
1961
1960
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
1962
|
-
Segment.report_video_event('Video Play',
|
|
1961
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment);
|
|
1963
1962
|
|
|
1964
1963
|
if (!playReported) {
|
|
1965
1964
|
setPlayReported(true);
|
|
@@ -1979,7 +1978,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1979
1978
|
var segment = Math.floor(current / queue);
|
|
1980
1979
|
|
|
1981
1980
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
1982
|
-
Segment.report_video_event('Video End',
|
|
1981
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment);
|
|
1983
1982
|
setEndReported(true);
|
|
1984
1983
|
clearInterval(intervalID);
|
|
1985
1984
|
}
|
|
@@ -1993,14 +1992,14 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1993
1992
|
var segment = Math.floor(current / queue);
|
|
1994
1993
|
|
|
1995
1994
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
1996
|
-
Segment.report_video_event('Video Pause',
|
|
1995
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
1997
1996
|
};
|
|
1998
1997
|
|
|
1999
|
-
return
|
|
1998
|
+
return React__default.createElement(
|
|
2000
1999
|
'div',
|
|
2001
2000
|
{ id: 'fluid-video-container' },
|
|
2002
|
-
|
|
2003
|
-
|
|
2001
|
+
React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2002
|
+
React__default.createElement(
|
|
2004
2003
|
'style',
|
|
2005
2004
|
{ jsx: 'true' },
|
|
2006
2005
|
'\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 '
|
|
@@ -2013,20 +2012,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2013
2012
|
content = _ref.content,
|
|
2014
2013
|
getSerializers = _ref.getSerializers;
|
|
2015
2014
|
|
|
2016
|
-
return
|
|
2015
|
+
return React__default.createElement(
|
|
2017
2016
|
'article',
|
|
2018
2017
|
{ className: 'sidebar' },
|
|
2019
|
-
|
|
2018
|
+
React__default.createElement(
|
|
2020
2019
|
'div',
|
|
2021
2020
|
null,
|
|
2022
|
-
|
|
2021
|
+
React__default.createElement(
|
|
2023
2022
|
'h3',
|
|
2024
2023
|
null,
|
|
2025
2024
|
caption
|
|
2026
2025
|
),
|
|
2027
|
-
|
|
2026
|
+
React__default.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2028
2027
|
),
|
|
2029
|
-
|
|
2028
|
+
React__default.createElement(
|
|
2030
2029
|
'style',
|
|
2031
2030
|
{ jsx: 'true' },
|
|
2032
2031
|
'\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 '
|
|
@@ -2037,18 +2036,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2037
2036
|
var TableShow = function TableShow(_ref) {
|
|
2038
2037
|
var rows = _ref.rows;
|
|
2039
2038
|
|
|
2040
|
-
return
|
|
2039
|
+
return React__default.createElement(
|
|
2041
2040
|
Table,
|
|
2042
2041
|
{ bordered: true, hover: true, responsive: true },
|
|
2043
|
-
|
|
2042
|
+
React__default.createElement(
|
|
2044
2043
|
'tbody',
|
|
2045
2044
|
null,
|
|
2046
2045
|
rows && rows.map(function (row) {
|
|
2047
|
-
return
|
|
2046
|
+
return React__default.createElement(
|
|
2048
2047
|
'tr',
|
|
2049
2048
|
{ key: row._key },
|
|
2050
2049
|
row.cells && row.cells.map(function (cell, index) {
|
|
2051
|
-
return cell &&
|
|
2050
|
+
return cell && React__default.createElement(
|
|
2052
2051
|
'td',
|
|
2053
2052
|
{ key: index },
|
|
2054
2053
|
cell
|
|
@@ -2146,25 +2145,25 @@ var Media = function Media(_ref) {
|
|
|
2146
2145
|
margin: imageMargin
|
|
2147
2146
|
};
|
|
2148
2147
|
|
|
2149
|
-
return
|
|
2148
|
+
return React__default.createElement(
|
|
2150
2149
|
Figure$1,
|
|
2151
2150
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2152
|
-
|
|
2151
|
+
React__default.createElement(
|
|
2153
2152
|
'a',
|
|
2154
2153
|
{ href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2155
|
-
|
|
2154
|
+
React__default.createElement(
|
|
2156
2155
|
LazyLoad,
|
|
2157
2156
|
{ once: true },
|
|
2158
|
-
|
|
2157
|
+
React__default.createElement(
|
|
2159
2158
|
'picture',
|
|
2160
2159
|
null,
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2160
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2161
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2162
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2163
|
+
React__default.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2165
2164
|
)
|
|
2166
2165
|
),
|
|
2167
|
-
caption &&
|
|
2166
|
+
caption && React__default.createElement(
|
|
2168
2167
|
Figure$1.Caption,
|
|
2169
2168
|
{ className: 'media-caption' },
|
|
2170
2169
|
caption
|
|
@@ -2172,7 +2171,7 @@ var Media = function Media(_ref) {
|
|
|
2172
2171
|
)
|
|
2173
2172
|
);
|
|
2174
2173
|
} else if (caption && caption !== '') {
|
|
2175
|
-
return
|
|
2174
|
+
return React__default.createElement(
|
|
2176
2175
|
'a',
|
|
2177
2176
|
_extends({}, uploadDoc.downloadMedia ? {
|
|
2178
2177
|
href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2192,10 +2191,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2192
2191
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2193
2192
|
|
|
2194
2193
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2195
|
-
return
|
|
2194
|
+
return React__default.createElement(
|
|
2196
2195
|
'div',
|
|
2197
2196
|
{ className: 'd-block text-center mb-3' },
|
|
2198
|
-
|
|
2197
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2199
2198
|
);
|
|
2200
2199
|
};
|
|
2201
2200
|
|
|
@@ -2205,7 +2204,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2205
2204
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2206
2205
|
|
|
2207
2206
|
var choiceArray = choices.map(function (choice) {
|
|
2208
|
-
return
|
|
2207
|
+
return React__default.createElement(Form.Check, {
|
|
2209
2208
|
inline: true,
|
|
2210
2209
|
label: choice.choiceText,
|
|
2211
2210
|
value: choice.choiceText,
|
|
@@ -2215,19 +2214,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2215
2214
|
onClick: handlePollAnswer
|
|
2216
2215
|
});
|
|
2217
2216
|
});
|
|
2218
|
-
return
|
|
2217
|
+
return React__default.createElement(
|
|
2219
2218
|
'div',
|
|
2220
2219
|
{
|
|
2221
2220
|
key: 'inline-radio',
|
|
2222
2221
|
className: 'mb-3' },
|
|
2223
|
-
|
|
2222
|
+
React__default.createElement(
|
|
2224
2223
|
'h2',
|
|
2225
2224
|
{
|
|
2226
2225
|
className: 'radioLabelText'
|
|
2227
2226
|
},
|
|
2228
2227
|
question
|
|
2229
2228
|
),
|
|
2230
|
-
|
|
2229
|
+
React__default.createElement(
|
|
2231
2230
|
'div',
|
|
2232
2231
|
{
|
|
2233
2232
|
className: 'multiChoiceDiv'
|
|
@@ -2242,19 +2241,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2242
2241
|
textAnswer = _ref.textAnswer,
|
|
2243
2242
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2244
2243
|
|
|
2245
|
-
return
|
|
2244
|
+
return React__default.createElement(
|
|
2246
2245
|
'div',
|
|
2247
2246
|
{
|
|
2248
2247
|
className: 'textInputDiv'
|
|
2249
2248
|
},
|
|
2250
|
-
|
|
2249
|
+
React__default.createElement(
|
|
2251
2250
|
'h2',
|
|
2252
2251
|
{
|
|
2253
2252
|
className: 'textInputQuestion'
|
|
2254
2253
|
},
|
|
2255
2254
|
textInputQuestion
|
|
2256
2255
|
),
|
|
2257
|
-
|
|
2256
|
+
React__default.createElement(Form.Control, {
|
|
2258
2257
|
type: 'text',
|
|
2259
2258
|
className: 'textInput',
|
|
2260
2259
|
value: textAnswer,
|
|
@@ -2364,7 +2363,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2364
2363
|
var pollArray = [];
|
|
2365
2364
|
pollItems.forEach(function (item, ind) {
|
|
2366
2365
|
if (item.format === 'multiChoice') {
|
|
2367
|
-
pollArray.push(
|
|
2366
|
+
pollArray.push(React__default.createElement(PopupMultiChoice, {
|
|
2368
2367
|
question: item.question,
|
|
2369
2368
|
choices: item.choices,
|
|
2370
2369
|
handlePollAnswer: handlePollAnswer,
|
|
@@ -2372,7 +2371,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2372
2371
|
}));
|
|
2373
2372
|
}
|
|
2374
2373
|
if (item.format === 'textInput') {
|
|
2375
|
-
pollArray.push(
|
|
2374
|
+
pollArray.push(React__default.createElement(PopupPollTextInput, {
|
|
2376
2375
|
textInputQuestion: item.question,
|
|
2377
2376
|
textanswer: textAnswer,
|
|
2378
2377
|
handleTextAnswer: handleTextAnswer,
|
|
@@ -2381,26 +2380,26 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2381
2380
|
}
|
|
2382
2381
|
});
|
|
2383
2382
|
|
|
2384
|
-
return
|
|
2383
|
+
return React__default.createElement(
|
|
2385
2384
|
'div',
|
|
2386
2385
|
{
|
|
2387
2386
|
className: 'modalDiv',
|
|
2388
2387
|
id: 'modalDiv'
|
|
2389
2388
|
},
|
|
2390
|
-
|
|
2389
|
+
React__default.createElement(
|
|
2391
2390
|
Modal.Dialog,
|
|
2392
2391
|
null,
|
|
2393
|
-
|
|
2392
|
+
React__default.createElement(
|
|
2394
2393
|
Modal.Body,
|
|
2395
2394
|
null,
|
|
2396
|
-
|
|
2395
|
+
React__default.createElement(
|
|
2397
2396
|
Form,
|
|
2398
2397
|
{
|
|
2399
2398
|
onSubmit: handleSubmit,
|
|
2400
2399
|
className: 'modalForm'
|
|
2401
2400
|
},
|
|
2402
2401
|
pollArray,
|
|
2403
|
-
textInputRender && !multiChoiceRender ?
|
|
2402
|
+
textInputRender && !multiChoiceRender ? React__default.createElement(
|
|
2404
2403
|
Button,
|
|
2405
2404
|
{
|
|
2406
2405
|
className: 'submitButton',
|
|
@@ -2409,7 +2408,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2409
2408
|
disabled: !textAnswer
|
|
2410
2409
|
},
|
|
2411
2410
|
'Submit'
|
|
2412
|
-
) :
|
|
2411
|
+
) : React__default.createElement(
|
|
2413
2412
|
Button,
|
|
2414
2413
|
{
|
|
2415
2414
|
className: 'submitButton',
|
|
@@ -2495,7 +2494,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2495
2494
|
var queue = Math.floor(duration / 10);
|
|
2496
2495
|
var segment = Math.floor(current / queue);
|
|
2497
2496
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2498
|
-
Segment.report_video_event('Video Ready',
|
|
2497
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
|
|
2499
2498
|
};
|
|
2500
2499
|
|
|
2501
2500
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2505,7 +2504,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2505
2504
|
var segment = Math.floor(current / queue);
|
|
2506
2505
|
if (!queueProgress.includes(segment)) {
|
|
2507
2506
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2508
|
-
Segment.report_video_event('Video Segment',
|
|
2507
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
|
|
2509
2508
|
queueProgress.push(segment);
|
|
2510
2509
|
}
|
|
2511
2510
|
};
|
|
@@ -2518,7 +2517,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2518
2517
|
var queue = Math.floor(duration / 10);
|
|
2519
2518
|
var segment = Math.floor(current / queue);
|
|
2520
2519
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2521
|
-
Segment.report_video_event('Video Play',
|
|
2520
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
|
|
2522
2521
|
if (!playReported) {
|
|
2523
2522
|
event.persist();
|
|
2524
2523
|
setPlayReported(true);
|
|
@@ -2561,7 +2560,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2561
2560
|
var segment = Math.floor(current / queue);
|
|
2562
2561
|
clearInterval(intId);
|
|
2563
2562
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2564
|
-
Segment.report_video_event('Video End',
|
|
2563
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
|
|
2565
2564
|
setEndReported(true);
|
|
2566
2565
|
clearInterval(intervalID);
|
|
2567
2566
|
}
|
|
@@ -2575,13 +2574,13 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2575
2574
|
var segment = Math.floor(current / queue);
|
|
2576
2575
|
clearInterval(intId);
|
|
2577
2576
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2578
|
-
Segment.report_video_event('Video Pause',
|
|
2577
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
|
|
2579
2578
|
};
|
|
2580
2579
|
|
|
2581
|
-
return
|
|
2580
|
+
return React__default.createElement(
|
|
2582
2581
|
'div',
|
|
2583
2582
|
null,
|
|
2584
|
-
isPollingTime ?
|
|
2583
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2585
2584
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2586
2585
|
, { pollItems: pollItems
|
|
2587
2586
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2595,7 +2594,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2595
2594
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2596
2595
|
, multiChoiceRender: multiChoiceRender
|
|
2597
2596
|
}) : null,
|
|
2598
|
-
vidLoaded &&
|
|
2597
|
+
vidLoaded && React__default.createElement(
|
|
2599
2598
|
'video',
|
|
2600
2599
|
{
|
|
2601
2600
|
poster: thumbnail || '',
|
|
@@ -2613,7 +2612,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2613
2612
|
onPlay: function onPlay(e) {
|
|
2614
2613
|
return handleOnPlay(e);
|
|
2615
2614
|
} },
|
|
2616
|
-
|
|
2615
|
+
React__default.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2617
2616
|
'Your browser does not support the video tag.'
|
|
2618
2617
|
)
|
|
2619
2618
|
);
|
|
@@ -2764,7 +2763,7 @@ var Video = function Video(_ref) {
|
|
|
2764
2763
|
}
|
|
2765
2764
|
|
|
2766
2765
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2767
|
-
Segment.report_video_event('Video Ready',
|
|
2766
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2768
2767
|
});
|
|
2769
2768
|
// let intId
|
|
2770
2769
|
// const convertTime = (timeStr) => {
|
|
@@ -2799,7 +2798,7 @@ var Video = function Video(_ref) {
|
|
|
2799
2798
|
}, 1000);
|
|
2800
2799
|
}
|
|
2801
2800
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2802
|
-
Segment.report_video_event('Video Play',
|
|
2801
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2803
2802
|
});
|
|
2804
2803
|
|
|
2805
2804
|
// pause
|
|
@@ -2810,7 +2809,7 @@ var Video = function Video(_ref) {
|
|
|
2810
2809
|
var segment = Math.floor(current / queue);
|
|
2811
2810
|
clearInterval(intId);
|
|
2812
2811
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2813
|
-
Segment.report_video_event('Video Pause',
|
|
2812
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2814
2813
|
});
|
|
2815
2814
|
|
|
2816
2815
|
// end
|
|
@@ -2821,7 +2820,7 @@ var Video = function Video(_ref) {
|
|
|
2821
2820
|
var segment = Math.floor(current / queue);
|
|
2822
2821
|
clearInterval(intId);
|
|
2823
2822
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2824
|
-
Segment.report_video_event('Video End',
|
|
2823
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2825
2824
|
// This is for old series format
|
|
2826
2825
|
autoplayNextVideo(evt);
|
|
2827
2826
|
if (nextVideo) {
|
|
@@ -2837,7 +2836,7 @@ var Video = function Video(_ref) {
|
|
|
2837
2836
|
var segment = Math.floor(current / queue);
|
|
2838
2837
|
if (!queueProgress.includes(segment)) {
|
|
2839
2838
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2840
|
-
Segment.report_video_event('Video Segment',
|
|
2839
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2841
2840
|
queueProgress.push(segment);
|
|
2842
2841
|
}
|
|
2843
2842
|
});
|
|
@@ -2849,7 +2848,7 @@ var Video = function Video(_ref) {
|
|
|
2849
2848
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2850
2849
|
|
|
2851
2850
|
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2852
|
-
Segment.report_ad_event('Video Ad Started',
|
|
2851
|
+
Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2853
2852
|
});
|
|
2854
2853
|
|
|
2855
2854
|
// ad ended
|
|
@@ -2858,16 +2857,16 @@ var Video = function Video(_ref) {
|
|
|
2858
2857
|
// const id = player.ads.ad.id
|
|
2859
2858
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2860
2859
|
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2861
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
2860
|
+
Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2862
2861
|
});
|
|
2863
2862
|
};
|
|
2864
2863
|
|
|
2865
2864
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2866
2865
|
if (videoID) {
|
|
2867
|
-
return
|
|
2866
|
+
return React__default.createElement(
|
|
2868
2867
|
'div',
|
|
2869
2868
|
null,
|
|
2870
|
-
isPollingTime ?
|
|
2869
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2871
2870
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2872
2871
|
, { pollItems: pollItems
|
|
2873
2872
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2881,7 +2880,7 @@ var Video = function Video(_ref) {
|
|
|
2881
2880
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2882
2881
|
, multiChoiceRender: multiChoiceRender
|
|
2883
2882
|
}) : null,
|
|
2884
|
-
|
|
2883
|
+
React__default.createElement(ReactPlayerLoader, {
|
|
2885
2884
|
onSuccess: onVideoSuccess,
|
|
2886
2885
|
onFailure: onVideoFailure,
|
|
2887
2886
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2889,17 +2888,17 @@ var Video = function Video(_ref) {
|
|
|
2889
2888
|
playerId: accountIDs.brightcove.playerId,
|
|
2890
2889
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2891
2890
|
}),
|
|
2892
|
-
|
|
2891
|
+
React__default.createElement(
|
|
2893
2892
|
'style',
|
|
2894
2893
|
{ jsx: 'true' },
|
|
2895
2894
|
'\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 '
|
|
2896
2895
|
)
|
|
2897
2896
|
);
|
|
2898
2897
|
} else if (playlistID) {
|
|
2899
|
-
return
|
|
2898
|
+
return React__default.createElement(
|
|
2900
2899
|
'div',
|
|
2901
2900
|
null,
|
|
2902
|
-
isPollingTime ?
|
|
2901
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2903
2902
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2904
2903
|
, { pollItems: pollItems
|
|
2905
2904
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2913,7 +2912,7 @@ var Video = function Video(_ref) {
|
|
|
2913
2912
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2914
2913
|
, multiChoiceRender: multiChoiceRender
|
|
2915
2914
|
}) : null,
|
|
2916
|
-
|
|
2915
|
+
React__default.createElement(ReactPlayerLoader, {
|
|
2917
2916
|
accountId: accountIDs.brightcove.accountId,
|
|
2918
2917
|
playlistId: playlistID,
|
|
2919
2918
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2921,18 +2920,18 @@ var Video = function Video(_ref) {
|
|
|
2921
2920
|
onFailure: onVideoFailure,
|
|
2922
2921
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2923
2922
|
}),
|
|
2924
|
-
|
|
2923
|
+
React__default.createElement(
|
|
2925
2924
|
'style',
|
|
2926
2925
|
{ jsx: 'true' },
|
|
2927
2926
|
'\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 '
|
|
2928
2927
|
)
|
|
2929
2928
|
);
|
|
2930
2929
|
} else if (experienceID) {
|
|
2931
|
-
return
|
|
2930
|
+
return React__default.createElement(
|
|
2932
2931
|
'div',
|
|
2933
2932
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2934
|
-
|
|
2935
|
-
isPollingTime ?
|
|
2933
|
+
React__default.createElement('div', { 'data-experience': experienceID }),
|
|
2934
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2936
2935
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2937
2936
|
, { pollItems: pollItems
|
|
2938
2937
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2952,10 +2951,10 @@ var Video = function Video(_ref) {
|
|
|
2952
2951
|
}
|
|
2953
2952
|
|
|
2954
2953
|
if (source === 'mp4') {
|
|
2955
|
-
return
|
|
2954
|
+
return React__default.createElement(
|
|
2956
2955
|
'div',
|
|
2957
2956
|
null,
|
|
2958
|
-
|
|
2957
|
+
React__default.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2959
2958
|
);
|
|
2960
2959
|
}
|
|
2961
2960
|
|
|
@@ -3166,9 +3165,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3166
3165
|
});
|
|
3167
3166
|
|
|
3168
3167
|
unwrapExports(props);
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3168
|
+
props.DEPRECATED_CONFIG_PROPS;
|
|
3169
|
+
props.defaultProps;
|
|
3170
|
+
props.propTypes;
|
|
3172
3171
|
|
|
3173
3172
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3174
3173
|
return isNonNullObject(value)
|
|
@@ -3560,7 +3559,7 @@ function isEqual(a, b) {
|
|
|
3560
3559
|
return true;
|
|
3561
3560
|
}
|
|
3562
3561
|
|
|
3563
|
-
if ((0,
|
|
3562
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
3564
3563
|
return true;
|
|
3565
3564
|
}
|
|
3566
3565
|
|
|
@@ -3603,17 +3602,17 @@ function isMediaStream(url) {
|
|
|
3603
3602
|
});
|
|
3604
3603
|
|
|
3605
3604
|
unwrapExports(utils);
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3605
|
+
utils.parseStartTime;
|
|
3606
|
+
utils.parseEndTime;
|
|
3607
|
+
utils.randomString;
|
|
3608
|
+
utils.queryString;
|
|
3609
|
+
utils.getSDK;
|
|
3610
|
+
utils.getConfig;
|
|
3611
|
+
utils.omit;
|
|
3612
|
+
utils.callPlayer;
|
|
3613
|
+
utils.isObject;
|
|
3614
|
+
utils.isEqual;
|
|
3615
|
+
utils.isMediaStream;
|
|
3617
3616
|
|
|
3618
3617
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3619
3618
|
|
|
@@ -3622,7 +3621,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3622
3621
|
});
|
|
3623
3622
|
exports["default"] = void 0;
|
|
3624
3623
|
|
|
3625
|
-
var _react = _interopRequireWildcard(
|
|
3624
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3626
3625
|
|
|
3627
3626
|
|
|
3628
3627
|
|
|
@@ -4032,7 +4031,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4032
4031
|
});
|
|
4033
4032
|
exports["default"] = createSinglePlayer;
|
|
4034
4033
|
|
|
4035
|
-
var _react = _interopRequireWildcard(
|
|
4034
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4036
4035
|
|
|
4037
4036
|
|
|
4038
4037
|
|
|
@@ -4190,7 +4189,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4190
4189
|
});
|
|
4191
4190
|
exports["default"] = exports.YouTube = void 0;
|
|
4192
4191
|
|
|
4193
|
-
var _react = _interopRequireWildcard(
|
|
4192
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4194
4193
|
|
|
4195
4194
|
|
|
4196
4195
|
|
|
@@ -4490,7 +4489,7 @@ exports["default"] = _default;
|
|
|
4490
4489
|
});
|
|
4491
4490
|
|
|
4492
4491
|
unwrapExports(YouTube_1);
|
|
4493
|
-
|
|
4492
|
+
YouTube_1.YouTube;
|
|
4494
4493
|
|
|
4495
4494
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4496
4495
|
|
|
@@ -4499,7 +4498,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4499
4498
|
});
|
|
4500
4499
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4501
4500
|
|
|
4502
|
-
var _react = _interopRequireWildcard(
|
|
4501
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4503
4502
|
|
|
4504
4503
|
|
|
4505
4504
|
|
|
@@ -4707,7 +4706,7 @@ exports["default"] = _default;
|
|
|
4707
4706
|
});
|
|
4708
4707
|
|
|
4709
4708
|
unwrapExports(SoundCloud_1);
|
|
4710
|
-
|
|
4709
|
+
SoundCloud_1.SoundCloud;
|
|
4711
4710
|
|
|
4712
4711
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4713
4712
|
|
|
@@ -4716,7 +4715,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4716
4715
|
});
|
|
4717
4716
|
exports["default"] = exports.Vimeo = void 0;
|
|
4718
4717
|
|
|
4719
|
-
var _react = _interopRequireWildcard(
|
|
4718
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4720
4719
|
|
|
4721
4720
|
|
|
4722
4721
|
|
|
@@ -4963,7 +4962,7 @@ exports["default"] = _default;
|
|
|
4963
4962
|
});
|
|
4964
4963
|
|
|
4965
4964
|
unwrapExports(Vimeo_1);
|
|
4966
|
-
|
|
4965
|
+
Vimeo_1.Vimeo;
|
|
4967
4966
|
|
|
4968
4967
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
4969
4968
|
|
|
@@ -4972,7 +4971,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4972
4971
|
});
|
|
4973
4972
|
exports["default"] = exports.Facebook = void 0;
|
|
4974
4973
|
|
|
4975
|
-
var _react = _interopRequireWildcard(
|
|
4974
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4976
4975
|
|
|
4977
4976
|
|
|
4978
4977
|
|
|
@@ -5175,7 +5174,7 @@ exports["default"] = _default;
|
|
|
5175
5174
|
});
|
|
5176
5175
|
|
|
5177
5176
|
unwrapExports(Facebook_1);
|
|
5178
|
-
|
|
5177
|
+
Facebook_1.Facebook;
|
|
5179
5178
|
|
|
5180
5179
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
5181
5180
|
|
|
@@ -5184,7 +5183,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5184
5183
|
});
|
|
5185
5184
|
exports["default"] = exports.Streamable = void 0;
|
|
5186
5185
|
|
|
5187
|
-
var _react = _interopRequireWildcard(
|
|
5186
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5188
5187
|
|
|
5189
5188
|
|
|
5190
5189
|
|
|
@@ -5386,7 +5385,7 @@ exports["default"] = _default;
|
|
|
5386
5385
|
});
|
|
5387
5386
|
|
|
5388
5387
|
unwrapExports(Streamable_1);
|
|
5389
|
-
|
|
5388
|
+
Streamable_1.Streamable;
|
|
5390
5389
|
|
|
5391
5390
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
5392
5391
|
|
|
@@ -5395,7 +5394,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5395
5394
|
});
|
|
5396
5395
|
exports["default"] = exports.Wistia = void 0;
|
|
5397
5396
|
|
|
5398
|
-
var _react = _interopRequireWildcard(
|
|
5397
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5399
5398
|
|
|
5400
5399
|
|
|
5401
5400
|
|
|
@@ -5629,7 +5628,7 @@ exports["default"] = _default;
|
|
|
5629
5628
|
});
|
|
5630
5629
|
|
|
5631
5630
|
unwrapExports(Wistia_1);
|
|
5632
|
-
|
|
5631
|
+
Wistia_1.Wistia;
|
|
5633
5632
|
|
|
5634
5633
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5635
5634
|
|
|
@@ -5638,7 +5637,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5638
5637
|
});
|
|
5639
5638
|
exports["default"] = exports.Twitch = void 0;
|
|
5640
5639
|
|
|
5641
|
-
var _react = _interopRequireWildcard(
|
|
5640
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5642
5641
|
|
|
5643
5642
|
|
|
5644
5643
|
|
|
@@ -5845,7 +5844,7 @@ exports["default"] = _default;
|
|
|
5845
5844
|
});
|
|
5846
5845
|
|
|
5847
5846
|
unwrapExports(Twitch_1);
|
|
5848
|
-
|
|
5847
|
+
Twitch_1.Twitch;
|
|
5849
5848
|
|
|
5850
5849
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5851
5850
|
|
|
@@ -5854,7 +5853,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5854
5853
|
});
|
|
5855
5854
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5856
5855
|
|
|
5857
|
-
var _react = _interopRequireWildcard(
|
|
5856
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5858
5857
|
|
|
5859
5858
|
|
|
5860
5859
|
|
|
@@ -6081,7 +6080,7 @@ exports["default"] = _default;
|
|
|
6081
6080
|
});
|
|
6082
6081
|
|
|
6083
6082
|
unwrapExports(DailyMotion_1);
|
|
6084
|
-
|
|
6083
|
+
DailyMotion_1.DailyMotion;
|
|
6085
6084
|
|
|
6086
6085
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
6087
6086
|
|
|
@@ -6090,7 +6089,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6090
6089
|
});
|
|
6091
6090
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6092
6091
|
|
|
6093
|
-
var _react = _interopRequireWildcard(
|
|
6092
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6094
6093
|
|
|
6095
6094
|
|
|
6096
6095
|
|
|
@@ -6280,7 +6279,7 @@ exports["default"] = _default;
|
|
|
6280
6279
|
});
|
|
6281
6280
|
|
|
6282
6281
|
unwrapExports(Mixcloud_1);
|
|
6283
|
-
|
|
6282
|
+
Mixcloud_1.Mixcloud;
|
|
6284
6283
|
|
|
6285
6284
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
6286
6285
|
|
|
@@ -6289,7 +6288,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6289
6288
|
});
|
|
6290
6289
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6291
6290
|
|
|
6292
|
-
var _react = _interopRequireWildcard(
|
|
6291
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6293
6292
|
|
|
6294
6293
|
|
|
6295
6294
|
|
|
@@ -6814,7 +6813,7 @@ exports["default"] = _default;
|
|
|
6814
6813
|
});
|
|
6815
6814
|
|
|
6816
6815
|
unwrapExports(FilePlayer_1);
|
|
6817
|
-
|
|
6816
|
+
FilePlayer_1.FilePlayer;
|
|
6818
6817
|
|
|
6819
6818
|
var players = createCommonjsModule(function (module, exports) {
|
|
6820
6819
|
|
|
@@ -6856,7 +6855,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6856
6855
|
});
|
|
6857
6856
|
exports["default"] = void 0;
|
|
6858
6857
|
|
|
6859
|
-
var _react = _interopRequireWildcard(
|
|
6858
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6860
6859
|
|
|
6861
6860
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6862
6861
|
|
|
@@ -7035,7 +7034,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7035
7034
|
});
|
|
7036
7035
|
exports["default"] = renderPreloadPlayers;
|
|
7037
7036
|
|
|
7038
|
-
var _react = _interopRequireDefault(
|
|
7037
|
+
var _react = _interopRequireDefault(React__default);
|
|
7039
7038
|
|
|
7040
7039
|
var _Player = _interopRequireDefault(Player_1);
|
|
7041
7040
|
|
|
@@ -7174,7 +7173,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7174
7173
|
});
|
|
7175
7174
|
exports["default"] = void 0;
|
|
7176
7175
|
|
|
7177
|
-
var _react = _interopRequireWildcard(
|
|
7176
|
+
var _react = _interopRequireWildcard(React__default);
|
|
7178
7177
|
|
|
7179
7178
|
|
|
7180
7179
|
|
|
@@ -7519,10 +7518,10 @@ var Audio = function Audio(_ref) {
|
|
|
7519
7518
|
}));
|
|
7520
7519
|
};
|
|
7521
7520
|
if (node.uploadAudio) {
|
|
7522
|
-
return
|
|
7521
|
+
return React__default.createElement(
|
|
7523
7522
|
'div',
|
|
7524
7523
|
{ className: 'audio d-block text-center mb-3' },
|
|
7525
|
-
|
|
7524
|
+
React__default.createElement(
|
|
7526
7525
|
'audio',
|
|
7527
7526
|
{
|
|
7528
7527
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7531,14 +7530,14 @@ var Audio = function Audio(_ref) {
|
|
|
7531
7530
|
onPause: reportPause,
|
|
7532
7531
|
onEnded: reportEnd
|
|
7533
7532
|
},
|
|
7534
|
-
|
|
7535
|
-
|
|
7533
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7534
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7536
7535
|
'Your browser does not support the audio element.'
|
|
7537
7536
|
),
|
|
7538
|
-
node.caption &&
|
|
7537
|
+
node.caption && React__default.createElement(
|
|
7539
7538
|
'p',
|
|
7540
7539
|
{ style: { fontSize: '.9rem' } },
|
|
7541
|
-
|
|
7540
|
+
React__default.createElement(
|
|
7542
7541
|
'em',
|
|
7543
7542
|
null,
|
|
7544
7543
|
node.caption
|
|
@@ -7548,15 +7547,15 @@ var Audio = function Audio(_ref) {
|
|
|
7548
7547
|
} else if (node.audioFilePth) {
|
|
7549
7548
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7550
7549
|
if (hostname === 'embeds.audioboom.com') {
|
|
7551
|
-
return
|
|
7550
|
+
return React__default.createElement(
|
|
7552
7551
|
'div',
|
|
7553
7552
|
null,
|
|
7554
|
-
|
|
7553
|
+
React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7555
7554
|
' ',
|
|
7556
|
-
node.caption &&
|
|
7555
|
+
node.caption && React__default.createElement(
|
|
7557
7556
|
'p',
|
|
7558
7557
|
{ style: { fontSize: '.9rem' } },
|
|
7559
|
-
|
|
7558
|
+
React__default.createElement(
|
|
7560
7559
|
'em',
|
|
7561
7560
|
null,
|
|
7562
7561
|
node.caption
|
|
@@ -7564,10 +7563,10 @@ var Audio = function Audio(_ref) {
|
|
|
7564
7563
|
)
|
|
7565
7564
|
);
|
|
7566
7565
|
}
|
|
7567
|
-
return
|
|
7566
|
+
return React__default.createElement(
|
|
7568
7567
|
'div',
|
|
7569
7568
|
{ className: 'audio' },
|
|
7570
|
-
|
|
7569
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7571
7570
|
onPlay: reportPlay,
|
|
7572
7571
|
onPause: reportPause,
|
|
7573
7572
|
onEnded: reportEnd,
|
|
@@ -7575,10 +7574,10 @@ var Audio = function Audio(_ref) {
|
|
|
7575
7574
|
width: '100%',
|
|
7576
7575
|
height: '100%'
|
|
7577
7576
|
}),
|
|
7578
|
-
node.caption &&
|
|
7577
|
+
node.caption && React__default.createElement(
|
|
7579
7578
|
'p',
|
|
7580
7579
|
{ style: { fontSize: '.9rem' } },
|
|
7581
|
-
|
|
7580
|
+
React__default.createElement(
|
|
7582
7581
|
'em',
|
|
7583
7582
|
null,
|
|
7584
7583
|
node.caption
|
|
@@ -7597,34 +7596,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7597
7596
|
var showAuthorDetails = arguments[7];
|
|
7598
7597
|
|
|
7599
7598
|
if (authorName && authorURL) {
|
|
7600
|
-
return
|
|
7599
|
+
return React__default.createElement(
|
|
7601
7600
|
'span',
|
|
7602
7601
|
null,
|
|
7603
|
-
|
|
7602
|
+
React__default.createElement(
|
|
7604
7603
|
'a',
|
|
7605
7604
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7606
7605
|
authorName
|
|
7607
7606
|
),
|
|
7608
|
-
showAuthorDetails &&
|
|
7607
|
+
showAuthorDetails && React__default.createElement(
|
|
7609
7608
|
Card,
|
|
7610
7609
|
{ className: 'author-details-card-' + index },
|
|
7611
|
-
|
|
7610
|
+
React__default.createElement(
|
|
7612
7611
|
Row,
|
|
7613
7612
|
null,
|
|
7614
|
-
profileImage &&
|
|
7613
|
+
profileImage && React__default.createElement(
|
|
7615
7614
|
Col,
|
|
7616
7615
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7617
|
-
|
|
7616
|
+
React__default.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7618
7617
|
),
|
|
7619
|
-
|
|
7618
|
+
React__default.createElement(
|
|
7620
7619
|
Col,
|
|
7621
7620
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7622
|
-
|
|
7621
|
+
React__default.createElement(
|
|
7623
7622
|
'div',
|
|
7624
7623
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7625
7624
|
authorName
|
|
7626
7625
|
),
|
|
7627
|
-
|
|
7626
|
+
React__default.createElement(
|
|
7628
7627
|
'p',
|
|
7629
7628
|
null,
|
|
7630
7629
|
biography
|
|
@@ -7632,7 +7631,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7632
7631
|
)
|
|
7633
7632
|
)
|
|
7634
7633
|
),
|
|
7635
|
-
|
|
7634
|
+
React__default.createElement(
|
|
7636
7635
|
'style',
|
|
7637
7636
|
{ jsx: 'true' },
|
|
7638
7637
|
'\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 '
|
|
@@ -7640,7 +7639,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7640
7639
|
length !== index + 1 && ', '
|
|
7641
7640
|
);
|
|
7642
7641
|
} else if (authorName) {
|
|
7643
|
-
return
|
|
7642
|
+
return React__default.createElement(
|
|
7644
7643
|
'span',
|
|
7645
7644
|
{ key: index },
|
|
7646
7645
|
authorName,
|
|
@@ -7796,7 +7795,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7796
7795
|
var queue = Math.floor(duration / 10);
|
|
7797
7796
|
var segment = Math.floor(current / queue);
|
|
7798
7797
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
7799
|
-
Segment.report_video_event('Video Ready',
|
|
7798
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment);
|
|
7800
7799
|
//autoplay
|
|
7801
7800
|
|
|
7802
7801
|
//Small pause before starting next video
|
|
@@ -7817,7 +7816,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7817
7816
|
var segment = Math.floor(current / queue);
|
|
7818
7817
|
|
|
7819
7818
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
7820
|
-
Segment.report_video_event('Video End',
|
|
7819
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment);
|
|
7821
7820
|
setEndReported(true);
|
|
7822
7821
|
clearInterval(intervalID);
|
|
7823
7822
|
}
|
|
@@ -7868,7 +7867,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7868
7867
|
var segment = Math.floor(current / queue);
|
|
7869
7868
|
if (!queueProgress.includes(segment)) {
|
|
7870
7869
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
7871
|
-
Segment.report_video_event('Video Segment',
|
|
7870
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment);
|
|
7872
7871
|
queueProgress.push(segment);
|
|
7873
7872
|
}
|
|
7874
7873
|
};
|
|
@@ -7882,7 +7881,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7882
7881
|
var segment = Math.floor(current / queue);
|
|
7883
7882
|
|
|
7884
7883
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
7885
|
-
Segment.report_video_event('Video Play',
|
|
7884
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment);
|
|
7886
7885
|
|
|
7887
7886
|
if (!playReported) {
|
|
7888
7887
|
setPlayReported(true);
|
|
@@ -7901,7 +7900,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7901
7900
|
var segment = Math.floor(current / queue);
|
|
7902
7901
|
|
|
7903
7902
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
7904
|
-
Segment.report_video_event('Video Pause',
|
|
7903
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
7905
7904
|
};
|
|
7906
7905
|
|
|
7907
7906
|
// Youtube Options
|
|
@@ -7912,44 +7911,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7912
7911
|
}
|
|
7913
7912
|
};
|
|
7914
7913
|
|
|
7915
|
-
return
|
|
7914
|
+
return React__default.createElement(
|
|
7916
7915
|
'div',
|
|
7917
7916
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7918
|
-
|
|
7917
|
+
React__default.createElement(
|
|
7919
7918
|
'div',
|
|
7920
7919
|
{ className: 'mt-2 mb-5' },
|
|
7921
|
-
series &&
|
|
7920
|
+
series && React__default.createElement(
|
|
7922
7921
|
'div',
|
|
7923
7922
|
{ style: { fontSize: '0.9rem' } },
|
|
7924
7923
|
article.title,
|
|
7925
7924
|
' - Episode ',
|
|
7926
7925
|
series
|
|
7927
7926
|
),
|
|
7928
|
-
Videos[series - 1] &&
|
|
7927
|
+
Videos[series - 1] && React__default.createElement(
|
|
7929
7928
|
'h1',
|
|
7930
7929
|
{ className: 'mb-3' },
|
|
7931
7930
|
Videos[series - 1].title
|
|
7932
7931
|
),
|
|
7933
|
-
|
|
7932
|
+
React__default.createElement(
|
|
7934
7933
|
'div',
|
|
7935
7934
|
null,
|
|
7936
7935
|
moment(article.published).format('LL')
|
|
7937
7936
|
),
|
|
7938
|
-
|
|
7937
|
+
React__default.createElement(
|
|
7939
7938
|
'div',
|
|
7940
7939
|
{ className: 'mb-3' },
|
|
7941
7940
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7942
|
-
return
|
|
7941
|
+
return React__default.createElement(
|
|
7943
7942
|
'span',
|
|
7944
7943
|
{ key: index },
|
|
7945
7944
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7946
7945
|
);
|
|
7947
7946
|
})
|
|
7948
7947
|
),
|
|
7949
|
-
|
|
7948
|
+
React__default.createElement(
|
|
7950
7949
|
'p',
|
|
7951
7950
|
null,
|
|
7952
|
-
|
|
7951
|
+
React__default.createElement(SocialShare, {
|
|
7953
7952
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7954
7953
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7955
7954
|
shareVia: meta.shareVia,
|
|
@@ -7964,20 +7963,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7964
7963
|
hideFacebook: meta.hideFBShare
|
|
7965
7964
|
})
|
|
7966
7965
|
),
|
|
7967
|
-
Videos[series - 1] && Videos[series - 1].intro &&
|
|
7966
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default.createElement(
|
|
7968
7967
|
'p',
|
|
7969
7968
|
{ className: 'mb-3' },
|
|
7970
|
-
|
|
7969
|
+
React__default.createElement(
|
|
7971
7970
|
'em',
|
|
7972
7971
|
null,
|
|
7973
7972
|
Videos[series - 1].intro
|
|
7974
7973
|
)
|
|
7975
7974
|
)
|
|
7976
7975
|
),
|
|
7977
|
-
|
|
7976
|
+
React__default.createElement(
|
|
7978
7977
|
'div',
|
|
7979
7978
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7980
|
-
vidUrl && vidType == 'youtube' &&
|
|
7979
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7981
7980
|
className: 'fluid-iframe',
|
|
7982
7981
|
videoId: getYoutubeId(vidUrl),
|
|
7983
7982
|
opts: opts,
|
|
@@ -7988,10 +7987,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7988
7987
|
return handleOnEnd(e);
|
|
7989
7988
|
}
|
|
7990
7989
|
}),
|
|
7991
|
-
vidUrl && vidType == 'mp4' &&
|
|
7992
|
-
vidUrl && vidType == 'brightcove' &&
|
|
7993
|
-
|
|
7994
|
-
series &&
|
|
7990
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7991
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7992
|
+
React__default.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7993
|
+
series && React__default.createElement(
|
|
7995
7994
|
'div',
|
|
7996
7995
|
{
|
|
7997
7996
|
className: 'vid-series',
|
|
@@ -8001,10 +8000,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8001
8000
|
maxHeight: '100%',
|
|
8002
8001
|
paddingBottom: '0'
|
|
8003
8002
|
} },
|
|
8004
|
-
|
|
8003
|
+
React__default.createElement(
|
|
8005
8004
|
'p',
|
|
8006
8005
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
8007
|
-
|
|
8006
|
+
React__default.createElement(
|
|
8008
8007
|
'b',
|
|
8009
8008
|
{ style: { fontSize: '1.25em' } },
|
|
8010
8009
|
'Now Playing:'
|
|
@@ -8012,16 +8011,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8012
8011
|
' ',
|
|
8013
8012
|
seriesData[series ? series - 1 : 0].title
|
|
8014
8013
|
),
|
|
8015
|
-
vidUrl &&
|
|
8014
|
+
vidUrl && React__default.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8016
8015
|
)
|
|
8017
8016
|
),
|
|
8018
|
-
|
|
8019
|
-
|
|
8017
|
+
React__default.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8018
|
+
React__default.createElement(
|
|
8020
8019
|
'div',
|
|
8021
8020
|
{ className: 'vid-text' },
|
|
8022
|
-
Videos[series - 1] && Videos[series - 1].text &&
|
|
8021
|
+
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()))
|
|
8023
8022
|
),
|
|
8024
|
-
|
|
8023
|
+
React__default.createElement(
|
|
8025
8024
|
'style',
|
|
8026
8025
|
{ jsx: 'true' },
|
|
8027
8026
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8029,14 +8028,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8029
8028
|
);
|
|
8030
8029
|
};
|
|
8031
8030
|
|
|
8032
|
-
var Poll = function Poll(_ref) {
|
|
8033
|
-
var node = _ref.node
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
onVote = _ref.onVote
|
|
8038
|
-
_ref
|
|
8039
|
-
getSerializers = _ref.getSerializers;
|
|
8031
|
+
var Poll$1 = function Poll(_ref) {
|
|
8032
|
+
var node = _ref.node;
|
|
8033
|
+
_ref.client;
|
|
8034
|
+
_ref.pageview;
|
|
8035
|
+
_ref.videoAccountIDs;
|
|
8036
|
+
var onVote = _ref.onVote;
|
|
8037
|
+
_ref.showVotes;
|
|
8038
|
+
var getSerializers = _ref.getSerializers;
|
|
8040
8039
|
|
|
8041
8040
|
var _useState = useState(null),
|
|
8042
8041
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8074,67 +8073,67 @@ var Poll = function Poll(_ref) {
|
|
|
8074
8073
|
return acc;
|
|
8075
8074
|
}
|
|
8076
8075
|
}, 0);
|
|
8077
|
-
return
|
|
8078
|
-
|
|
8076
|
+
return React__default.createElement(
|
|
8077
|
+
React__default.Fragment,
|
|
8079
8078
|
null,
|
|
8080
|
-
question &&
|
|
8079
|
+
question && React__default.createElement(
|
|
8081
8080
|
'p',
|
|
8082
8081
|
{ className: 'font-weight-bold' },
|
|
8083
8082
|
question
|
|
8084
8083
|
),
|
|
8085
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8084
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8086
8085
|
'form',
|
|
8087
8086
|
{ onSubmit: function onSubmit(e) {
|
|
8088
8087
|
return onSubmitPoll(e);
|
|
8089
8088
|
} },
|
|
8090
8089
|
choices && choices.map(function (choice) {
|
|
8091
|
-
return
|
|
8090
|
+
return React__default.createElement(
|
|
8092
8091
|
'div',
|
|
8093
8092
|
{ key: choice._key },
|
|
8094
|
-
|
|
8093
|
+
React__default.createElement(
|
|
8095
8094
|
'label',
|
|
8096
8095
|
{ className: 'pl-2' },
|
|
8097
|
-
|
|
8096
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8098
8097
|
return setSelectedChoice(e.target.value);
|
|
8099
8098
|
} }),
|
|
8100
8099
|
' ' + choice.choiceText
|
|
8101
8100
|
)
|
|
8102
8101
|
);
|
|
8103
8102
|
}),
|
|
8104
|
-
|
|
8103
|
+
React__default.createElement(
|
|
8105
8104
|
Button$1,
|
|
8106
8105
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8107
8106
|
'Vote'
|
|
8108
8107
|
)
|
|
8109
8108
|
),
|
|
8110
|
-
|
|
8109
|
+
React__default.createElement(
|
|
8111
8110
|
'div',
|
|
8112
8111
|
{ className: 'progress-container' },
|
|
8113
8112
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8114
8113
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8115
|
-
return
|
|
8114
|
+
return React__default.createElement(
|
|
8116
8115
|
'div',
|
|
8117
8116
|
{ key: choice._key, className: 'mb-3' },
|
|
8118
|
-
|
|
8117
|
+
React__default.createElement(
|
|
8119
8118
|
'div',
|
|
8120
8119
|
{ className: 'correct-answer' },
|
|
8121
|
-
|
|
8120
|
+
React__default.createElement(
|
|
8122
8121
|
'div',
|
|
8123
8122
|
null,
|
|
8124
8123
|
choice.choiceText
|
|
8125
8124
|
),
|
|
8126
|
-
choice.choiceAnswer === true &&
|
|
8125
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8127
8126
|
'div',
|
|
8128
8127
|
null,
|
|
8129
|
-
|
|
8128
|
+
React__default.createElement(
|
|
8130
8129
|
'span',
|
|
8131
8130
|
{ style: { color: 'limegreen' } },
|
|
8132
8131
|
'Correct!'
|
|
8133
8132
|
)
|
|
8134
8133
|
)
|
|
8135
8134
|
),
|
|
8136
|
-
|
|
8137
|
-
|
|
8135
|
+
React__default.createElement(ProgressBar, { now: percentage }),
|
|
8136
|
+
React__default.createElement(
|
|
8138
8137
|
'span',
|
|
8139
8138
|
{ className: 'float-right' },
|
|
8140
8139
|
percentage,
|
|
@@ -8145,14 +8144,14 @@ var Poll = function Poll(_ref) {
|
|
|
8145
8144
|
);
|
|
8146
8145
|
})
|
|
8147
8146
|
),
|
|
8148
|
-
showAnswer &&
|
|
8147
|
+
showAnswer && React__default.createElement(
|
|
8149
8148
|
'h4',
|
|
8150
8149
|
{ className: 'text-center small p-3' },
|
|
8151
8150
|
'Total Votes: ',
|
|
8152
8151
|
choicesTotalCount
|
|
8153
8152
|
),
|
|
8154
|
-
showAnswer && response &&
|
|
8155
|
-
|
|
8153
|
+
showAnswer && response && React__default.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8154
|
+
React__default.createElement(
|
|
8156
8155
|
'style',
|
|
8157
8156
|
{ jsx: 'true' },
|
|
8158
8157
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8170,22 +8169,22 @@ _export(_export.S, 'Object', {
|
|
|
8170
8169
|
}
|
|
8171
8170
|
});
|
|
8172
8171
|
|
|
8173
|
-
var values = _core.Object.values;
|
|
8172
|
+
var values$1 = _core.Object.values;
|
|
8174
8173
|
|
|
8175
|
-
var values
|
|
8176
|
-
module.exports = { "default": values, __esModule: true };
|
|
8174
|
+
var values = createCommonjsModule(function (module) {
|
|
8175
|
+
module.exports = { "default": values$1, __esModule: true };
|
|
8177
8176
|
});
|
|
8178
8177
|
|
|
8179
|
-
var _Object$values = unwrapExports(values
|
|
8178
|
+
var _Object$values = unwrapExports(values);
|
|
8180
8179
|
|
|
8181
|
-
var Poll
|
|
8182
|
-
var node = _ref.node
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
onVote = _ref.onVote
|
|
8187
|
-
_ref
|
|
8188
|
-
getSerializers = _ref.getSerializers;
|
|
8180
|
+
var Poll = function Poll(_ref) {
|
|
8181
|
+
var node = _ref.node;
|
|
8182
|
+
_ref.client;
|
|
8183
|
+
_ref.pageview;
|
|
8184
|
+
_ref.videoAccountIDs;
|
|
8185
|
+
var onVote = _ref.onVote;
|
|
8186
|
+
_ref.showVotes;
|
|
8187
|
+
var getSerializers = _ref.getSerializers;
|
|
8189
8188
|
|
|
8190
8189
|
var _useState = useState(null),
|
|
8191
8190
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8251,67 +8250,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8251
8250
|
return acc;
|
|
8252
8251
|
}
|
|
8253
8252
|
}, 0);
|
|
8254
|
-
return
|
|
8255
|
-
|
|
8253
|
+
return React__default.createElement(
|
|
8254
|
+
React__default.Fragment,
|
|
8256
8255
|
null,
|
|
8257
|
-
question &&
|
|
8256
|
+
question && React__default.createElement(
|
|
8258
8257
|
'p',
|
|
8259
8258
|
{ className: 'font-weight-bold' },
|
|
8260
8259
|
question
|
|
8261
8260
|
),
|
|
8262
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8261
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8263
8262
|
'form',
|
|
8264
8263
|
{ onSubmit: function onSubmit(e) {
|
|
8265
8264
|
return onSubmitPoll(e);
|
|
8266
8265
|
} },
|
|
8267
8266
|
choices && choices.map(function (choice) {
|
|
8268
|
-
return
|
|
8267
|
+
return React__default.createElement(
|
|
8269
8268
|
'div',
|
|
8270
8269
|
{ key: choice._key },
|
|
8271
|
-
|
|
8270
|
+
React__default.createElement(
|
|
8272
8271
|
'label',
|
|
8273
8272
|
{ className: 'pl-2' },
|
|
8274
|
-
|
|
8273
|
+
React__default.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8275
8274
|
return setSelectedChoice(e.target.value);
|
|
8276
8275
|
} }),
|
|
8277
8276
|
' ' + choice.choiceText
|
|
8278
8277
|
)
|
|
8279
8278
|
);
|
|
8280
8279
|
}),
|
|
8281
|
-
|
|
8280
|
+
React__default.createElement(
|
|
8282
8281
|
Button$1,
|
|
8283
8282
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8284
8283
|
'Vote'
|
|
8285
8284
|
)
|
|
8286
8285
|
),
|
|
8287
|
-
|
|
8286
|
+
React__default.createElement(
|
|
8288
8287
|
'div',
|
|
8289
8288
|
{ className: 'progress-container' },
|
|
8290
8289
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8291
8290
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8292
|
-
return
|
|
8291
|
+
return React__default.createElement(
|
|
8293
8292
|
'div',
|
|
8294
8293
|
{ key: choice._key, className: 'mb-3' },
|
|
8295
|
-
|
|
8294
|
+
React__default.createElement(
|
|
8296
8295
|
'div',
|
|
8297
8296
|
{ className: 'correct-answer' },
|
|
8298
|
-
|
|
8297
|
+
React__default.createElement(
|
|
8299
8298
|
'div',
|
|
8300
8299
|
null,
|
|
8301
8300
|
choice.choiceText
|
|
8302
8301
|
),
|
|
8303
|
-
choice.choiceAnswer === true &&
|
|
8302
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8304
8303
|
'div',
|
|
8305
8304
|
null,
|
|
8306
|
-
|
|
8305
|
+
React__default.createElement(
|
|
8307
8306
|
'span',
|
|
8308
8307
|
{ style: { color: 'limegreen' } },
|
|
8309
8308
|
'Correct!'
|
|
8310
8309
|
)
|
|
8311
8310
|
)
|
|
8312
8311
|
),
|
|
8313
|
-
|
|
8314
|
-
|
|
8312
|
+
React__default.createElement(ProgressBar, { now: percentage }),
|
|
8313
|
+
React__default.createElement(
|
|
8315
8314
|
'span',
|
|
8316
8315
|
{ className: 'float-right' },
|
|
8317
8316
|
percentage,
|
|
@@ -8322,14 +8321,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8322
8321
|
);
|
|
8323
8322
|
})
|
|
8324
8323
|
),
|
|
8325
|
-
showAnswer &&
|
|
8324
|
+
showAnswer && React__default.createElement(
|
|
8326
8325
|
'h4',
|
|
8327
8326
|
{ className: 'text-center small p-3' },
|
|
8328
8327
|
'Total Votes: ',
|
|
8329
8328
|
choicesTotalCount
|
|
8330
8329
|
),
|
|
8331
|
-
showAnswer && response &&
|
|
8332
|
-
|
|
8330
|
+
showAnswer && response && React__default.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8331
|
+
React__default.createElement(
|
|
8333
8332
|
'style',
|
|
8334
8333
|
{ jsx: 'true' },
|
|
8335
8334
|
'\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 '
|
|
@@ -8337,7 +8336,7 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8337
8336
|
);
|
|
8338
8337
|
};
|
|
8339
8338
|
|
|
8340
|
-
var numberOfPaginations =
|
|
8339
|
+
var numberOfPaginations = main_42 ? 4 : 10;
|
|
8341
8340
|
|
|
8342
8341
|
var Quiz = function Quiz(_ref) {
|
|
8343
8342
|
var quizzes = _ref.quizzes,
|
|
@@ -8471,20 +8470,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
8471
8470
|
};
|
|
8472
8471
|
|
|
8473
8472
|
var renderPagination = function renderPagination() {
|
|
8474
|
-
return
|
|
8473
|
+
return React__default.createElement(
|
|
8475
8474
|
Pagination,
|
|
8476
|
-
{ className: 'p-0 m-0', size:
|
|
8477
|
-
|
|
8475
|
+
{ className: 'p-0 m-0', size: main_42 && 'sm' },
|
|
8476
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
8478
8477
|
return changePage('first');
|
|
8479
8478
|
}, disabled: currentPage === 1 }),
|
|
8480
|
-
|
|
8479
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8481
8480
|
return changePage('prev');
|
|
8482
8481
|
}, disabled: currentPage === 1 }),
|
|
8483
|
-
|
|
8482
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8484
8483
|
return renderNewPages('prev');
|
|
8485
8484
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8486
8485
|
pages.map(function (page) {
|
|
8487
|
-
return
|
|
8486
|
+
return React__default.createElement(
|
|
8488
8487
|
Pagination.Item,
|
|
8489
8488
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8490
8489
|
return changePage(page);
|
|
@@ -8492,13 +8491,13 @@ var Quiz = function Quiz(_ref) {
|
|
|
8492
8491
|
page
|
|
8493
8492
|
);
|
|
8494
8493
|
}),
|
|
8495
|
-
|
|
8494
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8496
8495
|
return renderNewPages('next');
|
|
8497
8496
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8498
|
-
|
|
8497
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8499
8498
|
return changePage('next');
|
|
8500
8499
|
}, disabled: currentPage === pageCount }),
|
|
8501
|
-
|
|
8500
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8502
8501
|
return changePage('last');
|
|
8503
8502
|
}, disabled: currentPage === pageCount })
|
|
8504
8503
|
);
|
|
@@ -8609,49 +8608,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8609
8608
|
}
|
|
8610
8609
|
};
|
|
8611
8610
|
|
|
8612
|
-
return
|
|
8613
|
-
|
|
8611
|
+
return React__default.createElement(
|
|
8612
|
+
React__default.Fragment,
|
|
8614
8613
|
null,
|
|
8615
|
-
quizzes[currentPage - 1] &&
|
|
8616
|
-
|
|
8614
|
+
quizzes[currentPage - 1] && React__default.createElement(
|
|
8615
|
+
React__default.Fragment,
|
|
8617
8616
|
null,
|
|
8618
|
-
|
|
8619
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
8617
|
+
React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8618
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default.createElement(
|
|
8620
8619
|
'form',
|
|
8621
8620
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8622
8621
|
return e.preventDefault();
|
|
8623
8622
|
} },
|
|
8624
8623
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8625
|
-
return
|
|
8624
|
+
return React__default.createElement(
|
|
8626
8625
|
'div',
|
|
8627
8626
|
{ key: answer._key },
|
|
8628
|
-
|
|
8627
|
+
React__default.createElement(
|
|
8629
8628
|
'label',
|
|
8630
8629
|
{ className: 'pl-2' },
|
|
8631
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
8630
|
+
quizzes[currentPage - 1].multiAnswer ? React__default.createElement('input', { type: 'checkbox', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }) : React__default.createElement('input', { type: 'radio', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }),
|
|
8632
8631
|
' ' + answer.answerText
|
|
8633
8632
|
)
|
|
8634
8633
|
);
|
|
8635
8634
|
})
|
|
8636
8635
|
)
|
|
8637
8636
|
),
|
|
8638
|
-
!showAnswer &&
|
|
8637
|
+
!showAnswer && React__default.createElement(
|
|
8639
8638
|
Button,
|
|
8640
8639
|
{ onClick: function onClick(e) {
|
|
8641
8640
|
return checkAnswers(e);
|
|
8642
8641
|
}, variant: 'info', block: true },
|
|
8643
8642
|
'Please click here for answer'
|
|
8644
8643
|
),
|
|
8645
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
8646
|
-
|
|
8644
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
8645
|
+
React__default.Fragment,
|
|
8647
8646
|
null,
|
|
8648
|
-
quizzes[currentPage - 1].answer &&
|
|
8647
|
+
quizzes[currentPage - 1].answer && React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8649
8648
|
),
|
|
8650
|
-
|
|
8651
|
-
firstRender &&
|
|
8652
|
-
|
|
8649
|
+
React__default.createElement('br', null),
|
|
8650
|
+
firstRender && React__default.createElement(
|
|
8651
|
+
React__default.Fragment,
|
|
8653
8652
|
null,
|
|
8654
|
-
pageCount > 1 && currentPage &&
|
|
8653
|
+
pageCount > 1 && currentPage && React__default.createElement(
|
|
8655
8654
|
'div',
|
|
8656
8655
|
{ className: 'd-flex justify-content-center' },
|
|
8657
8656
|
renderPagination()
|
|
@@ -8663,19 +8662,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8663
8662
|
var Leads = function Leads(_ref) {
|
|
8664
8663
|
var url = _ref.url;
|
|
8665
8664
|
|
|
8666
|
-
return
|
|
8665
|
+
return React__default.createElement(
|
|
8667
8666
|
'div',
|
|
8668
8667
|
{ className: 'd-block text-center mb-3' },
|
|
8669
|
-
|
|
8668
|
+
React__default.createElement(
|
|
8670
8669
|
'style',
|
|
8671
8670
|
{ jsx: 'true' },
|
|
8672
8671
|
'\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 '
|
|
8673
8672
|
),
|
|
8674
|
-
url &&
|
|
8673
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8675
8674
|
);
|
|
8676
8675
|
};
|
|
8677
8676
|
|
|
8678
|
-
var Slideshow
|
|
8677
|
+
var Slideshow = function Slideshow(_ref) {
|
|
8679
8678
|
var slides = _ref.node.slides,
|
|
8680
8679
|
client = _ref.client,
|
|
8681
8680
|
pageview = _ref.pageview,
|
|
@@ -8713,49 +8712,49 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
8713
8712
|
if (pageview) pageview(href);
|
|
8714
8713
|
};
|
|
8715
8714
|
|
|
8716
|
-
return
|
|
8715
|
+
return React__default.createElement(
|
|
8717
8716
|
'div',
|
|
8718
8717
|
{ className: 'mt-3 mb-4' },
|
|
8719
|
-
|
|
8718
|
+
React__default.createElement(
|
|
8720
8719
|
Carousel,
|
|
8721
8720
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8722
8721
|
slides && slides.map(function (slide) {
|
|
8723
8722
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8724
|
-
return
|
|
8723
|
+
return React__default.createElement(
|
|
8725
8724
|
Carousel.Item,
|
|
8726
8725
|
{ key: slide._key },
|
|
8727
|
-
|
|
8726
|
+
React__default.createElement(
|
|
8728
8727
|
'a',
|
|
8729
8728
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8730
|
-
|
|
8729
|
+
React__default.createElement(
|
|
8731
8730
|
'div',
|
|
8732
8731
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8733
|
-
|
|
8732
|
+
React__default.createElement(
|
|
8734
8733
|
'picture',
|
|
8735
8734
|
null,
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8735
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8736
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8737
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8738
|
+
React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8740
8739
|
)
|
|
8741
8740
|
)
|
|
8742
8741
|
),
|
|
8743
|
-
|
|
8742
|
+
React__default.createElement(
|
|
8744
8743
|
'div',
|
|
8745
8744
|
{ className: 'p-2' },
|
|
8746
|
-
slide.slideshowImage.caption &&
|
|
8745
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
8747
8746
|
'h3',
|
|
8748
8747
|
{ style: { padding: '0px' } },
|
|
8749
8748
|
slide.slideshowImage.caption
|
|
8750
8749
|
),
|
|
8751
|
-
slide.description &&
|
|
8750
|
+
slide.description && React__default.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8752
8751
|
)
|
|
8753
8752
|
);
|
|
8754
8753
|
}
|
|
8755
8754
|
return null;
|
|
8756
8755
|
})
|
|
8757
8756
|
),
|
|
8758
|
-
|
|
8757
|
+
React__default.createElement(
|
|
8759
8758
|
'style',
|
|
8760
8759
|
{ jsx: 'true' },
|
|
8761
8760
|
'\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 '
|
|
@@ -8774,10 +8773,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8774
8773
|
sizes = _props$node.sizes,
|
|
8775
8774
|
sizeMapping = _props$node.sizeMapping;
|
|
8776
8775
|
|
|
8777
|
-
return
|
|
8776
|
+
return React__default.createElement(
|
|
8778
8777
|
'div',
|
|
8779
8778
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8780
|
-
|
|
8779
|
+
React__default.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8781
8780
|
);
|
|
8782
8781
|
};
|
|
8783
8782
|
|
|
@@ -8788,15 +8787,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8788
8787
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8789
8788
|
|
|
8790
8789
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8791
|
-
return
|
|
8790
|
+
return React__default.createElement(
|
|
8792
8791
|
'section',
|
|
8793
8792
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8794
|
-
Caption &&
|
|
8793
|
+
Caption && React__default.createElement(
|
|
8795
8794
|
'h4',
|
|
8796
8795
|
{ className: 'formstack-caption' },
|
|
8797
8796
|
Caption
|
|
8798
8797
|
),
|
|
8799
|
-
|
|
8798
|
+
React__default.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8800
8799
|
);
|
|
8801
8800
|
};
|
|
8802
8801
|
|
|
@@ -8812,36 +8811,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8812
8811
|
}
|
|
8813
8812
|
});
|
|
8814
8813
|
if (medias && medias.length > 0) {
|
|
8815
|
-
return
|
|
8814
|
+
return React__default.createElement(
|
|
8816
8815
|
'div',
|
|
8817
8816
|
{ className: 'multi-media-container' },
|
|
8818
|
-
|
|
8817
|
+
React__default.createElement(
|
|
8819
8818
|
Row$1,
|
|
8820
8819
|
{ noGutters: true },
|
|
8821
8820
|
medias.map(function (media) {
|
|
8822
|
-
return
|
|
8821
|
+
return React__default.createElement(
|
|
8823
8822
|
Col$1,
|
|
8824
8823
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8825
|
-
|
|
8824
|
+
React__default.createElement(
|
|
8826
8825
|
'a',
|
|
8827
8826
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8828
8827
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8829
|
-
|
|
8828
|
+
React__default.createElement(
|
|
8830
8829
|
'div',
|
|
8831
8830
|
{ className: 'multi-media-image-container' },
|
|
8832
|
-
imageBox &&
|
|
8831
|
+
imageBox && React__default.createElement(
|
|
8833
8832
|
LazyLoad,
|
|
8834
8833
|
{ once: true },
|
|
8835
|
-
|
|
8834
|
+
React__default.createElement(
|
|
8836
8835
|
'picture',
|
|
8837
8836
|
null,
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8837
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8838
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8839
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8840
|
+
React__default.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8842
8841
|
)
|
|
8843
8842
|
),
|
|
8844
|
-
media.caption &&
|
|
8843
|
+
media.caption && React__default.createElement(
|
|
8845
8844
|
'span',
|
|
8846
8845
|
{ className: 'multi-media-caption' },
|
|
8847
8846
|
media.caption
|
|
@@ -8851,7 +8850,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8851
8850
|
);
|
|
8852
8851
|
})
|
|
8853
8852
|
),
|
|
8854
|
-
|
|
8853
|
+
React__default.createElement(
|
|
8855
8854
|
'style',
|
|
8856
8855
|
{ jsx: 'true' },
|
|
8857
8856
|
'\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 '
|
|
@@ -8898,7 +8897,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8898
8897
|
}
|
|
8899
8898
|
};
|
|
8900
8899
|
|
|
8901
|
-
_this.wraperRef =
|
|
8900
|
+
_this.wraperRef = React__default.createRef();
|
|
8902
8901
|
_this.visible = false;
|
|
8903
8902
|
return _this;
|
|
8904
8903
|
}
|
|
@@ -8926,7 +8925,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8926
8925
|
_props$id = _props.id,
|
|
8927
8926
|
id = _props$id === undefined ? '' : _props$id;
|
|
8928
8927
|
|
|
8929
|
-
return
|
|
8928
|
+
return React__default.createElement(
|
|
8930
8929
|
'div',
|
|
8931
8930
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8932
8931
|
this.props.children
|
|
@@ -8935,16 +8934,16 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8935
8934
|
}]);
|
|
8936
8935
|
|
|
8937
8936
|
return InscreenSensor;
|
|
8938
|
-
}(
|
|
8937
|
+
}(React__default.Component);
|
|
8939
8938
|
|
|
8940
8939
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8941
8940
|
var nodes = _ref.nodes,
|
|
8942
8941
|
client = _ref.client,
|
|
8943
8942
|
pageview = _ref.pageview,
|
|
8944
8943
|
getSerializers = _ref.getSerializers,
|
|
8945
|
-
accountIDs = _ref.accountIDs
|
|
8946
|
-
|
|
8947
|
-
rootArticle = _ref.rootArticle;
|
|
8944
|
+
accountIDs = _ref.accountIDs;
|
|
8945
|
+
_ref.Ads;
|
|
8946
|
+
var rootArticle = _ref.rootArticle;
|
|
8948
8947
|
|
|
8949
8948
|
if (!nodes || !nodes.articles) {
|
|
8950
8949
|
return null;
|
|
@@ -8958,7 +8957,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8958
8957
|
var router = useRouter();
|
|
8959
8958
|
|
|
8960
8959
|
var refArray = useRef([]);
|
|
8961
|
-
|
|
8960
|
+
useRef([]);
|
|
8962
8961
|
var articleContainerRef = useRef(null);
|
|
8963
8962
|
var arrowRef = useRef(null);
|
|
8964
8963
|
|
|
@@ -9046,33 +9045,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9046
9045
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9047
9046
|
var showReading = show ? 'showReading' : '';
|
|
9048
9047
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9049
|
-
return
|
|
9048
|
+
return React__default.createElement(
|
|
9050
9049
|
'div',
|
|
9051
9050
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9052
|
-
|
|
9051
|
+
React__default.createElement(
|
|
9053
9052
|
'a',
|
|
9054
9053
|
{ onClick: function onClick(e) {
|
|
9055
9054
|
return articleCardClickHandler(e);
|
|
9056
9055
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9057
|
-
|
|
9056
|
+
React__default.createElement(
|
|
9058
9057
|
'div',
|
|
9059
9058
|
{ className: 'prevNext-thumbnail' },
|
|
9060
|
-
|
|
9061
|
-
|
|
9059
|
+
React__default.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9060
|
+
React__default.createElement(
|
|
9062
9061
|
'div',
|
|
9063
9062
|
{ className: 'prevNext-reading ' + showReading },
|
|
9064
9063
|
articleLabel
|
|
9065
9064
|
)
|
|
9066
9065
|
),
|
|
9067
|
-
|
|
9066
|
+
React__default.createElement(
|
|
9068
9067
|
'div',
|
|
9069
9068
|
{ className: 'prevNext-summary' },
|
|
9070
|
-
|
|
9069
|
+
React__default.createElement(
|
|
9071
9070
|
'div',
|
|
9072
9071
|
{ className: 'prevNext-publishDate' },
|
|
9073
9072
|
moment(article.published).format('LL')
|
|
9074
9073
|
),
|
|
9075
|
-
|
|
9074
|
+
React__default.createElement(
|
|
9076
9075
|
'h2',
|
|
9077
9076
|
{ className: 'prevNext-title' },
|
|
9078
9077
|
article.title
|
|
@@ -9121,7 +9120,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9121
9120
|
|
|
9122
9121
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9123
9122
|
if (biography) {
|
|
9124
|
-
return
|
|
9123
|
+
return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9125
9124
|
}
|
|
9126
9125
|
};
|
|
9127
9126
|
|
|
@@ -9207,7 +9206,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9207
9206
|
//console.log('useLayoutEffect')
|
|
9208
9207
|
if (!firstLoad) {
|
|
9209
9208
|
setUpArrowClicked(false);
|
|
9210
|
-
if (
|
|
9209
|
+
if (main_43) {
|
|
9211
9210
|
grabLoadedAds();
|
|
9212
9211
|
} else {
|
|
9213
9212
|
scrollToArticle();
|
|
@@ -9231,7 +9230,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9231
9230
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
9232
9231
|
if (pageview) pageview(path);
|
|
9233
9232
|
|
|
9234
|
-
if (!
|
|
9233
|
+
if (!main_43) {
|
|
9235
9234
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9236
9235
|
if (window.googletag && googletag.pubadsReady) {
|
|
9237
9236
|
lib_3.refresh();
|
|
@@ -9239,7 +9238,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9239
9238
|
});
|
|
9240
9239
|
}
|
|
9241
9240
|
//Refresh leaderboard ad on mobile
|
|
9242
|
-
if (
|
|
9241
|
+
if (main_43) {
|
|
9243
9242
|
var leaderboardSlotId = '';
|
|
9244
9243
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9245
9244
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -9279,40 +9278,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9279
9278
|
setSensorVisible(false);
|
|
9280
9279
|
};
|
|
9281
9280
|
|
|
9282
|
-
return
|
|
9283
|
-
|
|
9281
|
+
return React__default.createElement(
|
|
9282
|
+
React__default.Fragment,
|
|
9284
9283
|
null,
|
|
9285
|
-
|
|
9284
|
+
React__default.createElement(
|
|
9286
9285
|
'div',
|
|
9287
9286
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9288
|
-
|
|
9287
|
+
React__default.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9289
9288
|
return handleArrowClick();
|
|
9290
9289
|
} })
|
|
9291
9290
|
),
|
|
9292
|
-
|
|
9293
|
-
|
|
9291
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9292
|
+
React__default.createElement(
|
|
9294
9293
|
'div',
|
|
9295
9294
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9296
|
-
|
|
9295
|
+
React__default.createElement(
|
|
9297
9296
|
'h5',
|
|
9298
9297
|
{ className: 'objective-title' },
|
|
9299
9298
|
nodes.seriesTitle
|
|
9300
9299
|
),
|
|
9301
|
-
|
|
9300
|
+
React__default.createElement(
|
|
9302
9301
|
'div',
|
|
9303
9302
|
{ className: 'prevNextWrapper' },
|
|
9304
9303
|
PrevNextCards(false, -1)
|
|
9305
9304
|
)
|
|
9306
9305
|
),
|
|
9307
|
-
|
|
9308
|
-
|
|
9306
|
+
React__default.createElement('hr', { className: 'article-seperater' }),
|
|
9307
|
+
React__default.createElement(
|
|
9309
9308
|
'div',
|
|
9310
9309
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9311
9310
|
Articles.map(function (article, index) {
|
|
9312
|
-
return
|
|
9311
|
+
return React__default.createElement(
|
|
9313
9312
|
'div',
|
|
9314
9313
|
{ key: article.title },
|
|
9315
|
-
|
|
9314
|
+
React__default.createElement(
|
|
9316
9315
|
InscreenSensor,
|
|
9317
9316
|
{
|
|
9318
9317
|
visible: sensorVisible,
|
|
@@ -9330,82 +9329,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9330
9329
|
}
|
|
9331
9330
|
}
|
|
9332
9331
|
} },
|
|
9333
|
-
|
|
9332
|
+
React__default.createElement(
|
|
9334
9333
|
Head,
|
|
9335
9334
|
null,
|
|
9336
|
-
currentTitle !== null &&
|
|
9335
|
+
currentTitle !== null && React__default.createElement(
|
|
9337
9336
|
'title',
|
|
9338
9337
|
{ key: 'title' },
|
|
9339
9338
|
currentTitle
|
|
9340
9339
|
),
|
|
9341
|
-
currentSummary !== null &&
|
|
9342
|
-
currentURL !== null &&
|
|
9343
|
-
currentTitle !== null &&
|
|
9344
|
-
currentThumbnail !== null &&
|
|
9345
|
-
currentSummary !== null &&
|
|
9346
|
-
currentTitle !== null &&
|
|
9347
|
-
currentThumbnail !== null &&
|
|
9348
|
-
currentSummary !== null &&
|
|
9340
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9341
|
+
currentURL !== null && React__default.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9342
|
+
currentTitle !== null && React__default.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9343
|
+
currentThumbnail !== null && React__default.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9344
|
+
currentSummary !== null && React__default.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9345
|
+
currentTitle !== null && React__default.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9346
|
+
currentThumbnail !== null && React__default.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9347
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9349
9348
|
),
|
|
9350
|
-
|
|
9349
|
+
React__default.createElement(
|
|
9351
9350
|
'article',
|
|
9352
9351
|
{ className: 'article-wrapper' },
|
|
9353
|
-
|
|
9352
|
+
React__default.createElement(
|
|
9354
9353
|
'div',
|
|
9355
9354
|
{ className: 'article-publishDate' },
|
|
9356
9355
|
moment(article.published).format('LL')
|
|
9357
9356
|
),
|
|
9358
|
-
|
|
9357
|
+
React__default.createElement(
|
|
9359
9358
|
'div',
|
|
9360
9359
|
{ className: 'author-details-wrapper' },
|
|
9361
9360
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9362
|
-
return
|
|
9361
|
+
return React__default.createElement(
|
|
9363
9362
|
'span',
|
|
9364
9363
|
{ key: index },
|
|
9365
9364
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9366
9365
|
);
|
|
9367
9366
|
})
|
|
9368
9367
|
),
|
|
9369
|
-
|
|
9368
|
+
React__default.createElement(
|
|
9370
9369
|
'h2',
|
|
9371
9370
|
{ className: 'article-title' },
|
|
9372
9371
|
article.title
|
|
9373
9372
|
),
|
|
9374
|
-
|
|
9373
|
+
React__default.createElement(
|
|
9375
9374
|
'div',
|
|
9376
9375
|
{ className: 'mt-2 mb-2' },
|
|
9377
|
-
|
|
9376
|
+
React__default.createElement(BlockContent, _extends({
|
|
9378
9377
|
serializers: getSerializers,
|
|
9379
9378
|
videoAccountIDs: accountIDs,
|
|
9380
9379
|
blocks: article.text,
|
|
9381
9380
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9382
9381
|
}, client.config())),
|
|
9383
|
-
|
|
9382
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' })
|
|
9384
9383
|
),
|
|
9385
|
-
Articles.length > 1 &&
|
|
9386
|
-
|
|
9384
|
+
Articles.length > 1 && React__default.createElement(
|
|
9385
|
+
React__default.Fragment,
|
|
9387
9386
|
null,
|
|
9388
|
-
|
|
9387
|
+
React__default.createElement(
|
|
9389
9388
|
'div',
|
|
9390
9389
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9391
|
-
|
|
9390
|
+
React__default.createElement(
|
|
9392
9391
|
'h5',
|
|
9393
9392
|
{ className: 'objective-title' },
|
|
9394
9393
|
nodes.seriesTitle
|
|
9395
9394
|
),
|
|
9396
|
-
|
|
9395
|
+
React__default.createElement(
|
|
9397
9396
|
'div',
|
|
9398
9397
|
{ className: 'prevNextWrapper' },
|
|
9399
9398
|
PrevNextCards(true, index)
|
|
9400
9399
|
)
|
|
9401
9400
|
),
|
|
9402
|
-
|
|
9401
|
+
React__default.createElement('hr', { className: 'article-seperater' })
|
|
9403
9402
|
)
|
|
9404
9403
|
)
|
|
9405
9404
|
)
|
|
9406
9405
|
);
|
|
9407
9406
|
}),
|
|
9408
|
-
|
|
9407
|
+
React__default.createElement(
|
|
9409
9408
|
'style',
|
|
9410
9409
|
{ jsx: 'true' },
|
|
9411
9410
|
'\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 '
|
|
@@ -9435,11 +9434,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9435
9434
|
};
|
|
9436
9435
|
}, [handleClickOutside]);
|
|
9437
9436
|
|
|
9438
|
-
return
|
|
9437
|
+
return React__default.createElement(
|
|
9439
9438
|
'div',
|
|
9440
9439
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9441
|
-
|
|
9442
|
-
|
|
9440
|
+
React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9441
|
+
React__default.createElement(
|
|
9443
9442
|
'style',
|
|
9444
9443
|
{ jsx: 'true' },
|
|
9445
9444
|
'\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 '
|
|
@@ -9453,7 +9452,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9453
9452
|
}
|
|
9454
9453
|
};
|
|
9455
9454
|
|
|
9456
|
-
var FigureImage =
|
|
9455
|
+
var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
9457
9456
|
var node = _ref2.node,
|
|
9458
9457
|
client = _ref2.client,
|
|
9459
9458
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9461,13 +9460,13 @@ var FigureImage = React.memo(function (_ref2) {
|
|
|
9461
9460
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9462
9461
|
|
|
9463
9462
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9464
|
-
return
|
|
9463
|
+
return React__default.createElement(
|
|
9465
9464
|
'picture',
|
|
9466
9465
|
null,
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9466
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9467
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9468
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9469
|
+
React__default.createElement('img', _extends({
|
|
9471
9470
|
style: figureImageStyle,
|
|
9472
9471
|
className: 'figure-image',
|
|
9473
9472
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9518,30 +9517,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9518
9517
|
|
|
9519
9518
|
var renderTooltip = function renderTooltip(props) {
|
|
9520
9519
|
if (infoBox[0].title) {
|
|
9521
|
-
return
|
|
9520
|
+
return React__default.createElement(
|
|
9522
9521
|
Popover,
|
|
9523
9522
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9524
|
-
|
|
9523
|
+
React__default.createElement(
|
|
9525
9524
|
Popover.Title,
|
|
9526
9525
|
{ as: 'h3' },
|
|
9527
9526
|
infoBox[0].title
|
|
9528
9527
|
),
|
|
9529
|
-
|
|
9528
|
+
React__default.createElement(
|
|
9530
9529
|
Popover.Content,
|
|
9531
9530
|
null,
|
|
9532
|
-
|
|
9531
|
+
React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9533
9532
|
)
|
|
9534
9533
|
);
|
|
9535
9534
|
} else {
|
|
9536
|
-
return
|
|
9535
|
+
return React__default.createElement(
|
|
9537
9536
|
Tooltip,
|
|
9538
9537
|
_extends({ id: 'button-tooltip' }, props),
|
|
9539
|
-
|
|
9538
|
+
React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9540
9539
|
);
|
|
9541
9540
|
}
|
|
9542
9541
|
};
|
|
9543
9542
|
|
|
9544
|
-
var FigureImageWOverLay =
|
|
9543
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9545
9544
|
var node = _ref3.node,
|
|
9546
9545
|
client = _ref3.client,
|
|
9547
9546
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9549,32 +9548,32 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9549
9548
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9550
9549
|
|
|
9551
9550
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9552
|
-
var triggerAction =
|
|
9553
|
-
var placementLocation =
|
|
9554
|
-
return
|
|
9551
|
+
var triggerAction = main_42 ? 'click' : 'hover';
|
|
9552
|
+
var placementLocation = main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9553
|
+
return React__default.createElement(
|
|
9555
9554
|
'picture',
|
|
9556
9555
|
null,
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9556
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9557
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9558
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9559
|
+
main_42 && link ? React__default.createElement('img', _extends({
|
|
9561
9560
|
style: figureImageStyle,
|
|
9562
9561
|
className: 'figure-image',
|
|
9563
9562
|
src: urlFor({ source: node, client: client }),
|
|
9564
9563
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9565
|
-
}, !link && !
|
|
9564
|
+
}, !link && !main_42 && {
|
|
9566
9565
|
onClick: function onClick() {
|
|
9567
9566
|
return handleClickFigure(node, client);
|
|
9568
9567
|
}
|
|
9569
|
-
})) :
|
|
9568
|
+
})) : React__default.createElement(
|
|
9570
9569
|
OverlayTrigger,
|
|
9571
9570
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9572
|
-
|
|
9571
|
+
React__default.createElement('img', _extends({
|
|
9573
9572
|
style: figureImageStyle,
|
|
9574
9573
|
className: 'figure-image',
|
|
9575
9574
|
src: urlFor({ source: node, client: client }),
|
|
9576
9575
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9577
|
-
}, !link && !
|
|
9576
|
+
}, !link && !main_42 && {
|
|
9578
9577
|
onClick: function onClick() {
|
|
9579
9578
|
return handleClickFigure(node, client);
|
|
9580
9579
|
}
|
|
@@ -9623,13 +9622,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9623
9622
|
|
|
9624
9623
|
var FigureCaption = useCallback(function () {
|
|
9625
9624
|
if (imgcaption && imgcaption.length > 0) {
|
|
9626
|
-
return
|
|
9625
|
+
return React__default.createElement(
|
|
9627
9626
|
'div',
|
|
9628
9627
|
{ className: 'figure-caption' },
|
|
9629
|
-
|
|
9628
|
+
React__default.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9630
9629
|
);
|
|
9631
9630
|
} else if (caption) {
|
|
9632
|
-
return
|
|
9631
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9633
9632
|
} else return null;
|
|
9634
9633
|
}, [caption, imgcaption]);
|
|
9635
9634
|
|
|
@@ -9646,24 +9645,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9646
9645
|
setShowLightbox(true);
|
|
9647
9646
|
}, [node, client]);
|
|
9648
9647
|
|
|
9649
|
-
return
|
|
9650
|
-
|
|
9648
|
+
return React__default.createElement(
|
|
9649
|
+
React__default.Fragment,
|
|
9651
9650
|
null,
|
|
9652
|
-
infoBox.length >= 1 ?
|
|
9651
|
+
infoBox.length >= 1 ? React__default.createElement(
|
|
9653
9652
|
Figure$2,
|
|
9654
9653
|
{ className: '' + class_name, style: figureStyle },
|
|
9655
|
-
link ?
|
|
9654
|
+
link ? React__default.createElement(
|
|
9656
9655
|
'a',
|
|
9657
9656
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
) :
|
|
9661
|
-
|
|
9657
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9658
|
+
React__default.createElement(FigureCaption, null)
|
|
9659
|
+
) : React__default.createElement(
|
|
9660
|
+
React__default.Fragment,
|
|
9662
9661
|
null,
|
|
9663
|
-
|
|
9664
|
-
|
|
9662
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9663
|
+
React__default.createElement(FigureCaption, null)
|
|
9665
9664
|
),
|
|
9666
|
-
|
|
9665
|
+
React__default.createElement(LightBox, {
|
|
9667
9666
|
showLightbox: showLightbox,
|
|
9668
9667
|
lightboxImgSrc: lightboxImgSrc,
|
|
9669
9668
|
closeLightbox: function closeLightbox() {
|
|
@@ -9671,21 +9670,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9671
9670
|
setShowLightbox(false);
|
|
9672
9671
|
}
|
|
9673
9672
|
})
|
|
9674
|
-
) :
|
|
9673
|
+
) : React__default.createElement(
|
|
9675
9674
|
Figure$2,
|
|
9676
9675
|
{ className: '' + class_name, style: figureStyle },
|
|
9677
|
-
link ?
|
|
9676
|
+
link ? React__default.createElement(
|
|
9678
9677
|
'a',
|
|
9679
9678
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
) :
|
|
9683
|
-
|
|
9679
|
+
React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9680
|
+
React__default.createElement(FigureCaption, null)
|
|
9681
|
+
) : React__default.createElement(
|
|
9682
|
+
React__default.Fragment,
|
|
9684
9683
|
null,
|
|
9685
|
-
|
|
9686
|
-
|
|
9684
|
+
React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9685
|
+
React__default.createElement(FigureCaption, null)
|
|
9687
9686
|
),
|
|
9688
|
-
|
|
9687
|
+
React__default.createElement(LightBox, {
|
|
9689
9688
|
showLightbox: showLightbox,
|
|
9690
9689
|
lightboxImgSrc: lightboxImgSrc,
|
|
9691
9690
|
closeLightbox: function closeLightbox() {
|
|
@@ -9694,7 +9693,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9694
9693
|
}
|
|
9695
9694
|
})
|
|
9696
9695
|
),
|
|
9697
|
-
|
|
9696
|
+
React__default.createElement(
|
|
9698
9697
|
'style',
|
|
9699
9698
|
{ jsx: 'true' },
|
|
9700
9699
|
'\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 '
|
|
@@ -9702,7 +9701,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9702
9701
|
);
|
|
9703
9702
|
};
|
|
9704
9703
|
|
|
9705
|
-
var Figure =
|
|
9704
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
9706
9705
|
|
|
9707
9706
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9708
9707
|
useEffect(function () {
|
|
@@ -9719,7 +9718,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9719
9718
|
}, [ref]);
|
|
9720
9719
|
}
|
|
9721
9720
|
|
|
9722
|
-
var FigureImage
|
|
9721
|
+
var FigureImage = React__default.memo(function (_ref) {
|
|
9723
9722
|
var imagesCount = _ref.imagesCount,
|
|
9724
9723
|
image = _ref.image,
|
|
9725
9724
|
client = _ref.client,
|
|
@@ -9727,13 +9726,13 @@ var FigureImage$1 = React.memo(function (_ref) {
|
|
|
9727
9726
|
link = _ref.link,
|
|
9728
9727
|
handleClickFigure = _ref.handleClickFigure;
|
|
9729
9728
|
|
|
9730
|
-
return
|
|
9729
|
+
return React__default.createElement(
|
|
9731
9730
|
'picture',
|
|
9732
9731
|
null,
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9732
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9733
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9734
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9735
|
+
React__default.createElement('img', _extends({
|
|
9737
9736
|
'images-count': imagesCount,
|
|
9738
9737
|
className: 'multi-figure-image',
|
|
9739
9738
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9770,13 +9769,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9770
9769
|
imgcaption = _ref2.imgcaption;
|
|
9771
9770
|
|
|
9772
9771
|
if (imgcaption && imgcaption.length > 0) {
|
|
9773
|
-
return
|
|
9772
|
+
return React__default.createElement(
|
|
9774
9773
|
'div',
|
|
9775
9774
|
{ className: 'multi-figure-caption' },
|
|
9776
|
-
|
|
9775
|
+
React__default.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9777
9776
|
);
|
|
9778
9777
|
} else if (caption) {
|
|
9779
|
-
return
|
|
9778
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9780
9779
|
} else return null;
|
|
9781
9780
|
};
|
|
9782
9781
|
|
|
@@ -9785,7 +9784,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9785
9784
|
setOpenImg(true);
|
|
9786
9785
|
}, [client]);
|
|
9787
9786
|
|
|
9788
|
-
var FigureImageWOverLay =
|
|
9787
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9789
9788
|
var imagesCount = _ref3.imagesCount,
|
|
9790
9789
|
image = _ref3.image,
|
|
9791
9790
|
client = _ref3.client,
|
|
@@ -9793,32 +9792,32 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9793
9792
|
link = _ref3.link,
|
|
9794
9793
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9795
9794
|
|
|
9796
|
-
var triggerAction =
|
|
9797
|
-
var placementLocation =
|
|
9798
|
-
return
|
|
9795
|
+
var triggerAction = main_42 ? 'click' : 'hover';
|
|
9796
|
+
var placementLocation = main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9797
|
+
return React__default.createElement(
|
|
9799
9798
|
'picture',
|
|
9800
9799
|
null,
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
|
|
9800
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9801
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9802
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9803
|
+
main_42 && link ? React__default.createElement('img', _extends({
|
|
9805
9804
|
'images-count': imagesCount,
|
|
9806
9805
|
className: 'multi-figure-image',
|
|
9807
9806
|
src: urlFor({ source: image, client: client }),
|
|
9808
9807
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9809
|
-
}, !link && !
|
|
9808
|
+
}, !link && !main_42 && {
|
|
9810
9809
|
onClick: function onClick() {
|
|
9811
9810
|
return handleClickFigure(image, client);
|
|
9812
9811
|
}
|
|
9813
|
-
})) :
|
|
9812
|
+
})) : React__default.createElement(
|
|
9814
9813
|
OverlayTrigger,
|
|
9815
9814
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9816
|
-
|
|
9815
|
+
React__default.createElement('img', _extends({
|
|
9817
9816
|
'images-count': imagesCount,
|
|
9818
9817
|
className: 'multi-figure-image',
|
|
9819
9818
|
src: urlFor({ source: image, client: client }),
|
|
9820
9819
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9821
|
-
}, !link && !
|
|
9820
|
+
}, !link && !main_42 && {
|
|
9822
9821
|
onClick: function onClick() {
|
|
9823
9822
|
return handleClickFigure(image, client);
|
|
9824
9823
|
}
|
|
@@ -9829,102 +9828,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9829
9828
|
|
|
9830
9829
|
var renderTooltip = function renderTooltip(image) {
|
|
9831
9830
|
if (image.infoBox[0].title) {
|
|
9832
|
-
return
|
|
9831
|
+
return React__default.createElement(
|
|
9833
9832
|
Popover,
|
|
9834
9833
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9835
|
-
|
|
9834
|
+
React__default.createElement(
|
|
9836
9835
|
Popover.Title,
|
|
9837
9836
|
{ as: 'h3' },
|
|
9838
9837
|
image.infoBox[0].title
|
|
9839
9838
|
),
|
|
9840
|
-
|
|
9839
|
+
React__default.createElement(
|
|
9841
9840
|
Popover.Content,
|
|
9842
9841
|
null,
|
|
9843
|
-
|
|
9842
|
+
React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9844
9843
|
)
|
|
9845
9844
|
);
|
|
9846
9845
|
} else {
|
|
9847
|
-
return
|
|
9846
|
+
return React__default.createElement(
|
|
9848
9847
|
Tooltip,
|
|
9849
9848
|
_extends({ id: 'button-tooltip' }, props),
|
|
9850
|
-
|
|
9849
|
+
React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9851
9850
|
);
|
|
9852
9851
|
}
|
|
9853
9852
|
};
|
|
9854
9853
|
|
|
9855
9854
|
if (images && images.length > 0) {
|
|
9856
|
-
return
|
|
9855
|
+
return React__default.createElement(
|
|
9857
9856
|
'div',
|
|
9858
9857
|
{ className: 'multi-figure-container' },
|
|
9859
|
-
|
|
9858
|
+
React__default.createElement(
|
|
9860
9859
|
Row$1,
|
|
9861
9860
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9862
9861
|
images.map(function (image, index) {
|
|
9863
9862
|
if (image.infoBox) {
|
|
9864
|
-
return
|
|
9863
|
+
return React__default.createElement(
|
|
9865
9864
|
Col$1,
|
|
9866
9865
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9867
|
-
image.link ?
|
|
9866
|
+
image.link ? React__default.createElement(
|
|
9868
9867
|
'a',
|
|
9869
9868
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9870
|
-
|
|
9869
|
+
React__default.createElement(
|
|
9871
9870
|
'div',
|
|
9872
9871
|
{ className: 'multi-figure-image-container' },
|
|
9873
|
-
|
|
9872
|
+
React__default.createElement(
|
|
9874
9873
|
LazyLoad,
|
|
9875
9874
|
{ once: true },
|
|
9876
|
-
|
|
9875
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9877
9876
|
),
|
|
9878
|
-
|
|
9877
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9879
9878
|
)
|
|
9880
|
-
) :
|
|
9879
|
+
) : React__default.createElement(
|
|
9881
9880
|
'div',
|
|
9882
9881
|
{ className: 'multi-figure-image-container' },
|
|
9883
|
-
|
|
9882
|
+
React__default.createElement(
|
|
9884
9883
|
LazyLoad,
|
|
9885
9884
|
{ once: true },
|
|
9886
|
-
|
|
9885
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9887
9886
|
),
|
|
9888
|
-
|
|
9887
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9889
9888
|
)
|
|
9890
9889
|
);
|
|
9891
9890
|
} else {
|
|
9892
|
-
return
|
|
9891
|
+
return React__default.createElement(
|
|
9893
9892
|
Col$1,
|
|
9894
9893
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9895
|
-
image.link ?
|
|
9894
|
+
image.link ? React__default.createElement(
|
|
9896
9895
|
'a',
|
|
9897
9896
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9898
|
-
|
|
9897
|
+
React__default.createElement(
|
|
9899
9898
|
'div',
|
|
9900
9899
|
{ className: 'multi-figure-image-container' },
|
|
9901
|
-
|
|
9900
|
+
React__default.createElement(
|
|
9902
9901
|
LazyLoad,
|
|
9903
9902
|
{ once: true },
|
|
9904
|
-
|
|
9903
|
+
React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9905
9904
|
),
|
|
9906
|
-
|
|
9905
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9907
9906
|
)
|
|
9908
|
-
) :
|
|
9907
|
+
) : React__default.createElement(
|
|
9909
9908
|
'div',
|
|
9910
9909
|
{ className: 'multi-figure-image-container' },
|
|
9911
|
-
|
|
9910
|
+
React__default.createElement(
|
|
9912
9911
|
LazyLoad,
|
|
9913
9912
|
{ once: true },
|
|
9914
|
-
|
|
9913
|
+
React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9915
9914
|
),
|
|
9916
|
-
|
|
9915
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9917
9916
|
)
|
|
9918
9917
|
);
|
|
9919
9918
|
}
|
|
9920
9919
|
})
|
|
9921
9920
|
),
|
|
9922
|
-
|
|
9921
|
+
React__default.createElement(
|
|
9923
9922
|
'div',
|
|
9924
9923
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9925
|
-
|
|
9924
|
+
React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9926
9925
|
),
|
|
9927
|
-
|
|
9926
|
+
React__default.createElement(
|
|
9928
9927
|
'style',
|
|
9929
9928
|
{ jsx: 'true' },
|
|
9930
9929
|
'\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 '
|
|
@@ -9973,23 +9972,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9973
9972
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9974
9973
|
}, []);
|
|
9975
9974
|
|
|
9976
|
-
return
|
|
9977
|
-
|
|
9975
|
+
return React__default.createElement(
|
|
9976
|
+
React__default.Fragment,
|
|
9978
9977
|
null,
|
|
9979
|
-
|
|
9978
|
+
React__default.createElement(
|
|
9980
9979
|
Head,
|
|
9981
9980
|
null,
|
|
9982
|
-
|
|
9981
|
+
React__default.createElement('script', {
|
|
9983
9982
|
dangerouslySetInnerHTML: {
|
|
9984
9983
|
__html: 'history.scrollRestoration = "manual"'
|
|
9985
9984
|
}
|
|
9986
9985
|
})
|
|
9987
9986
|
),
|
|
9988
|
-
|
|
9987
|
+
React__default.createElement(
|
|
9989
9988
|
'div',
|
|
9990
9989
|
{ id: elementId },
|
|
9991
|
-
|
|
9992
|
-
|
|
9990
|
+
React__default.createElement(BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9991
|
+
React__default.createElement(
|
|
9993
9992
|
'style',
|
|
9994
9993
|
{ jsx: 'true' },
|
|
9995
9994
|
'\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 '
|
|
@@ -9998,6 +9997,258 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9998
9997
|
);
|
|
9999
9998
|
};
|
|
10000
9999
|
|
|
10000
|
+
var objectWithoutProperties = createCommonjsModule(function (module, exports) {
|
|
10001
|
+
|
|
10002
|
+
exports.__esModule = true;
|
|
10003
|
+
|
|
10004
|
+
exports.default = function (obj, keys) {
|
|
10005
|
+
var target = {};
|
|
10006
|
+
|
|
10007
|
+
for (var i in obj) {
|
|
10008
|
+
if (keys.indexOf(i) >= 0) continue;
|
|
10009
|
+
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
10010
|
+
target[i] = obj[i];
|
|
10011
|
+
}
|
|
10012
|
+
|
|
10013
|
+
return target;
|
|
10014
|
+
};
|
|
10015
|
+
});
|
|
10016
|
+
|
|
10017
|
+
unwrapExports(objectWithoutProperties);
|
|
10018
|
+
|
|
10019
|
+
var ScriptTag_1 = createCommonjsModule(function (module, exports) {
|
|
10020
|
+
|
|
10021
|
+
exports.__esModule = true;
|
|
10022
|
+
|
|
10023
|
+
|
|
10024
|
+
|
|
10025
|
+
var _extends3 = _interopRequireDefault(_extends$1);
|
|
10026
|
+
|
|
10027
|
+
|
|
10028
|
+
|
|
10029
|
+
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
10030
|
+
|
|
10031
|
+
|
|
10032
|
+
|
|
10033
|
+
var _classCallCheck3 = _interopRequireDefault(classCallCheck);
|
|
10034
|
+
|
|
10035
|
+
|
|
10036
|
+
|
|
10037
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
|
|
10038
|
+
|
|
10039
|
+
|
|
10040
|
+
|
|
10041
|
+
var _inherits3 = _interopRequireDefault(inherits);
|
|
10042
|
+
|
|
10043
|
+
|
|
10044
|
+
|
|
10045
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
10046
|
+
|
|
10047
|
+
|
|
10048
|
+
|
|
10049
|
+
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
10050
|
+
|
|
10051
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10052
|
+
var noop = function noop() {};
|
|
10053
|
+
|
|
10054
|
+
var ScriptTag = function (_Component) {
|
|
10055
|
+
(0, _inherits3.default)(ScriptTag, _Component);
|
|
10056
|
+
|
|
10057
|
+
ScriptTag.removeNode = function removeNode(node) {
|
|
10058
|
+
if (node) {
|
|
10059
|
+
node.parentNode.removeChild(node);
|
|
10060
|
+
}
|
|
10061
|
+
};
|
|
10062
|
+
|
|
10063
|
+
function ScriptTag(props, context) {
|
|
10064
|
+
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
10065
|
+
|
|
10066
|
+
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
10067
|
+
|
|
10068
|
+
_this.domRef = null;
|
|
10069
|
+
_this.state = {
|
|
10070
|
+
isHydrated: props.isHydrating,
|
|
10071
|
+
additionalNode: null,
|
|
10072
|
+
removeAdditionalNode: null
|
|
10073
|
+
};
|
|
10074
|
+
return _this;
|
|
10075
|
+
}
|
|
10076
|
+
|
|
10077
|
+
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
10078
|
+
var _props = this.props,
|
|
10079
|
+
onError = _props.onError,
|
|
10080
|
+
onLoad = _props.onLoad,
|
|
10081
|
+
nonce = _props.nonce;
|
|
10082
|
+
|
|
10083
|
+
// Create a new HTML script element
|
|
10084
|
+
|
|
10085
|
+
var newElement = document.createElement("script");
|
|
10086
|
+
|
|
10087
|
+
// Copy all attribute values
|
|
10088
|
+
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
10089
|
+
var attr = this.domRef.attributes[i];
|
|
10090
|
+
if (attr.nodeName === 'nonce') {
|
|
10091
|
+
// The browser clears the nonce value - grab from props
|
|
10092
|
+
newElement.setAttribute(attr.nodeName, nonce);
|
|
10093
|
+
} else {
|
|
10094
|
+
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
10095
|
+
}
|
|
10096
|
+
}
|
|
10097
|
+
|
|
10098
|
+
// Copy the inner script
|
|
10099
|
+
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
10100
|
+
newElement.innerHTML = this.domRef.innerHTML;
|
|
10101
|
+
}
|
|
10102
|
+
|
|
10103
|
+
// Bind event listeners
|
|
10104
|
+
newElement.addEventListener('load', onLoad);
|
|
10105
|
+
newElement.addEventListener('error', onError);
|
|
10106
|
+
|
|
10107
|
+
// Append the new script tag
|
|
10108
|
+
this.domRef.parentNode.appendChild(newElement);
|
|
10109
|
+
return newElement;
|
|
10110
|
+
};
|
|
10111
|
+
|
|
10112
|
+
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
10113
|
+
var isHydrated = this.state.isHydrated;
|
|
10114
|
+
|
|
10115
|
+
if (isHydrated) {
|
|
10116
|
+
// was rendered on server, don't replace elements when hydrating
|
|
10117
|
+
return;
|
|
10118
|
+
}
|
|
10119
|
+
|
|
10120
|
+
this.setState({
|
|
10121
|
+
additionalNode: this.appendAdditionalElement(),
|
|
10122
|
+
removeAdditionalNode: null
|
|
10123
|
+
});
|
|
10124
|
+
};
|
|
10125
|
+
|
|
10126
|
+
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
10127
|
+
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
10128
|
+
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
10129
|
+
|
|
10130
|
+
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
10131
|
+
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
10132
|
+
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
10133
|
+
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
10134
|
+
// This really complicates the component - for now we'll leave it as is.
|
|
10135
|
+
var _props2 = this.props,
|
|
10136
|
+
src = _props2.src,
|
|
10137
|
+
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
10138
|
+
|
|
10139
|
+
if (src && src === nextProps.src) {
|
|
10140
|
+
// The 'src' attribute has not changed
|
|
10141
|
+
return;
|
|
10142
|
+
}
|
|
10143
|
+
|
|
10144
|
+
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
10145
|
+
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
10146
|
+
return;
|
|
10147
|
+
}
|
|
10148
|
+
|
|
10149
|
+
this.setState({
|
|
10150
|
+
removeAdditionalNode: this.state.additionalNode,
|
|
10151
|
+
additionalNode: null
|
|
10152
|
+
});
|
|
10153
|
+
};
|
|
10154
|
+
|
|
10155
|
+
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
10156
|
+
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
10157
|
+
};
|
|
10158
|
+
|
|
10159
|
+
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
10160
|
+
var _state = this.state,
|
|
10161
|
+
additionalNode = _state.additionalNode,
|
|
10162
|
+
removeAdditionalNode = _state.removeAdditionalNode;
|
|
10163
|
+
|
|
10164
|
+
if (additionalNode === null) {
|
|
10165
|
+
this.setState({
|
|
10166
|
+
additionalNode: this.appendAdditionalElement()
|
|
10167
|
+
});
|
|
10168
|
+
}
|
|
10169
|
+
|
|
10170
|
+
if (removeAdditionalNode !== null) {
|
|
10171
|
+
// Was removed in 'componentWillUpdate', but can not update state there
|
|
10172
|
+
this.setState({
|
|
10173
|
+
removeAdditionalNode: null
|
|
10174
|
+
});
|
|
10175
|
+
}
|
|
10176
|
+
};
|
|
10177
|
+
|
|
10178
|
+
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
10179
|
+
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
10180
|
+
ScriptTag.removeNode(this.state.additionalNode);
|
|
10181
|
+
};
|
|
10182
|
+
|
|
10183
|
+
ScriptTag.prototype.render = function render() {
|
|
10184
|
+
var _this2 = this;
|
|
10185
|
+
|
|
10186
|
+
var additionalNode = this.state.additionalNode;
|
|
10187
|
+
|
|
10188
|
+
if (additionalNode !== null) {
|
|
10189
|
+
return null;
|
|
10190
|
+
}
|
|
10191
|
+
|
|
10192
|
+
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10193
|
+
// eslint-disable-next-line no-unused-vars
|
|
10194
|
+
var _props3 = this.props;
|
|
10195
|
+
_props3.isHydrating;
|
|
10196
|
+
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10197
|
+
|
|
10198
|
+
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10199
|
+
return _this2.domRef = tag;
|
|
10200
|
+
} }));
|
|
10201
|
+
};
|
|
10202
|
+
|
|
10203
|
+
return ScriptTag;
|
|
10204
|
+
}(React__default.Component);
|
|
10205
|
+
|
|
10206
|
+
ScriptTag.propTypes = {
|
|
10207
|
+
/**
|
|
10208
|
+
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
10209
|
+
*/
|
|
10210
|
+
isHydrating: _propTypes2.default.bool,
|
|
10211
|
+
|
|
10212
|
+
// Standard <script> tag props
|
|
10213
|
+
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
10214
|
+
crossOrigin: _propTypes2.default.string,
|
|
10215
|
+
defer: _propTypes2.default.bool,
|
|
10216
|
+
integrity: _propTypes2.default.string,
|
|
10217
|
+
nonce: _propTypes2.default.string,
|
|
10218
|
+
src: _propTypes2.default.string,
|
|
10219
|
+
text: _propTypes2.default.string,
|
|
10220
|
+
type: _propTypes2.default.string,
|
|
10221
|
+
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
10222
|
+
|
|
10223
|
+
// globals
|
|
10224
|
+
onError: _propTypes2.default.func,
|
|
10225
|
+
onLoad: _propTypes2.default.func
|
|
10226
|
+
};
|
|
10227
|
+
ScriptTag.defaultProps = {
|
|
10228
|
+
isHydrating: false,
|
|
10229
|
+
onError: noop,
|
|
10230
|
+
onLoad: noop
|
|
10231
|
+
};
|
|
10232
|
+
exports.default = ScriptTag;
|
|
10233
|
+
});
|
|
10234
|
+
|
|
10235
|
+
unwrapExports(ScriptTag_1);
|
|
10236
|
+
|
|
10237
|
+
var lib = createCommonjsModule(function (module, exports) {
|
|
10238
|
+
|
|
10239
|
+
exports.__esModule = true;
|
|
10240
|
+
|
|
10241
|
+
|
|
10242
|
+
|
|
10243
|
+
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
10244
|
+
|
|
10245
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10246
|
+
|
|
10247
|
+
exports.default = _ScriptTag2.default;
|
|
10248
|
+
});
|
|
10249
|
+
|
|
10250
|
+
var ScriptTag = unwrapExports(lib);
|
|
10251
|
+
|
|
10001
10252
|
var enterpriseDomainName = 'mjhlifesciences';
|
|
10002
10253
|
|
|
10003
10254
|
var FormAssembly = function FormAssembly(props) {
|
|
@@ -10042,11 +10293,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10042
10293
|
}, [anonymousID]);
|
|
10043
10294
|
|
|
10044
10295
|
if (iframeSrc) {
|
|
10045
|
-
return
|
|
10296
|
+
return React__default.createElement(
|
|
10046
10297
|
'section',
|
|
10047
10298
|
{ className: 'form-assembly' },
|
|
10048
|
-
iframeSrc &&
|
|
10049
|
-
|
|
10299
|
+
iframeSrc && React__default.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10300
|
+
React__default.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10050
10301
|
);
|
|
10051
10302
|
}
|
|
10052
10303
|
|
|
@@ -10083,27 +10334,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10083
10334
|
return window.removeEventListener('resize', handleResize);
|
|
10084
10335
|
};
|
|
10085
10336
|
}, []);
|
|
10086
|
-
return
|
|
10337
|
+
return React__default.createElement(
|
|
10087
10338
|
'div',
|
|
10088
10339
|
{ className: 'blockTableHolder', ref: holder },
|
|
10089
|
-
|
|
10340
|
+
React__default.createElement(
|
|
10090
10341
|
'div',
|
|
10091
10342
|
{ className: 'blockTable' },
|
|
10092
10343
|
rows && rows.map(function (row) {
|
|
10093
|
-
return
|
|
10344
|
+
return React__default.createElement(
|
|
10094
10345
|
'div',
|
|
10095
10346
|
{ className: 'blockTableRow' },
|
|
10096
10347
|
row.cells && row.cells.map(function (cell) {
|
|
10097
|
-
return
|
|
10348
|
+
return React__default.createElement(
|
|
10098
10349
|
'div',
|
|
10099
10350
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10100
|
-
|
|
10351
|
+
React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10101
10352
|
);
|
|
10102
10353
|
})
|
|
10103
10354
|
);
|
|
10104
10355
|
})
|
|
10105
10356
|
),
|
|
10106
|
-
|
|
10357
|
+
React__default.createElement(
|
|
10107
10358
|
'style',
|
|
10108
10359
|
{ jsx: true },
|
|
10109
10360
|
'\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 '
|
|
@@ -10113,11 +10364,11 @@ var BlockTable = function BlockTable(props) {
|
|
|
10113
10364
|
|
|
10114
10365
|
var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
10115
10366
|
var _props$node = props.node,
|
|
10116
|
-
FormID = _props$node.FormID
|
|
10117
|
-
_props$node
|
|
10367
|
+
FormID = _props$node.FormID;
|
|
10368
|
+
_props$node.needSegmentSupport;
|
|
10118
10369
|
|
|
10119
10370
|
|
|
10120
|
-
return
|
|
10371
|
+
return React__default.createElement('div', { id: FormID });
|
|
10121
10372
|
};
|
|
10122
10373
|
|
|
10123
10374
|
var ScrollToElement = function ScrollToElement(elementId) {
|
|
@@ -10199,12 +10450,12 @@ var getSerializers = function getSerializers() {
|
|
|
10199
10450
|
var node = _ref.node;
|
|
10200
10451
|
var url = node.url;
|
|
10201
10452
|
|
|
10202
|
-
return
|
|
10453
|
+
return React__default.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10203
10454
|
},
|
|
10204
10455
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10205
10456
|
var node = _ref2.node;
|
|
10206
10457
|
|
|
10207
|
-
return
|
|
10458
|
+
return React__default.createElement(YouTubeGallery, {
|
|
10208
10459
|
nodes: node,
|
|
10209
10460
|
article: article,
|
|
10210
10461
|
meta: meta,
|
|
@@ -10218,7 +10469,7 @@ var getSerializers = function getSerializers() {
|
|
|
10218
10469
|
articleSeries: function articleSeries(_ref3) {
|
|
10219
10470
|
var node = _ref3.node;
|
|
10220
10471
|
|
|
10221
|
-
return
|
|
10472
|
+
return React__default.createElement(ArticleSeries, {
|
|
10222
10473
|
nodes: node,
|
|
10223
10474
|
accountIDs: videoAccountIDs || {},
|
|
10224
10475
|
pageview: pageview,
|
|
@@ -10231,61 +10482,61 @@ var getSerializers = function getSerializers() {
|
|
|
10231
10482
|
figure: function figure(_ref4) {
|
|
10232
10483
|
var node = _ref4.node;
|
|
10233
10484
|
|
|
10234
|
-
return
|
|
10485
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10235
10486
|
},
|
|
10236
10487
|
multifigure: function multifigure(_ref5) {
|
|
10237
10488
|
var node = _ref5.node;
|
|
10238
10489
|
|
|
10239
|
-
return
|
|
10490
|
+
return React__default.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10240
10491
|
},
|
|
10241
10492
|
slideshow: function slideshow(_ref6) {
|
|
10242
10493
|
var node = _ref6.node;
|
|
10243
10494
|
var slides = node.slides;
|
|
10244
10495
|
|
|
10245
|
-
return
|
|
10496
|
+
return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10246
10497
|
},
|
|
10247
10498
|
sidebar: function sidebar(_ref7) {
|
|
10248
10499
|
var node = _ref7.node;
|
|
10249
10500
|
var caption = node.caption,
|
|
10250
10501
|
content = node.content;
|
|
10251
10502
|
|
|
10252
|
-
return
|
|
10503
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10253
10504
|
},
|
|
10254
10505
|
datatable: function datatable(_ref8) {
|
|
10255
10506
|
var node = _ref8.node;
|
|
10256
10507
|
var table = node.table;
|
|
10257
10508
|
|
|
10258
|
-
return
|
|
10509
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
10259
10510
|
},
|
|
10260
10511
|
media: function media(_ref9) {
|
|
10261
10512
|
var node = _ref9.node;
|
|
10262
10513
|
|
|
10263
|
-
return
|
|
10514
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
10264
10515
|
},
|
|
10265
10516
|
iframe: function iframe(_ref10) {
|
|
10266
10517
|
var node = _ref10.node;
|
|
10267
10518
|
|
|
10268
|
-
return
|
|
10519
|
+
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10269
10520
|
},
|
|
10270
10521
|
video: function video(_ref11) {
|
|
10271
10522
|
var node = _ref11.node;
|
|
10272
10523
|
|
|
10273
|
-
return
|
|
10524
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10274
10525
|
},
|
|
10275
10526
|
audio: function audio(_ref12) {
|
|
10276
10527
|
var node = _ref12.node;
|
|
10277
10528
|
|
|
10278
|
-
return
|
|
10529
|
+
return React__default.createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10279
10530
|
},
|
|
10280
10531
|
poll: function poll(_ref13) {
|
|
10281
10532
|
var node = _ref13.node;
|
|
10282
10533
|
|
|
10283
|
-
return
|
|
10534
|
+
return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10284
10535
|
},
|
|
10285
10536
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10286
10537
|
var node = _ref14.node;
|
|
10287
10538
|
|
|
10288
|
-
return
|
|
10539
|
+
return React__default.createElement(Poll, {
|
|
10289
10540
|
node: node,
|
|
10290
10541
|
client: client,
|
|
10291
10542
|
pageview: pageview,
|
|
@@ -10299,35 +10550,35 @@ var getSerializers = function getSerializers() {
|
|
|
10299
10550
|
var node = _ref15.node;
|
|
10300
10551
|
var quizzes = node.quizzes;
|
|
10301
10552
|
|
|
10302
|
-
return
|
|
10553
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10303
10554
|
},
|
|
10304
10555
|
leads: function leads(_ref16) {
|
|
10305
10556
|
var node = _ref16.node;
|
|
10306
10557
|
var leadID = node.leadID;
|
|
10307
10558
|
|
|
10308
10559
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10309
|
-
return
|
|
10560
|
+
return React__default.createElement(Leads, { url: url });
|
|
10310
10561
|
},
|
|
10311
10562
|
slideshows: function slideshows(_ref17) {
|
|
10312
10563
|
var node = _ref17.node;
|
|
10313
10564
|
|
|
10314
|
-
return
|
|
10565
|
+
return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10315
10566
|
},
|
|
10316
10567
|
nativeAd: function nativeAd(_ref18) {
|
|
10317
10568
|
var node = _ref18.node;
|
|
10318
10569
|
|
|
10319
|
-
return
|
|
10570
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
10320
10571
|
},
|
|
10321
10572
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10322
10573
|
var node = _ref19.node;
|
|
10323
10574
|
|
|
10324
|
-
return
|
|
10575
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10325
10576
|
},
|
|
10326
10577
|
hrtag: function hrtag() {
|
|
10327
|
-
return
|
|
10578
|
+
return React__default.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10328
10579
|
},
|
|
10329
10580
|
brtag: function brtag() {
|
|
10330
|
-
return
|
|
10581
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
10331
10582
|
},
|
|
10332
10583
|
formstack: function formstack(_ref20) {
|
|
10333
10584
|
var node = _ref20.node;
|
|
@@ -10335,30 +10586,30 @@ var getSerializers = function getSerializers() {
|
|
|
10335
10586
|
Caption = node.Caption,
|
|
10336
10587
|
needSegmentSupport = node.needSegmentSupport;
|
|
10337
10588
|
|
|
10338
|
-
return
|
|
10589
|
+
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10339
10590
|
},
|
|
10340
10591
|
formassembly: FormAssembly,
|
|
10341
10592
|
digiohSmartTag: DigiohSmartTag,
|
|
10342
10593
|
multimedia: function multimedia(_ref21) {
|
|
10343
10594
|
var node = _ref21.node;
|
|
10344
10595
|
|
|
10345
|
-
return
|
|
10596
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
10346
10597
|
},
|
|
10347
10598
|
blockTable: function blockTable(_ref22) {
|
|
10348
10599
|
var node = _ref22.node;
|
|
10349
|
-
return
|
|
10600
|
+
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10350
10601
|
}
|
|
10351
10602
|
},
|
|
10352
10603
|
marks: {
|
|
10353
10604
|
superscript: function superscript(props) {
|
|
10354
|
-
return
|
|
10605
|
+
return React__default.createElement(
|
|
10355
10606
|
'sup',
|
|
10356
10607
|
null,
|
|
10357
10608
|
props.children
|
|
10358
10609
|
);
|
|
10359
10610
|
},
|
|
10360
10611
|
subscript: function subscript(props) {
|
|
10361
|
-
return
|
|
10612
|
+
return React__default.createElement(
|
|
10362
10613
|
'sub',
|
|
10363
10614
|
null,
|
|
10364
10615
|
props.children
|
|
@@ -10375,7 +10626,7 @@ var getSerializers = function getSerializers() {
|
|
|
10375
10626
|
if (href && href.charAt(0) === '#') {
|
|
10376
10627
|
var elementId = href.slice(1);
|
|
10377
10628
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10378
|
-
return
|
|
10629
|
+
return React__default.createElement(
|
|
10379
10630
|
'a',
|
|
10380
10631
|
{ onClick: function onClick() {
|
|
10381
10632
|
return ScrollToElement(elementId);
|
|
@@ -10385,7 +10636,7 @@ var getSerializers = function getSerializers() {
|
|
|
10385
10636
|
}
|
|
10386
10637
|
|
|
10387
10638
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10388
|
-
return href ?
|
|
10639
|
+
return href ? React__default.createElement(
|
|
10389
10640
|
'a',
|
|
10390
10641
|
_extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10391
10642
|
children
|
|
@@ -10393,7 +10644,7 @@ var getSerializers = function getSerializers() {
|
|
|
10393
10644
|
},
|
|
10394
10645
|
alignleft: function alignleft(_ref23) {
|
|
10395
10646
|
var children = _ref23.children;
|
|
10396
|
-
return
|
|
10647
|
+
return React__default.createElement(
|
|
10397
10648
|
'div',
|
|
10398
10649
|
{ style: { textAlign: 'left' } },
|
|
10399
10650
|
children
|
|
@@ -10401,7 +10652,7 @@ var getSerializers = function getSerializers() {
|
|
|
10401
10652
|
},
|
|
10402
10653
|
alignright: function alignright(_ref24) {
|
|
10403
10654
|
var children = _ref24.children;
|
|
10404
|
-
return
|
|
10655
|
+
return React__default.createElement(
|
|
10405
10656
|
'div',
|
|
10406
10657
|
{ style: { textAlign: 'right' } },
|
|
10407
10658
|
children
|
|
@@ -10409,7 +10660,7 @@ var getSerializers = function getSerializers() {
|
|
|
10409
10660
|
},
|
|
10410
10661
|
aligncenter: function aligncenter(_ref25) {
|
|
10411
10662
|
var children = _ref25.children;
|
|
10412
|
-
return
|
|
10663
|
+
return React__default.createElement(
|
|
10413
10664
|
'div',
|
|
10414
10665
|
{ style: { textAlign: 'center' } },
|
|
10415
10666
|
children
|
|
@@ -10417,7 +10668,7 @@ var getSerializers = function getSerializers() {
|
|
|
10417
10668
|
},
|
|
10418
10669
|
alignjustify: function alignjustify(_ref26) {
|
|
10419
10670
|
var children = _ref26.children;
|
|
10420
|
-
return
|
|
10671
|
+
return React__default.createElement(
|
|
10421
10672
|
'div',
|
|
10422
10673
|
{ style: { textAlign: 'justify' } },
|
|
10423
10674
|
children
|
|
@@ -10427,7 +10678,7 @@ var getSerializers = function getSerializers() {
|
|
|
10427
10678
|
var children = props.children,
|
|
10428
10679
|
color = props.mark.color;
|
|
10429
10680
|
|
|
10430
|
-
return
|
|
10681
|
+
return React__default.createElement(
|
|
10431
10682
|
'span',
|
|
10432
10683
|
{ style: { color: color ? color.hex : null } },
|
|
10433
10684
|
children
|