@mjhls/mjh-framework 1.0.852 → 1.0.853
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +30 -29
- package/dist/cjs/AD300x250x600.js +30 -29
- package/dist/cjs/AD728x90.js +33 -32
- package/dist/cjs/ADFloatingFooter.js +33 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -32
- package/dist/cjs/{ADInfeed-5f236872.js → ADInfeed-fb136f1d.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -32
- package/dist/cjs/ADSponsoredResources.js +33 -32
- package/dist/cjs/ADWebcast.js +33 -32
- package/dist/cjs/ADWelcome.js +34 -33
- package/dist/cjs/{ADlgInfeed-7b915591.js → ADlgInfeed-d303d27e.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +34 -33
- package/dist/cjs/AdSlotsProvider.js +19 -17
- package/dist/cjs/AlgoliaSearch.js +1057 -1062
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +60 -59
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +289 -285
- package/dist/cjs/AuthWrapper.js +47 -46
- package/dist/cjs/{AuthorComponent-0c464248.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-bac780ac.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +61 -58
- package/dist/cjs/ConferenceArticleCard.js +23 -22
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +98 -94
- package/dist/cjs/DeckQueue.js +91 -87
- package/dist/cjs/{Dfp-ac0c1cc6.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +142 -135
- package/dist/cjs/ExternalResources.js +81 -80
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +238 -233
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +133 -128
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +73 -72
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +78 -73
- package/dist/cjs/IssueDeck.js +77 -72
- package/dist/cjs/IssueLanding.js +67 -66
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +73 -72
- package/dist/cjs/MediaSeriesLanding.js +980 -988
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +140 -135
- package/dist/cjs/NavNative.js +136 -128
- package/dist/cjs/OncliveHero.js +19 -18
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +109 -108
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -42
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +67 -62
- package/dist/cjs/PublicationLanding.js +112 -108
- package/dist/cjs/QueueDeckExpanded.js +310 -310
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +27 -26
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +36 -36
- package/dist/cjs/{SeriesSlider-dad08884.js → SeriesSlider-cbab9f0f.js} +31 -30
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -36
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-ad15dd61.js → SocialSearchComponent-ecb4f972.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +56 -55
- package/dist/cjs/TemplateNormal.js +74 -73
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +29 -28
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +78 -74
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesListing.js +79 -78
- package/dist/cjs/View.js +253 -250
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +58 -57
- package/dist/cjs/{_is-array-39ff55dd.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-ef35661e.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-b231f928.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-c3aeb51d.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-7a3ce269.js → _to-object-6de10e57.js} +6 -6
- package/dist/cjs/{asyncToGenerator-8ae2191c.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/{core.get-iterator-method-6cd7682d.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-6191c8ee.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-fc002cec.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-03c4c82e.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-ab94a594.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-acc1318d.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 +20 -20
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-608e1fd1.js → getTargeting-faf37284.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-53e27416.js → index-8041a4eb.js} +10 -16
- package/dist/cjs/{index-a7a90204.js → index-8d141227.js} +574 -564
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-ff69979f.js → index-efca863c.js} +8 -8
- package/dist/cjs/{index-79eed652.js → index-f86bb269.js} +6 -6
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-bf016399.js → index.esm-8123cf40.js} +18 -17
- package/dist/cjs/index.js +169 -166
- package/dist/cjs/{inherits-bfdb22af.js → inherits-c2065b95.js} +22 -22
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-b5e0d5f6.js → lodash-f0783643.js} +1 -1
- package/dist/cjs/{main-bc7d4bf8.js → main-025fdc78.js} +73 -72
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-41819145.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-4fdb72e2.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-f2f8744b.js → toNumber-5e1fac58.js} +1 -1
- package/dist/cjs/{typeof-e83d4a26.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-c30d203c.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-68e3aaf2.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +26 -26
- package/dist/esm/AD300x250x600.js +26 -26
- package/dist/esm/AD728x90.js +29 -29
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-dec9975c.js → ADInfeed-df562a07.js} +11 -11
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-1ea41fb6.js → ADlgInfeed-53992119.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +25 -25
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +705 -711
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +57 -57
- package/dist/esm/Auth.js +270 -270
- package/dist/esm/AuthWrapper.js +44 -44
- package/dist/esm/{AuthorComponent-5cab1f6b.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-ea93e8f7.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +55 -55
- package/dist/esm/ConferenceArticleCard.js +20 -20
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +89 -89
- package/dist/esm/DeckQueue.js +82 -82
- package/dist/esm/{Dfp-4b94fbd4.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +112 -112
- package/dist/esm/ExternalResources.js +74 -74
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +198 -198
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +103 -103
- 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 -69
- package/dist/esm/HorizontalHero.js +22 -22
- package/dist/esm/IssueContentDeck.js +61 -61
- package/dist/esm/IssueDeck.js +65 -65
- package/dist/esm/IssueLanding.js +63 -63
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +69 -69
- package/dist/esm/MediaSeriesLanding.js +618 -629
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -113
- package/dist/esm/NavNative.js +105 -105
- 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 +105 -105
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +53 -53
- package/dist/esm/PublicationLanding.js +95 -95
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +20 -20
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-5ba2e521.js → SeriesSlider-5c62a578.js} +22 -22
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-9cc36413.js → SocialSearchComponent-cd38ae60.js} +26 -26
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -54
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +69 -69
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +25 -25
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +67 -67
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -42
- package/dist/esm/VideoSeriesListing.js +74 -74
- package/dist/esm/View.js +241 -242
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +42 -42
- package/dist/esm/{_is-array-328b85b7.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-0fa1c752.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-1b84e2bf.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-c8f72bf1.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-cedb5b78.js → _to-object-b50e61c3.js} +7 -7
- package/dist/esm/{asyncToGenerator-e1a2f43a.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{core.get-iterator-method-227107e6.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-89969f66.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-2f35af22.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-eb9699c0.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-1577cb76.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-be71a29a.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 -45
- package/dist/esm/{getTargeting-37cb4051.js → getTargeting-c3401fa7.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-f7fdcc91.js → index-0dbff1d1.js} +8 -8
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-637e8f49.js → index-67e1773f.js} +10 -16
- package/dist/esm/{index-511bdaa5.js → index-79cfd25c.js} +6 -6
- package/dist/esm/{index-03da2fcc.js → index-b03f775b.js} +522 -522
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-ed50151c.js → index.esm-8016b507.js} +15 -15
- package/dist/esm/index.js +139 -139
- package/dist/esm/{inherits-2cf82c38.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-526daf0a.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-a818d390.js → lodash-f97fd99a.js} +1 -1
- package/dist/esm/{main-ae902629.js → main-b5c5aac1.js} +72 -72
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-f0edf3d6.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-81605212.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-e3dcad26.js → toNumber-5aeba6e7.js} +1 -1
- package/dist/esm/{typeof-ad2c7a21.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-cf90f7e6.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ace8ed30.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/keys-62e097ca.js +0 -25
- package/dist/cjs/stringify-7ccc8524.js +0 -17
- package/dist/esm/stringify-d1b9276a.js +0 -15
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import { _ as _extends, b as _extends$1 } from './extends-be71a29a.js';
|
|
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-2cf82c38.js';
|
|
6
|
-
import { _ as _typeof$1 } from './typeof-ad2c7a21.js';
|
|
7
|
-
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
8
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
9
|
-
import PropTypes from 'prop-types';
|
|
10
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
11
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
12
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
13
|
-
import Router, { useRouter } from 'next/router';
|
|
1
|
+
import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
2
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
|
|
14
4
|
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-f0edf3d6.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-ea93e8f7.js';
|
|
5
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
6
|
+
import Router, { useRouter } from 'next/router';
|
|
24
7
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
8
|
+
import PropTypes from 'prop-types';
|
|
9
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
+
import { u as util } from './util-3ab476bf.js';
|
|
11
|
+
import Beam from './Beam.js';
|
|
12
|
+
import Segment from './Segment.js';
|
|
13
|
+
import { d as main_18, b as main_42, m as main_43 } from './main-b5c5aac1.js';
|
|
14
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
15
|
+
import { _ as _extends, b as _extends$1 } from './extends-60e0e1c6.js';
|
|
16
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
17
|
+
import { _ as _typeof$1 } from './typeof-a286cf0c.js';
|
|
18
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-b43c695a.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-e761d404.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
|
|
33
|
-
import
|
|
34
|
-
import
|
|
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';
|
|
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-3fdda599.js';
|
|
34
|
+
import Figure$2 from 'react-bootstrap/Figure';
|
|
35
35
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
36
|
-
import Tooltip
|
|
37
|
-
import Popover
|
|
36
|
+
import Tooltip from 'react-bootstrap/Tooltip';
|
|
37
|
+
import Popover from 'react-bootstrap/Popover';
|
|
38
38
|
|
|
39
39
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
40
40
|
var pageNumber = selectedIndex + 1;
|
|
@@ -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.createElement(
|
|
73
73
|
'div',
|
|
74
74
|
{ className: 'mt-3 mb-3' },
|
|
75
|
-
|
|
75
|
+
React.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.createElement(
|
|
82
82
|
Carousel.Item,
|
|
83
83
|
{ key: slide._key },
|
|
84
|
-
|
|
84
|
+
React.createElement(
|
|
85
85
|
'picture',
|
|
86
86
|
null,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
88
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
89
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
90
|
+
React.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
91
91
|
),
|
|
92
|
-
slide.caption &&
|
|
92
|
+
slide.caption && React.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
|
/**
|
|
@@ -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.createElement("div", {
|
|
1835
1835
|
className: this.props.containerClassName
|
|
1836
|
-
}, /*#__PURE__*/
|
|
1836
|
+
}, /*#__PURE__*/React.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.Component);
|
|
1846
1846
|
|
|
1847
1847
|
_defineProperty(YouTube, "PlayerState", {
|
|
1848
1848
|
UNSTARTED: -1,
|
|
@@ -1989,11 +1989,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1989
1989
|
Segment.report_video_event('Video Pause', main_18, duration, current, segment);
|
|
1990
1990
|
};
|
|
1991
1991
|
|
|
1992
|
-
return
|
|
1992
|
+
return React.createElement(
|
|
1993
1993
|
'div',
|
|
1994
1994
|
{ id: 'fluid-video-container' },
|
|
1995
|
-
|
|
1996
|
-
|
|
1995
|
+
React.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
1996
|
+
React.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.createElement(
|
|
2010
2010
|
'article',
|
|
2011
2011
|
{ className: 'sidebar' },
|
|
2012
|
-
|
|
2012
|
+
React.createElement(
|
|
2013
2013
|
'div',
|
|
2014
2014
|
null,
|
|
2015
|
-
|
|
2015
|
+
React.createElement(
|
|
2016
2016
|
'h3',
|
|
2017
2017
|
null,
|
|
2018
2018
|
caption
|
|
2019
2019
|
),
|
|
2020
|
-
|
|
2020
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2021
2021
|
),
|
|
2022
|
-
|
|
2022
|
+
React.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.createElement(
|
|
2034
2034
|
Table,
|
|
2035
2035
|
{ bordered: true, hover: true, responsive: true },
|
|
2036
|
-
|
|
2036
|
+
React.createElement(
|
|
2037
2037
|
'tbody',
|
|
2038
2038
|
null,
|
|
2039
2039
|
rows && rows.map(function (row) {
|
|
2040
|
-
return
|
|
2040
|
+
return React.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.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.createElement(
|
|
2143
2143
|
Figure$1,
|
|
2144
2144
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2145
|
-
|
|
2145
|
+
React.createElement(
|
|
2146
2146
|
'a',
|
|
2147
2147
|
{ href: uploadDoc.asset.url, target: blank ? '_blank' : '_self' },
|
|
2148
|
-
|
|
2148
|
+
React.createElement(
|
|
2149
2149
|
LazyLoad,
|
|
2150
2150
|
{ once: true },
|
|
2151
|
-
|
|
2151
|
+
React.createElement(
|
|
2152
2152
|
'picture',
|
|
2153
2153
|
null,
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2154
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2155
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2156
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2157
|
+
React.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.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.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.createElement(
|
|
2189
2189
|
'div',
|
|
2190
2190
|
{ className: 'd-block text-center mb-3' },
|
|
2191
|
-
|
|
2191
|
+
React.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2192
2192
|
);
|
|
2193
2193
|
};
|
|
2194
2194
|
|
|
@@ -2283,10 +2283,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2283
2283
|
Segment.report_video_event('Video Pause', main_18, duration, current, segment, 'MP4');
|
|
2284
2284
|
};
|
|
2285
2285
|
|
|
2286
|
-
return
|
|
2286
|
+
return React.createElement(
|
|
2287
2287
|
'div',
|
|
2288
2288
|
null,
|
|
2289
|
-
vidLoaded &&
|
|
2289
|
+
vidLoaded && React.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.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2308
2308
|
'Your browser does not support the video tag.'
|
|
2309
2309
|
)
|
|
2310
2310
|
);
|
|
@@ -2439,53 +2439,53 @@ var Video = function Video(_ref) {
|
|
|
2439
2439
|
|
|
2440
2440
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2441
2441
|
if (videoID) {
|
|
2442
|
-
return
|
|
2442
|
+
return React.createElement(
|
|
2443
2443
|
'div',
|
|
2444
2444
|
null,
|
|
2445
|
-
|
|
2445
|
+
React.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.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.createElement(
|
|
2460
2460
|
'div',
|
|
2461
2461
|
null,
|
|
2462
|
-
|
|
2462
|
+
React.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.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.createElement(
|
|
2477
2477
|
'div',
|
|
2478
2478
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2479
|
-
videoLoaded &&
|
|
2479
|
+
videoLoaded && React.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.createElement(
|
|
2486
2486
|
'div',
|
|
2487
2487
|
null,
|
|
2488
|
-
|
|
2488
|
+
React.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.isValidElement)(a) && (0, React.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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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.createElement(
|
|
7022
7022
|
'div',
|
|
7023
7023
|
{ className: 'audio d-block text-center mb-3' },
|
|
7024
|
-
|
|
7024
|
+
React.createElement(
|
|
7025
7025
|
'audio',
|
|
7026
7026
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
7027
|
-
|
|
7028
|
-
|
|
7027
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7028
|
+
React.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.createElement(
|
|
7032
7032
|
'p',
|
|
7033
7033
|
{ style: { fontSize: '.9rem' } },
|
|
7034
|
-
|
|
7034
|
+
React.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.createElement(
|
|
7045
7045
|
'div',
|
|
7046
7046
|
null,
|
|
7047
|
-
|
|
7047
|
+
React.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7048
7048
|
' ',
|
|
7049
|
-
node.caption &&
|
|
7049
|
+
node.caption && React.createElement(
|
|
7050
7050
|
'p',
|
|
7051
7051
|
{ style: { fontSize: '.9rem' } },
|
|
7052
|
-
|
|
7052
|
+
React.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.createElement(
|
|
7061
7061
|
'div',
|
|
7062
7062
|
{ className: 'audio' },
|
|
7063
|
-
|
|
7064
|
-
node.caption &&
|
|
7063
|
+
React.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
7064
|
+
node.caption && React.createElement(
|
|
7065
7065
|
'p',
|
|
7066
7066
|
{ style: { fontSize: '.9rem' } },
|
|
7067
|
-
|
|
7067
|
+
React.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.createElement(
|
|
7086
7086
|
'span',
|
|
7087
7087
|
null,
|
|
7088
|
-
|
|
7088
|
+
React.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.createElement(
|
|
7094
7094
|
Card,
|
|
7095
7095
|
{ className: 'author-details-card-' + index },
|
|
7096
|
-
|
|
7096
|
+
React.createElement(
|
|
7097
7097
|
Row,
|
|
7098
7098
|
null,
|
|
7099
|
-
profileImage &&
|
|
7099
|
+
profileImage && React.createElement(
|
|
7100
7100
|
Col,
|
|
7101
7101
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7102
|
-
|
|
7102
|
+
React.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7103
7103
|
),
|
|
7104
|
-
|
|
7104
|
+
React.createElement(
|
|
7105
7105
|
Col,
|
|
7106
7106
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7107
|
-
|
|
7107
|
+
React.createElement(
|
|
7108
7108
|
'div',
|
|
7109
7109
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7110
7110
|
authorName
|
|
7111
7111
|
),
|
|
7112
|
-
|
|
7112
|
+
React.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.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.createElement(
|
|
7129
7129
|
'span',
|
|
7130
7130
|
{ key: index },
|
|
7131
7131
|
authorName,
|
|
@@ -7397,44 +7397,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7397
7397
|
}
|
|
7398
7398
|
};
|
|
7399
7399
|
|
|
7400
|
-
return
|
|
7400
|
+
return React.createElement(
|
|
7401
7401
|
'div',
|
|
7402
7402
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7403
|
-
|
|
7403
|
+
React.createElement(
|
|
7404
7404
|
'div',
|
|
7405
7405
|
{ className: 'mt-2 mb-5' },
|
|
7406
|
-
series &&
|
|
7406
|
+
series && React.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.createElement(
|
|
7414
7414
|
'h1',
|
|
7415
7415
|
{ className: 'mb-3' },
|
|
7416
7416
|
Videos[series - 1].title
|
|
7417
7417
|
),
|
|
7418
|
-
|
|
7418
|
+
React.createElement(
|
|
7419
7419
|
'div',
|
|
7420
7420
|
null,
|
|
7421
7421
|
moment(article.published).format('LL')
|
|
7422
7422
|
),
|
|
7423
|
-
|
|
7423
|
+
React.createElement(
|
|
7424
7424
|
'div',
|
|
7425
7425
|
{ className: 'mb-3' },
|
|
7426
7426
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7427
|
-
return
|
|
7427
|
+
return React.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.createElement(
|
|
7435
7435
|
'p',
|
|
7436
7436
|
null,
|
|
7437
|
-
|
|
7437
|
+
React.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.createElement(
|
|
7453
7453
|
'p',
|
|
7454
7454
|
{ className: 'mb-3' },
|
|
7455
|
-
|
|
7455
|
+
React.createElement(
|
|
7456
7456
|
'em',
|
|
7457
7457
|
null,
|
|
7458
7458
|
Videos[series - 1].intro
|
|
7459
7459
|
)
|
|
7460
7460
|
)
|
|
7461
7461
|
),
|
|
7462
|
-
|
|
7462
|
+
React.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.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.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7477
|
+
vidUrl && vidType == 'brightcove' && React.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7478
|
+
React.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7479
|
+
series && React.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.createElement(
|
|
7490
7490
|
'p',
|
|
7491
7491
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7492
|
-
|
|
7492
|
+
React.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.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7501
7501
|
)
|
|
7502
7502
|
),
|
|
7503
|
-
|
|
7504
|
-
|
|
7503
|
+
React.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7504
|
+
React.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.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
7508
7508
|
),
|
|
7509
|
-
|
|
7509
|
+
React.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.createElement(
|
|
7563
|
+
React.Fragment,
|
|
7564
7564
|
null,
|
|
7565
|
-
question &&
|
|
7565
|
+
question && React.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.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.createElement(
|
|
7577
7577
|
'div',
|
|
7578
7578
|
{ key: choice._key },
|
|
7579
|
-
|
|
7579
|
+
React.createElement(
|
|
7580
7580
|
'label',
|
|
7581
7581
|
{ className: 'pl-2' },
|
|
7582
|
-
|
|
7582
|
+
React.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.createElement(
|
|
7590
7590
|
Button,
|
|
7591
7591
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7592
7592
|
'Vote'
|
|
7593
7593
|
)
|
|
7594
7594
|
),
|
|
7595
|
-
|
|
7595
|
+
React.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.createElement(
|
|
7601
7601
|
'div',
|
|
7602
7602
|
{ key: choice._key, className: 'mb-3' },
|
|
7603
|
-
|
|
7603
|
+
React.createElement(
|
|
7604
7604
|
'div',
|
|
7605
7605
|
{ className: 'correct-answer' },
|
|
7606
|
-
|
|
7606
|
+
React.createElement(
|
|
7607
7607
|
'div',
|
|
7608
7608
|
null,
|
|
7609
7609
|
choice.choiceText
|
|
7610
7610
|
),
|
|
7611
|
-
choice.choiceAnswer === true &&
|
|
7611
|
+
choice.choiceAnswer === true && React.createElement(
|
|
7612
7612
|
'div',
|
|
7613
7613
|
null,
|
|
7614
|
-
|
|
7614
|
+
React.createElement(
|
|
7615
7615
|
'span',
|
|
7616
7616
|
{ style: { color: 'limegreen' } },
|
|
7617
7617
|
'Correct!'
|
|
7618
7618
|
)
|
|
7619
7619
|
)
|
|
7620
7620
|
),
|
|
7621
|
-
|
|
7622
|
-
|
|
7621
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
7622
|
+
React.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.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.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7640
|
+
React.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.createElement(
|
|
7740
|
+
React.Fragment,
|
|
7741
7741
|
null,
|
|
7742
|
-
question &&
|
|
7742
|
+
question && React.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.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.createElement(
|
|
7754
7754
|
'div',
|
|
7755
7755
|
{ key: choice._key },
|
|
7756
|
-
|
|
7756
|
+
React.createElement(
|
|
7757
7757
|
'label',
|
|
7758
7758
|
{ className: 'pl-2' },
|
|
7759
|
-
|
|
7759
|
+
React.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.createElement(
|
|
7767
7767
|
Button,
|
|
7768
7768
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7769
7769
|
'Vote'
|
|
7770
7770
|
)
|
|
7771
7771
|
),
|
|
7772
|
-
|
|
7772
|
+
React.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.createElement(
|
|
7778
7778
|
'div',
|
|
7779
7779
|
{ key: choice._key, className: 'mb-3' },
|
|
7780
|
-
|
|
7780
|
+
React.createElement(
|
|
7781
7781
|
'div',
|
|
7782
7782
|
{ className: 'correct-answer' },
|
|
7783
|
-
|
|
7783
|
+
React.createElement(
|
|
7784
7784
|
'div',
|
|
7785
7785
|
null,
|
|
7786
7786
|
choice.choiceText
|
|
7787
7787
|
),
|
|
7788
|
-
choice.choiceAnswer === true &&
|
|
7788
|
+
choice.choiceAnswer === true && React.createElement(
|
|
7789
7789
|
'div',
|
|
7790
7790
|
null,
|
|
7791
|
-
|
|
7791
|
+
React.createElement(
|
|
7792
7792
|
'span',
|
|
7793
7793
|
{ style: { color: 'limegreen' } },
|
|
7794
7794
|
'Correct!'
|
|
7795
7795
|
)
|
|
7796
7796
|
)
|
|
7797
7797
|
),
|
|
7798
|
-
|
|
7799
|
-
|
|
7798
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
7799
|
+
React.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.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.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7817
|
+
React.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 '
|
|
@@ -7940,34 +7940,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
7940
7940
|
};
|
|
7941
7941
|
|
|
7942
7942
|
var renderPagination = function renderPagination() {
|
|
7943
|
-
return
|
|
7944
|
-
Pagination
|
|
7943
|
+
return React.createElement(
|
|
7944
|
+
Pagination,
|
|
7945
7945
|
{ className: 'p-0 m-0', size: main_42 && 'sm' },
|
|
7946
|
-
|
|
7946
|
+
React.createElement(Pagination.First, { onClick: function onClick() {
|
|
7947
7947
|
return changePage('first');
|
|
7948
7948
|
}, disabled: currentPage === 1 }),
|
|
7949
|
-
|
|
7949
|
+
React.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
7950
7950
|
return changePage('prev');
|
|
7951
7951
|
}, disabled: currentPage === 1 }),
|
|
7952
|
-
|
|
7952
|
+
React.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
|
|
7957
|
-
Pagination
|
|
7956
|
+
return React.createElement(
|
|
7957
|
+
Pagination.Item,
|
|
7958
7958
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
7959
7959
|
return changePage(page);
|
|
7960
7960
|
} },
|
|
7961
7961
|
page
|
|
7962
7962
|
);
|
|
7963
7963
|
}),
|
|
7964
|
-
|
|
7964
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
7965
7965
|
return renderNewPages('next');
|
|
7966
7966
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
7967
|
-
|
|
7967
|
+
React.createElement(Pagination.Next, { onClick: function onClick() {
|
|
7968
7968
|
return changePage('next');
|
|
7969
7969
|
}, disabled: currentPage === pageCount }),
|
|
7970
|
-
|
|
7970
|
+
React.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.createElement(
|
|
8054
|
+
React.Fragment,
|
|
8055
8055
|
null,
|
|
8056
|
-
quizzes[currentPage - 1] &&
|
|
8057
|
-
|
|
8056
|
+
quizzes[currentPage - 1] && React.createElement(
|
|
8057
|
+
React.Fragment,
|
|
8058
8058
|
null,
|
|
8059
|
-
|
|
8060
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
8059
|
+
React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8060
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React.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.createElement(
|
|
8067
8067
|
'div',
|
|
8068
8068
|
{ key: answer._key },
|
|
8069
|
-
|
|
8069
|
+
React.createElement(
|
|
8070
8070
|
'label',
|
|
8071
8071
|
{ className: 'pl-2' },
|
|
8072
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
8072
|
+
quizzes[currentPage - 1].multiAnswer ? React.createElement('input', { type: 'checkbox', id: 'male', disabled: isDisabled, name: answer._type, value: answer._key }) : React.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.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.createElement(
|
|
8087
|
+
React.Fragment,
|
|
8088
8088
|
null,
|
|
8089
|
-
|
|
8089
|
+
React.createElement(
|
|
8090
8090
|
'h4',
|
|
8091
8091
|
null,
|
|
8092
8092
|
'Answer:'
|
|
8093
8093
|
),
|
|
8094
|
-
quizzes[currentPage - 1].answer &&
|
|
8094
|
+
quizzes[currentPage - 1].answer && React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8095
8095
|
),
|
|
8096
|
-
|
|
8097
|
-
pageCount > 1 &&
|
|
8096
|
+
React.createElement('br', null),
|
|
8097
|
+
pageCount > 1 && React.createElement(
|
|
8098
8098
|
'div',
|
|
8099
8099
|
{ className: 'd-flex justify-content-center' },
|
|
8100
8100
|
renderPagination()
|
|
@@ -8105,14 +8105,14 @@ 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.createElement(
|
|
8109
8109
|
'div',
|
|
8110
8110
|
{ className: 'd-block text-center mb-3' },
|
|
8111
|
-
url &&
|
|
8111
|
+
url && React.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8112
8112
|
);
|
|
8113
8113
|
};
|
|
8114
8114
|
|
|
8115
|
-
var Slideshow
|
|
8115
|
+
var Slideshow = function Slideshow(_ref) {
|
|
8116
8116
|
var slides = _ref.node.slides,
|
|
8117
8117
|
client = _ref.client,
|
|
8118
8118
|
pageview = _ref.pageview,
|
|
@@ -8148,53 +8148,53 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
8148
8148
|
setCarouselIndex(selectedIndex);
|
|
8149
8149
|
};
|
|
8150
8150
|
|
|
8151
|
-
return
|
|
8151
|
+
return React.createElement(
|
|
8152
8152
|
'div',
|
|
8153
8153
|
{ className: 'mt-3 mb-4' },
|
|
8154
|
-
|
|
8154
|
+
React.createElement(
|
|
8155
8155
|
Carousel,
|
|
8156
8156
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8157
8157
|
slides && slides.map(function (slide) {
|
|
8158
8158
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8159
|
-
return
|
|
8159
|
+
return React.createElement(
|
|
8160
8160
|
Carousel.Item,
|
|
8161
8161
|
{ key: slide._key },
|
|
8162
|
-
|
|
8162
|
+
React.createElement(
|
|
8163
8163
|
'a',
|
|
8164
8164
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8165
|
-
|
|
8165
|
+
React.createElement(
|
|
8166
8166
|
'div',
|
|
8167
8167
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8168
|
-
|
|
8168
|
+
React.createElement(
|
|
8169
8169
|
LazyLoad,
|
|
8170
8170
|
null,
|
|
8171
|
-
|
|
8171
|
+
React.createElement(
|
|
8172
8172
|
'picture',
|
|
8173
8173
|
null,
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8174
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8175
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8176
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8177
|
+
React.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8178
8178
|
)
|
|
8179
8179
|
)
|
|
8180
8180
|
)
|
|
8181
8181
|
),
|
|
8182
|
-
|
|
8182
|
+
React.createElement(
|
|
8183
8183
|
'div',
|
|
8184
8184
|
{ className: 'p-2' },
|
|
8185
|
-
slide.slideshowImage.caption &&
|
|
8185
|
+
slide.slideshowImage.caption && React.createElement(
|
|
8186
8186
|
'h3',
|
|
8187
8187
|
{ style: { padding: '0px' } },
|
|
8188
8188
|
slide.slideshowImage.caption
|
|
8189
8189
|
),
|
|
8190
|
-
slide.description &&
|
|
8190
|
+
slide.description && React.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8191
8191
|
)
|
|
8192
8192
|
);
|
|
8193
8193
|
}
|
|
8194
8194
|
return null;
|
|
8195
8195
|
})
|
|
8196
8196
|
),
|
|
8197
|
-
|
|
8197
|
+
React.createElement(
|
|
8198
8198
|
'style',
|
|
8199
8199
|
{ jsx: 'true' },
|
|
8200
8200
|
'\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 '
|
|
@@ -8213,10 +8213,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8213
8213
|
sizes = _props$node.sizes,
|
|
8214
8214
|
sizeMapping = _props$node.sizeMapping;
|
|
8215
8215
|
|
|
8216
|
-
return
|
|
8216
|
+
return React.createElement(
|
|
8217
8217
|
'div',
|
|
8218
8218
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8219
|
-
|
|
8219
|
+
React.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8220
8220
|
);
|
|
8221
8221
|
};
|
|
8222
8222
|
|
|
@@ -8227,15 +8227,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8227
8227
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8228
8228
|
|
|
8229
8229
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8230
|
-
return
|
|
8230
|
+
return React.createElement(
|
|
8231
8231
|
'section',
|
|
8232
8232
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8233
|
-
Caption &&
|
|
8233
|
+
Caption && React.createElement(
|
|
8234
8234
|
'h4',
|
|
8235
8235
|
{ className: 'formstack-caption' },
|
|
8236
8236
|
Caption
|
|
8237
8237
|
),
|
|
8238
|
-
|
|
8238
|
+
React.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8239
8239
|
);
|
|
8240
8240
|
};
|
|
8241
8241
|
|
|
@@ -8251,36 +8251,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8251
8251
|
}
|
|
8252
8252
|
});
|
|
8253
8253
|
if (medias && medias.length > 0) {
|
|
8254
|
-
return
|
|
8254
|
+
return React.createElement(
|
|
8255
8255
|
'div',
|
|
8256
8256
|
{ className: 'multi-media-container' },
|
|
8257
|
-
|
|
8257
|
+
React.createElement(
|
|
8258
8258
|
Row$1,
|
|
8259
8259
|
{ noGutters: true },
|
|
8260
8260
|
medias.map(function (media) {
|
|
8261
|
-
return
|
|
8261
|
+
return React.createElement(
|
|
8262
8262
|
Col$1,
|
|
8263
8263
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8264
|
-
|
|
8264
|
+
React.createElement(
|
|
8265
8265
|
'a',
|
|
8266
8266
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
|
|
8267
8267
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8268
|
-
|
|
8268
|
+
React.createElement(
|
|
8269
8269
|
'div',
|
|
8270
8270
|
{ className: 'multi-media-image-container' },
|
|
8271
|
-
imageBox &&
|
|
8271
|
+
imageBox && React.createElement(
|
|
8272
8272
|
LazyLoad,
|
|
8273
8273
|
{ once: true },
|
|
8274
|
-
|
|
8274
|
+
React.createElement(
|
|
8275
8275
|
'picture',
|
|
8276
8276
|
null,
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8277
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8278
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8279
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8280
|
+
React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8281
8281
|
)
|
|
8282
8282
|
),
|
|
8283
|
-
media.caption &&
|
|
8283
|
+
media.caption && React.createElement(
|
|
8284
8284
|
'span',
|
|
8285
8285
|
{ className: 'multi-media-caption' },
|
|
8286
8286
|
media.caption
|
|
@@ -8290,7 +8290,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8290
8290
|
);
|
|
8291
8291
|
})
|
|
8292
8292
|
),
|
|
8293
|
-
|
|
8293
|
+
React.createElement(
|
|
8294
8294
|
'style',
|
|
8295
8295
|
{ jsx: 'true' },
|
|
8296
8296
|
'\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 '
|
|
@@ -8337,7 +8337,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8337
8337
|
}
|
|
8338
8338
|
};
|
|
8339
8339
|
|
|
8340
|
-
_this.wraperRef =
|
|
8340
|
+
_this.wraperRef = React.createRef();
|
|
8341
8341
|
_this.visible = false;
|
|
8342
8342
|
return _this;
|
|
8343
8343
|
}
|
|
@@ -8365,7 +8365,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8365
8365
|
_props$id = _props.id,
|
|
8366
8366
|
id = _props$id === undefined ? '' : _props$id;
|
|
8367
8367
|
|
|
8368
|
-
return
|
|
8368
|
+
return React.createElement(
|
|
8369
8369
|
'div',
|
|
8370
8370
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8371
8371
|
this.props.children
|
|
@@ -8374,7 +8374,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8374
8374
|
}]);
|
|
8375
8375
|
|
|
8376
8376
|
return InscreenSensor;
|
|
8377
|
-
}(
|
|
8377
|
+
}(React.Component);
|
|
8378
8378
|
|
|
8379
8379
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8380
8380
|
var nodes = _ref.nodes,
|
|
@@ -8483,33 +8483,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8483
8483
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
8484
8484
|
var showReading = show ? 'showReading' : '';
|
|
8485
8485
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8486
|
-
return
|
|
8486
|
+
return React.createElement(
|
|
8487
8487
|
'div',
|
|
8488
8488
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8489
|
-
|
|
8489
|
+
React.createElement(
|
|
8490
8490
|
'a',
|
|
8491
8491
|
{ onClick: function onClick(e) {
|
|
8492
8492
|
return articleCardClickHandler(e);
|
|
8493
8493
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleIndex': '' + index, 'data-articleid': '' + article.param.current },
|
|
8494
|
-
|
|
8494
|
+
React.createElement(
|
|
8495
8495
|
'div',
|
|
8496
8496
|
{ className: 'prevNext-thumbnail' },
|
|
8497
|
-
|
|
8498
|
-
|
|
8497
|
+
React.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
8498
|
+
React.createElement(
|
|
8499
8499
|
'div',
|
|
8500
8500
|
{ className: 'prevNext-reading ' + showReading },
|
|
8501
8501
|
articleLabel
|
|
8502
8502
|
)
|
|
8503
8503
|
),
|
|
8504
|
-
|
|
8504
|
+
React.createElement(
|
|
8505
8505
|
'div',
|
|
8506
8506
|
{ className: 'prevNext-summary' },
|
|
8507
|
-
|
|
8507
|
+
React.createElement(
|
|
8508
8508
|
'div',
|
|
8509
8509
|
{ className: 'prevNext-publishDate' },
|
|
8510
8510
|
moment(article.published).format('LL')
|
|
8511
8511
|
),
|
|
8512
|
-
|
|
8512
|
+
React.createElement(
|
|
8513
8513
|
'h2',
|
|
8514
8514
|
{ className: 'prevNext-title' },
|
|
8515
8515
|
article.title
|
|
@@ -8558,7 +8558,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8558
8558
|
|
|
8559
8559
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
8560
8560
|
if (biography) {
|
|
8561
|
-
return
|
|
8561
|
+
return React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
8562
8562
|
}
|
|
8563
8563
|
};
|
|
8564
8564
|
|
|
@@ -8716,38 +8716,38 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8716
8716
|
setSensorVisible(false);
|
|
8717
8717
|
};
|
|
8718
8718
|
|
|
8719
|
-
return
|
|
8720
|
-
|
|
8719
|
+
return React.createElement(
|
|
8720
|
+
React.Fragment,
|
|
8721
8721
|
null,
|
|
8722
|
-
|
|
8722
|
+
React.createElement(
|
|
8723
8723
|
'div',
|
|
8724
8724
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
8725
|
-
|
|
8725
|
+
React.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
8726
8726
|
return handleArrowClick();
|
|
8727
8727
|
} })
|
|
8728
8728
|
),
|
|
8729
|
-
|
|
8730
|
-
|
|
8729
|
+
React.createElement('hr', { className: 'article-seperater my-4' }),
|
|
8730
|
+
React.createElement(
|
|
8731
8731
|
'div',
|
|
8732
8732
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8733
|
-
|
|
8733
|
+
React.createElement(
|
|
8734
8734
|
'h5',
|
|
8735
8735
|
{ className: 'objective-title' },
|
|
8736
8736
|
nodes.seriesTitle
|
|
8737
8737
|
),
|
|
8738
|
-
|
|
8738
|
+
React.createElement(
|
|
8739
8739
|
'div',
|
|
8740
8740
|
{ className: 'prevNextWrapper' },
|
|
8741
8741
|
PrevNextCards(false, -1)
|
|
8742
8742
|
)
|
|
8743
8743
|
),
|
|
8744
|
-
|
|
8745
|
-
|
|
8744
|
+
React.createElement('hr', { className: 'article-seperater' }),
|
|
8745
|
+
React.createElement(
|
|
8746
8746
|
'div',
|
|
8747
8747
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8748
8748
|
main_43 && Ads.map(function (ad, index) {
|
|
8749
8749
|
if (index === 0) {
|
|
8750
|
-
return
|
|
8750
|
+
return React.createElement(
|
|
8751
8751
|
'div',
|
|
8752
8752
|
{
|
|
8753
8753
|
key: 'addid-1',
|
|
@@ -8767,14 +8767,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8767
8767
|
}
|
|
8768
8768
|
})
|
|
8769
8769
|
),
|
|
8770
|
-
|
|
8770
|
+
React.createElement(
|
|
8771
8771
|
'div',
|
|
8772
8772
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
8773
8773
|
Articles.map(function (article, index) {
|
|
8774
|
-
return
|
|
8774
|
+
return React.createElement(
|
|
8775
8775
|
'div',
|
|
8776
8776
|
{ key: article.title },
|
|
8777
|
-
|
|
8777
|
+
React.createElement(
|
|
8778
8778
|
InscreenSensor,
|
|
8779
8779
|
{
|
|
8780
8780
|
visible: sensorVisible,
|
|
@@ -8792,84 +8792,84 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8792
8792
|
}
|
|
8793
8793
|
}
|
|
8794
8794
|
} },
|
|
8795
|
-
|
|
8795
|
+
React.createElement(
|
|
8796
8796
|
Head,
|
|
8797
8797
|
null,
|
|
8798
|
-
currentTitle !== null &&
|
|
8798
|
+
currentTitle !== null && React.createElement(
|
|
8799
8799
|
'title',
|
|
8800
8800
|
{ key: 'title' },
|
|
8801
8801
|
currentTitle
|
|
8802
8802
|
),
|
|
8803
|
-
currentSummary !== null &&
|
|
8804
|
-
currentURL !== null &&
|
|
8805
|
-
currentTitle !== null &&
|
|
8806
|
-
currentThumbnail !== null &&
|
|
8807
|
-
currentSummary !== null &&
|
|
8808
|
-
currentTitle !== null &&
|
|
8809
|
-
currentThumbnail !== null &&
|
|
8810
|
-
currentSummary !== null &&
|
|
8803
|
+
currentSummary !== null && React.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
8804
|
+
currentURL !== null && React.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
8805
|
+
currentTitle !== null && React.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
8806
|
+
currentThumbnail !== null && React.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
8807
|
+
currentSummary !== null && React.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
8808
|
+
currentTitle !== null && React.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
8809
|
+
currentThumbnail !== null && React.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
8810
|
+
currentSummary !== null && React.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
8811
8811
|
),
|
|
8812
|
-
|
|
8812
|
+
React.createElement(
|
|
8813
8813
|
'article',
|
|
8814
8814
|
{ className: 'article-wrapper' },
|
|
8815
|
-
|
|
8815
|
+
React.createElement(
|
|
8816
8816
|
'div',
|
|
8817
8817
|
{ className: 'article-publishDate' },
|
|
8818
8818
|
moment(article.published).format('LL')
|
|
8819
8819
|
),
|
|
8820
|
-
|
|
8820
|
+
React.createElement(
|
|
8821
8821
|
'div',
|
|
8822
8822
|
{ className: 'author-details-wrapper' },
|
|
8823
8823
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
8824
|
-
return
|
|
8824
|
+
return React.createElement(
|
|
8825
8825
|
'span',
|
|
8826
8826
|
{ key: index },
|
|
8827
8827
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
8828
8828
|
);
|
|
8829
8829
|
})
|
|
8830
8830
|
),
|
|
8831
|
-
|
|
8831
|
+
React.createElement(
|
|
8832
8832
|
'h2',
|
|
8833
8833
|
{ className: 'article-title' },
|
|
8834
8834
|
article.title
|
|
8835
8835
|
),
|
|
8836
|
-
|
|
8836
|
+
React.createElement(
|
|
8837
8837
|
'div',
|
|
8838
8838
|
{ className: 'mt-2 mb-2' },
|
|
8839
|
-
|
|
8839
|
+
React.createElement(BlockContent, _extends({
|
|
8840
8840
|
serializers: getSerializers,
|
|
8841
8841
|
videoAccountIDs: accountIDs,
|
|
8842
8842
|
blocks: article.text,
|
|
8843
8843
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
8844
8844
|
}, client.config())),
|
|
8845
|
-
|
|
8845
|
+
React.createElement('hr', { className: 'article-seperater my-4' })
|
|
8846
8846
|
),
|
|
8847
|
-
Articles.length > 1 &&
|
|
8848
|
-
|
|
8847
|
+
Articles.length > 1 && React.createElement(
|
|
8848
|
+
React.Fragment,
|
|
8849
8849
|
null,
|
|
8850
|
-
|
|
8850
|
+
React.createElement(
|
|
8851
8851
|
'div',
|
|
8852
8852
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8853
|
-
|
|
8853
|
+
React.createElement(
|
|
8854
8854
|
'h5',
|
|
8855
8855
|
{ className: 'objective-title' },
|
|
8856
8856
|
nodes.seriesTitle
|
|
8857
8857
|
),
|
|
8858
|
-
|
|
8858
|
+
React.createElement(
|
|
8859
8859
|
'div',
|
|
8860
8860
|
{ className: 'prevNextWrapper' },
|
|
8861
8861
|
PrevNextCards(true, index)
|
|
8862
8862
|
)
|
|
8863
8863
|
),
|
|
8864
|
-
|
|
8864
|
+
React.createElement('hr', { className: 'article-seperater' })
|
|
8865
8865
|
)
|
|
8866
8866
|
),
|
|
8867
|
-
|
|
8867
|
+
React.createElement(
|
|
8868
8868
|
'div',
|
|
8869
8869
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8870
8870
|
main_43 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
8871
8871
|
if (innerIndex === 0) {
|
|
8872
|
-
return
|
|
8872
|
+
return React.createElement(
|
|
8873
8873
|
'div',
|
|
8874
8874
|
{
|
|
8875
8875
|
key: 'addid-' + (index + 2),
|
|
@@ -8892,7 +8892,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8892
8892
|
)
|
|
8893
8893
|
);
|
|
8894
8894
|
}),
|
|
8895
|
-
|
|
8895
|
+
React.createElement(
|
|
8896
8896
|
'style',
|
|
8897
8897
|
{ jsx: 'true' },
|
|
8898
8898
|
'\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 '
|
|
@@ -8922,11 +8922,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
8922
8922
|
};
|
|
8923
8923
|
}, [handleClickOutside]);
|
|
8924
8924
|
|
|
8925
|
-
return
|
|
8925
|
+
return React.createElement(
|
|
8926
8926
|
'div',
|
|
8927
8927
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
8928
|
-
|
|
8929
|
-
|
|
8928
|
+
React.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
8929
|
+
React.createElement(
|
|
8930
8930
|
'style',
|
|
8931
8931
|
{ jsx: 'true' },
|
|
8932
8932
|
'\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 '
|
|
@@ -8940,7 +8940,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
8940
8940
|
}
|
|
8941
8941
|
};
|
|
8942
8942
|
|
|
8943
|
-
var FigureImage =
|
|
8943
|
+
var FigureImage$1 = React.memo(function (_ref2) {
|
|
8944
8944
|
var node = _ref2.node,
|
|
8945
8945
|
client = _ref2.client,
|
|
8946
8946
|
imgAlt = _ref2.imgAlt,
|
|
@@ -8948,13 +8948,13 @@ var FigureImage = React__default.memo(function (_ref2) {
|
|
|
8948
8948
|
handleClickFigure = _ref2.handleClickFigure;
|
|
8949
8949
|
|
|
8950
8950
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
8951
|
-
return
|
|
8951
|
+
return React.createElement(
|
|
8952
8952
|
'picture',
|
|
8953
8953
|
null,
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8954
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8955
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8956
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8957
|
+
React.createElement('img', _extends({
|
|
8958
8958
|
style: figureImageStyle,
|
|
8959
8959
|
className: 'figure-image',
|
|
8960
8960
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9005,30 +9005,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9005
9005
|
|
|
9006
9006
|
var renderTooltip = function renderTooltip(props) {
|
|
9007
9007
|
if (infoBox[0].title) {
|
|
9008
|
-
return
|
|
9009
|
-
Popover
|
|
9008
|
+
return React.createElement(
|
|
9009
|
+
Popover,
|
|
9010
9010
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9011
|
-
|
|
9012
|
-
Popover
|
|
9011
|
+
React.createElement(
|
|
9012
|
+
Popover.Title,
|
|
9013
9013
|
{ as: 'h3' },
|
|
9014
9014
|
infoBox[0].title
|
|
9015
9015
|
),
|
|
9016
|
-
|
|
9017
|
-
Popover
|
|
9016
|
+
React.createElement(
|
|
9017
|
+
Popover.Content,
|
|
9018
9018
|
null,
|
|
9019
|
-
|
|
9019
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9020
9020
|
)
|
|
9021
9021
|
);
|
|
9022
9022
|
} else {
|
|
9023
|
-
return
|
|
9024
|
-
Tooltip
|
|
9023
|
+
return React.createElement(
|
|
9024
|
+
Tooltip,
|
|
9025
9025
|
_extends({ id: 'button-tooltip' }, props),
|
|
9026
|
-
|
|
9026
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9027
9027
|
);
|
|
9028
9028
|
}
|
|
9029
9029
|
};
|
|
9030
9030
|
|
|
9031
|
-
var FigureImageWOverLay =
|
|
9031
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9032
9032
|
var node = _ref3.node,
|
|
9033
9033
|
client = _ref3.client,
|
|
9034
9034
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9038,13 +9038,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9038
9038
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9039
9039
|
var triggerAction = main_42 ? 'click' : 'hover';
|
|
9040
9040
|
var placementLocation = main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9041
|
-
return
|
|
9041
|
+
return React.createElement(
|
|
9042
9042
|
'picture',
|
|
9043
9043
|
null,
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
main_42 && link ?
|
|
9044
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9045
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9046
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9047
|
+
main_42 && link ? React.createElement('img', _extends({
|
|
9048
9048
|
style: figureImageStyle,
|
|
9049
9049
|
className: 'figure-image',
|
|
9050
9050
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9053,10 +9053,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9053
9053
|
onClick: function onClick() {
|
|
9054
9054
|
return handleClickFigure(node, client);
|
|
9055
9055
|
}
|
|
9056
|
-
})) :
|
|
9056
|
+
})) : React.createElement(
|
|
9057
9057
|
OverlayTrigger,
|
|
9058
9058
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9059
|
-
|
|
9059
|
+
React.createElement('img', _extends({
|
|
9060
9060
|
style: figureImageStyle,
|
|
9061
9061
|
className: 'figure-image',
|
|
9062
9062
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9110,13 +9110,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9110
9110
|
|
|
9111
9111
|
var FigureCaption = useCallback(function () {
|
|
9112
9112
|
if (imgcaption && imgcaption.length > 0) {
|
|
9113
|
-
return
|
|
9113
|
+
return React.createElement(
|
|
9114
9114
|
'div',
|
|
9115
9115
|
{ className: 'figure-caption' },
|
|
9116
|
-
|
|
9116
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9117
9117
|
);
|
|
9118
9118
|
} else if (caption) {
|
|
9119
|
-
return
|
|
9119
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9120
9120
|
} else return null;
|
|
9121
9121
|
}, [caption, imgcaption]);
|
|
9122
9122
|
|
|
@@ -9133,24 +9133,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9133
9133
|
setShowLightbox(true);
|
|
9134
9134
|
}, [node, client]);
|
|
9135
9135
|
|
|
9136
|
-
return
|
|
9137
|
-
|
|
9136
|
+
return React.createElement(
|
|
9137
|
+
React.Fragment,
|
|
9138
9138
|
null,
|
|
9139
|
-
infoBox.length >= 1 ?
|
|
9140
|
-
Figure$
|
|
9139
|
+
infoBox.length >= 1 ? React.createElement(
|
|
9140
|
+
Figure$2,
|
|
9141
9141
|
{ className: '' + class_name, style: figureStyle },
|
|
9142
|
-
link ?
|
|
9142
|
+
link ? React.createElement(
|
|
9143
9143
|
'a',
|
|
9144
9144
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
) :
|
|
9148
|
-
|
|
9145
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9146
|
+
React.createElement(FigureCaption, null)
|
|
9147
|
+
) : React.createElement(
|
|
9148
|
+
React.Fragment,
|
|
9149
9149
|
null,
|
|
9150
|
-
|
|
9151
|
-
|
|
9150
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9151
|
+
React.createElement(FigureCaption, null)
|
|
9152
9152
|
),
|
|
9153
|
-
|
|
9153
|
+
React.createElement(LightBox, {
|
|
9154
9154
|
showLightbox: showLightbox,
|
|
9155
9155
|
lightboxImgSrc: lightboxImgSrc,
|
|
9156
9156
|
closeLightbox: function closeLightbox() {
|
|
@@ -9158,21 +9158,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9158
9158
|
setShowLightbox(false);
|
|
9159
9159
|
}
|
|
9160
9160
|
})
|
|
9161
|
-
) :
|
|
9162
|
-
Figure$
|
|
9161
|
+
) : React.createElement(
|
|
9162
|
+
Figure$2,
|
|
9163
9163
|
{ className: '' + class_name, style: figureStyle },
|
|
9164
|
-
link ?
|
|
9164
|
+
link ? React.createElement(
|
|
9165
9165
|
'a',
|
|
9166
9166
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
) :
|
|
9170
|
-
|
|
9167
|
+
React.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9168
|
+
React.createElement(FigureCaption, null)
|
|
9169
|
+
) : React.createElement(
|
|
9170
|
+
React.Fragment,
|
|
9171
9171
|
null,
|
|
9172
|
-
|
|
9173
|
-
|
|
9172
|
+
React.createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9173
|
+
React.createElement(FigureCaption, null)
|
|
9174
9174
|
),
|
|
9175
|
-
|
|
9175
|
+
React.createElement(LightBox, {
|
|
9176
9176
|
showLightbox: showLightbox,
|
|
9177
9177
|
lightboxImgSrc: lightboxImgSrc,
|
|
9178
9178
|
closeLightbox: function closeLightbox() {
|
|
@@ -9181,7 +9181,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9181
9181
|
}
|
|
9182
9182
|
})
|
|
9183
9183
|
),
|
|
9184
|
-
|
|
9184
|
+
React.createElement(
|
|
9185
9185
|
'style',
|
|
9186
9186
|
{ jsx: 'true' },
|
|
9187
9187
|
'\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 '
|
|
@@ -9189,7 +9189,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9189
9189
|
);
|
|
9190
9190
|
};
|
|
9191
9191
|
|
|
9192
|
-
var Figure =
|
|
9192
|
+
var Figure = React.memo(FigureComponent, compareProps);
|
|
9193
9193
|
|
|
9194
9194
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9195
9195
|
useEffect(function () {
|
|
@@ -9206,7 +9206,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9206
9206
|
}, [ref]);
|
|
9207
9207
|
}
|
|
9208
9208
|
|
|
9209
|
-
var FigureImage
|
|
9209
|
+
var FigureImage = React.memo(function (_ref) {
|
|
9210
9210
|
var imagesCount = _ref.imagesCount,
|
|
9211
9211
|
image = _ref.image,
|
|
9212
9212
|
client = _ref.client,
|
|
@@ -9214,13 +9214,13 @@ var FigureImage$1 = React__default.memo(function (_ref) {
|
|
|
9214
9214
|
link = _ref.link,
|
|
9215
9215
|
handleClickFigure = _ref.handleClickFigure;
|
|
9216
9216
|
|
|
9217
|
-
return
|
|
9217
|
+
return React.createElement(
|
|
9218
9218
|
'picture',
|
|
9219
9219
|
null,
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9220
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9221
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9222
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9223
|
+
React.createElement('img', _extends({
|
|
9224
9224
|
'images-count': imagesCount,
|
|
9225
9225
|
className: 'multi-figure-image',
|
|
9226
9226
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9257,13 +9257,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9257
9257
|
imgcaption = _ref2.imgcaption;
|
|
9258
9258
|
|
|
9259
9259
|
if (imgcaption && imgcaption.length > 0) {
|
|
9260
|
-
return
|
|
9260
|
+
return React.createElement(
|
|
9261
9261
|
'div',
|
|
9262
9262
|
{ className: 'multi-figure-caption' },
|
|
9263
|
-
|
|
9263
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9264
9264
|
);
|
|
9265
9265
|
} else if (caption) {
|
|
9266
|
-
return
|
|
9266
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9267
9267
|
} else return null;
|
|
9268
9268
|
};
|
|
9269
9269
|
|
|
@@ -9272,7 +9272,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9272
9272
|
setOpenImg(true);
|
|
9273
9273
|
}, [client]);
|
|
9274
9274
|
|
|
9275
|
-
var FigureImageWOverLay =
|
|
9275
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9276
9276
|
var imagesCount = _ref3.imagesCount,
|
|
9277
9277
|
image = _ref3.image,
|
|
9278
9278
|
client = _ref3.client,
|
|
@@ -9282,13 +9282,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9282
9282
|
|
|
9283
9283
|
var triggerAction = main_42 ? 'click' : 'hover';
|
|
9284
9284
|
var placementLocation = main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9285
|
-
return
|
|
9285
|
+
return React.createElement(
|
|
9286
9286
|
'picture',
|
|
9287
9287
|
null,
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
main_42 && link ?
|
|
9288
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9289
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9290
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9291
|
+
main_42 && link ? React.createElement('img', _extends({
|
|
9292
9292
|
'images-count': imagesCount,
|
|
9293
9293
|
className: 'multi-figure-image',
|
|
9294
9294
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9297,10 +9297,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9297
9297
|
onClick: function onClick() {
|
|
9298
9298
|
return handleClickFigure(image, client);
|
|
9299
9299
|
}
|
|
9300
|
-
})) :
|
|
9300
|
+
})) : React.createElement(
|
|
9301
9301
|
OverlayTrigger,
|
|
9302
9302
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9303
|
-
|
|
9303
|
+
React.createElement('img', _extends({
|
|
9304
9304
|
'images-count': imagesCount,
|
|
9305
9305
|
className: 'multi-figure-image',
|
|
9306
9306
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9316,102 +9316,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9316
9316
|
|
|
9317
9317
|
var renderTooltip = function renderTooltip(image) {
|
|
9318
9318
|
if (image.infoBox[0].title) {
|
|
9319
|
-
return
|
|
9320
|
-
Popover
|
|
9319
|
+
return React.createElement(
|
|
9320
|
+
Popover,
|
|
9321
9321
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9322
|
-
|
|
9323
|
-
Popover
|
|
9322
|
+
React.createElement(
|
|
9323
|
+
Popover.Title,
|
|
9324
9324
|
{ as: 'h3' },
|
|
9325
9325
|
image.infoBox[0].title
|
|
9326
9326
|
),
|
|
9327
|
-
|
|
9328
|
-
Popover
|
|
9327
|
+
React.createElement(
|
|
9328
|
+
Popover.Content,
|
|
9329
9329
|
null,
|
|
9330
|
-
|
|
9330
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9331
9331
|
)
|
|
9332
9332
|
);
|
|
9333
9333
|
} else {
|
|
9334
|
-
return
|
|
9335
|
-
Tooltip
|
|
9334
|
+
return React.createElement(
|
|
9335
|
+
Tooltip,
|
|
9336
9336
|
_extends({ id: 'button-tooltip' }, props),
|
|
9337
|
-
|
|
9337
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9338
9338
|
);
|
|
9339
9339
|
}
|
|
9340
9340
|
};
|
|
9341
9341
|
|
|
9342
9342
|
if (images && images.length > 0) {
|
|
9343
|
-
return
|
|
9343
|
+
return React.createElement(
|
|
9344
9344
|
'div',
|
|
9345
9345
|
{ className: 'multi-figure-container' },
|
|
9346
|
-
|
|
9346
|
+
React.createElement(
|
|
9347
9347
|
Row$1,
|
|
9348
9348
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9349
9349
|
images.map(function (image, index) {
|
|
9350
9350
|
if (image.infoBox) {
|
|
9351
|
-
return
|
|
9351
|
+
return React.createElement(
|
|
9352
9352
|
Col$1,
|
|
9353
9353
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9354
|
-
image.link ?
|
|
9354
|
+
image.link ? React.createElement(
|
|
9355
9355
|
'a',
|
|
9356
9356
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9357
|
-
|
|
9357
|
+
React.createElement(
|
|
9358
9358
|
'div',
|
|
9359
9359
|
{ className: 'multi-figure-image-container' },
|
|
9360
|
-
|
|
9360
|
+
React.createElement(
|
|
9361
9361
|
LazyLoad,
|
|
9362
9362
|
{ once: true },
|
|
9363
|
-
|
|
9363
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9364
9364
|
),
|
|
9365
|
-
|
|
9365
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9366
9366
|
)
|
|
9367
|
-
) :
|
|
9367
|
+
) : React.createElement(
|
|
9368
9368
|
'div',
|
|
9369
9369
|
{ className: 'multi-figure-image-container' },
|
|
9370
|
-
|
|
9370
|
+
React.createElement(
|
|
9371
9371
|
LazyLoad,
|
|
9372
9372
|
{ once: true },
|
|
9373
|
-
|
|
9373
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9374
9374
|
),
|
|
9375
|
-
|
|
9375
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9376
9376
|
)
|
|
9377
9377
|
);
|
|
9378
9378
|
} else {
|
|
9379
|
-
return
|
|
9379
|
+
return React.createElement(
|
|
9380
9380
|
Col$1,
|
|
9381
9381
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9382
|
-
image.link ?
|
|
9382
|
+
image.link ? React.createElement(
|
|
9383
9383
|
'a',
|
|
9384
9384
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9385
|
-
|
|
9385
|
+
React.createElement(
|
|
9386
9386
|
'div',
|
|
9387
9387
|
{ className: 'multi-figure-image-container' },
|
|
9388
|
-
|
|
9388
|
+
React.createElement(
|
|
9389
9389
|
LazyLoad,
|
|
9390
9390
|
{ once: true },
|
|
9391
|
-
|
|
9391
|
+
React.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9392
9392
|
),
|
|
9393
|
-
|
|
9393
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9394
9394
|
)
|
|
9395
|
-
) :
|
|
9395
|
+
) : React.createElement(
|
|
9396
9396
|
'div',
|
|
9397
9397
|
{ className: 'multi-figure-image-container' },
|
|
9398
|
-
|
|
9398
|
+
React.createElement(
|
|
9399
9399
|
LazyLoad,
|
|
9400
9400
|
{ once: true },
|
|
9401
|
-
|
|
9401
|
+
React.createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9402
9402
|
),
|
|
9403
|
-
|
|
9403
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9404
9404
|
)
|
|
9405
9405
|
);
|
|
9406
9406
|
}
|
|
9407
9407
|
})
|
|
9408
9408
|
),
|
|
9409
|
-
|
|
9409
|
+
React.createElement(
|
|
9410
9410
|
'div',
|
|
9411
9411
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9412
|
-
|
|
9412
|
+
React.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9413
9413
|
),
|
|
9414
|
-
|
|
9414
|
+
React.createElement(
|
|
9415
9415
|
'style',
|
|
9416
9416
|
{ jsx: 'true' },
|
|
9417
9417
|
'\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 '
|
|
@@ -9433,10 +9433,10 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9433
9433
|
|
|
9434
9434
|
var elementId = articleId ? id + '-' + articleId : id;
|
|
9435
9435
|
|
|
9436
|
-
return
|
|
9436
|
+
return React.createElement(
|
|
9437
9437
|
'div',
|
|
9438
9438
|
{ id: elementId },
|
|
9439
|
-
|
|
9439
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
9440
9440
|
);
|
|
9441
9441
|
};
|
|
9442
9442
|
|
|
@@ -9485,7 +9485,7 @@ var _inherits3 = _interopRequireDefault(inherits);
|
|
|
9485
9485
|
|
|
9486
9486
|
|
|
9487
9487
|
|
|
9488
|
-
var _react2 = _interopRequireDefault(
|
|
9488
|
+
var _react2 = _interopRequireDefault(React);
|
|
9489
9489
|
|
|
9490
9490
|
|
|
9491
9491
|
|
|
@@ -9634,9 +9634,9 @@ var ScriptTag = function (_Component) {
|
|
|
9634
9634
|
|
|
9635
9635
|
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
9636
9636
|
// eslint-disable-next-line no-unused-vars
|
|
9637
|
-
var _props3 = this.props
|
|
9638
|
-
|
|
9639
|
-
tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
9637
|
+
var _props3 = this.props;
|
|
9638
|
+
_props3.isHydrating;
|
|
9639
|
+
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
9640
9640
|
|
|
9641
9641
|
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
9642
9642
|
return _this2.domRef = tag;
|
|
@@ -9644,7 +9644,7 @@ var ScriptTag = function (_Component) {
|
|
|
9644
9644
|
};
|
|
9645
9645
|
|
|
9646
9646
|
return ScriptTag;
|
|
9647
|
-
}(
|
|
9647
|
+
}(React.Component);
|
|
9648
9648
|
|
|
9649
9649
|
ScriptTag.propTypes = {
|
|
9650
9650
|
/**
|
|
@@ -9723,11 +9723,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
9723
9723
|
}, []);
|
|
9724
9724
|
|
|
9725
9725
|
if (iframeSrc) {
|
|
9726
|
-
return
|
|
9726
|
+
return React.createElement(
|
|
9727
9727
|
'section',
|
|
9728
9728
|
{ className: 'form-assembly' },
|
|
9729
|
-
|
|
9730
|
-
|
|
9729
|
+
React.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
9730
|
+
React.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
9731
9731
|
);
|
|
9732
9732
|
}
|
|
9733
9733
|
|
|
@@ -9764,27 +9764,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
9764
9764
|
return window.removeEventListener('resize', handleResize);
|
|
9765
9765
|
};
|
|
9766
9766
|
}, []);
|
|
9767
|
-
return
|
|
9767
|
+
return React.createElement(
|
|
9768
9768
|
'div',
|
|
9769
9769
|
{ className: 'blockTableHolder', ref: holder },
|
|
9770
|
-
|
|
9770
|
+
React.createElement(
|
|
9771
9771
|
'div',
|
|
9772
9772
|
{ className: 'blockTable' },
|
|
9773
9773
|
rows && rows.map(function (row) {
|
|
9774
|
-
return
|
|
9774
|
+
return React.createElement(
|
|
9775
9775
|
'div',
|
|
9776
9776
|
{ className: 'blockTableRow' },
|
|
9777
9777
|
row.cells && row.cells.map(function (cell) {
|
|
9778
|
-
return
|
|
9778
|
+
return React.createElement(
|
|
9779
9779
|
'div',
|
|
9780
9780
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
9781
|
-
|
|
9781
|
+
React.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
9782
9782
|
);
|
|
9783
9783
|
})
|
|
9784
9784
|
);
|
|
9785
9785
|
})
|
|
9786
9786
|
),
|
|
9787
|
-
|
|
9787
|
+
React.createElement(
|
|
9788
9788
|
'style',
|
|
9789
9789
|
{ jsx: true },
|
|
9790
9790
|
'\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 '
|
|
@@ -9863,12 +9863,12 @@ var getSerializers = function getSerializers() {
|
|
|
9863
9863
|
var node = _ref.node;
|
|
9864
9864
|
var url = node.url;
|
|
9865
9865
|
|
|
9866
|
-
return
|
|
9866
|
+
return React.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
9867
9867
|
},
|
|
9868
9868
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
9869
9869
|
var node = _ref2.node;
|
|
9870
9870
|
|
|
9871
|
-
return
|
|
9871
|
+
return React.createElement(YouTubeGallery, {
|
|
9872
9872
|
nodes: node,
|
|
9873
9873
|
article: article,
|
|
9874
9874
|
meta: meta,
|
|
@@ -9882,7 +9882,7 @@ var getSerializers = function getSerializers() {
|
|
|
9882
9882
|
articleSeries: function articleSeries(_ref3) {
|
|
9883
9883
|
var node = _ref3.node;
|
|
9884
9884
|
|
|
9885
|
-
return
|
|
9885
|
+
return React.createElement(ArticleSeries, {
|
|
9886
9886
|
nodes: node,
|
|
9887
9887
|
accountIDs: videoAccountIDs || {},
|
|
9888
9888
|
pageview: pageview,
|
|
@@ -9895,61 +9895,61 @@ var getSerializers = function getSerializers() {
|
|
|
9895
9895
|
figure: function figure(_ref4) {
|
|
9896
9896
|
var node = _ref4.node;
|
|
9897
9897
|
|
|
9898
|
-
return
|
|
9898
|
+
return React.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
9899
9899
|
},
|
|
9900
9900
|
multifigure: function multifigure(_ref5) {
|
|
9901
9901
|
var node = _ref5.node;
|
|
9902
9902
|
|
|
9903
|
-
return
|
|
9903
|
+
return React.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
9904
9904
|
},
|
|
9905
9905
|
slideshow: function slideshow(_ref6) {
|
|
9906
9906
|
var node = _ref6.node;
|
|
9907
9907
|
var slides = node.slides;
|
|
9908
9908
|
|
|
9909
|
-
return
|
|
9909
|
+
return React.createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
9910
9910
|
},
|
|
9911
9911
|
sidebar: function sidebar(_ref7) {
|
|
9912
9912
|
var node = _ref7.node;
|
|
9913
9913
|
var caption = node.caption,
|
|
9914
9914
|
content = node.content;
|
|
9915
9915
|
|
|
9916
|
-
return
|
|
9916
|
+
return React.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers(props) });
|
|
9917
9917
|
},
|
|
9918
9918
|
datatable: function datatable(_ref8) {
|
|
9919
9919
|
var node = _ref8.node;
|
|
9920
9920
|
var table = node.table;
|
|
9921
9921
|
|
|
9922
|
-
return
|
|
9922
|
+
return React.createElement(TableShow, { rows: table.rows });
|
|
9923
9923
|
},
|
|
9924
9924
|
media: function media(_ref9) {
|
|
9925
9925
|
var node = _ref9.node;
|
|
9926
9926
|
|
|
9927
|
-
return
|
|
9927
|
+
return React.createElement(Media, { node: node, client: client });
|
|
9928
9928
|
},
|
|
9929
9929
|
iframe: function iframe(_ref10) {
|
|
9930
9930
|
var node = _ref10.node;
|
|
9931
9931
|
|
|
9932
|
-
return
|
|
9932
|
+
return React.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
9933
9933
|
},
|
|
9934
9934
|
video: function video(_ref11) {
|
|
9935
9935
|
var node = _ref11.node;
|
|
9936
9936
|
|
|
9937
|
-
return
|
|
9937
|
+
return React.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting });
|
|
9938
9938
|
},
|
|
9939
9939
|
audio: function audio(_ref12) {
|
|
9940
9940
|
var node = _ref12.node;
|
|
9941
9941
|
|
|
9942
|
-
return
|
|
9942
|
+
return React.createElement(Audio, { node: node });
|
|
9943
9943
|
},
|
|
9944
9944
|
poll: function poll(_ref13) {
|
|
9945
9945
|
var node = _ref13.node;
|
|
9946
9946
|
|
|
9947
|
-
return
|
|
9947
|
+
return React.createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
|
|
9948
9948
|
},
|
|
9949
9949
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
9950
9950
|
var node = _ref14.node;
|
|
9951
9951
|
|
|
9952
|
-
return
|
|
9952
|
+
return React.createElement(Poll, {
|
|
9953
9953
|
node: node,
|
|
9954
9954
|
client: client,
|
|
9955
9955
|
pageview: pageview,
|
|
@@ -9963,35 +9963,35 @@ var getSerializers = function getSerializers() {
|
|
|
9963
9963
|
var node = _ref15.node;
|
|
9964
9964
|
var quizzes = node.quizzes;
|
|
9965
9965
|
|
|
9966
|
-
return
|
|
9966
|
+
return React.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers(props), pageview: pageview, currentPage: currentPage });
|
|
9967
9967
|
},
|
|
9968
9968
|
leads: function leads(_ref16) {
|
|
9969
9969
|
var node = _ref16.node;
|
|
9970
9970
|
var leadID = node.leadID;
|
|
9971
9971
|
|
|
9972
9972
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
9973
|
-
return
|
|
9973
|
+
return React.createElement(Leads, { url: url });
|
|
9974
9974
|
},
|
|
9975
9975
|
slideshows: function slideshows(_ref17) {
|
|
9976
9976
|
var node = _ref17.node;
|
|
9977
9977
|
|
|
9978
|
-
return
|
|
9978
|
+
return React.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
|
|
9979
9979
|
},
|
|
9980
9980
|
nativeAd: function nativeAd(_ref18) {
|
|
9981
9981
|
var node = _ref18.node;
|
|
9982
9982
|
|
|
9983
|
-
return
|
|
9983
|
+
return React.createElement(NativeAd, { node: node });
|
|
9984
9984
|
},
|
|
9985
9985
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
9986
9986
|
var node = _ref19.node;
|
|
9987
9987
|
|
|
9988
|
-
return
|
|
9988
|
+
return React.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
9989
9989
|
},
|
|
9990
9990
|
hrtag: function hrtag() {
|
|
9991
|
-
return
|
|
9991
|
+
return React.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
9992
9992
|
},
|
|
9993
9993
|
brtag: function brtag() {
|
|
9994
|
-
return
|
|
9994
|
+
return React.createElement('br', { className: 'line-break' });
|
|
9995
9995
|
},
|
|
9996
9996
|
formstack: function formstack(_ref20) {
|
|
9997
9997
|
var node = _ref20.node;
|
|
@@ -9999,29 +9999,29 @@ var getSerializers = function getSerializers() {
|
|
|
9999
9999
|
Caption = node.Caption,
|
|
10000
10000
|
needSegmentSupport = node.needSegmentSupport;
|
|
10001
10001
|
|
|
10002
|
-
return
|
|
10002
|
+
return React.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10003
10003
|
},
|
|
10004
10004
|
formassembly: FormAssembly,
|
|
10005
10005
|
multimedia: function multimedia(_ref21) {
|
|
10006
10006
|
var node = _ref21.node;
|
|
10007
10007
|
|
|
10008
|
-
return
|
|
10008
|
+
return React.createElement(MultiMedia, { node: node, client: client });
|
|
10009
10009
|
},
|
|
10010
10010
|
blockTable: function blockTable(_ref22) {
|
|
10011
10011
|
var node = _ref22.node;
|
|
10012
|
-
return
|
|
10012
|
+
return React.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10013
10013
|
}
|
|
10014
10014
|
},
|
|
10015
10015
|
marks: {
|
|
10016
10016
|
superscript: function superscript(props) {
|
|
10017
|
-
return
|
|
10017
|
+
return React.createElement(
|
|
10018
10018
|
'sup',
|
|
10019
10019
|
null,
|
|
10020
10020
|
props.children
|
|
10021
10021
|
);
|
|
10022
10022
|
},
|
|
10023
10023
|
subscript: function subscript(props) {
|
|
10024
|
-
return
|
|
10024
|
+
return React.createElement(
|
|
10025
10025
|
'sub',
|
|
10026
10026
|
null,
|
|
10027
10027
|
props.children
|
|
@@ -10037,7 +10037,7 @@ var getSerializers = function getSerializers() {
|
|
|
10037
10037
|
if (href && href.charAt(0) === '#') {
|
|
10038
10038
|
var elementId = href.slice(1);
|
|
10039
10039
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10040
|
-
return
|
|
10040
|
+
return React.createElement(
|
|
10041
10041
|
'a',
|
|
10042
10042
|
{ onClick: function onClick() {
|
|
10043
10043
|
return ScrollToElement(elementId);
|
|
@@ -10047,7 +10047,7 @@ var getSerializers = function getSerializers() {
|
|
|
10047
10047
|
}
|
|
10048
10048
|
|
|
10049
10049
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10050
|
-
return
|
|
10050
|
+
return React.createElement(
|
|
10051
10051
|
'a',
|
|
10052
10052
|
{ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' },
|
|
10053
10053
|
children
|
|
@@ -10055,7 +10055,7 @@ var getSerializers = function getSerializers() {
|
|
|
10055
10055
|
},
|
|
10056
10056
|
alignleft: function alignleft(_ref23) {
|
|
10057
10057
|
var children = _ref23.children;
|
|
10058
|
-
return
|
|
10058
|
+
return React.createElement(
|
|
10059
10059
|
'div',
|
|
10060
10060
|
{ style: { textAlign: 'left' } },
|
|
10061
10061
|
children
|
|
@@ -10063,7 +10063,7 @@ var getSerializers = function getSerializers() {
|
|
|
10063
10063
|
},
|
|
10064
10064
|
alignright: function alignright(_ref24) {
|
|
10065
10065
|
var children = _ref24.children;
|
|
10066
|
-
return
|
|
10066
|
+
return React.createElement(
|
|
10067
10067
|
'div',
|
|
10068
10068
|
{ style: { textAlign: 'right' } },
|
|
10069
10069
|
children
|
|
@@ -10071,7 +10071,7 @@ var getSerializers = function getSerializers() {
|
|
|
10071
10071
|
},
|
|
10072
10072
|
aligncenter: function aligncenter(_ref25) {
|
|
10073
10073
|
var children = _ref25.children;
|
|
10074
|
-
return
|
|
10074
|
+
return React.createElement(
|
|
10075
10075
|
'div',
|
|
10076
10076
|
{ style: { textAlign: 'center' } },
|
|
10077
10077
|
children
|
|
@@ -10079,7 +10079,7 @@ var getSerializers = function getSerializers() {
|
|
|
10079
10079
|
},
|
|
10080
10080
|
alignjustify: function alignjustify(_ref26) {
|
|
10081
10081
|
var children = _ref26.children;
|
|
10082
|
-
return
|
|
10082
|
+
return React.createElement(
|
|
10083
10083
|
'div',
|
|
10084
10084
|
{ style: { textAlign: 'justify' } },
|
|
10085
10085
|
children
|
|
@@ -10089,7 +10089,7 @@ var getSerializers = function getSerializers() {
|
|
|
10089
10089
|
var children = props.children,
|
|
10090
10090
|
color = props.mark.color;
|
|
10091
10091
|
|
|
10092
|
-
return
|
|
10092
|
+
return React.createElement(
|
|
10093
10093
|
'span',
|
|
10094
10094
|
{ style: { color: color ? color.hex : null } },
|
|
10095
10095
|
children
|