@mjhls/mjh-framework 1.0.859-segment-targeting-v3 → 1.0.860-beta.0
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 +9 -10
- package/dist/cjs/AD300x250.js +16 -19
- package/dist/cjs/AD300x250x600.js +16 -19
- package/dist/cjs/AD728x90.js +17 -20
- package/dist/cjs/ADFloatingFooter.js +18 -21
- package/dist/cjs/ADFooter.js +11 -14
- package/dist/cjs/ADGutter.js +18 -21
- package/dist/cjs/{ADInfeed-7cd00f5d.js → ADInfeed-7c09edba.js} +10 -12
- package/dist/cjs/ADSkyscraper.js +18 -21
- package/dist/cjs/ADSponsoredResources.js +18 -21
- package/dist/cjs/ADWebcast.js +18 -21
- package/dist/cjs/ADWelcome.js +22 -25
- package/dist/cjs/{ADlgInfeed-0c68c2d8.js → ADlgInfeed-2e7effc7.js} +7 -8
- package/dist/cjs/AccordionPanel.js +25 -29
- package/dist/cjs/AdSlot.js +20 -23
- package/dist/cjs/AdSlotsProvider.js +907 -18
- package/dist/cjs/AlgoliaSearch.js +849 -959
- package/dist/cjs/AlphabeticList.js +21 -24
- package/dist/cjs/ArticleCarousel.js +15 -18
- package/dist/cjs/ArticleProgramLandingPage.js +34 -37
- package/dist/cjs/ArticleSeriesLandingPage.js +30 -33
- package/dist/cjs/ArticleSeriesListing.js +46 -49
- package/dist/cjs/Auth.js +1203 -245
- package/dist/cjs/AuthWrapper.js +41 -124
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-02e827ae.js} +13 -14
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +24 -28
- package/dist/cjs/CMEDeck.js +71 -73
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +25 -30
- package/dist/cjs/Column3.js +41 -46
- package/dist/cjs/ConferenceArticleCard.js +20 -18
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +83 -89
- package/dist/cjs/DeckQueue.js +77 -82
- package/dist/cjs/{Dfp-391fd124.js → Dfp-14d2455c.js} +25 -28
- package/dist/cjs/EventsDeck.js +127 -136
- package/dist/cjs/ExternalResources.js +58 -61
- package/dist/cjs/Feature.js +26 -25
- package/dist/cjs/ForbesHero.js +37 -40
- package/dist/cjs/GridContent.js +214 -221
- package/dist/cjs/GridHero.js +38 -41
- package/dist/cjs/GroupDeck.js +52 -55
- package/dist/cjs/HamMagazine.js +121 -128
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +12 -10
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalArticleListing.js +48 -51
- package/dist/cjs/HorizontalHero.js +26 -24
- package/dist/cjs/IssueContentDeck.js +68 -75
- package/dist/cjs/IssueDeck.js +66 -73
- package/dist/cjs/IssueLanding.js +40 -43
- package/dist/cjs/LeftNav.js +27 -31
- package/dist/cjs/MasterDeck.js +60 -63
- package/dist/cjs/MediaSeriesLanding.js +792 -741
- package/dist/cjs/NavDvm.js +68 -75
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +121 -128
- package/dist/cjs/NavNative.js +113 -123
- package/dist/cjs/OncliveHero.js +20 -17
- package/dist/cjs/OncliveLargeHero.js +66 -69
- package/dist/cjs/PageFilter.js +11 -14
- package/dist/cjs/PartnerDetailListing.js +1179 -84
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +16 -20
- package/dist/cjs/PubSection.js +27 -30
- package/dist/cjs/PubToc.js +12 -15
- package/dist/cjs/PublicationDeck.js +62 -64
- package/dist/cjs/PublicationLanding.js +118 -124
- package/dist/cjs/QueueDeckExpanded.js +293 -295
- package/dist/cjs/RecentNews.js +19 -20
- package/dist/cjs/RelatedContent.js +25 -23
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +15 -21
- package/dist/cjs/Segment.js +25 -15
- package/dist/cjs/SeriesListingDeck.js +31 -33
- package/dist/cjs/{SeriesSlider-0d3bf265.js → SeriesSlider-94af9fcb.js} +34 -35
- package/dist/cjs/SideFooter.js +28 -31
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-650f6101.js} +35 -39
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +58 -61
- package/dist/cjs/TaxonomyDescription.js +33 -36
- package/dist/cjs/TemplateNormal.js +43 -46
- package/dist/cjs/ThumbnailCard.js +20 -19
- package/dist/cjs/Ustream.js +26 -29
- package/dist/cjs/VerticalHero.js +18 -16
- package/dist/cjs/VideoProgramLandingPage.js +51 -57
- package/dist/cjs/VideoSeriesCard.js +26 -27
- package/dist/cjs/VideoSeriesFilter.js +14 -16
- package/dist/cjs/VideoSeriesLandingPage.js +35 -38
- package/dist/cjs/VideoSeriesListing.js +63 -66
- package/dist/cjs/View.js +216 -228
- package/dist/cjs/YahooHero.js +33 -36
- package/dist/cjs/YoutubeGroup.js +54 -57
- package/dist/cjs/{_is-array-754e012d.js → _is-array-aa52fa1e.js} +9 -9
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-05795553.js} +6 -7
- package/dist/cjs/_object-sap-171b9ea5.js +16 -0
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-9bac8737.js} +4 -4
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-df19209d.js} +65 -67
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/{_to-object-329a650b.js → core.get-iterator-method-f3c44602.js} +239 -3
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-21887c62.js} +3 -3
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{extends-0a918631.js → extends-eed4f016.js} +8 -8
- package/dist/cjs/faundadb.js +5 -7
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +135 -73
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +23 -25
- package/dist/cjs/{getTargeting-a9a871f0.js → getTargeting-8874437b.js} +3 -3
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-6367b7bf.js → index-3294d3bc.js} +17 -16
- package/dist/cjs/{index-9d365128.js → index-96b3db50.js} +10 -12
- package/dist/cjs/{index-2cf30c83.js → index-98e01cb9.js} +8 -9
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index-efd6512d.js → index-cdcc0b5e.js} +963 -968
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-e32d3e8e.js} +6 -3
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +72 -79
- package/dist/cjs/{inherits-0c7830c5.js → inherits-12d44cca.js} +13 -14
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{keys-a586b7a0.js → keys-d207942e.js} +4 -4
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-7b5e57b0.js → main-02daeefe.js} +54 -90
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-f7f48f71.js} +11 -12
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-f6d4eaa8.js} +7 -9
- package/dist/cjs/{stringify-7c5aff47.js → stringify-bbc68047.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-c9b8a0d0.js} +8 -10
- package/dist/cjs/{typeof-9d7f610f.js → typeof-5f52cf64.js} +73 -74
- package/dist/cjs/urlFor.js +21 -4
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-e34bf324.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -16
- package/dist/esm/AD300x250x600.js +14 -16
- package/dist/esm/AD728x90.js +15 -17
- package/dist/esm/ADFloatingFooter.js +16 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +16 -18
- package/dist/esm/{ADInfeed-77da0e2a.js → ADInfeed-bfd129d9.js} +8 -8
- package/dist/esm/ADSkyscraper.js +16 -18
- package/dist/esm/ADSponsoredResources.js +16 -18
- package/dist/esm/ADWebcast.js +16 -18
- package/dist/esm/ADWelcome.js +20 -22
- package/dist/esm/{ADlgInfeed-d3e3000f.js → ADlgInfeed-0489335b.js} +5 -5
- package/dist/esm/AccordionPanel.js +20 -22
- package/dist/esm/AdSlot.js +12 -14
- package/dist/esm/AdSlotsProvider.js +906 -16
- package/dist/esm/AlgoliaSearch.js +245 -354
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +13 -15
- package/dist/esm/ArticleProgramLandingPage.js +32 -34
- package/dist/esm/ArticleSeriesLandingPage.js +28 -30
- package/dist/esm/ArticleSeriesListing.js +43 -45
- package/dist/esm/Auth.js +1187 -225
- package/dist/esm/AuthWrapper.js +39 -121
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-e6f95c2f.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +68 -70
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +23 -25
- package/dist/esm/Column3.js +39 -41
- package/dist/esm/ConferenceArticleCard.js +18 -15
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +79 -81
- package/dist/esm/DeckQueue.js +73 -74
- package/dist/esm/{Dfp-2f9796e1.js → Dfp-f867d061.js} +13 -15
- package/dist/esm/EventsDeck.js +102 -104
- package/dist/esm/ExternalResources.js +53 -55
- package/dist/esm/Feature.js +20 -17
- package/dist/esm/ForbesHero.js +31 -33
- package/dist/esm/GridContent.js +183 -185
- package/dist/esm/GridHero.js +32 -34
- package/dist/esm/GroupDeck.js +40 -42
- package/dist/esm/HamMagazine.js +96 -98
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -48
- package/dist/esm/HorizontalHero.js +24 -21
- package/dist/esm/IssueContentDeck.js +56 -58
- package/dist/esm/IssueDeck.js +60 -62
- package/dist/esm/IssueLanding.js +38 -40
- package/dist/esm/LeftNav.js +23 -25
- package/dist/esm/MasterDeck.js +57 -59
- package/dist/esm/MediaSeriesLanding.js +518 -464
- package/dist/esm/NavDvm.js +51 -53
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +98 -100
- package/dist/esm/NavNative.js +88 -90
- package/dist/esm/OncliveHero.js +18 -14
- package/dist/esm/OncliveLargeHero.js +55 -57
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +1178 -83
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +25 -27
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +54 -51
- package/dist/esm/PublicationLanding.js +77 -79
- package/dist/esm/QueueDeckExpanded.js +259 -261
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +20 -17
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +10 -12
- package/dist/esm/Segment.js +25 -15
- package/dist/esm/SeriesListingDeck.js +26 -28
- package/dist/esm/{SeriesSlider-7d89f4d9.js → SeriesSlider-0371fc11.js} +25 -25
- package/dist/esm/SideFooter.js +25 -27
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-d7dec0c2.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -52
- package/dist/esm/TaxonomyDescription.js +28 -30
- package/dist/esm/TemplateNormal.js +40 -42
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +16 -13
- package/dist/esm/VideoProgramLandingPage.js +44 -46
- package/dist/esm/VideoSeriesCard.js +21 -21
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +28 -30
- package/dist/esm/VideoSeriesListing.js +60 -62
- package/dist/esm/View.js +199 -207
- package/dist/esm/YahooHero.js +28 -30
- package/dist/esm/YoutubeGroup.js +39 -41
- package/dist/esm/{_is-array-58e95429.js → _is-array-4df618a6.js} +1 -1
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-130ee549.js} +1 -2
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-c54dd835.js} +1 -1
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7bf8bc4d.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{_to-object-a4107da3.js → core.get-iterator-method-86d4db69.js} +230 -1
- package/dist/esm/{define-property-8af5f002.js → define-property-6d26cb48.js} +1 -1
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{extends-6f2fcc99.js → extends-5b1796d4.js} +1 -1
- package/dist/esm/faundadb.js +5 -7
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +130 -68
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -25
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-277c801e.js} +2 -2
- package/dist/esm/getTargeting.js +5 -7
- package/dist/esm/{index-f7fb1e25.js → index-41a678ea.js} +3 -3
- package/dist/esm/{index-6c12bdd5.js → index-5f7e79e7.js} +4 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-c00b0bbb.js → index-ef6d5dcf.js} +17 -16
- package/dist/esm/{index-23415831.js → index-fe008ffe.js} +914 -909
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-c6715e80.js → index.esm-f8aaeeeb.js} +6 -3
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +64 -68
- package/dist/esm/{inherits-75d45541.js → inherits-2409637d.js} +4 -5
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{keys-8eda7a5c.js → keys-69989821.js} +2 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-747e7d25.js → main-e4a934b2.js} +52 -87
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-67a08c9c.js} +2 -4
- package/dist/esm/{stringify-4330ccdc.js → stringify-70b72959.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-32282905.js} +2 -4
- package/dist/esm/{typeof-af9c50d8.js → typeof-c05a82ba.js} +4 -5
- package/dist/esm/urlFor.js +19 -2
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-f8f967cd.js} +1 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/_object-sap-5e74ba08.js +0 -16
- package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
- package/dist/cjs/es6.string.iterator-cc0bbaa4.js +0 -210
- package/dist/esm/core.get-iterator-method-e1de7503.js +0 -36
- package/dist/esm/es6.string.iterator-c990c18c.js +0 -201
|
@@ -1,51 +1,49 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
4
3
|
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-
|
|
6
|
-
import './toConsumableArray-
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import './toConsumableArray-32282905.js';
|
|
8
6
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
10
|
-
import './_object-sap-
|
|
11
|
-
import './inherits-
|
|
12
|
-
import './define-property-
|
|
13
|
-
import './web.dom.iterable-
|
|
14
|
-
import './typeof-
|
|
15
|
-
import './_is-array-
|
|
16
|
-
import
|
|
7
|
+
import { _ as _extends } from './extends-5b1796d4.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import './inherits-2409637d.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import './typeof-c05a82ba.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React__default, { Component, useRef, useState, useEffect } from 'react';
|
|
17
15
|
import './events-6c3a7a63.js';
|
|
18
|
-
import './index-
|
|
19
|
-
import 'prop-types';
|
|
16
|
+
import './index-41a678ea.js';
|
|
17
|
+
import PropTypes from 'prop-types';
|
|
20
18
|
import 'react-bootstrap/Row';
|
|
21
19
|
import 'react-bootstrap/Col';
|
|
22
20
|
import 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
21
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
22
|
import 'next/router';
|
|
25
23
|
import './isSymbol-1981418f.js';
|
|
26
24
|
import './debounce-9207d8ee.js';
|
|
27
25
|
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import './index.es-
|
|
26
|
+
import './index.es-29c1cef5.js';
|
|
29
27
|
import 'react-dom';
|
|
30
|
-
import './visibility-sensor-
|
|
31
|
-
import './
|
|
28
|
+
import './visibility-sensor-72fd8f8b.js';
|
|
29
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
30
|
+
import './index-73819142.js';
|
|
32
31
|
import urlFor from './urlFor.js';
|
|
33
|
-
import './index-
|
|
34
|
-
import './main-
|
|
32
|
+
import './index-5f7e79e7.js';
|
|
33
|
+
import './main-e4a934b2.js';
|
|
35
34
|
import './entities-7cc3bf45.js';
|
|
36
|
-
import
|
|
37
|
-
import './
|
|
38
|
-
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-fc1c2e29.js';
|
|
35
|
+
import './stringify-70b72959.js';
|
|
36
|
+
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7bf8bc4d.js';
|
|
39
37
|
import './Segment.js';
|
|
40
38
|
import './Beam.js';
|
|
41
39
|
import './AdSlot.js';
|
|
42
|
-
import './ADInfeed-
|
|
43
|
-
import './lodash-
|
|
44
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADInfeed-bfd129d9.js';
|
|
41
|
+
import './lodash-17fdfebb.js';
|
|
42
|
+
import './ADlgInfeed-0489335b.js';
|
|
45
43
|
import './getContentCategory-15dcc413.js';
|
|
46
|
-
import './AuthorComponent-
|
|
44
|
+
import './AuthorComponent-e6f95c2f.js';
|
|
47
45
|
import 'react-bootstrap/Button';
|
|
48
|
-
import { B as BlockContent } from './BlockContent-
|
|
46
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
49
47
|
import './index-c7e2ac95.js';
|
|
50
48
|
import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
|
|
51
49
|
import './GroupDeck.js';
|
|
@@ -53,24 +51,1121 @@ import 'react-bootstrap';
|
|
|
53
51
|
import './timeDifferenceCalc.js';
|
|
54
52
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
55
53
|
import './iconBase-602d52fe.js';
|
|
56
|
-
import './index.esm-
|
|
57
|
-
import { g as getSerializers } from './index-
|
|
54
|
+
import './index.esm-29e48d38.js';
|
|
55
|
+
import { g as getSerializers } from './index-fe008ffe.js';
|
|
58
56
|
import './util-7700fc59.js';
|
|
59
|
-
import './brightcove-react-player-loader.es-
|
|
57
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
60
58
|
import 'next/head';
|
|
61
59
|
import 'react-share';
|
|
62
60
|
import './SocialShare.js';
|
|
63
|
-
import './_object-to-array-
|
|
61
|
+
import './_object-to-array-c54dd835.js';
|
|
64
62
|
import 'react-bootstrap/Pagination';
|
|
65
63
|
import 'react-bootstrap/Figure';
|
|
66
64
|
import 'react-bootstrap/OverlayTrigger';
|
|
67
65
|
import 'react-bootstrap/Tooltip';
|
|
68
66
|
import 'react-bootstrap/Popover';
|
|
67
|
+
import { _ as _defineProperty, b as _inherits, c as _classCallCheck, d as _possibleConstructorReturn, e as _getPrototypeOf, g as _createClass } from './inherits-77d5e4fc.js';
|
|
69
68
|
import 'react-bootstrap/Carousel';
|
|
70
69
|
import Feature from './Feature.js';
|
|
71
70
|
import 'react-bootstrap/Breadcrumb';
|
|
72
71
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
73
|
-
|
|
72
|
+
|
|
73
|
+
var isRequiredIf_1 = createCommonjsModule(function (module, exports) {
|
|
74
|
+
Object.defineProperty(exports,'__esModule',{value:!0});var VALIDATOR_ARG_ERROR_MESSAGE='The typeValidator argument must be a function with the signature function(props, propName, componentName).',MESSAGE_ARG_ERROR_MESSAGE='The error message is optional, but must be a string if provided.',propIsRequired=function propIsRequired(a,b,c,d){if('boolean'==typeof a)return a;return 'function'==typeof a?a(b,c,d):!(!0!==!!a)&&!!a},propExists=function propExists(a,b){return Object.hasOwnProperty.call(a,b)},missingPropError=function missingPropError(a,b,c,d){return d?new Error(d):new Error('Required '+a[b]+' `'+b+'`'+(' was not specified in `'+c+'`.'))},guardAgainstInvalidArgTypes=function guardAgainstInvalidArgTypes(a,b){if('function'!=typeof a)throw new TypeError(VALIDATOR_ARG_ERROR_MESSAGE);if(!!b&&'string'!=typeof b)throw new TypeError(MESSAGE_ARG_ERROR_MESSAGE)},isRequiredIf=function isRequiredIf(a,b,c){return guardAgainstInvalidArgTypes(a,c),function(d,e,f){for(var _len=arguments.length,g=Array(3<_len?_len-3:0),_key=3;_key<_len;_key++)g[_key-3]=arguments[_key];return propIsRequired(b,d,e,f)?propExists(d,e)?a.apply(void 0,[d,e,f].concat(g)):missingPropError(d,e,f,c):a.apply(void 0,[d,e,f].concat(g));// Is not required, so just run typeValidator.
|
|
75
|
+
}};exports.default=isRequiredIf;
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
var isRequiredIf = unwrapExports(isRequiredIf_1);
|
|
81
|
+
|
|
82
|
+
var exenv = createCommonjsModule(function (module) {
|
|
83
|
+
/*!
|
|
84
|
+
Copyright (c) 2015 Jed Watson.
|
|
85
|
+
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
86
|
+
All rights reserved.
|
|
87
|
+
*/
|
|
88
|
+
/* global define */
|
|
89
|
+
|
|
90
|
+
(function () {
|
|
91
|
+
|
|
92
|
+
var canUseDOM = !!(
|
|
93
|
+
typeof window !== 'undefined' &&
|
|
94
|
+
window.document &&
|
|
95
|
+
window.document.createElement
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
var ExecutionEnvironment = {
|
|
99
|
+
|
|
100
|
+
canUseDOM: canUseDOM,
|
|
101
|
+
|
|
102
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
|
103
|
+
|
|
104
|
+
canUseEventListeners:
|
|
105
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
|
106
|
+
|
|
107
|
+
canUseViewport: canUseDOM && !!window.screen
|
|
108
|
+
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
if ( module.exports) {
|
|
112
|
+
module.exports = ExecutionEnvironment;
|
|
113
|
+
} else {
|
|
114
|
+
window.ExecutionEnvironment = ExecutionEnvironment;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
}());
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
|
|
121
|
+
|
|
122
|
+
var TwitterTimelineEmbed =
|
|
123
|
+
/*#__PURE__*/
|
|
124
|
+
function (_Component) {
|
|
125
|
+
_inherits(TwitterTimelineEmbed, _Component);
|
|
126
|
+
|
|
127
|
+
function TwitterTimelineEmbed(props) {
|
|
128
|
+
var _this;
|
|
129
|
+
|
|
130
|
+
_classCallCheck(this, TwitterTimelineEmbed);
|
|
131
|
+
|
|
132
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
|
|
133
|
+
_this.state = {
|
|
134
|
+
isLoading: true
|
|
135
|
+
};
|
|
136
|
+
return _this;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
_createClass(TwitterTimelineEmbed, [{
|
|
140
|
+
key: "buildChromeOptions",
|
|
141
|
+
value: function buildChromeOptions(options) {
|
|
142
|
+
options.chrome = '';
|
|
143
|
+
|
|
144
|
+
if (this.props.noHeader) {
|
|
145
|
+
options.chrome = options.chrome + ' noheader';
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (this.props.noFooter) {
|
|
149
|
+
options.chrome = options.chrome + ' nofooter';
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (this.props.noBorders) {
|
|
153
|
+
options.chrome = options.chrome + ' noborders';
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if (this.props.noScrollbar) {
|
|
157
|
+
options.chrome = options.chrome + ' noscrollbar';
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
if (this.props.transparent) {
|
|
161
|
+
options.chrome = options.chrome + ' transparent';
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
return options;
|
|
165
|
+
}
|
|
166
|
+
}, {
|
|
167
|
+
key: "buildOptions",
|
|
168
|
+
value: function buildOptions() {
|
|
169
|
+
var options = Object.assign({}, this.props.options);
|
|
170
|
+
|
|
171
|
+
if (this.props.autoHeight) {
|
|
172
|
+
options.height = this.refs.embedContainer.parentNode.offsetHeight;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
options = Object.assign({}, options, {
|
|
176
|
+
theme: this.props.theme,
|
|
177
|
+
linkColor: this.props.linkColor,
|
|
178
|
+
borderColor: this.props.borderColor,
|
|
179
|
+
lang: this.props.lang
|
|
180
|
+
});
|
|
181
|
+
return options;
|
|
182
|
+
}
|
|
183
|
+
}, {
|
|
184
|
+
key: "renderWidget",
|
|
185
|
+
value: function renderWidget(options) {
|
|
186
|
+
var _this2 = this;
|
|
187
|
+
|
|
188
|
+
var onLoad = this.props.onLoad;
|
|
189
|
+
|
|
190
|
+
if (!this.isMountCanceled) {
|
|
191
|
+
window.twttr.widgets.createTimeline({
|
|
192
|
+
sourceType: this.props.sourceType,
|
|
193
|
+
screenName: this.props.screenName,
|
|
194
|
+
userId: this.props.userId,
|
|
195
|
+
ownerScreenName: this.props.ownerScreenName,
|
|
196
|
+
slug: this.props.slug,
|
|
197
|
+
id: this.props.id || this.props.widgetId,
|
|
198
|
+
url: this.props.url
|
|
199
|
+
}, this.refs.embedContainer, options).then(function (element) {
|
|
200
|
+
_this2.setState({
|
|
201
|
+
isLoading: false
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
if (onLoad) {
|
|
205
|
+
onLoad(element);
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}, {
|
|
211
|
+
key: "componentDidMount",
|
|
212
|
+
value: function componentDidMount() {
|
|
213
|
+
var _this3 = this;
|
|
214
|
+
|
|
215
|
+
if (exenv.canUseDOM) {
|
|
216
|
+
var script = require('scriptjs');
|
|
217
|
+
|
|
218
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
219
|
+
if (!window.twttr) {
|
|
220
|
+
console.error('Failure to load window.twttr in TwitterTimelineEmbed, aborting load.');
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
var options = _this3.buildOptions();
|
|
225
|
+
/** Append chrome options */
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
options = _this3.buildChromeOptions(options);
|
|
229
|
+
|
|
230
|
+
_this3.renderWidget(options);
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}, {
|
|
235
|
+
key: "componentWillUnmount",
|
|
236
|
+
value: function componentWillUnmount() {
|
|
237
|
+
this.isMountCanceled = true;
|
|
238
|
+
}
|
|
239
|
+
}, {
|
|
240
|
+
key: "render",
|
|
241
|
+
value: function render() {
|
|
242
|
+
var isLoading = this.state.isLoading;
|
|
243
|
+
var placeholder = this.props.placeholder;
|
|
244
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
245
|
+
ref: "embedContainer"
|
|
246
|
+
}));
|
|
247
|
+
}
|
|
248
|
+
}]);
|
|
249
|
+
|
|
250
|
+
return TwitterTimelineEmbed;
|
|
251
|
+
}(Component);
|
|
252
|
+
|
|
253
|
+
_defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
254
|
+
/**
|
|
255
|
+
* This can be either of profile, likes, list, collection, URL, widget
|
|
256
|
+
*/
|
|
257
|
+
sourceType: PropTypes.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* username of twitter handle as String
|
|
261
|
+
*/
|
|
262
|
+
screenName: isRequiredIf(PropTypes.string, function (props) {
|
|
263
|
+
return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
264
|
+
}),
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* UserId of twitter handle as number
|
|
268
|
+
*/
|
|
269
|
+
userId: isRequiredIf(PropTypes.number, function (props) {
|
|
270
|
+
return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
271
|
+
}),
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* To show list, used along with slug
|
|
275
|
+
*/
|
|
276
|
+
ownerScreenName: isRequiredIf(PropTypes.string, function (props) {
|
|
277
|
+
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
278
|
+
}),
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* To show list, used along with ownerScreenName
|
|
282
|
+
*/
|
|
283
|
+
slug: isRequiredIf(PropTypes.string, function (props) {
|
|
284
|
+
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
285
|
+
}),
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* To show list, unique list id
|
|
289
|
+
* Also used with collections, in that case its valid collection id
|
|
290
|
+
*/
|
|
291
|
+
id: isRequiredIf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]), function (props) {
|
|
292
|
+
return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
|
|
293
|
+
}),
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* To show twitter content with url.
|
|
297
|
+
* Supported content includes profiles, likes, lists, and collections.
|
|
298
|
+
*/
|
|
299
|
+
url: isRequiredIf(PropTypes.string, function (props) {
|
|
300
|
+
return props.sourceType === 'url';
|
|
301
|
+
}),
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* To show custom widget
|
|
305
|
+
*/
|
|
306
|
+
widgetId: isRequiredIf(PropTypes.string, function (props) {
|
|
307
|
+
return props.sourceType === 'widget';
|
|
308
|
+
}),
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Additional options to pass to twitter widget plugin
|
|
312
|
+
*/
|
|
313
|
+
options: PropTypes.object,
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Automatically fit into parent container height
|
|
317
|
+
*/
|
|
318
|
+
autoHeight: PropTypes.bool,
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* With dark or light theme
|
|
322
|
+
*/
|
|
323
|
+
theme: PropTypes.oneOf(['dark', 'light']),
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* With custom link colors. Note: Only Hex colors are supported.
|
|
327
|
+
*/
|
|
328
|
+
linkColor: PropTypes.string,
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* With custom border colors. Note: Only Hex colors are supported.
|
|
332
|
+
*/
|
|
333
|
+
borderColor: PropTypes.string,
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Hide the header from timeline
|
|
337
|
+
*/
|
|
338
|
+
noHeader: PropTypes.bool,
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Hide the footer from timeline
|
|
342
|
+
*/
|
|
343
|
+
noFooter: PropTypes.bool,
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Hide the border from timeline
|
|
347
|
+
*/
|
|
348
|
+
noBorders: PropTypes.bool,
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Hide the scrollbars
|
|
352
|
+
*/
|
|
353
|
+
noScrollbar: PropTypes.bool,
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Enable Transparancy
|
|
357
|
+
*/
|
|
358
|
+
transparent: PropTypes.bool,
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
|
|
362
|
+
*/
|
|
363
|
+
lang: PropTypes.string,
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Placeholder while tweet is loading
|
|
367
|
+
*/
|
|
368
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Function to execute after load, return html element
|
|
372
|
+
*/
|
|
373
|
+
onLoad: PropTypes.func
|
|
374
|
+
});
|
|
375
|
+
|
|
376
|
+
var TwitterShareButton =
|
|
377
|
+
/*#__PURE__*/
|
|
378
|
+
function (_Component) {
|
|
379
|
+
_inherits(TwitterShareButton, _Component);
|
|
380
|
+
|
|
381
|
+
function TwitterShareButton(props) {
|
|
382
|
+
var _this;
|
|
383
|
+
|
|
384
|
+
_classCallCheck(this, TwitterShareButton);
|
|
385
|
+
|
|
386
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
|
|
387
|
+
_this.state = {
|
|
388
|
+
isLoading: true
|
|
389
|
+
};
|
|
390
|
+
return _this;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
_createClass(TwitterShareButton, [{
|
|
394
|
+
key: "componentDidMount",
|
|
395
|
+
value: function componentDidMount() {
|
|
396
|
+
var _this2 = this;
|
|
397
|
+
|
|
398
|
+
var onLoad = this.props.onLoad;
|
|
399
|
+
|
|
400
|
+
if (exenv.canUseDOM) {
|
|
401
|
+
var script = require('scriptjs');
|
|
402
|
+
|
|
403
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
404
|
+
if (!window.twttr) {
|
|
405
|
+
console.error('Failure to load window.twttr in TwitterShareButton, aborting load.');
|
|
406
|
+
return;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
if (!_this2.isMountCanceled) {
|
|
410
|
+
window.twttr.widgets.createShareButton(_this2.props.url, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
411
|
+
_this2.setState({
|
|
412
|
+
isLoading: false
|
|
413
|
+
});
|
|
414
|
+
|
|
415
|
+
if (onLoad) {
|
|
416
|
+
onLoad(element);
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}, {
|
|
424
|
+
key: "componentWillUnmount",
|
|
425
|
+
value: function componentWillUnmount() {
|
|
426
|
+
this.isMountCanceled = true;
|
|
427
|
+
}
|
|
428
|
+
}, {
|
|
429
|
+
key: "render",
|
|
430
|
+
value: function render() {
|
|
431
|
+
var isLoading = this.state.isLoading;
|
|
432
|
+
var placeholder = this.props.placeholder;
|
|
433
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
434
|
+
ref: "embedContainer"
|
|
435
|
+
}));
|
|
436
|
+
}
|
|
437
|
+
}]);
|
|
438
|
+
|
|
439
|
+
return TwitterShareButton;
|
|
440
|
+
}(Component);
|
|
441
|
+
|
|
442
|
+
_defineProperty(TwitterShareButton, "propTypes", {
|
|
443
|
+
/**
|
|
444
|
+
* Url for sharing
|
|
445
|
+
*/
|
|
446
|
+
url: PropTypes.string.isRequired,
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
|
|
450
|
+
*/
|
|
451
|
+
options: PropTypes.object,
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Placeholder while tweet is loading
|
|
455
|
+
*/
|
|
456
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Function to execute after load, return html element
|
|
460
|
+
*/
|
|
461
|
+
onLoad: PropTypes.func
|
|
462
|
+
});
|
|
463
|
+
|
|
464
|
+
var TwitterFollowButton =
|
|
465
|
+
/*#__PURE__*/
|
|
466
|
+
function (_Component) {
|
|
467
|
+
_inherits(TwitterFollowButton, _Component);
|
|
468
|
+
|
|
469
|
+
function TwitterFollowButton(props) {
|
|
470
|
+
var _this;
|
|
471
|
+
|
|
472
|
+
_classCallCheck(this, TwitterFollowButton);
|
|
473
|
+
|
|
474
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
|
|
475
|
+
_this.state = {
|
|
476
|
+
isLoading: true
|
|
477
|
+
};
|
|
478
|
+
return _this;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
_createClass(TwitterFollowButton, [{
|
|
482
|
+
key: "componentDidMount",
|
|
483
|
+
value: function componentDidMount() {
|
|
484
|
+
var _this2 = this;
|
|
485
|
+
|
|
486
|
+
var onLoad = this.props.onLoad;
|
|
487
|
+
|
|
488
|
+
if (exenv.canUseDOM) {
|
|
489
|
+
var script = require('scriptjs');
|
|
490
|
+
|
|
491
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
492
|
+
if (!window.twttr) {
|
|
493
|
+
console.error('Failure to load window.twttr in TwitterFollowButton, aborting load.');
|
|
494
|
+
return;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
if (!_this2.isMountCanceled) {
|
|
498
|
+
window.twttr.widgets.createFollowButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
499
|
+
_this2.setState({
|
|
500
|
+
isLoading: false
|
|
501
|
+
});
|
|
502
|
+
|
|
503
|
+
if (onLoad) {
|
|
504
|
+
onLoad(element);
|
|
505
|
+
}
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}, {
|
|
512
|
+
key: "componentWillUnmount",
|
|
513
|
+
value: function componentWillUnmount() {
|
|
514
|
+
this.isMountCanceled = true;
|
|
515
|
+
}
|
|
516
|
+
}, {
|
|
517
|
+
key: "render",
|
|
518
|
+
value: function render() {
|
|
519
|
+
var isLoading = this.state.isLoading;
|
|
520
|
+
var placeholder = this.props.placeholder;
|
|
521
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
522
|
+
ref: "embedContainer"
|
|
523
|
+
}));
|
|
524
|
+
}
|
|
525
|
+
}]);
|
|
526
|
+
|
|
527
|
+
return TwitterFollowButton;
|
|
528
|
+
}(Component);
|
|
529
|
+
|
|
530
|
+
_defineProperty(TwitterFollowButton, "propTypes", {
|
|
531
|
+
/**
|
|
532
|
+
* Username of twitter user which will be followed on click
|
|
533
|
+
*/
|
|
534
|
+
screenName: PropTypes.string.isRequired,
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Additional options to be added to the button
|
|
538
|
+
*/
|
|
539
|
+
options: PropTypes.object,
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Placeholder while tweet is loading
|
|
543
|
+
*/
|
|
544
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Function to execute after load, return html element
|
|
548
|
+
*/
|
|
549
|
+
onLoad: PropTypes.func
|
|
550
|
+
});
|
|
551
|
+
|
|
552
|
+
var TwitterHashtagButton =
|
|
553
|
+
/*#__PURE__*/
|
|
554
|
+
function (_Component) {
|
|
555
|
+
_inherits(TwitterHashtagButton, _Component);
|
|
556
|
+
|
|
557
|
+
function TwitterHashtagButton(props) {
|
|
558
|
+
var _this;
|
|
559
|
+
|
|
560
|
+
_classCallCheck(this, TwitterHashtagButton);
|
|
561
|
+
|
|
562
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
|
|
563
|
+
_this.state = {
|
|
564
|
+
isLoading: true
|
|
565
|
+
};
|
|
566
|
+
return _this;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
_createClass(TwitterHashtagButton, [{
|
|
570
|
+
key: "componentDidMount",
|
|
571
|
+
value: function componentDidMount() {
|
|
572
|
+
var _this2 = this;
|
|
573
|
+
|
|
574
|
+
var onLoad = this.props.onLoad;
|
|
575
|
+
|
|
576
|
+
if (exenv.canUseDOM) {
|
|
577
|
+
var script = require('scriptjs');
|
|
578
|
+
|
|
579
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
580
|
+
if (!window.twttr) {
|
|
581
|
+
console.error('Failure to load window.twttr in TwitterHashtagButton, aborting load.');
|
|
582
|
+
return;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
if (!_this2.isMountCanceled) {
|
|
586
|
+
window.twttr.widgets.createHashtagButton(_this2.props.tag, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
587
|
+
_this2.setState({
|
|
588
|
+
isLoading: false
|
|
589
|
+
});
|
|
590
|
+
|
|
591
|
+
if (onLoad) {
|
|
592
|
+
onLoad(element);
|
|
593
|
+
}
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}, {
|
|
600
|
+
key: "componentWillUnmount",
|
|
601
|
+
value: function componentWillUnmount() {
|
|
602
|
+
this.isMountCanceled = true;
|
|
603
|
+
}
|
|
604
|
+
}, {
|
|
605
|
+
key: "render",
|
|
606
|
+
value: function render() {
|
|
607
|
+
var isLoading = this.state.isLoading;
|
|
608
|
+
var placeholder = this.props.placeholder;
|
|
609
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
610
|
+
ref: "embedContainer"
|
|
611
|
+
}));
|
|
612
|
+
}
|
|
613
|
+
}]);
|
|
614
|
+
|
|
615
|
+
return TwitterHashtagButton;
|
|
616
|
+
}(Component);
|
|
617
|
+
|
|
618
|
+
_defineProperty(TwitterHashtagButton, "propTypes", {
|
|
619
|
+
/**
|
|
620
|
+
* Tag name for hashtag button
|
|
621
|
+
*/
|
|
622
|
+
tag: PropTypes.string.isRequired,
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Additional options to be added to the button
|
|
626
|
+
*/
|
|
627
|
+
options: PropTypes.object,
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Placeholder while tweet is loading
|
|
631
|
+
*/
|
|
632
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Function to execute after load, return html element
|
|
636
|
+
*/
|
|
637
|
+
onLoad: PropTypes.func
|
|
638
|
+
});
|
|
639
|
+
|
|
640
|
+
var TwitterMentionButton =
|
|
641
|
+
/*#__PURE__*/
|
|
642
|
+
function (_Component) {
|
|
643
|
+
_inherits(TwitterMentionButton, _Component);
|
|
644
|
+
|
|
645
|
+
function TwitterMentionButton(props) {
|
|
646
|
+
var _this;
|
|
647
|
+
|
|
648
|
+
_classCallCheck(this, TwitterMentionButton);
|
|
649
|
+
|
|
650
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
|
|
651
|
+
_this.state = {
|
|
652
|
+
isLoading: true
|
|
653
|
+
};
|
|
654
|
+
return _this;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
_createClass(TwitterMentionButton, [{
|
|
658
|
+
key: "componentDidMount",
|
|
659
|
+
value: function componentDidMount() {
|
|
660
|
+
var _this2 = this;
|
|
661
|
+
|
|
662
|
+
var onLoad = this.props.onLoad;
|
|
663
|
+
|
|
664
|
+
if (exenv.canUseDOM) {
|
|
665
|
+
var script = require('scriptjs');
|
|
666
|
+
|
|
667
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
668
|
+
if (!window.twttr) {
|
|
669
|
+
console.error('Failure to load window.twttr in TwitterMentionButton, aborting load.');
|
|
670
|
+
return;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
if (!_this2.isMountCanceled) {
|
|
674
|
+
window.twttr.widgets.createMentionButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
675
|
+
_this2.setState({
|
|
676
|
+
isLoading: false
|
|
677
|
+
});
|
|
678
|
+
|
|
679
|
+
if (onLoad) {
|
|
680
|
+
onLoad(element);
|
|
681
|
+
}
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
}, {
|
|
688
|
+
key: "componentWillUnmount",
|
|
689
|
+
value: function componentWillUnmount() {
|
|
690
|
+
this.isMountCanceled = true;
|
|
691
|
+
}
|
|
692
|
+
}, {
|
|
693
|
+
key: "render",
|
|
694
|
+
value: function render() {
|
|
695
|
+
var isLoading = this.state.isLoading;
|
|
696
|
+
var placeholder = this.props.placeholder;
|
|
697
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
698
|
+
ref: "embedContainer"
|
|
699
|
+
}));
|
|
700
|
+
}
|
|
701
|
+
}]);
|
|
702
|
+
|
|
703
|
+
return TwitterMentionButton;
|
|
704
|
+
}(Component);
|
|
705
|
+
|
|
706
|
+
_defineProperty(TwitterMentionButton, "propTypes", {
|
|
707
|
+
/**
|
|
708
|
+
* Username to which you will need to tweet
|
|
709
|
+
*/
|
|
710
|
+
screenName: PropTypes.string.isRequired,
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Additional options for overriding config.
|
|
714
|
+
*/
|
|
715
|
+
options: PropTypes.object,
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Placeholder while tweet is loading
|
|
719
|
+
*/
|
|
720
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Function to execute after load, return html element
|
|
724
|
+
*/
|
|
725
|
+
onLoad: PropTypes.func
|
|
726
|
+
});
|
|
727
|
+
|
|
728
|
+
var TwitterTweetEmbed =
|
|
729
|
+
/*#__PURE__*/
|
|
730
|
+
function (_Component) {
|
|
731
|
+
_inherits(TwitterTweetEmbed, _Component);
|
|
732
|
+
|
|
733
|
+
function TwitterTweetEmbed(props) {
|
|
734
|
+
var _this;
|
|
735
|
+
|
|
736
|
+
_classCallCheck(this, TwitterTweetEmbed);
|
|
737
|
+
|
|
738
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
|
|
739
|
+
_this.state = {
|
|
740
|
+
isLoading: true
|
|
741
|
+
};
|
|
742
|
+
return _this;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
_createClass(TwitterTweetEmbed, [{
|
|
746
|
+
key: "renderWidget",
|
|
747
|
+
value: function renderWidget() {
|
|
748
|
+
var _this2 = this;
|
|
749
|
+
|
|
750
|
+
var onLoad = this.props.onLoad;
|
|
751
|
+
|
|
752
|
+
if (!window.twttr) {
|
|
753
|
+
console.error('Failure to load window.twttr in TwitterTweetEmbed, aborting load.');
|
|
754
|
+
return;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
if (!this.isMountCanceled) {
|
|
758
|
+
window.twttr.widgets.createTweet(this.props.tweetId, this.refs.embedContainer, this.props.options).then(function (element) {
|
|
759
|
+
_this2.setState({
|
|
760
|
+
isLoading: false
|
|
761
|
+
});
|
|
762
|
+
|
|
763
|
+
if (onLoad) {
|
|
764
|
+
onLoad(element);
|
|
765
|
+
}
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
}, {
|
|
770
|
+
key: "componentDidMount",
|
|
771
|
+
value: function componentDidMount() {
|
|
772
|
+
var _this3 = this;
|
|
773
|
+
|
|
774
|
+
if (exenv.canUseDOM) {
|
|
775
|
+
var script = require('scriptjs');
|
|
776
|
+
|
|
777
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
778
|
+
_this3.renderWidget();
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}, {
|
|
783
|
+
key: "componentWillUnmount",
|
|
784
|
+
value: function componentWillUnmount() {
|
|
785
|
+
this.isMountCanceled = true;
|
|
786
|
+
}
|
|
787
|
+
}, {
|
|
788
|
+
key: "render",
|
|
789
|
+
value: function render() {
|
|
790
|
+
var isLoading = this.state.isLoading;
|
|
791
|
+
var placeholder = this.props.placeholder;
|
|
792
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
793
|
+
ref: "embedContainer"
|
|
794
|
+
}));
|
|
795
|
+
}
|
|
796
|
+
}]);
|
|
797
|
+
|
|
798
|
+
return TwitterTweetEmbed;
|
|
799
|
+
}(Component);
|
|
800
|
+
|
|
801
|
+
_defineProperty(TwitterTweetEmbed, "propTypes", {
|
|
802
|
+
/**
|
|
803
|
+
* Tweet id that needs to be shown
|
|
804
|
+
*/
|
|
805
|
+
tweetId: PropTypes.string.isRequired,
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* Additional options to pass to twitter widget plugin
|
|
809
|
+
*/
|
|
810
|
+
options: PropTypes.object,
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Placeholder while tweet is loading
|
|
814
|
+
*/
|
|
815
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Function to execute after load, return html element
|
|
819
|
+
*/
|
|
820
|
+
onLoad: PropTypes.func
|
|
821
|
+
});
|
|
822
|
+
|
|
823
|
+
var TwitterMomentShare =
|
|
824
|
+
/*#__PURE__*/
|
|
825
|
+
function (_Component) {
|
|
826
|
+
_inherits(TwitterMomentShare, _Component);
|
|
827
|
+
|
|
828
|
+
function TwitterMomentShare(props) {
|
|
829
|
+
var _this;
|
|
830
|
+
|
|
831
|
+
_classCallCheck(this, TwitterMomentShare);
|
|
832
|
+
|
|
833
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
|
|
834
|
+
_this.state = {
|
|
835
|
+
isLoading: true
|
|
836
|
+
};
|
|
837
|
+
return _this;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
_createClass(TwitterMomentShare, [{
|
|
841
|
+
key: "componentDidMount",
|
|
842
|
+
value: function componentDidMount() {
|
|
843
|
+
var _this2 = this;
|
|
844
|
+
|
|
845
|
+
var onLoad = this.props.onLoad;
|
|
846
|
+
|
|
847
|
+
if (exenv.canUseDOM) {
|
|
848
|
+
var script = require('scriptjs');
|
|
849
|
+
|
|
850
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
851
|
+
if (!window.twttr) {
|
|
852
|
+
console.error('Failure to load window.twttr in TwitterMomentShare, aborting load.');
|
|
853
|
+
return;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
if (!_this2.isMountCanceled) {
|
|
857
|
+
window.twttr.widgets.createMoment(_this2.props.momentId, _this2.refs.shareMoment, _this2.props.options).then(function (element) {
|
|
858
|
+
_this2.setState({
|
|
859
|
+
isLoading: false
|
|
860
|
+
});
|
|
861
|
+
|
|
862
|
+
if (onLoad) {
|
|
863
|
+
onLoad(element);
|
|
864
|
+
}
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}, {
|
|
871
|
+
key: "componentWillUnmount",
|
|
872
|
+
value: function componentWillUnmount() {
|
|
873
|
+
this.isMountCanceled = true;
|
|
874
|
+
}
|
|
875
|
+
}, {
|
|
876
|
+
key: "render",
|
|
877
|
+
value: function render() {
|
|
878
|
+
var isLoading = this.state.isLoading;
|
|
879
|
+
var placeholder = this.props.placeholder;
|
|
880
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
881
|
+
ref: "shareMoment"
|
|
882
|
+
}));
|
|
883
|
+
}
|
|
884
|
+
}]);
|
|
885
|
+
|
|
886
|
+
return TwitterMomentShare;
|
|
887
|
+
}(Component);
|
|
888
|
+
|
|
889
|
+
_defineProperty(TwitterMomentShare, "propTypes", {
|
|
890
|
+
/**
|
|
891
|
+
* id of Twitter moment to show
|
|
892
|
+
*/
|
|
893
|
+
momentId: PropTypes.string.isRequired,
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* Additional options for overriding config.
|
|
897
|
+
*/
|
|
898
|
+
options: PropTypes.object,
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Placeholder while tweet is loading
|
|
902
|
+
*/
|
|
903
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Function to execute after load, return html element
|
|
907
|
+
*/
|
|
908
|
+
onLoad: PropTypes.func
|
|
909
|
+
});
|
|
910
|
+
|
|
911
|
+
var TwitterDMButton =
|
|
912
|
+
/*#__PURE__*/
|
|
913
|
+
function (_Component) {
|
|
914
|
+
_inherits(TwitterDMButton, _Component);
|
|
915
|
+
|
|
916
|
+
function TwitterDMButton(props) {
|
|
917
|
+
var _this;
|
|
918
|
+
|
|
919
|
+
_classCallCheck(this, TwitterDMButton);
|
|
920
|
+
|
|
921
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
|
|
922
|
+
_this.state = {
|
|
923
|
+
isLoading: true
|
|
924
|
+
};
|
|
925
|
+
return _this;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
_createClass(TwitterDMButton, [{
|
|
929
|
+
key: "componentDidMount",
|
|
930
|
+
value: function componentDidMount() {
|
|
931
|
+
var _this2 = this;
|
|
932
|
+
|
|
933
|
+
var onLoad = this.props.onLoad;
|
|
934
|
+
|
|
935
|
+
if (exenv.canUseDOM) {
|
|
936
|
+
var script = require('scriptjs');
|
|
937
|
+
|
|
938
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
939
|
+
if (!window.twttr) {
|
|
940
|
+
console.error('Failure to load window.twttr in TwitterDMButton, aborting load.');
|
|
941
|
+
return;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
if (!_this2.isMountCanceled) {
|
|
945
|
+
window.twttr.widgets.createDMButton(_this2.props.id, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
946
|
+
_this2.setState({
|
|
947
|
+
isLoading: false
|
|
948
|
+
});
|
|
949
|
+
|
|
950
|
+
if (onLoad) {
|
|
951
|
+
onLoad(element);
|
|
952
|
+
}
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}, {
|
|
959
|
+
key: "componentWillUnmount",
|
|
960
|
+
value: function componentWillUnmount() {
|
|
961
|
+
this.isMountCanceled = true;
|
|
962
|
+
}
|
|
963
|
+
}, {
|
|
964
|
+
key: "render",
|
|
965
|
+
value: function render() {
|
|
966
|
+
var isLoading = this.state.isLoading;
|
|
967
|
+
var placeholder = this.props.placeholder;
|
|
968
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
969
|
+
ref: "embedContainer"
|
|
970
|
+
}));
|
|
971
|
+
}
|
|
972
|
+
}]);
|
|
973
|
+
|
|
974
|
+
return TwitterDMButton;
|
|
975
|
+
}(Component);
|
|
976
|
+
|
|
977
|
+
_defineProperty(TwitterDMButton, "propTypes", {
|
|
978
|
+
/**
|
|
979
|
+
* Twitter user id for DM button
|
|
980
|
+
*/
|
|
981
|
+
id: PropTypes.number.isRequired,
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Additional options to be added to the button
|
|
985
|
+
*/
|
|
986
|
+
options: PropTypes.object,
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Placeholder while tweet is loading
|
|
990
|
+
*/
|
|
991
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* Function to execute after load, return html element
|
|
995
|
+
*/
|
|
996
|
+
onLoad: PropTypes.func
|
|
997
|
+
});
|
|
998
|
+
|
|
999
|
+
var TwitterVideoEmbed =
|
|
1000
|
+
/*#__PURE__*/
|
|
1001
|
+
function (_Component) {
|
|
1002
|
+
_inherits(TwitterVideoEmbed, _Component);
|
|
1003
|
+
|
|
1004
|
+
function TwitterVideoEmbed(props) {
|
|
1005
|
+
var _this;
|
|
1006
|
+
|
|
1007
|
+
_classCallCheck(this, TwitterVideoEmbed);
|
|
1008
|
+
|
|
1009
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
|
|
1010
|
+
_this.state = {
|
|
1011
|
+
isLoading: true
|
|
1012
|
+
};
|
|
1013
|
+
return _this;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
_createClass(TwitterVideoEmbed, [{
|
|
1017
|
+
key: "componentDidMount",
|
|
1018
|
+
value: function componentDidMount() {
|
|
1019
|
+
var _this2 = this;
|
|
1020
|
+
|
|
1021
|
+
var onLoad = this.props.onLoad;
|
|
1022
|
+
|
|
1023
|
+
if (exenv.canUseDOM) {
|
|
1024
|
+
var script = require('scriptjs');
|
|
1025
|
+
|
|
1026
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
1027
|
+
if (!window.twttr) {
|
|
1028
|
+
console.error('Failure to load window.twttr in TwitterVideoEmbed, aborting load.');
|
|
1029
|
+
return;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
if (!_this2.isMountCanceled) {
|
|
1033
|
+
window.twttr.widgets.createVideo(_this2.props.id, _this2.refs.embedContainer).then(function (element) {
|
|
1034
|
+
_this2.setState({
|
|
1035
|
+
isLoading: false
|
|
1036
|
+
});
|
|
1037
|
+
|
|
1038
|
+
if (onLoad) {
|
|
1039
|
+
onLoad(element);
|
|
1040
|
+
}
|
|
1041
|
+
});
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
}, {
|
|
1047
|
+
key: "componentWillUnmount",
|
|
1048
|
+
value: function componentWillUnmount() {
|
|
1049
|
+
this.isMountCanceled = true;
|
|
1050
|
+
}
|
|
1051
|
+
}, {
|
|
1052
|
+
key: "render",
|
|
1053
|
+
value: function render() {
|
|
1054
|
+
var isLoading = this.state.isLoading;
|
|
1055
|
+
var placeholder = this.props.placeholder;
|
|
1056
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1057
|
+
ref: "embedContainer"
|
|
1058
|
+
}));
|
|
1059
|
+
}
|
|
1060
|
+
}]);
|
|
1061
|
+
|
|
1062
|
+
return TwitterVideoEmbed;
|
|
1063
|
+
}(Component);
|
|
1064
|
+
|
|
1065
|
+
_defineProperty(TwitterVideoEmbed, "propTypes", {
|
|
1066
|
+
/**
|
|
1067
|
+
* Id of video tweet.
|
|
1068
|
+
*/
|
|
1069
|
+
id: PropTypes.string.isRequired,
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Placeholder while tweet is loading
|
|
1073
|
+
*/
|
|
1074
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Function to execute after load, return html element
|
|
1078
|
+
*/
|
|
1079
|
+
onLoad: PropTypes.func
|
|
1080
|
+
});
|
|
1081
|
+
|
|
1082
|
+
var TwitterOnAirButton =
|
|
1083
|
+
/*#__PURE__*/
|
|
1084
|
+
function (_Component) {
|
|
1085
|
+
_inherits(TwitterOnAirButton, _Component);
|
|
1086
|
+
|
|
1087
|
+
function TwitterOnAirButton(props) {
|
|
1088
|
+
var _this;
|
|
1089
|
+
|
|
1090
|
+
_classCallCheck(this, TwitterOnAirButton);
|
|
1091
|
+
|
|
1092
|
+
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
|
|
1093
|
+
_this.state = {
|
|
1094
|
+
isLoading: true
|
|
1095
|
+
};
|
|
1096
|
+
return _this;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
_createClass(TwitterOnAirButton, [{
|
|
1100
|
+
key: "componentDidMount",
|
|
1101
|
+
value: function componentDidMount() {
|
|
1102
|
+
var _this2 = this;
|
|
1103
|
+
|
|
1104
|
+
var onLoad = this.props.onLoad;
|
|
1105
|
+
|
|
1106
|
+
if (exenv.canUseDOM) {
|
|
1107
|
+
var script = require('scriptjs');
|
|
1108
|
+
|
|
1109
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
1110
|
+
if (!window.twttr) {
|
|
1111
|
+
console.error('Failure to load window.twttr in TwitterOnAirButton, aborting load.');
|
|
1112
|
+
return;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
if (!_this2.isMountCanceled) {
|
|
1116
|
+
window.twttr.widgets.createPeriscopeOnAirButton(_this2.props.username, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
1117
|
+
_this2.setState({
|
|
1118
|
+
isLoading: false
|
|
1119
|
+
});
|
|
1120
|
+
|
|
1121
|
+
if (onLoad) {
|
|
1122
|
+
onLoad(element);
|
|
1123
|
+
}
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
}, {
|
|
1130
|
+
key: "componentWillUnmount",
|
|
1131
|
+
value: function componentWillUnmount() {
|
|
1132
|
+
this.isMountCanceled = true;
|
|
1133
|
+
}
|
|
1134
|
+
}, {
|
|
1135
|
+
key: "render",
|
|
1136
|
+
value: function render() {
|
|
1137
|
+
var isLoading = this.state.isLoading;
|
|
1138
|
+
var placeholder = this.props.placeholder;
|
|
1139
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1140
|
+
ref: "embedContainer"
|
|
1141
|
+
}));
|
|
1142
|
+
}
|
|
1143
|
+
}]);
|
|
1144
|
+
|
|
1145
|
+
return TwitterOnAirButton;
|
|
1146
|
+
}(Component);
|
|
1147
|
+
|
|
1148
|
+
_defineProperty(TwitterOnAirButton, "propTypes", {
|
|
1149
|
+
/**
|
|
1150
|
+
* Username for which you require periscope on air button
|
|
1151
|
+
*/
|
|
1152
|
+
username: PropTypes.string.isRequired,
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Additional options for overriding config.
|
|
1156
|
+
*/
|
|
1157
|
+
options: PropTypes.object,
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* Placeholder while tweet is loading
|
|
1161
|
+
*/
|
|
1162
|
+
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* Function to execute after load, return html element
|
|
1166
|
+
*/
|
|
1167
|
+
onLoad: PropTypes.func
|
|
1168
|
+
});
|
|
74
1169
|
|
|
75
1170
|
var ImageSlider = function ImageSlider(props) {
|
|
76
1171
|
var innerSlider = useRef(null);
|
|
@@ -179,61 +1274,61 @@ var ImageSlider = function ImageSlider(props) {
|
|
|
179
1274
|
}, []);
|
|
180
1275
|
|
|
181
1276
|
var variant = 'black';
|
|
182
|
-
return
|
|
183
|
-
|
|
1277
|
+
return React__default.createElement(
|
|
1278
|
+
React__default.Fragment,
|
|
184
1279
|
null,
|
|
185
|
-
|
|
1280
|
+
React__default.createElement(
|
|
186
1281
|
'div',
|
|
187
1282
|
{ ref: viewableWindow, id: 'vid-slider', className: 'col' },
|
|
188
|
-
|
|
1283
|
+
React__default.createElement(
|
|
189
1284
|
'div',
|
|
190
1285
|
{ className: 'row' },
|
|
191
|
-
showScroller &&
|
|
1286
|
+
showScroller && React__default.createElement(
|
|
192
1287
|
'div',
|
|
193
1288
|
{ onClick: function onClick(e) {
|
|
194
1289
|
return scrollSlider(e, 'prev');
|
|
195
1290
|
}, className: 'tile__slider-prev', style: { color: variant } },
|
|
196
|
-
|
|
1291
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
|
|
197
1292
|
),
|
|
198
|
-
showScroller &&
|
|
1293
|
+
showScroller && React__default.createElement(
|
|
199
1294
|
'div',
|
|
200
1295
|
{ onClick: function onClick(e) {
|
|
201
1296
|
return scrollSlider(e, 'next');
|
|
202
1297
|
}, className: 'tile__slider-next', style: { color: variant } },
|
|
203
|
-
|
|
1298
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
|
|
204
1299
|
),
|
|
205
|
-
|
|
1300
|
+
React__default.createElement(
|
|
206
1301
|
'div',
|
|
207
1302
|
{ ref: innerSlider, className: 'row__inner' },
|
|
208
1303
|
props.data.slides.map(function (img, index) {
|
|
209
1304
|
var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
|
|
210
1305
|
if (!img.slideshowImage.link) {
|
|
211
|
-
return
|
|
1306
|
+
return React__default.createElement(
|
|
212
1307
|
'div',
|
|
213
1308
|
{ ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
|
|
214
|
-
|
|
1309
|
+
React__default.createElement(
|
|
215
1310
|
'div',
|
|
216
1311
|
{ className: 'tile__media' },
|
|
217
|
-
|
|
1312
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
218
1313
|
),
|
|
219
|
-
|
|
1314
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
220
1315
|
);
|
|
221
1316
|
} else {
|
|
222
|
-
return
|
|
1317
|
+
return React__default.createElement(
|
|
223
1318
|
'a',
|
|
224
1319
|
{ ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
|
|
225
|
-
|
|
1320
|
+
React__default.createElement(
|
|
226
1321
|
'div',
|
|
227
1322
|
{ className: 'tile__media' },
|
|
228
|
-
|
|
1323
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
229
1324
|
),
|
|
230
|
-
|
|
1325
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
231
1326
|
);
|
|
232
1327
|
}
|
|
233
1328
|
})
|
|
234
1329
|
)
|
|
235
1330
|
),
|
|
236
|
-
|
|
1331
|
+
React__default.createElement(
|
|
237
1332
|
'style',
|
|
238
1333
|
{ jsx: 'true' },
|
|
239
1334
|
'\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 1.5rem;\n margin-bottom: 0 !important;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider,\n #vidHolder {\n max-width: 805px;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider a:hover {\n color: #7f8c8d;\n text-decoration: underline;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: scroll;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin: 25px 0 70px !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n margin: 0 12px;\n font-size: 20px;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n \n #vid-slider .tile:first-child {\n margin-left: 15px;\n }\n #vid-slider .tile__img {\n height: auto;\n -o-object-fit: contain;\n object-fit: contain;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n \n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n \n #vid-slider .tile__title {\n position: absolute;\n bottom: 0;\n padding: 10px;\n max-width: 250px;\n }\n #vid-slider .tile__title_text {\n position: relative;\n left: 0;\n white-space: normal;\n }\n \n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: 1rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n }\n \n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (min-width: 1399px) {\n .block-content #vid-slider .tile__img {\n height: auto;\n }\n .block-content #vid-slider .tile {\n height: auto;\n }\n }\n \n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n max-width: 620px;\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n max-width: 580px;\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 60px 0 50px !important;\n }\n }\n \n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n }\n @media screen and (max-width: 568px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 30px 0 70px;\n }\n }\n '
|
|
@@ -256,95 +1351,95 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
256
1351
|
pageview = _ref.pageview,
|
|
257
1352
|
page = _ref.page;
|
|
258
1353
|
|
|
259
|
-
return
|
|
260
|
-
|
|
1354
|
+
return React__default.createElement(
|
|
1355
|
+
React__default.Fragment,
|
|
261
1356
|
null,
|
|
262
|
-
|
|
263
|
-
|
|
1357
|
+
React__default.createElement(Breadcrumbs, null),
|
|
1358
|
+
React__default.createElement(
|
|
264
1359
|
'div',
|
|
265
1360
|
{ className: 'partners-page' },
|
|
266
|
-
|
|
1361
|
+
React__default.createElement(
|
|
267
1362
|
'div',
|
|
268
1363
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
269
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.link ?
|
|
1364
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
270
1365
|
'a',
|
|
271
1366
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
272
|
-
|
|
1367
|
+
React__default.createElement(
|
|
273
1368
|
'figure',
|
|
274
1369
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
275
|
-
|
|
1370
|
+
React__default.createElement('img', {
|
|
276
1371
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
277
1372
|
style: { maxWidth: '100%' },
|
|
278
1373
|
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
279
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption &&
|
|
1374
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
|
|
280
1375
|
'figcaption',
|
|
281
1376
|
null,
|
|
282
1377
|
partnerDetails.thumbnail.caption
|
|
283
1378
|
)
|
|
284
1379
|
)
|
|
285
|
-
) :
|
|
1380
|
+
) : React__default.createElement(
|
|
286
1381
|
'figure',
|
|
287
1382
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%', textAlign: 'center' } },
|
|
288
|
-
|
|
1383
|
+
React__default.createElement('img', {
|
|
289
1384
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
290
1385
|
style: { maxWidth: '100%' },
|
|
291
1386
|
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
292
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption &&
|
|
1387
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
|
|
293
1388
|
'figcaption',
|
|
294
1389
|
null,
|
|
295
1390
|
partnerDetails.thumbnail.caption
|
|
296
1391
|
)
|
|
297
1392
|
),
|
|
298
|
-
|
|
1393
|
+
React__default.createElement(
|
|
299
1394
|
'style',
|
|
300
1395
|
{ jsx: 'true' },
|
|
301
1396
|
'\n @media screen and (max-width: 768px) {\n .partners-logo {\n width: 100%;\n min-width: 100%;\n }\n .partner-logo-wrap {\n flex-wrap: wrap;\n }\n .block-content-partners {\n padding-left: 0 !important;\n }\n }\n '
|
|
302
1397
|
),
|
|
303
|
-
partnerDetails.description &&
|
|
1398
|
+
partnerDetails.description && React__default.createElement(
|
|
304
1399
|
'div',
|
|
305
1400
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
306
|
-
|
|
1401
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
307
1402
|
)
|
|
308
1403
|
),
|
|
309
|
-
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides &&
|
|
1404
|
+
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React__default.createElement(
|
|
310
1405
|
'div',
|
|
311
1406
|
{ className: 'mb-4', style: { padding: '0 15px' } },
|
|
312
|
-
partnerDetails.affiliates[0].title &&
|
|
1407
|
+
partnerDetails.affiliates[0].title && React__default.createElement(
|
|
313
1408
|
'h2',
|
|
314
1409
|
{ className: 'bb-gold' },
|
|
315
1410
|
partnerDetails.affiliates[0].title
|
|
316
1411
|
),
|
|
317
|
-
|
|
1412
|
+
React__default.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
|
|
318
1413
|
),
|
|
319
|
-
features.length > 0 &&
|
|
1414
|
+
features.length > 0 && React__default.createElement(
|
|
320
1415
|
'div',
|
|
321
1416
|
{ className: ' mb-5' },
|
|
322
|
-
|
|
1417
|
+
React__default.createElement(Feature, { dataset: features, client: client })
|
|
323
1418
|
),
|
|
324
|
-
partnerDetails.twitter &&
|
|
325
|
-
|
|
1419
|
+
partnerDetails.twitter && React__default.createElement(
|
|
1420
|
+
React__default.Fragment,
|
|
326
1421
|
null,
|
|
327
|
-
|
|
1422
|
+
React__default.createElement(
|
|
328
1423
|
'div',
|
|
329
1424
|
{ className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
|
|
330
|
-
|
|
1425
|
+
React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
|
|
331
1426
|
)
|
|
332
1427
|
),
|
|
333
|
-
|
|
1428
|
+
React__default.createElement(
|
|
334
1429
|
'div',
|
|
335
1430
|
null,
|
|
336
|
-
posts && posts.length > 0 &&
|
|
337
|
-
|
|
1431
|
+
posts && posts.length > 0 && React__default.createElement(
|
|
1432
|
+
React__default.Fragment,
|
|
338
1433
|
null,
|
|
339
|
-
|
|
1434
|
+
React__default.createElement(
|
|
340
1435
|
'h2',
|
|
341
1436
|
{ className: 'bb-gold mb-2' },
|
|
342
1437
|
'Latest from ',
|
|
343
1438
|
partnerDetails.name
|
|
344
1439
|
),
|
|
345
|
-
|
|
1440
|
+
React__default.createElement('hr', null)
|
|
346
1441
|
),
|
|
347
|
-
|
|
1442
|
+
React__default.createElement(QueueDeckExpanded, {
|
|
348
1443
|
client: client,
|
|
349
1444
|
mapping: Settings.mapping,
|
|
350
1445
|
dataRecord: posts,
|