@mjhls/mjh-framework 1.0.849 → 1.0.850-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 +168 -168
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +11 -11
- package/dist/cjs/AD300x250x600.js +11 -11
- package/dist/cjs/AD728x90.js +12 -12
- package/dist/cjs/ADFloatingFooter.js +13 -13
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +13 -13
- package/dist/cjs/{ADInfeed-86e987a0.js → ADInfeed-98c71bcd.js} +9 -11
- package/dist/cjs/ADSkyscraper.js +13 -13
- package/dist/cjs/ADSponsoredResources.js +13 -13
- package/dist/cjs/ADWebcast.js +13 -13
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-5d6f91d7.js → ADlgInfeed-9de32585.js} +6 -7
- package/dist/cjs/AccordionPanel.js +22 -24
- package/dist/cjs/AdSlot.js +15 -15
- package/dist/cjs/AdSlotsProvider.js +903 -11
- package/dist/cjs/AlgoliaSearch.js +14011 -48
- package/dist/cjs/AlphabeticList.js +16 -17
- package/dist/cjs/ArticleCarousel.js +11 -12
- package/dist/cjs/ArticleProgramLandingPage.js +24 -25
- package/dist/cjs/ArticleSeriesLandingPage.js +21 -21
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +144 -232
- package/dist/cjs/AuthWrapper.js +561 -26
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-bb831b74.js} +12 -13
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +65 -64
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +34 -36
- package/dist/cjs/ConferenceArticleCard.js +32 -33
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +82 -85
- package/dist/cjs/DeckQueue.js +70 -73
- package/dist/cjs/{Dfp-0bf098b5.js → Dfp-26baccf1.js} +23 -23
- package/dist/cjs/EventsDeck.js +134 -141
- package/dist/cjs/ExternalResources.js +48 -49
- package/dist/cjs/Feature.js +23 -25
- package/dist/cjs/ForbesHero.js +34 -35
- package/dist/cjs/GridContent.js +205 -209
- package/dist/cjs/GridHero.js +35 -36
- package/dist/cjs/GroupDeck.js +48 -49
- package/dist/cjs/HamMagazine.js +125 -130
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +9 -10
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalArticleListing.js +38 -39
- package/dist/cjs/HorizontalHero.js +23 -24
- package/dist/cjs/IssueContentDeck.js +65 -70
- package/dist/cjs/IssueDeck.js +61 -66
- package/dist/cjs/IssueLanding.js +58 -61
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -23
- package/dist/cjs/MasterDeck.js +59 -59
- package/dist/cjs/MediaSeriesLanding.js +909 -801
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +126 -131
- package/dist/cjs/NavNative.js +117 -125
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +63 -64
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PartnerDetailListing.js +187 -289
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PubSection.js +20 -22
- package/dist/cjs/PubToc.js +7 -8
- package/dist/cjs/PublicationDeck.js +59 -64
- package/dist/cjs/PublicationLanding.js +110 -114
- package/dist/cjs/QueueDeckExpanded.js +1129 -1109
- package/dist/cjs/RecentNews.js +19 -20
- package/dist/cjs/RelatedContent.js +50 -51
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/Segment.js +362 -337
- package/dist/cjs/SeriesListingDeck.js +27 -26
- package/dist/cjs/{SeriesSlider-60fa1342.js → SeriesSlider-8bbc989f.js} +37 -38
- package/dist/cjs/SideFooter.js +25 -26
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-cea213aa.js} +34 -38
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +55 -60
- package/dist/cjs/TaxonomyDescription.js +23 -24
- package/dist/cjs/TemplateNormal.js +36 -36
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +21 -22
- package/dist/cjs/VerticalHero.js +15 -16
- package/dist/cjs/VideoProgramLandingPage.js +41 -45
- package/dist/cjs/VideoSeriesCard.js +23 -24
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +26 -26
- package/dist/cjs/VideoSeriesListing.js +58 -58
- package/dist/cjs/View.js +201 -205
- package/dist/cjs/YahooHero.js +30 -31
- package/dist/cjs/YoutubeGroup.js +54 -55
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-60837c34.js → extends-0a918631.js} +1 -0
- package/dist/cjs/faundadb.js +1 -1
- package/dist/cjs/getRelatedArticle.js +131 -67
- package/dist/cjs/getSerializers.js +13 -13
- package/dist/cjs/{getTargeting-3e45e4d4.js → getTargeting-f1821260.js} +11 -11
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-99edf08a.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-9d365128.js → index-96b3db50.js} +10 -12
- package/dist/cjs/{index-44481153.js → index-98e01cb9.js} +47 -494
- package/dist/cjs/{index-80e98193.js → index-bc88f898.js} +1099 -872
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/index-e2e62963.js +89 -0
- 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 +62 -65
- package/dist/cjs/{inherits-87492b40.js → inherits-452ff02c.js} +4 -1
- package/dist/cjs/inherits-8d29278d.js +110 -0
- 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/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-9d7f610f.js → typeof-725500bc.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +10 -9
- package/dist/esm/AD300x250x600.js +10 -9
- package/dist/esm/AD728x90.js +11 -10
- package/dist/esm/ADFloatingFooter.js +12 -11
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +12 -11
- package/dist/esm/{ADInfeed-4096aff2.js → ADInfeed-bbdd5398.js} +7 -7
- package/dist/esm/ADSkyscraper.js +12 -11
- package/dist/esm/ADSponsoredResources.js +12 -11
- package/dist/esm/ADWebcast.js +12 -11
- package/dist/esm/ADWelcome.js +16 -15
- package/dist/esm/{ADlgInfeed-8e4fcfbd.js → ADlgInfeed-4473ee3b.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +8 -7
- package/dist/esm/AdSlotsProvider.js +904 -11
- package/dist/esm/AlgoliaSearch.js +14004 -40
- package/dist/esm/AlphabeticList.js +14 -14
- package/dist/esm/ArticleCarousel.js +9 -9
- package/dist/esm/ArticleProgramLandingPage.js +23 -23
- package/dist/esm/ArticleSeriesLandingPage.js +20 -19
- package/dist/esm/ArticleSeriesListing.js +38 -37
- package/dist/esm/Auth.js +128 -212
- package/dist/esm/AuthWrapper.js +561 -24
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-34b16174.js} +10 -10
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +63 -62
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +18 -18
- package/dist/esm/Column3.js +33 -32
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +79 -78
- package/dist/esm/DeckQueue.js +66 -65
- package/dist/esm/{Dfp-85c9513e.js → Dfp-b7236041.js} +11 -10
- package/dist/esm/EventsDeck.js +110 -110
- package/dist/esm/ExternalResources.js +44 -44
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +175 -174
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +101 -101
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +37 -37
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +55 -55
- package/dist/esm/IssueLanding.js +57 -59
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +19 -18
- package/dist/esm/MasterDeck.js +57 -56
- package/dist/esm/MediaSeriesLanding.js +673 -562
- package/dist/esm/NavDvm.js +47 -47
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -104
- package/dist/esm/NavNative.js +93 -93
- package/dist/esm/OncliveHero.js +15 -14
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +79 -180
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +19 -20
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +97 -97
- package/dist/esm/QueueDeckExpanded.js +1120 -1100
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +363 -338
- package/dist/esm/SeriesListingDeck.js +22 -21
- package/dist/esm/{SeriesSlider-05ecb544.js → SeriesSlider-a866bb21.js} +28 -28
- package/dist/esm/SideFooter.js +22 -22
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-03c3e869.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +51 -51
- package/dist/esm/TaxonomyDescription.js +19 -19
- package/dist/esm/TemplateNormal.js +34 -33
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +19 -19
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +35 -35
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +20 -19
- package/dist/esm/VideoSeriesListing.js +55 -54
- package/dist/esm/View.js +185 -185
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-4877b617.js} +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-eb69e8ac.js → extends-6f2fcc99.js} +1 -1
- package/dist/esm/faundadb.js +2 -2
- package/dist/esm/getRelatedArticle.js +127 -63
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +14 -14
- package/dist/esm/{getTargeting-9cb7e014.js → getTargeting-bd800589.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-1819118a.js → index-41a678ea.js} +41 -487
- 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-aaa2dae0.js +85 -0
- package/dist/esm/{index-fa2ffe86.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index-295b6942.js → index-f2a0d400.js} +1061 -826
- 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 +55 -55
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{inherits-0d8cda6e.js → inherits-cf8dde54.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/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-af9c50d8.js → typeof-6435ba1c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +111 -110
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
3
5
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
6
|
require('./_to-object-329a650b.js');
|
|
5
7
|
require('./es6.string.iterator-cc0bbaa4.js');
|
|
@@ -8,31 +10,32 @@ require('./_iter-detect-60b2f026.js');
|
|
|
8
10
|
require('./toConsumableArray-9a3476fe.js');
|
|
9
11
|
require('./core.get-iterator-method-f62321d4.js');
|
|
10
12
|
require('./_object-pie-68c5bcbc.js');
|
|
11
|
-
var _extends = require('./extends-
|
|
13
|
+
var _extends$1 = require('./extends-0a918631.js');
|
|
12
14
|
require('./_object-sap-5e74ba08.js');
|
|
13
|
-
require('./inherits-
|
|
15
|
+
require('./inherits-452ff02c.js');
|
|
14
16
|
require('./define-property-f4d12f4e.js');
|
|
15
17
|
require('./web.dom.iterable-a0e279c1.js');
|
|
16
|
-
require('./typeof-
|
|
18
|
+
require('./typeof-725500bc.js');
|
|
17
19
|
require('./_is-array-754e012d.js');
|
|
18
20
|
var React = require('react');
|
|
19
|
-
|
|
21
|
+
var React__default = _interopDefault(React);
|
|
22
|
+
require('./events-1b438fe7.js');
|
|
23
|
+
require('./index-98e01cb9.js');
|
|
20
24
|
var PropTypes = require('prop-types');
|
|
25
|
+
var PropTypes__default = _interopDefault(PropTypes);
|
|
21
26
|
require('react-bootstrap/Row');
|
|
22
27
|
require('react-bootstrap/Col');
|
|
23
28
|
require('react-bootstrap/Card');
|
|
24
|
-
var moment = require('./moment-
|
|
29
|
+
var moment = require('./moment-575fe24c.js');
|
|
25
30
|
require('next/router');
|
|
26
31
|
require('./isSymbol-04666465.js');
|
|
27
32
|
require('./debounce-529c8d06.js');
|
|
28
33
|
require('./toNumber-36d1e7e5.js');
|
|
29
|
-
require('./index.es-f3e47207.js');
|
|
30
34
|
require('react-dom');
|
|
31
|
-
require('./
|
|
32
|
-
require('./index-b5eb3ff8.js');
|
|
35
|
+
require('./index-be0c82be.js');
|
|
33
36
|
var urlFor = require('./urlFor.js');
|
|
34
|
-
require('./index-
|
|
35
|
-
require('./main-
|
|
37
|
+
require('./index-96b3db50.js');
|
|
38
|
+
require('./main-02daeefe.js');
|
|
36
39
|
require('./entities-310b46ee.js');
|
|
37
40
|
var slicedToArray = require('./slicedToArray-8f385299.js');
|
|
38
41
|
require('./stringify-7c5aff47.js');
|
|
@@ -40,141 +43,36 @@ var asyncToGenerator = require('./asyncToGenerator-140e5f89.js');
|
|
|
40
43
|
require('./Segment.js');
|
|
41
44
|
require('./Beam.js');
|
|
42
45
|
require('./AdSlot.js');
|
|
43
|
-
require('./ADInfeed-
|
|
44
|
-
require('./lodash-
|
|
45
|
-
require('./ADlgInfeed-
|
|
46
|
+
require('./ADInfeed-98c71bcd.js');
|
|
47
|
+
require('./lodash-fc2922d0.js');
|
|
48
|
+
require('./ADlgInfeed-9de32585.js');
|
|
46
49
|
require('./getContentCategory-f38a4c00.js');
|
|
47
|
-
require('./AuthorComponent-
|
|
50
|
+
require('./AuthorComponent-bb831b74.js');
|
|
48
51
|
require('react-bootstrap/Button');
|
|
49
|
-
var BlockContent = require('./BlockContent-
|
|
52
|
+
var BlockContent = require('./BlockContent-091a991f.js');
|
|
50
53
|
require('./index-187c967e.js');
|
|
51
54
|
var smoothscroll = require('./smoothscroll-5054361f.js');
|
|
52
55
|
require('./GroupDeck.js');
|
|
53
56
|
require('react-bootstrap');
|
|
54
|
-
require('./timeDifferenceCalc.js');
|
|
55
57
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
58
|
+
require('./timeDifferenceCalc.js');
|
|
56
59
|
require('./iconBase-68959171.js');
|
|
57
|
-
require('./index.esm-
|
|
58
|
-
var getSerializers = require('./index-
|
|
60
|
+
require('./index.esm-90433435.js');
|
|
61
|
+
var getSerializers = require('./index-bc88f898.js');
|
|
59
62
|
require('./util-f2c1b65b.js');
|
|
60
|
-
require('./brightcove-react-player-loader.es-
|
|
63
|
+
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
61
64
|
require('next/head');
|
|
62
65
|
require('react-share');
|
|
63
66
|
require('./SocialShare.js');
|
|
64
67
|
require('./_object-to-array-5762f850.js');
|
|
65
68
|
require('react-bootstrap/Pagination');
|
|
66
69
|
require('react-bootstrap/Figure');
|
|
67
|
-
require('
|
|
70
|
+
var inherits$1$1 = require('./inherits-8d29278d.js');
|
|
68
71
|
require('react-bootstrap/Carousel');
|
|
69
72
|
var Feature = require('./Feature.js');
|
|
70
73
|
require('react-bootstrap/Breadcrumb');
|
|
71
74
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
72
75
|
|
|
73
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
74
|
-
|
|
75
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
76
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
77
|
-
|
|
78
|
-
function _classCallCheck(instance, Constructor) {
|
|
79
|
-
if (!(instance instanceof Constructor)) {
|
|
80
|
-
throw new TypeError("Cannot call a class as a function");
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
function _defineProperties(target, props) {
|
|
85
|
-
for (var i = 0; i < props.length; i++) {
|
|
86
|
-
var descriptor = props[i];
|
|
87
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
88
|
-
descriptor.configurable = true;
|
|
89
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
90
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
95
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
96
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
97
|
-
return Constructor;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
function _typeof(obj) {
|
|
101
|
-
"@babel/helpers - typeof";
|
|
102
|
-
|
|
103
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
104
|
-
_typeof = function _typeof(obj) {
|
|
105
|
-
return typeof obj;
|
|
106
|
-
};
|
|
107
|
-
} else {
|
|
108
|
-
_typeof = function _typeof(obj) {
|
|
109
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
return _typeof(obj);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
function _assertThisInitialized(self) {
|
|
117
|
-
if (self === void 0) {
|
|
118
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
return self;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
function _possibleConstructorReturn(self, call) {
|
|
125
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
126
|
-
return call;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
return _assertThisInitialized(self);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
function _getPrototypeOf(o) {
|
|
133
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
134
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
135
|
-
};
|
|
136
|
-
return _getPrototypeOf(o);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function _setPrototypeOf(o, p) {
|
|
140
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
141
|
-
o.__proto__ = p;
|
|
142
|
-
return o;
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
return _setPrototypeOf(o, p);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
function _inherits(subClass, superClass) {
|
|
149
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
150
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
154
|
-
constructor: {
|
|
155
|
-
value: subClass,
|
|
156
|
-
writable: true,
|
|
157
|
-
configurable: true
|
|
158
|
-
}
|
|
159
|
-
});
|
|
160
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
function _defineProperty(obj, key, value) {
|
|
164
|
-
if (key in obj) {
|
|
165
|
-
Object.defineProperty(obj, key, {
|
|
166
|
-
value: value,
|
|
167
|
-
enumerable: true,
|
|
168
|
-
configurable: true,
|
|
169
|
-
writable: true
|
|
170
|
-
});
|
|
171
|
-
} else {
|
|
172
|
-
obj[key] = value;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
return obj;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
76
|
var isRequiredIf_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
179
77
|
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.
|
|
180
78
|
}};exports.default=isRequiredIf;
|
|
@@ -227,21 +125,21 @@ var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
|
|
|
227
125
|
var TwitterTimelineEmbed =
|
|
228
126
|
/*#__PURE__*/
|
|
229
127
|
function (_Component) {
|
|
230
|
-
_inherits(TwitterTimelineEmbed, _Component);
|
|
128
|
+
inherits$1$1._inherits(TwitterTimelineEmbed, _Component);
|
|
231
129
|
|
|
232
130
|
function TwitterTimelineEmbed(props) {
|
|
233
131
|
var _this;
|
|
234
132
|
|
|
235
|
-
_classCallCheck(this, TwitterTimelineEmbed);
|
|
133
|
+
inherits$1$1._classCallCheck(this, TwitterTimelineEmbed);
|
|
236
134
|
|
|
237
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
|
|
135
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterTimelineEmbed).call(this, props));
|
|
238
136
|
_this.state = {
|
|
239
137
|
isLoading: true
|
|
240
138
|
};
|
|
241
139
|
return _this;
|
|
242
140
|
}
|
|
243
141
|
|
|
244
|
-
_createClass(TwitterTimelineEmbed, [{
|
|
142
|
+
inherits$1$1._createClass(TwitterTimelineEmbed, [{
|
|
245
143
|
key: "buildChromeOptions",
|
|
246
144
|
value: function buildChromeOptions(options) {
|
|
247
145
|
options.chrome = '';
|
|
@@ -346,7 +244,7 @@ function (_Component) {
|
|
|
346
244
|
value: function render() {
|
|
347
245
|
var isLoading = this.state.isLoading;
|
|
348
246
|
var placeholder = this.props.placeholder;
|
|
349
|
-
return React__default
|
|
247
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
350
248
|
ref: "embedContainer"
|
|
351
249
|
}));
|
|
352
250
|
}
|
|
@@ -355,37 +253,37 @@ function (_Component) {
|
|
|
355
253
|
return TwitterTimelineEmbed;
|
|
356
254
|
}(React.Component);
|
|
357
255
|
|
|
358
|
-
_defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
256
|
+
inherits$1$1._defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
359
257
|
/**
|
|
360
258
|
* This can be either of profile, likes, list, collection, URL, widget
|
|
361
259
|
*/
|
|
362
|
-
sourceType: PropTypes__default
|
|
260
|
+
sourceType: PropTypes__default.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
|
|
363
261
|
|
|
364
262
|
/**
|
|
365
263
|
* username of twitter handle as String
|
|
366
264
|
*/
|
|
367
|
-
screenName: isRequiredIf(PropTypes__default
|
|
265
|
+
screenName: isRequiredIf(PropTypes__default.string, function (props) {
|
|
368
266
|
return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
369
267
|
}),
|
|
370
268
|
|
|
371
269
|
/**
|
|
372
270
|
* UserId of twitter handle as number
|
|
373
271
|
*/
|
|
374
|
-
userId: isRequiredIf(PropTypes__default
|
|
272
|
+
userId: isRequiredIf(PropTypes__default.number, function (props) {
|
|
375
273
|
return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
376
274
|
}),
|
|
377
275
|
|
|
378
276
|
/**
|
|
379
277
|
* To show list, used along with slug
|
|
380
278
|
*/
|
|
381
|
-
ownerScreenName: isRequiredIf(PropTypes__default
|
|
279
|
+
ownerScreenName: isRequiredIf(PropTypes__default.string, function (props) {
|
|
382
280
|
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
383
281
|
}),
|
|
384
282
|
|
|
385
283
|
/**
|
|
386
284
|
* To show list, used along with ownerScreenName
|
|
387
285
|
*/
|
|
388
|
-
slug: isRequiredIf(PropTypes__default
|
|
286
|
+
slug: isRequiredIf(PropTypes__default.string, function (props) {
|
|
389
287
|
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
390
288
|
}),
|
|
391
289
|
|
|
@@ -393,7 +291,7 @@ _defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
|
393
291
|
* To show list, unique list id
|
|
394
292
|
* Also used with collections, in that case its valid collection id
|
|
395
293
|
*/
|
|
396
|
-
id: isRequiredIf(PropTypes__default
|
|
294
|
+
id: isRequiredIf(PropTypes__default.oneOfType([PropTypes__default.number, PropTypes__default.string]), function (props) {
|
|
397
295
|
return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
|
|
398
296
|
}),
|
|
399
297
|
|
|
@@ -401,101 +299,101 @@ _defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
|
401
299
|
* To show twitter content with url.
|
|
402
300
|
* Supported content includes profiles, likes, lists, and collections.
|
|
403
301
|
*/
|
|
404
|
-
url: isRequiredIf(PropTypes__default
|
|
302
|
+
url: isRequiredIf(PropTypes__default.string, function (props) {
|
|
405
303
|
return props.sourceType === 'url';
|
|
406
304
|
}),
|
|
407
305
|
|
|
408
306
|
/**
|
|
409
307
|
* To show custom widget
|
|
410
308
|
*/
|
|
411
|
-
widgetId: isRequiredIf(PropTypes__default
|
|
309
|
+
widgetId: isRequiredIf(PropTypes__default.string, function (props) {
|
|
412
310
|
return props.sourceType === 'widget';
|
|
413
311
|
}),
|
|
414
312
|
|
|
415
313
|
/**
|
|
416
314
|
* Additional options to pass to twitter widget plugin
|
|
417
315
|
*/
|
|
418
|
-
options: PropTypes__default
|
|
316
|
+
options: PropTypes__default.object,
|
|
419
317
|
|
|
420
318
|
/**
|
|
421
319
|
* Automatically fit into parent container height
|
|
422
320
|
*/
|
|
423
|
-
autoHeight: PropTypes__default
|
|
321
|
+
autoHeight: PropTypes__default.bool,
|
|
424
322
|
|
|
425
323
|
/**
|
|
426
324
|
* With dark or light theme
|
|
427
325
|
*/
|
|
428
|
-
theme: PropTypes__default
|
|
326
|
+
theme: PropTypes__default.oneOf(['dark', 'light']),
|
|
429
327
|
|
|
430
328
|
/**
|
|
431
329
|
* With custom link colors. Note: Only Hex colors are supported.
|
|
432
330
|
*/
|
|
433
|
-
linkColor: PropTypes__default
|
|
331
|
+
linkColor: PropTypes__default.string,
|
|
434
332
|
|
|
435
333
|
/**
|
|
436
334
|
* With custom border colors. Note: Only Hex colors are supported.
|
|
437
335
|
*/
|
|
438
|
-
borderColor: PropTypes__default
|
|
336
|
+
borderColor: PropTypes__default.string,
|
|
439
337
|
|
|
440
338
|
/**
|
|
441
339
|
* Hide the header from timeline
|
|
442
340
|
*/
|
|
443
|
-
noHeader: PropTypes__default
|
|
341
|
+
noHeader: PropTypes__default.bool,
|
|
444
342
|
|
|
445
343
|
/**
|
|
446
344
|
* Hide the footer from timeline
|
|
447
345
|
*/
|
|
448
|
-
noFooter: PropTypes__default
|
|
346
|
+
noFooter: PropTypes__default.bool,
|
|
449
347
|
|
|
450
348
|
/**
|
|
451
349
|
* Hide the border from timeline
|
|
452
350
|
*/
|
|
453
|
-
noBorders: PropTypes__default
|
|
351
|
+
noBorders: PropTypes__default.bool,
|
|
454
352
|
|
|
455
353
|
/**
|
|
456
354
|
* Hide the scrollbars
|
|
457
355
|
*/
|
|
458
|
-
noScrollbar: PropTypes__default
|
|
356
|
+
noScrollbar: PropTypes__default.bool,
|
|
459
357
|
|
|
460
358
|
/**
|
|
461
359
|
* Enable Transparancy
|
|
462
360
|
*/
|
|
463
|
-
transparent: PropTypes__default
|
|
361
|
+
transparent: PropTypes__default.bool,
|
|
464
362
|
|
|
465
363
|
/**
|
|
466
364
|
* Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
|
|
467
365
|
*/
|
|
468
|
-
lang: PropTypes__default
|
|
366
|
+
lang: PropTypes__default.string,
|
|
469
367
|
|
|
470
368
|
/**
|
|
471
369
|
* Placeholder while tweet is loading
|
|
472
370
|
*/
|
|
473
|
-
placeholder: PropTypes__default
|
|
371
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
474
372
|
|
|
475
373
|
/**
|
|
476
374
|
* Function to execute after load, return html element
|
|
477
375
|
*/
|
|
478
|
-
onLoad: PropTypes__default
|
|
376
|
+
onLoad: PropTypes__default.func
|
|
479
377
|
});
|
|
480
378
|
|
|
481
379
|
var TwitterShareButton =
|
|
482
380
|
/*#__PURE__*/
|
|
483
381
|
function (_Component) {
|
|
484
|
-
_inherits(TwitterShareButton, _Component);
|
|
382
|
+
inherits$1$1._inherits(TwitterShareButton, _Component);
|
|
485
383
|
|
|
486
384
|
function TwitterShareButton(props) {
|
|
487
385
|
var _this;
|
|
488
386
|
|
|
489
|
-
_classCallCheck(this, TwitterShareButton);
|
|
387
|
+
inherits$1$1._classCallCheck(this, TwitterShareButton);
|
|
490
388
|
|
|
491
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
|
|
389
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterShareButton).call(this, props));
|
|
492
390
|
_this.state = {
|
|
493
391
|
isLoading: true
|
|
494
392
|
};
|
|
495
393
|
return _this;
|
|
496
394
|
}
|
|
497
395
|
|
|
498
|
-
_createClass(TwitterShareButton, [{
|
|
396
|
+
inherits$1$1._createClass(TwitterShareButton, [{
|
|
499
397
|
key: "componentDidMount",
|
|
500
398
|
value: function componentDidMount() {
|
|
501
399
|
var _this2 = this;
|
|
@@ -535,7 +433,7 @@ function (_Component) {
|
|
|
535
433
|
value: function render() {
|
|
536
434
|
var isLoading = this.state.isLoading;
|
|
537
435
|
var placeholder = this.props.placeholder;
|
|
538
|
-
return React__default
|
|
436
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
539
437
|
ref: "embedContainer"
|
|
540
438
|
}));
|
|
541
439
|
}
|
|
@@ -544,46 +442,46 @@ function (_Component) {
|
|
|
544
442
|
return TwitterShareButton;
|
|
545
443
|
}(React.Component);
|
|
546
444
|
|
|
547
|
-
_defineProperty(TwitterShareButton, "propTypes", {
|
|
445
|
+
inherits$1$1._defineProperty(TwitterShareButton, "propTypes", {
|
|
548
446
|
/**
|
|
549
447
|
* Url for sharing
|
|
550
448
|
*/
|
|
551
|
-
url: PropTypes__default
|
|
449
|
+
url: PropTypes__default.string.isRequired,
|
|
552
450
|
|
|
553
451
|
/**
|
|
554
452
|
* Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
|
|
555
453
|
*/
|
|
556
|
-
options: PropTypes__default
|
|
454
|
+
options: PropTypes__default.object,
|
|
557
455
|
|
|
558
456
|
/**
|
|
559
457
|
* Placeholder while tweet is loading
|
|
560
458
|
*/
|
|
561
|
-
placeholder: PropTypes__default
|
|
459
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
562
460
|
|
|
563
461
|
/**
|
|
564
462
|
* Function to execute after load, return html element
|
|
565
463
|
*/
|
|
566
|
-
onLoad: PropTypes__default
|
|
464
|
+
onLoad: PropTypes__default.func
|
|
567
465
|
});
|
|
568
466
|
|
|
569
467
|
var TwitterFollowButton =
|
|
570
468
|
/*#__PURE__*/
|
|
571
469
|
function (_Component) {
|
|
572
|
-
_inherits(TwitterFollowButton, _Component);
|
|
470
|
+
inherits$1$1._inherits(TwitterFollowButton, _Component);
|
|
573
471
|
|
|
574
472
|
function TwitterFollowButton(props) {
|
|
575
473
|
var _this;
|
|
576
474
|
|
|
577
|
-
_classCallCheck(this, TwitterFollowButton);
|
|
475
|
+
inherits$1$1._classCallCheck(this, TwitterFollowButton);
|
|
578
476
|
|
|
579
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
|
|
477
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterFollowButton).call(this, props));
|
|
580
478
|
_this.state = {
|
|
581
479
|
isLoading: true
|
|
582
480
|
};
|
|
583
481
|
return _this;
|
|
584
482
|
}
|
|
585
483
|
|
|
586
|
-
_createClass(TwitterFollowButton, [{
|
|
484
|
+
inherits$1$1._createClass(TwitterFollowButton, [{
|
|
587
485
|
key: "componentDidMount",
|
|
588
486
|
value: function componentDidMount() {
|
|
589
487
|
var _this2 = this;
|
|
@@ -623,7 +521,7 @@ function (_Component) {
|
|
|
623
521
|
value: function render() {
|
|
624
522
|
var isLoading = this.state.isLoading;
|
|
625
523
|
var placeholder = this.props.placeholder;
|
|
626
|
-
return React__default
|
|
524
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
627
525
|
ref: "embedContainer"
|
|
628
526
|
}));
|
|
629
527
|
}
|
|
@@ -632,46 +530,46 @@ function (_Component) {
|
|
|
632
530
|
return TwitterFollowButton;
|
|
633
531
|
}(React.Component);
|
|
634
532
|
|
|
635
|
-
_defineProperty(TwitterFollowButton, "propTypes", {
|
|
533
|
+
inherits$1$1._defineProperty(TwitterFollowButton, "propTypes", {
|
|
636
534
|
/**
|
|
637
535
|
* Username of twitter user which will be followed on click
|
|
638
536
|
*/
|
|
639
|
-
screenName: PropTypes__default
|
|
537
|
+
screenName: PropTypes__default.string.isRequired,
|
|
640
538
|
|
|
641
539
|
/**
|
|
642
540
|
* Additional options to be added to the button
|
|
643
541
|
*/
|
|
644
|
-
options: PropTypes__default
|
|
542
|
+
options: PropTypes__default.object,
|
|
645
543
|
|
|
646
544
|
/**
|
|
647
545
|
* Placeholder while tweet is loading
|
|
648
546
|
*/
|
|
649
|
-
placeholder: PropTypes__default
|
|
547
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
650
548
|
|
|
651
549
|
/**
|
|
652
550
|
* Function to execute after load, return html element
|
|
653
551
|
*/
|
|
654
|
-
onLoad: PropTypes__default
|
|
552
|
+
onLoad: PropTypes__default.func
|
|
655
553
|
});
|
|
656
554
|
|
|
657
555
|
var TwitterHashtagButton =
|
|
658
556
|
/*#__PURE__*/
|
|
659
557
|
function (_Component) {
|
|
660
|
-
_inherits(TwitterHashtagButton, _Component);
|
|
558
|
+
inherits$1$1._inherits(TwitterHashtagButton, _Component);
|
|
661
559
|
|
|
662
560
|
function TwitterHashtagButton(props) {
|
|
663
561
|
var _this;
|
|
664
562
|
|
|
665
|
-
_classCallCheck(this, TwitterHashtagButton);
|
|
563
|
+
inherits$1$1._classCallCheck(this, TwitterHashtagButton);
|
|
666
564
|
|
|
667
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
|
|
565
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterHashtagButton).call(this, props));
|
|
668
566
|
_this.state = {
|
|
669
567
|
isLoading: true
|
|
670
568
|
};
|
|
671
569
|
return _this;
|
|
672
570
|
}
|
|
673
571
|
|
|
674
|
-
_createClass(TwitterHashtagButton, [{
|
|
572
|
+
inherits$1$1._createClass(TwitterHashtagButton, [{
|
|
675
573
|
key: "componentDidMount",
|
|
676
574
|
value: function componentDidMount() {
|
|
677
575
|
var _this2 = this;
|
|
@@ -711,7 +609,7 @@ function (_Component) {
|
|
|
711
609
|
value: function render() {
|
|
712
610
|
var isLoading = this.state.isLoading;
|
|
713
611
|
var placeholder = this.props.placeholder;
|
|
714
|
-
return React__default
|
|
612
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
715
613
|
ref: "embedContainer"
|
|
716
614
|
}));
|
|
717
615
|
}
|
|
@@ -720,46 +618,46 @@ function (_Component) {
|
|
|
720
618
|
return TwitterHashtagButton;
|
|
721
619
|
}(React.Component);
|
|
722
620
|
|
|
723
|
-
_defineProperty(TwitterHashtagButton, "propTypes", {
|
|
621
|
+
inherits$1$1._defineProperty(TwitterHashtagButton, "propTypes", {
|
|
724
622
|
/**
|
|
725
623
|
* Tag name for hashtag button
|
|
726
624
|
*/
|
|
727
|
-
tag: PropTypes__default
|
|
625
|
+
tag: PropTypes__default.string.isRequired,
|
|
728
626
|
|
|
729
627
|
/**
|
|
730
628
|
* Additional options to be added to the button
|
|
731
629
|
*/
|
|
732
|
-
options: PropTypes__default
|
|
630
|
+
options: PropTypes__default.object,
|
|
733
631
|
|
|
734
632
|
/**
|
|
735
633
|
* Placeholder while tweet is loading
|
|
736
634
|
*/
|
|
737
|
-
placeholder: PropTypes__default
|
|
635
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
738
636
|
|
|
739
637
|
/**
|
|
740
638
|
* Function to execute after load, return html element
|
|
741
639
|
*/
|
|
742
|
-
onLoad: PropTypes__default
|
|
640
|
+
onLoad: PropTypes__default.func
|
|
743
641
|
});
|
|
744
642
|
|
|
745
643
|
var TwitterMentionButton =
|
|
746
644
|
/*#__PURE__*/
|
|
747
645
|
function (_Component) {
|
|
748
|
-
_inherits(TwitterMentionButton, _Component);
|
|
646
|
+
inherits$1$1._inherits(TwitterMentionButton, _Component);
|
|
749
647
|
|
|
750
648
|
function TwitterMentionButton(props) {
|
|
751
649
|
var _this;
|
|
752
650
|
|
|
753
|
-
_classCallCheck(this, TwitterMentionButton);
|
|
651
|
+
inherits$1$1._classCallCheck(this, TwitterMentionButton);
|
|
754
652
|
|
|
755
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
|
|
653
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterMentionButton).call(this, props));
|
|
756
654
|
_this.state = {
|
|
757
655
|
isLoading: true
|
|
758
656
|
};
|
|
759
657
|
return _this;
|
|
760
658
|
}
|
|
761
659
|
|
|
762
|
-
_createClass(TwitterMentionButton, [{
|
|
660
|
+
inherits$1$1._createClass(TwitterMentionButton, [{
|
|
763
661
|
key: "componentDidMount",
|
|
764
662
|
value: function componentDidMount() {
|
|
765
663
|
var _this2 = this;
|
|
@@ -799,7 +697,7 @@ function (_Component) {
|
|
|
799
697
|
value: function render() {
|
|
800
698
|
var isLoading = this.state.isLoading;
|
|
801
699
|
var placeholder = this.props.placeholder;
|
|
802
|
-
return React__default
|
|
700
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
803
701
|
ref: "embedContainer"
|
|
804
702
|
}));
|
|
805
703
|
}
|
|
@@ -808,46 +706,46 @@ function (_Component) {
|
|
|
808
706
|
return TwitterMentionButton;
|
|
809
707
|
}(React.Component);
|
|
810
708
|
|
|
811
|
-
_defineProperty(TwitterMentionButton, "propTypes", {
|
|
709
|
+
inherits$1$1._defineProperty(TwitterMentionButton, "propTypes", {
|
|
812
710
|
/**
|
|
813
711
|
* Username to which you will need to tweet
|
|
814
712
|
*/
|
|
815
|
-
screenName: PropTypes__default
|
|
713
|
+
screenName: PropTypes__default.string.isRequired,
|
|
816
714
|
|
|
817
715
|
/**
|
|
818
716
|
* Additional options for overriding config.
|
|
819
717
|
*/
|
|
820
|
-
options: PropTypes__default
|
|
718
|
+
options: PropTypes__default.object,
|
|
821
719
|
|
|
822
720
|
/**
|
|
823
721
|
* Placeholder while tweet is loading
|
|
824
722
|
*/
|
|
825
|
-
placeholder: PropTypes__default
|
|
723
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
826
724
|
|
|
827
725
|
/**
|
|
828
726
|
* Function to execute after load, return html element
|
|
829
727
|
*/
|
|
830
|
-
onLoad: PropTypes__default
|
|
728
|
+
onLoad: PropTypes__default.func
|
|
831
729
|
});
|
|
832
730
|
|
|
833
731
|
var TwitterTweetEmbed =
|
|
834
732
|
/*#__PURE__*/
|
|
835
733
|
function (_Component) {
|
|
836
|
-
_inherits(TwitterTweetEmbed, _Component);
|
|
734
|
+
inherits$1$1._inherits(TwitterTweetEmbed, _Component);
|
|
837
735
|
|
|
838
736
|
function TwitterTweetEmbed(props) {
|
|
839
737
|
var _this;
|
|
840
738
|
|
|
841
|
-
_classCallCheck(this, TwitterTweetEmbed);
|
|
739
|
+
inherits$1$1._classCallCheck(this, TwitterTweetEmbed);
|
|
842
740
|
|
|
843
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
|
|
741
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterTweetEmbed).call(this, props));
|
|
844
742
|
_this.state = {
|
|
845
743
|
isLoading: true
|
|
846
744
|
};
|
|
847
745
|
return _this;
|
|
848
746
|
}
|
|
849
747
|
|
|
850
|
-
_createClass(TwitterTweetEmbed, [{
|
|
748
|
+
inherits$1$1._createClass(TwitterTweetEmbed, [{
|
|
851
749
|
key: "renderWidget",
|
|
852
750
|
value: function renderWidget() {
|
|
853
751
|
var _this2 = this;
|
|
@@ -894,7 +792,7 @@ function (_Component) {
|
|
|
894
792
|
value: function render() {
|
|
895
793
|
var isLoading = this.state.isLoading;
|
|
896
794
|
var placeholder = this.props.placeholder;
|
|
897
|
-
return React__default
|
|
795
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
898
796
|
ref: "embedContainer"
|
|
899
797
|
}));
|
|
900
798
|
}
|
|
@@ -903,46 +801,46 @@ function (_Component) {
|
|
|
903
801
|
return TwitterTweetEmbed;
|
|
904
802
|
}(React.Component);
|
|
905
803
|
|
|
906
|
-
_defineProperty(TwitterTweetEmbed, "propTypes", {
|
|
804
|
+
inherits$1$1._defineProperty(TwitterTweetEmbed, "propTypes", {
|
|
907
805
|
/**
|
|
908
806
|
* Tweet id that needs to be shown
|
|
909
807
|
*/
|
|
910
|
-
tweetId: PropTypes__default
|
|
808
|
+
tweetId: PropTypes__default.string.isRequired,
|
|
911
809
|
|
|
912
810
|
/**
|
|
913
811
|
* Additional options to pass to twitter widget plugin
|
|
914
812
|
*/
|
|
915
|
-
options: PropTypes__default
|
|
813
|
+
options: PropTypes__default.object,
|
|
916
814
|
|
|
917
815
|
/**
|
|
918
816
|
* Placeholder while tweet is loading
|
|
919
817
|
*/
|
|
920
|
-
placeholder: PropTypes__default
|
|
818
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
921
819
|
|
|
922
820
|
/**
|
|
923
821
|
* Function to execute after load, return html element
|
|
924
822
|
*/
|
|
925
|
-
onLoad: PropTypes__default
|
|
823
|
+
onLoad: PropTypes__default.func
|
|
926
824
|
});
|
|
927
825
|
|
|
928
826
|
var TwitterMomentShare =
|
|
929
827
|
/*#__PURE__*/
|
|
930
828
|
function (_Component) {
|
|
931
|
-
_inherits(TwitterMomentShare, _Component);
|
|
829
|
+
inherits$1$1._inherits(TwitterMomentShare, _Component);
|
|
932
830
|
|
|
933
831
|
function TwitterMomentShare(props) {
|
|
934
832
|
var _this;
|
|
935
833
|
|
|
936
|
-
_classCallCheck(this, TwitterMomentShare);
|
|
834
|
+
inherits$1$1._classCallCheck(this, TwitterMomentShare);
|
|
937
835
|
|
|
938
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
|
|
836
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterMomentShare).call(this, props));
|
|
939
837
|
_this.state = {
|
|
940
838
|
isLoading: true
|
|
941
839
|
};
|
|
942
840
|
return _this;
|
|
943
841
|
}
|
|
944
842
|
|
|
945
|
-
_createClass(TwitterMomentShare, [{
|
|
843
|
+
inherits$1$1._createClass(TwitterMomentShare, [{
|
|
946
844
|
key: "componentDidMount",
|
|
947
845
|
value: function componentDidMount() {
|
|
948
846
|
var _this2 = this;
|
|
@@ -982,7 +880,7 @@ function (_Component) {
|
|
|
982
880
|
value: function render() {
|
|
983
881
|
var isLoading = this.state.isLoading;
|
|
984
882
|
var placeholder = this.props.placeholder;
|
|
985
|
-
return React__default
|
|
883
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
986
884
|
ref: "shareMoment"
|
|
987
885
|
}));
|
|
988
886
|
}
|
|
@@ -991,46 +889,46 @@ function (_Component) {
|
|
|
991
889
|
return TwitterMomentShare;
|
|
992
890
|
}(React.Component);
|
|
993
891
|
|
|
994
|
-
_defineProperty(TwitterMomentShare, "propTypes", {
|
|
892
|
+
inherits$1$1._defineProperty(TwitterMomentShare, "propTypes", {
|
|
995
893
|
/**
|
|
996
894
|
* id of Twitter moment to show
|
|
997
895
|
*/
|
|
998
|
-
momentId: PropTypes__default
|
|
896
|
+
momentId: PropTypes__default.string.isRequired,
|
|
999
897
|
|
|
1000
898
|
/**
|
|
1001
899
|
* Additional options for overriding config.
|
|
1002
900
|
*/
|
|
1003
|
-
options: PropTypes__default
|
|
901
|
+
options: PropTypes__default.object,
|
|
1004
902
|
|
|
1005
903
|
/**
|
|
1006
904
|
* Placeholder while tweet is loading
|
|
1007
905
|
*/
|
|
1008
|
-
placeholder: PropTypes__default
|
|
906
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1009
907
|
|
|
1010
908
|
/**
|
|
1011
909
|
* Function to execute after load, return html element
|
|
1012
910
|
*/
|
|
1013
|
-
onLoad: PropTypes__default
|
|
911
|
+
onLoad: PropTypes__default.func
|
|
1014
912
|
});
|
|
1015
913
|
|
|
1016
914
|
var TwitterDMButton =
|
|
1017
915
|
/*#__PURE__*/
|
|
1018
916
|
function (_Component) {
|
|
1019
|
-
_inherits(TwitterDMButton, _Component);
|
|
917
|
+
inherits$1$1._inherits(TwitterDMButton, _Component);
|
|
1020
918
|
|
|
1021
919
|
function TwitterDMButton(props) {
|
|
1022
920
|
var _this;
|
|
1023
921
|
|
|
1024
|
-
_classCallCheck(this, TwitterDMButton);
|
|
922
|
+
inherits$1$1._classCallCheck(this, TwitterDMButton);
|
|
1025
923
|
|
|
1026
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
|
|
924
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterDMButton).call(this, props));
|
|
1027
925
|
_this.state = {
|
|
1028
926
|
isLoading: true
|
|
1029
927
|
};
|
|
1030
928
|
return _this;
|
|
1031
929
|
}
|
|
1032
930
|
|
|
1033
|
-
_createClass(TwitterDMButton, [{
|
|
931
|
+
inherits$1$1._createClass(TwitterDMButton, [{
|
|
1034
932
|
key: "componentDidMount",
|
|
1035
933
|
value: function componentDidMount() {
|
|
1036
934
|
var _this2 = this;
|
|
@@ -1070,7 +968,7 @@ function (_Component) {
|
|
|
1070
968
|
value: function render() {
|
|
1071
969
|
var isLoading = this.state.isLoading;
|
|
1072
970
|
var placeholder = this.props.placeholder;
|
|
1073
|
-
return React__default
|
|
971
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1074
972
|
ref: "embedContainer"
|
|
1075
973
|
}));
|
|
1076
974
|
}
|
|
@@ -1079,46 +977,46 @@ function (_Component) {
|
|
|
1079
977
|
return TwitterDMButton;
|
|
1080
978
|
}(React.Component);
|
|
1081
979
|
|
|
1082
|
-
_defineProperty(TwitterDMButton, "propTypes", {
|
|
980
|
+
inherits$1$1._defineProperty(TwitterDMButton, "propTypes", {
|
|
1083
981
|
/**
|
|
1084
982
|
* Twitter user id for DM button
|
|
1085
983
|
*/
|
|
1086
|
-
id: PropTypes__default
|
|
984
|
+
id: PropTypes__default.number.isRequired,
|
|
1087
985
|
|
|
1088
986
|
/**
|
|
1089
987
|
* Additional options to be added to the button
|
|
1090
988
|
*/
|
|
1091
|
-
options: PropTypes__default
|
|
989
|
+
options: PropTypes__default.object,
|
|
1092
990
|
|
|
1093
991
|
/**
|
|
1094
992
|
* Placeholder while tweet is loading
|
|
1095
993
|
*/
|
|
1096
|
-
placeholder: PropTypes__default
|
|
994
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1097
995
|
|
|
1098
996
|
/**
|
|
1099
997
|
* Function to execute after load, return html element
|
|
1100
998
|
*/
|
|
1101
|
-
onLoad: PropTypes__default
|
|
999
|
+
onLoad: PropTypes__default.func
|
|
1102
1000
|
});
|
|
1103
1001
|
|
|
1104
1002
|
var TwitterVideoEmbed =
|
|
1105
1003
|
/*#__PURE__*/
|
|
1106
1004
|
function (_Component) {
|
|
1107
|
-
_inherits(TwitterVideoEmbed, _Component);
|
|
1005
|
+
inherits$1$1._inherits(TwitterVideoEmbed, _Component);
|
|
1108
1006
|
|
|
1109
1007
|
function TwitterVideoEmbed(props) {
|
|
1110
1008
|
var _this;
|
|
1111
1009
|
|
|
1112
|
-
_classCallCheck(this, TwitterVideoEmbed);
|
|
1010
|
+
inherits$1$1._classCallCheck(this, TwitterVideoEmbed);
|
|
1113
1011
|
|
|
1114
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
|
|
1012
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterVideoEmbed).call(this, props));
|
|
1115
1013
|
_this.state = {
|
|
1116
1014
|
isLoading: true
|
|
1117
1015
|
};
|
|
1118
1016
|
return _this;
|
|
1119
1017
|
}
|
|
1120
1018
|
|
|
1121
|
-
_createClass(TwitterVideoEmbed, [{
|
|
1019
|
+
inherits$1$1._createClass(TwitterVideoEmbed, [{
|
|
1122
1020
|
key: "componentDidMount",
|
|
1123
1021
|
value: function componentDidMount() {
|
|
1124
1022
|
var _this2 = this;
|
|
@@ -1158,7 +1056,7 @@ function (_Component) {
|
|
|
1158
1056
|
value: function render() {
|
|
1159
1057
|
var isLoading = this.state.isLoading;
|
|
1160
1058
|
var placeholder = this.props.placeholder;
|
|
1161
|
-
return React__default
|
|
1059
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1162
1060
|
ref: "embedContainer"
|
|
1163
1061
|
}));
|
|
1164
1062
|
}
|
|
@@ -1167,41 +1065,41 @@ function (_Component) {
|
|
|
1167
1065
|
return TwitterVideoEmbed;
|
|
1168
1066
|
}(React.Component);
|
|
1169
1067
|
|
|
1170
|
-
_defineProperty(TwitterVideoEmbed, "propTypes", {
|
|
1068
|
+
inherits$1$1._defineProperty(TwitterVideoEmbed, "propTypes", {
|
|
1171
1069
|
/**
|
|
1172
1070
|
* Id of video tweet.
|
|
1173
1071
|
*/
|
|
1174
|
-
id: PropTypes__default
|
|
1072
|
+
id: PropTypes__default.string.isRequired,
|
|
1175
1073
|
|
|
1176
1074
|
/**
|
|
1177
1075
|
* Placeholder while tweet is loading
|
|
1178
1076
|
*/
|
|
1179
|
-
placeholder: PropTypes__default
|
|
1077
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1180
1078
|
|
|
1181
1079
|
/**
|
|
1182
1080
|
* Function to execute after load, return html element
|
|
1183
1081
|
*/
|
|
1184
|
-
onLoad: PropTypes__default
|
|
1082
|
+
onLoad: PropTypes__default.func
|
|
1185
1083
|
});
|
|
1186
1084
|
|
|
1187
1085
|
var TwitterOnAirButton =
|
|
1188
1086
|
/*#__PURE__*/
|
|
1189
1087
|
function (_Component) {
|
|
1190
|
-
_inherits(TwitterOnAirButton, _Component);
|
|
1088
|
+
inherits$1$1._inherits(TwitterOnAirButton, _Component);
|
|
1191
1089
|
|
|
1192
1090
|
function TwitterOnAirButton(props) {
|
|
1193
1091
|
var _this;
|
|
1194
1092
|
|
|
1195
|
-
_classCallCheck(this, TwitterOnAirButton);
|
|
1093
|
+
inherits$1$1._classCallCheck(this, TwitterOnAirButton);
|
|
1196
1094
|
|
|
1197
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
|
|
1095
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterOnAirButton).call(this, props));
|
|
1198
1096
|
_this.state = {
|
|
1199
1097
|
isLoading: true
|
|
1200
1098
|
};
|
|
1201
1099
|
return _this;
|
|
1202
1100
|
}
|
|
1203
1101
|
|
|
1204
|
-
_createClass(TwitterOnAirButton, [{
|
|
1102
|
+
inherits$1$1._createClass(TwitterOnAirButton, [{
|
|
1205
1103
|
key: "componentDidMount",
|
|
1206
1104
|
value: function componentDidMount() {
|
|
1207
1105
|
var _this2 = this;
|
|
@@ -1241,7 +1139,7 @@ function (_Component) {
|
|
|
1241
1139
|
value: function render() {
|
|
1242
1140
|
var isLoading = this.state.isLoading;
|
|
1243
1141
|
var placeholder = this.props.placeholder;
|
|
1244
|
-
return React__default
|
|
1142
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1245
1143
|
ref: "embedContainer"
|
|
1246
1144
|
}));
|
|
1247
1145
|
}
|
|
@@ -1250,26 +1148,26 @@ function (_Component) {
|
|
|
1250
1148
|
return TwitterOnAirButton;
|
|
1251
1149
|
}(React.Component);
|
|
1252
1150
|
|
|
1253
|
-
_defineProperty(TwitterOnAirButton, "propTypes", {
|
|
1151
|
+
inherits$1$1._defineProperty(TwitterOnAirButton, "propTypes", {
|
|
1254
1152
|
/**
|
|
1255
1153
|
* Username for which you require periscope on air button
|
|
1256
1154
|
*/
|
|
1257
|
-
username: PropTypes__default
|
|
1155
|
+
username: PropTypes__default.string.isRequired,
|
|
1258
1156
|
|
|
1259
1157
|
/**
|
|
1260
1158
|
* Additional options for overriding config.
|
|
1261
1159
|
*/
|
|
1262
|
-
options: PropTypes__default
|
|
1160
|
+
options: PropTypes__default.object,
|
|
1263
1161
|
|
|
1264
1162
|
/**
|
|
1265
1163
|
* Placeholder while tweet is loading
|
|
1266
1164
|
*/
|
|
1267
|
-
placeholder: PropTypes__default
|
|
1165
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1268
1166
|
|
|
1269
1167
|
/**
|
|
1270
1168
|
* Function to execute after load, return html element
|
|
1271
1169
|
*/
|
|
1272
|
-
onLoad: PropTypes__default
|
|
1170
|
+
onLoad: PropTypes__default.func
|
|
1273
1171
|
});
|
|
1274
1172
|
|
|
1275
1173
|
var ImageSlider = function ImageSlider(props) {
|
|
@@ -1375,61 +1273,61 @@ var ImageSlider = function ImageSlider(props) {
|
|
|
1375
1273
|
}, []);
|
|
1376
1274
|
|
|
1377
1275
|
var variant = 'black';
|
|
1378
|
-
return React__default
|
|
1379
|
-
React__default
|
|
1276
|
+
return React__default.createElement(
|
|
1277
|
+
React__default.Fragment,
|
|
1380
1278
|
null,
|
|
1381
|
-
React__default
|
|
1279
|
+
React__default.createElement(
|
|
1382
1280
|
'div',
|
|
1383
1281
|
{ ref: viewableWindow, id: 'vid-slider', className: 'col' },
|
|
1384
|
-
React__default
|
|
1282
|
+
React__default.createElement(
|
|
1385
1283
|
'div',
|
|
1386
1284
|
{ className: 'row' },
|
|
1387
|
-
showScroller && React__default
|
|
1285
|
+
showScroller && React__default.createElement(
|
|
1388
1286
|
'div',
|
|
1389
1287
|
{ onClick: function onClick(e) {
|
|
1390
1288
|
return scrollSlider(e, 'prev');
|
|
1391
1289
|
}, className: 'tile__slider-prev', style: { color: variant } },
|
|
1392
|
-
React__default
|
|
1290
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
|
|
1393
1291
|
),
|
|
1394
|
-
showScroller && React__default
|
|
1292
|
+
showScroller && React__default.createElement(
|
|
1395
1293
|
'div',
|
|
1396
1294
|
{ onClick: function onClick(e) {
|
|
1397
1295
|
return scrollSlider(e, 'next');
|
|
1398
1296
|
}, className: 'tile__slider-next', style: { color: variant } },
|
|
1399
|
-
React__default
|
|
1297
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
|
|
1400
1298
|
),
|
|
1401
|
-
React__default
|
|
1299
|
+
React__default.createElement(
|
|
1402
1300
|
'div',
|
|
1403
1301
|
{ ref: innerSlider, className: 'row__inner' },
|
|
1404
1302
|
props.data.slides.map(function (img, index) {
|
|
1405
1303
|
var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
|
|
1406
1304
|
if (!img.slideshowImage.link) {
|
|
1407
|
-
return React__default
|
|
1305
|
+
return React__default.createElement(
|
|
1408
1306
|
'div',
|
|
1409
1307
|
{ ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
|
|
1410
|
-
React__default
|
|
1308
|
+
React__default.createElement(
|
|
1411
1309
|
'div',
|
|
1412
1310
|
{ className: 'tile__media' },
|
|
1413
|
-
React__default
|
|
1311
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
1414
1312
|
),
|
|
1415
|
-
React__default
|
|
1313
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
1416
1314
|
);
|
|
1417
1315
|
} else {
|
|
1418
|
-
return React__default
|
|
1316
|
+
return React__default.createElement(
|
|
1419
1317
|
'a',
|
|
1420
1318
|
{ ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
|
|
1421
|
-
React__default
|
|
1319
|
+
React__default.createElement(
|
|
1422
1320
|
'div',
|
|
1423
1321
|
{ className: 'tile__media' },
|
|
1424
|
-
React__default
|
|
1322
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
1425
1323
|
),
|
|
1426
|
-
React__default
|
|
1324
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
1427
1325
|
);
|
|
1428
1326
|
}
|
|
1429
1327
|
})
|
|
1430
1328
|
)
|
|
1431
1329
|
),
|
|
1432
|
-
React__default
|
|
1330
|
+
React__default.createElement(
|
|
1433
1331
|
'style',
|
|
1434
1332
|
{ jsx: 'true' },
|
|
1435
1333
|
'\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 '
|
|
@@ -1452,95 +1350,95 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
1452
1350
|
pageview = _ref.pageview,
|
|
1453
1351
|
page = _ref.page;
|
|
1454
1352
|
|
|
1455
|
-
return React__default
|
|
1456
|
-
React__default
|
|
1353
|
+
return React__default.createElement(
|
|
1354
|
+
React__default.Fragment,
|
|
1457
1355
|
null,
|
|
1458
|
-
React__default
|
|
1459
|
-
React__default
|
|
1356
|
+
React__default.createElement(Breadcrumbs, null),
|
|
1357
|
+
React__default.createElement(
|
|
1460
1358
|
'div',
|
|
1461
1359
|
{ className: 'partners-page' },
|
|
1462
|
-
React__default
|
|
1360
|
+
React__default.createElement(
|
|
1463
1361
|
'div',
|
|
1464
1362
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
1465
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default
|
|
1363
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
1466
1364
|
'a',
|
|
1467
1365
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
1468
|
-
React__default
|
|
1366
|
+
React__default.createElement(
|
|
1469
1367
|
'figure',
|
|
1470
1368
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
1471
|
-
React__default
|
|
1369
|
+
React__default.createElement('img', {
|
|
1472
1370
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
1473
1371
|
style: { maxWidth: '100%' },
|
|
1474
1372
|
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
1475
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default
|
|
1373
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
|
|
1476
1374
|
'figcaption',
|
|
1477
1375
|
null,
|
|
1478
1376
|
partnerDetails.thumbnail.caption
|
|
1479
1377
|
)
|
|
1480
1378
|
)
|
|
1481
|
-
) : React__default
|
|
1379
|
+
) : React__default.createElement(
|
|
1482
1380
|
'figure',
|
|
1483
1381
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%', textAlign: 'center' } },
|
|
1484
|
-
React__default
|
|
1382
|
+
React__default.createElement('img', {
|
|
1485
1383
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
1486
1384
|
style: { maxWidth: '100%' },
|
|
1487
1385
|
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
1488
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default
|
|
1386
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
|
|
1489
1387
|
'figcaption',
|
|
1490
1388
|
null,
|
|
1491
1389
|
partnerDetails.thumbnail.caption
|
|
1492
1390
|
)
|
|
1493
1391
|
),
|
|
1494
|
-
React__default
|
|
1392
|
+
React__default.createElement(
|
|
1495
1393
|
'style',
|
|
1496
1394
|
{ jsx: 'true' },
|
|
1497
1395
|
'\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 '
|
|
1498
1396
|
),
|
|
1499
|
-
partnerDetails.description && React__default
|
|
1397
|
+
partnerDetails.description && React__default.createElement(
|
|
1500
1398
|
'div',
|
|
1501
1399
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
1502
|
-
React__default
|
|
1400
|
+
React__default.createElement(BlockContent.BlockContent, _extends$1._extends({ serializers: getSerializers.getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
1503
1401
|
)
|
|
1504
1402
|
),
|
|
1505
|
-
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React__default
|
|
1403
|
+
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React__default.createElement(
|
|
1506
1404
|
'div',
|
|
1507
1405
|
{ className: 'mb-4', style: { padding: '0 15px' } },
|
|
1508
|
-
partnerDetails.affiliates[0].title && React__default
|
|
1406
|
+
partnerDetails.affiliates[0].title && React__default.createElement(
|
|
1509
1407
|
'h2',
|
|
1510
1408
|
{ className: 'bb-gold' },
|
|
1511
1409
|
partnerDetails.affiliates[0].title
|
|
1512
1410
|
),
|
|
1513
|
-
React__default
|
|
1411
|
+
React__default.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
|
|
1514
1412
|
),
|
|
1515
|
-
features.length > 0 && React__default
|
|
1413
|
+
features.length > 0 && React__default.createElement(
|
|
1516
1414
|
'div',
|
|
1517
1415
|
{ className: ' mb-5' },
|
|
1518
|
-
React__default
|
|
1416
|
+
React__default.createElement(Feature, { dataset: features, client: client })
|
|
1519
1417
|
),
|
|
1520
|
-
partnerDetails.twitter && React__default
|
|
1521
|
-
React__default
|
|
1418
|
+
partnerDetails.twitter && React__default.createElement(
|
|
1419
|
+
React__default.Fragment,
|
|
1522
1420
|
null,
|
|
1523
|
-
React__default
|
|
1421
|
+
React__default.createElement(
|
|
1524
1422
|
'div',
|
|
1525
1423
|
{ className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
|
|
1526
|
-
React__default
|
|
1424
|
+
React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
|
|
1527
1425
|
)
|
|
1528
1426
|
),
|
|
1529
|
-
React__default
|
|
1427
|
+
React__default.createElement(
|
|
1530
1428
|
'div',
|
|
1531
1429
|
null,
|
|
1532
|
-
posts && posts.length > 0 && React__default
|
|
1533
|
-
React__default
|
|
1430
|
+
posts && posts.length > 0 && React__default.createElement(
|
|
1431
|
+
React__default.Fragment,
|
|
1534
1432
|
null,
|
|
1535
|
-
React__default
|
|
1433
|
+
React__default.createElement(
|
|
1536
1434
|
'h2',
|
|
1537
1435
|
{ className: 'bb-gold mb-2' },
|
|
1538
1436
|
'Latest from ',
|
|
1539
1437
|
partnerDetails.name
|
|
1540
1438
|
),
|
|
1541
|
-
React__default
|
|
1439
|
+
React__default.createElement('hr', null)
|
|
1542
1440
|
),
|
|
1543
|
-
React__default
|
|
1441
|
+
React__default.createElement(QueueDeckExpanded, {
|
|
1544
1442
|
client: client,
|
|
1545
1443
|
mapping: Settings.mapping,
|
|
1546
1444
|
dataRecord: posts,
|