@mjhls/mjh-framework 1.0.989 → 1.0.990-next-12-01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-b54f0bda.js → ADInfeed-cf54cb8a.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-4f0850ec.js → ADlgInfeed-d06624d8.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -19
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +48 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/AuthWrapper.js +586 -9
- 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-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +39 -39
- package/dist/cjs/DeckQueue.js +29 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-bcaa7e3f.js → Dfp-94f8ccdf.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +45 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridContentPaginated.js +46 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/HealthCareProfessionalModal.js +3 -3
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-a7fb6218.js +182 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +83 -85
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +38 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-94c5bb79.js → MediaSeriesCard-36eab8b7.js} +646 -446
- package/dist/cjs/MediaSeriesLanding.js +54 -56
- package/dist/cjs/MediaSeriesLandingPaginated.js +60 -62
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +39 -39
- package/dist/cjs/NavNative.js +39 -39
- 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 +59 -60
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -60
- 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 +32 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-6f89fb97.js → PublicationFeature-be5f3503.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +38 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -17
- package/dist/cjs/{SeriesSlider-08699353.js → SeriesSlider-b94f1dd5.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-af6ddcc0.js → SocialSearchComponent-b7faaedc.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +44 -46
- package/dist/cjs/TemplateNormal.js +45 -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 +50 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +30 -30
- package/dist/cjs/View.js +115 -119
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- 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/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{extends-7df78678.js → extends-7c86182f.js} +8 -7
- package/dist/cjs/faundadb.js +325 -8
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getPtceActivities.js +27 -14
- package/dist/cjs/getRelatedArticle.js +343 -74
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +44 -46
- package/dist/cjs/{getTargeting-5eabd6e2.js → getTargeting-4439c99d.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-44481153.js → index-0e4427c8.js} +40 -21
- package/dist/cjs/{index-3c067d4f.js → index-7361fa72.js} +993 -171
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- 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 +140 -148
- 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-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/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-310d113c.js → ADInfeed-f684cac9.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-eeaa14e2.js → ADlgInfeed-8c438cee.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +49 -49
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/AuthWrapper.js +605 -27
- package/dist/esm/{AuthorComponent-b0a47123.js → AuthorComponent-defe68b6.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -49
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +70 -70
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-e151d2de.js → Dfp-4b99f79d.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +145 -145
- package/dist/esm/GridContentPaginated.js +133 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +8 -8
- package/dist/esm/HealthCareProfessionalModal.js +13 -13
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-eab2fe41.js +176 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +91 -93
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-4865e60f.js → MediaSeriesCard-99048e65.js} +907 -707
- package/dist/esm/MediaSeriesLanding.js +79 -81
- package/dist/esm/MediaSeriesLandingPaginated.js +83 -85
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +121 -121
- package/dist/esm/NavNative.js +110 -110
- 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 +95 -96
- package/dist/esm/PartnerDetailListingPaginated.js +91 -92
- 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 +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-0379cc20.js → PublicationFeature-03500094.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- 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 +30 -30
- package/dist/esm/{SeriesSlider-b364d074.js → SeriesSlider-609f9d94.js} +35 -35
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-77a22145.js → SocialSearchComponent-1d8a9f59.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +48 -50
- package/dist/esm/TemplateNormal.js +65 -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 +62 -64
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +318 -322
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-31d40a83.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-72edfd60.js → _iter-detect-f089461c.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-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-fa0feeff.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-9c835201.js → asyncToGenerator-9716ae8d.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-e903ff31.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-a8a00786.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-3518b6fe.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{extends-7fbbe94e.js → extends-dc6a71fd.js} +8 -8
- package/dist/esm/faundadb.js +323 -6
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getPtceActivities.js +27 -14
- package/dist/esm/getRelatedArticle.js +339 -70
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +44 -46
- package/dist/esm/{getTargeting-eed01f73.js → getTargeting-db566006.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-1819118a.js → index-5cc7b406.js} +43 -24
- 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-25f93396.js → index-c60f3bb6.js} +1396 -573
- 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 +166 -173
- package/dist/esm/{inherits-d26c739e.js → inherits-8a801a18.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/keys-425c8ab0.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-ca2c8b8d.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-c21932b3.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-47a5394a.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-d92ed6e0.js → typeof-83d9eb10.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-0fc42ed8.js → urlForFile-413f5ddb.js} +1 -1
- package/dist/esm/{ustream-api-cbba615a.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-406140e0.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +115 -115
- package/dist/cjs/Auth.js +0 -3514
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/cjs/md5-e1ca5797.js +0 -323
- package/dist/cjs/util-f2c1b65b.js +0 -576
- package/dist/esm/Auth.js +0 -3494
- package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/keys-5e9bd229.js +0 -23
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/md5-4e42248e.js +0 -321
- package/dist/esm/stringify-0c65d837.js +0 -15
- package/dist/esm/util-7700fc59.js +0 -574
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
|
@@ -1,47 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
5
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-d26c739e.js';
|
|
6
|
-
import { _ as _typeof$1 } from './typeof-d92ed6e0.js';
|
|
7
|
-
import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
8
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
9
|
-
import PropTypes from 'prop-types';
|
|
10
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
11
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
12
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
13
|
-
import Router, { useRouter } from 'next/router';
|
|
14
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-99bcfd93.js';
|
|
1
|
+
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
2
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-ca2c8b8d.js';
|
|
3
|
+
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
15
4
|
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';
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
6
|
+
import Router, { useRouter } from 'next/router';
|
|
26
7
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
+
import './Beam.js';
|
|
11
|
+
import Segment from './Segment.js';
|
|
12
|
+
import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
|
|
13
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
14
|
+
import { _ as _extends, b as _extends$1 } from './extends-dc6a71fd.js';
|
|
15
|
+
import { u as urlForFile } from './urlForFile-413f5ddb.js';
|
|
16
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9716ae8d.js';
|
|
18
|
+
import { _ as _typeof$1 } from './typeof-83d9eb10.js';
|
|
19
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
|
|
20
|
+
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
33
21
|
import Modal from 'react-bootstrap/Modal';
|
|
22
|
+
import Button from 'react-bootstrap/Button';
|
|
34
23
|
import Form from 'react-bootstrap/Form';
|
|
35
24
|
import ReactGA from 'react-ga';
|
|
36
|
-
import
|
|
25
|
+
import GroupDeck from './GroupDeck.js';
|
|
26
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
37
27
|
import SocialShare from './SocialShare.js';
|
|
38
|
-
import { _ as
|
|
28
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-e903ff31.js';
|
|
29
|
+
import { _ as _objectToArray } from './_object-to-array-50a6b9a3.js';
|
|
30
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
39
31
|
import Pagination from 'react-bootstrap/Pagination';
|
|
32
|
+
import { h as html_decode_1 } from './entities-932b50cf.js';
|
|
33
|
+
import DFPAdSlot from './AdSlot.js';
|
|
34
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
35
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
36
|
+
import Head from 'next/head';
|
|
37
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits$2 } from './inherits-8a801a18.js';
|
|
38
|
+
import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
|
|
40
39
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
41
40
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
42
41
|
import Tooltip from 'react-bootstrap/Tooltip';
|
|
43
42
|
import Popover from 'react-bootstrap/Popover';
|
|
44
|
-
import ScriptTag from 'react-script-tag';
|
|
45
43
|
|
|
46
44
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
47
45
|
var pageNumber = selectedIndex + 1;
|
|
@@ -49,7 +47,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
49
47
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
50
48
|
};
|
|
51
49
|
|
|
52
|
-
var Slideshow = function Slideshow(_ref) {
|
|
50
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
53
51
|
var slides = _ref.slides,
|
|
54
52
|
client = _ref.client,
|
|
55
53
|
pageview = _ref.pageview;
|
|
@@ -76,27 +74,27 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
76
74
|
if (pageview) pageview(router.asPath);
|
|
77
75
|
}, [router]);
|
|
78
76
|
|
|
79
|
-
return
|
|
77
|
+
return React__default.createElement(
|
|
80
78
|
'div',
|
|
81
79
|
{ className: 'mt-3 mb-3' },
|
|
82
|
-
|
|
80
|
+
React__default.createElement(
|
|
83
81
|
Carousel,
|
|
84
82
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
85
83
|
return onChangeSlide(selectedIndex, router);
|
|
86
84
|
}, interval: null },
|
|
87
85
|
slides && slides.map(function (slide) {
|
|
88
|
-
return
|
|
86
|
+
return React__default.createElement(
|
|
89
87
|
Carousel.Item,
|
|
90
88
|
{ key: slide._key },
|
|
91
|
-
|
|
89
|
+
React__default.createElement(
|
|
92
90
|
'picture',
|
|
93
91
|
null,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
93
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
94
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
95
|
+
React__default.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
98
96
|
),
|
|
99
|
-
slide.caption &&
|
|
97
|
+
slide.caption && React__default.createElement(
|
|
100
98
|
'p',
|
|
101
99
|
{ className: 'p-2' },
|
|
102
100
|
slide.caption
|
|
@@ -686,14 +684,14 @@ function coerce(val) {
|
|
|
686
684
|
return val;
|
|
687
685
|
}
|
|
688
686
|
});
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
687
|
+
debug.coerce;
|
|
688
|
+
debug.disable;
|
|
689
|
+
debug.enable;
|
|
690
|
+
debug.enabled;
|
|
691
|
+
debug.humanize;
|
|
692
|
+
debug.names;
|
|
693
|
+
debug.skips;
|
|
694
|
+
debug.formatters;
|
|
697
695
|
|
|
698
696
|
var browser = createCommonjsModule(function (module, exports) {
|
|
699
697
|
/**
|
|
@@ -882,13 +880,13 @@ function localstorage() {
|
|
|
882
880
|
} catch (e) {}
|
|
883
881
|
}
|
|
884
882
|
});
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
883
|
+
browser.log;
|
|
884
|
+
browser.formatArgs;
|
|
885
|
+
browser.save;
|
|
886
|
+
browser.load;
|
|
887
|
+
browser.useColors;
|
|
888
|
+
browser.storage;
|
|
889
|
+
browser.colors;
|
|
892
890
|
|
|
893
891
|
// MIT lisence
|
|
894
892
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -911,6 +909,579 @@ var tty = {
|
|
|
911
909
|
WriteStream: WriteStream
|
|
912
910
|
};
|
|
913
911
|
|
|
912
|
+
var inherits;
|
|
913
|
+
if (typeof Object.create === 'function'){
|
|
914
|
+
inherits = function inherits(ctor, superCtor) {
|
|
915
|
+
// implementation from standard node.js 'util' module
|
|
916
|
+
ctor.super_ = superCtor;
|
|
917
|
+
ctor.prototype = Object.create(superCtor.prototype, {
|
|
918
|
+
constructor: {
|
|
919
|
+
value: ctor,
|
|
920
|
+
enumerable: false,
|
|
921
|
+
writable: true,
|
|
922
|
+
configurable: true
|
|
923
|
+
}
|
|
924
|
+
});
|
|
925
|
+
};
|
|
926
|
+
} else {
|
|
927
|
+
inherits = function inherits(ctor, superCtor) {
|
|
928
|
+
ctor.super_ = superCtor;
|
|
929
|
+
var TempCtor = function () {};
|
|
930
|
+
TempCtor.prototype = superCtor.prototype;
|
|
931
|
+
ctor.prototype = new TempCtor();
|
|
932
|
+
ctor.prototype.constructor = ctor;
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
var inherits$1 = inherits;
|
|
936
|
+
|
|
937
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
938
|
+
var formatRegExp = /%[sdj%]/g;
|
|
939
|
+
function format(f) {
|
|
940
|
+
if (!isString(f)) {
|
|
941
|
+
var objects = [];
|
|
942
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
943
|
+
objects.push(inspect(arguments[i]));
|
|
944
|
+
}
|
|
945
|
+
return objects.join(' ');
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
var i = 1;
|
|
949
|
+
var args = arguments;
|
|
950
|
+
var len = args.length;
|
|
951
|
+
var str = String(f).replace(formatRegExp, function(x) {
|
|
952
|
+
if (x === '%%') return '%';
|
|
953
|
+
if (i >= len) return x;
|
|
954
|
+
switch (x) {
|
|
955
|
+
case '%s': return String(args[i++]);
|
|
956
|
+
case '%d': return Number(args[i++]);
|
|
957
|
+
case '%j':
|
|
958
|
+
try {
|
|
959
|
+
return JSON.stringify(args[i++]);
|
|
960
|
+
} catch (_) {
|
|
961
|
+
return '[Circular]';
|
|
962
|
+
}
|
|
963
|
+
default:
|
|
964
|
+
return x;
|
|
965
|
+
}
|
|
966
|
+
});
|
|
967
|
+
for (var x = args[i]; i < len; x = args[++i]) {
|
|
968
|
+
if (isNull(x) || !isObject(x)) {
|
|
969
|
+
str += ' ' + x;
|
|
970
|
+
} else {
|
|
971
|
+
str += ' ' + inspect(x);
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
return str;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
// Mark that a method should not be used.
|
|
978
|
+
// Returns a modified function which warns once by default.
|
|
979
|
+
// If --no-deprecation is set, then it is a no-op.
|
|
980
|
+
function deprecate(fn, msg) {
|
|
981
|
+
// Allow for deprecating things in the process of starting up.
|
|
982
|
+
if (isUndefined(global.process)) {
|
|
983
|
+
return function() {
|
|
984
|
+
return deprecate(fn, msg).apply(this, arguments);
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
var warned = false;
|
|
989
|
+
function deprecated() {
|
|
990
|
+
if (!warned) {
|
|
991
|
+
{
|
|
992
|
+
console.error(msg);
|
|
993
|
+
}
|
|
994
|
+
warned = true;
|
|
995
|
+
}
|
|
996
|
+
return fn.apply(this, arguments);
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
return deprecated;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
var debugs = {};
|
|
1003
|
+
var debugEnviron;
|
|
1004
|
+
function debuglog(set) {
|
|
1005
|
+
if (isUndefined(debugEnviron))
|
|
1006
|
+
debugEnviron = '';
|
|
1007
|
+
set = set.toUpperCase();
|
|
1008
|
+
if (!debugs[set]) {
|
|
1009
|
+
if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
|
|
1010
|
+
var pid = 0;
|
|
1011
|
+
debugs[set] = function() {
|
|
1012
|
+
var msg = format.apply(null, arguments);
|
|
1013
|
+
console.error('%s %d: %s', set, pid, msg);
|
|
1014
|
+
};
|
|
1015
|
+
} else {
|
|
1016
|
+
debugs[set] = function() {};
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
return debugs[set];
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Echos the value of a value. Trys to print the value out
|
|
1024
|
+
* in the best way possible given the different types.
|
|
1025
|
+
*
|
|
1026
|
+
* @param {Object} obj The object to print out.
|
|
1027
|
+
* @param {Object} opts Optional options object that alters the output.
|
|
1028
|
+
*/
|
|
1029
|
+
/* legacy: obj, showHidden, depth, colors*/
|
|
1030
|
+
function inspect(obj, opts) {
|
|
1031
|
+
// default options
|
|
1032
|
+
var ctx = {
|
|
1033
|
+
seen: [],
|
|
1034
|
+
stylize: stylizeNoColor
|
|
1035
|
+
};
|
|
1036
|
+
// legacy...
|
|
1037
|
+
if (arguments.length >= 3) ctx.depth = arguments[2];
|
|
1038
|
+
if (arguments.length >= 4) ctx.colors = arguments[3];
|
|
1039
|
+
if (isBoolean(opts)) {
|
|
1040
|
+
// legacy...
|
|
1041
|
+
ctx.showHidden = opts;
|
|
1042
|
+
} else if (opts) {
|
|
1043
|
+
// got an "options" object
|
|
1044
|
+
_extend(ctx, opts);
|
|
1045
|
+
}
|
|
1046
|
+
// set default options
|
|
1047
|
+
if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
|
|
1048
|
+
if (isUndefined(ctx.depth)) ctx.depth = 2;
|
|
1049
|
+
if (isUndefined(ctx.colors)) ctx.colors = false;
|
|
1050
|
+
if (isUndefined(ctx.customInspect)) ctx.customInspect = true;
|
|
1051
|
+
if (ctx.colors) ctx.stylize = stylizeWithColor;
|
|
1052
|
+
return formatValue(ctx, obj, ctx.depth);
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
|
|
1056
|
+
inspect.colors = {
|
|
1057
|
+
'bold' : [1, 22],
|
|
1058
|
+
'italic' : [3, 23],
|
|
1059
|
+
'underline' : [4, 24],
|
|
1060
|
+
'inverse' : [7, 27],
|
|
1061
|
+
'white' : [37, 39],
|
|
1062
|
+
'grey' : [90, 39],
|
|
1063
|
+
'black' : [30, 39],
|
|
1064
|
+
'blue' : [34, 39],
|
|
1065
|
+
'cyan' : [36, 39],
|
|
1066
|
+
'green' : [32, 39],
|
|
1067
|
+
'magenta' : [35, 39],
|
|
1068
|
+
'red' : [31, 39],
|
|
1069
|
+
'yellow' : [33, 39]
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
// Don't use 'blue' not visible on cmd.exe
|
|
1073
|
+
inspect.styles = {
|
|
1074
|
+
'special': 'cyan',
|
|
1075
|
+
'number': 'yellow',
|
|
1076
|
+
'boolean': 'yellow',
|
|
1077
|
+
'undefined': 'grey',
|
|
1078
|
+
'null': 'bold',
|
|
1079
|
+
'string': 'green',
|
|
1080
|
+
'date': 'magenta',
|
|
1081
|
+
// "name": intentionally not styling
|
|
1082
|
+
'regexp': 'red'
|
|
1083
|
+
};
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
function stylizeWithColor(str, styleType) {
|
|
1087
|
+
var style = inspect.styles[styleType];
|
|
1088
|
+
|
|
1089
|
+
if (style) {
|
|
1090
|
+
return '\u001b[' + inspect.colors[style][0] + 'm' + str +
|
|
1091
|
+
'\u001b[' + inspect.colors[style][1] + 'm';
|
|
1092
|
+
} else {
|
|
1093
|
+
return str;
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
function stylizeNoColor(str, styleType) {
|
|
1099
|
+
return str;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
function arrayToHash(array) {
|
|
1104
|
+
var hash = {};
|
|
1105
|
+
|
|
1106
|
+
array.forEach(function(val, idx) {
|
|
1107
|
+
hash[val] = true;
|
|
1108
|
+
});
|
|
1109
|
+
|
|
1110
|
+
return hash;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
function formatValue(ctx, value, recurseTimes) {
|
|
1115
|
+
// Provide a hook for user-specified inspect functions.
|
|
1116
|
+
// Check that value is an object with an inspect function on it
|
|
1117
|
+
if (ctx.customInspect &&
|
|
1118
|
+
value &&
|
|
1119
|
+
isFunction(value.inspect) &&
|
|
1120
|
+
// Filter out the util module, it's inspect function is special
|
|
1121
|
+
value.inspect !== inspect &&
|
|
1122
|
+
// Also filter out any prototype objects using the circular check.
|
|
1123
|
+
!(value.constructor && value.constructor.prototype === value)) {
|
|
1124
|
+
var ret = value.inspect(recurseTimes, ctx);
|
|
1125
|
+
if (!isString(ret)) {
|
|
1126
|
+
ret = formatValue(ctx, ret, recurseTimes);
|
|
1127
|
+
}
|
|
1128
|
+
return ret;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
// Primitive types cannot have properties
|
|
1132
|
+
var primitive = formatPrimitive(ctx, value);
|
|
1133
|
+
if (primitive) {
|
|
1134
|
+
return primitive;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
// Look up the keys of the object.
|
|
1138
|
+
var keys = Object.keys(value);
|
|
1139
|
+
var visibleKeys = arrayToHash(keys);
|
|
1140
|
+
|
|
1141
|
+
if (ctx.showHidden) {
|
|
1142
|
+
keys = Object.getOwnPropertyNames(value);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
// IE doesn't make error fields non-enumerable
|
|
1146
|
+
// http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx
|
|
1147
|
+
if (isError(value)
|
|
1148
|
+
&& (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {
|
|
1149
|
+
return formatError(value);
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
// Some type of object without properties can be shortcutted.
|
|
1153
|
+
if (keys.length === 0) {
|
|
1154
|
+
if (isFunction(value)) {
|
|
1155
|
+
var name = value.name ? ': ' + value.name : '';
|
|
1156
|
+
return ctx.stylize('[Function' + name + ']', 'special');
|
|
1157
|
+
}
|
|
1158
|
+
if (isRegExp(value)) {
|
|
1159
|
+
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
1160
|
+
}
|
|
1161
|
+
if (isDate(value)) {
|
|
1162
|
+
return ctx.stylize(Date.prototype.toString.call(value), 'date');
|
|
1163
|
+
}
|
|
1164
|
+
if (isError(value)) {
|
|
1165
|
+
return formatError(value);
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
var base = '', array = false, braces = ['{', '}'];
|
|
1170
|
+
|
|
1171
|
+
// Make Array say that they are Array
|
|
1172
|
+
if (isArray(value)) {
|
|
1173
|
+
array = true;
|
|
1174
|
+
braces = ['[', ']'];
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
// Make functions say that they are functions
|
|
1178
|
+
if (isFunction(value)) {
|
|
1179
|
+
var n = value.name ? ': ' + value.name : '';
|
|
1180
|
+
base = ' [Function' + n + ']';
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
// Make RegExps say that they are RegExps
|
|
1184
|
+
if (isRegExp(value)) {
|
|
1185
|
+
base = ' ' + RegExp.prototype.toString.call(value);
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
// Make dates with properties first say the date
|
|
1189
|
+
if (isDate(value)) {
|
|
1190
|
+
base = ' ' + Date.prototype.toUTCString.call(value);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
// Make error with message first say the error
|
|
1194
|
+
if (isError(value)) {
|
|
1195
|
+
base = ' ' + formatError(value);
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
if (keys.length === 0 && (!array || value.length == 0)) {
|
|
1199
|
+
return braces[0] + base + braces[1];
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
if (recurseTimes < 0) {
|
|
1203
|
+
if (isRegExp(value)) {
|
|
1204
|
+
return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');
|
|
1205
|
+
} else {
|
|
1206
|
+
return ctx.stylize('[Object]', 'special');
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
ctx.seen.push(value);
|
|
1211
|
+
|
|
1212
|
+
var output;
|
|
1213
|
+
if (array) {
|
|
1214
|
+
output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);
|
|
1215
|
+
} else {
|
|
1216
|
+
output = keys.map(function(key) {
|
|
1217
|
+
return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
ctx.seen.pop();
|
|
1222
|
+
|
|
1223
|
+
return reduceToSingleString(output, base, braces);
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
function formatPrimitive(ctx, value) {
|
|
1228
|
+
if (isUndefined(value))
|
|
1229
|
+
return ctx.stylize('undefined', 'undefined');
|
|
1230
|
+
if (isString(value)) {
|
|
1231
|
+
var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '')
|
|
1232
|
+
.replace(/'/g, "\\'")
|
|
1233
|
+
.replace(/\\"/g, '"') + '\'';
|
|
1234
|
+
return ctx.stylize(simple, 'string');
|
|
1235
|
+
}
|
|
1236
|
+
if (isNumber(value))
|
|
1237
|
+
return ctx.stylize('' + value, 'number');
|
|
1238
|
+
if (isBoolean(value))
|
|
1239
|
+
return ctx.stylize('' + value, 'boolean');
|
|
1240
|
+
// For some reason typeof null is "object", so special case here.
|
|
1241
|
+
if (isNull(value))
|
|
1242
|
+
return ctx.stylize('null', 'null');
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
function formatError(value) {
|
|
1247
|
+
return '[' + Error.prototype.toString.call(value) + ']';
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
|
|
1252
|
+
var output = [];
|
|
1253
|
+
for (var i = 0, l = value.length; i < l; ++i) {
|
|
1254
|
+
if (hasOwnProperty(value, String(i))) {
|
|
1255
|
+
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
|
|
1256
|
+
String(i), true));
|
|
1257
|
+
} else {
|
|
1258
|
+
output.push('');
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
keys.forEach(function(key) {
|
|
1262
|
+
if (!key.match(/^\d+$/)) {
|
|
1263
|
+
output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
|
|
1264
|
+
key, true));
|
|
1265
|
+
}
|
|
1266
|
+
});
|
|
1267
|
+
return output;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
|
|
1272
|
+
var name, str, desc;
|
|
1273
|
+
desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };
|
|
1274
|
+
if (desc.get) {
|
|
1275
|
+
if (desc.set) {
|
|
1276
|
+
str = ctx.stylize('[Getter/Setter]', 'special');
|
|
1277
|
+
} else {
|
|
1278
|
+
str = ctx.stylize('[Getter]', 'special');
|
|
1279
|
+
}
|
|
1280
|
+
} else {
|
|
1281
|
+
if (desc.set) {
|
|
1282
|
+
str = ctx.stylize('[Setter]', 'special');
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
if (!hasOwnProperty(visibleKeys, key)) {
|
|
1286
|
+
name = '[' + key + ']';
|
|
1287
|
+
}
|
|
1288
|
+
if (!str) {
|
|
1289
|
+
if (ctx.seen.indexOf(desc.value) < 0) {
|
|
1290
|
+
if (isNull(recurseTimes)) {
|
|
1291
|
+
str = formatValue(ctx, desc.value, null);
|
|
1292
|
+
} else {
|
|
1293
|
+
str = formatValue(ctx, desc.value, recurseTimes - 1);
|
|
1294
|
+
}
|
|
1295
|
+
if (str.indexOf('\n') > -1) {
|
|
1296
|
+
if (array) {
|
|
1297
|
+
str = str.split('\n').map(function(line) {
|
|
1298
|
+
return ' ' + line;
|
|
1299
|
+
}).join('\n').substr(2);
|
|
1300
|
+
} else {
|
|
1301
|
+
str = '\n' + str.split('\n').map(function(line) {
|
|
1302
|
+
return ' ' + line;
|
|
1303
|
+
}).join('\n');
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
} else {
|
|
1307
|
+
str = ctx.stylize('[Circular]', 'special');
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
if (isUndefined(name)) {
|
|
1311
|
+
if (array && key.match(/^\d+$/)) {
|
|
1312
|
+
return str;
|
|
1313
|
+
}
|
|
1314
|
+
name = JSON.stringify('' + key);
|
|
1315
|
+
if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
|
|
1316
|
+
name = name.substr(1, name.length - 2);
|
|
1317
|
+
name = ctx.stylize(name, 'name');
|
|
1318
|
+
} else {
|
|
1319
|
+
name = name.replace(/'/g, "\\'")
|
|
1320
|
+
.replace(/\\"/g, '"')
|
|
1321
|
+
.replace(/(^"|"$)/g, "'");
|
|
1322
|
+
name = ctx.stylize(name, 'string');
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
return name + ': ' + str;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
function reduceToSingleString(output, base, braces) {
|
|
1331
|
+
var length = output.reduce(function(prev, cur) {
|
|
1332
|
+
if (cur.indexOf('\n') >= 0) ;
|
|
1333
|
+
return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1;
|
|
1334
|
+
}, 0);
|
|
1335
|
+
|
|
1336
|
+
if (length > 60) {
|
|
1337
|
+
return braces[0] +
|
|
1338
|
+
(base === '' ? '' : base + '\n ') +
|
|
1339
|
+
' ' +
|
|
1340
|
+
output.join(',\n ') +
|
|
1341
|
+
' ' +
|
|
1342
|
+
braces[1];
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
// NOTE: These type checking functions intentionally don't use `instanceof`
|
|
1350
|
+
// because it is fragile and can be easily faked with `Object.create()`.
|
|
1351
|
+
function isArray(ar) {
|
|
1352
|
+
return Array.isArray(ar);
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
function isBoolean(arg) {
|
|
1356
|
+
return typeof arg === 'boolean';
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
function isNull(arg) {
|
|
1360
|
+
return arg === null;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
function isNullOrUndefined(arg) {
|
|
1364
|
+
return arg == null;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
function isNumber(arg) {
|
|
1368
|
+
return typeof arg === 'number';
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
function isString(arg) {
|
|
1372
|
+
return typeof arg === 'string';
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
function isSymbol(arg) {
|
|
1376
|
+
return typeof arg === 'symbol';
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
function isUndefined(arg) {
|
|
1380
|
+
return arg === void 0;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
function isRegExp(re) {
|
|
1384
|
+
return isObject(re) && objectToString(re) === '[object RegExp]';
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
function isObject(arg) {
|
|
1388
|
+
return typeof arg === 'object' && arg !== null;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
function isDate(d) {
|
|
1392
|
+
return isObject(d) && objectToString(d) === '[object Date]';
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
function isError(e) {
|
|
1396
|
+
return isObject(e) &&
|
|
1397
|
+
(objectToString(e) === '[object Error]' || e instanceof Error);
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
function isFunction(arg) {
|
|
1401
|
+
return typeof arg === 'function';
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
function isPrimitive(arg) {
|
|
1405
|
+
return arg === null ||
|
|
1406
|
+
typeof arg === 'boolean' ||
|
|
1407
|
+
typeof arg === 'number' ||
|
|
1408
|
+
typeof arg === 'string' ||
|
|
1409
|
+
typeof arg === 'symbol' || // ES6 symbol
|
|
1410
|
+
typeof arg === 'undefined';
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
function isBuffer(maybeBuf) {
|
|
1414
|
+
return Buffer.isBuffer(maybeBuf);
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
function objectToString(o) {
|
|
1418
|
+
return Object.prototype.toString.call(o);
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
function pad(n) {
|
|
1423
|
+
return n < 10 ? '0' + n.toString(10) : n.toString(10);
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',
|
|
1428
|
+
'Oct', 'Nov', 'Dec'];
|
|
1429
|
+
|
|
1430
|
+
// 26 Feb 16:19:34
|
|
1431
|
+
function timestamp() {
|
|
1432
|
+
var d = new Date();
|
|
1433
|
+
var time = [pad(d.getHours()),
|
|
1434
|
+
pad(d.getMinutes()),
|
|
1435
|
+
pad(d.getSeconds())].join(':');
|
|
1436
|
+
return [d.getDate(), months[d.getMonth()], time].join(' ');
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
// log is just a thin wrapper to console.log that prepends a timestamp
|
|
1441
|
+
function log() {
|
|
1442
|
+
console.log('%s - %s', timestamp(), format.apply(null, arguments));
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
function _extend(origin, add) {
|
|
1446
|
+
// Don't do anything if add isn't an object
|
|
1447
|
+
if (!add || !isObject(add)) return origin;
|
|
1448
|
+
|
|
1449
|
+
var keys = Object.keys(add);
|
|
1450
|
+
var i = keys.length;
|
|
1451
|
+
while (i--) {
|
|
1452
|
+
origin[keys[i]] = add[keys[i]];
|
|
1453
|
+
}
|
|
1454
|
+
return origin;
|
|
1455
|
+
}
|
|
1456
|
+
function hasOwnProperty(obj, prop) {
|
|
1457
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
var util = {
|
|
1461
|
+
inherits: inherits$1,
|
|
1462
|
+
_extend: _extend,
|
|
1463
|
+
log: log,
|
|
1464
|
+
isBuffer: isBuffer,
|
|
1465
|
+
isPrimitive: isPrimitive,
|
|
1466
|
+
isFunction: isFunction,
|
|
1467
|
+
isError: isError,
|
|
1468
|
+
isDate: isDate,
|
|
1469
|
+
isObject: isObject,
|
|
1470
|
+
isRegExp: isRegExp,
|
|
1471
|
+
isUndefined: isUndefined,
|
|
1472
|
+
isSymbol: isSymbol,
|
|
1473
|
+
isString: isString,
|
|
1474
|
+
isNumber: isNumber,
|
|
1475
|
+
isNullOrUndefined: isNullOrUndefined,
|
|
1476
|
+
isNull: isNull,
|
|
1477
|
+
isBoolean: isBoolean,
|
|
1478
|
+
isArray: isArray,
|
|
1479
|
+
inspect: inspect,
|
|
1480
|
+
deprecate: deprecate,
|
|
1481
|
+
format: format,
|
|
1482
|
+
debuglog: debuglog
|
|
1483
|
+
};
|
|
1484
|
+
|
|
914
1485
|
var require$$2 = {};
|
|
915
1486
|
|
|
916
1487
|
var node = createCommonjsModule(function (module, exports) {
|
|
@@ -1163,14 +1734,14 @@ function init (debug) {
|
|
|
1163
1734
|
|
|
1164
1735
|
exports.enable(load());
|
|
1165
1736
|
});
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1737
|
+
node.init;
|
|
1738
|
+
node.log;
|
|
1739
|
+
node.formatArgs;
|
|
1740
|
+
node.save;
|
|
1741
|
+
node.load;
|
|
1742
|
+
node.useColors;
|
|
1743
|
+
node.colors;
|
|
1744
|
+
node.inspectOpts;
|
|
1174
1745
|
|
|
1175
1746
|
var src = createCommonjsModule(function (module) {
|
|
1176
1747
|
/**
|
|
@@ -1628,11 +2199,11 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1628
2199
|
|
|
1629
2200
|
function filterResetOptions(opts) {
|
|
1630
2201
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1631
|
-
playerVars: _objectSpread(
|
|
2202
|
+
playerVars: _objectSpread({
|
|
1632
2203
|
autoplay: 0,
|
|
1633
2204
|
start: 0,
|
|
1634
2205
|
end: 0
|
|
1635
|
-
})
|
|
2206
|
+
}, opts.playerVars)
|
|
1636
2207
|
});
|
|
1637
2208
|
}
|
|
1638
2209
|
/**
|
|
@@ -1838,9 +2409,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1838
2409
|
}, {
|
|
1839
2410
|
key: "render",
|
|
1840
2411
|
value: function render() {
|
|
1841
|
-
return /*#__PURE__*/
|
|
2412
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1842
2413
|
className: this.props.containerClassName
|
|
1843
|
-
}, /*#__PURE__*/
|
|
2414
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1844
2415
|
id: this.props.id,
|
|
1845
2416
|
className: this.props.className,
|
|
1846
2417
|
ref: this.refContainer
|
|
@@ -1849,7 +2420,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1849
2420
|
}]);
|
|
1850
2421
|
|
|
1851
2422
|
return YouTube;
|
|
1852
|
-
}(
|
|
2423
|
+
}(React__default.Component);
|
|
1853
2424
|
|
|
1854
2425
|
_defineProperty(YouTube, "PlayerState", {
|
|
1855
2426
|
UNSTARTED: -1,
|
|
@@ -1934,7 +2505,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1934
2505
|
var queue = Math.floor(duration / 10);
|
|
1935
2506
|
var segment = Math.floor(current / queue);
|
|
1936
2507
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
1937
|
-
Segment.report_video_event('Video Ready',
|
|
2508
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment);
|
|
1938
2509
|
};
|
|
1939
2510
|
|
|
1940
2511
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1945,7 +2516,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1945
2516
|
|
|
1946
2517
|
if (!queueProgress.includes(segment)) {
|
|
1947
2518
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
1948
|
-
Segment.report_video_event('Video Segment',
|
|
2519
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment);
|
|
1949
2520
|
queueProgress.push(segment);
|
|
1950
2521
|
}
|
|
1951
2522
|
};
|
|
@@ -1959,7 +2530,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1959
2530
|
var segment = Math.floor(current / queue);
|
|
1960
2531
|
|
|
1961
2532
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
1962
|
-
Segment.report_video_event('Video Play',
|
|
2533
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment);
|
|
1963
2534
|
|
|
1964
2535
|
if (!playReported) {
|
|
1965
2536
|
setPlayReported(true);
|
|
@@ -1979,7 +2550,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1979
2550
|
var segment = Math.floor(current / queue);
|
|
1980
2551
|
|
|
1981
2552
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
1982
|
-
Segment.report_video_event('Video End',
|
|
2553
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment);
|
|
1983
2554
|
setEndReported(true);
|
|
1984
2555
|
clearInterval(intervalID);
|
|
1985
2556
|
}
|
|
@@ -1993,14 +2564,14 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1993
2564
|
var segment = Math.floor(current / queue);
|
|
1994
2565
|
|
|
1995
2566
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
1996
|
-
Segment.report_video_event('Video Pause',
|
|
2567
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
1997
2568
|
};
|
|
1998
2569
|
|
|
1999
|
-
return
|
|
2570
|
+
return React__default.createElement(
|
|
2000
2571
|
'div',
|
|
2001
2572
|
{ id: 'fluid-video-container' },
|
|
2002
|
-
|
|
2003
|
-
|
|
2573
|
+
React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2574
|
+
React__default.createElement(
|
|
2004
2575
|
'style',
|
|
2005
2576
|
{ jsx: 'true' },
|
|
2006
2577
|
'\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 +2584,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2013
2584
|
content = _ref.content,
|
|
2014
2585
|
getSerializers = _ref.getSerializers;
|
|
2015
2586
|
|
|
2016
|
-
return
|
|
2587
|
+
return React__default.createElement(
|
|
2017
2588
|
'article',
|
|
2018
2589
|
{ className: 'sidebar' },
|
|
2019
|
-
|
|
2590
|
+
React__default.createElement(
|
|
2020
2591
|
'div',
|
|
2021
2592
|
null,
|
|
2022
|
-
|
|
2593
|
+
React__default.createElement(
|
|
2023
2594
|
'h3',
|
|
2024
2595
|
null,
|
|
2025
2596
|
caption
|
|
2026
2597
|
),
|
|
2027
|
-
|
|
2598
|
+
React__default.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2028
2599
|
),
|
|
2029
|
-
|
|
2600
|
+
React__default.createElement(
|
|
2030
2601
|
'style',
|
|
2031
2602
|
{ jsx: 'true' },
|
|
2032
2603
|
'\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 +2608,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2037
2608
|
var TableShow = function TableShow(_ref) {
|
|
2038
2609
|
var rows = _ref.rows;
|
|
2039
2610
|
|
|
2040
|
-
return
|
|
2611
|
+
return React__default.createElement(
|
|
2041
2612
|
Table,
|
|
2042
2613
|
{ bordered: true, hover: true, responsive: true },
|
|
2043
|
-
|
|
2614
|
+
React__default.createElement(
|
|
2044
2615
|
'tbody',
|
|
2045
2616
|
null,
|
|
2046
2617
|
rows && rows.map(function (row) {
|
|
2047
|
-
return
|
|
2618
|
+
return React__default.createElement(
|
|
2048
2619
|
'tr',
|
|
2049
2620
|
{ key: row._key },
|
|
2050
2621
|
row.cells && row.cells.map(function (cell, index) {
|
|
2051
|
-
return cell &&
|
|
2622
|
+
return cell && React__default.createElement(
|
|
2052
2623
|
'td',
|
|
2053
2624
|
{ key: index },
|
|
2054
2625
|
cell
|
|
@@ -2146,25 +2717,25 @@ var Media = function Media(_ref) {
|
|
|
2146
2717
|
margin: imageMargin
|
|
2147
2718
|
};
|
|
2148
2719
|
|
|
2149
|
-
return
|
|
2720
|
+
return React__default.createElement(
|
|
2150
2721
|
Figure$1,
|
|
2151
2722
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2152
|
-
|
|
2723
|
+
React__default.createElement(
|
|
2153
2724
|
'a',
|
|
2154
2725
|
{ href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2155
|
-
|
|
2726
|
+
React__default.createElement(
|
|
2156
2727
|
LazyLoad,
|
|
2157
2728
|
{ once: true },
|
|
2158
|
-
|
|
2729
|
+
React__default.createElement(
|
|
2159
2730
|
'picture',
|
|
2160
2731
|
null,
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2732
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2733
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2734
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2735
|
+
React__default.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2165
2736
|
)
|
|
2166
2737
|
),
|
|
2167
|
-
caption &&
|
|
2738
|
+
caption && React__default.createElement(
|
|
2168
2739
|
Figure$1.Caption,
|
|
2169
2740
|
{ className: 'media-caption' },
|
|
2170
2741
|
caption
|
|
@@ -2172,7 +2743,7 @@ var Media = function Media(_ref) {
|
|
|
2172
2743
|
)
|
|
2173
2744
|
);
|
|
2174
2745
|
} else if (caption && caption !== '') {
|
|
2175
|
-
return
|
|
2746
|
+
return React__default.createElement(
|
|
2176
2747
|
'a',
|
|
2177
2748
|
_extends({}, uploadDoc.downloadMedia ? {
|
|
2178
2749
|
href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2192,10 +2763,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2192
2763
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2193
2764
|
|
|
2194
2765
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2195
|
-
return
|
|
2766
|
+
return React__default.createElement(
|
|
2196
2767
|
'div',
|
|
2197
2768
|
{ className: 'd-block text-center mb-3' },
|
|
2198
|
-
|
|
2769
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2199
2770
|
);
|
|
2200
2771
|
};
|
|
2201
2772
|
|
|
@@ -2205,7 +2776,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2205
2776
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2206
2777
|
|
|
2207
2778
|
var choiceArray = choices.map(function (choice) {
|
|
2208
|
-
return
|
|
2779
|
+
return React__default.createElement(Form.Check, {
|
|
2209
2780
|
inline: true,
|
|
2210
2781
|
label: choice.choiceText,
|
|
2211
2782
|
value: choice.choiceText,
|
|
@@ -2215,19 +2786,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2215
2786
|
onClick: handlePollAnswer
|
|
2216
2787
|
});
|
|
2217
2788
|
});
|
|
2218
|
-
return
|
|
2789
|
+
return React__default.createElement(
|
|
2219
2790
|
'div',
|
|
2220
2791
|
{
|
|
2221
2792
|
key: 'inline-radio',
|
|
2222
2793
|
className: 'mb-3' },
|
|
2223
|
-
|
|
2794
|
+
React__default.createElement(
|
|
2224
2795
|
'h2',
|
|
2225
2796
|
{
|
|
2226
2797
|
className: 'radioLabelText'
|
|
2227
2798
|
},
|
|
2228
2799
|
question
|
|
2229
2800
|
),
|
|
2230
|
-
|
|
2801
|
+
React__default.createElement(
|
|
2231
2802
|
'div',
|
|
2232
2803
|
{
|
|
2233
2804
|
className: 'multiChoiceDiv'
|
|
@@ -2242,19 +2813,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2242
2813
|
textAnswer = _ref.textAnswer,
|
|
2243
2814
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2244
2815
|
|
|
2245
|
-
return
|
|
2816
|
+
return React__default.createElement(
|
|
2246
2817
|
'div',
|
|
2247
2818
|
{
|
|
2248
2819
|
className: 'textInputDiv'
|
|
2249
2820
|
},
|
|
2250
|
-
|
|
2821
|
+
React__default.createElement(
|
|
2251
2822
|
'h2',
|
|
2252
2823
|
{
|
|
2253
2824
|
className: 'textInputQuestion'
|
|
2254
2825
|
},
|
|
2255
2826
|
textInputQuestion
|
|
2256
2827
|
),
|
|
2257
|
-
|
|
2828
|
+
React__default.createElement(Form.Control, {
|
|
2258
2829
|
type: 'text',
|
|
2259
2830
|
className: 'textInput',
|
|
2260
2831
|
value: textAnswer,
|
|
@@ -2364,31 +2935,31 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2364
2935
|
var pollArray = [];
|
|
2365
2936
|
pollItems.forEach(function (item, ind) {
|
|
2366
2937
|
if (item.format === 'multiChoice') {
|
|
2367
|
-
pollArray.push(
|
|
2938
|
+
pollArray.push(React__default.createElement(PopupMultiChoice, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2368
2939
|
}
|
|
2369
2940
|
if (item.format === 'textInput') {
|
|
2370
|
-
pollArray.push(
|
|
2941
|
+
pollArray.push(React__default.createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2371
2942
|
}
|
|
2372
2943
|
});
|
|
2373
2944
|
|
|
2374
|
-
return
|
|
2945
|
+
return React__default.createElement(
|
|
2375
2946
|
'div',
|
|
2376
2947
|
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2377
|
-
|
|
2948
|
+
React__default.createElement(
|
|
2378
2949
|
Modal.Dialog,
|
|
2379
2950
|
null,
|
|
2380
|
-
|
|
2951
|
+
React__default.createElement(
|
|
2381
2952
|
Modal.Body,
|
|
2382
2953
|
null,
|
|
2383
|
-
|
|
2954
|
+
React__default.createElement(
|
|
2384
2955
|
Form,
|
|
2385
2956
|
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2386
2957
|
pollArray,
|
|
2387
|
-
textInputRender && !multiChoiceRender ?
|
|
2958
|
+
textInputRender && !multiChoiceRender ? React__default.createElement(
|
|
2388
2959
|
Button,
|
|
2389
2960
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2390
2961
|
'Submit'
|
|
2391
|
-
) :
|
|
2962
|
+
) : React__default.createElement(
|
|
2392
2963
|
Button,
|
|
2393
2964
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2394
2965
|
'Submit'
|
|
@@ -2469,7 +3040,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2469
3040
|
var queue = Math.floor(duration / 10);
|
|
2470
3041
|
var segment = Math.floor(current / queue);
|
|
2471
3042
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2472
|
-
Segment.report_video_event('Video Ready',
|
|
3043
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
|
|
2473
3044
|
};
|
|
2474
3045
|
|
|
2475
3046
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2479,7 +3050,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2479
3050
|
var segment = Math.floor(current / queue);
|
|
2480
3051
|
if (!queueProgress.includes(segment)) {
|
|
2481
3052
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2482
|
-
Segment.report_video_event('Video Segment',
|
|
3053
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
|
|
2483
3054
|
queueProgress.push(segment);
|
|
2484
3055
|
}
|
|
2485
3056
|
};
|
|
@@ -2492,7 +3063,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2492
3063
|
var queue = Math.floor(duration / 10);
|
|
2493
3064
|
var segment = Math.floor(current / queue);
|
|
2494
3065
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2495
|
-
Segment.report_video_event('Video Play',
|
|
3066
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
|
|
2496
3067
|
if (!playReported) {
|
|
2497
3068
|
event.persist();
|
|
2498
3069
|
setPlayReported(true);
|
|
@@ -2535,7 +3106,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2535
3106
|
var segment = Math.floor(current / queue);
|
|
2536
3107
|
clearInterval(intId);
|
|
2537
3108
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2538
|
-
Segment.report_video_event('Video End',
|
|
3109
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
|
|
2539
3110
|
setEndReported(true);
|
|
2540
3111
|
clearInterval(intervalID);
|
|
2541
3112
|
}
|
|
@@ -2549,13 +3120,13 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2549
3120
|
var segment = Math.floor(current / queue);
|
|
2550
3121
|
clearInterval(intId);
|
|
2551
3122
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2552
|
-
Segment.report_video_event('Video Pause',
|
|
3123
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
|
|
2553
3124
|
};
|
|
2554
3125
|
|
|
2555
|
-
return
|
|
3126
|
+
return React__default.createElement(
|
|
2556
3127
|
'div',
|
|
2557
3128
|
null,
|
|
2558
|
-
isPollingTime ?
|
|
3129
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2559
3130
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2560
3131
|
, { pollItems: pollItems
|
|
2561
3132
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2569,7 +3140,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2569
3140
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2570
3141
|
, multiChoiceRender: multiChoiceRender
|
|
2571
3142
|
}) : null,
|
|
2572
|
-
vidLoaded &&
|
|
3143
|
+
vidLoaded && React__default.createElement(
|
|
2573
3144
|
'video',
|
|
2574
3145
|
{
|
|
2575
3146
|
poster: thumbnail || '',
|
|
@@ -2587,7 +3158,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2587
3158
|
onPlay: function onPlay(e) {
|
|
2588
3159
|
return handleOnPlay(e);
|
|
2589
3160
|
} },
|
|
2590
|
-
|
|
3161
|
+
React__default.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2591
3162
|
'Your browser does not support the video tag.'
|
|
2592
3163
|
)
|
|
2593
3164
|
);
|
|
@@ -2738,7 +3309,7 @@ var Video = function Video(_ref) {
|
|
|
2738
3309
|
}
|
|
2739
3310
|
|
|
2740
3311
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2741
|
-
Segment.report_video_event('Video Ready',
|
|
3312
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2742
3313
|
});
|
|
2743
3314
|
// let intId
|
|
2744
3315
|
// const convertTime = (timeStr) => {
|
|
@@ -2773,7 +3344,7 @@ var Video = function Video(_ref) {
|
|
|
2773
3344
|
}, 1000);
|
|
2774
3345
|
}
|
|
2775
3346
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2776
|
-
Segment.report_video_event('Video Play',
|
|
3347
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2777
3348
|
});
|
|
2778
3349
|
|
|
2779
3350
|
// pause
|
|
@@ -2784,7 +3355,7 @@ var Video = function Video(_ref) {
|
|
|
2784
3355
|
var segment = Math.floor(current / queue);
|
|
2785
3356
|
clearInterval(intId);
|
|
2786
3357
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2787
|
-
Segment.report_video_event('Video Pause',
|
|
3358
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2788
3359
|
});
|
|
2789
3360
|
|
|
2790
3361
|
// end
|
|
@@ -2795,7 +3366,7 @@ var Video = function Video(_ref) {
|
|
|
2795
3366
|
var segment = Math.floor(current / queue);
|
|
2796
3367
|
clearInterval(intId);
|
|
2797
3368
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2798
|
-
Segment.report_video_event('Video End',
|
|
3369
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2799
3370
|
// This is for old series format
|
|
2800
3371
|
autoplayNextVideo(evt);
|
|
2801
3372
|
if (nextVideo) {
|
|
@@ -2811,7 +3382,7 @@ var Video = function Video(_ref) {
|
|
|
2811
3382
|
var segment = Math.floor(current / queue);
|
|
2812
3383
|
if (!queueProgress.includes(segment)) {
|
|
2813
3384
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2814
|
-
Segment.report_video_event('Video Segment',
|
|
3385
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2815
3386
|
queueProgress.push(segment);
|
|
2816
3387
|
}
|
|
2817
3388
|
});
|
|
@@ -2823,7 +3394,7 @@ var Video = function Video(_ref) {
|
|
|
2823
3394
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2824
3395
|
|
|
2825
3396
|
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2826
|
-
Segment.report_ad_event('Video Ad Started',
|
|
3397
|
+
Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2827
3398
|
});
|
|
2828
3399
|
|
|
2829
3400
|
// ad ended
|
|
@@ -2832,16 +3403,16 @@ var Video = function Video(_ref) {
|
|
|
2832
3403
|
// const id = player.ads.ad.id
|
|
2833
3404
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2834
3405
|
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2835
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
3406
|
+
Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2836
3407
|
});
|
|
2837
3408
|
};
|
|
2838
3409
|
|
|
2839
3410
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2840
3411
|
if (videoID) {
|
|
2841
|
-
return
|
|
3412
|
+
return React__default.createElement(
|
|
2842
3413
|
'div',
|
|
2843
3414
|
null,
|
|
2844
|
-
isPollingTime ?
|
|
3415
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2845
3416
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2846
3417
|
, { pollItems: pollItems
|
|
2847
3418
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2855,7 +3426,7 @@ var Video = function Video(_ref) {
|
|
|
2855
3426
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2856
3427
|
, multiChoiceRender: multiChoiceRender
|
|
2857
3428
|
}) : null,
|
|
2858
|
-
|
|
3429
|
+
React__default.createElement(ReactPlayerLoader, {
|
|
2859
3430
|
onSuccess: onVideoSuccess,
|
|
2860
3431
|
onFailure: onVideoFailure,
|
|
2861
3432
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2863,17 +3434,17 @@ var Video = function Video(_ref) {
|
|
|
2863
3434
|
playerId: accountIDs.brightcove.playerId,
|
|
2864
3435
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2865
3436
|
}),
|
|
2866
|
-
|
|
3437
|
+
React__default.createElement(
|
|
2867
3438
|
'style',
|
|
2868
3439
|
{ jsx: 'true' },
|
|
2869
3440
|
'\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 '
|
|
2870
3441
|
)
|
|
2871
3442
|
);
|
|
2872
3443
|
} else if (playlistID) {
|
|
2873
|
-
return
|
|
3444
|
+
return React__default.createElement(
|
|
2874
3445
|
'div',
|
|
2875
3446
|
null,
|
|
2876
|
-
isPollingTime ?
|
|
3447
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2877
3448
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2878
3449
|
, { pollItems: pollItems
|
|
2879
3450
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2887,7 +3458,7 @@ var Video = function Video(_ref) {
|
|
|
2887
3458
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2888
3459
|
, multiChoiceRender: multiChoiceRender
|
|
2889
3460
|
}) : null,
|
|
2890
|
-
|
|
3461
|
+
React__default.createElement(ReactPlayerLoader, {
|
|
2891
3462
|
accountId: accountIDs.brightcove.accountId,
|
|
2892
3463
|
playlistId: playlistID,
|
|
2893
3464
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2895,18 +3466,18 @@ var Video = function Video(_ref) {
|
|
|
2895
3466
|
onFailure: onVideoFailure,
|
|
2896
3467
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2897
3468
|
}),
|
|
2898
|
-
|
|
3469
|
+
React__default.createElement(
|
|
2899
3470
|
'style',
|
|
2900
3471
|
{ jsx: 'true' },
|
|
2901
3472
|
'\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 '
|
|
2902
3473
|
)
|
|
2903
3474
|
);
|
|
2904
3475
|
} else if (experienceID) {
|
|
2905
|
-
return
|
|
3476
|
+
return React__default.createElement(
|
|
2906
3477
|
'div',
|
|
2907
3478
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2908
|
-
|
|
2909
|
-
isPollingTime ?
|
|
3479
|
+
React__default.createElement('div', { 'data-experience': experienceID }),
|
|
3480
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2910
3481
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2911
3482
|
, { pollItems: pollItems
|
|
2912
3483
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2926,10 +3497,10 @@ var Video = function Video(_ref) {
|
|
|
2926
3497
|
}
|
|
2927
3498
|
|
|
2928
3499
|
if (source === 'mp4') {
|
|
2929
|
-
return
|
|
3500
|
+
return React__default.createElement(
|
|
2930
3501
|
'div',
|
|
2931
3502
|
null,
|
|
2932
|
-
|
|
3503
|
+
React__default.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2933
3504
|
);
|
|
2934
3505
|
}
|
|
2935
3506
|
|
|
@@ -3140,9 +3711,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3140
3711
|
});
|
|
3141
3712
|
|
|
3142
3713
|
unwrapExports(props);
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3714
|
+
props.DEPRECATED_CONFIG_PROPS;
|
|
3715
|
+
props.defaultProps;
|
|
3716
|
+
props.propTypes;
|
|
3146
3717
|
|
|
3147
3718
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3148
3719
|
return isNonNullObject(value)
|
|
@@ -3534,7 +4105,7 @@ function isEqual(a, b) {
|
|
|
3534
4105
|
return true;
|
|
3535
4106
|
}
|
|
3536
4107
|
|
|
3537
|
-
if ((0,
|
|
4108
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
3538
4109
|
return true;
|
|
3539
4110
|
}
|
|
3540
4111
|
|
|
@@ -3577,17 +4148,17 @@ function isMediaStream(url) {
|
|
|
3577
4148
|
});
|
|
3578
4149
|
|
|
3579
4150
|
unwrapExports(utils);
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
4151
|
+
utils.parseStartTime;
|
|
4152
|
+
utils.parseEndTime;
|
|
4153
|
+
utils.randomString;
|
|
4154
|
+
utils.queryString;
|
|
4155
|
+
utils.getSDK;
|
|
4156
|
+
utils.getConfig;
|
|
4157
|
+
utils.omit;
|
|
4158
|
+
utils.callPlayer;
|
|
4159
|
+
utils.isObject;
|
|
4160
|
+
utils.isEqual;
|
|
4161
|
+
utils.isMediaStream;
|
|
3591
4162
|
|
|
3592
4163
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3593
4164
|
|
|
@@ -3596,7 +4167,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3596
4167
|
});
|
|
3597
4168
|
exports["default"] = void 0;
|
|
3598
4169
|
|
|
3599
|
-
var _react = _interopRequireWildcard(
|
|
4170
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3600
4171
|
|
|
3601
4172
|
|
|
3602
4173
|
|
|
@@ -4006,7 +4577,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4006
4577
|
});
|
|
4007
4578
|
exports["default"] = createSinglePlayer;
|
|
4008
4579
|
|
|
4009
|
-
var _react = _interopRequireWildcard(
|
|
4580
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4010
4581
|
|
|
4011
4582
|
|
|
4012
4583
|
|
|
@@ -4164,7 +4735,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4164
4735
|
});
|
|
4165
4736
|
exports["default"] = exports.YouTube = void 0;
|
|
4166
4737
|
|
|
4167
|
-
var _react = _interopRequireWildcard(
|
|
4738
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4168
4739
|
|
|
4169
4740
|
|
|
4170
4741
|
|
|
@@ -4464,7 +5035,7 @@ exports["default"] = _default;
|
|
|
4464
5035
|
});
|
|
4465
5036
|
|
|
4466
5037
|
unwrapExports(YouTube_1);
|
|
4467
|
-
|
|
5038
|
+
YouTube_1.YouTube;
|
|
4468
5039
|
|
|
4469
5040
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4470
5041
|
|
|
@@ -4473,7 +5044,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4473
5044
|
});
|
|
4474
5045
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4475
5046
|
|
|
4476
|
-
var _react = _interopRequireWildcard(
|
|
5047
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4477
5048
|
|
|
4478
5049
|
|
|
4479
5050
|
|
|
@@ -4681,7 +5252,7 @@ exports["default"] = _default;
|
|
|
4681
5252
|
});
|
|
4682
5253
|
|
|
4683
5254
|
unwrapExports(SoundCloud_1);
|
|
4684
|
-
|
|
5255
|
+
SoundCloud_1.SoundCloud;
|
|
4685
5256
|
|
|
4686
5257
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4687
5258
|
|
|
@@ -4690,7 +5261,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4690
5261
|
});
|
|
4691
5262
|
exports["default"] = exports.Vimeo = void 0;
|
|
4692
5263
|
|
|
4693
|
-
var _react = _interopRequireWildcard(
|
|
5264
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4694
5265
|
|
|
4695
5266
|
|
|
4696
5267
|
|
|
@@ -4937,7 +5508,7 @@ exports["default"] = _default;
|
|
|
4937
5508
|
});
|
|
4938
5509
|
|
|
4939
5510
|
unwrapExports(Vimeo_1);
|
|
4940
|
-
|
|
5511
|
+
Vimeo_1.Vimeo;
|
|
4941
5512
|
|
|
4942
5513
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
4943
5514
|
|
|
@@ -4946,7 +5517,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4946
5517
|
});
|
|
4947
5518
|
exports["default"] = exports.Facebook = void 0;
|
|
4948
5519
|
|
|
4949
|
-
var _react = _interopRequireWildcard(
|
|
5520
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4950
5521
|
|
|
4951
5522
|
|
|
4952
5523
|
|
|
@@ -5149,7 +5720,7 @@ exports["default"] = _default;
|
|
|
5149
5720
|
});
|
|
5150
5721
|
|
|
5151
5722
|
unwrapExports(Facebook_1);
|
|
5152
|
-
|
|
5723
|
+
Facebook_1.Facebook;
|
|
5153
5724
|
|
|
5154
5725
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
5155
5726
|
|
|
@@ -5158,7 +5729,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5158
5729
|
});
|
|
5159
5730
|
exports["default"] = exports.Streamable = void 0;
|
|
5160
5731
|
|
|
5161
|
-
var _react = _interopRequireWildcard(
|
|
5732
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5162
5733
|
|
|
5163
5734
|
|
|
5164
5735
|
|
|
@@ -5360,7 +5931,7 @@ exports["default"] = _default;
|
|
|
5360
5931
|
});
|
|
5361
5932
|
|
|
5362
5933
|
unwrapExports(Streamable_1);
|
|
5363
|
-
|
|
5934
|
+
Streamable_1.Streamable;
|
|
5364
5935
|
|
|
5365
5936
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
5366
5937
|
|
|
@@ -5369,7 +5940,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5369
5940
|
});
|
|
5370
5941
|
exports["default"] = exports.Wistia = void 0;
|
|
5371
5942
|
|
|
5372
|
-
var _react = _interopRequireWildcard(
|
|
5943
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5373
5944
|
|
|
5374
5945
|
|
|
5375
5946
|
|
|
@@ -5603,7 +6174,7 @@ exports["default"] = _default;
|
|
|
5603
6174
|
});
|
|
5604
6175
|
|
|
5605
6176
|
unwrapExports(Wistia_1);
|
|
5606
|
-
|
|
6177
|
+
Wistia_1.Wistia;
|
|
5607
6178
|
|
|
5608
6179
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5609
6180
|
|
|
@@ -5612,7 +6183,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5612
6183
|
});
|
|
5613
6184
|
exports["default"] = exports.Twitch = void 0;
|
|
5614
6185
|
|
|
5615
|
-
var _react = _interopRequireWildcard(
|
|
6186
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5616
6187
|
|
|
5617
6188
|
|
|
5618
6189
|
|
|
@@ -5819,7 +6390,7 @@ exports["default"] = _default;
|
|
|
5819
6390
|
});
|
|
5820
6391
|
|
|
5821
6392
|
unwrapExports(Twitch_1);
|
|
5822
|
-
|
|
6393
|
+
Twitch_1.Twitch;
|
|
5823
6394
|
|
|
5824
6395
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5825
6396
|
|
|
@@ -5828,7 +6399,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5828
6399
|
});
|
|
5829
6400
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5830
6401
|
|
|
5831
|
-
var _react = _interopRequireWildcard(
|
|
6402
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5832
6403
|
|
|
5833
6404
|
|
|
5834
6405
|
|
|
@@ -6055,7 +6626,7 @@ exports["default"] = _default;
|
|
|
6055
6626
|
});
|
|
6056
6627
|
|
|
6057
6628
|
unwrapExports(DailyMotion_1);
|
|
6058
|
-
|
|
6629
|
+
DailyMotion_1.DailyMotion;
|
|
6059
6630
|
|
|
6060
6631
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
6061
6632
|
|
|
@@ -6064,7 +6635,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6064
6635
|
});
|
|
6065
6636
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6066
6637
|
|
|
6067
|
-
var _react = _interopRequireWildcard(
|
|
6638
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6068
6639
|
|
|
6069
6640
|
|
|
6070
6641
|
|
|
@@ -6254,7 +6825,7 @@ exports["default"] = _default;
|
|
|
6254
6825
|
});
|
|
6255
6826
|
|
|
6256
6827
|
unwrapExports(Mixcloud_1);
|
|
6257
|
-
|
|
6828
|
+
Mixcloud_1.Mixcloud;
|
|
6258
6829
|
|
|
6259
6830
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
6260
6831
|
|
|
@@ -6263,7 +6834,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6263
6834
|
});
|
|
6264
6835
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6265
6836
|
|
|
6266
|
-
var _react = _interopRequireWildcard(
|
|
6837
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6267
6838
|
|
|
6268
6839
|
|
|
6269
6840
|
|
|
@@ -6788,7 +7359,7 @@ exports["default"] = _default;
|
|
|
6788
7359
|
});
|
|
6789
7360
|
|
|
6790
7361
|
unwrapExports(FilePlayer_1);
|
|
6791
|
-
|
|
7362
|
+
FilePlayer_1.FilePlayer;
|
|
6792
7363
|
|
|
6793
7364
|
var players = createCommonjsModule(function (module, exports) {
|
|
6794
7365
|
|
|
@@ -6830,7 +7401,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6830
7401
|
});
|
|
6831
7402
|
exports["default"] = void 0;
|
|
6832
7403
|
|
|
6833
|
-
var _react = _interopRequireWildcard(
|
|
7404
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6834
7405
|
|
|
6835
7406
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6836
7407
|
|
|
@@ -7009,7 +7580,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7009
7580
|
});
|
|
7010
7581
|
exports["default"] = renderPreloadPlayers;
|
|
7011
7582
|
|
|
7012
|
-
var _react = _interopRequireDefault(
|
|
7583
|
+
var _react = _interopRequireDefault(React__default);
|
|
7013
7584
|
|
|
7014
7585
|
var _Player = _interopRequireDefault(Player_1);
|
|
7015
7586
|
|
|
@@ -7148,7 +7719,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7148
7719
|
});
|
|
7149
7720
|
exports["default"] = void 0;
|
|
7150
7721
|
|
|
7151
|
-
var _react = _interopRequireWildcard(
|
|
7722
|
+
var _react = _interopRequireWildcard(React__default);
|
|
7152
7723
|
|
|
7153
7724
|
|
|
7154
7725
|
|
|
@@ -7493,10 +8064,10 @@ var Audio = function Audio(_ref) {
|
|
|
7493
8064
|
}));
|
|
7494
8065
|
};
|
|
7495
8066
|
if (node.uploadAudio) {
|
|
7496
|
-
return
|
|
8067
|
+
return React__default.createElement(
|
|
7497
8068
|
'div',
|
|
7498
8069
|
{ className: 'audio d-block text-center mb-3' },
|
|
7499
|
-
|
|
8070
|
+
React__default.createElement(
|
|
7500
8071
|
'audio',
|
|
7501
8072
|
{
|
|
7502
8073
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7505,14 +8076,14 @@ var Audio = function Audio(_ref) {
|
|
|
7505
8076
|
onPause: reportPause,
|
|
7506
8077
|
onEnded: reportEnd
|
|
7507
8078
|
},
|
|
7508
|
-
|
|
7509
|
-
|
|
8079
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
8080
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7510
8081
|
'Your browser does not support the audio element.'
|
|
7511
8082
|
),
|
|
7512
|
-
node.caption &&
|
|
8083
|
+
node.caption && React__default.createElement(
|
|
7513
8084
|
'p',
|
|
7514
8085
|
{ style: { fontSize: '.9rem' } },
|
|
7515
|
-
|
|
8086
|
+
React__default.createElement(
|
|
7516
8087
|
'em',
|
|
7517
8088
|
null,
|
|
7518
8089
|
node.caption
|
|
@@ -7522,15 +8093,15 @@ var Audio = function Audio(_ref) {
|
|
|
7522
8093
|
} else if (node.audioFilePth) {
|
|
7523
8094
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7524
8095
|
if (hostname === 'embeds.audioboom.com') {
|
|
7525
|
-
return
|
|
8096
|
+
return React__default.createElement(
|
|
7526
8097
|
'div',
|
|
7527
8098
|
null,
|
|
7528
|
-
|
|
8099
|
+
React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7529
8100
|
' ',
|
|
7530
|
-
node.caption &&
|
|
8101
|
+
node.caption && React__default.createElement(
|
|
7531
8102
|
'p',
|
|
7532
8103
|
{ style: { fontSize: '.9rem' } },
|
|
7533
|
-
|
|
8104
|
+
React__default.createElement(
|
|
7534
8105
|
'em',
|
|
7535
8106
|
null,
|
|
7536
8107
|
node.caption
|
|
@@ -7538,10 +8109,10 @@ var Audio = function Audio(_ref) {
|
|
|
7538
8109
|
)
|
|
7539
8110
|
);
|
|
7540
8111
|
}
|
|
7541
|
-
return
|
|
8112
|
+
return React__default.createElement(
|
|
7542
8113
|
'div',
|
|
7543
8114
|
{ className: 'audio' },
|
|
7544
|
-
|
|
8115
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7545
8116
|
onPlay: reportPlay,
|
|
7546
8117
|
onPause: reportPause,
|
|
7547
8118
|
onEnded: reportEnd,
|
|
@@ -7549,10 +8120,10 @@ var Audio = function Audio(_ref) {
|
|
|
7549
8120
|
width: '100%',
|
|
7550
8121
|
height: '100%'
|
|
7551
8122
|
}),
|
|
7552
|
-
node.caption &&
|
|
8123
|
+
node.caption && React__default.createElement(
|
|
7553
8124
|
'p',
|
|
7554
8125
|
{ style: { fontSize: '.9rem' } },
|
|
7555
|
-
|
|
8126
|
+
React__default.createElement(
|
|
7556
8127
|
'em',
|
|
7557
8128
|
null,
|
|
7558
8129
|
node.caption
|
|
@@ -7571,34 +8142,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7571
8142
|
var showAuthorDetails = arguments[7];
|
|
7572
8143
|
|
|
7573
8144
|
if (authorName && authorURL) {
|
|
7574
|
-
return
|
|
8145
|
+
return React__default.createElement(
|
|
7575
8146
|
'span',
|
|
7576
8147
|
null,
|
|
7577
|
-
|
|
8148
|
+
React__default.createElement(
|
|
7578
8149
|
'a',
|
|
7579
8150
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7580
8151
|
authorName
|
|
7581
8152
|
),
|
|
7582
|
-
showAuthorDetails &&
|
|
8153
|
+
showAuthorDetails && React__default.createElement(
|
|
7583
8154
|
Card,
|
|
7584
8155
|
{ className: 'author-details-card-' + index },
|
|
7585
|
-
|
|
8156
|
+
React__default.createElement(
|
|
7586
8157
|
Row,
|
|
7587
8158
|
null,
|
|
7588
|
-
profileImage &&
|
|
8159
|
+
profileImage && React__default.createElement(
|
|
7589
8160
|
Col,
|
|
7590
8161
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7591
|
-
|
|
8162
|
+
React__default.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7592
8163
|
),
|
|
7593
|
-
|
|
8164
|
+
React__default.createElement(
|
|
7594
8165
|
Col,
|
|
7595
8166
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7596
|
-
|
|
8167
|
+
React__default.createElement(
|
|
7597
8168
|
'div',
|
|
7598
8169
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7599
8170
|
authorName
|
|
7600
8171
|
),
|
|
7601
|
-
|
|
8172
|
+
React__default.createElement(
|
|
7602
8173
|
'p',
|
|
7603
8174
|
null,
|
|
7604
8175
|
biography
|
|
@@ -7606,7 +8177,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7606
8177
|
)
|
|
7607
8178
|
)
|
|
7608
8179
|
),
|
|
7609
|
-
|
|
8180
|
+
React__default.createElement(
|
|
7610
8181
|
'style',
|
|
7611
8182
|
{ jsx: 'true' },
|
|
7612
8183
|
'\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 '
|
|
@@ -7614,7 +8185,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7614
8185
|
length !== index + 1 && ', '
|
|
7615
8186
|
);
|
|
7616
8187
|
} else if (authorName) {
|
|
7617
|
-
return
|
|
8188
|
+
return React__default.createElement(
|
|
7618
8189
|
'span',
|
|
7619
8190
|
{ key: index },
|
|
7620
8191
|
authorName,
|
|
@@ -7770,7 +8341,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7770
8341
|
var queue = Math.floor(duration / 10);
|
|
7771
8342
|
var segment = Math.floor(current / queue);
|
|
7772
8343
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
7773
|
-
Segment.report_video_event('Video Ready',
|
|
8344
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment);
|
|
7774
8345
|
//autoplay
|
|
7775
8346
|
|
|
7776
8347
|
//Small pause before starting next video
|
|
@@ -7791,7 +8362,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7791
8362
|
var segment = Math.floor(current / queue);
|
|
7792
8363
|
|
|
7793
8364
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
7794
|
-
Segment.report_video_event('Video End',
|
|
8365
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment);
|
|
7795
8366
|
setEndReported(true);
|
|
7796
8367
|
clearInterval(intervalID);
|
|
7797
8368
|
}
|
|
@@ -7842,7 +8413,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7842
8413
|
var segment = Math.floor(current / queue);
|
|
7843
8414
|
if (!queueProgress.includes(segment)) {
|
|
7844
8415
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
7845
|
-
Segment.report_video_event('Video Segment',
|
|
8416
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment);
|
|
7846
8417
|
queueProgress.push(segment);
|
|
7847
8418
|
}
|
|
7848
8419
|
};
|
|
@@ -7856,7 +8427,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7856
8427
|
var segment = Math.floor(current / queue);
|
|
7857
8428
|
|
|
7858
8429
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
7859
|
-
Segment.report_video_event('Video Play',
|
|
8430
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment);
|
|
7860
8431
|
|
|
7861
8432
|
if (!playReported) {
|
|
7862
8433
|
setPlayReported(true);
|
|
@@ -7875,7 +8446,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7875
8446
|
var segment = Math.floor(current / queue);
|
|
7876
8447
|
|
|
7877
8448
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
7878
|
-
Segment.report_video_event('Video Pause',
|
|
8449
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
7879
8450
|
};
|
|
7880
8451
|
|
|
7881
8452
|
// Youtube Options
|
|
@@ -7886,44 +8457,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7886
8457
|
}
|
|
7887
8458
|
};
|
|
7888
8459
|
|
|
7889
|
-
return
|
|
8460
|
+
return React__default.createElement(
|
|
7890
8461
|
'div',
|
|
7891
8462
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7892
|
-
|
|
8463
|
+
React__default.createElement(
|
|
7893
8464
|
'div',
|
|
7894
8465
|
{ className: 'mt-2 mb-5' },
|
|
7895
|
-
series &&
|
|
8466
|
+
series && React__default.createElement(
|
|
7896
8467
|
'div',
|
|
7897
8468
|
{ style: { fontSize: '0.9rem' } },
|
|
7898
8469
|
article.title,
|
|
7899
8470
|
' - Episode ',
|
|
7900
8471
|
series
|
|
7901
8472
|
),
|
|
7902
|
-
Videos[series - 1] &&
|
|
8473
|
+
Videos[series - 1] && React__default.createElement(
|
|
7903
8474
|
'h1',
|
|
7904
8475
|
{ className: 'mb-3' },
|
|
7905
8476
|
Videos[series - 1].title
|
|
7906
8477
|
),
|
|
7907
|
-
|
|
8478
|
+
React__default.createElement(
|
|
7908
8479
|
'div',
|
|
7909
8480
|
null,
|
|
7910
8481
|
moment(article.published).format('LL')
|
|
7911
8482
|
),
|
|
7912
|
-
|
|
8483
|
+
React__default.createElement(
|
|
7913
8484
|
'div',
|
|
7914
8485
|
{ className: 'mb-3' },
|
|
7915
8486
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7916
|
-
return
|
|
8487
|
+
return React__default.createElement(
|
|
7917
8488
|
'span',
|
|
7918
8489
|
{ key: index },
|
|
7919
8490
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7920
8491
|
);
|
|
7921
8492
|
})
|
|
7922
8493
|
),
|
|
7923
|
-
|
|
8494
|
+
React__default.createElement(
|
|
7924
8495
|
'p',
|
|
7925
8496
|
null,
|
|
7926
|
-
|
|
8497
|
+
React__default.createElement(SocialShare, {
|
|
7927
8498
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7928
8499
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7929
8500
|
shareVia: meta.shareVia,
|
|
@@ -7938,20 +8509,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7938
8509
|
hideFacebook: meta.hideFBShare
|
|
7939
8510
|
})
|
|
7940
8511
|
),
|
|
7941
|
-
Videos[series - 1] && Videos[series - 1].intro &&
|
|
8512
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default.createElement(
|
|
7942
8513
|
'p',
|
|
7943
8514
|
{ className: 'mb-3' },
|
|
7944
|
-
|
|
8515
|
+
React__default.createElement(
|
|
7945
8516
|
'em',
|
|
7946
8517
|
null,
|
|
7947
8518
|
Videos[series - 1].intro
|
|
7948
8519
|
)
|
|
7949
8520
|
)
|
|
7950
8521
|
),
|
|
7951
|
-
|
|
8522
|
+
React__default.createElement(
|
|
7952
8523
|
'div',
|
|
7953
8524
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7954
|
-
vidUrl && vidType == 'youtube' &&
|
|
8525
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7955
8526
|
className: 'fluid-iframe',
|
|
7956
8527
|
videoId: getYoutubeId(vidUrl),
|
|
7957
8528
|
opts: opts,
|
|
@@ -7962,10 +8533,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7962
8533
|
return handleOnEnd(e);
|
|
7963
8534
|
}
|
|
7964
8535
|
}),
|
|
7965
|
-
vidUrl && vidType == 'mp4' &&
|
|
7966
|
-
vidUrl && vidType == 'brightcove' &&
|
|
7967
|
-
|
|
7968
|
-
series &&
|
|
8536
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
8537
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
8538
|
+
React__default.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
8539
|
+
series && React__default.createElement(
|
|
7969
8540
|
'div',
|
|
7970
8541
|
{
|
|
7971
8542
|
className: 'vid-series',
|
|
@@ -7975,10 +8546,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7975
8546
|
maxHeight: '100%',
|
|
7976
8547
|
paddingBottom: '0'
|
|
7977
8548
|
} },
|
|
7978
|
-
|
|
8549
|
+
React__default.createElement(
|
|
7979
8550
|
'p',
|
|
7980
8551
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7981
|
-
|
|
8552
|
+
React__default.createElement(
|
|
7982
8553
|
'b',
|
|
7983
8554
|
{ style: { fontSize: '1.25em' } },
|
|
7984
8555
|
'Now Playing:'
|
|
@@ -7986,16 +8557,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7986
8557
|
' ',
|
|
7987
8558
|
seriesData[series ? series - 1 : 0].title
|
|
7988
8559
|
),
|
|
7989
|
-
vidUrl &&
|
|
8560
|
+
vidUrl && React__default.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7990
8561
|
)
|
|
7991
8562
|
),
|
|
7992
|
-
|
|
7993
|
-
|
|
8563
|
+
React__default.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8564
|
+
React__default.createElement(
|
|
7994
8565
|
'div',
|
|
7995
8566
|
{ className: 'vid-text' },
|
|
7996
|
-
Videos[series - 1] && Videos[series - 1].text &&
|
|
8567
|
+
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()))
|
|
7997
8568
|
),
|
|
7998
|
-
|
|
8569
|
+
React__default.createElement(
|
|
7999
8570
|
'style',
|
|
8000
8571
|
{ jsx: 'true' },
|
|
8001
8572
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8003,14 +8574,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8003
8574
|
);
|
|
8004
8575
|
};
|
|
8005
8576
|
|
|
8006
|
-
var Poll = function Poll(_ref) {
|
|
8007
|
-
var node = _ref.node
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
onVote = _ref.onVote
|
|
8012
|
-
_ref
|
|
8013
|
-
getSerializers = _ref.getSerializers;
|
|
8577
|
+
var Poll$1 = function Poll(_ref) {
|
|
8578
|
+
var node = _ref.node;
|
|
8579
|
+
_ref.client;
|
|
8580
|
+
_ref.pageview;
|
|
8581
|
+
_ref.videoAccountIDs;
|
|
8582
|
+
var onVote = _ref.onVote;
|
|
8583
|
+
_ref.showVotes;
|
|
8584
|
+
var getSerializers = _ref.getSerializers;
|
|
8014
8585
|
|
|
8015
8586
|
var _useState = useState(null),
|
|
8016
8587
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8048,67 +8619,67 @@ var Poll = function Poll(_ref) {
|
|
|
8048
8619
|
return acc;
|
|
8049
8620
|
}
|
|
8050
8621
|
}, 0);
|
|
8051
|
-
return
|
|
8052
|
-
|
|
8622
|
+
return React__default.createElement(
|
|
8623
|
+
React__default.Fragment,
|
|
8053
8624
|
null,
|
|
8054
|
-
question &&
|
|
8625
|
+
question && React__default.createElement(
|
|
8055
8626
|
'p',
|
|
8056
8627
|
{ className: 'font-weight-bold' },
|
|
8057
8628
|
question
|
|
8058
8629
|
),
|
|
8059
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8630
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8060
8631
|
'form',
|
|
8061
8632
|
{ onSubmit: function onSubmit(e) {
|
|
8062
8633
|
return onSubmitPoll(e);
|
|
8063
8634
|
} },
|
|
8064
8635
|
choices && choices.map(function (choice) {
|
|
8065
|
-
return
|
|
8636
|
+
return React__default.createElement(
|
|
8066
8637
|
'div',
|
|
8067
8638
|
{ key: choice._key },
|
|
8068
|
-
|
|
8639
|
+
React__default.createElement(
|
|
8069
8640
|
'label',
|
|
8070
8641
|
{ className: 'pl-2' },
|
|
8071
|
-
|
|
8642
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8072
8643
|
return setSelectedChoice(e.target.value);
|
|
8073
8644
|
} }),
|
|
8074
8645
|
' ' + choice.choiceText
|
|
8075
8646
|
)
|
|
8076
8647
|
);
|
|
8077
8648
|
}),
|
|
8078
|
-
|
|
8649
|
+
React__default.createElement(
|
|
8079
8650
|
Button$1,
|
|
8080
8651
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8081
8652
|
'Vote'
|
|
8082
8653
|
)
|
|
8083
8654
|
),
|
|
8084
|
-
|
|
8655
|
+
React__default.createElement(
|
|
8085
8656
|
'div',
|
|
8086
8657
|
{ className: 'progress-container' },
|
|
8087
8658
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8088
8659
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8089
|
-
return
|
|
8660
|
+
return React__default.createElement(
|
|
8090
8661
|
'div',
|
|
8091
8662
|
{ key: choice._key, className: 'mb-3' },
|
|
8092
|
-
|
|
8663
|
+
React__default.createElement(
|
|
8093
8664
|
'div',
|
|
8094
8665
|
{ className: 'correct-answer' },
|
|
8095
|
-
|
|
8666
|
+
React__default.createElement(
|
|
8096
8667
|
'div',
|
|
8097
8668
|
null,
|
|
8098
8669
|
choice.choiceText
|
|
8099
8670
|
),
|
|
8100
|
-
choice.choiceAnswer === true &&
|
|
8671
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8101
8672
|
'div',
|
|
8102
8673
|
null,
|
|
8103
|
-
|
|
8674
|
+
React__default.createElement(
|
|
8104
8675
|
'span',
|
|
8105
8676
|
{ style: { color: 'limegreen' } },
|
|
8106
8677
|
'Correct!'
|
|
8107
8678
|
)
|
|
8108
8679
|
)
|
|
8109
8680
|
),
|
|
8110
|
-
|
|
8111
|
-
|
|
8681
|
+
React__default.createElement(ProgressBar, { now: percentage }),
|
|
8682
|
+
React__default.createElement(
|
|
8112
8683
|
'span',
|
|
8113
8684
|
{ className: 'float-right' },
|
|
8114
8685
|
percentage,
|
|
@@ -8119,14 +8690,14 @@ var Poll = function Poll(_ref) {
|
|
|
8119
8690
|
);
|
|
8120
8691
|
})
|
|
8121
8692
|
),
|
|
8122
|
-
showAnswer &&
|
|
8693
|
+
showAnswer && React__default.createElement(
|
|
8123
8694
|
'h4',
|
|
8124
8695
|
{ className: 'text-center small p-3' },
|
|
8125
8696
|
'Total Votes: ',
|
|
8126
8697
|
choicesTotalCount
|
|
8127
8698
|
),
|
|
8128
|
-
showAnswer && response &&
|
|
8129
|
-
|
|
8699
|
+
showAnswer && response && React__default.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8700
|
+
React__default.createElement(
|
|
8130
8701
|
'style',
|
|
8131
8702
|
{ jsx: 'true' },
|
|
8132
8703
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8144,22 +8715,22 @@ _export(_export.S, 'Object', {
|
|
|
8144
8715
|
}
|
|
8145
8716
|
});
|
|
8146
8717
|
|
|
8147
|
-
var values = _core.Object.values;
|
|
8718
|
+
var values$1 = _core.Object.values;
|
|
8148
8719
|
|
|
8149
|
-
var values
|
|
8150
|
-
module.exports = { "default": values, __esModule: true };
|
|
8720
|
+
var values = createCommonjsModule(function (module) {
|
|
8721
|
+
module.exports = { "default": values$1, __esModule: true };
|
|
8151
8722
|
});
|
|
8152
8723
|
|
|
8153
|
-
var _Object$values = unwrapExports(values
|
|
8724
|
+
var _Object$values = unwrapExports(values);
|
|
8154
8725
|
|
|
8155
|
-
var Poll
|
|
8156
|
-
var node = _ref.node
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
onVote = _ref.onVote
|
|
8161
|
-
_ref
|
|
8162
|
-
getSerializers = _ref.getSerializers;
|
|
8726
|
+
var Poll = function Poll(_ref) {
|
|
8727
|
+
var node = _ref.node;
|
|
8728
|
+
_ref.client;
|
|
8729
|
+
_ref.pageview;
|
|
8730
|
+
_ref.videoAccountIDs;
|
|
8731
|
+
var onVote = _ref.onVote;
|
|
8732
|
+
_ref.showVotes;
|
|
8733
|
+
var getSerializers = _ref.getSerializers;
|
|
8163
8734
|
|
|
8164
8735
|
var _useState = useState(null),
|
|
8165
8736
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8225,67 +8796,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8225
8796
|
return acc;
|
|
8226
8797
|
}
|
|
8227
8798
|
}, 0);
|
|
8228
|
-
return
|
|
8229
|
-
|
|
8799
|
+
return React__default.createElement(
|
|
8800
|
+
React__default.Fragment,
|
|
8230
8801
|
null,
|
|
8231
|
-
question &&
|
|
8802
|
+
question && React__default.createElement(
|
|
8232
8803
|
'p',
|
|
8233
8804
|
{ className: 'font-weight-bold' },
|
|
8234
8805
|
question
|
|
8235
8806
|
),
|
|
8236
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8807
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8237
8808
|
'form',
|
|
8238
8809
|
{ onSubmit: function onSubmit(e) {
|
|
8239
8810
|
return onSubmitPoll(e);
|
|
8240
8811
|
} },
|
|
8241
8812
|
choices && choices.map(function (choice) {
|
|
8242
|
-
return
|
|
8813
|
+
return React__default.createElement(
|
|
8243
8814
|
'div',
|
|
8244
8815
|
{ key: choice._key },
|
|
8245
|
-
|
|
8816
|
+
React__default.createElement(
|
|
8246
8817
|
'label',
|
|
8247
8818
|
{ className: 'pl-2' },
|
|
8248
|
-
|
|
8819
|
+
React__default.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8249
8820
|
return setSelectedChoice(e.target.value);
|
|
8250
8821
|
} }),
|
|
8251
8822
|
' ' + choice.choiceText
|
|
8252
8823
|
)
|
|
8253
8824
|
);
|
|
8254
8825
|
}),
|
|
8255
|
-
|
|
8826
|
+
React__default.createElement(
|
|
8256
8827
|
Button$1,
|
|
8257
8828
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8258
8829
|
'Vote'
|
|
8259
8830
|
)
|
|
8260
8831
|
),
|
|
8261
|
-
|
|
8832
|
+
React__default.createElement(
|
|
8262
8833
|
'div',
|
|
8263
8834
|
{ className: 'progress-container' },
|
|
8264
8835
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8265
8836
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8266
|
-
return
|
|
8837
|
+
return React__default.createElement(
|
|
8267
8838
|
'div',
|
|
8268
8839
|
{ key: choice._key, className: 'mb-3' },
|
|
8269
|
-
|
|
8840
|
+
React__default.createElement(
|
|
8270
8841
|
'div',
|
|
8271
8842
|
{ className: 'correct-answer' },
|
|
8272
|
-
|
|
8843
|
+
React__default.createElement(
|
|
8273
8844
|
'div',
|
|
8274
8845
|
null,
|
|
8275
8846
|
choice.choiceText
|
|
8276
8847
|
),
|
|
8277
|
-
choice.choiceAnswer === true &&
|
|
8848
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8278
8849
|
'div',
|
|
8279
8850
|
null,
|
|
8280
|
-
|
|
8851
|
+
React__default.createElement(
|
|
8281
8852
|
'span',
|
|
8282
8853
|
{ style: { color: 'limegreen' } },
|
|
8283
8854
|
'Correct!'
|
|
8284
8855
|
)
|
|
8285
8856
|
)
|
|
8286
8857
|
),
|
|
8287
|
-
|
|
8288
|
-
|
|
8858
|
+
React__default.createElement(ProgressBar, { now: percentage }),
|
|
8859
|
+
React__default.createElement(
|
|
8289
8860
|
'span',
|
|
8290
8861
|
{ className: 'float-right' },
|
|
8291
8862
|
percentage,
|
|
@@ -8296,14 +8867,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8296
8867
|
);
|
|
8297
8868
|
})
|
|
8298
8869
|
),
|
|
8299
|
-
showAnswer &&
|
|
8870
|
+
showAnswer && React__default.createElement(
|
|
8300
8871
|
'h4',
|
|
8301
8872
|
{ className: 'text-center small p-3' },
|
|
8302
8873
|
'Total Votes: ',
|
|
8303
8874
|
choicesTotalCount
|
|
8304
8875
|
),
|
|
8305
|
-
showAnswer && response &&
|
|
8306
|
-
|
|
8876
|
+
showAnswer && response && React__default.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8877
|
+
React__default.createElement(
|
|
8307
8878
|
'style',
|
|
8308
8879
|
{ jsx: 'true' },
|
|
8309
8880
|
'\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 '
|
|
@@ -8311,7 +8882,7 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8311
8882
|
);
|
|
8312
8883
|
};
|
|
8313
8884
|
|
|
8314
|
-
var numberOfPaginations =
|
|
8885
|
+
var numberOfPaginations = main_42 ? 4 : 10;
|
|
8315
8886
|
|
|
8316
8887
|
var Quiz = function Quiz(_ref) {
|
|
8317
8888
|
var quizzes = _ref.quizzes,
|
|
@@ -8447,20 +9018,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
8447
9018
|
};
|
|
8448
9019
|
|
|
8449
9020
|
var renderPagination = function renderPagination() {
|
|
8450
|
-
return
|
|
9021
|
+
return React__default.createElement(
|
|
8451
9022
|
Pagination,
|
|
8452
|
-
{ className: 'p-0 m-0', size:
|
|
8453
|
-
|
|
9023
|
+
{ className: 'p-0 m-0', size: main_42 && 'sm' },
|
|
9024
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
8454
9025
|
return changePage('first');
|
|
8455
9026
|
}, disabled: currentPage === 1 }),
|
|
8456
|
-
|
|
9027
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8457
9028
|
return changePage('prev');
|
|
8458
9029
|
}, disabled: currentPage === 1 }),
|
|
8459
|
-
|
|
9030
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8460
9031
|
return renderNewPages('prev');
|
|
8461
9032
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8462
9033
|
pages.map(function (page) {
|
|
8463
|
-
return
|
|
9034
|
+
return React__default.createElement(
|
|
8464
9035
|
Pagination.Item,
|
|
8465
9036
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8466
9037
|
return changePage(page);
|
|
@@ -8468,13 +9039,13 @@ var Quiz = function Quiz(_ref) {
|
|
|
8468
9039
|
page
|
|
8469
9040
|
);
|
|
8470
9041
|
}),
|
|
8471
|
-
|
|
9042
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8472
9043
|
return renderNewPages('next');
|
|
8473
9044
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8474
|
-
|
|
9045
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8475
9046
|
return changePage('next');
|
|
8476
9047
|
}, disabled: currentPage === pageCount }),
|
|
8477
|
-
|
|
9048
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8478
9049
|
return changePage('last');
|
|
8479
9050
|
}, disabled: currentPage === pageCount })
|
|
8480
9051
|
);
|
|
@@ -8585,49 +9156,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8585
9156
|
}
|
|
8586
9157
|
};
|
|
8587
9158
|
|
|
8588
|
-
return
|
|
8589
|
-
|
|
9159
|
+
return React__default.createElement(
|
|
9160
|
+
React__default.Fragment,
|
|
8590
9161
|
null,
|
|
8591
|
-
quizzes[currentPage - 1] &&
|
|
8592
|
-
|
|
9162
|
+
quizzes[currentPage - 1] && React__default.createElement(
|
|
9163
|
+
React__default.Fragment,
|
|
8593
9164
|
null,
|
|
8594
|
-
|
|
8595
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
9165
|
+
React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
9166
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default.createElement(
|
|
8596
9167
|
'form',
|
|
8597
9168
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8598
9169
|
return e.preventDefault();
|
|
8599
9170
|
} },
|
|
8600
9171
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8601
|
-
return
|
|
9172
|
+
return React__default.createElement(
|
|
8602
9173
|
'div',
|
|
8603
9174
|
{ key: answer._key },
|
|
8604
|
-
|
|
9175
|
+
React__default.createElement(
|
|
8605
9176
|
'label',
|
|
8606
9177
|
{ className: 'pl-2' },
|
|
8607
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
9178
|
+
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 }),
|
|
8608
9179
|
' ' + answer.answerText
|
|
8609
9180
|
)
|
|
8610
9181
|
);
|
|
8611
9182
|
})
|
|
8612
9183
|
)
|
|
8613
9184
|
),
|
|
8614
|
-
!showAnswer &&
|
|
9185
|
+
!showAnswer && React__default.createElement(
|
|
8615
9186
|
Button,
|
|
8616
9187
|
{ onClick: function onClick(e) {
|
|
8617
9188
|
return checkAnswers(e);
|
|
8618
9189
|
}, variant: 'info', block: true },
|
|
8619
9190
|
'Please click here for answer'
|
|
8620
9191
|
),
|
|
8621
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
8622
|
-
|
|
9192
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
9193
|
+
React__default.Fragment,
|
|
8623
9194
|
null,
|
|
8624
|
-
quizzes[currentPage - 1].answer &&
|
|
9195
|
+
quizzes[currentPage - 1].answer && React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8625
9196
|
),
|
|
8626
|
-
|
|
8627
|
-
firstRender &&
|
|
8628
|
-
|
|
9197
|
+
React__default.createElement('br', null),
|
|
9198
|
+
firstRender && React__default.createElement(
|
|
9199
|
+
React__default.Fragment,
|
|
8629
9200
|
null,
|
|
8630
|
-
pageCount > 1 && currentPage &&
|
|
9201
|
+
pageCount > 1 && currentPage && React__default.createElement(
|
|
8631
9202
|
'div',
|
|
8632
9203
|
{ className: 'd-flex justify-content-center' },
|
|
8633
9204
|
renderPagination()
|
|
@@ -8639,19 +9210,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8639
9210
|
var Leads = function Leads(_ref) {
|
|
8640
9211
|
var url = _ref.url;
|
|
8641
9212
|
|
|
8642
|
-
return
|
|
9213
|
+
return React__default.createElement(
|
|
8643
9214
|
'div',
|
|
8644
9215
|
{ className: 'd-block text-center mb-3' },
|
|
8645
|
-
|
|
9216
|
+
React__default.createElement(
|
|
8646
9217
|
'style',
|
|
8647
9218
|
{ jsx: 'true' },
|
|
8648
9219
|
'\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 '
|
|
8649
9220
|
),
|
|
8650
|
-
url &&
|
|
9221
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8651
9222
|
);
|
|
8652
9223
|
};
|
|
8653
9224
|
|
|
8654
|
-
var Slideshow
|
|
9225
|
+
var Slideshow = function Slideshow(_ref) {
|
|
8655
9226
|
var slides = _ref.node.slides,
|
|
8656
9227
|
client = _ref.client,
|
|
8657
9228
|
pageview = _ref.pageview,
|
|
@@ -8689,49 +9260,49 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
8689
9260
|
if (pageview) pageview(href);
|
|
8690
9261
|
};
|
|
8691
9262
|
|
|
8692
|
-
return
|
|
9263
|
+
return React__default.createElement(
|
|
8693
9264
|
'div',
|
|
8694
9265
|
{ className: 'mt-3 mb-4' },
|
|
8695
|
-
|
|
9266
|
+
React__default.createElement(
|
|
8696
9267
|
Carousel,
|
|
8697
9268
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8698
9269
|
slides && slides.map(function (slide) {
|
|
8699
9270
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8700
|
-
return
|
|
9271
|
+
return React__default.createElement(
|
|
8701
9272
|
Carousel.Item,
|
|
8702
9273
|
{ key: slide._key },
|
|
8703
|
-
|
|
9274
|
+
React__default.createElement(
|
|
8704
9275
|
'a',
|
|
8705
9276
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8706
|
-
|
|
9277
|
+
React__default.createElement(
|
|
8707
9278
|
'div',
|
|
8708
9279
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8709
|
-
|
|
9280
|
+
React__default.createElement(
|
|
8710
9281
|
'picture',
|
|
8711
9282
|
null,
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
9283
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9284
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9285
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9286
|
+
React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8716
9287
|
)
|
|
8717
9288
|
)
|
|
8718
9289
|
),
|
|
8719
|
-
|
|
9290
|
+
React__default.createElement(
|
|
8720
9291
|
'div',
|
|
8721
9292
|
{ className: 'p-2' },
|
|
8722
|
-
slide.slideshowImage.caption &&
|
|
9293
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
8723
9294
|
'h3',
|
|
8724
9295
|
{ style: { padding: '0px' } },
|
|
8725
9296
|
slide.slideshowImage.caption
|
|
8726
9297
|
),
|
|
8727
|
-
slide.description &&
|
|
9298
|
+
slide.description && React__default.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8728
9299
|
)
|
|
8729
9300
|
);
|
|
8730
9301
|
}
|
|
8731
9302
|
return null;
|
|
8732
9303
|
})
|
|
8733
9304
|
),
|
|
8734
|
-
|
|
9305
|
+
React__default.createElement(
|
|
8735
9306
|
'style',
|
|
8736
9307
|
{ jsx: 'true' },
|
|
8737
9308
|
'\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 '
|
|
@@ -8750,10 +9321,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8750
9321
|
sizes = _props$node.sizes,
|
|
8751
9322
|
sizeMapping = _props$node.sizeMapping;
|
|
8752
9323
|
|
|
8753
|
-
return
|
|
9324
|
+
return React__default.createElement(
|
|
8754
9325
|
'div',
|
|
8755
9326
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8756
|
-
|
|
9327
|
+
React__default.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8757
9328
|
);
|
|
8758
9329
|
};
|
|
8759
9330
|
|
|
@@ -8764,15 +9335,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8764
9335
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8765
9336
|
|
|
8766
9337
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8767
|
-
return
|
|
9338
|
+
return React__default.createElement(
|
|
8768
9339
|
'section',
|
|
8769
9340
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8770
|
-
Caption &&
|
|
9341
|
+
Caption && React__default.createElement(
|
|
8771
9342
|
'h4',
|
|
8772
9343
|
{ className: 'formstack-caption' },
|
|
8773
9344
|
Caption
|
|
8774
9345
|
),
|
|
8775
|
-
|
|
9346
|
+
React__default.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8776
9347
|
);
|
|
8777
9348
|
};
|
|
8778
9349
|
|
|
@@ -8788,36 +9359,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8788
9359
|
}
|
|
8789
9360
|
});
|
|
8790
9361
|
if (medias && medias.length > 0) {
|
|
8791
|
-
return
|
|
9362
|
+
return React__default.createElement(
|
|
8792
9363
|
'div',
|
|
8793
9364
|
{ className: 'multi-media-container' },
|
|
8794
|
-
|
|
9365
|
+
React__default.createElement(
|
|
8795
9366
|
Row$1,
|
|
8796
9367
|
{ noGutters: true },
|
|
8797
9368
|
medias.map(function (media) {
|
|
8798
|
-
return
|
|
9369
|
+
return React__default.createElement(
|
|
8799
9370
|
Col$1,
|
|
8800
9371
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8801
|
-
|
|
9372
|
+
React__default.createElement(
|
|
8802
9373
|
'a',
|
|
8803
9374
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8804
9375
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8805
|
-
|
|
9376
|
+
React__default.createElement(
|
|
8806
9377
|
'div',
|
|
8807
9378
|
{ className: 'multi-media-image-container' },
|
|
8808
|
-
imageBox &&
|
|
9379
|
+
imageBox && React__default.createElement(
|
|
8809
9380
|
LazyLoad,
|
|
8810
9381
|
{ once: true },
|
|
8811
|
-
|
|
9382
|
+
React__default.createElement(
|
|
8812
9383
|
'picture',
|
|
8813
9384
|
null,
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
9385
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9386
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9387
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9388
|
+
React__default.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8818
9389
|
)
|
|
8819
9390
|
),
|
|
8820
|
-
media.caption &&
|
|
9391
|
+
media.caption && React__default.createElement(
|
|
8821
9392
|
'span',
|
|
8822
9393
|
{ className: 'multi-media-caption' },
|
|
8823
9394
|
media.caption
|
|
@@ -8827,7 +9398,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8827
9398
|
);
|
|
8828
9399
|
})
|
|
8829
9400
|
),
|
|
8830
|
-
|
|
9401
|
+
React__default.createElement(
|
|
8831
9402
|
'style',
|
|
8832
9403
|
{ jsx: 'true' },
|
|
8833
9404
|
'\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 '
|
|
@@ -8874,7 +9445,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8874
9445
|
}
|
|
8875
9446
|
};
|
|
8876
9447
|
|
|
8877
|
-
_this.wraperRef =
|
|
9448
|
+
_this.wraperRef = React__default.createRef();
|
|
8878
9449
|
_this.visible = false;
|
|
8879
9450
|
return _this;
|
|
8880
9451
|
}
|
|
@@ -8902,7 +9473,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8902
9473
|
_props$id = _props.id,
|
|
8903
9474
|
id = _props$id === undefined ? '' : _props$id;
|
|
8904
9475
|
|
|
8905
|
-
return
|
|
9476
|
+
return React__default.createElement(
|
|
8906
9477
|
'div',
|
|
8907
9478
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8908
9479
|
this.props.children
|
|
@@ -8911,16 +9482,16 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8911
9482
|
}]);
|
|
8912
9483
|
|
|
8913
9484
|
return InscreenSensor;
|
|
8914
|
-
}(
|
|
9485
|
+
}(React__default.Component);
|
|
8915
9486
|
|
|
8916
9487
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8917
9488
|
var nodes = _ref.nodes,
|
|
8918
9489
|
client = _ref.client,
|
|
8919
9490
|
pageview = _ref.pageview,
|
|
8920
9491
|
getSerializers = _ref.getSerializers,
|
|
8921
|
-
accountIDs = _ref.accountIDs
|
|
8922
|
-
|
|
8923
|
-
rootArticle = _ref.rootArticle;
|
|
9492
|
+
accountIDs = _ref.accountIDs;
|
|
9493
|
+
_ref.Ads;
|
|
9494
|
+
var rootArticle = _ref.rootArticle;
|
|
8924
9495
|
|
|
8925
9496
|
if (!nodes || !nodes.articles) {
|
|
8926
9497
|
return null;
|
|
@@ -8934,7 +9505,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8934
9505
|
var router = useRouter();
|
|
8935
9506
|
|
|
8936
9507
|
var refArray = useRef([]);
|
|
8937
|
-
|
|
9508
|
+
useRef([]);
|
|
8938
9509
|
var articleContainerRef = useRef(null);
|
|
8939
9510
|
var arrowRef = useRef(null);
|
|
8940
9511
|
|
|
@@ -9022,33 +9593,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9022
9593
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9023
9594
|
var showReading = show ? 'showReading' : '';
|
|
9024
9595
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9025
|
-
return
|
|
9596
|
+
return React__default.createElement(
|
|
9026
9597
|
'div',
|
|
9027
9598
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9028
|
-
|
|
9599
|
+
React__default.createElement(
|
|
9029
9600
|
'a',
|
|
9030
9601
|
{ onClick: function onClick(e) {
|
|
9031
9602
|
return articleCardClickHandler(e);
|
|
9032
9603
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9033
|
-
|
|
9604
|
+
React__default.createElement(
|
|
9034
9605
|
'div',
|
|
9035
9606
|
{ className: 'prevNext-thumbnail' },
|
|
9036
|
-
|
|
9037
|
-
|
|
9607
|
+
React__default.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9608
|
+
React__default.createElement(
|
|
9038
9609
|
'div',
|
|
9039
9610
|
{ className: 'prevNext-reading ' + showReading },
|
|
9040
9611
|
articleLabel
|
|
9041
9612
|
)
|
|
9042
9613
|
),
|
|
9043
|
-
|
|
9614
|
+
React__default.createElement(
|
|
9044
9615
|
'div',
|
|
9045
9616
|
{ className: 'prevNext-summary' },
|
|
9046
|
-
|
|
9617
|
+
React__default.createElement(
|
|
9047
9618
|
'div',
|
|
9048
9619
|
{ className: 'prevNext-publishDate' },
|
|
9049
9620
|
moment(article.published).format('LL')
|
|
9050
9621
|
),
|
|
9051
|
-
|
|
9622
|
+
React__default.createElement(
|
|
9052
9623
|
'h2',
|
|
9053
9624
|
{ className: 'prevNext-title' },
|
|
9054
9625
|
article.title
|
|
@@ -9097,7 +9668,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9097
9668
|
|
|
9098
9669
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9099
9670
|
if (biography) {
|
|
9100
|
-
return
|
|
9671
|
+
return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9101
9672
|
}
|
|
9102
9673
|
};
|
|
9103
9674
|
|
|
@@ -9183,7 +9754,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9183
9754
|
//console.log('useLayoutEffect')
|
|
9184
9755
|
if (!firstLoad) {
|
|
9185
9756
|
setUpArrowClicked(false);
|
|
9186
|
-
if (
|
|
9757
|
+
if (main_43) {
|
|
9187
9758
|
grabLoadedAds();
|
|
9188
9759
|
} else {
|
|
9189
9760
|
scrollToArticle();
|
|
@@ -9207,7 +9778,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9207
9778
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
9208
9779
|
if (pageview) pageview(path);
|
|
9209
9780
|
|
|
9210
|
-
if (!
|
|
9781
|
+
if (!main_43) {
|
|
9211
9782
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9212
9783
|
if (window.googletag && googletag.pubadsReady) {
|
|
9213
9784
|
lib_3.refresh();
|
|
@@ -9215,7 +9786,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9215
9786
|
});
|
|
9216
9787
|
}
|
|
9217
9788
|
//Refresh leaderboard ad on mobile
|
|
9218
|
-
if (
|
|
9789
|
+
if (main_43) {
|
|
9219
9790
|
var leaderboardSlotId = '';
|
|
9220
9791
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9221
9792
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -9255,40 +9826,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9255
9826
|
setSensorVisible(false);
|
|
9256
9827
|
};
|
|
9257
9828
|
|
|
9258
|
-
return
|
|
9259
|
-
|
|
9829
|
+
return React__default.createElement(
|
|
9830
|
+
React__default.Fragment,
|
|
9260
9831
|
null,
|
|
9261
|
-
|
|
9832
|
+
React__default.createElement(
|
|
9262
9833
|
'div',
|
|
9263
9834
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9264
|
-
|
|
9835
|
+
React__default.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9265
9836
|
return handleArrowClick();
|
|
9266
9837
|
} })
|
|
9267
9838
|
),
|
|
9268
|
-
|
|
9269
|
-
|
|
9839
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9840
|
+
React__default.createElement(
|
|
9270
9841
|
'div',
|
|
9271
9842
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9272
|
-
|
|
9843
|
+
React__default.createElement(
|
|
9273
9844
|
'h5',
|
|
9274
9845
|
{ className: 'objective-title' },
|
|
9275
9846
|
nodes.seriesTitle
|
|
9276
9847
|
),
|
|
9277
|
-
|
|
9848
|
+
React__default.createElement(
|
|
9278
9849
|
'div',
|
|
9279
9850
|
{ className: 'prevNextWrapper' },
|
|
9280
9851
|
PrevNextCards(false, -1)
|
|
9281
9852
|
)
|
|
9282
9853
|
),
|
|
9283
|
-
|
|
9284
|
-
|
|
9854
|
+
React__default.createElement('hr', { className: 'article-seperater' }),
|
|
9855
|
+
React__default.createElement(
|
|
9285
9856
|
'div',
|
|
9286
9857
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9287
9858
|
Articles.map(function (article, index) {
|
|
9288
|
-
return
|
|
9859
|
+
return React__default.createElement(
|
|
9289
9860
|
'div',
|
|
9290
9861
|
{ key: article.title },
|
|
9291
|
-
|
|
9862
|
+
React__default.createElement(
|
|
9292
9863
|
InscreenSensor,
|
|
9293
9864
|
{
|
|
9294
9865
|
visible: sensorVisible,
|
|
@@ -9306,82 +9877,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9306
9877
|
}
|
|
9307
9878
|
}
|
|
9308
9879
|
} },
|
|
9309
|
-
|
|
9880
|
+
React__default.createElement(
|
|
9310
9881
|
Head,
|
|
9311
9882
|
null,
|
|
9312
|
-
currentTitle !== null &&
|
|
9883
|
+
currentTitle !== null && React__default.createElement(
|
|
9313
9884
|
'title',
|
|
9314
9885
|
{ key: 'title' },
|
|
9315
9886
|
currentTitle
|
|
9316
9887
|
),
|
|
9317
|
-
currentSummary !== null &&
|
|
9318
|
-
currentURL !== null &&
|
|
9319
|
-
currentTitle !== null &&
|
|
9320
|
-
currentThumbnail !== null &&
|
|
9321
|
-
currentSummary !== null &&
|
|
9322
|
-
currentTitle !== null &&
|
|
9323
|
-
currentThumbnail !== null &&
|
|
9324
|
-
currentSummary !== null &&
|
|
9888
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9889
|
+
currentURL !== null && React__default.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9890
|
+
currentTitle !== null && React__default.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9891
|
+
currentThumbnail !== null && React__default.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9892
|
+
currentSummary !== null && React__default.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9893
|
+
currentTitle !== null && React__default.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9894
|
+
currentThumbnail !== null && React__default.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9895
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9325
9896
|
),
|
|
9326
|
-
|
|
9897
|
+
React__default.createElement(
|
|
9327
9898
|
'article',
|
|
9328
9899
|
{ className: 'article-wrapper' },
|
|
9329
|
-
|
|
9900
|
+
React__default.createElement(
|
|
9330
9901
|
'div',
|
|
9331
9902
|
{ className: 'article-publishDate' },
|
|
9332
9903
|
moment(article.published).format('LL')
|
|
9333
9904
|
),
|
|
9334
|
-
|
|
9905
|
+
React__default.createElement(
|
|
9335
9906
|
'div',
|
|
9336
9907
|
{ className: 'author-details-wrapper' },
|
|
9337
9908
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9338
|
-
return
|
|
9909
|
+
return React__default.createElement(
|
|
9339
9910
|
'span',
|
|
9340
9911
|
{ key: index },
|
|
9341
9912
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9342
9913
|
);
|
|
9343
9914
|
})
|
|
9344
9915
|
),
|
|
9345
|
-
|
|
9916
|
+
React__default.createElement(
|
|
9346
9917
|
'h2',
|
|
9347
9918
|
{ className: 'article-title' },
|
|
9348
9919
|
article.title
|
|
9349
9920
|
),
|
|
9350
|
-
|
|
9921
|
+
React__default.createElement(
|
|
9351
9922
|
'div',
|
|
9352
9923
|
{ className: 'mt-2 mb-2' },
|
|
9353
|
-
|
|
9924
|
+
React__default.createElement(BlockContent, _extends({
|
|
9354
9925
|
serializers: getSerializers,
|
|
9355
9926
|
videoAccountIDs: accountIDs,
|
|
9356
9927
|
blocks: article.text,
|
|
9357
9928
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9358
9929
|
}, client.config())),
|
|
9359
|
-
|
|
9930
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' })
|
|
9360
9931
|
),
|
|
9361
|
-
Articles.length > 1 &&
|
|
9362
|
-
|
|
9932
|
+
Articles.length > 1 && React__default.createElement(
|
|
9933
|
+
React__default.Fragment,
|
|
9363
9934
|
null,
|
|
9364
|
-
|
|
9935
|
+
React__default.createElement(
|
|
9365
9936
|
'div',
|
|
9366
9937
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9367
|
-
|
|
9938
|
+
React__default.createElement(
|
|
9368
9939
|
'h5',
|
|
9369
9940
|
{ className: 'objective-title' },
|
|
9370
9941
|
nodes.seriesTitle
|
|
9371
9942
|
),
|
|
9372
|
-
|
|
9943
|
+
React__default.createElement(
|
|
9373
9944
|
'div',
|
|
9374
9945
|
{ className: 'prevNextWrapper' },
|
|
9375
9946
|
PrevNextCards(true, index)
|
|
9376
9947
|
)
|
|
9377
9948
|
),
|
|
9378
|
-
|
|
9949
|
+
React__default.createElement('hr', { className: 'article-seperater' })
|
|
9379
9950
|
)
|
|
9380
9951
|
)
|
|
9381
9952
|
)
|
|
9382
9953
|
);
|
|
9383
9954
|
}),
|
|
9384
|
-
|
|
9955
|
+
React__default.createElement(
|
|
9385
9956
|
'style',
|
|
9386
9957
|
{ jsx: 'true' },
|
|
9387
9958
|
'\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 '
|
|
@@ -9411,11 +9982,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9411
9982
|
};
|
|
9412
9983
|
}, [handleClickOutside]);
|
|
9413
9984
|
|
|
9414
|
-
return
|
|
9985
|
+
return React__default.createElement(
|
|
9415
9986
|
'div',
|
|
9416
9987
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9417
|
-
|
|
9418
|
-
|
|
9988
|
+
React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9989
|
+
React__default.createElement(
|
|
9419
9990
|
'style',
|
|
9420
9991
|
{ jsx: 'true' },
|
|
9421
9992
|
'\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 '
|
|
@@ -9429,7 +10000,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9429
10000
|
}
|
|
9430
10001
|
};
|
|
9431
10002
|
|
|
9432
|
-
var FigureImage =
|
|
10003
|
+
var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
9433
10004
|
var node = _ref2.node,
|
|
9434
10005
|
client = _ref2.client,
|
|
9435
10006
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9437,13 +10008,13 @@ var FigureImage = React.memo(function (_ref2) {
|
|
|
9437
10008
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9438
10009
|
|
|
9439
10010
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9440
|
-
return
|
|
10011
|
+
return React__default.createElement(
|
|
9441
10012
|
'picture',
|
|
9442
10013
|
null,
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
10014
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
10015
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
10016
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
10017
|
+
React__default.createElement('img', _extends({
|
|
9447
10018
|
style: figureImageStyle,
|
|
9448
10019
|
className: 'figure-image',
|
|
9449
10020
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9494,30 +10065,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9494
10065
|
|
|
9495
10066
|
var renderTooltip = function renderTooltip(props) {
|
|
9496
10067
|
if (infoBox[0].title) {
|
|
9497
|
-
return
|
|
10068
|
+
return React__default.createElement(
|
|
9498
10069
|
Popover,
|
|
9499
10070
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9500
|
-
|
|
10071
|
+
React__default.createElement(
|
|
9501
10072
|
Popover.Title,
|
|
9502
10073
|
{ as: 'h3' },
|
|
9503
10074
|
infoBox[0].title
|
|
9504
10075
|
),
|
|
9505
|
-
|
|
10076
|
+
React__default.createElement(
|
|
9506
10077
|
Popover.Content,
|
|
9507
10078
|
null,
|
|
9508
|
-
|
|
10079
|
+
React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9509
10080
|
)
|
|
9510
10081
|
);
|
|
9511
10082
|
} else {
|
|
9512
|
-
return
|
|
10083
|
+
return React__default.createElement(
|
|
9513
10084
|
Tooltip,
|
|
9514
10085
|
_extends({ id: 'button-tooltip' }, props),
|
|
9515
|
-
|
|
10086
|
+
React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9516
10087
|
);
|
|
9517
10088
|
}
|
|
9518
10089
|
};
|
|
9519
10090
|
|
|
9520
|
-
var FigureImageWOverLay =
|
|
10091
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9521
10092
|
var node = _ref3.node,
|
|
9522
10093
|
client = _ref3.client,
|
|
9523
10094
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9525,32 +10096,32 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9525
10096
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9526
10097
|
|
|
9527
10098
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9528
|
-
var triggerAction =
|
|
9529
|
-
var placementLocation =
|
|
9530
|
-
return
|
|
10099
|
+
var triggerAction = main_42 ? 'click' : 'hover';
|
|
10100
|
+
var placementLocation = main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
10101
|
+
return React__default.createElement(
|
|
9531
10102
|
'picture',
|
|
9532
10103
|
null,
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
10104
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
10105
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
10106
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
10107
|
+
main_42 && link ? React__default.createElement('img', _extends({
|
|
9537
10108
|
style: figureImageStyle,
|
|
9538
10109
|
className: 'figure-image',
|
|
9539
10110
|
src: urlFor({ source: node, client: client }),
|
|
9540
10111
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9541
|
-
}, !link && !
|
|
10112
|
+
}, !link && !main_42 && {
|
|
9542
10113
|
onClick: function onClick() {
|
|
9543
10114
|
return handleClickFigure(node, client);
|
|
9544
10115
|
}
|
|
9545
|
-
})) :
|
|
10116
|
+
})) : React__default.createElement(
|
|
9546
10117
|
OverlayTrigger,
|
|
9547
10118
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9548
|
-
|
|
10119
|
+
React__default.createElement('img', _extends({
|
|
9549
10120
|
style: figureImageStyle,
|
|
9550
10121
|
className: 'figure-image',
|
|
9551
10122
|
src: urlFor({ source: node, client: client }),
|
|
9552
10123
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9553
|
-
}, !link && !
|
|
10124
|
+
}, !link && !main_42 && {
|
|
9554
10125
|
onClick: function onClick() {
|
|
9555
10126
|
return handleClickFigure(node, client);
|
|
9556
10127
|
}
|
|
@@ -9599,13 +10170,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9599
10170
|
|
|
9600
10171
|
var FigureCaption = useCallback(function () {
|
|
9601
10172
|
if (imgcaption && imgcaption.length > 0) {
|
|
9602
|
-
return
|
|
10173
|
+
return React__default.createElement(
|
|
9603
10174
|
'div',
|
|
9604
10175
|
{ className: 'figure-caption' },
|
|
9605
|
-
|
|
10176
|
+
React__default.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9606
10177
|
);
|
|
9607
10178
|
} else if (caption) {
|
|
9608
|
-
return
|
|
10179
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9609
10180
|
} else return null;
|
|
9610
10181
|
}, [caption, imgcaption]);
|
|
9611
10182
|
|
|
@@ -9622,24 +10193,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9622
10193
|
setShowLightbox(true);
|
|
9623
10194
|
}, [node, client]);
|
|
9624
10195
|
|
|
9625
|
-
return
|
|
9626
|
-
|
|
10196
|
+
return React__default.createElement(
|
|
10197
|
+
React__default.Fragment,
|
|
9627
10198
|
null,
|
|
9628
|
-
infoBox.length >= 1 ?
|
|
10199
|
+
infoBox.length >= 1 ? React__default.createElement(
|
|
9629
10200
|
Figure$2,
|
|
9630
10201
|
{ className: '' + class_name, style: figureStyle },
|
|
9631
|
-
link ?
|
|
10202
|
+
link ? React__default.createElement(
|
|
9632
10203
|
'a',
|
|
9633
10204
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
) :
|
|
9637
|
-
|
|
10205
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
10206
|
+
React__default.createElement(FigureCaption, null)
|
|
10207
|
+
) : React__default.createElement(
|
|
10208
|
+
React__default.Fragment,
|
|
9638
10209
|
null,
|
|
9639
|
-
|
|
9640
|
-
|
|
10210
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
10211
|
+
React__default.createElement(FigureCaption, null)
|
|
9641
10212
|
),
|
|
9642
|
-
|
|
10213
|
+
React__default.createElement(LightBox, {
|
|
9643
10214
|
showLightbox: showLightbox,
|
|
9644
10215
|
lightboxImgSrc: lightboxImgSrc,
|
|
9645
10216
|
closeLightbox: function closeLightbox() {
|
|
@@ -9647,21 +10218,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9647
10218
|
setShowLightbox(false);
|
|
9648
10219
|
}
|
|
9649
10220
|
})
|
|
9650
|
-
) :
|
|
10221
|
+
) : React__default.createElement(
|
|
9651
10222
|
Figure$2,
|
|
9652
10223
|
{ className: '' + class_name, style: figureStyle },
|
|
9653
|
-
link ?
|
|
10224
|
+
link ? React__default.createElement(
|
|
9654
10225
|
'a',
|
|
9655
10226
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
) :
|
|
9659
|
-
|
|
10227
|
+
React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
10228
|
+
React__default.createElement(FigureCaption, null)
|
|
10229
|
+
) : React__default.createElement(
|
|
10230
|
+
React__default.Fragment,
|
|
9660
10231
|
null,
|
|
9661
|
-
|
|
9662
|
-
|
|
10232
|
+
React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
10233
|
+
React__default.createElement(FigureCaption, null)
|
|
9663
10234
|
),
|
|
9664
|
-
|
|
10235
|
+
React__default.createElement(LightBox, {
|
|
9665
10236
|
showLightbox: showLightbox,
|
|
9666
10237
|
lightboxImgSrc: lightboxImgSrc,
|
|
9667
10238
|
closeLightbox: function closeLightbox() {
|
|
@@ -9670,7 +10241,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9670
10241
|
}
|
|
9671
10242
|
})
|
|
9672
10243
|
),
|
|
9673
|
-
|
|
10244
|
+
React__default.createElement(
|
|
9674
10245
|
'style',
|
|
9675
10246
|
{ jsx: 'true' },
|
|
9676
10247
|
'\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 '
|
|
@@ -9678,7 +10249,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9678
10249
|
);
|
|
9679
10250
|
};
|
|
9680
10251
|
|
|
9681
|
-
var Figure =
|
|
10252
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
9682
10253
|
|
|
9683
10254
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9684
10255
|
useEffect(function () {
|
|
@@ -9695,7 +10266,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9695
10266
|
}, [ref]);
|
|
9696
10267
|
}
|
|
9697
10268
|
|
|
9698
|
-
var FigureImage
|
|
10269
|
+
var FigureImage = React__default.memo(function (_ref) {
|
|
9699
10270
|
var imagesCount = _ref.imagesCount,
|
|
9700
10271
|
image = _ref.image,
|
|
9701
10272
|
client = _ref.client,
|
|
@@ -9703,13 +10274,13 @@ var FigureImage$1 = React.memo(function (_ref) {
|
|
|
9703
10274
|
link = _ref.link,
|
|
9704
10275
|
handleClickFigure = _ref.handleClickFigure;
|
|
9705
10276
|
|
|
9706
|
-
return
|
|
10277
|
+
return React__default.createElement(
|
|
9707
10278
|
'picture',
|
|
9708
10279
|
null,
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
10280
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
10281
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
10282
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
10283
|
+
React__default.createElement('img', _extends({
|
|
9713
10284
|
'images-count': imagesCount,
|
|
9714
10285
|
className: 'multi-figure-image',
|
|
9715
10286
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9746,13 +10317,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9746
10317
|
imgcaption = _ref2.imgcaption;
|
|
9747
10318
|
|
|
9748
10319
|
if (imgcaption && imgcaption.length > 0) {
|
|
9749
|
-
return
|
|
10320
|
+
return React__default.createElement(
|
|
9750
10321
|
'div',
|
|
9751
10322
|
{ className: 'multi-figure-caption' },
|
|
9752
|
-
|
|
10323
|
+
React__default.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9753
10324
|
);
|
|
9754
10325
|
} else if (caption) {
|
|
9755
|
-
return
|
|
10326
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9756
10327
|
} else return null;
|
|
9757
10328
|
};
|
|
9758
10329
|
|
|
@@ -9761,7 +10332,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9761
10332
|
setOpenImg(true);
|
|
9762
10333
|
}, [client]);
|
|
9763
10334
|
|
|
9764
|
-
var FigureImageWOverLay =
|
|
10335
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9765
10336
|
var imagesCount = _ref3.imagesCount,
|
|
9766
10337
|
image = _ref3.image,
|
|
9767
10338
|
client = _ref3.client,
|
|
@@ -9769,32 +10340,32 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9769
10340
|
link = _ref3.link,
|
|
9770
10341
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9771
10342
|
|
|
9772
|
-
var triggerAction =
|
|
9773
|
-
var placementLocation =
|
|
9774
|
-
return
|
|
10343
|
+
var triggerAction = main_42 ? 'click' : 'hover';
|
|
10344
|
+
var placementLocation = main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
10345
|
+
return React__default.createElement(
|
|
9775
10346
|
'picture',
|
|
9776
10347
|
null,
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
|
|
10348
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
10349
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
10350
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
10351
|
+
main_42 && link ? React__default.createElement('img', _extends({
|
|
9781
10352
|
'images-count': imagesCount,
|
|
9782
10353
|
className: 'multi-figure-image',
|
|
9783
10354
|
src: urlFor({ source: image, client: client }),
|
|
9784
10355
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9785
|
-
}, !link && !
|
|
10356
|
+
}, !link && !main_42 && {
|
|
9786
10357
|
onClick: function onClick() {
|
|
9787
10358
|
return handleClickFigure(image, client);
|
|
9788
10359
|
}
|
|
9789
|
-
})) :
|
|
10360
|
+
})) : React__default.createElement(
|
|
9790
10361
|
OverlayTrigger,
|
|
9791
10362
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9792
|
-
|
|
10363
|
+
React__default.createElement('img', _extends({
|
|
9793
10364
|
'images-count': imagesCount,
|
|
9794
10365
|
className: 'multi-figure-image',
|
|
9795
10366
|
src: urlFor({ source: image, client: client }),
|
|
9796
10367
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9797
|
-
}, !link && !
|
|
10368
|
+
}, !link && !main_42 && {
|
|
9798
10369
|
onClick: function onClick() {
|
|
9799
10370
|
return handleClickFigure(image, client);
|
|
9800
10371
|
}
|
|
@@ -9805,102 +10376,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9805
10376
|
|
|
9806
10377
|
var renderTooltip = function renderTooltip(image) {
|
|
9807
10378
|
if (image.infoBox[0].title) {
|
|
9808
|
-
return
|
|
10379
|
+
return React__default.createElement(
|
|
9809
10380
|
Popover,
|
|
9810
10381
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9811
|
-
|
|
10382
|
+
React__default.createElement(
|
|
9812
10383
|
Popover.Title,
|
|
9813
10384
|
{ as: 'h3' },
|
|
9814
10385
|
image.infoBox[0].title
|
|
9815
10386
|
),
|
|
9816
|
-
|
|
10387
|
+
React__default.createElement(
|
|
9817
10388
|
Popover.Content,
|
|
9818
10389
|
null,
|
|
9819
|
-
|
|
10390
|
+
React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9820
10391
|
)
|
|
9821
10392
|
);
|
|
9822
10393
|
} else {
|
|
9823
|
-
return
|
|
10394
|
+
return React__default.createElement(
|
|
9824
10395
|
Tooltip,
|
|
9825
10396
|
_extends({ id: 'button-tooltip' }, props),
|
|
9826
|
-
|
|
10397
|
+
React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9827
10398
|
);
|
|
9828
10399
|
}
|
|
9829
10400
|
};
|
|
9830
10401
|
|
|
9831
10402
|
if (images && images.length > 0) {
|
|
9832
|
-
return
|
|
10403
|
+
return React__default.createElement(
|
|
9833
10404
|
'div',
|
|
9834
10405
|
{ className: 'multi-figure-container' },
|
|
9835
|
-
|
|
10406
|
+
React__default.createElement(
|
|
9836
10407
|
Row$1,
|
|
9837
10408
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9838
10409
|
images.map(function (image, index) {
|
|
9839
10410
|
if (image.infoBox) {
|
|
9840
|
-
return
|
|
10411
|
+
return React__default.createElement(
|
|
9841
10412
|
Col$1,
|
|
9842
10413
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9843
|
-
image.link ?
|
|
10414
|
+
image.link ? React__default.createElement(
|
|
9844
10415
|
'a',
|
|
9845
10416
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9846
|
-
|
|
10417
|
+
React__default.createElement(
|
|
9847
10418
|
'div',
|
|
9848
10419
|
{ className: 'multi-figure-image-container' },
|
|
9849
|
-
|
|
10420
|
+
React__default.createElement(
|
|
9850
10421
|
LazyLoad,
|
|
9851
10422
|
{ once: true },
|
|
9852
|
-
|
|
10423
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9853
10424
|
),
|
|
9854
|
-
|
|
10425
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9855
10426
|
)
|
|
9856
|
-
) :
|
|
10427
|
+
) : React__default.createElement(
|
|
9857
10428
|
'div',
|
|
9858
10429
|
{ className: 'multi-figure-image-container' },
|
|
9859
|
-
|
|
10430
|
+
React__default.createElement(
|
|
9860
10431
|
LazyLoad,
|
|
9861
10432
|
{ once: true },
|
|
9862
|
-
|
|
10433
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9863
10434
|
),
|
|
9864
|
-
|
|
10435
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9865
10436
|
)
|
|
9866
10437
|
);
|
|
9867
10438
|
} else {
|
|
9868
|
-
return
|
|
10439
|
+
return React__default.createElement(
|
|
9869
10440
|
Col$1,
|
|
9870
10441
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9871
|
-
image.link ?
|
|
10442
|
+
image.link ? React__default.createElement(
|
|
9872
10443
|
'a',
|
|
9873
10444
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9874
|
-
|
|
10445
|
+
React__default.createElement(
|
|
9875
10446
|
'div',
|
|
9876
10447
|
{ className: 'multi-figure-image-container' },
|
|
9877
|
-
|
|
10448
|
+
React__default.createElement(
|
|
9878
10449
|
LazyLoad,
|
|
9879
10450
|
{ once: true },
|
|
9880
|
-
|
|
10451
|
+
React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9881
10452
|
),
|
|
9882
|
-
|
|
10453
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9883
10454
|
)
|
|
9884
|
-
) :
|
|
10455
|
+
) : React__default.createElement(
|
|
9885
10456
|
'div',
|
|
9886
10457
|
{ className: 'multi-figure-image-container' },
|
|
9887
|
-
|
|
10458
|
+
React__default.createElement(
|
|
9888
10459
|
LazyLoad,
|
|
9889
10460
|
{ once: true },
|
|
9890
|
-
|
|
10461
|
+
React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9891
10462
|
),
|
|
9892
|
-
|
|
10463
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9893
10464
|
)
|
|
9894
10465
|
);
|
|
9895
10466
|
}
|
|
9896
10467
|
})
|
|
9897
10468
|
),
|
|
9898
|
-
|
|
10469
|
+
React__default.createElement(
|
|
9899
10470
|
'div',
|
|
9900
10471
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9901
|
-
|
|
10472
|
+
React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9902
10473
|
),
|
|
9903
|
-
|
|
10474
|
+
React__default.createElement(
|
|
9904
10475
|
'style',
|
|
9905
10476
|
{ jsx: 'true' },
|
|
9906
10477
|
'\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 '
|
|
@@ -9949,23 +10520,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9949
10520
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9950
10521
|
}, []);
|
|
9951
10522
|
|
|
9952
|
-
return
|
|
9953
|
-
|
|
10523
|
+
return React__default.createElement(
|
|
10524
|
+
React__default.Fragment,
|
|
9954
10525
|
null,
|
|
9955
|
-
|
|
10526
|
+
React__default.createElement(
|
|
9956
10527
|
Head,
|
|
9957
10528
|
null,
|
|
9958
|
-
|
|
10529
|
+
React__default.createElement('script', {
|
|
9959
10530
|
dangerouslySetInnerHTML: {
|
|
9960
10531
|
__html: 'history.scrollRestoration = "manual"'
|
|
9961
10532
|
}
|
|
9962
10533
|
})
|
|
9963
10534
|
),
|
|
9964
|
-
|
|
10535
|
+
React__default.createElement(
|
|
9965
10536
|
'div',
|
|
9966
10537
|
{ id: elementId },
|
|
9967
|
-
|
|
9968
|
-
|
|
10538
|
+
React__default.createElement(BlockContent, { blocks: content, serializers: getSerializers }),
|
|
10539
|
+
React__default.createElement(
|
|
9969
10540
|
'style',
|
|
9970
10541
|
{ jsx: 'true' },
|
|
9971
10542
|
'\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 '
|
|
@@ -9974,6 +10545,258 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9974
10545
|
);
|
|
9975
10546
|
};
|
|
9976
10547
|
|
|
10548
|
+
var objectWithoutProperties = createCommonjsModule(function (module, exports) {
|
|
10549
|
+
|
|
10550
|
+
exports.__esModule = true;
|
|
10551
|
+
|
|
10552
|
+
exports.default = function (obj, keys) {
|
|
10553
|
+
var target = {};
|
|
10554
|
+
|
|
10555
|
+
for (var i in obj) {
|
|
10556
|
+
if (keys.indexOf(i) >= 0) continue;
|
|
10557
|
+
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
10558
|
+
target[i] = obj[i];
|
|
10559
|
+
}
|
|
10560
|
+
|
|
10561
|
+
return target;
|
|
10562
|
+
};
|
|
10563
|
+
});
|
|
10564
|
+
|
|
10565
|
+
unwrapExports(objectWithoutProperties);
|
|
10566
|
+
|
|
10567
|
+
var ScriptTag_1 = createCommonjsModule(function (module, exports) {
|
|
10568
|
+
|
|
10569
|
+
exports.__esModule = true;
|
|
10570
|
+
|
|
10571
|
+
|
|
10572
|
+
|
|
10573
|
+
var _extends3 = _interopRequireDefault(_extends$1);
|
|
10574
|
+
|
|
10575
|
+
|
|
10576
|
+
|
|
10577
|
+
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
10578
|
+
|
|
10579
|
+
|
|
10580
|
+
|
|
10581
|
+
var _classCallCheck3 = _interopRequireDefault(classCallCheck);
|
|
10582
|
+
|
|
10583
|
+
|
|
10584
|
+
|
|
10585
|
+
var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
|
|
10586
|
+
|
|
10587
|
+
|
|
10588
|
+
|
|
10589
|
+
var _inherits3 = _interopRequireDefault(inherits$2);
|
|
10590
|
+
|
|
10591
|
+
|
|
10592
|
+
|
|
10593
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
10594
|
+
|
|
10595
|
+
|
|
10596
|
+
|
|
10597
|
+
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
10598
|
+
|
|
10599
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10600
|
+
var noop = function noop() {};
|
|
10601
|
+
|
|
10602
|
+
var ScriptTag = function (_Component) {
|
|
10603
|
+
(0, _inherits3.default)(ScriptTag, _Component);
|
|
10604
|
+
|
|
10605
|
+
ScriptTag.removeNode = function removeNode(node) {
|
|
10606
|
+
if (node) {
|
|
10607
|
+
node.parentNode.removeChild(node);
|
|
10608
|
+
}
|
|
10609
|
+
};
|
|
10610
|
+
|
|
10611
|
+
function ScriptTag(props, context) {
|
|
10612
|
+
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
10613
|
+
|
|
10614
|
+
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
10615
|
+
|
|
10616
|
+
_this.domRef = null;
|
|
10617
|
+
_this.state = {
|
|
10618
|
+
isHydrated: props.isHydrating,
|
|
10619
|
+
additionalNode: null,
|
|
10620
|
+
removeAdditionalNode: null
|
|
10621
|
+
};
|
|
10622
|
+
return _this;
|
|
10623
|
+
}
|
|
10624
|
+
|
|
10625
|
+
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
10626
|
+
var _props = this.props,
|
|
10627
|
+
onError = _props.onError,
|
|
10628
|
+
onLoad = _props.onLoad,
|
|
10629
|
+
nonce = _props.nonce;
|
|
10630
|
+
|
|
10631
|
+
// Create a new HTML script element
|
|
10632
|
+
|
|
10633
|
+
var newElement = document.createElement("script");
|
|
10634
|
+
|
|
10635
|
+
// Copy all attribute values
|
|
10636
|
+
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
10637
|
+
var attr = this.domRef.attributes[i];
|
|
10638
|
+
if (attr.nodeName === 'nonce') {
|
|
10639
|
+
// The browser clears the nonce value - grab from props
|
|
10640
|
+
newElement.setAttribute(attr.nodeName, nonce);
|
|
10641
|
+
} else {
|
|
10642
|
+
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
10643
|
+
}
|
|
10644
|
+
}
|
|
10645
|
+
|
|
10646
|
+
// Copy the inner script
|
|
10647
|
+
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
10648
|
+
newElement.innerHTML = this.domRef.innerHTML;
|
|
10649
|
+
}
|
|
10650
|
+
|
|
10651
|
+
// Bind event listeners
|
|
10652
|
+
newElement.addEventListener('load', onLoad);
|
|
10653
|
+
newElement.addEventListener('error', onError);
|
|
10654
|
+
|
|
10655
|
+
// Append the new script tag
|
|
10656
|
+
this.domRef.parentNode.appendChild(newElement);
|
|
10657
|
+
return newElement;
|
|
10658
|
+
};
|
|
10659
|
+
|
|
10660
|
+
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
10661
|
+
var isHydrated = this.state.isHydrated;
|
|
10662
|
+
|
|
10663
|
+
if (isHydrated) {
|
|
10664
|
+
// was rendered on server, don't replace elements when hydrating
|
|
10665
|
+
return;
|
|
10666
|
+
}
|
|
10667
|
+
|
|
10668
|
+
this.setState({
|
|
10669
|
+
additionalNode: this.appendAdditionalElement(),
|
|
10670
|
+
removeAdditionalNode: null
|
|
10671
|
+
});
|
|
10672
|
+
};
|
|
10673
|
+
|
|
10674
|
+
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
10675
|
+
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
10676
|
+
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
10677
|
+
|
|
10678
|
+
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
10679
|
+
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
10680
|
+
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
10681
|
+
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
10682
|
+
// This really complicates the component - for now we'll leave it as is.
|
|
10683
|
+
var _props2 = this.props,
|
|
10684
|
+
src = _props2.src,
|
|
10685
|
+
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
10686
|
+
|
|
10687
|
+
if (src && src === nextProps.src) {
|
|
10688
|
+
// The 'src' attribute has not changed
|
|
10689
|
+
return;
|
|
10690
|
+
}
|
|
10691
|
+
|
|
10692
|
+
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
10693
|
+
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
10694
|
+
return;
|
|
10695
|
+
}
|
|
10696
|
+
|
|
10697
|
+
this.setState({
|
|
10698
|
+
removeAdditionalNode: this.state.additionalNode,
|
|
10699
|
+
additionalNode: null
|
|
10700
|
+
});
|
|
10701
|
+
};
|
|
10702
|
+
|
|
10703
|
+
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
10704
|
+
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
10705
|
+
};
|
|
10706
|
+
|
|
10707
|
+
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
10708
|
+
var _state = this.state,
|
|
10709
|
+
additionalNode = _state.additionalNode,
|
|
10710
|
+
removeAdditionalNode = _state.removeAdditionalNode;
|
|
10711
|
+
|
|
10712
|
+
if (additionalNode === null) {
|
|
10713
|
+
this.setState({
|
|
10714
|
+
additionalNode: this.appendAdditionalElement()
|
|
10715
|
+
});
|
|
10716
|
+
}
|
|
10717
|
+
|
|
10718
|
+
if (removeAdditionalNode !== null) {
|
|
10719
|
+
// Was removed in 'componentWillUpdate', but can not update state there
|
|
10720
|
+
this.setState({
|
|
10721
|
+
removeAdditionalNode: null
|
|
10722
|
+
});
|
|
10723
|
+
}
|
|
10724
|
+
};
|
|
10725
|
+
|
|
10726
|
+
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
10727
|
+
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
10728
|
+
ScriptTag.removeNode(this.state.additionalNode);
|
|
10729
|
+
};
|
|
10730
|
+
|
|
10731
|
+
ScriptTag.prototype.render = function render() {
|
|
10732
|
+
var _this2 = this;
|
|
10733
|
+
|
|
10734
|
+
var additionalNode = this.state.additionalNode;
|
|
10735
|
+
|
|
10736
|
+
if (additionalNode !== null) {
|
|
10737
|
+
return null;
|
|
10738
|
+
}
|
|
10739
|
+
|
|
10740
|
+
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10741
|
+
// eslint-disable-next-line no-unused-vars
|
|
10742
|
+
var _props3 = this.props;
|
|
10743
|
+
_props3.isHydrating;
|
|
10744
|
+
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10745
|
+
|
|
10746
|
+
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10747
|
+
return _this2.domRef = tag;
|
|
10748
|
+
} }));
|
|
10749
|
+
};
|
|
10750
|
+
|
|
10751
|
+
return ScriptTag;
|
|
10752
|
+
}(React__default.Component);
|
|
10753
|
+
|
|
10754
|
+
ScriptTag.propTypes = {
|
|
10755
|
+
/**
|
|
10756
|
+
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
10757
|
+
*/
|
|
10758
|
+
isHydrating: _propTypes2.default.bool,
|
|
10759
|
+
|
|
10760
|
+
// Standard <script> tag props
|
|
10761
|
+
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
10762
|
+
crossOrigin: _propTypes2.default.string,
|
|
10763
|
+
defer: _propTypes2.default.bool,
|
|
10764
|
+
integrity: _propTypes2.default.string,
|
|
10765
|
+
nonce: _propTypes2.default.string,
|
|
10766
|
+
src: _propTypes2.default.string,
|
|
10767
|
+
text: _propTypes2.default.string,
|
|
10768
|
+
type: _propTypes2.default.string,
|
|
10769
|
+
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
10770
|
+
|
|
10771
|
+
// globals
|
|
10772
|
+
onError: _propTypes2.default.func,
|
|
10773
|
+
onLoad: _propTypes2.default.func
|
|
10774
|
+
};
|
|
10775
|
+
ScriptTag.defaultProps = {
|
|
10776
|
+
isHydrating: false,
|
|
10777
|
+
onError: noop,
|
|
10778
|
+
onLoad: noop
|
|
10779
|
+
};
|
|
10780
|
+
exports.default = ScriptTag;
|
|
10781
|
+
});
|
|
10782
|
+
|
|
10783
|
+
unwrapExports(ScriptTag_1);
|
|
10784
|
+
|
|
10785
|
+
var lib = createCommonjsModule(function (module, exports) {
|
|
10786
|
+
|
|
10787
|
+
exports.__esModule = true;
|
|
10788
|
+
|
|
10789
|
+
|
|
10790
|
+
|
|
10791
|
+
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
10792
|
+
|
|
10793
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10794
|
+
|
|
10795
|
+
exports.default = _ScriptTag2.default;
|
|
10796
|
+
});
|
|
10797
|
+
|
|
10798
|
+
var ScriptTag = unwrapExports(lib);
|
|
10799
|
+
|
|
9977
10800
|
var enterpriseDomainName = 'mjhlifesciences';
|
|
9978
10801
|
|
|
9979
10802
|
var FormAssembly = function FormAssembly(props) {
|
|
@@ -10018,11 +10841,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10018
10841
|
}, [anonymousID]);
|
|
10019
10842
|
|
|
10020
10843
|
if (iframeSrc) {
|
|
10021
|
-
return
|
|
10844
|
+
return React__default.createElement(
|
|
10022
10845
|
'section',
|
|
10023
10846
|
{ className: 'form-assembly' },
|
|
10024
|
-
iframeSrc &&
|
|
10025
|
-
|
|
10847
|
+
iframeSrc && React__default.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10848
|
+
React__default.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10026
10849
|
);
|
|
10027
10850
|
}
|
|
10028
10851
|
|
|
@@ -10059,27 +10882,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10059
10882
|
return window.removeEventListener('resize', handleResize);
|
|
10060
10883
|
};
|
|
10061
10884
|
}, []);
|
|
10062
|
-
return
|
|
10885
|
+
return React__default.createElement(
|
|
10063
10886
|
'div',
|
|
10064
10887
|
{ className: 'blockTableHolder', ref: holder },
|
|
10065
|
-
|
|
10888
|
+
React__default.createElement(
|
|
10066
10889
|
'div',
|
|
10067
10890
|
{ className: 'blockTable' },
|
|
10068
10891
|
rows && rows.map(function (row) {
|
|
10069
|
-
return
|
|
10892
|
+
return React__default.createElement(
|
|
10070
10893
|
'div',
|
|
10071
10894
|
{ className: 'blockTableRow' },
|
|
10072
10895
|
row.cells && row.cells.map(function (cell) {
|
|
10073
|
-
return
|
|
10896
|
+
return React__default.createElement(
|
|
10074
10897
|
'div',
|
|
10075
10898
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10076
|
-
|
|
10899
|
+
React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10077
10900
|
);
|
|
10078
10901
|
})
|
|
10079
10902
|
);
|
|
10080
10903
|
})
|
|
10081
10904
|
),
|
|
10082
|
-
|
|
10905
|
+
React__default.createElement(
|
|
10083
10906
|
'style',
|
|
10084
10907
|
{ jsx: true },
|
|
10085
10908
|
'\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 '
|
|
@@ -10089,11 +10912,11 @@ var BlockTable = function BlockTable(props) {
|
|
|
10089
10912
|
|
|
10090
10913
|
var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
10091
10914
|
var _props$node = props.node,
|
|
10092
|
-
FormID = _props$node.FormID
|
|
10093
|
-
_props$node
|
|
10915
|
+
FormID = _props$node.FormID;
|
|
10916
|
+
_props$node.needSegmentSupport;
|
|
10094
10917
|
|
|
10095
10918
|
|
|
10096
|
-
return
|
|
10919
|
+
return React__default.createElement('div', { id: FormID });
|
|
10097
10920
|
};
|
|
10098
10921
|
|
|
10099
10922
|
var siteArray = ['aestheticauthority.com', 'cannapatientcare.com', 'chiefhealthcareexecutive.com', 'genetherapylive.com', 'giantsofcancercare.com', 'medicalworldnews.com', 'pbmi.com', 'pharmacytimes.org', 'gotoper.com', 'education.gotoper.com', 'mjhlifesciences.com', 'ajmc.com', 'appliedclinicaltrialsonline.com', 'biopharminternational.com', 'cancernetwork.com', 'cannabissciencetech.com', 'centerforbiosimilars.com', 'chromatographyonline.com', 'contagionlive.com', 'contemporaryclinic.com', 'contemporaryobgyn.net', 'contemporarypediatrics.com', 'curetoday.com', 'dentalproductsreport.com', 'dermatologytimes.com', 'diagnosticimaging.com', 'drugtopics.com', 'dvm360.com', 'endocrinologynetwork.com', 'europe.ophthalmologytimes.com', 'formularywatch.com', 'hcplive.com', 'infectioncontroltoday.com', 'managedhealthcareexecutive.com', 'medicaleconomics.com', 'modernretina.com', 'neurologylive.com', 'nutritionaloutlook.com', 'onclive.com', 'oncnursingnews.com', 'ophthalmologytimes.com', 'optometrytimes.com', 'patientcareonline.com', 'pharmaceuticalcommerce.com', 'pharmacytimes.com', 'pharmexec.com', 'pharmtech.com', 'physicianspractice.com', 'practicalcardiology.com', 'psychiatrictimes.com', 'rheumatologynetwork.com', 'spectroscopyonline.com', 'targetedonc.com', 'turbomachinerymag.com', 'urologytimes.com'];
|
|
@@ -10162,7 +10985,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10162
10985
|
if (href && href.charAt(0) === '#') {
|
|
10163
10986
|
var elementId = href.slice(1);
|
|
10164
10987
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10165
|
-
return
|
|
10988
|
+
return React__default.createElement(
|
|
10166
10989
|
'a',
|
|
10167
10990
|
{ onClick: function onClick() {
|
|
10168
10991
|
return ScrollToElement(elementId);
|
|
@@ -10172,11 +10995,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10172
10995
|
}
|
|
10173
10996
|
|
|
10174
10997
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkBaseUrl(href) ? 'noreferrer noopener' : '');
|
|
10175
|
-
return href ? linkRel.trim().length > 0 ?
|
|
10998
|
+
return href ? linkRel.trim().length > 0 ? React__default.createElement(
|
|
10176
10999
|
'a',
|
|
10177
11000
|
_extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10178
11001
|
children
|
|
10179
|
-
) :
|
|
11002
|
+
) : React__default.createElement(
|
|
10180
11003
|
'a',
|
|
10181
11004
|
_extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10182
11005
|
children
|
|
@@ -10241,12 +11064,12 @@ var getSerializers = function getSerializers() {
|
|
|
10241
11064
|
var node = _ref.node;
|
|
10242
11065
|
var url = node.url;
|
|
10243
11066
|
|
|
10244
|
-
return
|
|
11067
|
+
return React__default.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10245
11068
|
},
|
|
10246
11069
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10247
11070
|
var node = _ref2.node;
|
|
10248
11071
|
|
|
10249
|
-
return
|
|
11072
|
+
return React__default.createElement(YouTubeGallery, {
|
|
10250
11073
|
nodes: node,
|
|
10251
11074
|
article: article,
|
|
10252
11075
|
meta: meta,
|
|
@@ -10260,7 +11083,7 @@ var getSerializers = function getSerializers() {
|
|
|
10260
11083
|
articleSeries: function articleSeries(_ref3) {
|
|
10261
11084
|
var node = _ref3.node;
|
|
10262
11085
|
|
|
10263
|
-
return
|
|
11086
|
+
return React__default.createElement(ArticleSeries, {
|
|
10264
11087
|
nodes: node,
|
|
10265
11088
|
accountIDs: videoAccountIDs || {},
|
|
10266
11089
|
pageview: pageview,
|
|
@@ -10273,61 +11096,61 @@ var getSerializers = function getSerializers() {
|
|
|
10273
11096
|
figure: function figure(_ref4) {
|
|
10274
11097
|
var node = _ref4.node;
|
|
10275
11098
|
|
|
10276
|
-
return
|
|
11099
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10277
11100
|
},
|
|
10278
11101
|
multifigure: function multifigure(_ref5) {
|
|
10279
11102
|
var node = _ref5.node;
|
|
10280
11103
|
|
|
10281
|
-
return
|
|
11104
|
+
return React__default.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10282
11105
|
},
|
|
10283
11106
|
slideshow: function slideshow(_ref6) {
|
|
10284
11107
|
var node = _ref6.node;
|
|
10285
11108
|
var slides = node.slides;
|
|
10286
11109
|
|
|
10287
|
-
return
|
|
11110
|
+
return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10288
11111
|
},
|
|
10289
11112
|
sidebar: function sidebar(_ref7) {
|
|
10290
11113
|
var node = _ref7.node;
|
|
10291
11114
|
var caption = node.caption,
|
|
10292
11115
|
content = node.content;
|
|
10293
11116
|
|
|
10294
|
-
return
|
|
11117
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10295
11118
|
},
|
|
10296
11119
|
datatable: function datatable(_ref8) {
|
|
10297
11120
|
var node = _ref8.node;
|
|
10298
11121
|
var table = node.table;
|
|
10299
11122
|
|
|
10300
|
-
return
|
|
11123
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
10301
11124
|
},
|
|
10302
11125
|
media: function media(_ref9) {
|
|
10303
11126
|
var node = _ref9.node;
|
|
10304
11127
|
|
|
10305
|
-
return
|
|
11128
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
10306
11129
|
},
|
|
10307
11130
|
iframe: function iframe(_ref10) {
|
|
10308
11131
|
var node = _ref10.node;
|
|
10309
11132
|
|
|
10310
|
-
return
|
|
11133
|
+
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10311
11134
|
},
|
|
10312
11135
|
video: function video(_ref11) {
|
|
10313
11136
|
var node = _ref11.node;
|
|
10314
11137
|
|
|
10315
|
-
return
|
|
11138
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10316
11139
|
},
|
|
10317
11140
|
audio: function audio(_ref12) {
|
|
10318
11141
|
var node = _ref12.node;
|
|
10319
11142
|
|
|
10320
|
-
return
|
|
11143
|
+
return React__default.createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10321
11144
|
},
|
|
10322
11145
|
poll: function poll(_ref13) {
|
|
10323
11146
|
var node = _ref13.node;
|
|
10324
11147
|
|
|
10325
|
-
return
|
|
11148
|
+
return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10326
11149
|
},
|
|
10327
11150
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10328
11151
|
var node = _ref14.node;
|
|
10329
11152
|
|
|
10330
|
-
return
|
|
11153
|
+
return React__default.createElement(Poll, {
|
|
10331
11154
|
node: node,
|
|
10332
11155
|
client: client,
|
|
10333
11156
|
pageview: pageview,
|
|
@@ -10341,35 +11164,35 @@ var getSerializers = function getSerializers() {
|
|
|
10341
11164
|
var node = _ref15.node;
|
|
10342
11165
|
var quizzes = node.quizzes;
|
|
10343
11166
|
|
|
10344
|
-
return
|
|
11167
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10345
11168
|
},
|
|
10346
11169
|
leads: function leads(_ref16) {
|
|
10347
11170
|
var node = _ref16.node;
|
|
10348
11171
|
var leadID = node.leadID;
|
|
10349
11172
|
|
|
10350
11173
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10351
|
-
return
|
|
11174
|
+
return React__default.createElement(Leads, { url: url });
|
|
10352
11175
|
},
|
|
10353
11176
|
slideshows: function slideshows(_ref17) {
|
|
10354
11177
|
var node = _ref17.node;
|
|
10355
11178
|
|
|
10356
|
-
return
|
|
11179
|
+
return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10357
11180
|
},
|
|
10358
11181
|
nativeAd: function nativeAd(_ref18) {
|
|
10359
11182
|
var node = _ref18.node;
|
|
10360
11183
|
|
|
10361
|
-
return
|
|
11184
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
10362
11185
|
},
|
|
10363
11186
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10364
11187
|
var node = _ref19.node;
|
|
10365
11188
|
|
|
10366
|
-
return
|
|
11189
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10367
11190
|
},
|
|
10368
11191
|
hrtag: function hrtag() {
|
|
10369
|
-
return
|
|
11192
|
+
return React__default.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10370
11193
|
},
|
|
10371
11194
|
brtag: function brtag() {
|
|
10372
|
-
return
|
|
11195
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
10373
11196
|
},
|
|
10374
11197
|
formstack: function formstack(_ref20) {
|
|
10375
11198
|
var node = _ref20.node;
|
|
@@ -10377,30 +11200,30 @@ var getSerializers = function getSerializers() {
|
|
|
10377
11200
|
Caption = node.Caption,
|
|
10378
11201
|
needSegmentSupport = node.needSegmentSupport;
|
|
10379
11202
|
|
|
10380
|
-
return
|
|
11203
|
+
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10381
11204
|
},
|
|
10382
11205
|
formassembly: FormAssembly,
|
|
10383
11206
|
digiohSmartTag: DigiohSmartTag,
|
|
10384
11207
|
multimedia: function multimedia(_ref21) {
|
|
10385
11208
|
var node = _ref21.node;
|
|
10386
11209
|
|
|
10387
|
-
return
|
|
11210
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
10388
11211
|
},
|
|
10389
11212
|
blockTable: function blockTable(_ref22) {
|
|
10390
11213
|
var node = _ref22.node;
|
|
10391
|
-
return
|
|
11214
|
+
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10392
11215
|
}
|
|
10393
11216
|
},
|
|
10394
11217
|
marks: {
|
|
10395
11218
|
superscript: function superscript(props) {
|
|
10396
|
-
return
|
|
11219
|
+
return React__default.createElement(
|
|
10397
11220
|
'sup',
|
|
10398
11221
|
null,
|
|
10399
11222
|
props.children
|
|
10400
11223
|
);
|
|
10401
11224
|
},
|
|
10402
11225
|
subscript: function subscript(props) {
|
|
10403
|
-
return
|
|
11226
|
+
return React__default.createElement(
|
|
10404
11227
|
'sub',
|
|
10405
11228
|
null,
|
|
10406
11229
|
props.children
|
|
@@ -10410,11 +11233,11 @@ var getSerializers = function getSerializers() {
|
|
|
10410
11233
|
var children = props.children,
|
|
10411
11234
|
mark = props.mark;
|
|
10412
11235
|
|
|
10413
|
-
return
|
|
11236
|
+
return React__default.createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10414
11237
|
},
|
|
10415
11238
|
alignleft: function alignleft(_ref23) {
|
|
10416
11239
|
var children = _ref23.children;
|
|
10417
|
-
return
|
|
11240
|
+
return React__default.createElement(
|
|
10418
11241
|
'div',
|
|
10419
11242
|
{ style: { textAlign: 'left' } },
|
|
10420
11243
|
children
|
|
@@ -10422,7 +11245,7 @@ var getSerializers = function getSerializers() {
|
|
|
10422
11245
|
},
|
|
10423
11246
|
alignright: function alignright(_ref24) {
|
|
10424
11247
|
var children = _ref24.children;
|
|
10425
|
-
return
|
|
11248
|
+
return React__default.createElement(
|
|
10426
11249
|
'div',
|
|
10427
11250
|
{ style: { textAlign: 'right' } },
|
|
10428
11251
|
children
|
|
@@ -10430,7 +11253,7 @@ var getSerializers = function getSerializers() {
|
|
|
10430
11253
|
},
|
|
10431
11254
|
aligncenter: function aligncenter(_ref25) {
|
|
10432
11255
|
var children = _ref25.children;
|
|
10433
|
-
return
|
|
11256
|
+
return React__default.createElement(
|
|
10434
11257
|
'div',
|
|
10435
11258
|
{ style: { textAlign: 'center' } },
|
|
10436
11259
|
children
|
|
@@ -10438,7 +11261,7 @@ var getSerializers = function getSerializers() {
|
|
|
10438
11261
|
},
|
|
10439
11262
|
alignjustify: function alignjustify(_ref26) {
|
|
10440
11263
|
var children = _ref26.children;
|
|
10441
|
-
return
|
|
11264
|
+
return React__default.createElement(
|
|
10442
11265
|
'div',
|
|
10443
11266
|
{ style: { textAlign: 'justify' } },
|
|
10444
11267
|
children
|
|
@@ -10448,7 +11271,7 @@ var getSerializers = function getSerializers() {
|
|
|
10448
11271
|
var children = props.children,
|
|
10449
11272
|
color = props.mark.color;
|
|
10450
11273
|
|
|
10451
|
-
return
|
|
11274
|
+
return React__default.createElement(
|
|
10452
11275
|
'span',
|
|
10453
11276
|
{ style: { color: color ? color.hex : null } },
|
|
10454
11277
|
children
|