@mjhls/mjh-framework 1.0.836 → 1.0.837-formassembly-segment-v1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +24 -24
- package/dist/cjs/AD300x250x600.js +24 -24
- package/dist/cjs/AD728x90.js +27 -27
- package/dist/cjs/ADFloatingFooter.js +23 -23
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -23
- package/dist/cjs/{ADInfeed-8b336c67.js → ADInfeed-0158bee3.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +23 -23
- package/dist/cjs/ADSponsoredResources.js +23 -23
- package/dist/cjs/ADWebcast.js +23 -23
- package/dist/cjs/ADWelcome.js +20 -20
- package/dist/cjs/{ADlgInfeed-aedd5e18.js → ADlgInfeed-3583144f.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +24 -24
- package/dist/cjs/AdSlotsProvider.js +13 -13
- package/dist/cjs/AlgoliaSearch.js +500 -508
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +31 -31
- package/dist/cjs/ArticleSeriesListing.js +33 -33
- package/dist/cjs/Auth.js +348 -484
- package/dist/cjs/AuthWrapper.js +240 -201
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +24 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -33
- package/dist/cjs/ConferenceArticleCard.js +22 -22
- package/dist/cjs/DeckContent.js +42 -42
- package/dist/cjs/DeckQueue.js +31 -31
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-391fd124.js} +15 -15
- package/dist/cjs/EventsDeck.js +45 -45
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +47 -47
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -47
- package/dist/cjs/HorizontalHero.js +4 -4
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +16 -16
- package/dist/cjs/IssueLanding.js +84 -84
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -22
- package/dist/cjs/MasterDeck.js +41 -41
- package/dist/cjs/MediaSeriesLanding.js +465 -509
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +40 -40
- package/dist/cjs/NavNative.js +41 -41
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +57 -57
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +34 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +55 -55
- package/dist/cjs/QueueDeckExpanded.js +38 -38
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +35 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +20 -20
- package/dist/cjs/{SeriesSlider-cbab9f0f.js → SeriesSlider-0d3bf265.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +17 -17
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-19548e2a.js} +10 -10
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +47 -47
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +13 -13
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +37 -37
- package/dist/cjs/VideoSeriesListing.js +33 -33
- package/dist/cjs/View.js +92 -91
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +26 -26
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
- package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +71 -135
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-15ad167c.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-fc2f1ca2.js → index-2cf30c83.js} +4 -4
- package/dist/cjs/{index-f86bb269.js → index-6367b7bf.js} +35 -35
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-8041a4eb.js → index-e2e62963.js} +1 -11
- package/dist/cjs/{index-393c5040.js → index-f5eddbab.js} +230 -179
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-3ffa049c.js} +1 -1
- package/dist/cjs/index.js +137 -137
- package/dist/cjs/{inherits-c2065b95.js → inherits-0c7830c5.js} +19 -19
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/{main-025fdc78.js → main-7b5e57b0.js} +159 -234
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +23 -23
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-28b1e946.js → ADInfeed-427022e9.js} +4 -4
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-0b474b02.js → ADlgInfeed-28d3f944.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +24 -24
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlgoliaSearch.js +499 -507
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +50 -50
- package/dist/esm/ArticleSeriesLandingPage.js +31 -31
- package/dist/esm/ArticleSeriesListing.js +33 -33
- package/dist/esm/Auth.js +348 -484
- package/dist/esm/AuthWrapper.js +240 -201
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-8ffd4679.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-d05b5b23.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +24 -24
- package/dist/esm/Column2.js +16 -16
- package/dist/esm/Column3.js +33 -33
- package/dist/esm/ConferenceArticleCard.js +22 -22
- package/dist/esm/DeckContent.js +42 -42
- package/dist/esm/DeckQueue.js +31 -31
- package/dist/esm/{Dfp-43f121ff.js → Dfp-2f9796e1.js} +15 -15
- package/dist/esm/EventsDeck.js +43 -43
- package/dist/esm/ExternalResources.js +47 -47
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +47 -47
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +36 -36
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -47
- package/dist/esm/HorizontalHero.js +4 -4
- package/dist/esm/IssueContentDeck.js +13 -13
- package/dist/esm/IssueDeck.js +15 -15
- package/dist/esm/IssueLanding.js +84 -84
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +22 -22
- package/dist/esm/MasterDeck.js +41 -41
- package/dist/esm/MediaSeriesLanding.js +465 -509
- package/dist/esm/NavDvm.js +13 -13
- package/dist/esm/NavMagazine.js +40 -40
- package/dist/esm/NavNative.js +39 -39
- package/dist/esm/OncliveHero.js +4 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +57 -57
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +34 -34
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +7 -7
- package/dist/esm/PublicationLanding.js +54 -54
- package/dist/esm/QueueDeckExpanded.js +38 -38
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +35 -35
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-5c62a578.js → SeriesSlider-7d89f4d9.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-47815365.js} +9 -9
- package/dist/esm/TaxonomyCard.js +10 -10
- package/dist/esm/TaxonomyDescription.js +46 -46
- package/dist/esm/TemplateNormal.js +47 -47
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +13 -13
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +51 -51
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -37
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +91 -90
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +26 -26
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
- package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
- package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +71 -135
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-82e86707.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-35bdcc81.js → index-6c12bdd5.js} +6 -6
- package/dist/esm/{index-67e1773f.js → index-aaa2dae0.js} +2 -11
- package/dist/esm/{index-79cfd25c.js → index-c00b0bbb.js} +35 -35
- package/dist/esm/{index-2446af28.js → index-f7fb1e25.js} +4 -4
- package/dist/esm/{index-f21b15a5.js → index-fed909cb.js} +227 -176
- package/dist/esm/{index.esm-8016b507.js → index.esm-8ee5ff72.js} +1 -1
- package/dist/esm/index.js +118 -118
- package/dist/esm/{inherits-a41fe93f.js → inherits-75d45541.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/{main-b5c5aac1.js → main-747e7d25.js} +153 -228
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-3822f1ce.js} +16 -16
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-4330ccdc.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-af9c50d8.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +110 -110
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/stringify-59c8f690.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-4abff0b1.js} +1 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { _ as _export, a as _core } from './_to-object-a4107da3.js';
|
|
3
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
4
|
+
import { _ as _extends, b as _extends$1 } from './extends-6f2fcc99.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-75d45541.js';
|
|
6
|
+
import { _ as _typeof$1 } from './typeof-af9c50d8.js';
|
|
1
7
|
import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
|
|
4
|
-
import urlFor from './urlFor.js';
|
|
5
|
-
import { l as lib_3 } from './index-2446af28.js';
|
|
6
|
-
import Router, { useRouter } from 'next/router';
|
|
7
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
8
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
8
9
|
import PropTypes from 'prop-types';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
11
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
12
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
13
|
+
import Router, { useRouter } from 'next/router';
|
|
14
|
+
import urlFor from './urlFor.js';
|
|
15
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
16
|
+
import { d as main_16, b as main_39, m as main_40 } from './main-747e7d25.js';
|
|
17
|
+
import { h as html_decode_1 } from './entities-7cc3bf45.js';
|
|
18
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
|
|
12
19
|
import Segment from './Segment.js';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-b43c695a.js';
|
|
20
|
+
import Beam from './Beam.js';
|
|
21
|
+
import DFPAdSlot from './AdSlot.js';
|
|
22
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
23
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
24
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
19
25
|
import GroupDeck from './GroupDeck.js';
|
|
20
|
-
import {
|
|
26
|
+
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
|
|
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-4abff0b1.js';
|
|
30
|
+
import Head from 'next/head';
|
|
21
31
|
import SocialShare from './SocialShare.js';
|
|
22
|
-
import { _ as
|
|
23
|
-
import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
|
|
24
|
-
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
32
|
+
import { _ as _objectToArray } from './_object-to-array-7e804fce.js';
|
|
25
33
|
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
34
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
35
35
|
|
|
36
36
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
@@ -39,7 +39,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
39
39
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
var Slideshow
|
|
42
|
+
var Slideshow = function Slideshow(_ref) {
|
|
43
43
|
var slides = _ref.slides,
|
|
44
44
|
client = _ref.client,
|
|
45
45
|
pageview = _ref.pageview;
|
|
@@ -78,7 +78,14 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
78
78
|
return React.createElement(
|
|
79
79
|
Carousel.Item,
|
|
80
80
|
{ key: slide._key },
|
|
81
|
-
React.createElement(
|
|
81
|
+
React.createElement(
|
|
82
|
+
'picture',
|
|
83
|
+
null,
|
|
84
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
85
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
86
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
87
|
+
React.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
88
|
+
),
|
|
82
89
|
slide.caption && React.createElement(
|
|
83
90
|
'p',
|
|
84
91
|
{ className: 'p-2' },
|
|
@@ -669,14 +676,14 @@ function coerce(val) {
|
|
|
669
676
|
return val;
|
|
670
677
|
}
|
|
671
678
|
});
|
|
672
|
-
debug.coerce;
|
|
673
|
-
debug.disable;
|
|
674
|
-
debug.enable;
|
|
675
|
-
debug.enabled;
|
|
676
|
-
debug.humanize;
|
|
677
|
-
debug.names;
|
|
678
|
-
debug.skips;
|
|
679
|
-
debug.formatters;
|
|
679
|
+
var debug_1 = debug.coerce;
|
|
680
|
+
var debug_2 = debug.disable;
|
|
681
|
+
var debug_3 = debug.enable;
|
|
682
|
+
var debug_4 = debug.enabled;
|
|
683
|
+
var debug_5 = debug.humanize;
|
|
684
|
+
var debug_6 = debug.names;
|
|
685
|
+
var debug_7 = debug.skips;
|
|
686
|
+
var debug_8 = debug.formatters;
|
|
680
687
|
|
|
681
688
|
var browser = createCommonjsModule(function (module, exports) {
|
|
682
689
|
/**
|
|
@@ -865,13 +872,13 @@ function localstorage() {
|
|
|
865
872
|
} catch (e) {}
|
|
866
873
|
}
|
|
867
874
|
});
|
|
868
|
-
browser.log;
|
|
869
|
-
browser.formatArgs;
|
|
870
|
-
browser.save;
|
|
871
|
-
browser.load;
|
|
872
|
-
browser.useColors;
|
|
873
|
-
browser.storage;
|
|
874
|
-
browser.colors;
|
|
875
|
+
var browser_1 = browser.log;
|
|
876
|
+
var browser_2 = browser.formatArgs;
|
|
877
|
+
var browser_3 = browser.save;
|
|
878
|
+
var browser_4 = browser.load;
|
|
879
|
+
var browser_5 = browser.useColors;
|
|
880
|
+
var browser_6 = browser.storage;
|
|
881
|
+
var browser_7 = browser.colors;
|
|
875
882
|
|
|
876
883
|
// MIT lisence
|
|
877
884
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1146,14 +1153,14 @@ function init (debug) {
|
|
|
1146
1153
|
|
|
1147
1154
|
exports.enable(load());
|
|
1148
1155
|
});
|
|
1149
|
-
node.init;
|
|
1150
|
-
node.log;
|
|
1151
|
-
node.formatArgs;
|
|
1152
|
-
node.save;
|
|
1153
|
-
node.load;
|
|
1154
|
-
node.useColors;
|
|
1155
|
-
node.colors;
|
|
1156
|
-
node.inspectOpts;
|
|
1156
|
+
var node_1 = node.init;
|
|
1157
|
+
var node_2 = node.log;
|
|
1158
|
+
var node_3 = node.formatArgs;
|
|
1159
|
+
var node_4 = node.save;
|
|
1160
|
+
var node_5 = node.load;
|
|
1161
|
+
var node_6 = node.useColors;
|
|
1162
|
+
var node_7 = node.colors;
|
|
1163
|
+
var node_8 = node.inspectOpts;
|
|
1157
1164
|
|
|
1158
1165
|
var src = createCommonjsModule(function (module) {
|
|
1159
1166
|
/**
|
|
@@ -1916,8 +1923,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1916
1923
|
var duration = player.getDuration();
|
|
1917
1924
|
var queue = Math.floor(duration / 10);
|
|
1918
1925
|
var segment = Math.floor(current / queue);
|
|
1919
|
-
Beam.report_beam_video('Ready',
|
|
1920
|
-
Segment.report_video_event('Video Ready',
|
|
1926
|
+
Beam.report_beam_video('Ready', main_16, duration, current, segment);
|
|
1927
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
1921
1928
|
};
|
|
1922
1929
|
|
|
1923
1930
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1927,8 +1934,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1927
1934
|
var segment = Math.floor(current / queue);
|
|
1928
1935
|
|
|
1929
1936
|
if (!queueProgress.includes(segment)) {
|
|
1930
|
-
Beam.report_beam_video('Segment',
|
|
1931
|
-
Segment.report_video_event('Video Segment',
|
|
1937
|
+
Beam.report_beam_video('Segment', main_16, duration, current, segment);
|
|
1938
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
1932
1939
|
queueProgress.push(segment);
|
|
1933
1940
|
}
|
|
1934
1941
|
};
|
|
@@ -1941,8 +1948,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1941
1948
|
var queue = Math.floor(duration / 10);
|
|
1942
1949
|
var segment = Math.floor(current / queue);
|
|
1943
1950
|
|
|
1944
|
-
Beam.report_beam_video('Play',
|
|
1945
|
-
Segment.report_video_event('Video Play',
|
|
1951
|
+
Beam.report_beam_video('Play', main_16, duration, current, segment);
|
|
1952
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
1946
1953
|
|
|
1947
1954
|
if (!playReported) {
|
|
1948
1955
|
setPlayReported(true);
|
|
@@ -1961,8 +1968,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1961
1968
|
var queue = Math.floor(duration / 10);
|
|
1962
1969
|
var segment = Math.floor(current / queue);
|
|
1963
1970
|
|
|
1964
|
-
Beam.report_beam_video('End',
|
|
1965
|
-
Segment.report_video_event('Video End',
|
|
1971
|
+
Beam.report_beam_video('End', main_16, duration, current, segment);
|
|
1972
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
1966
1973
|
setEndReported(true);
|
|
1967
1974
|
clearInterval(intervalID);
|
|
1968
1975
|
}
|
|
@@ -1975,8 +1982,8 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1975
1982
|
var queue = Math.floor(duration / 10);
|
|
1976
1983
|
var segment = Math.floor(current / queue);
|
|
1977
1984
|
|
|
1978
|
-
Beam.report_beam_video('Pause',
|
|
1979
|
-
Segment.report_video_event('Video Pause',
|
|
1985
|
+
Beam.report_beam_video('Pause', main_16, duration, current, segment);
|
|
1986
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
1980
1987
|
};
|
|
1981
1988
|
|
|
1982
1989
|
return React.createElement(
|
|
@@ -2138,7 +2145,14 @@ var Media = function Media(_ref) {
|
|
|
2138
2145
|
React.createElement(
|
|
2139
2146
|
LazyLoad,
|
|
2140
2147
|
{ once: true },
|
|
2141
|
-
React.createElement(
|
|
2148
|
+
React.createElement(
|
|
2149
|
+
'picture',
|
|
2150
|
+
null,
|
|
2151
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2152
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2153
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2154
|
+
React.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2155
|
+
)
|
|
2142
2156
|
),
|
|
2143
2157
|
caption && React.createElement(
|
|
2144
2158
|
Figure$1.Caption,
|
|
@@ -2205,8 +2219,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2205
2219
|
var duration = player.duration;
|
|
2206
2220
|
var queue = Math.floor(duration / 10);
|
|
2207
2221
|
var segment = Math.floor(current / queue);
|
|
2208
|
-
Beam.report_beam_video('Ready',
|
|
2209
|
-
Segment.report_video_event('Video Ready',
|
|
2222
|
+
Beam.report_beam_video('Ready', main_16, duration, current, segment, 'MP4');
|
|
2223
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
|
|
2210
2224
|
};
|
|
2211
2225
|
|
|
2212
2226
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2215,8 +2229,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2215
2229
|
var queue = Math.floor(duration / 10);
|
|
2216
2230
|
var segment = Math.floor(current / queue);
|
|
2217
2231
|
if (!queueProgress.includes(segment)) {
|
|
2218
|
-
Beam.report_beam_video('Segment',
|
|
2219
|
-
Segment.report_video_event('Video Segment',
|
|
2232
|
+
Beam.report_beam_video('Segment', main_16, duration, current, segment, 'MP4');
|
|
2233
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
|
|
2220
2234
|
queueProgress.push(segment);
|
|
2221
2235
|
}
|
|
2222
2236
|
};
|
|
@@ -2228,8 +2242,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2228
2242
|
var duration = player.duration;
|
|
2229
2243
|
var queue = Math.floor(duration / 10);
|
|
2230
2244
|
var segment = Math.floor(current / queue);
|
|
2231
|
-
Beam.report_beam_video('Play',
|
|
2232
|
-
Segment.report_video_event('Video Play',
|
|
2245
|
+
Beam.report_beam_video('Play', main_16, duration, current, segment, 'MP4');
|
|
2246
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
|
|
2233
2247
|
|
|
2234
2248
|
if (!playReported) {
|
|
2235
2249
|
event.persist();
|
|
@@ -2249,8 +2263,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2249
2263
|
var queue = Math.floor(duration / 10);
|
|
2250
2264
|
var segment = Math.floor(current / queue);
|
|
2251
2265
|
|
|
2252
|
-
Beam.report_beam_video('End',
|
|
2253
|
-
Segment.report_video_event('Video End',
|
|
2266
|
+
Beam.report_beam_video('End', main_16, duration, current, segment, 'MP4');
|
|
2267
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
|
|
2254
2268
|
setEndReported(true);
|
|
2255
2269
|
clearInterval(intervalID);
|
|
2256
2270
|
}
|
|
@@ -2262,8 +2276,8 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2262
2276
|
var duration = player.duration - current;
|
|
2263
2277
|
var queue = Math.floor(duration / 10);
|
|
2264
2278
|
var segment = Math.floor(current / queue);
|
|
2265
|
-
Beam.report_beam_video('Pause',
|
|
2266
|
-
Segment.report_video_event('Video Pause',
|
|
2279
|
+
Beam.report_beam_video('Pause', main_16, duration, current, segment, 'MP4');
|
|
2280
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
|
|
2267
2281
|
};
|
|
2268
2282
|
|
|
2269
2283
|
return React.createElement(
|
|
@@ -2352,8 +2366,8 @@ var Video = function Video(_ref) {
|
|
|
2352
2366
|
player.pause();
|
|
2353
2367
|
}
|
|
2354
2368
|
|
|
2355
|
-
Beam.report_beam_video('Ready',
|
|
2356
|
-
Segment.report_video_event('Video Ready',
|
|
2369
|
+
Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2370
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2357
2371
|
});
|
|
2358
2372
|
|
|
2359
2373
|
// play
|
|
@@ -2362,8 +2376,8 @@ var Video = function Video(_ref) {
|
|
|
2362
2376
|
var current = player.currentTime();
|
|
2363
2377
|
var queue = Math.floor(duration / 10);
|
|
2364
2378
|
var segment = Math.floor(current / queue);
|
|
2365
|
-
Beam.report_beam_video('Play',
|
|
2366
|
-
Segment.report_video_event('Video Play',
|
|
2379
|
+
Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2380
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2367
2381
|
});
|
|
2368
2382
|
|
|
2369
2383
|
// pause
|
|
@@ -2372,8 +2386,8 @@ var Video = function Video(_ref) {
|
|
|
2372
2386
|
var current = player.currentTime();
|
|
2373
2387
|
var queue = Math.floor(duration / 10);
|
|
2374
2388
|
var segment = Math.floor(current / queue);
|
|
2375
|
-
Beam.report_beam_video('Pause',
|
|
2376
|
-
Segment.report_video_event('Video Pause',
|
|
2389
|
+
Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2390
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2377
2391
|
});
|
|
2378
2392
|
|
|
2379
2393
|
// end
|
|
@@ -2382,8 +2396,8 @@ var Video = function Video(_ref) {
|
|
|
2382
2396
|
var current = player.currentTime();
|
|
2383
2397
|
var queue = Math.floor(duration / 10);
|
|
2384
2398
|
var segment = Math.floor(current / queue);
|
|
2385
|
-
Beam.report_beam_video('End',
|
|
2386
|
-
Segment.report_video_event('Video End',
|
|
2399
|
+
Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2400
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2387
2401
|
autoplayNextVideo(evt);
|
|
2388
2402
|
});
|
|
2389
2403
|
|
|
@@ -2394,8 +2408,8 @@ var Video = function Video(_ref) {
|
|
|
2394
2408
|
var queue = Math.floor(duration / 10);
|
|
2395
2409
|
var segment = Math.floor(current / queue);
|
|
2396
2410
|
if (!queueProgress.includes(segment)) {
|
|
2397
|
-
Beam.report_beam_video('Segment',
|
|
2398
|
-
Segment.report_video_event('Video Segment',
|
|
2411
|
+
Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2412
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2399
2413
|
queueProgress.push(segment);
|
|
2400
2414
|
}
|
|
2401
2415
|
});
|
|
@@ -2406,8 +2420,8 @@ var Video = function Video(_ref) {
|
|
|
2406
2420
|
var id = player.ads.ad.id;
|
|
2407
2421
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2408
2422
|
|
|
2409
|
-
Beam.report_beam_ad('AD Started',
|
|
2410
|
-
Segment.report_ad_event('Video Ad Started',
|
|
2423
|
+
Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
|
|
2424
|
+
Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2411
2425
|
});
|
|
2412
2426
|
|
|
2413
2427
|
// ad ended
|
|
@@ -2415,8 +2429,8 @@ var Video = function Video(_ref) {
|
|
|
2415
2429
|
var duration = player.ads.ad.duration;
|
|
2416
2430
|
var id = player.ads.ad.id;
|
|
2417
2431
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2418
|
-
Beam.report_beam_ad('AD Ended',
|
|
2419
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
2432
|
+
Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
|
|
2433
|
+
Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2420
2434
|
});
|
|
2421
2435
|
};
|
|
2422
2436
|
|
|
@@ -2679,9 +2693,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
2679
2693
|
});
|
|
2680
2694
|
|
|
2681
2695
|
unwrapExports(props);
|
|
2682
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
2683
|
-
props.defaultProps;
|
|
2684
|
-
props.propTypes;
|
|
2696
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
2697
|
+
var props_2 = props.defaultProps;
|
|
2698
|
+
var props_3 = props.propTypes;
|
|
2685
2699
|
|
|
2686
2700
|
var isMergeableObject = function isMergeableObject(value) {
|
|
2687
2701
|
return isNonNullObject(value)
|
|
@@ -3116,17 +3130,17 @@ function isMediaStream(url) {
|
|
|
3116
3130
|
});
|
|
3117
3131
|
|
|
3118
3132
|
unwrapExports(utils);
|
|
3119
|
-
utils.parseStartTime;
|
|
3120
|
-
utils.parseEndTime;
|
|
3121
|
-
utils.randomString;
|
|
3122
|
-
utils.queryString;
|
|
3123
|
-
utils.getSDK;
|
|
3124
|
-
utils.getConfig;
|
|
3125
|
-
utils.omit;
|
|
3126
|
-
utils.callPlayer;
|
|
3127
|
-
utils.isObject;
|
|
3128
|
-
utils.isEqual;
|
|
3129
|
-
utils.isMediaStream;
|
|
3133
|
+
var utils_1 = utils.parseStartTime;
|
|
3134
|
+
var utils_2 = utils.parseEndTime;
|
|
3135
|
+
var utils_3 = utils.randomString;
|
|
3136
|
+
var utils_4 = utils.queryString;
|
|
3137
|
+
var utils_5 = utils.getSDK;
|
|
3138
|
+
var utils_6 = utils.getConfig;
|
|
3139
|
+
var utils_7 = utils.omit;
|
|
3140
|
+
var utils_8 = utils.callPlayer;
|
|
3141
|
+
var utils_9 = utils.isObject;
|
|
3142
|
+
var utils_10 = utils.isEqual;
|
|
3143
|
+
var utils_11 = utils.isMediaStream;
|
|
3130
3144
|
|
|
3131
3145
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3132
3146
|
|
|
@@ -4003,7 +4017,7 @@ exports["default"] = _default;
|
|
|
4003
4017
|
});
|
|
4004
4018
|
|
|
4005
4019
|
unwrapExports(YouTube_1);
|
|
4006
|
-
YouTube_1.YouTube;
|
|
4020
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4007
4021
|
|
|
4008
4022
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4009
4023
|
|
|
@@ -4220,7 +4234,7 @@ exports["default"] = _default;
|
|
|
4220
4234
|
});
|
|
4221
4235
|
|
|
4222
4236
|
unwrapExports(SoundCloud_1);
|
|
4223
|
-
SoundCloud_1.SoundCloud;
|
|
4237
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4224
4238
|
|
|
4225
4239
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4226
4240
|
|
|
@@ -4476,7 +4490,7 @@ exports["default"] = _default;
|
|
|
4476
4490
|
});
|
|
4477
4491
|
|
|
4478
4492
|
unwrapExports(Vimeo_1);
|
|
4479
|
-
Vimeo_1.Vimeo;
|
|
4493
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
4480
4494
|
|
|
4481
4495
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
4482
4496
|
|
|
@@ -4688,7 +4702,7 @@ exports["default"] = _default;
|
|
|
4688
4702
|
});
|
|
4689
4703
|
|
|
4690
4704
|
unwrapExports(Facebook_1);
|
|
4691
|
-
Facebook_1.Facebook;
|
|
4705
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
4692
4706
|
|
|
4693
4707
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
4694
4708
|
|
|
@@ -4899,7 +4913,7 @@ exports["default"] = _default;
|
|
|
4899
4913
|
});
|
|
4900
4914
|
|
|
4901
4915
|
unwrapExports(Streamable_1);
|
|
4902
|
-
Streamable_1.Streamable;
|
|
4916
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
4903
4917
|
|
|
4904
4918
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
4905
4919
|
|
|
@@ -5142,7 +5156,7 @@ exports["default"] = _default;
|
|
|
5142
5156
|
});
|
|
5143
5157
|
|
|
5144
5158
|
unwrapExports(Wistia_1);
|
|
5145
|
-
Wistia_1.Wistia;
|
|
5159
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5146
5160
|
|
|
5147
5161
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5148
5162
|
|
|
@@ -5358,7 +5372,7 @@ exports["default"] = _default;
|
|
|
5358
5372
|
});
|
|
5359
5373
|
|
|
5360
5374
|
unwrapExports(Twitch_1);
|
|
5361
|
-
Twitch_1.Twitch;
|
|
5375
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5362
5376
|
|
|
5363
5377
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5364
5378
|
|
|
@@ -5594,7 +5608,7 @@ exports["default"] = _default;
|
|
|
5594
5608
|
});
|
|
5595
5609
|
|
|
5596
5610
|
unwrapExports(DailyMotion_1);
|
|
5597
|
-
DailyMotion_1.DailyMotion;
|
|
5611
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
5598
5612
|
|
|
5599
5613
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
5600
5614
|
|
|
@@ -5793,7 +5807,7 @@ exports["default"] = _default;
|
|
|
5793
5807
|
});
|
|
5794
5808
|
|
|
5795
5809
|
unwrapExports(Mixcloud_1);
|
|
5796
|
-
Mixcloud_1.Mixcloud;
|
|
5810
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
5797
5811
|
|
|
5798
5812
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
5799
5813
|
|
|
@@ -6327,7 +6341,7 @@ exports["default"] = _default;
|
|
|
6327
6341
|
});
|
|
6328
6342
|
|
|
6329
6343
|
unwrapExports(FilePlayer_1);
|
|
6330
|
-
FilePlayer_1.FilePlayer;
|
|
6344
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6331
6345
|
|
|
6332
6346
|
var players = createCommonjsModule(function (module, exports) {
|
|
6333
6347
|
|
|
@@ -7263,8 +7277,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7263
7277
|
var duration = player.getDuration();
|
|
7264
7278
|
var queue = Math.floor(duration / 10);
|
|
7265
7279
|
var segment = Math.floor(current / queue);
|
|
7266
|
-
Beam.report_beam_video('Ready',
|
|
7267
|
-
Segment.report_video_event('Video Ready',
|
|
7280
|
+
Beam.report_beam_video('Ready', main_16, duration, current, segment);
|
|
7281
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
7268
7282
|
//autoplay
|
|
7269
7283
|
|
|
7270
7284
|
//Small pause before starting next video
|
|
@@ -7284,8 +7298,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7284
7298
|
var queue = Math.floor(duration / 10);
|
|
7285
7299
|
var segment = Math.floor(current / queue);
|
|
7286
7300
|
|
|
7287
|
-
Beam.report_beam_video('End',
|
|
7288
|
-
Segment.report_video_event('Video End',
|
|
7301
|
+
Beam.report_beam_video('End', main_16, duration, current, segment);
|
|
7302
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
7289
7303
|
setEndReported(true);
|
|
7290
7304
|
clearInterval(intervalID);
|
|
7291
7305
|
}
|
|
@@ -7335,8 +7349,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7335
7349
|
var queue = Math.floor(duration / 10);
|
|
7336
7350
|
var segment = Math.floor(current / queue);
|
|
7337
7351
|
if (!queueProgress.includes(segment)) {
|
|
7338
|
-
Beam.report_beam_video('Segment',
|
|
7339
|
-
Segment.report_video_event('Video Segment',
|
|
7352
|
+
Beam.report_beam_video('Segment', main_16, duration, current, segment);
|
|
7353
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
7340
7354
|
queueProgress.push(segment);
|
|
7341
7355
|
}
|
|
7342
7356
|
};
|
|
@@ -7349,8 +7363,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7349
7363
|
var queue = Math.floor(duration / 10);
|
|
7350
7364
|
var segment = Math.floor(current / queue);
|
|
7351
7365
|
|
|
7352
|
-
Beam.report_beam_video('Play',
|
|
7353
|
-
Segment.report_video_event('Video Play',
|
|
7366
|
+
Beam.report_beam_video('Play', main_16, duration, current, segment);
|
|
7367
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
7354
7368
|
|
|
7355
7369
|
if (!playReported) {
|
|
7356
7370
|
setPlayReported(true);
|
|
@@ -7368,8 +7382,8 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7368
7382
|
var queue = Math.floor(duration / 10);
|
|
7369
7383
|
var segment = Math.floor(current / queue);
|
|
7370
7384
|
|
|
7371
|
-
Beam.report_beam_video('Pause',
|
|
7372
|
-
Segment.report_video_event('Video Pause',
|
|
7385
|
+
Beam.report_beam_video('Pause', main_16, duration, current, segment);
|
|
7386
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
7373
7387
|
};
|
|
7374
7388
|
|
|
7375
7389
|
// Youtube Options
|
|
@@ -7497,14 +7511,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7497
7511
|
);
|
|
7498
7512
|
};
|
|
7499
7513
|
|
|
7500
|
-
var Poll
|
|
7501
|
-
var node = _ref.node
|
|
7502
|
-
_ref.client
|
|
7503
|
-
_ref.pageview
|
|
7504
|
-
_ref.videoAccountIDs
|
|
7505
|
-
|
|
7506
|
-
_ref.showVotes
|
|
7507
|
-
|
|
7514
|
+
var Poll = function Poll(_ref) {
|
|
7515
|
+
var node = _ref.node,
|
|
7516
|
+
client = _ref.client,
|
|
7517
|
+
pageview = _ref.pageview,
|
|
7518
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7519
|
+
onVote = _ref.onVote,
|
|
7520
|
+
_ref$showVotes = _ref.showVotes,
|
|
7521
|
+
getSerializers = _ref.getSerializers;
|
|
7508
7522
|
|
|
7509
7523
|
var _useState = useState(null),
|
|
7510
7524
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7638,22 +7652,22 @@ _export(_export.S, 'Object', {
|
|
|
7638
7652
|
}
|
|
7639
7653
|
});
|
|
7640
7654
|
|
|
7641
|
-
var values
|
|
7655
|
+
var values = _core.Object.values;
|
|
7642
7656
|
|
|
7643
|
-
var values = createCommonjsModule(function (module) {
|
|
7644
|
-
module.exports = { "default": values
|
|
7657
|
+
var values$1 = createCommonjsModule(function (module) {
|
|
7658
|
+
module.exports = { "default": values, __esModule: true };
|
|
7645
7659
|
});
|
|
7646
7660
|
|
|
7647
|
-
var _Object$values = unwrapExports(values);
|
|
7661
|
+
var _Object$values = unwrapExports(values$1);
|
|
7648
7662
|
|
|
7649
|
-
var Poll = function Poll(_ref) {
|
|
7650
|
-
var node = _ref.node
|
|
7651
|
-
_ref.client
|
|
7652
|
-
_ref.pageview
|
|
7653
|
-
_ref.videoAccountIDs
|
|
7654
|
-
|
|
7655
|
-
_ref.showVotes
|
|
7656
|
-
|
|
7663
|
+
var Poll$1 = function Poll(_ref) {
|
|
7664
|
+
var node = _ref.node,
|
|
7665
|
+
client = _ref.client,
|
|
7666
|
+
pageview = _ref.pageview,
|
|
7667
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7668
|
+
onVote = _ref.onVote,
|
|
7669
|
+
_ref$showVotes = _ref.showVotes,
|
|
7670
|
+
getSerializers = _ref.getSerializers;
|
|
7657
7671
|
|
|
7658
7672
|
var _useState = useState(null),
|
|
7659
7673
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7805,7 +7819,7 @@ var Poll = function Poll(_ref) {
|
|
|
7805
7819
|
);
|
|
7806
7820
|
};
|
|
7807
7821
|
|
|
7808
|
-
var numberOfPaginations =
|
|
7822
|
+
var numberOfPaginations = main_39 ? 4 : 10;
|
|
7809
7823
|
|
|
7810
7824
|
var Quiz = function Quiz(_ref) {
|
|
7811
7825
|
var quizzes = _ref.quizzes,
|
|
@@ -7925,7 +7939,7 @@ var Quiz = function Quiz(_ref) {
|
|
|
7925
7939
|
var renderPagination = function renderPagination() {
|
|
7926
7940
|
return React.createElement(
|
|
7927
7941
|
Pagination,
|
|
7928
|
-
{ className: 'p-0 m-0', size:
|
|
7942
|
+
{ className: 'p-0 m-0', size: main_39 && 'sm' },
|
|
7929
7943
|
React.createElement(Pagination.First, { onClick: function onClick() {
|
|
7930
7944
|
return changePage('first');
|
|
7931
7945
|
}, disabled: currentPage === 1 }),
|
|
@@ -8095,7 +8109,7 @@ var Leads = function Leads(_ref) {
|
|
|
8095
8109
|
);
|
|
8096
8110
|
};
|
|
8097
8111
|
|
|
8098
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8112
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8099
8113
|
var slides = _ref.node.slides,
|
|
8100
8114
|
client = _ref.client,
|
|
8101
8115
|
pageview = _ref.pageview,
|
|
@@ -8107,8 +8121,8 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8107
8121
|
|
|
8108
8122
|
var _useState = useState(!pageNumber || isNaN(pageNumber) || pageNumber > slides.length ? 0 : pageNumber - 1),
|
|
8109
8123
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8110
|
-
carouselIndex = _useState2[0]
|
|
8111
|
-
_useState2[1];
|
|
8124
|
+
carouselIndex = _useState2[0],
|
|
8125
|
+
setCarouselIndex = _useState2[1];
|
|
8112
8126
|
|
|
8113
8127
|
// useEffect(() => {
|
|
8114
8128
|
// let itemArr = router.asPath.split('?page=')
|
|
@@ -8151,7 +8165,14 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8151
8165
|
React.createElement(
|
|
8152
8166
|
LazyLoad,
|
|
8153
8167
|
null,
|
|
8154
|
-
React.createElement(
|
|
8168
|
+
React.createElement(
|
|
8169
|
+
'picture',
|
|
8170
|
+
null,
|
|
8171
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8172
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8173
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8174
|
+
React.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
|
|
8175
|
+
)
|
|
8155
8176
|
)
|
|
8156
8177
|
),
|
|
8157
8178
|
React.createElement(
|
|
@@ -8246,7 +8267,14 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8246
8267
|
imageBox && React.createElement(
|
|
8247
8268
|
LazyLoad,
|
|
8248
8269
|
{ once: true },
|
|
8249
|
-
React.createElement(
|
|
8270
|
+
React.createElement(
|
|
8271
|
+
'picture',
|
|
8272
|
+
null,
|
|
8273
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8274
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8275
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8276
|
+
React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8277
|
+
)
|
|
8250
8278
|
),
|
|
8251
8279
|
media.caption && React.createElement(
|
|
8252
8280
|
'span',
|
|
@@ -8612,7 +8640,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8612
8640
|
//console.log('useLayoutEffect')
|
|
8613
8641
|
if (!firstLoad) {
|
|
8614
8642
|
setUpArrowClicked(false);
|
|
8615
|
-
if (
|
|
8643
|
+
if (main_40) {
|
|
8616
8644
|
grabLoadedAds();
|
|
8617
8645
|
} else {
|
|
8618
8646
|
scrollToArticle();
|
|
@@ -8636,7 +8664,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8636
8664
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
8637
8665
|
if (pageview) pageview(path);
|
|
8638
8666
|
|
|
8639
|
-
if (!
|
|
8667
|
+
if (!main_40) {
|
|
8640
8668
|
lib_3.getGoogletag().then(function (googletag) {
|
|
8641
8669
|
if (window.googletag && googletag.pubadsReady) {
|
|
8642
8670
|
lib_3.refresh();
|
|
@@ -8644,7 +8672,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8644
8672
|
});
|
|
8645
8673
|
}
|
|
8646
8674
|
//Refresh leaderboard ad on mobile
|
|
8647
|
-
if (
|
|
8675
|
+
if (main_40) {
|
|
8648
8676
|
var leaderboardSlotId = '';
|
|
8649
8677
|
lib_3.getGoogletag().then(function (googletag) {
|
|
8650
8678
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -8713,7 +8741,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8713
8741
|
React.createElement(
|
|
8714
8742
|
'div',
|
|
8715
8743
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8716
|
-
|
|
8744
|
+
main_40 && Ads.map(function (ad, index) {
|
|
8717
8745
|
if (index === 0) {
|
|
8718
8746
|
return React.createElement(
|
|
8719
8747
|
'div',
|
|
@@ -8835,7 +8863,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8835
8863
|
React.createElement(
|
|
8836
8864
|
'div',
|
|
8837
8865
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8838
|
-
|
|
8866
|
+
main_40 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
8839
8867
|
if (innerIndex === 0) {
|
|
8840
8868
|
return React.createElement(
|
|
8841
8869
|
'div',
|
|
@@ -9084,6 +9112,33 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9084
9112
|
}, [ref]);
|
|
9085
9113
|
}
|
|
9086
9114
|
|
|
9115
|
+
var FigureImage$1 = React.memo(function (_ref) {
|
|
9116
|
+
var imagesCount = _ref.imagesCount,
|
|
9117
|
+
image = _ref.image,
|
|
9118
|
+
client = _ref.client,
|
|
9119
|
+
imgAlt = _ref.imgAlt,
|
|
9120
|
+
link = _ref.link,
|
|
9121
|
+
handleClickFigure = _ref.handleClickFigure;
|
|
9122
|
+
|
|
9123
|
+
return React.createElement(
|
|
9124
|
+
'picture',
|
|
9125
|
+
null,
|
|
9126
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9127
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9128
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9129
|
+
React.createElement('img', _extends({
|
|
9130
|
+
'images-count': imagesCount,
|
|
9131
|
+
className: 'multi-figure-image',
|
|
9132
|
+
src: urlFor({ source: image, client: client }),
|
|
9133
|
+
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9134
|
+
}, !link && {
|
|
9135
|
+
onClick: function onClick() {
|
|
9136
|
+
return handleClickFigure(image, client);
|
|
9137
|
+
}
|
|
9138
|
+
}))
|
|
9139
|
+
);
|
|
9140
|
+
});
|
|
9141
|
+
|
|
9087
9142
|
var MultiFigure = function MultiFigure(props) {
|
|
9088
9143
|
var images = props.node.images,
|
|
9089
9144
|
client = props.client,
|
|
@@ -9103,9 +9158,9 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9103
9158
|
var lightboxContainer = useRef(null);
|
|
9104
9159
|
useOutsideAlerter(lightboxImage, lightboxContainer, setOpenImg, setOpenImgSrc);
|
|
9105
9160
|
|
|
9106
|
-
var FigureCaption = function FigureCaption(
|
|
9107
|
-
var caption =
|
|
9108
|
-
imgcaption =
|
|
9161
|
+
var FigureCaption = function FigureCaption(_ref2) {
|
|
9162
|
+
var caption = _ref2.caption,
|
|
9163
|
+
imgcaption = _ref2.imgcaption;
|
|
9109
9164
|
|
|
9110
9165
|
if (imgcaption && imgcaption.length > 0) {
|
|
9111
9166
|
return React.createElement(
|
|
@@ -9118,6 +9173,11 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9118
9173
|
} else return null;
|
|
9119
9174
|
};
|
|
9120
9175
|
|
|
9176
|
+
var handleClickFigure = useCallback(function (image, client) {
|
|
9177
|
+
setOpenImgSrc(urlFor({ source: image, client: client }));
|
|
9178
|
+
setOpenImg(true);
|
|
9179
|
+
}, [client]);
|
|
9180
|
+
|
|
9121
9181
|
if (images && images.length > 0) {
|
|
9122
9182
|
return React.createElement(
|
|
9123
9183
|
'div',
|
|
@@ -9138,7 +9198,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9138
9198
|
React.createElement(
|
|
9139
9199
|
LazyLoad,
|
|
9140
9200
|
{ once: true },
|
|
9141
|
-
React.createElement(
|
|
9201
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9142
9202
|
),
|
|
9143
9203
|
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9144
9204
|
)
|
|
@@ -9148,16 +9208,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9148
9208
|
React.createElement(
|
|
9149
9209
|
LazyLoad,
|
|
9150
9210
|
{ once: true },
|
|
9151
|
-
React.createElement(
|
|
9152
|
-
'images-count': images.length,
|
|
9153
|
-
className: 'multi-figure-image',
|
|
9154
|
-
src: urlFor({ source: image.asset, client: client }),
|
|
9155
|
-
alt: image.alt,
|
|
9156
|
-
onClick: function onClick() {
|
|
9157
|
-
setOpenImgSrc(urlFor({ source: image, client: client }));
|
|
9158
|
-
setOpenImg(true);
|
|
9159
|
-
}
|
|
9160
|
-
})
|
|
9211
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9161
9212
|
),
|
|
9162
9213
|
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9163
9214
|
)
|
|
@@ -9172,7 +9223,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9172
9223
|
React.createElement(
|
|
9173
9224
|
'style',
|
|
9174
9225
|
{ jsx: 'true' },
|
|
9175
|
-
'\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 }\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 '
|
|
9226
|
+
'\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 '
|
|
9176
9227
|
)
|
|
9177
9228
|
);
|
|
9178
9229
|
}
|
|
@@ -9392,9 +9443,9 @@ var ScriptTag = function (_Component) {
|
|
|
9392
9443
|
|
|
9393
9444
|
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
9394
9445
|
// eslint-disable-next-line no-unused-vars
|
|
9395
|
-
var _props3 = this.props
|
|
9396
|
-
_props3.isHydrating
|
|
9397
|
-
|
|
9446
|
+
var _props3 = this.props,
|
|
9447
|
+
isHydrating = _props3.isHydrating,
|
|
9448
|
+
tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
9398
9449
|
|
|
9399
9450
|
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
9400
9451
|
return _this2.domRef = tag;
|
|
@@ -9467,7 +9518,7 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
9467
9518
|
useEffect(function () {
|
|
9468
9519
|
if (FormID) {
|
|
9469
9520
|
var src = 'https://' + enterpriseDomainName + '.tfaforms.net/' + FormID;
|
|
9470
|
-
var anonymousID = analytics.user() && analytics.user().anonymousId();
|
|
9521
|
+
var anonymousID = typeof analytics !== 'undefined' && analytics.user() && analytics.user().anonymousId();
|
|
9471
9522
|
if (anonymousID && needSegmentSupport) {
|
|
9472
9523
|
src = src + '?tfa_1=' + anonymousID;
|
|
9473
9524
|
}
|
|
@@ -9664,7 +9715,7 @@ var getSerializers = function getSerializers() {
|
|
|
9664
9715
|
var node = _ref6.node;
|
|
9665
9716
|
var slides = node.slides;
|
|
9666
9717
|
|
|
9667
|
-
return React.createElement(Slideshow
|
|
9718
|
+
return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
9668
9719
|
},
|
|
9669
9720
|
sidebar: function sidebar(_ref7) {
|
|
9670
9721
|
var node = _ref7.node;
|
|
@@ -9702,12 +9753,12 @@ var getSerializers = function getSerializers() {
|
|
|
9702
9753
|
poll: function poll(_ref13) {
|
|
9703
9754
|
var node = _ref13.node;
|
|
9704
9755
|
|
|
9705
|
-
return React.createElement(Poll
|
|
9756
|
+
return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
|
|
9706
9757
|
},
|
|
9707
9758
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
9708
9759
|
var node = _ref14.node;
|
|
9709
9760
|
|
|
9710
|
-
return React.createElement(Poll, {
|
|
9761
|
+
return React.createElement(Poll$1, {
|
|
9711
9762
|
node: node,
|
|
9712
9763
|
client: client,
|
|
9713
9764
|
pageview: pageview,
|
|
@@ -9733,7 +9784,7 @@ var getSerializers = function getSerializers() {
|
|
|
9733
9784
|
slideshows: function slideshows(_ref17) {
|
|
9734
9785
|
var node = _ref17.node;
|
|
9735
9786
|
|
|
9736
|
-
return React.createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
|
|
9787
|
+
return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
|
|
9737
9788
|
},
|
|
9738
9789
|
nativeAd: function nativeAd(_ref18) {
|
|
9739
9790
|
var node = _ref18.node;
|