@mjhls/mjh-framework 1.0.866-d4d665.2 → 1.0.866
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 +23 -24
- package/dist/cjs/AD300x250x600.js +23 -24
- package/dist/cjs/AD728x90.js +26 -27
- package/dist/cjs/ADFloatingFooter.js +22 -23
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +22 -23
- package/dist/cjs/{ADInfeed-799275aa.js → ADInfeed-f8324b70.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +22 -23
- package/dist/cjs/ADSponsoredResources.js +22 -23
- package/dist/cjs/ADWebcast.js +22 -23
- package/dist/cjs/ADWelcome.js +19 -20
- package/dist/cjs/{ADlgInfeed-591d014e.js → ADlgInfeed-98d7c699.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +23 -24
- package/dist/cjs/AdSlotsProvider.js +13 -14
- package/dist/cjs/AlgoliaSearch.js +30 -14121
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +15 -15
- package/dist/cjs/ArticleProgramLandingPage.js +49 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +32 -33
- package/dist/cjs/ArticleSeriesListing.js +33 -34
- package/dist/cjs/Auth.js +519 -348
- package/dist/cjs/AuthWrapper.js +20 -20
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-c21aac7f.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +24 -25
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +32 -33
- package/dist/cjs/ConferenceArticleCard.js +22 -22
- package/dist/cjs/DeckContent.js +42 -43
- package/dist/cjs/DeckQueue.js +31 -32
- package/dist/cjs/{Dfp-391fd124.js → Dfp-3f0ed4c8.js} +14 -15
- package/dist/cjs/EventsDeck.js +45 -45
- package/dist/cjs/ExternalResources.js +46 -47
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +47 -48
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +37 -37
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -48
- package/dist/cjs/HorizontalHero.js +5 -5
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +17 -17
- package/dist/cjs/IssueLanding.js +84 -85
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +21 -22
- package/dist/cjs/MasterDeck.js +41 -42
- package/dist/cjs/MediaSeriesLanding.js +713 -613
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +41 -41
- package/dist/cjs/NavNative.js +41 -41
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +67 -2796
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +34 -35
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +55 -55
- package/dist/cjs/QueueDeckExpanded.js +40 -41
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +35 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +20 -21
- package/dist/cjs/{SeriesSlider-d38767ae.js → SeriesSlider-e3e8ead7.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +17 -17
- package/dist/cjs/{SocialSearchComponent-9a9d6f8c.js → SocialSearchComponent-948138c7.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +45 -46
- package/dist/cjs/TemplateNormal.js +47 -48
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +14 -14
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +51 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +38 -39
- package/dist/cjs/VideoSeriesListing.js +33 -34
- package/dist/cjs/View.js +90 -92
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +23 -23
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-a195642e.js} +5 -4
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.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/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +14 -14
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -46
- package/dist/cjs/{getTargeting-21103688.js → getTargeting-32d1c2e4.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-2cf30c83.js → index-0e4427c8.js} +470 -5
- package/dist/cjs/{index-4990e6c9.js → index-32097c80.js} +175 -175
- 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-5be2866f.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index.es-13533f24.js → index.es-f3e47207.js} +20 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- 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-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +140 -140
- package/dist/cjs/{inherits-0c7830c5.js → inherits-c2065b95.js} +19 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{moment-66a6a284.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-9d7f610f.js → typeof-88a668c5.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +26 -27
- package/dist/esm/AD300x250x600.js +26 -27
- package/dist/esm/AD728x90.js +29 -30
- package/dist/esm/ADFloatingFooter.js +28 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +28 -29
- package/dist/esm/{ADInfeed-4b8902ae.js → ADInfeed-a71a3972.js} +9 -9
- package/dist/esm/ADSkyscraper.js +28 -29
- package/dist/esm/ADSponsoredResources.js +28 -29
- package/dist/esm/ADWebcast.js +28 -29
- package/dist/esm/ADWelcome.js +29 -30
- package/dist/esm/{ADlgInfeed-5193b48f.js → ADlgInfeed-d94f1437.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +26 -27
- package/dist/esm/AdSlotsProvider.js +14 -15
- package/dist/esm/AlgoliaSearch.js +52 -14143
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +18 -18
- package/dist/esm/ArticleProgramLandingPage.js +55 -56
- package/dist/esm/ArticleSeriesLandingPage.js +37 -38
- package/dist/esm/ArticleSeriesListing.js +56 -57
- package/dist/esm/Auth.js +589 -418
- package/dist/esm/AuthWrapper.js +45 -45
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-30aeba69.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -80
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -27
- package/dist/esm/Column3.js +51 -52
- package/dist/esm/ConferenceArticleCard.js +35 -35
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +86 -87
- package/dist/esm/DeckQueue.js +68 -69
- package/dist/esm/{Dfp-2f9796e1.js → Dfp-be030f2a.js} +22 -23
- package/dist/esm/EventsDeck.js +105 -105
- package/dist/esm/ExternalResources.js +72 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +163 -164
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +114 -114
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -70
- package/dist/esm/HorizontalHero.js +23 -23
- package/dist/esm/IssueContentDeck.js +50 -50
- package/dist/esm/IssueDeck.js +47 -47
- package/dist/esm/IssueLanding.js +92 -93
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +34 -35
- package/dist/esm/MasterDeck.js +73 -74
- package/dist/esm/MediaSeriesLanding.js +725 -625
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +123 -123
- package/dist/esm/NavNative.js +112 -112
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +114 -2842
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -40
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +39 -39
- package/dist/esm/PublicationLanding.js +102 -102
- package/dist/esm/QueueDeckExpanded.js +277 -278
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +48 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -33
- package/dist/esm/{SeriesSlider-b8cc1baa.js → SeriesSlider-ae17159f.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-c54d43cb.js → SocialSearchComponent-db963c3e.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -42
- package/dist/esm/TaxonomyDescription.js +49 -50
- package/dist/esm/TemplateNormal.js +67 -68
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +27 -27
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +63 -64
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -43
- package/dist/esm/VideoSeriesListing.js +72 -73
- package/dist/esm/View.js +246 -248
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-57a70a56.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.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/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -46
- package/dist/esm/{getTargeting-88d69971.js → getTargeting-cf2724e3.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- 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-f7fb1e25.js → index-5cc7b406.js} +472 -7
- package/dist/esm/{index-bec35c6c.js → index-5e84f9cd.js} +573 -573
- package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
- package/dist/esm/{index-d2f90501.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index.es-7dda2f0a.js → index.es-a6137319.js} +25 -9
- 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-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +136 -136
- package/dist/esm/{inherits-75d45541.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-d4165069.js +961 -0
- package/dist/esm/{moment-12415288.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-af9c50d8.js → typeof-a286cf0c.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +111 -111
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-f0677b9d.js +0 -99
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-11ec04d2.js +0 -894
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-b68072f5.js +0 -94
- package/dist/esm/main-aef58dbc.js +0 -882
- package/dist/esm/stringify-4330ccdc.js +0 -15
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-75d45541.js';
|
|
6
|
-
import { _ as _typeof$1 } from './typeof-af9c50d8.js';
|
|
7
|
-
import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
8
|
-
import { l as lib_3 } from './index-f7fb1e25.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-12415288.js';
|
|
13
|
-
import Router, { useRouter } from 'next/router';
|
|
1
|
+
import { _ as _extends, b as _extends$1 } from './extends-60e0e1c6.js';
|
|
2
|
+
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
3
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
|
|
4
|
+
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
|
|
14
5
|
import urlFor from './urlFor.js';
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import { h as html_decode_1 } from './entities-7cc3bf45.js';
|
|
18
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
|
|
19
|
-
import Segment from './Segment.js';
|
|
20
|
-
import Beam from './Beam.js';
|
|
21
|
-
import DFPAdSlot from './AdSlot.js';
|
|
22
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
23
|
-
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
6
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
7
|
+
import Router, { useRouter } from 'next/router';
|
|
24
8
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
+
import { u as util } from './util-3ab476bf.js';
|
|
12
|
+
import Beam from './Beam.js';
|
|
13
|
+
import Segment from './Segment.js';
|
|
14
|
+
import { d as main_18, b as main_42, m as main_43 } from './main-d4165069.js';
|
|
15
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
16
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
+
import { _ as _typeof$1 } from './typeof-a286cf0c.js';
|
|
18
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
|
|
25
19
|
import GroupDeck from './GroupDeck.js';
|
|
26
|
-
import {
|
|
27
|
-
import { d as IoIosArrowDropupCircle } from './index.esm-3fdda599.js';
|
|
28
|
-
import { u as util } from './util-7700fc59.js';
|
|
29
|
-
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
30
|
-
import Head from 'next/head';
|
|
20
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
31
21
|
import SocialShare from './SocialShare.js';
|
|
32
|
-
import { _ as
|
|
22
|
+
import { _ as _export, a as _core } from './_to-object-b50e61c3.js';
|
|
23
|
+
import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
|
|
24
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
33
25
|
import Pagination from 'react-bootstrap/Pagination';
|
|
26
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
27
|
+
import { h as html_decode_1 } from './entities-932b50cf.js';
|
|
28
|
+
import DFPAdSlot from './AdSlot.js';
|
|
29
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
30
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
31
|
+
import Head from 'next/head';
|
|
32
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a41fe93f.js';
|
|
33
|
+
import { d as IoIosArrowDropupCircle } from './index.esm-f6156a57.js';
|
|
34
34
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
35
35
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
36
36
|
import Tooltip from 'react-bootstrap/Tooltip';
|
|
@@ -42,7 +42,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
42
42
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
var Slideshow = function Slideshow(_ref) {
|
|
45
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
46
46
|
var slides = _ref.slides,
|
|
47
47
|
client = _ref.client,
|
|
48
48
|
pageview = _ref.pageview;
|
|
@@ -69,27 +69,27 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
69
69
|
if (pageview) pageview(router.asPath);
|
|
70
70
|
}, [router]);
|
|
71
71
|
|
|
72
|
-
return
|
|
72
|
+
return React__default.createElement(
|
|
73
73
|
'div',
|
|
74
74
|
{ className: 'mt-3 mb-3' },
|
|
75
|
-
|
|
75
|
+
React__default.createElement(
|
|
76
76
|
Carousel,
|
|
77
77
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
78
78
|
return onChangeSlide(selectedIndex, router);
|
|
79
79
|
}, interval: null },
|
|
80
80
|
slides && slides.map(function (slide) {
|
|
81
|
-
return
|
|
81
|
+
return React__default.createElement(
|
|
82
82
|
Carousel.Item,
|
|
83
83
|
{ key: slide._key },
|
|
84
|
-
|
|
84
|
+
React__default.createElement(
|
|
85
85
|
'picture',
|
|
86
86
|
null,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
88
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
89
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
90
|
+
React__default.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
91
91
|
),
|
|
92
|
-
slide.caption &&
|
|
92
|
+
slide.caption && React__default.createElement(
|
|
93
93
|
'p',
|
|
94
94
|
{ className: 'p-2' },
|
|
95
95
|
slide.caption
|
|
@@ -679,14 +679,14 @@ function coerce(val) {
|
|
|
679
679
|
return val;
|
|
680
680
|
}
|
|
681
681
|
});
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
682
|
+
debug.coerce;
|
|
683
|
+
debug.disable;
|
|
684
|
+
debug.enable;
|
|
685
|
+
debug.enabled;
|
|
686
|
+
debug.humanize;
|
|
687
|
+
debug.names;
|
|
688
|
+
debug.skips;
|
|
689
|
+
debug.formatters;
|
|
690
690
|
|
|
691
691
|
var browser = createCommonjsModule(function (module, exports) {
|
|
692
692
|
/**
|
|
@@ -875,13 +875,13 @@ function localstorage() {
|
|
|
875
875
|
} catch (e) {}
|
|
876
876
|
}
|
|
877
877
|
});
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
878
|
+
browser.log;
|
|
879
|
+
browser.formatArgs;
|
|
880
|
+
browser.save;
|
|
881
|
+
browser.load;
|
|
882
|
+
browser.useColors;
|
|
883
|
+
browser.storage;
|
|
884
|
+
browser.colors;
|
|
885
885
|
|
|
886
886
|
// MIT lisence
|
|
887
887
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1156,14 +1156,14 @@ function init (debug) {
|
|
|
1156
1156
|
|
|
1157
1157
|
exports.enable(load());
|
|
1158
1158
|
});
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1159
|
+
node.init;
|
|
1160
|
+
node.log;
|
|
1161
|
+
node.formatArgs;
|
|
1162
|
+
node.save;
|
|
1163
|
+
node.load;
|
|
1164
|
+
node.useColors;
|
|
1165
|
+
node.colors;
|
|
1166
|
+
node.inspectOpts;
|
|
1167
1167
|
|
|
1168
1168
|
var src = createCommonjsModule(function (module) {
|
|
1169
1169
|
/**
|
|
@@ -1621,11 +1621,11 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1621
1621
|
|
|
1622
1622
|
function filterResetOptions(opts) {
|
|
1623
1623
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1624
|
-
playerVars: _objectSpread(
|
|
1624
|
+
playerVars: _objectSpread({
|
|
1625
1625
|
autoplay: 0,
|
|
1626
1626
|
start: 0,
|
|
1627
1627
|
end: 0
|
|
1628
|
-
})
|
|
1628
|
+
}, opts.playerVars)
|
|
1629
1629
|
});
|
|
1630
1630
|
}
|
|
1631
1631
|
/**
|
|
@@ -1831,9 +1831,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1831
1831
|
}, {
|
|
1832
1832
|
key: "render",
|
|
1833
1833
|
value: function render() {
|
|
1834
|
-
return /*#__PURE__*/
|
|
1834
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1835
1835
|
className: this.props.containerClassName
|
|
1836
|
-
}, /*#__PURE__*/
|
|
1836
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1837
1837
|
id: this.props.id,
|
|
1838
1838
|
className: this.props.className,
|
|
1839
1839
|
ref: this.refContainer
|
|
@@ -1842,7 +1842,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1842
1842
|
}]);
|
|
1843
1843
|
|
|
1844
1844
|
return YouTube;
|
|
1845
|
-
}(
|
|
1845
|
+
}(React__default.Component);
|
|
1846
1846
|
|
|
1847
1847
|
_defineProperty(YouTube, "PlayerState", {
|
|
1848
1848
|
UNSTARTED: -1,
|
|
@@ -1926,8 +1926,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1926
1926
|
var duration = player.getDuration();
|
|
1927
1927
|
var queue = Math.floor(duration / 10);
|
|
1928
1928
|
var segment = Math.floor(current / queue);
|
|
1929
|
-
Beam.report_beam_video('Ready',
|
|
1930
|
-
Segment.report_video_event('Video Ready',
|
|
1929
|
+
Beam.report_beam_video('Ready', main_18, duration, current, segment);
|
|
1930
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment);
|
|
1931
1931
|
};
|
|
1932
1932
|
|
|
1933
1933
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1937,8 +1937,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1937
1937
|
var segment = Math.floor(current / queue);
|
|
1938
1938
|
|
|
1939
1939
|
if (!queueProgress.includes(segment)) {
|
|
1940
|
-
Beam.report_beam_video('Segment',
|
|
1941
|
-
Segment.report_video_event('Video Segment',
|
|
1940
|
+
Beam.report_beam_video('Segment', main_18, duration, current, segment);
|
|
1941
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment);
|
|
1942
1942
|
queueProgress.push(segment);
|
|
1943
1943
|
}
|
|
1944
1944
|
};
|
|
@@ -1951,8 +1951,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1951
1951
|
var queue = Math.floor(duration / 10);
|
|
1952
1952
|
var segment = Math.floor(current / queue);
|
|
1953
1953
|
|
|
1954
|
-
Beam.report_beam_video('Play',
|
|
1955
|
-
Segment.report_video_event('Video Play',
|
|
1954
|
+
Beam.report_beam_video('Play', main_18, duration, current, segment);
|
|
1955
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment);
|
|
1956
1956
|
|
|
1957
1957
|
if (!playReported) {
|
|
1958
1958
|
setPlayReported(true);
|
|
@@ -1971,8 +1971,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1971
1971
|
var queue = Math.floor(duration / 10);
|
|
1972
1972
|
var segment = Math.floor(current / queue);
|
|
1973
1973
|
|
|
1974
|
-
Beam.report_beam_video('End',
|
|
1975
|
-
Segment.report_video_event('Video End',
|
|
1974
|
+
Beam.report_beam_video('End', main_18, duration, current, segment);
|
|
1975
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment);
|
|
1976
1976
|
setEndReported(true);
|
|
1977
1977
|
clearInterval(intervalID);
|
|
1978
1978
|
}
|
|
@@ -1985,15 +1985,15 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1985
1985
|
var queue = Math.floor(duration / 10);
|
|
1986
1986
|
var segment = Math.floor(current / queue);
|
|
1987
1987
|
|
|
1988
|
-
Beam.report_beam_video('Pause',
|
|
1989
|
-
Segment.report_video_event('Video Pause',
|
|
1988
|
+
Beam.report_beam_video('Pause', main_18, duration, current, segment);
|
|
1989
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
1990
1990
|
};
|
|
1991
1991
|
|
|
1992
|
-
return
|
|
1992
|
+
return React__default.createElement(
|
|
1993
1993
|
'div',
|
|
1994
1994
|
{ id: 'fluid-video-container' },
|
|
1995
|
-
|
|
1996
|
-
|
|
1995
|
+
React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
1996
|
+
React__default.createElement(
|
|
1997
1997
|
'style',
|
|
1998
1998
|
{ jsx: 'true' },
|
|
1999
1999
|
'\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 '
|
|
@@ -2006,20 +2006,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2006
2006
|
content = _ref.content,
|
|
2007
2007
|
getSerializers = _ref.getSerializers;
|
|
2008
2008
|
|
|
2009
|
-
return
|
|
2009
|
+
return React__default.createElement(
|
|
2010
2010
|
'article',
|
|
2011
2011
|
{ className: 'sidebar' },
|
|
2012
|
-
|
|
2012
|
+
React__default.createElement(
|
|
2013
2013
|
'div',
|
|
2014
2014
|
null,
|
|
2015
|
-
|
|
2015
|
+
React__default.createElement(
|
|
2016
2016
|
'h3',
|
|
2017
2017
|
null,
|
|
2018
2018
|
caption
|
|
2019
2019
|
),
|
|
2020
|
-
|
|
2020
|
+
React__default.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2021
2021
|
),
|
|
2022
|
-
|
|
2022
|
+
React__default.createElement(
|
|
2023
2023
|
'style',
|
|
2024
2024
|
{ jsx: 'true' },
|
|
2025
2025
|
'\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 '
|
|
@@ -2030,18 +2030,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2030
2030
|
var TableShow = function TableShow(_ref) {
|
|
2031
2031
|
var rows = _ref.rows;
|
|
2032
2032
|
|
|
2033
|
-
return
|
|
2033
|
+
return React__default.createElement(
|
|
2034
2034
|
Table,
|
|
2035
2035
|
{ bordered: true, hover: true, responsive: true },
|
|
2036
|
-
|
|
2036
|
+
React__default.createElement(
|
|
2037
2037
|
'tbody',
|
|
2038
2038
|
null,
|
|
2039
2039
|
rows && rows.map(function (row) {
|
|
2040
|
-
return
|
|
2040
|
+
return React__default.createElement(
|
|
2041
2041
|
'tr',
|
|
2042
2042
|
{ key: row._key },
|
|
2043
2043
|
row.cells && row.cells.map(function (cell, index) {
|
|
2044
|
-
return cell &&
|
|
2044
|
+
return cell && React__default.createElement(
|
|
2045
2045
|
'td',
|
|
2046
2046
|
{ key: index },
|
|
2047
2047
|
cell
|
|
@@ -2139,25 +2139,25 @@ var Media = function Media(_ref) {
|
|
|
2139
2139
|
margin: imageMargin
|
|
2140
2140
|
};
|
|
2141
2141
|
|
|
2142
|
-
return
|
|
2142
|
+
return React__default.createElement(
|
|
2143
2143
|
Figure$1,
|
|
2144
2144
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2145
|
-
|
|
2145
|
+
React__default.createElement(
|
|
2146
2146
|
'a',
|
|
2147
2147
|
{ href: uploadDoc.asset.url, target: blank ? '_blank' : '_self' },
|
|
2148
|
-
|
|
2148
|
+
React__default.createElement(
|
|
2149
2149
|
LazyLoad,
|
|
2150
2150
|
{ once: true },
|
|
2151
|
-
|
|
2151
|
+
React__default.createElement(
|
|
2152
2152
|
'picture',
|
|
2153
2153
|
null,
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2154
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2155
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2156
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2157
|
+
React__default.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2158
2158
|
)
|
|
2159
2159
|
),
|
|
2160
|
-
caption &&
|
|
2160
|
+
caption && React__default.createElement(
|
|
2161
2161
|
Figure$1.Caption,
|
|
2162
2162
|
{ className: 'media-caption' },
|
|
2163
2163
|
caption
|
|
@@ -2165,7 +2165,7 @@ var Media = function Media(_ref) {
|
|
|
2165
2165
|
)
|
|
2166
2166
|
);
|
|
2167
2167
|
} else if (caption && caption !== '') {
|
|
2168
|
-
return
|
|
2168
|
+
return React__default.createElement(
|
|
2169
2169
|
'a',
|
|
2170
2170
|
_extends({}, uploadDoc.downloadMedia ? {
|
|
2171
2171
|
href: uploadDoc.asset.url + '?dl='
|
|
@@ -2185,10 +2185,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2185
2185
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2186
2186
|
|
|
2187
2187
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2188
|
-
return
|
|
2188
|
+
return React__default.createElement(
|
|
2189
2189
|
'div',
|
|
2190
2190
|
{ className: 'd-block text-center mb-3' },
|
|
2191
|
-
|
|
2191
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2192
2192
|
);
|
|
2193
2193
|
};
|
|
2194
2194
|
|
|
@@ -2222,8 +2222,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2222
2222
|
var duration = player.duration;
|
|
2223
2223
|
var queue = Math.floor(duration / 10);
|
|
2224
2224
|
var segment = Math.floor(current / queue);
|
|
2225
|
-
Beam.report_beam_video('Ready',
|
|
2226
|
-
Segment.report_video_event('Video Ready',
|
|
2225
|
+
Beam.report_beam_video('Ready', main_18, duration, current, segment, 'MP4');
|
|
2226
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'MP4');
|
|
2227
2227
|
};
|
|
2228
2228
|
|
|
2229
2229
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2232,8 +2232,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2232
2232
|
var queue = Math.floor(duration / 10);
|
|
2233
2233
|
var segment = Math.floor(current / queue);
|
|
2234
2234
|
if (!queueProgress.includes(segment)) {
|
|
2235
|
-
Beam.report_beam_video('Segment',
|
|
2236
|
-
Segment.report_video_event('Video Segment',
|
|
2235
|
+
Beam.report_beam_video('Segment', main_18, duration, current, segment, 'MP4');
|
|
2236
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'MP4');
|
|
2237
2237
|
queueProgress.push(segment);
|
|
2238
2238
|
}
|
|
2239
2239
|
};
|
|
@@ -2245,8 +2245,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2245
2245
|
var duration = player.duration;
|
|
2246
2246
|
var queue = Math.floor(duration / 10);
|
|
2247
2247
|
var segment = Math.floor(current / queue);
|
|
2248
|
-
Beam.report_beam_video('Play',
|
|
2249
|
-
Segment.report_video_event('Video Play',
|
|
2248
|
+
Beam.report_beam_video('Play', main_18, duration, current, segment, 'MP4');
|
|
2249
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'MP4');
|
|
2250
2250
|
|
|
2251
2251
|
if (!playReported) {
|
|
2252
2252
|
event.persist();
|
|
@@ -2266,8 +2266,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2266
2266
|
var queue = Math.floor(duration / 10);
|
|
2267
2267
|
var segment = Math.floor(current / queue);
|
|
2268
2268
|
|
|
2269
|
-
Beam.report_beam_video('End',
|
|
2270
|
-
Segment.report_video_event('Video End',
|
|
2269
|
+
Beam.report_beam_video('End', main_18, duration, current, segment, 'MP4');
|
|
2270
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment, 'MP4');
|
|
2271
2271
|
setEndReported(true);
|
|
2272
2272
|
clearInterval(intervalID);
|
|
2273
2273
|
}
|
|
@@ -2279,14 +2279,14 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2279
2279
|
var duration = player.duration - current;
|
|
2280
2280
|
var queue = Math.floor(duration / 10);
|
|
2281
2281
|
var segment = Math.floor(current / queue);
|
|
2282
|
-
Beam.report_beam_video('Pause',
|
|
2283
|
-
Segment.report_video_event('Video Pause',
|
|
2282
|
+
Beam.report_beam_video('Pause', main_18, duration, current, segment, 'MP4');
|
|
2283
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
|
|
2284
2284
|
};
|
|
2285
2285
|
|
|
2286
|
-
return
|
|
2286
|
+
return React__default.createElement(
|
|
2287
2287
|
'div',
|
|
2288
2288
|
null,
|
|
2289
|
-
vidLoaded &&
|
|
2289
|
+
vidLoaded && React__default.createElement(
|
|
2290
2290
|
'video',
|
|
2291
2291
|
{
|
|
2292
2292
|
poster: thumbnail || '',
|
|
@@ -2304,7 +2304,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2304
2304
|
onPlay: function onPlay(e) {
|
|
2305
2305
|
return handleOnPlay(e);
|
|
2306
2306
|
} },
|
|
2307
|
-
|
|
2307
|
+
React__default.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2308
2308
|
'Your browser does not support the video tag.'
|
|
2309
2309
|
)
|
|
2310
2310
|
);
|
|
@@ -2369,8 +2369,8 @@ var Video = function Video(_ref) {
|
|
|
2369
2369
|
player.pause();
|
|
2370
2370
|
}
|
|
2371
2371
|
|
|
2372
|
-
Beam.report_beam_video('Ready',
|
|
2373
|
-
Segment.report_video_event('Video Ready',
|
|
2372
|
+
Beam.report_beam_video('Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2373
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2374
2374
|
});
|
|
2375
2375
|
|
|
2376
2376
|
// play
|
|
@@ -2379,8 +2379,8 @@ var Video = function Video(_ref) {
|
|
|
2379
2379
|
var current = player.currentTime();
|
|
2380
2380
|
var queue = Math.floor(duration / 10);
|
|
2381
2381
|
var segment = Math.floor(current / queue);
|
|
2382
|
-
Beam.report_beam_video('Play',
|
|
2383
|
-
Segment.report_video_event('Video Play',
|
|
2382
|
+
Beam.report_beam_video('Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2383
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2384
2384
|
});
|
|
2385
2385
|
|
|
2386
2386
|
// pause
|
|
@@ -2389,8 +2389,8 @@ var Video = function Video(_ref) {
|
|
|
2389
2389
|
var current = player.currentTime();
|
|
2390
2390
|
var queue = Math.floor(duration / 10);
|
|
2391
2391
|
var segment = Math.floor(current / queue);
|
|
2392
|
-
Beam.report_beam_video('Pause',
|
|
2393
|
-
Segment.report_video_event('Video Pause',
|
|
2392
|
+
Beam.report_beam_video('Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2393
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2394
2394
|
});
|
|
2395
2395
|
|
|
2396
2396
|
// end
|
|
@@ -2399,8 +2399,8 @@ var Video = function Video(_ref) {
|
|
|
2399
2399
|
var current = player.currentTime();
|
|
2400
2400
|
var queue = Math.floor(duration / 10);
|
|
2401
2401
|
var segment = Math.floor(current / queue);
|
|
2402
|
-
Beam.report_beam_video('End',
|
|
2403
|
-
Segment.report_video_event('Video End',
|
|
2402
|
+
Beam.report_beam_video('End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2403
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2404
2404
|
autoplayNextVideo(evt);
|
|
2405
2405
|
});
|
|
2406
2406
|
|
|
@@ -2411,8 +2411,8 @@ var Video = function Video(_ref) {
|
|
|
2411
2411
|
var queue = Math.floor(duration / 10);
|
|
2412
2412
|
var segment = Math.floor(current / queue);
|
|
2413
2413
|
if (!queueProgress.includes(segment)) {
|
|
2414
|
-
Beam.report_beam_video('Segment',
|
|
2415
|
-
Segment.report_video_event('Video Segment',
|
|
2414
|
+
Beam.report_beam_video('Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2415
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2416
2416
|
queueProgress.push(segment);
|
|
2417
2417
|
}
|
|
2418
2418
|
});
|
|
@@ -2423,8 +2423,8 @@ var Video = function Video(_ref) {
|
|
|
2423
2423
|
var id = player.ads.ad.id;
|
|
2424
2424
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2425
2425
|
|
|
2426
|
-
Beam.report_beam_ad('AD Started',
|
|
2427
|
-
Segment.report_ad_event('Video Ad Started',
|
|
2426
|
+
Beam.report_beam_ad('AD Started', main_18, '', '', '', '', '', adType, duration, id);
|
|
2427
|
+
Segment.report_ad_event('Video Ad Started', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2428
2428
|
});
|
|
2429
2429
|
|
|
2430
2430
|
// ad ended
|
|
@@ -2432,60 +2432,60 @@ var Video = function Video(_ref) {
|
|
|
2432
2432
|
var duration = player.ads.ad.duration;
|
|
2433
2433
|
var id = player.ads.ad.id;
|
|
2434
2434
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2435
|
-
Beam.report_beam_ad('AD Ended',
|
|
2436
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
2435
|
+
Beam.report_beam_ad('AD Ended', main_18, '', '', '', '', '', adType, duration, id);
|
|
2436
|
+
Segment.report_ad_event('Video Ad Ended', main_18, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2437
2437
|
});
|
|
2438
2438
|
};
|
|
2439
2439
|
|
|
2440
2440
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2441
2441
|
if (videoID) {
|
|
2442
|
-
return
|
|
2442
|
+
return React__default.createElement(
|
|
2443
2443
|
'div',
|
|
2444
2444
|
null,
|
|
2445
|
-
|
|
2445
|
+
React__default.createElement(ReactPlayerLoader, {
|
|
2446
2446
|
onSuccess: onVideoSuccess,
|
|
2447
2447
|
accountId: accountIDs.brightcove.accountId,
|
|
2448
2448
|
videoId: videoID,
|
|
2449
2449
|
playerId: accountIDs.brightcove.playerId,
|
|
2450
2450
|
attrs: { className: 'brightcove-fluid', autoplay: 'muted' }
|
|
2451
2451
|
}),
|
|
2452
|
-
|
|
2452
|
+
React__default.createElement(
|
|
2453
2453
|
'style',
|
|
2454
2454
|
{ jsx: 'true' },
|
|
2455
2455
|
'\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 '
|
|
2456
2456
|
)
|
|
2457
2457
|
);
|
|
2458
2458
|
} else if (playlistID) {
|
|
2459
|
-
return
|
|
2459
|
+
return React__default.createElement(
|
|
2460
2460
|
'div',
|
|
2461
2461
|
null,
|
|
2462
|
-
|
|
2462
|
+
React__default.createElement(ReactPlayerLoader, {
|
|
2463
2463
|
accountId: accountIDs.brightcove.accountId,
|
|
2464
2464
|
playlistId: playlistID,
|
|
2465
2465
|
playerId: accountIDs.brightcove.playerId,
|
|
2466
2466
|
onSuccess: onVideoSuccess,
|
|
2467
2467
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2468
2468
|
}),
|
|
2469
|
-
|
|
2469
|
+
React__default.createElement(
|
|
2470
2470
|
'style',
|
|
2471
2471
|
{ jsx: 'true' },
|
|
2472
2472
|
'\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 '
|
|
2473
2473
|
)
|
|
2474
2474
|
);
|
|
2475
2475
|
} else if (experienceID) {
|
|
2476
|
-
return
|
|
2476
|
+
return React__default.createElement(
|
|
2477
2477
|
'div',
|
|
2478
2478
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2479
|
-
videoLoaded &&
|
|
2479
|
+
videoLoaded && React__default.createElement('div', { 'data-experience': experienceID })
|
|
2480
2480
|
);
|
|
2481
2481
|
}
|
|
2482
2482
|
return null;
|
|
2483
2483
|
}
|
|
2484
2484
|
if (source === 'mp4') {
|
|
2485
|
-
return
|
|
2485
|
+
return React__default.createElement(
|
|
2486
2486
|
'div',
|
|
2487
2487
|
null,
|
|
2488
|
-
|
|
2488
|
+
React__default.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true })
|
|
2489
2489
|
);
|
|
2490
2490
|
}
|
|
2491
2491
|
|
|
@@ -2696,9 +2696,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
2696
2696
|
});
|
|
2697
2697
|
|
|
2698
2698
|
unwrapExports(props);
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2699
|
+
props.DEPRECATED_CONFIG_PROPS;
|
|
2700
|
+
props.defaultProps;
|
|
2701
|
+
props.propTypes;
|
|
2702
2702
|
|
|
2703
2703
|
var isMergeableObject = function isMergeableObject(value) {
|
|
2704
2704
|
return isNonNullObject(value)
|
|
@@ -3090,7 +3090,7 @@ function isEqual(a, b) {
|
|
|
3090
3090
|
return true;
|
|
3091
3091
|
}
|
|
3092
3092
|
|
|
3093
|
-
if ((0,
|
|
3093
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
3094
3094
|
return true;
|
|
3095
3095
|
}
|
|
3096
3096
|
|
|
@@ -3133,17 +3133,17 @@ function isMediaStream(url) {
|
|
|
3133
3133
|
});
|
|
3134
3134
|
|
|
3135
3135
|
unwrapExports(utils);
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3136
|
+
utils.parseStartTime;
|
|
3137
|
+
utils.parseEndTime;
|
|
3138
|
+
utils.randomString;
|
|
3139
|
+
utils.queryString;
|
|
3140
|
+
utils.getSDK;
|
|
3141
|
+
utils.getConfig;
|
|
3142
|
+
utils.omit;
|
|
3143
|
+
utils.callPlayer;
|
|
3144
|
+
utils.isObject;
|
|
3145
|
+
utils.isEqual;
|
|
3146
|
+
utils.isMediaStream;
|
|
3147
3147
|
|
|
3148
3148
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3149
3149
|
|
|
@@ -3152,7 +3152,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3152
3152
|
});
|
|
3153
3153
|
exports["default"] = void 0;
|
|
3154
3154
|
|
|
3155
|
-
var _react = _interopRequireWildcard(
|
|
3155
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3156
3156
|
|
|
3157
3157
|
|
|
3158
3158
|
|
|
@@ -3562,7 +3562,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3562
3562
|
});
|
|
3563
3563
|
exports["default"] = createSinglePlayer;
|
|
3564
3564
|
|
|
3565
|
-
var _react = _interopRequireWildcard(
|
|
3565
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3566
3566
|
|
|
3567
3567
|
|
|
3568
3568
|
|
|
@@ -3720,7 +3720,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3720
3720
|
});
|
|
3721
3721
|
exports["default"] = exports.YouTube = void 0;
|
|
3722
3722
|
|
|
3723
|
-
var _react = _interopRequireWildcard(
|
|
3723
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3724
3724
|
|
|
3725
3725
|
|
|
3726
3726
|
|
|
@@ -4020,7 +4020,7 @@ exports["default"] = _default;
|
|
|
4020
4020
|
});
|
|
4021
4021
|
|
|
4022
4022
|
unwrapExports(YouTube_1);
|
|
4023
|
-
|
|
4023
|
+
YouTube_1.YouTube;
|
|
4024
4024
|
|
|
4025
4025
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4026
4026
|
|
|
@@ -4029,7 +4029,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4029
4029
|
});
|
|
4030
4030
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4031
4031
|
|
|
4032
|
-
var _react = _interopRequireWildcard(
|
|
4032
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4033
4033
|
|
|
4034
4034
|
|
|
4035
4035
|
|
|
@@ -4237,7 +4237,7 @@ exports["default"] = _default;
|
|
|
4237
4237
|
});
|
|
4238
4238
|
|
|
4239
4239
|
unwrapExports(SoundCloud_1);
|
|
4240
|
-
|
|
4240
|
+
SoundCloud_1.SoundCloud;
|
|
4241
4241
|
|
|
4242
4242
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4243
4243
|
|
|
@@ -4246,7 +4246,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4246
4246
|
});
|
|
4247
4247
|
exports["default"] = exports.Vimeo = void 0;
|
|
4248
4248
|
|
|
4249
|
-
var _react = _interopRequireWildcard(
|
|
4249
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4250
4250
|
|
|
4251
4251
|
|
|
4252
4252
|
|
|
@@ -4493,7 +4493,7 @@ exports["default"] = _default;
|
|
|
4493
4493
|
});
|
|
4494
4494
|
|
|
4495
4495
|
unwrapExports(Vimeo_1);
|
|
4496
|
-
|
|
4496
|
+
Vimeo_1.Vimeo;
|
|
4497
4497
|
|
|
4498
4498
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
4499
4499
|
|
|
@@ -4502,7 +4502,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4502
4502
|
});
|
|
4503
4503
|
exports["default"] = exports.Facebook = void 0;
|
|
4504
4504
|
|
|
4505
|
-
var _react = _interopRequireWildcard(
|
|
4505
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4506
4506
|
|
|
4507
4507
|
|
|
4508
4508
|
|
|
@@ -4705,7 +4705,7 @@ exports["default"] = _default;
|
|
|
4705
4705
|
});
|
|
4706
4706
|
|
|
4707
4707
|
unwrapExports(Facebook_1);
|
|
4708
|
-
|
|
4708
|
+
Facebook_1.Facebook;
|
|
4709
4709
|
|
|
4710
4710
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
4711
4711
|
|
|
@@ -4714,7 +4714,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4714
4714
|
});
|
|
4715
4715
|
exports["default"] = exports.Streamable = void 0;
|
|
4716
4716
|
|
|
4717
|
-
var _react = _interopRequireWildcard(
|
|
4717
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4718
4718
|
|
|
4719
4719
|
|
|
4720
4720
|
|
|
@@ -4916,7 +4916,7 @@ exports["default"] = _default;
|
|
|
4916
4916
|
});
|
|
4917
4917
|
|
|
4918
4918
|
unwrapExports(Streamable_1);
|
|
4919
|
-
|
|
4919
|
+
Streamable_1.Streamable;
|
|
4920
4920
|
|
|
4921
4921
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
4922
4922
|
|
|
@@ -4925,7 +4925,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4925
4925
|
});
|
|
4926
4926
|
exports["default"] = exports.Wistia = void 0;
|
|
4927
4927
|
|
|
4928
|
-
var _react = _interopRequireWildcard(
|
|
4928
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4929
4929
|
|
|
4930
4930
|
|
|
4931
4931
|
|
|
@@ -5159,7 +5159,7 @@ exports["default"] = _default;
|
|
|
5159
5159
|
});
|
|
5160
5160
|
|
|
5161
5161
|
unwrapExports(Wistia_1);
|
|
5162
|
-
|
|
5162
|
+
Wistia_1.Wistia;
|
|
5163
5163
|
|
|
5164
5164
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5165
5165
|
|
|
@@ -5168,7 +5168,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5168
5168
|
});
|
|
5169
5169
|
exports["default"] = exports.Twitch = void 0;
|
|
5170
5170
|
|
|
5171
|
-
var _react = _interopRequireWildcard(
|
|
5171
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5172
5172
|
|
|
5173
5173
|
|
|
5174
5174
|
|
|
@@ -5375,7 +5375,7 @@ exports["default"] = _default;
|
|
|
5375
5375
|
});
|
|
5376
5376
|
|
|
5377
5377
|
unwrapExports(Twitch_1);
|
|
5378
|
-
|
|
5378
|
+
Twitch_1.Twitch;
|
|
5379
5379
|
|
|
5380
5380
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5381
5381
|
|
|
@@ -5384,7 +5384,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5384
5384
|
});
|
|
5385
5385
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5386
5386
|
|
|
5387
|
-
var _react = _interopRequireWildcard(
|
|
5387
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5388
5388
|
|
|
5389
5389
|
|
|
5390
5390
|
|
|
@@ -5611,7 +5611,7 @@ exports["default"] = _default;
|
|
|
5611
5611
|
});
|
|
5612
5612
|
|
|
5613
5613
|
unwrapExports(DailyMotion_1);
|
|
5614
|
-
|
|
5614
|
+
DailyMotion_1.DailyMotion;
|
|
5615
5615
|
|
|
5616
5616
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
5617
5617
|
|
|
@@ -5620,7 +5620,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5620
5620
|
});
|
|
5621
5621
|
exports["default"] = exports.Mixcloud = void 0;
|
|
5622
5622
|
|
|
5623
|
-
var _react = _interopRequireWildcard(
|
|
5623
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5624
5624
|
|
|
5625
5625
|
|
|
5626
5626
|
|
|
@@ -5810,7 +5810,7 @@ exports["default"] = _default;
|
|
|
5810
5810
|
});
|
|
5811
5811
|
|
|
5812
5812
|
unwrapExports(Mixcloud_1);
|
|
5813
|
-
|
|
5813
|
+
Mixcloud_1.Mixcloud;
|
|
5814
5814
|
|
|
5815
5815
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
5816
5816
|
|
|
@@ -5819,7 +5819,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5819
5819
|
});
|
|
5820
5820
|
exports["default"] = exports.FilePlayer = void 0;
|
|
5821
5821
|
|
|
5822
|
-
var _react = _interopRequireWildcard(
|
|
5822
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5823
5823
|
|
|
5824
5824
|
|
|
5825
5825
|
|
|
@@ -6344,7 +6344,7 @@ exports["default"] = _default;
|
|
|
6344
6344
|
});
|
|
6345
6345
|
|
|
6346
6346
|
unwrapExports(FilePlayer_1);
|
|
6347
|
-
|
|
6347
|
+
FilePlayer_1.FilePlayer;
|
|
6348
6348
|
|
|
6349
6349
|
var players = createCommonjsModule(function (module, exports) {
|
|
6350
6350
|
|
|
@@ -6386,7 +6386,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6386
6386
|
});
|
|
6387
6387
|
exports["default"] = void 0;
|
|
6388
6388
|
|
|
6389
|
-
var _react = _interopRequireWildcard(
|
|
6389
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6390
6390
|
|
|
6391
6391
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6392
6392
|
|
|
@@ -6565,7 +6565,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6565
6565
|
});
|
|
6566
6566
|
exports["default"] = renderPreloadPlayers;
|
|
6567
6567
|
|
|
6568
|
-
var _react = _interopRequireDefault(
|
|
6568
|
+
var _react = _interopRequireDefault(React__default);
|
|
6569
6569
|
|
|
6570
6570
|
var _Player = _interopRequireDefault(Player_1);
|
|
6571
6571
|
|
|
@@ -6704,7 +6704,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
6704
6704
|
});
|
|
6705
6705
|
exports["default"] = void 0;
|
|
6706
6706
|
|
|
6707
|
-
var _react = _interopRequireWildcard(
|
|
6707
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6708
6708
|
|
|
6709
6709
|
|
|
6710
6710
|
|
|
@@ -7018,20 +7018,20 @@ var Audio = function Audio(_ref) {
|
|
|
7018
7018
|
var node = _ref.node;
|
|
7019
7019
|
|
|
7020
7020
|
if (node.uploadAudio) {
|
|
7021
|
-
return
|
|
7021
|
+
return React__default.createElement(
|
|
7022
7022
|
'div',
|
|
7023
7023
|
{ className: 'audio d-block text-center mb-3' },
|
|
7024
|
-
|
|
7024
|
+
React__default.createElement(
|
|
7025
7025
|
'audio',
|
|
7026
7026
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
7027
|
-
|
|
7028
|
-
|
|
7027
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7028
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7029
7029
|
'Your browser does not support the audio element.'
|
|
7030
7030
|
),
|
|
7031
|
-
node.caption &&
|
|
7031
|
+
node.caption && React__default.createElement(
|
|
7032
7032
|
'p',
|
|
7033
7033
|
{ style: { fontSize: '.9rem' } },
|
|
7034
|
-
|
|
7034
|
+
React__default.createElement(
|
|
7035
7035
|
'em',
|
|
7036
7036
|
null,
|
|
7037
7037
|
node.caption
|
|
@@ -7041,15 +7041,15 @@ var Audio = function Audio(_ref) {
|
|
|
7041
7041
|
} else if (node.audioFilePth) {
|
|
7042
7042
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7043
7043
|
if (hostname === 'embeds.audioboom.com') {
|
|
7044
|
-
return
|
|
7044
|
+
return React__default.createElement(
|
|
7045
7045
|
'div',
|
|
7046
7046
|
null,
|
|
7047
|
-
|
|
7047
|
+
React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7048
7048
|
' ',
|
|
7049
|
-
node.caption &&
|
|
7049
|
+
node.caption && React__default.createElement(
|
|
7050
7050
|
'p',
|
|
7051
7051
|
{ style: { fontSize: '.9rem' } },
|
|
7052
|
-
|
|
7052
|
+
React__default.createElement(
|
|
7053
7053
|
'em',
|
|
7054
7054
|
null,
|
|
7055
7055
|
node.caption
|
|
@@ -7057,14 +7057,14 @@ var Audio = function Audio(_ref) {
|
|
|
7057
7057
|
)
|
|
7058
7058
|
);
|
|
7059
7059
|
}
|
|
7060
|
-
return
|
|
7060
|
+
return React__default.createElement(
|
|
7061
7061
|
'div',
|
|
7062
7062
|
{ className: 'audio' },
|
|
7063
|
-
|
|
7064
|
-
node.caption &&
|
|
7063
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
7064
|
+
node.caption && React__default.createElement(
|
|
7065
7065
|
'p',
|
|
7066
7066
|
{ style: { fontSize: '.9rem' } },
|
|
7067
|
-
|
|
7067
|
+
React__default.createElement(
|
|
7068
7068
|
'em',
|
|
7069
7069
|
null,
|
|
7070
7070
|
node.caption
|
|
@@ -7082,34 +7082,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7082
7082
|
var profileImage = arguments[6];
|
|
7083
7083
|
|
|
7084
7084
|
if (authorName && authorURL) {
|
|
7085
|
-
return
|
|
7085
|
+
return React__default.createElement(
|
|
7086
7086
|
'span',
|
|
7087
7087
|
null,
|
|
7088
|
-
|
|
7088
|
+
React__default.createElement(
|
|
7089
7089
|
'a',
|
|
7090
7090
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7091
7091
|
authorName
|
|
7092
7092
|
),
|
|
7093
|
-
|
|
7093
|
+
React__default.createElement(
|
|
7094
7094
|
Card,
|
|
7095
7095
|
{ className: 'author-details-card-' + index },
|
|
7096
|
-
|
|
7096
|
+
React__default.createElement(
|
|
7097
7097
|
Row,
|
|
7098
7098
|
null,
|
|
7099
|
-
profileImage &&
|
|
7099
|
+
profileImage && React__default.createElement(
|
|
7100
7100
|
Col,
|
|
7101
7101
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7102
|
-
|
|
7102
|
+
React__default.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7103
7103
|
),
|
|
7104
|
-
|
|
7104
|
+
React__default.createElement(
|
|
7105
7105
|
Col,
|
|
7106
7106
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7107
|
-
|
|
7107
|
+
React__default.createElement(
|
|
7108
7108
|
'div',
|
|
7109
7109
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7110
7110
|
authorName
|
|
7111
7111
|
),
|
|
7112
|
-
|
|
7112
|
+
React__default.createElement(
|
|
7113
7113
|
'p',
|
|
7114
7114
|
null,
|
|
7115
7115
|
biography
|
|
@@ -7117,7 +7117,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7117
7117
|
)
|
|
7118
7118
|
)
|
|
7119
7119
|
),
|
|
7120
|
-
|
|
7120
|
+
React__default.createElement(
|
|
7121
7121
|
'style',
|
|
7122
7122
|
{ jsx: 'true' },
|
|
7123
7123
|
'\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 '
|
|
@@ -7125,7 +7125,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7125
7125
|
length !== index + 1 && ', '
|
|
7126
7126
|
);
|
|
7127
7127
|
} else if (authorName) {
|
|
7128
|
-
return
|
|
7128
|
+
return React__default.createElement(
|
|
7129
7129
|
'span',
|
|
7130
7130
|
{ key: index },
|
|
7131
7131
|
authorName,
|
|
@@ -7280,8 +7280,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7280
7280
|
var duration = player.getDuration();
|
|
7281
7281
|
var queue = Math.floor(duration / 10);
|
|
7282
7282
|
var segment = Math.floor(current / queue);
|
|
7283
|
-
Beam.report_beam_video('Ready',
|
|
7284
|
-
Segment.report_video_event('Video Ready',
|
|
7283
|
+
Beam.report_beam_video('Ready', main_18, duration, current, segment);
|
|
7284
|
+
Segment.report_video_event('Video Ready', main_18, duration, current, segment);
|
|
7285
7285
|
//autoplay
|
|
7286
7286
|
|
|
7287
7287
|
//Small pause before starting next video
|
|
@@ -7301,8 +7301,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7301
7301
|
var queue = Math.floor(duration / 10);
|
|
7302
7302
|
var segment = Math.floor(current / queue);
|
|
7303
7303
|
|
|
7304
|
-
Beam.report_beam_video('End',
|
|
7305
|
-
Segment.report_video_event('Video End',
|
|
7304
|
+
Beam.report_beam_video('End', main_18, duration, current, segment);
|
|
7305
|
+
Segment.report_video_event('Video End', main_18, duration, current, segment);
|
|
7306
7306
|
setEndReported(true);
|
|
7307
7307
|
clearInterval(intervalID);
|
|
7308
7308
|
}
|
|
@@ -7352,8 +7352,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7352
7352
|
var queue = Math.floor(duration / 10);
|
|
7353
7353
|
var segment = Math.floor(current / queue);
|
|
7354
7354
|
if (!queueProgress.includes(segment)) {
|
|
7355
|
-
Beam.report_beam_video('Segment',
|
|
7356
|
-
Segment.report_video_event('Video Segment',
|
|
7355
|
+
Beam.report_beam_video('Segment', main_18, duration, current, segment);
|
|
7356
|
+
Segment.report_video_event('Video Segment', main_18, duration, current, segment);
|
|
7357
7357
|
queueProgress.push(segment);
|
|
7358
7358
|
}
|
|
7359
7359
|
};
|
|
@@ -7366,8 +7366,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7366
7366
|
var queue = Math.floor(duration / 10);
|
|
7367
7367
|
var segment = Math.floor(current / queue);
|
|
7368
7368
|
|
|
7369
|
-
Beam.report_beam_video('Play',
|
|
7370
|
-
Segment.report_video_event('Video Play',
|
|
7369
|
+
Beam.report_beam_video('Play', main_18, duration, current, segment);
|
|
7370
|
+
Segment.report_video_event('Video Play', main_18, duration, current, segment);
|
|
7371
7371
|
|
|
7372
7372
|
if (!playReported) {
|
|
7373
7373
|
setPlayReported(true);
|
|
@@ -7385,8 +7385,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7385
7385
|
var queue = Math.floor(duration / 10);
|
|
7386
7386
|
var segment = Math.floor(current / queue);
|
|
7387
7387
|
|
|
7388
|
-
Beam.report_beam_video('Pause',
|
|
7389
|
-
Segment.report_video_event('Video Pause',
|
|
7388
|
+
Beam.report_beam_video('Pause', main_18, duration, current, segment);
|
|
7389
|
+
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
7390
7390
|
};
|
|
7391
7391
|
|
|
7392
7392
|
// Youtube Options
|
|
@@ -7397,44 +7397,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7397
7397
|
}
|
|
7398
7398
|
};
|
|
7399
7399
|
|
|
7400
|
-
return
|
|
7400
|
+
return React__default.createElement(
|
|
7401
7401
|
'div',
|
|
7402
7402
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7403
|
-
|
|
7403
|
+
React__default.createElement(
|
|
7404
7404
|
'div',
|
|
7405
7405
|
{ className: 'mt-2 mb-5' },
|
|
7406
|
-
series &&
|
|
7406
|
+
series && React__default.createElement(
|
|
7407
7407
|
'div',
|
|
7408
7408
|
{ style: { fontSize: '0.9rem' } },
|
|
7409
7409
|
article.title,
|
|
7410
7410
|
' - Episode ',
|
|
7411
7411
|
series
|
|
7412
7412
|
),
|
|
7413
|
-
Videos[series - 1] &&
|
|
7413
|
+
Videos[series - 1] && React__default.createElement(
|
|
7414
7414
|
'h1',
|
|
7415
7415
|
{ className: 'mb-3' },
|
|
7416
7416
|
Videos[series - 1].title
|
|
7417
7417
|
),
|
|
7418
|
-
|
|
7418
|
+
React__default.createElement(
|
|
7419
7419
|
'div',
|
|
7420
7420
|
null,
|
|
7421
7421
|
moment(article.published).format('LL')
|
|
7422
7422
|
),
|
|
7423
|
-
|
|
7423
|
+
React__default.createElement(
|
|
7424
7424
|
'div',
|
|
7425
7425
|
{ className: 'mb-3' },
|
|
7426
7426
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7427
|
-
return
|
|
7427
|
+
return React__default.createElement(
|
|
7428
7428
|
'span',
|
|
7429
7429
|
{ key: index },
|
|
7430
7430
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7431
7431
|
);
|
|
7432
7432
|
})
|
|
7433
7433
|
),
|
|
7434
|
-
|
|
7434
|
+
React__default.createElement(
|
|
7435
7435
|
'p',
|
|
7436
7436
|
null,
|
|
7437
|
-
|
|
7437
|
+
React__default.createElement(SocialShare, {
|
|
7438
7438
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7439
7439
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7440
7440
|
shareVia: meta.shareVia,
|
|
@@ -7449,20 +7449,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7449
7449
|
hideFacebook: meta.hideFBShare
|
|
7450
7450
|
})
|
|
7451
7451
|
),
|
|
7452
|
-
Videos[series - 1] && Videos[series - 1].intro &&
|
|
7452
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default.createElement(
|
|
7453
7453
|
'p',
|
|
7454
7454
|
{ className: 'mb-3' },
|
|
7455
|
-
|
|
7455
|
+
React__default.createElement(
|
|
7456
7456
|
'em',
|
|
7457
7457
|
null,
|
|
7458
7458
|
Videos[series - 1].intro
|
|
7459
7459
|
)
|
|
7460
7460
|
)
|
|
7461
7461
|
),
|
|
7462
|
-
|
|
7462
|
+
React__default.createElement(
|
|
7463
7463
|
'div',
|
|
7464
7464
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7465
|
-
vidUrl && vidType == 'youtube' &&
|
|
7465
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7466
7466
|
className: 'fluid-iframe',
|
|
7467
7467
|
videoId: getYoutubeId(vidUrl),
|
|
7468
7468
|
opts: opts,
|
|
@@ -7473,10 +7473,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7473
7473
|
return handleOnEnd(e);
|
|
7474
7474
|
}
|
|
7475
7475
|
}),
|
|
7476
|
-
vidUrl && vidType == 'mp4' &&
|
|
7477
|
-
vidUrl && vidType == 'brightcove' &&
|
|
7478
|
-
|
|
7479
|
-
series &&
|
|
7476
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7477
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7478
|
+
React__default.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7479
|
+
series && React__default.createElement(
|
|
7480
7480
|
'div',
|
|
7481
7481
|
{
|
|
7482
7482
|
className: 'vid-series',
|
|
@@ -7486,10 +7486,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7486
7486
|
maxHeight: '100%',
|
|
7487
7487
|
paddingBottom: '0'
|
|
7488
7488
|
} },
|
|
7489
|
-
|
|
7489
|
+
React__default.createElement(
|
|
7490
7490
|
'p',
|
|
7491
7491
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7492
|
-
|
|
7492
|
+
React__default.createElement(
|
|
7493
7493
|
'b',
|
|
7494
7494
|
{ style: { fontSize: '1.25em' } },
|
|
7495
7495
|
'Now Playing:'
|
|
@@ -7497,16 +7497,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7497
7497
|
' ',
|
|
7498
7498
|
seriesData[series ? series - 1 : 0].title
|
|
7499
7499
|
),
|
|
7500
|
-
vidUrl &&
|
|
7500
|
+
vidUrl && React__default.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7501
7501
|
)
|
|
7502
7502
|
),
|
|
7503
|
-
|
|
7504
|
-
|
|
7503
|
+
React__default.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7504
|
+
React__default.createElement(
|
|
7505
7505
|
'div',
|
|
7506
7506
|
{ className: 'vid-text' },
|
|
7507
|
-
Videos[series - 1] && Videos[series - 1].text &&
|
|
7507
|
+
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()))
|
|
7508
7508
|
),
|
|
7509
|
-
|
|
7509
|
+
React__default.createElement(
|
|
7510
7510
|
'style',
|
|
7511
7511
|
{ jsx: 'true' },
|
|
7512
7512
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -7514,14 +7514,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7514
7514
|
);
|
|
7515
7515
|
};
|
|
7516
7516
|
|
|
7517
|
-
var Poll = function Poll(_ref) {
|
|
7518
|
-
var node = _ref.node
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7522
|
-
onVote = _ref.onVote
|
|
7523
|
-
_ref
|
|
7524
|
-
getSerializers = _ref.getSerializers;
|
|
7517
|
+
var Poll$1 = function Poll(_ref) {
|
|
7518
|
+
var node = _ref.node;
|
|
7519
|
+
_ref.client;
|
|
7520
|
+
_ref.pageview;
|
|
7521
|
+
_ref.videoAccountIDs;
|
|
7522
|
+
var onVote = _ref.onVote;
|
|
7523
|
+
_ref.showVotes;
|
|
7524
|
+
var getSerializers = _ref.getSerializers;
|
|
7525
7525
|
|
|
7526
7526
|
var _useState = useState(null),
|
|
7527
7527
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7559,67 +7559,67 @@ var Poll = function Poll(_ref) {
|
|
|
7559
7559
|
return acc;
|
|
7560
7560
|
}
|
|
7561
7561
|
}, 0);
|
|
7562
|
-
return
|
|
7563
|
-
|
|
7562
|
+
return React__default.createElement(
|
|
7563
|
+
React__default.Fragment,
|
|
7564
7564
|
null,
|
|
7565
|
-
question &&
|
|
7565
|
+
question && React__default.createElement(
|
|
7566
7566
|
'p',
|
|
7567
7567
|
{ className: 'font-weight-bold' },
|
|
7568
7568
|
question
|
|
7569
7569
|
),
|
|
7570
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
7570
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
7571
7571
|
'form',
|
|
7572
7572
|
{ onSubmit: function onSubmit(e) {
|
|
7573
7573
|
return onSubmitPoll(e);
|
|
7574
7574
|
} },
|
|
7575
7575
|
choices && choices.map(function (choice) {
|
|
7576
|
-
return
|
|
7576
|
+
return React__default.createElement(
|
|
7577
7577
|
'div',
|
|
7578
7578
|
{ key: choice._key },
|
|
7579
|
-
|
|
7579
|
+
React__default.createElement(
|
|
7580
7580
|
'label',
|
|
7581
7581
|
{ className: 'pl-2' },
|
|
7582
|
-
|
|
7582
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
7583
7583
|
return setSelectedChoice(e.target.value);
|
|
7584
7584
|
} }),
|
|
7585
7585
|
' ' + choice.choiceText
|
|
7586
7586
|
)
|
|
7587
7587
|
);
|
|
7588
7588
|
}),
|
|
7589
|
-
|
|
7589
|
+
React__default.createElement(
|
|
7590
7590
|
Button,
|
|
7591
7591
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7592
7592
|
'Vote'
|
|
7593
7593
|
)
|
|
7594
7594
|
),
|
|
7595
|
-
|
|
7595
|
+
React__default.createElement(
|
|
7596
7596
|
'div',
|
|
7597
7597
|
{ className: 'progress-container' },
|
|
7598
7598
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
7599
7599
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
7600
|
-
return
|
|
7600
|
+
return React__default.createElement(
|
|
7601
7601
|
'div',
|
|
7602
7602
|
{ key: choice._key, className: 'mb-3' },
|
|
7603
|
-
|
|
7603
|
+
React__default.createElement(
|
|
7604
7604
|
'div',
|
|
7605
7605
|
{ className: 'correct-answer' },
|
|
7606
|
-
|
|
7606
|
+
React__default.createElement(
|
|
7607
7607
|
'div',
|
|
7608
7608
|
null,
|
|
7609
7609
|
choice.choiceText
|
|
7610
7610
|
),
|
|
7611
|
-
choice.choiceAnswer === true &&
|
|
7611
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
7612
7612
|
'div',
|
|
7613
7613
|
null,
|
|
7614
|
-
|
|
7614
|
+
React__default.createElement(
|
|
7615
7615
|
'span',
|
|
7616
7616
|
{ style: { color: 'limegreen' } },
|
|
7617
7617
|
'Correct!'
|
|
7618
7618
|
)
|
|
7619
7619
|
)
|
|
7620
7620
|
),
|
|
7621
|
-
|
|
7622
|
-
|
|
7621
|
+
React__default.createElement(ProgressBar, { now: percentage }),
|
|
7622
|
+
React__default.createElement(
|
|
7623
7623
|
'span',
|
|
7624
7624
|
{ className: 'float-right' },
|
|
7625
7625
|
percentage,
|
|
@@ -7630,14 +7630,14 @@ var Poll = function Poll(_ref) {
|
|
|
7630
7630
|
);
|
|
7631
7631
|
})
|
|
7632
7632
|
),
|
|
7633
|
-
showAnswer &&
|
|
7633
|
+
showAnswer && React__default.createElement(
|
|
7634
7634
|
'h4',
|
|
7635
7635
|
{ className: 'text-center small p-3' },
|
|
7636
7636
|
'Total Votes: ',
|
|
7637
7637
|
choicesTotalCount
|
|
7638
7638
|
),
|
|
7639
|
-
showAnswer && response &&
|
|
7640
|
-
|
|
7639
|
+
showAnswer && response && React__default.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7640
|
+
React__default.createElement(
|
|
7641
7641
|
'style',
|
|
7642
7642
|
{ jsx: 'true' },
|
|
7643
7643
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -7655,22 +7655,22 @@ _export(_export.S, 'Object', {
|
|
|
7655
7655
|
}
|
|
7656
7656
|
});
|
|
7657
7657
|
|
|
7658
|
-
var values = _core.Object.values;
|
|
7658
|
+
var values$1 = _core.Object.values;
|
|
7659
7659
|
|
|
7660
|
-
var values
|
|
7661
|
-
module.exports = { "default": values, __esModule: true };
|
|
7660
|
+
var values = createCommonjsModule(function (module) {
|
|
7661
|
+
module.exports = { "default": values$1, __esModule: true };
|
|
7662
7662
|
});
|
|
7663
7663
|
|
|
7664
|
-
var _Object$values = unwrapExports(values
|
|
7664
|
+
var _Object$values = unwrapExports(values);
|
|
7665
7665
|
|
|
7666
|
-
var Poll
|
|
7667
|
-
var node = _ref.node
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
onVote = _ref.onVote
|
|
7672
|
-
_ref
|
|
7673
|
-
getSerializers = _ref.getSerializers;
|
|
7666
|
+
var Poll = function Poll(_ref) {
|
|
7667
|
+
var node = _ref.node;
|
|
7668
|
+
_ref.client;
|
|
7669
|
+
_ref.pageview;
|
|
7670
|
+
_ref.videoAccountIDs;
|
|
7671
|
+
var onVote = _ref.onVote;
|
|
7672
|
+
_ref.showVotes;
|
|
7673
|
+
var getSerializers = _ref.getSerializers;
|
|
7674
7674
|
|
|
7675
7675
|
var _useState = useState(null),
|
|
7676
7676
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7736,67 +7736,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
7736
7736
|
return acc;
|
|
7737
7737
|
}
|
|
7738
7738
|
}, 0);
|
|
7739
|
-
return
|
|
7740
|
-
|
|
7739
|
+
return React__default.createElement(
|
|
7740
|
+
React__default.Fragment,
|
|
7741
7741
|
null,
|
|
7742
|
-
question &&
|
|
7742
|
+
question && React__default.createElement(
|
|
7743
7743
|
'p',
|
|
7744
7744
|
{ className: 'font-weight-bold' },
|
|
7745
7745
|
question
|
|
7746
7746
|
),
|
|
7747
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
7747
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
7748
7748
|
'form',
|
|
7749
7749
|
{ onSubmit: function onSubmit(e) {
|
|
7750
7750
|
return onSubmitPoll(e);
|
|
7751
7751
|
} },
|
|
7752
7752
|
choices && choices.map(function (choice) {
|
|
7753
|
-
return
|
|
7753
|
+
return React__default.createElement(
|
|
7754
7754
|
'div',
|
|
7755
7755
|
{ key: choice._key },
|
|
7756
|
-
|
|
7756
|
+
React__default.createElement(
|
|
7757
7757
|
'label',
|
|
7758
7758
|
{ className: 'pl-2' },
|
|
7759
|
-
|
|
7759
|
+
React__default.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
7760
7760
|
return setSelectedChoice(e.target.value);
|
|
7761
7761
|
} }),
|
|
7762
7762
|
' ' + choice.choiceText
|
|
7763
7763
|
)
|
|
7764
7764
|
);
|
|
7765
7765
|
}),
|
|
7766
|
-
|
|
7766
|
+
React__default.createElement(
|
|
7767
7767
|
Button,
|
|
7768
7768
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7769
7769
|
'Vote'
|
|
7770
7770
|
)
|
|
7771
7771
|
),
|
|
7772
|
-
|
|
7772
|
+
React__default.createElement(
|
|
7773
7773
|
'div',
|
|
7774
7774
|
{ className: 'progress-container' },
|
|
7775
7775
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
7776
7776
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
7777
|
-
return
|
|
7777
|
+
return React__default.createElement(
|
|
7778
7778
|
'div',
|
|
7779
7779
|
{ key: choice._key, className: 'mb-3' },
|
|
7780
|
-
|
|
7780
|
+
React__default.createElement(
|
|
7781
7781
|
'div',
|
|
7782
7782
|
{ className: 'correct-answer' },
|
|
7783
|
-
|
|
7783
|
+
React__default.createElement(
|
|
7784
7784
|
'div',
|
|
7785
7785
|
null,
|
|
7786
7786
|
choice.choiceText
|
|
7787
7787
|
),
|
|
7788
|
-
choice.choiceAnswer === true &&
|
|
7788
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
7789
7789
|
'div',
|
|
7790
7790
|
null,
|
|
7791
|
-
|
|
7791
|
+
React__default.createElement(
|
|
7792
7792
|
'span',
|
|
7793
7793
|
{ style: { color: 'limegreen' } },
|
|
7794
7794
|
'Correct!'
|
|
7795
7795
|
)
|
|
7796
7796
|
)
|
|
7797
7797
|
),
|
|
7798
|
-
|
|
7799
|
-
|
|
7798
|
+
React__default.createElement(ProgressBar, { now: percentage }),
|
|
7799
|
+
React__default.createElement(
|
|
7800
7800
|
'span',
|
|
7801
7801
|
{ className: 'float-right' },
|
|
7802
7802
|
percentage,
|
|
@@ -7807,14 +7807,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
7807
7807
|
);
|
|
7808
7808
|
})
|
|
7809
7809
|
),
|
|
7810
|
-
showAnswer &&
|
|
7810
|
+
showAnswer && React__default.createElement(
|
|
7811
7811
|
'h4',
|
|
7812
7812
|
{ className: 'text-center small p-3' },
|
|
7813
7813
|
'Total Votes: ',
|
|
7814
7814
|
choicesTotalCount
|
|
7815
7815
|
),
|
|
7816
|
-
showAnswer && response &&
|
|
7817
|
-
|
|
7816
|
+
showAnswer && response && React__default.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7817
|
+
React__default.createElement(
|
|
7818
7818
|
'style',
|
|
7819
7819
|
{ jsx: 'true' },
|
|
7820
7820
|
'\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 '
|
|
@@ -7822,7 +7822,7 @@ var Poll$1 = function Poll(_ref) {
|
|
|
7822
7822
|
);
|
|
7823
7823
|
};
|
|
7824
7824
|
|
|
7825
|
-
var numberOfPaginations =
|
|
7825
|
+
var numberOfPaginations = main_42 ? 4 : 10;
|
|
7826
7826
|
|
|
7827
7827
|
var Quiz = function Quiz(_ref) {
|
|
7828
7828
|
var quizzes = _ref.quizzes,
|
|
@@ -7940,20 +7940,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
7940
7940
|
};
|
|
7941
7941
|
|
|
7942
7942
|
var renderPagination = function renderPagination() {
|
|
7943
|
-
return
|
|
7943
|
+
return React__default.createElement(
|
|
7944
7944
|
Pagination,
|
|
7945
|
-
{ className: 'p-0 m-0', size:
|
|
7946
|
-
|
|
7945
|
+
{ className: 'p-0 m-0', size: main_42 && 'sm' },
|
|
7946
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
7947
7947
|
return changePage('first');
|
|
7948
7948
|
}, disabled: currentPage === 1 }),
|
|
7949
|
-
|
|
7949
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
7950
7950
|
return changePage('prev');
|
|
7951
7951
|
}, disabled: currentPage === 1 }),
|
|
7952
|
-
|
|
7952
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
7953
7953
|
return renderNewPages('prev');
|
|
7954
7954
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
7955
7955
|
pages.map(function (page) {
|
|
7956
|
-
return
|
|
7956
|
+
return React__default.createElement(
|
|
7957
7957
|
Pagination.Item,
|
|
7958
7958
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
7959
7959
|
return changePage(page);
|
|
@@ -7961,13 +7961,13 @@ var Quiz = function Quiz(_ref) {
|
|
|
7961
7961
|
page
|
|
7962
7962
|
);
|
|
7963
7963
|
}),
|
|
7964
|
-
|
|
7964
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
7965
7965
|
return renderNewPages('next');
|
|
7966
7966
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
7967
|
-
|
|
7967
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
7968
7968
|
return changePage('next');
|
|
7969
7969
|
}, disabled: currentPage === pageCount }),
|
|
7970
|
-
|
|
7970
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
7971
7971
|
return changePage('last');
|
|
7972
7972
|
}, disabled: currentPage === pageCount })
|
|
7973
7973
|
);
|
|
@@ -8050,51 +8050,51 @@ var Quiz = function Quiz(_ref) {
|
|
|
8050
8050
|
}
|
|
8051
8051
|
};
|
|
8052
8052
|
|
|
8053
|
-
return
|
|
8054
|
-
|
|
8053
|
+
return React__default.createElement(
|
|
8054
|
+
React__default.Fragment,
|
|
8055
8055
|
null,
|
|
8056
|
-
quizzes[currentPage - 1] &&
|
|
8057
|
-
|
|
8056
|
+
quizzes[currentPage - 1] && React__default.createElement(
|
|
8057
|
+
React__default.Fragment,
|
|
8058
8058
|
null,
|
|
8059
|
-
|
|
8060
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
8059
|
+
React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8060
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default.createElement(
|
|
8061
8061
|
'form',
|
|
8062
8062
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8063
8063
|
return e.preventDefault();
|
|
8064
8064
|
} },
|
|
8065
8065
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8066
|
-
return
|
|
8066
|
+
return React__default.createElement(
|
|
8067
8067
|
'div',
|
|
8068
8068
|
{ key: answer._key },
|
|
8069
|
-
|
|
8069
|
+
React__default.createElement(
|
|
8070
8070
|
'label',
|
|
8071
8071
|
{ className: 'pl-2' },
|
|
8072
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
8072
|
+
quizzes[currentPage - 1].multiAnswer ? React__default.createElement('input', { type: 'checkbox', id: 'male', disabled: isDisabled, name: answer._type, value: answer._key }) : React__default.createElement('input', { type: 'radio', id: 'male', name: answer._type, value: answer._key }),
|
|
8073
8073
|
' ' + answer.answerText
|
|
8074
8074
|
)
|
|
8075
8075
|
);
|
|
8076
8076
|
})
|
|
8077
8077
|
)
|
|
8078
8078
|
),
|
|
8079
|
-
!showAnswer &&
|
|
8079
|
+
!showAnswer && React__default.createElement(
|
|
8080
8080
|
Button$1,
|
|
8081
8081
|
{ onClick: function onClick() {
|
|
8082
8082
|
return checkAnswers();
|
|
8083
8083
|
}, variant: 'info', block: true },
|
|
8084
8084
|
'Please click here for answer'
|
|
8085
8085
|
),
|
|
8086
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
8087
|
-
|
|
8086
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
8087
|
+
React__default.Fragment,
|
|
8088
8088
|
null,
|
|
8089
|
-
|
|
8089
|
+
React__default.createElement(
|
|
8090
8090
|
'h4',
|
|
8091
8091
|
null,
|
|
8092
8092
|
'Answer:'
|
|
8093
8093
|
),
|
|
8094
|
-
quizzes[currentPage - 1].answer &&
|
|
8094
|
+
quizzes[currentPage - 1].answer && React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8095
8095
|
),
|
|
8096
|
-
|
|
8097
|
-
pageCount > 1 &&
|
|
8096
|
+
React__default.createElement('br', null),
|
|
8097
|
+
pageCount > 1 && React__default.createElement(
|
|
8098
8098
|
'div',
|
|
8099
8099
|
{ className: 'd-flex justify-content-center' },
|
|
8100
8100
|
renderPagination()
|
|
@@ -8105,19 +8105,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8105
8105
|
var Leads = function Leads(_ref) {
|
|
8106
8106
|
var url = _ref.url;
|
|
8107
8107
|
|
|
8108
|
-
return
|
|
8108
|
+
return React__default.createElement(
|
|
8109
8109
|
'div',
|
|
8110
8110
|
{ className: 'd-block text-center mb-3' },
|
|
8111
|
-
|
|
8111
|
+
React__default.createElement(
|
|
8112
8112
|
'style',
|
|
8113
8113
|
{ jsx: 'true' },
|
|
8114
8114
|
'\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 '
|
|
8115
8115
|
),
|
|
8116
|
-
url &&
|
|
8116
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8117
8117
|
);
|
|
8118
8118
|
};
|
|
8119
8119
|
|
|
8120
|
-
var Slideshow
|
|
8120
|
+
var Slideshow = function Slideshow(_ref) {
|
|
8121
8121
|
var slides = _ref.node.slides,
|
|
8122
8122
|
client = _ref.client,
|
|
8123
8123
|
pageview = _ref.pageview,
|
|
@@ -8153,53 +8153,53 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
8153
8153
|
setCarouselIndex(selectedIndex);
|
|
8154
8154
|
};
|
|
8155
8155
|
|
|
8156
|
-
return
|
|
8156
|
+
return React__default.createElement(
|
|
8157
8157
|
'div',
|
|
8158
8158
|
{ className: 'mt-3 mb-4' },
|
|
8159
|
-
|
|
8159
|
+
React__default.createElement(
|
|
8160
8160
|
Carousel,
|
|
8161
8161
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8162
8162
|
slides && slides.map(function (slide) {
|
|
8163
8163
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8164
|
-
return
|
|
8164
|
+
return React__default.createElement(
|
|
8165
8165
|
Carousel.Item,
|
|
8166
8166
|
{ key: slide._key },
|
|
8167
|
-
|
|
8167
|
+
React__default.createElement(
|
|
8168
8168
|
'a',
|
|
8169
8169
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8170
|
-
|
|
8170
|
+
React__default.createElement(
|
|
8171
8171
|
'div',
|
|
8172
8172
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8173
|
-
|
|
8173
|
+
React__default.createElement(
|
|
8174
8174
|
LazyLoad,
|
|
8175
8175
|
null,
|
|
8176
|
-
|
|
8176
|
+
React__default.createElement(
|
|
8177
8177
|
'picture',
|
|
8178
8178
|
null,
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8179
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8180
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8181
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8182
|
+
React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8183
8183
|
)
|
|
8184
8184
|
)
|
|
8185
8185
|
)
|
|
8186
8186
|
),
|
|
8187
|
-
|
|
8187
|
+
React__default.createElement(
|
|
8188
8188
|
'div',
|
|
8189
8189
|
{ className: 'p-2' },
|
|
8190
|
-
slide.slideshowImage.caption &&
|
|
8190
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
8191
8191
|
'h3',
|
|
8192
8192
|
{ style: { padding: '0px' } },
|
|
8193
8193
|
slide.slideshowImage.caption
|
|
8194
8194
|
),
|
|
8195
|
-
slide.description &&
|
|
8195
|
+
slide.description && React__default.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8196
8196
|
)
|
|
8197
8197
|
);
|
|
8198
8198
|
}
|
|
8199
8199
|
return null;
|
|
8200
8200
|
})
|
|
8201
8201
|
),
|
|
8202
|
-
|
|
8202
|
+
React__default.createElement(
|
|
8203
8203
|
'style',
|
|
8204
8204
|
{ jsx: 'true' },
|
|
8205
8205
|
'\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 '
|
|
@@ -8218,10 +8218,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8218
8218
|
sizes = _props$node.sizes,
|
|
8219
8219
|
sizeMapping = _props$node.sizeMapping;
|
|
8220
8220
|
|
|
8221
|
-
return
|
|
8221
|
+
return React__default.createElement(
|
|
8222
8222
|
'div',
|
|
8223
8223
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8224
|
-
|
|
8224
|
+
React__default.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8225
8225
|
);
|
|
8226
8226
|
};
|
|
8227
8227
|
|
|
@@ -8232,15 +8232,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8232
8232
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8233
8233
|
|
|
8234
8234
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8235
|
-
return
|
|
8235
|
+
return React__default.createElement(
|
|
8236
8236
|
'section',
|
|
8237
8237
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8238
|
-
Caption &&
|
|
8238
|
+
Caption && React__default.createElement(
|
|
8239
8239
|
'h4',
|
|
8240
8240
|
{ className: 'formstack-caption' },
|
|
8241
8241
|
Caption
|
|
8242
8242
|
),
|
|
8243
|
-
|
|
8243
|
+
React__default.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8244
8244
|
);
|
|
8245
8245
|
};
|
|
8246
8246
|
|
|
@@ -8256,36 +8256,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8256
8256
|
}
|
|
8257
8257
|
});
|
|
8258
8258
|
if (medias && medias.length > 0) {
|
|
8259
|
-
return
|
|
8259
|
+
return React__default.createElement(
|
|
8260
8260
|
'div',
|
|
8261
8261
|
{ className: 'multi-media-container' },
|
|
8262
|
-
|
|
8262
|
+
React__default.createElement(
|
|
8263
8263
|
Row$1,
|
|
8264
8264
|
{ noGutters: true },
|
|
8265
8265
|
medias.map(function (media) {
|
|
8266
|
-
return
|
|
8266
|
+
return React__default.createElement(
|
|
8267
8267
|
Col$1,
|
|
8268
8268
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8269
|
-
|
|
8269
|
+
React__default.createElement(
|
|
8270
8270
|
'a',
|
|
8271
8271
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
|
|
8272
8272
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8273
|
-
|
|
8273
|
+
React__default.createElement(
|
|
8274
8274
|
'div',
|
|
8275
8275
|
{ className: 'multi-media-image-container' },
|
|
8276
|
-
imageBox &&
|
|
8276
|
+
imageBox && React__default.createElement(
|
|
8277
8277
|
LazyLoad,
|
|
8278
8278
|
{ once: true },
|
|
8279
|
-
|
|
8279
|
+
React__default.createElement(
|
|
8280
8280
|
'picture',
|
|
8281
8281
|
null,
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8282
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8283
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8284
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8285
|
+
React__default.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8286
8286
|
)
|
|
8287
8287
|
),
|
|
8288
|
-
media.caption &&
|
|
8288
|
+
media.caption && React__default.createElement(
|
|
8289
8289
|
'span',
|
|
8290
8290
|
{ className: 'multi-media-caption' },
|
|
8291
8291
|
media.caption
|
|
@@ -8295,7 +8295,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8295
8295
|
);
|
|
8296
8296
|
})
|
|
8297
8297
|
),
|
|
8298
|
-
|
|
8298
|
+
React__default.createElement(
|
|
8299
8299
|
'style',
|
|
8300
8300
|
{ jsx: 'true' },
|
|
8301
8301
|
'\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 '
|
|
@@ -8342,7 +8342,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8342
8342
|
}
|
|
8343
8343
|
};
|
|
8344
8344
|
|
|
8345
|
-
_this.wraperRef =
|
|
8345
|
+
_this.wraperRef = React__default.createRef();
|
|
8346
8346
|
_this.visible = false;
|
|
8347
8347
|
return _this;
|
|
8348
8348
|
}
|
|
@@ -8370,7 +8370,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8370
8370
|
_props$id = _props.id,
|
|
8371
8371
|
id = _props$id === undefined ? '' : _props$id;
|
|
8372
8372
|
|
|
8373
|
-
return
|
|
8373
|
+
return React__default.createElement(
|
|
8374
8374
|
'div',
|
|
8375
8375
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8376
8376
|
this.props.children
|
|
@@ -8379,7 +8379,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8379
8379
|
}]);
|
|
8380
8380
|
|
|
8381
8381
|
return InscreenSensor;
|
|
8382
|
-
}(
|
|
8382
|
+
}(React__default.Component);
|
|
8383
8383
|
|
|
8384
8384
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8385
8385
|
var nodes = _ref.nodes,
|
|
@@ -8488,33 +8488,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8488
8488
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
8489
8489
|
var showReading = show ? 'showReading' : '';
|
|
8490
8490
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8491
|
-
return
|
|
8491
|
+
return React__default.createElement(
|
|
8492
8492
|
'div',
|
|
8493
8493
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8494
|
-
|
|
8494
|
+
React__default.createElement(
|
|
8495
8495
|
'a',
|
|
8496
8496
|
{ onClick: function onClick(e) {
|
|
8497
8497
|
return articleCardClickHandler(e);
|
|
8498
8498
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleIndex': '' + index, 'data-articleid': '' + article.param.current },
|
|
8499
|
-
|
|
8499
|
+
React__default.createElement(
|
|
8500
8500
|
'div',
|
|
8501
8501
|
{ className: 'prevNext-thumbnail' },
|
|
8502
|
-
|
|
8503
|
-
|
|
8502
|
+
React__default.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
8503
|
+
React__default.createElement(
|
|
8504
8504
|
'div',
|
|
8505
8505
|
{ className: 'prevNext-reading ' + showReading },
|
|
8506
8506
|
articleLabel
|
|
8507
8507
|
)
|
|
8508
8508
|
),
|
|
8509
|
-
|
|
8509
|
+
React__default.createElement(
|
|
8510
8510
|
'div',
|
|
8511
8511
|
{ className: 'prevNext-summary' },
|
|
8512
|
-
|
|
8512
|
+
React__default.createElement(
|
|
8513
8513
|
'div',
|
|
8514
8514
|
{ className: 'prevNext-publishDate' },
|
|
8515
8515
|
moment(article.published).format('LL')
|
|
8516
8516
|
),
|
|
8517
|
-
|
|
8517
|
+
React__default.createElement(
|
|
8518
8518
|
'h2',
|
|
8519
8519
|
{ className: 'prevNext-title' },
|
|
8520
8520
|
article.title
|
|
@@ -8563,7 +8563,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8563
8563
|
|
|
8564
8564
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
8565
8565
|
if (biography) {
|
|
8566
|
-
return
|
|
8566
|
+
return React__default.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
8567
8567
|
}
|
|
8568
8568
|
};
|
|
8569
8569
|
|
|
@@ -8649,7 +8649,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8649
8649
|
//console.log('useLayoutEffect')
|
|
8650
8650
|
if (!firstLoad) {
|
|
8651
8651
|
setUpArrowClicked(false);
|
|
8652
|
-
if (
|
|
8652
|
+
if (main_43) {
|
|
8653
8653
|
grabLoadedAds();
|
|
8654
8654
|
} else {
|
|
8655
8655
|
scrollToArticle();
|
|
@@ -8673,7 +8673,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8673
8673
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
8674
8674
|
if (pageview) pageview(path);
|
|
8675
8675
|
|
|
8676
|
-
if (!
|
|
8676
|
+
if (!main_43) {
|
|
8677
8677
|
lib_3.getGoogletag().then(function (googletag) {
|
|
8678
8678
|
if (window.googletag && googletag.pubadsReady) {
|
|
8679
8679
|
lib_3.refresh();
|
|
@@ -8681,7 +8681,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8681
8681
|
});
|
|
8682
8682
|
}
|
|
8683
8683
|
//Refresh leaderboard ad on mobile
|
|
8684
|
-
if (
|
|
8684
|
+
if (main_43) {
|
|
8685
8685
|
var leaderboardSlotId = '';
|
|
8686
8686
|
lib_3.getGoogletag().then(function (googletag) {
|
|
8687
8687
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -8721,38 +8721,38 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8721
8721
|
setSensorVisible(false);
|
|
8722
8722
|
};
|
|
8723
8723
|
|
|
8724
|
-
return
|
|
8725
|
-
|
|
8724
|
+
return React__default.createElement(
|
|
8725
|
+
React__default.Fragment,
|
|
8726
8726
|
null,
|
|
8727
|
-
|
|
8727
|
+
React__default.createElement(
|
|
8728
8728
|
'div',
|
|
8729
8729
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
8730
|
-
|
|
8730
|
+
React__default.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
8731
8731
|
return handleArrowClick();
|
|
8732
8732
|
} })
|
|
8733
8733
|
),
|
|
8734
|
-
|
|
8735
|
-
|
|
8734
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' }),
|
|
8735
|
+
React__default.createElement(
|
|
8736
8736
|
'div',
|
|
8737
8737
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8738
|
-
|
|
8738
|
+
React__default.createElement(
|
|
8739
8739
|
'h5',
|
|
8740
8740
|
{ className: 'objective-title' },
|
|
8741
8741
|
nodes.seriesTitle
|
|
8742
8742
|
),
|
|
8743
|
-
|
|
8743
|
+
React__default.createElement(
|
|
8744
8744
|
'div',
|
|
8745
8745
|
{ className: 'prevNextWrapper' },
|
|
8746
8746
|
PrevNextCards(false, -1)
|
|
8747
8747
|
)
|
|
8748
8748
|
),
|
|
8749
|
-
|
|
8750
|
-
|
|
8749
|
+
React__default.createElement('hr', { className: 'article-seperater' }),
|
|
8750
|
+
React__default.createElement(
|
|
8751
8751
|
'div',
|
|
8752
8752
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8753
|
-
|
|
8753
|
+
main_43 && Ads.map(function (ad, index) {
|
|
8754
8754
|
if (index === 0) {
|
|
8755
|
-
return
|
|
8755
|
+
return React__default.createElement(
|
|
8756
8756
|
'div',
|
|
8757
8757
|
{
|
|
8758
8758
|
key: 'addid-1',
|
|
@@ -8772,14 +8772,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8772
8772
|
}
|
|
8773
8773
|
})
|
|
8774
8774
|
),
|
|
8775
|
-
|
|
8775
|
+
React__default.createElement(
|
|
8776
8776
|
'div',
|
|
8777
8777
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
8778
8778
|
Articles.map(function (article, index) {
|
|
8779
|
-
return
|
|
8779
|
+
return React__default.createElement(
|
|
8780
8780
|
'div',
|
|
8781
8781
|
{ key: article.title },
|
|
8782
|
-
|
|
8782
|
+
React__default.createElement(
|
|
8783
8783
|
InscreenSensor,
|
|
8784
8784
|
{
|
|
8785
8785
|
visible: sensorVisible,
|
|
@@ -8797,84 +8797,84 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8797
8797
|
}
|
|
8798
8798
|
}
|
|
8799
8799
|
} },
|
|
8800
|
-
|
|
8800
|
+
React__default.createElement(
|
|
8801
8801
|
Head,
|
|
8802
8802
|
null,
|
|
8803
|
-
currentTitle !== null &&
|
|
8803
|
+
currentTitle !== null && React__default.createElement(
|
|
8804
8804
|
'title',
|
|
8805
8805
|
{ key: 'title' },
|
|
8806
8806
|
currentTitle
|
|
8807
8807
|
),
|
|
8808
|
-
currentSummary !== null &&
|
|
8809
|
-
currentURL !== null &&
|
|
8810
|
-
currentTitle !== null &&
|
|
8811
|
-
currentThumbnail !== null &&
|
|
8812
|
-
currentSummary !== null &&
|
|
8813
|
-
currentTitle !== null &&
|
|
8814
|
-
currentThumbnail !== null &&
|
|
8815
|
-
currentSummary !== null &&
|
|
8808
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
8809
|
+
currentURL !== null && React__default.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
8810
|
+
currentTitle !== null && React__default.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
8811
|
+
currentThumbnail !== null && React__default.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
8812
|
+
currentSummary !== null && React__default.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
8813
|
+
currentTitle !== null && React__default.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
8814
|
+
currentThumbnail !== null && React__default.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
8815
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
8816
8816
|
),
|
|
8817
|
-
|
|
8817
|
+
React__default.createElement(
|
|
8818
8818
|
'article',
|
|
8819
8819
|
{ className: 'article-wrapper' },
|
|
8820
|
-
|
|
8820
|
+
React__default.createElement(
|
|
8821
8821
|
'div',
|
|
8822
8822
|
{ className: 'article-publishDate' },
|
|
8823
8823
|
moment(article.published).format('LL')
|
|
8824
8824
|
),
|
|
8825
|
-
|
|
8825
|
+
React__default.createElement(
|
|
8826
8826
|
'div',
|
|
8827
8827
|
{ className: 'author-details-wrapper' },
|
|
8828
8828
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
8829
|
-
return
|
|
8829
|
+
return React__default.createElement(
|
|
8830
8830
|
'span',
|
|
8831
8831
|
{ key: index },
|
|
8832
8832
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
8833
8833
|
);
|
|
8834
8834
|
})
|
|
8835
8835
|
),
|
|
8836
|
-
|
|
8836
|
+
React__default.createElement(
|
|
8837
8837
|
'h2',
|
|
8838
8838
|
{ className: 'article-title' },
|
|
8839
8839
|
article.title
|
|
8840
8840
|
),
|
|
8841
|
-
|
|
8841
|
+
React__default.createElement(
|
|
8842
8842
|
'div',
|
|
8843
8843
|
{ className: 'mt-2 mb-2' },
|
|
8844
|
-
|
|
8844
|
+
React__default.createElement(BlockContent, _extends({
|
|
8845
8845
|
serializers: getSerializers,
|
|
8846
8846
|
videoAccountIDs: accountIDs,
|
|
8847
8847
|
blocks: article.text,
|
|
8848
8848
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
8849
8849
|
}, client.config())),
|
|
8850
|
-
|
|
8850
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' })
|
|
8851
8851
|
),
|
|
8852
|
-
Articles.length > 1 &&
|
|
8853
|
-
|
|
8852
|
+
Articles.length > 1 && React__default.createElement(
|
|
8853
|
+
React__default.Fragment,
|
|
8854
8854
|
null,
|
|
8855
|
-
|
|
8855
|
+
React__default.createElement(
|
|
8856
8856
|
'div',
|
|
8857
8857
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8858
|
-
|
|
8858
|
+
React__default.createElement(
|
|
8859
8859
|
'h5',
|
|
8860
8860
|
{ className: 'objective-title' },
|
|
8861
8861
|
nodes.seriesTitle
|
|
8862
8862
|
),
|
|
8863
|
-
|
|
8863
|
+
React__default.createElement(
|
|
8864
8864
|
'div',
|
|
8865
8865
|
{ className: 'prevNextWrapper' },
|
|
8866
8866
|
PrevNextCards(true, index)
|
|
8867
8867
|
)
|
|
8868
8868
|
),
|
|
8869
|
-
|
|
8869
|
+
React__default.createElement('hr', { className: 'article-seperater' })
|
|
8870
8870
|
)
|
|
8871
8871
|
),
|
|
8872
|
-
|
|
8872
|
+
React__default.createElement(
|
|
8873
8873
|
'div',
|
|
8874
8874
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8875
|
-
|
|
8875
|
+
main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
8876
8876
|
if (innerIndex === 0) {
|
|
8877
|
-
return
|
|
8877
|
+
return React__default.createElement(
|
|
8878
8878
|
'div',
|
|
8879
8879
|
{
|
|
8880
8880
|
key: 'addid-' + (index + 2),
|
|
@@ -8897,7 +8897,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8897
8897
|
)
|
|
8898
8898
|
);
|
|
8899
8899
|
}),
|
|
8900
|
-
|
|
8900
|
+
React__default.createElement(
|
|
8901
8901
|
'style',
|
|
8902
8902
|
{ jsx: 'true' },
|
|
8903
8903
|
'\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 '
|
|
@@ -8927,11 +8927,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
8927
8927
|
};
|
|
8928
8928
|
}, [handleClickOutside]);
|
|
8929
8929
|
|
|
8930
|
-
return
|
|
8930
|
+
return React__default.createElement(
|
|
8931
8931
|
'div',
|
|
8932
8932
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
8933
|
-
|
|
8934
|
-
|
|
8933
|
+
React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
8934
|
+
React__default.createElement(
|
|
8935
8935
|
'style',
|
|
8936
8936
|
{ jsx: 'true' },
|
|
8937
8937
|
'\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 '
|
|
@@ -8945,7 +8945,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
8945
8945
|
}
|
|
8946
8946
|
};
|
|
8947
8947
|
|
|
8948
|
-
var FigureImage =
|
|
8948
|
+
var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
8949
8949
|
var node = _ref2.node,
|
|
8950
8950
|
client = _ref2.client,
|
|
8951
8951
|
imgAlt = _ref2.imgAlt,
|
|
@@ -8953,13 +8953,13 @@ var FigureImage = React.memo(function (_ref2) {
|
|
|
8953
8953
|
handleClickFigure = _ref2.handleClickFigure;
|
|
8954
8954
|
|
|
8955
8955
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
8956
|
-
return
|
|
8956
|
+
return React__default.createElement(
|
|
8957
8957
|
'picture',
|
|
8958
8958
|
null,
|
|
8959
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8959
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8960
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8961
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8962
|
+
React__default.createElement('img', _extends({
|
|
8963
8963
|
style: figureImageStyle,
|
|
8964
8964
|
className: 'figure-image',
|
|
8965
8965
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9010,30 +9010,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9010
9010
|
|
|
9011
9011
|
var renderTooltip = function renderTooltip(props) {
|
|
9012
9012
|
if (infoBox[0].title) {
|
|
9013
|
-
return
|
|
9013
|
+
return React__default.createElement(
|
|
9014
9014
|
Popover,
|
|
9015
9015
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9016
|
-
|
|
9016
|
+
React__default.createElement(
|
|
9017
9017
|
Popover.Title,
|
|
9018
9018
|
{ as: 'h3' },
|
|
9019
9019
|
infoBox[0].title
|
|
9020
9020
|
),
|
|
9021
|
-
|
|
9021
|
+
React__default.createElement(
|
|
9022
9022
|
Popover.Content,
|
|
9023
9023
|
null,
|
|
9024
|
-
|
|
9024
|
+
React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9025
9025
|
)
|
|
9026
9026
|
);
|
|
9027
9027
|
} else {
|
|
9028
|
-
return
|
|
9028
|
+
return React__default.createElement(
|
|
9029
9029
|
Tooltip,
|
|
9030
9030
|
_extends({ id: 'button-tooltip' }, props),
|
|
9031
|
-
|
|
9031
|
+
React__default.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9032
9032
|
);
|
|
9033
9033
|
}
|
|
9034
9034
|
};
|
|
9035
9035
|
|
|
9036
|
-
var FigureImageWOverLay =
|
|
9036
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9037
9037
|
var node = _ref3.node,
|
|
9038
9038
|
client = _ref3.client,
|
|
9039
9039
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9041,32 +9041,32 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9041
9041
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9042
9042
|
|
|
9043
9043
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9044
|
-
var triggerAction =
|
|
9045
|
-
var placementLocation =
|
|
9046
|
-
return
|
|
9044
|
+
var triggerAction = main_42 ? 'click' : 'hover';
|
|
9045
|
+
var placementLocation = main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9046
|
+
return React__default.createElement(
|
|
9047
9047
|
'picture',
|
|
9048
9048
|
null,
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9049
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9050
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9051
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9052
|
+
main_42 && link ? React__default.createElement('img', _extends({
|
|
9053
9053
|
style: figureImageStyle,
|
|
9054
9054
|
className: 'figure-image',
|
|
9055
9055
|
src: urlFor({ source: node, client: client }),
|
|
9056
9056
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9057
|
-
}, !link && !
|
|
9057
|
+
}, !link && !main_42 && {
|
|
9058
9058
|
onClick: function onClick() {
|
|
9059
9059
|
return handleClickFigure(node, client);
|
|
9060
9060
|
}
|
|
9061
|
-
})) :
|
|
9061
|
+
})) : React__default.createElement(
|
|
9062
9062
|
OverlayTrigger,
|
|
9063
9063
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9064
|
-
|
|
9064
|
+
React__default.createElement('img', _extends({
|
|
9065
9065
|
style: figureImageStyle,
|
|
9066
9066
|
className: 'figure-image',
|
|
9067
9067
|
src: urlFor({ source: node, client: client }),
|
|
9068
9068
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9069
|
-
}, !link && !
|
|
9069
|
+
}, !link && !main_42 && {
|
|
9070
9070
|
onClick: function onClick() {
|
|
9071
9071
|
return handleClickFigure(node, client);
|
|
9072
9072
|
}
|
|
@@ -9115,13 +9115,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9115
9115
|
|
|
9116
9116
|
var FigureCaption = useCallback(function () {
|
|
9117
9117
|
if (imgcaption && imgcaption.length > 0) {
|
|
9118
|
-
return
|
|
9118
|
+
return React__default.createElement(
|
|
9119
9119
|
'div',
|
|
9120
9120
|
{ className: 'figure-caption' },
|
|
9121
|
-
|
|
9121
|
+
React__default.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9122
9122
|
);
|
|
9123
9123
|
} else if (caption) {
|
|
9124
|
-
return
|
|
9124
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9125
9125
|
} else return null;
|
|
9126
9126
|
}, [caption, imgcaption]);
|
|
9127
9127
|
|
|
@@ -9138,24 +9138,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9138
9138
|
setShowLightbox(true);
|
|
9139
9139
|
}, [node, client]);
|
|
9140
9140
|
|
|
9141
|
-
return
|
|
9142
|
-
|
|
9141
|
+
return React__default.createElement(
|
|
9142
|
+
React__default.Fragment,
|
|
9143
9143
|
null,
|
|
9144
|
-
infoBox.length >= 1 ?
|
|
9144
|
+
infoBox.length >= 1 ? React__default.createElement(
|
|
9145
9145
|
Figure$2,
|
|
9146
9146
|
{ className: '' + class_name, style: figureStyle },
|
|
9147
|
-
link ?
|
|
9147
|
+
link ? React__default.createElement(
|
|
9148
9148
|
'a',
|
|
9149
9149
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
) :
|
|
9153
|
-
|
|
9150
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9151
|
+
React__default.createElement(FigureCaption, null)
|
|
9152
|
+
) : React__default.createElement(
|
|
9153
|
+
React__default.Fragment,
|
|
9154
9154
|
null,
|
|
9155
|
-
|
|
9156
|
-
|
|
9155
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9156
|
+
React__default.createElement(FigureCaption, null)
|
|
9157
9157
|
),
|
|
9158
|
-
|
|
9158
|
+
React__default.createElement(LightBox, {
|
|
9159
9159
|
showLightbox: showLightbox,
|
|
9160
9160
|
lightboxImgSrc: lightboxImgSrc,
|
|
9161
9161
|
closeLightbox: function closeLightbox() {
|
|
@@ -9163,21 +9163,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9163
9163
|
setShowLightbox(false);
|
|
9164
9164
|
}
|
|
9165
9165
|
})
|
|
9166
|
-
) :
|
|
9166
|
+
) : React__default.createElement(
|
|
9167
9167
|
Figure$2,
|
|
9168
9168
|
{ className: '' + class_name, style: figureStyle },
|
|
9169
|
-
link ?
|
|
9169
|
+
link ? React__default.createElement(
|
|
9170
9170
|
'a',
|
|
9171
9171
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
) :
|
|
9175
|
-
|
|
9172
|
+
React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9173
|
+
React__default.createElement(FigureCaption, null)
|
|
9174
|
+
) : React__default.createElement(
|
|
9175
|
+
React__default.Fragment,
|
|
9176
9176
|
null,
|
|
9177
|
-
|
|
9178
|
-
|
|
9177
|
+
React__default.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9178
|
+
React__default.createElement(FigureCaption, null)
|
|
9179
9179
|
),
|
|
9180
|
-
|
|
9180
|
+
React__default.createElement(LightBox, {
|
|
9181
9181
|
showLightbox: showLightbox,
|
|
9182
9182
|
lightboxImgSrc: lightboxImgSrc,
|
|
9183
9183
|
closeLightbox: function closeLightbox() {
|
|
@@ -9186,7 +9186,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9186
9186
|
}
|
|
9187
9187
|
})
|
|
9188
9188
|
),
|
|
9189
|
-
|
|
9189
|
+
React__default.createElement(
|
|
9190
9190
|
'style',
|
|
9191
9191
|
{ jsx: 'true' },
|
|
9192
9192
|
'\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 '
|
|
@@ -9194,7 +9194,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9194
9194
|
);
|
|
9195
9195
|
};
|
|
9196
9196
|
|
|
9197
|
-
var Figure =
|
|
9197
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
9198
9198
|
|
|
9199
9199
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9200
9200
|
useEffect(function () {
|
|
@@ -9211,7 +9211,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9211
9211
|
}, [ref]);
|
|
9212
9212
|
}
|
|
9213
9213
|
|
|
9214
|
-
var FigureImage
|
|
9214
|
+
var FigureImage = React__default.memo(function (_ref) {
|
|
9215
9215
|
var imagesCount = _ref.imagesCount,
|
|
9216
9216
|
image = _ref.image,
|
|
9217
9217
|
client = _ref.client,
|
|
@@ -9219,13 +9219,13 @@ var FigureImage$1 = React.memo(function (_ref) {
|
|
|
9219
9219
|
link = _ref.link,
|
|
9220
9220
|
handleClickFigure = _ref.handleClickFigure;
|
|
9221
9221
|
|
|
9222
|
-
return
|
|
9222
|
+
return React__default.createElement(
|
|
9223
9223
|
'picture',
|
|
9224
9224
|
null,
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9225
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9226
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9227
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9228
|
+
React__default.createElement('img', _extends({
|
|
9229
9229
|
'images-count': imagesCount,
|
|
9230
9230
|
className: 'multi-figure-image',
|
|
9231
9231
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9262,13 +9262,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9262
9262
|
imgcaption = _ref2.imgcaption;
|
|
9263
9263
|
|
|
9264
9264
|
if (imgcaption && imgcaption.length > 0) {
|
|
9265
|
-
return
|
|
9265
|
+
return React__default.createElement(
|
|
9266
9266
|
'div',
|
|
9267
9267
|
{ className: 'multi-figure-caption' },
|
|
9268
|
-
|
|
9268
|
+
React__default.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9269
9269
|
);
|
|
9270
9270
|
} else if (caption) {
|
|
9271
|
-
return
|
|
9271
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9272
9272
|
} else return null;
|
|
9273
9273
|
};
|
|
9274
9274
|
|
|
@@ -9277,7 +9277,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9277
9277
|
setOpenImg(true);
|
|
9278
9278
|
}, [client]);
|
|
9279
9279
|
|
|
9280
|
-
var FigureImageWOverLay =
|
|
9280
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9281
9281
|
var imagesCount = _ref3.imagesCount,
|
|
9282
9282
|
image = _ref3.image,
|
|
9283
9283
|
client = _ref3.client,
|
|
@@ -9285,32 +9285,32 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9285
9285
|
link = _ref3.link,
|
|
9286
9286
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9287
9287
|
|
|
9288
|
-
var triggerAction =
|
|
9289
|
-
var placementLocation =
|
|
9290
|
-
return
|
|
9288
|
+
var triggerAction = main_42 ? 'click' : 'hover';
|
|
9289
|
+
var placementLocation = main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9290
|
+
return React__default.createElement(
|
|
9291
9291
|
'picture',
|
|
9292
9292
|
null,
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9293
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9294
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9295
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9296
|
+
main_42 && link ? React__default.createElement('img', _extends({
|
|
9297
9297
|
'images-count': imagesCount,
|
|
9298
9298
|
className: 'multi-figure-image',
|
|
9299
9299
|
src: urlFor({ source: image, client: client }),
|
|
9300
9300
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9301
|
-
}, !link && !
|
|
9301
|
+
}, !link && !main_42 && {
|
|
9302
9302
|
onClick: function onClick() {
|
|
9303
9303
|
return handleClickFigure(image, client);
|
|
9304
9304
|
}
|
|
9305
|
-
})) :
|
|
9305
|
+
})) : React__default.createElement(
|
|
9306
9306
|
OverlayTrigger,
|
|
9307
9307
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9308
|
-
|
|
9308
|
+
React__default.createElement('img', _extends({
|
|
9309
9309
|
'images-count': imagesCount,
|
|
9310
9310
|
className: 'multi-figure-image',
|
|
9311
9311
|
src: urlFor({ source: image, client: client }),
|
|
9312
9312
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9313
|
-
}, !link && !
|
|
9313
|
+
}, !link && !main_42 && {
|
|
9314
9314
|
onClick: function onClick() {
|
|
9315
9315
|
return handleClickFigure(image, client);
|
|
9316
9316
|
}
|
|
@@ -9321,102 +9321,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9321
9321
|
|
|
9322
9322
|
var renderTooltip = function renderTooltip(image) {
|
|
9323
9323
|
if (image.infoBox[0].title) {
|
|
9324
|
-
return
|
|
9324
|
+
return React__default.createElement(
|
|
9325
9325
|
Popover,
|
|
9326
9326
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9327
|
-
|
|
9327
|
+
React__default.createElement(
|
|
9328
9328
|
Popover.Title,
|
|
9329
9329
|
{ as: 'h3' },
|
|
9330
9330
|
image.infoBox[0].title
|
|
9331
9331
|
),
|
|
9332
|
-
|
|
9332
|
+
React__default.createElement(
|
|
9333
9333
|
Popover.Content,
|
|
9334
9334
|
null,
|
|
9335
|
-
|
|
9335
|
+
React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9336
9336
|
)
|
|
9337
9337
|
);
|
|
9338
9338
|
} else {
|
|
9339
|
-
return
|
|
9339
|
+
return React__default.createElement(
|
|
9340
9340
|
Tooltip,
|
|
9341
9341
|
_extends({ id: 'button-tooltip' }, props),
|
|
9342
|
-
|
|
9342
|
+
React__default.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9343
9343
|
);
|
|
9344
9344
|
}
|
|
9345
9345
|
};
|
|
9346
9346
|
|
|
9347
9347
|
if (images && images.length > 0) {
|
|
9348
|
-
return
|
|
9348
|
+
return React__default.createElement(
|
|
9349
9349
|
'div',
|
|
9350
9350
|
{ className: 'multi-figure-container' },
|
|
9351
|
-
|
|
9351
|
+
React__default.createElement(
|
|
9352
9352
|
Row$1,
|
|
9353
9353
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9354
9354
|
images.map(function (image, index) {
|
|
9355
9355
|
if (image.infoBox) {
|
|
9356
|
-
return
|
|
9356
|
+
return React__default.createElement(
|
|
9357
9357
|
Col$1,
|
|
9358
9358
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9359
|
-
image.link ?
|
|
9359
|
+
image.link ? React__default.createElement(
|
|
9360
9360
|
'a',
|
|
9361
9361
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9362
|
-
|
|
9362
|
+
React__default.createElement(
|
|
9363
9363
|
'div',
|
|
9364
9364
|
{ className: 'multi-figure-image-container' },
|
|
9365
|
-
|
|
9365
|
+
React__default.createElement(
|
|
9366
9366
|
LazyLoad,
|
|
9367
9367
|
{ once: true },
|
|
9368
|
-
|
|
9368
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9369
9369
|
),
|
|
9370
|
-
|
|
9370
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9371
9371
|
)
|
|
9372
|
-
) :
|
|
9372
|
+
) : React__default.createElement(
|
|
9373
9373
|
'div',
|
|
9374
9374
|
{ className: 'multi-figure-image-container' },
|
|
9375
|
-
|
|
9375
|
+
React__default.createElement(
|
|
9376
9376
|
LazyLoad,
|
|
9377
9377
|
{ once: true },
|
|
9378
|
-
|
|
9378
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9379
9379
|
),
|
|
9380
|
-
|
|
9380
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9381
9381
|
)
|
|
9382
9382
|
);
|
|
9383
9383
|
} else {
|
|
9384
|
-
return
|
|
9384
|
+
return React__default.createElement(
|
|
9385
9385
|
Col$1,
|
|
9386
9386
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9387
|
-
image.link ?
|
|
9387
|
+
image.link ? React__default.createElement(
|
|
9388
9388
|
'a',
|
|
9389
9389
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9390
|
-
|
|
9390
|
+
React__default.createElement(
|
|
9391
9391
|
'div',
|
|
9392
9392
|
{ className: 'multi-figure-image-container' },
|
|
9393
|
-
|
|
9393
|
+
React__default.createElement(
|
|
9394
9394
|
LazyLoad,
|
|
9395
9395
|
{ once: true },
|
|
9396
|
-
|
|
9396
|
+
React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9397
9397
|
),
|
|
9398
|
-
|
|
9398
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9399
9399
|
)
|
|
9400
|
-
) :
|
|
9400
|
+
) : React__default.createElement(
|
|
9401
9401
|
'div',
|
|
9402
9402
|
{ className: 'multi-figure-image-container' },
|
|
9403
|
-
|
|
9403
|
+
React__default.createElement(
|
|
9404
9404
|
LazyLoad,
|
|
9405
9405
|
{ once: true },
|
|
9406
|
-
|
|
9406
|
+
React__default.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9407
9407
|
),
|
|
9408
|
-
|
|
9408
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9409
9409
|
)
|
|
9410
9410
|
);
|
|
9411
9411
|
}
|
|
9412
9412
|
})
|
|
9413
9413
|
),
|
|
9414
|
-
|
|
9414
|
+
React__default.createElement(
|
|
9415
9415
|
'div',
|
|
9416
9416
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9417
|
-
|
|
9417
|
+
React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9418
9418
|
),
|
|
9419
|
-
|
|
9419
|
+
React__default.createElement(
|
|
9420
9420
|
'style',
|
|
9421
9421
|
{ jsx: 'true' },
|
|
9422
9422
|
'\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 '
|
|
@@ -9465,23 +9465,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9465
9465
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9466
9466
|
}, []);
|
|
9467
9467
|
|
|
9468
|
-
return
|
|
9469
|
-
|
|
9468
|
+
return React__default.createElement(
|
|
9469
|
+
React__default.Fragment,
|
|
9470
9470
|
null,
|
|
9471
|
-
|
|
9471
|
+
React__default.createElement(
|
|
9472
9472
|
Head,
|
|
9473
9473
|
null,
|
|
9474
|
-
|
|
9474
|
+
React__default.createElement('script', {
|
|
9475
9475
|
dangerouslySetInnerHTML: {
|
|
9476
9476
|
__html: 'history.scrollRestoration = "manual"'
|
|
9477
9477
|
}
|
|
9478
9478
|
})
|
|
9479
9479
|
),
|
|
9480
|
-
|
|
9480
|
+
React__default.createElement(
|
|
9481
9481
|
'div',
|
|
9482
9482
|
{ id: elementId },
|
|
9483
|
-
|
|
9484
|
-
|
|
9483
|
+
React__default.createElement(BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9484
|
+
React__default.createElement(
|
|
9485
9485
|
'style',
|
|
9486
9486
|
{ jsx: 'true' },
|
|
9487
9487
|
'\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 '
|
|
@@ -9535,7 +9535,7 @@ var _inherits3 = _interopRequireDefault(inherits);
|
|
|
9535
9535
|
|
|
9536
9536
|
|
|
9537
9537
|
|
|
9538
|
-
var _react2 = _interopRequireDefault(
|
|
9538
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
9539
9539
|
|
|
9540
9540
|
|
|
9541
9541
|
|
|
@@ -9684,9 +9684,9 @@ var ScriptTag = function (_Component) {
|
|
|
9684
9684
|
|
|
9685
9685
|
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
9686
9686
|
// eslint-disable-next-line no-unused-vars
|
|
9687
|
-
var _props3 = this.props
|
|
9688
|
-
|
|
9689
|
-
tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
9687
|
+
var _props3 = this.props;
|
|
9688
|
+
_props3.isHydrating;
|
|
9689
|
+
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
9690
9690
|
|
|
9691
9691
|
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
9692
9692
|
return _this2.domRef = tag;
|
|
@@ -9694,7 +9694,7 @@ var ScriptTag = function (_Component) {
|
|
|
9694
9694
|
};
|
|
9695
9695
|
|
|
9696
9696
|
return ScriptTag;
|
|
9697
|
-
}(
|
|
9697
|
+
}(React__default.Component);
|
|
9698
9698
|
|
|
9699
9699
|
ScriptTag.propTypes = {
|
|
9700
9700
|
/**
|
|
@@ -9773,11 +9773,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
9773
9773
|
}, []);
|
|
9774
9774
|
|
|
9775
9775
|
if (iframeSrc) {
|
|
9776
|
-
return
|
|
9776
|
+
return React__default.createElement(
|
|
9777
9777
|
'section',
|
|
9778
9778
|
{ className: 'form-assembly' },
|
|
9779
|
-
|
|
9780
|
-
|
|
9779
|
+
React__default.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
9780
|
+
React__default.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
9781
9781
|
);
|
|
9782
9782
|
}
|
|
9783
9783
|
|
|
@@ -9814,27 +9814,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
9814
9814
|
return window.removeEventListener('resize', handleResize);
|
|
9815
9815
|
};
|
|
9816
9816
|
}, []);
|
|
9817
|
-
return
|
|
9817
|
+
return React__default.createElement(
|
|
9818
9818
|
'div',
|
|
9819
9819
|
{ className: 'blockTableHolder', ref: holder },
|
|
9820
|
-
|
|
9820
|
+
React__default.createElement(
|
|
9821
9821
|
'div',
|
|
9822
9822
|
{ className: 'blockTable' },
|
|
9823
9823
|
rows && rows.map(function (row) {
|
|
9824
|
-
return
|
|
9824
|
+
return React__default.createElement(
|
|
9825
9825
|
'div',
|
|
9826
9826
|
{ className: 'blockTableRow' },
|
|
9827
9827
|
row.cells && row.cells.map(function (cell) {
|
|
9828
|
-
return
|
|
9828
|
+
return React__default.createElement(
|
|
9829
9829
|
'div',
|
|
9830
9830
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
9831
|
-
|
|
9831
|
+
React__default.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
9832
9832
|
);
|
|
9833
9833
|
})
|
|
9834
9834
|
);
|
|
9835
9835
|
})
|
|
9836
9836
|
),
|
|
9837
|
-
|
|
9837
|
+
React__default.createElement(
|
|
9838
9838
|
'style',
|
|
9839
9839
|
{ jsx: true },
|
|
9840
9840
|
'\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 '
|
|
@@ -9913,12 +9913,12 @@ var getSerializers = function getSerializers() {
|
|
|
9913
9913
|
var node = _ref.node;
|
|
9914
9914
|
var url = node.url;
|
|
9915
9915
|
|
|
9916
|
-
return
|
|
9916
|
+
return React__default.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
9917
9917
|
},
|
|
9918
9918
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
9919
9919
|
var node = _ref2.node;
|
|
9920
9920
|
|
|
9921
|
-
return
|
|
9921
|
+
return React__default.createElement(YouTubeGallery, {
|
|
9922
9922
|
nodes: node,
|
|
9923
9923
|
article: article,
|
|
9924
9924
|
meta: meta,
|
|
@@ -9932,7 +9932,7 @@ var getSerializers = function getSerializers() {
|
|
|
9932
9932
|
articleSeries: function articleSeries(_ref3) {
|
|
9933
9933
|
var node = _ref3.node;
|
|
9934
9934
|
|
|
9935
|
-
return
|
|
9935
|
+
return React__default.createElement(ArticleSeries, {
|
|
9936
9936
|
nodes: node,
|
|
9937
9937
|
accountIDs: videoAccountIDs || {},
|
|
9938
9938
|
pageview: pageview,
|
|
@@ -9945,61 +9945,61 @@ var getSerializers = function getSerializers() {
|
|
|
9945
9945
|
figure: function figure(_ref4) {
|
|
9946
9946
|
var node = _ref4.node;
|
|
9947
9947
|
|
|
9948
|
-
return
|
|
9948
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
9949
9949
|
},
|
|
9950
9950
|
multifigure: function multifigure(_ref5) {
|
|
9951
9951
|
var node = _ref5.node;
|
|
9952
9952
|
|
|
9953
|
-
return
|
|
9953
|
+
return React__default.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
9954
9954
|
},
|
|
9955
9955
|
slideshow: function slideshow(_ref6) {
|
|
9956
9956
|
var node = _ref6.node;
|
|
9957
9957
|
var slides = node.slides;
|
|
9958
9958
|
|
|
9959
|
-
return
|
|
9959
|
+
return React__default.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
9960
9960
|
},
|
|
9961
9961
|
sidebar: function sidebar(_ref7) {
|
|
9962
9962
|
var node = _ref7.node;
|
|
9963
9963
|
var caption = node.caption,
|
|
9964
9964
|
content = node.content;
|
|
9965
9965
|
|
|
9966
|
-
return
|
|
9966
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers(props) });
|
|
9967
9967
|
},
|
|
9968
9968
|
datatable: function datatable(_ref8) {
|
|
9969
9969
|
var node = _ref8.node;
|
|
9970
9970
|
var table = node.table;
|
|
9971
9971
|
|
|
9972
|
-
return
|
|
9972
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
9973
9973
|
},
|
|
9974
9974
|
media: function media(_ref9) {
|
|
9975
9975
|
var node = _ref9.node;
|
|
9976
9976
|
|
|
9977
|
-
return
|
|
9977
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
9978
9978
|
},
|
|
9979
9979
|
iframe: function iframe(_ref10) {
|
|
9980
9980
|
var node = _ref10.node;
|
|
9981
9981
|
|
|
9982
|
-
return
|
|
9982
|
+
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
9983
9983
|
},
|
|
9984
9984
|
video: function video(_ref11) {
|
|
9985
9985
|
var node = _ref11.node;
|
|
9986
9986
|
|
|
9987
|
-
return
|
|
9987
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting });
|
|
9988
9988
|
},
|
|
9989
9989
|
audio: function audio(_ref12) {
|
|
9990
9990
|
var node = _ref12.node;
|
|
9991
9991
|
|
|
9992
|
-
return
|
|
9992
|
+
return React__default.createElement(Audio, { node: node });
|
|
9993
9993
|
},
|
|
9994
9994
|
poll: function poll(_ref13) {
|
|
9995
9995
|
var node = _ref13.node;
|
|
9996
9996
|
|
|
9997
|
-
return
|
|
9997
|
+
return React__default.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
|
|
9998
9998
|
},
|
|
9999
9999
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10000
10000
|
var node = _ref14.node;
|
|
10001
10001
|
|
|
10002
|
-
return
|
|
10002
|
+
return React__default.createElement(Poll, {
|
|
10003
10003
|
node: node,
|
|
10004
10004
|
client: client,
|
|
10005
10005
|
pageview: pageview,
|
|
@@ -10013,35 +10013,35 @@ var getSerializers = function getSerializers() {
|
|
|
10013
10013
|
var node = _ref15.node;
|
|
10014
10014
|
var quizzes = node.quizzes;
|
|
10015
10015
|
|
|
10016
|
-
return
|
|
10016
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers(props), pageview: pageview, currentPage: currentPage });
|
|
10017
10017
|
},
|
|
10018
10018
|
leads: function leads(_ref16) {
|
|
10019
10019
|
var node = _ref16.node;
|
|
10020
10020
|
var leadID = node.leadID;
|
|
10021
10021
|
|
|
10022
10022
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10023
|
-
return
|
|
10023
|
+
return React__default.createElement(Leads, { url: url });
|
|
10024
10024
|
},
|
|
10025
10025
|
slideshows: function slideshows(_ref17) {
|
|
10026
10026
|
var node = _ref17.node;
|
|
10027
10027
|
|
|
10028
|
-
return
|
|
10028
|
+
return React__default.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
|
|
10029
10029
|
},
|
|
10030
10030
|
nativeAd: function nativeAd(_ref18) {
|
|
10031
10031
|
var node = _ref18.node;
|
|
10032
10032
|
|
|
10033
|
-
return
|
|
10033
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
10034
10034
|
},
|
|
10035
10035
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10036
10036
|
var node = _ref19.node;
|
|
10037
10037
|
|
|
10038
|
-
return
|
|
10038
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10039
10039
|
},
|
|
10040
10040
|
hrtag: function hrtag() {
|
|
10041
|
-
return
|
|
10041
|
+
return React__default.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10042
10042
|
},
|
|
10043
10043
|
brtag: function brtag() {
|
|
10044
|
-
return
|
|
10044
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
10045
10045
|
},
|
|
10046
10046
|
formstack: function formstack(_ref20) {
|
|
10047
10047
|
var node = _ref20.node;
|
|
@@ -10049,29 +10049,29 @@ var getSerializers = function getSerializers() {
|
|
|
10049
10049
|
Caption = node.Caption,
|
|
10050
10050
|
needSegmentSupport = node.needSegmentSupport;
|
|
10051
10051
|
|
|
10052
|
-
return
|
|
10052
|
+
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10053
10053
|
},
|
|
10054
10054
|
formassembly: FormAssembly,
|
|
10055
10055
|
multimedia: function multimedia(_ref21) {
|
|
10056
10056
|
var node = _ref21.node;
|
|
10057
10057
|
|
|
10058
|
-
return
|
|
10058
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
10059
10059
|
},
|
|
10060
10060
|
blockTable: function blockTable(_ref22) {
|
|
10061
10061
|
var node = _ref22.node;
|
|
10062
|
-
return
|
|
10062
|
+
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10063
10063
|
}
|
|
10064
10064
|
},
|
|
10065
10065
|
marks: {
|
|
10066
10066
|
superscript: function superscript(props) {
|
|
10067
|
-
return
|
|
10067
|
+
return React__default.createElement(
|
|
10068
10068
|
'sup',
|
|
10069
10069
|
null,
|
|
10070
10070
|
props.children
|
|
10071
10071
|
);
|
|
10072
10072
|
},
|
|
10073
10073
|
subscript: function subscript(props) {
|
|
10074
|
-
return
|
|
10074
|
+
return React__default.createElement(
|
|
10075
10075
|
'sub',
|
|
10076
10076
|
null,
|
|
10077
10077
|
props.children
|
|
@@ -10088,7 +10088,7 @@ var getSerializers = function getSerializers() {
|
|
|
10088
10088
|
if (href && href.charAt(0) === '#') {
|
|
10089
10089
|
var elementId = href.slice(1);
|
|
10090
10090
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10091
|
-
return
|
|
10091
|
+
return React__default.createElement(
|
|
10092
10092
|
'a',
|
|
10093
10093
|
{ onClick: function onClick() {
|
|
10094
10094
|
return ScrollToElement(elementId);
|
|
@@ -10098,7 +10098,7 @@ var getSerializers = function getSerializers() {
|
|
|
10098
10098
|
}
|
|
10099
10099
|
|
|
10100
10100
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10101
|
-
return href ?
|
|
10101
|
+
return href ? React__default.createElement(
|
|
10102
10102
|
'a',
|
|
10103
10103
|
_extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10104
10104
|
children
|
|
@@ -10106,7 +10106,7 @@ var getSerializers = function getSerializers() {
|
|
|
10106
10106
|
},
|
|
10107
10107
|
alignleft: function alignleft(_ref23) {
|
|
10108
10108
|
var children = _ref23.children;
|
|
10109
|
-
return
|
|
10109
|
+
return React__default.createElement(
|
|
10110
10110
|
'div',
|
|
10111
10111
|
{ style: { textAlign: 'left' } },
|
|
10112
10112
|
children
|
|
@@ -10114,7 +10114,7 @@ var getSerializers = function getSerializers() {
|
|
|
10114
10114
|
},
|
|
10115
10115
|
alignright: function alignright(_ref24) {
|
|
10116
10116
|
var children = _ref24.children;
|
|
10117
|
-
return
|
|
10117
|
+
return React__default.createElement(
|
|
10118
10118
|
'div',
|
|
10119
10119
|
{ style: { textAlign: 'right' } },
|
|
10120
10120
|
children
|
|
@@ -10122,7 +10122,7 @@ var getSerializers = function getSerializers() {
|
|
|
10122
10122
|
},
|
|
10123
10123
|
aligncenter: function aligncenter(_ref25) {
|
|
10124
10124
|
var children = _ref25.children;
|
|
10125
|
-
return
|
|
10125
|
+
return React__default.createElement(
|
|
10126
10126
|
'div',
|
|
10127
10127
|
{ style: { textAlign: 'center' } },
|
|
10128
10128
|
children
|
|
@@ -10130,7 +10130,7 @@ var getSerializers = function getSerializers() {
|
|
|
10130
10130
|
},
|
|
10131
10131
|
alignjustify: function alignjustify(_ref26) {
|
|
10132
10132
|
var children = _ref26.children;
|
|
10133
|
-
return
|
|
10133
|
+
return React__default.createElement(
|
|
10134
10134
|
'div',
|
|
10135
10135
|
{ style: { textAlign: 'justify' } },
|
|
10136
10136
|
children
|
|
@@ -10140,7 +10140,7 @@ var getSerializers = function getSerializers() {
|
|
|
10140
10140
|
var children = props.children,
|
|
10141
10141
|
color = props.mark.color;
|
|
10142
10142
|
|
|
10143
|
-
return
|
|
10143
|
+
return React__default.createElement(
|
|
10144
10144
|
'span',
|
|
10145
10145
|
{ style: { color: color ? color.hex : null } },
|
|
10146
10146
|
children
|