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