@mjhls/mjh-framework 1.0.834 → 1.0.835
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 +10 -9
- package/dist/cjs/AD300x250.js +29 -29
- package/dist/cjs/AD300x250x600.js +29 -29
- package/dist/cjs/AD728x90.js +32 -32
- 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-7b3f64e1.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-17a6e476.js → ADlgInfeed-8a05b63f.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +33 -33
- package/dist/cjs/AdSlotsProvider.js +19 -18
- package/dist/cjs/AlgoliaSearch.js +60 -14150
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +58 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -41
- package/dist/cjs/ArticleSeriesListing.js +62 -62
- package/dist/cjs/Auth.js +289 -285
- package/dist/cjs/AuthWrapper.js +48 -47
- package/dist/cjs/{AuthorComponent-0c464248.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-bac780ac.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -84
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +60 -58
- package/dist/cjs/ConferenceArticleCard.js +37 -36
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +106 -103
- package/dist/cjs/DeckQueue.js +91 -88
- package/dist/cjs/{Dfp-ac0c1cc6.js → Dfp-3f0ed4c8.js} +34 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +80 -80
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +186 -183
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +143 -138
- 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 +71 -71
- 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 +93 -93
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +40 -39
- package/dist/cjs/MasterDeck.js +80 -80
- package/dist/cjs/MediaSeriesLanding.js +1077 -985
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +151 -146
- package/dist/cjs/NavNative.js +145 -137
- package/dist/cjs/OncliveHero.js +19 -18
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +108 -108
- 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 +139 -135
- package/dist/cjs/QueueDeckExpanded.js +310 -311
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +36 -37
- package/dist/cjs/{SeriesSlider-abd231e9.js → SeriesSlider-e3e8ead7.js} +35 -34
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-bef9a9d8.js → SocialSearchComponent-948138c7.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +54 -54
- package/dist/cjs/TemplateNormal.js +74 -74
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +77 -74
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +51 -51
- package/dist/cjs/VideoSeriesListing.js +79 -79
- package/dist/cjs/View.js +251 -249
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +62 -61
- package/dist/cjs/{_is-array-39ff55dd.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-ef35661e.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-b231f928.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-c3aeb51d.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-7a3ce269.js → _to-object-6de10e57.js} +6 -6
- package/dist/cjs/{asyncToGenerator-8ae2191c.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/{core.get-iterator-method-6cd7682d.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-6191c8ee.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-fc002cec.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-03c4c82e.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-ab94a594.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-acc1318d.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +44 -45
- package/dist/cjs/{getTargeting-98ab97f7.js → getTargeting-a100d6e5.js} +11 -11
- 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-0f62d00b.js → index-4e883ea0.js} +488 -481
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-ff69979f.js → index-efca863c.js} +8 -8
- package/dist/cjs/{index-79eed652.js → index-f86bb269.js} +6 -6
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-bf016399.js → index.esm-2bb721c8.js} +19 -18
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +165 -163
- package/dist/cjs/{inherits-bfdb22af.js → inherits-c2065b95.js} +22 -22
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-b5e0d5f6.js → lodash-f0783643.js} +1 -1
- package/dist/cjs/{main-bc7d4bf8.js → main-f1c77adb.js} +70 -69
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-41819145.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-4fdb72e2.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-f2f8744b.js → toNumber-5e1fac58.js} +1 -1
- package/dist/cjs/{typeof-e83d4a26.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +8 -3
- package/dist/cjs/{ustream-api-c30d203c.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-68e3aaf2.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +22 -23
- package/dist/esm/AD300x250x600.js +22 -23
- package/dist/esm/AD728x90.js +24 -25
- 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-77c2092d.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-12d2ac78.js → ADlgInfeed-0bff9a62.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +21 -22
- package/dist/esm/AdSlotsProvider.js +11 -12
- package/dist/esm/AlgoliaSearch.js +30 -14121
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +48 -49
- package/dist/esm/ArticleSeriesLandingPage.js +31 -32
- package/dist/esm/ArticleSeriesListing.js +34 -35
- package/dist/esm/Auth.js +200 -200
- package/dist/esm/AuthWrapper.js +20 -20
- package/dist/esm/{AuthorComponent-5cab1f6b.js → AuthorComponent-30aeba69.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-ea93e8f7.js → BlockContent-c99c9a8d.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +23 -24
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +21 -21
- package/dist/esm/Column3.js +36 -37
- package/dist/esm/ConferenceArticleCard.js +22 -22
- package/dist/esm/DeckContent.js +55 -56
- package/dist/esm/DeckQueue.js +47 -48
- package/dist/esm/{Dfp-4b94fbd4.js → Dfp-be030f2a.js} +14 -15
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +47 -48
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +78 -79
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +35 -35
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +45 -46
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +27 -27
- package/dist/esm/IssueDeck.js +36 -36
- package/dist/esm/IssueLanding.js +83 -84
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +21 -22
- package/dist/esm/MasterDeck.js +43 -44
- package/dist/esm/MediaSeriesLanding.js +422 -333
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +42 -42
- package/dist/esm/NavNative.js +41 -41
- package/dist/esm/OncliveHero.js +4 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +56 -57
- 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 +76 -76
- package/dist/esm/QueueDeckExpanded.js +35 -36
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +35 -35
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- 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 +19 -20
- package/dist/esm/{SeriesSlider-d9cf4ffb.js → SeriesSlider-ae17159f.js} +9 -9
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialSearchComponent-4f7d1c5b.js → SocialSearchComponent-db963c3e.js} +8 -8
- package/dist/esm/TaxonomyCard.js +25 -25
- package/dist/esm/TaxonomyDescription.js +44 -45
- package/dist/esm/TemplateNormal.js +49 -50
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +13 -13
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +53 -54
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -38
- package/dist/esm/VideoSeriesListing.js +35 -36
- package/dist/esm/View.js +84 -86
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +21 -21
- package/dist/esm/{_is-array-328b85b7.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-0fa1c752.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-1b84e2bf.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-c8f72bf1.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-cedb5b78.js → _to-object-b50e61c3.js} +7 -7
- package/dist/esm/{asyncToGenerator-e1a2f43a.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{core.get-iterator-method-227107e6.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-89969f66.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-2f35af22.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-eb9699c0.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-1577cb76.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-be71a29a.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +44 -45
- package/dist/esm/{getTargeting-93bb872d.js → getTargeting-05c216d6.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
- package/dist/esm/{index-f7fdcc91.js → index-0dbff1d1.js} +8 -8
- 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-511bdaa5.js → index-79cfd25c.js} +6 -6
- package/dist/esm/{index-eca81448.js → index-b909354c.js} +115 -115
- package/dist/esm/{index.esm-ed50151c.js → index.esm-37268dca.js} +2 -2
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +120 -121
- package/dist/esm/{inherits-2cf82c38.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-526daf0a.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-a818d390.js → lodash-f97fd99a.js} +1 -1
- package/dist/esm/{main-ae902629.js → main-d4165069.js} +53 -53
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
- package/dist/esm/{slicedToArray-f0edf3d6.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-81605212.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-e3dcad26.js → toNumber-5aeba6e7.js} +1 -1
- package/dist/esm/{typeof-ad2c7a21.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +6 -1
- package/dist/esm/{ustream-api-cf90f7e6.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{web.dom.iterable-ace8ed30.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-53e27416.js +0 -105
- package/dist/cjs/keys-62e097ca.js +0 -25
- package/dist/cjs/stringify-7ccc8524.js +0 -17
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-637e8f49.js +0 -100
- package/dist/esm/stringify-d1b9276a.js +0 -15
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-57a70a56.js} +1 -1
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,46 +1,45 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-0fa1c752.js';
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-81605212.js';
|
|
7
|
-
import './core.get-iterator-method-227107e6.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-be71a29a.js';
|
|
10
|
-
import './_object-sap-1b84e2bf.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-2cf82c38.js';
|
|
12
|
-
import './define-property-2f35af22.js';
|
|
13
|
-
import './web.dom.iterable-ace8ed30.js';
|
|
14
|
-
import './typeof-ad2c7a21.js';
|
|
15
|
-
import './_is-array-328b85b7.js';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
16
4
|
import React__default from 'react';
|
|
17
|
-
import './
|
|
18
|
-
import
|
|
19
|
-
import '
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
24
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
6
|
+
import Container from 'react-bootstrap/Container';
|
|
7
|
+
import Row from 'react-bootstrap/Row';
|
|
8
|
+
import Col from 'react-bootstrap/Col';
|
|
9
|
+
import Card from 'react-bootstrap/Card';
|
|
10
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
25
11
|
import { withRouter } from 'next/router';
|
|
26
|
-
import './
|
|
27
|
-
import { d as debounce_1 } from './debounce-89969f66.js';
|
|
28
|
-
import './toNumber-e3dcad26.js';
|
|
12
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
29
13
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
30
|
-
import 'react-dom';
|
|
31
14
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
32
|
-
import './index-f7fdcc91.js';
|
|
33
15
|
import urlFor from './urlFor.js';
|
|
34
|
-
import { L as LazyLoad } from './index-
|
|
35
|
-
import { m as main_43 } from './main-
|
|
36
|
-
import { c as clean_html_1 } from './entities-
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
16
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-4a09242b.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-bc33758b.js';
|
|
22
|
+
import './_to-object-b50e61c3.js';
|
|
23
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
25
|
+
import './_object-pie-133f504a.js';
|
|
26
|
+
import './_object-sap-f353c2a9.js';
|
|
27
|
+
import './define-property-fe54dc9f.js';
|
|
28
|
+
import './typeof-a286cf0c.js';
|
|
29
|
+
import './web.dom.iterable-4109ff68.js';
|
|
30
|
+
import './_is-array-3e99e06e.js';
|
|
31
|
+
import './_library-528f1934.js';
|
|
32
|
+
import 'prop-types';
|
|
33
|
+
import './isSymbol-a7e9aafe.js';
|
|
34
|
+
import './toNumber-5aeba6e7.js';
|
|
35
|
+
import 'react-dom';
|
|
36
|
+
import './index-0dbff1d1.js';
|
|
37
|
+
import './slicedToArray-be2f7a22.js';
|
|
42
38
|
import './AdSlot.js';
|
|
43
|
-
import
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import './stringify-59c8f690.js';
|
|
41
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
42
|
+
import './Segment.js';
|
|
44
43
|
|
|
45
44
|
var DeckContent = function (_React$Component) {
|
|
46
45
|
_inherits(DeckContent, _React$Component);
|
|
@@ -174,14 +173,14 @@ var DeckContent = function (_React$Component) {
|
|
|
174
173
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
175
174
|
|
|
176
175
|
// please leave this for later debug purpose : Yong Jun.
|
|
177
|
-
/* console.log('page change reported', {
|
|
178
|
-
currentPage: currentPage,
|
|
179
|
-
pageNumber: pageNumber,
|
|
180
|
-
pathname: pathname,
|
|
181
|
-
path: path,
|
|
182
|
-
newPath: newPath,
|
|
183
|
-
firstPage: pageNumber === 1,
|
|
184
|
-
queryString: queryString
|
|
176
|
+
/* console.log('page change reported', {
|
|
177
|
+
currentPage: currentPage,
|
|
178
|
+
pageNumber: pageNumber,
|
|
179
|
+
pathname: pathname,
|
|
180
|
+
path: path,
|
|
181
|
+
newPath: newPath,
|
|
182
|
+
firstPage: pageNumber === 1,
|
|
183
|
+
queryString: queryString
|
|
185
184
|
}) */
|
|
186
185
|
|
|
187
186
|
if (pageview) {
|
|
@@ -274,7 +273,7 @@ var DeckContent = function (_React$Component) {
|
|
|
274
273
|
}
|
|
275
274
|
|
|
276
275
|
return React__default.createElement(
|
|
277
|
-
Row
|
|
276
|
+
Row,
|
|
278
277
|
null,
|
|
279
278
|
articles && articles.map(function (row, index) {
|
|
280
279
|
if (columns === 'rotate' && itemCounter % 3 === 0) {
|
|
@@ -299,10 +298,10 @@ var DeckContent = function (_React$Component) {
|
|
|
299
298
|
isVisible && _this.changePageNumber(pageNumber);
|
|
300
299
|
} },
|
|
301
300
|
React__default.createElement(
|
|
302
|
-
Col
|
|
301
|
+
Col,
|
|
303
302
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
304
303
|
React__default.createElement(
|
|
305
|
-
Card
|
|
304
|
+
Card,
|
|
306
305
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
307
306
|
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
308
307
|
'a',
|
|
@@ -310,7 +309,7 @@ var DeckContent = function (_React$Component) {
|
|
|
310
309
|
React__default.createElement(
|
|
311
310
|
LazyLoad,
|
|
312
311
|
{ height: _this.props.imageHeight },
|
|
313
|
-
React__default.createElement(Card
|
|
312
|
+
React__default.createElement(Card.Img, {
|
|
314
313
|
variant: 'top',
|
|
315
314
|
src: _this.renderCardImage(row, page),
|
|
316
315
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -318,19 +317,19 @@ var DeckContent = function (_React$Component) {
|
|
|
318
317
|
)
|
|
319
318
|
),
|
|
320
319
|
React__default.createElement(
|
|
321
|
-
Card
|
|
320
|
+
Card.Body,
|
|
322
321
|
null,
|
|
323
322
|
React__default.createElement(
|
|
324
323
|
'a',
|
|
325
324
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
326
325
|
React__default.createElement(
|
|
327
|
-
Card
|
|
326
|
+
Card.Title,
|
|
328
327
|
null,
|
|
329
328
|
row.title
|
|
330
329
|
)
|
|
331
330
|
),
|
|
332
331
|
_this.props.showPublished && row.published && React__default.createElement(
|
|
333
|
-
Card
|
|
332
|
+
Card.Subtitle,
|
|
334
333
|
null,
|
|
335
334
|
moment(row.published).format('MMMM DD, YYYY')
|
|
336
335
|
),
|
|
@@ -338,7 +337,7 @@ var DeckContent = function (_React$Component) {
|
|
|
338
337
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
339
338
|
}),
|
|
340
339
|
React__default.createElement(
|
|
341
|
-
Card
|
|
340
|
+
Card.Text,
|
|
342
341
|
null,
|
|
343
342
|
clean_html_1(row.summary)
|
|
344
343
|
)
|
|
@@ -356,7 +355,7 @@ var DeckContent = function (_React$Component) {
|
|
|
356
355
|
|
|
357
356
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
358
357
|
return React__default.createElement(
|
|
359
|
-
Col
|
|
358
|
+
Col,
|
|
360
359
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
361
360
|
rightItems[i].component
|
|
362
361
|
);
|
|
@@ -427,7 +426,7 @@ var DeckContent = function (_React$Component) {
|
|
|
427
426
|
InfiniteScroll,
|
|
428
427
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
429
428
|
React__default.createElement(
|
|
430
|
-
Container
|
|
429
|
+
Container,
|
|
431
430
|
null,
|
|
432
431
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
433
432
|
)
|
|
@@ -441,7 +440,7 @@ var DeckContent = function (_React$Component) {
|
|
|
441
440
|
React__default.Fragment,
|
|
442
441
|
null,
|
|
443
442
|
React__default.createElement(
|
|
444
|
-
Container
|
|
443
|
+
Container,
|
|
445
444
|
null,
|
|
446
445
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
447
446
|
),
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-0fa1c752.js';
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-81605212.js';
|
|
7
|
-
import './core.get-iterator-method-227107e6.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-be71a29a.js';
|
|
10
|
-
import './_object-sap-1b84e2bf.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-2cf82c38.js';
|
|
12
|
-
import './define-property-2f35af22.js';
|
|
13
|
-
import './web.dom.iterable-ace8ed30.js';
|
|
14
|
-
import './typeof-ad2c7a21.js';
|
|
15
|
-
import './_is-array-328b85b7.js';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
16
4
|
import React__default from 'react';
|
|
17
|
-
import './
|
|
18
|
-
import
|
|
19
|
-
import '
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
6
|
+
import Container from 'react-bootstrap/Container';
|
|
7
|
+
import Row from 'react-bootstrap/Row';
|
|
8
|
+
import Col from 'react-bootstrap/Col';
|
|
9
|
+
import Card from 'react-bootstrap/Card';
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
11
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
25
12
|
import { withRouter } from 'next/router';
|
|
26
|
-
import './
|
|
27
|
-
import {
|
|
28
|
-
import './
|
|
13
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
|
+
import { g as get_1 } from './get-3c308da4.js';
|
|
15
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
29
16
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
30
|
-
import 'react-dom';
|
|
31
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
32
|
-
import './index-f7fdcc91.js';
|
|
33
17
|
import urlFor from './urlFor.js';
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import './
|
|
18
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
19
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-bc33758b.js';
|
|
22
|
+
import './_to-object-b50e61c3.js';
|
|
23
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
25
|
+
import './_object-pie-133f504a.js';
|
|
26
|
+
import './_object-sap-f353c2a9.js';
|
|
27
|
+
import './define-property-fe54dc9f.js';
|
|
28
|
+
import './typeof-a286cf0c.js';
|
|
29
|
+
import './web.dom.iterable-4109ff68.js';
|
|
30
|
+
import './_is-array-3e99e06e.js';
|
|
31
|
+
import './_library-528f1934.js';
|
|
32
|
+
import 'prop-types';
|
|
33
|
+
import 'react-dom';
|
|
34
|
+
import './isSymbol-a7e9aafe.js';
|
|
35
|
+
import './eq-bdcbf886.js';
|
|
36
|
+
import './toNumber-5aeba6e7.js';
|
|
37
|
+
import './index-0dbff1d1.js';
|
|
39
38
|
|
|
40
39
|
var DeckQueue = function (_React$Component) {
|
|
41
40
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -220,7 +219,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
220
219
|
var numberOfItemsBeforeAd = 6;
|
|
221
220
|
|
|
222
221
|
return React__default.createElement(
|
|
223
|
-
Row
|
|
222
|
+
Row,
|
|
224
223
|
null,
|
|
225
224
|
this.state.data && this.state.data.map(function (row, index) {
|
|
226
225
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
@@ -236,16 +235,16 @@ var DeckQueue = function (_React$Component) {
|
|
|
236
235
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
237
236
|
} },
|
|
238
237
|
React__default.createElement(
|
|
239
|
-
Col
|
|
238
|
+
Col,
|
|
240
239
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
241
240
|
React__default.createElement(
|
|
242
|
-
Card
|
|
241
|
+
Card,
|
|
243
242
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
244
243
|
React__default.createElement(
|
|
245
|
-
Row
|
|
244
|
+
Row,
|
|
246
245
|
{ style: { flexDirection: mode } },
|
|
247
246
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
248
|
-
Col
|
|
247
|
+
Col,
|
|
249
248
|
{ md: 12, lg: 4 },
|
|
250
249
|
React__default.createElement(
|
|
251
250
|
'a',
|
|
@@ -253,18 +252,18 @@ var DeckQueue = function (_React$Component) {
|
|
|
253
252
|
React__default.createElement(
|
|
254
253
|
LazyLoad,
|
|
255
254
|
{ height: _this2.props.imageHeight },
|
|
256
|
-
React__default.createElement(Card
|
|
255
|
+
React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
257
256
|
)
|
|
258
257
|
)
|
|
259
258
|
),
|
|
260
259
|
React__default.createElement(
|
|
261
|
-
Col
|
|
260
|
+
Col,
|
|
262
261
|
null,
|
|
263
262
|
React__default.createElement(
|
|
264
|
-
Card
|
|
263
|
+
Card.Body,
|
|
265
264
|
{ style: { padding: '20px' } },
|
|
266
265
|
row.title && React__default.createElement(
|
|
267
|
-
Card
|
|
266
|
+
Card.Title,
|
|
268
267
|
null,
|
|
269
268
|
React__default.createElement(
|
|
270
269
|
'a',
|
|
@@ -273,12 +272,12 @@ var DeckQueue = function (_React$Component) {
|
|
|
273
272
|
)
|
|
274
273
|
),
|
|
275
274
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
276
|
-
Card
|
|
275
|
+
Card.Subtitle,
|
|
277
276
|
null,
|
|
278
277
|
moment(row.published).format('MMMM DD, YYYY')
|
|
279
278
|
),
|
|
280
279
|
_this2.props.showRecent && row.recent && row.recent.title && React__default.createElement(
|
|
281
|
-
Card
|
|
280
|
+
Card.Subtitle,
|
|
282
281
|
null,
|
|
283
282
|
'Recent : ',
|
|
284
283
|
React__default.createElement(
|
|
@@ -288,7 +287,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
288
287
|
)
|
|
289
288
|
),
|
|
290
289
|
row.summary && React__default.createElement(
|
|
291
|
-
Card
|
|
290
|
+
Card.Text,
|
|
292
291
|
null,
|
|
293
292
|
React__default.createElement(
|
|
294
293
|
'a',
|
|
@@ -326,7 +325,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
326
325
|
InfiniteScroll,
|
|
327
326
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
328
327
|
React__default.createElement(
|
|
329
|
-
Container
|
|
328
|
+
Container,
|
|
330
329
|
null,
|
|
331
330
|
this.cardLoader(page, columns, variant)
|
|
332
331
|
)
|
|
@@ -334,7 +333,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
334
333
|
React__default.Fragment,
|
|
335
334
|
null,
|
|
336
335
|
React__default.createElement(
|
|
337
|
-
Container
|
|
336
|
+
Container,
|
|
338
337
|
null,
|
|
339
338
|
this.cardLoader(page, columns, variant)
|
|
340
339
|
),
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './_to-object-cedb5b78.js';
|
|
3
|
-
import './es6.string.iterator-1577cb76.js';
|
|
4
|
-
import './core.get-iterator-method-227107e6.js';
|
|
5
|
-
import './web.dom.iterable-ace8ed30.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
6
2
|
import React__default, { useState } from 'react';
|
|
7
|
-
import './events-6c3a7a63.js';
|
|
8
|
-
import { b as lib_1, a as lib_2 } from './index-41a678ea.js';
|
|
9
3
|
import PropTypes from 'prop-types';
|
|
10
|
-
import './
|
|
11
|
-
import { d as debounce_1 } from './debounce-89969f66.js';
|
|
12
|
-
import './toNumber-e3dcad26.js';
|
|
13
|
-
import 'react-dom';
|
|
4
|
+
import { b as lib_1, a as lib_2 } from './index-5cc7b406.js';
|
|
14
5
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
15
|
-
import {
|
|
6
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './web.dom.iterable-4109ff68.js';
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './_to-object-b50e61c3.js';
|
|
11
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import 'react-dom';
|
|
13
|
+
import './isSymbol-a7e9aafe.js';
|
|
14
|
+
import './toNumber-5aeba6e7.js';
|
|
16
15
|
|
|
17
16
|
var AD = function AD(_ref) {
|
|
18
17
|
var networkID = _ref.networkID,
|
|
@@ -20,9 +19,9 @@ var AD = function AD(_ref) {
|
|
|
20
19
|
sizeMapping = _ref.sizeMapping,
|
|
21
20
|
className = _ref.className,
|
|
22
21
|
slotId = _ref.slotId,
|
|
23
|
-
sizes = _ref.sizes
|
|
24
|
-
|
|
25
|
-
_ref$targeting = _ref.targeting,
|
|
22
|
+
sizes = _ref.sizes;
|
|
23
|
+
_ref.minInViewPercent;
|
|
24
|
+
var _ref$targeting = _ref.targeting,
|
|
26
25
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting;
|
|
27
26
|
|
|
28
27
|
var _useState = useState(false),
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-f5ff6f5a.js';
|
|
1
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { _ as _export, a as _core } from './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import { _ as
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import { _ as _extends } from './extends-be71a29a.js';
|
|
9
|
-
import './define-property-2f35af22.js';
|
|
10
|
-
import './web.dom.iterable-ace8ed30.js';
|
|
3
|
+
import { _ as _export, a as _core } from './_to-object-b50e61c3.js';
|
|
4
|
+
import { _ as _objectToArray } from './_object-to-array-0f197f89.js';
|
|
5
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
|
|
6
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
7
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
8
|
+
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
11
9
|
import React__default, { useState, useEffect } from 'react';
|
|
12
|
-
import Container$1 from 'react-bootstrap/Container';
|
|
13
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
14
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
15
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
16
|
-
import './moment-b6f49411.js';
|
|
17
|
-
import { useRouter } from 'next/router';
|
|
18
10
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
19
|
-
import '
|
|
20
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-f0edf3d6.js';
|
|
21
|
-
import { _ as _JSON$stringify } from './stringify-d1b9276a.js';
|
|
22
|
-
import { _ as _objectToArray } from './_object-to-array-c8f72bf1.js';
|
|
23
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
24
|
-
import { _ as _defineProperty } from './defineProperty-eb9699c0.js';
|
|
11
|
+
import Container from 'react-bootstrap/Container';
|
|
25
12
|
import Spinner from 'react-bootstrap/Spinner';
|
|
13
|
+
import Row from 'react-bootstrap/Row';
|
|
14
|
+
import Col from 'react-bootstrap/Col';
|
|
15
|
+
import Card from 'react-bootstrap/Card';
|
|
26
16
|
import Form from 'react-bootstrap/Form';
|
|
27
|
-
import
|
|
17
|
+
import Button from 'react-bootstrap/Button';
|
|
18
|
+
import './main-d4165069.js';
|
|
19
|
+
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
28
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
|
+
import { useRouter } from 'next/router';
|
|
22
|
+
import './define-property-fe54dc9f.js';
|
|
23
|
+
import './_object-pie-133f504a.js';
|
|
24
|
+
import './web.dom.iterable-4109ff68.js';
|
|
25
|
+
import './es6.string.iterator-bc33758b.js';
|
|
26
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
27
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
28
|
+
import './moment-bc12cb97.js';
|
|
29
29
|
|
|
30
30
|
// https://github.com/tc39/proposal-object-values-entries
|
|
31
31
|
|
|
@@ -37,13 +37,13 @@ _export(_export.S, 'Object', {
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
var entries = _core.Object.entries;
|
|
40
|
+
var entries$1 = _core.Object.entries;
|
|
41
41
|
|
|
42
|
-
var entries
|
|
43
|
-
module.exports = { "default": entries, __esModule: true };
|
|
42
|
+
var entries = createCommonjsModule(function (module) {
|
|
43
|
+
module.exports = { "default": entries$1, __esModule: true };
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
var _Object$entries = unwrapExports(entries
|
|
46
|
+
var _Object$entries = unwrapExports(entries);
|
|
47
47
|
|
|
48
48
|
var clientId = process.env.CVENT_CLIENT_ID;
|
|
49
49
|
var clientSecret = process.env.CVENT_CLIENT_SECRET;
|
|
@@ -245,23 +245,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
245
245
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
246
246
|
setAccessToken(cventAccessToken);
|
|
247
247
|
} else {
|
|
248
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
249
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
251
|
-
fetch(url, {
|
|
252
|
-
headers: {
|
|
253
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
254
|
-
Authorization: `Basic ${encodedData}`
|
|
255
|
-
},
|
|
256
|
-
method: 'POST',
|
|
257
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
258
|
-
})
|
|
259
|
-
.then((response) => response.json())
|
|
260
|
-
.then((json) => {
|
|
261
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
262
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
263
|
-
setAccessToken(json.access_token)
|
|
264
|
-
})
|
|
248
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
249
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
251
|
+
fetch(url, {
|
|
252
|
+
headers: {
|
|
253
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
254
|
+
Authorization: `Basic ${encodedData}`
|
|
255
|
+
},
|
|
256
|
+
method: 'POST',
|
|
257
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
258
|
+
})
|
|
259
|
+
.then((response) => response.json())
|
|
260
|
+
.then((json) => {
|
|
261
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
262
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
263
|
+
setAccessToken(json.access_token)
|
|
264
|
+
})
|
|
265
265
|
.catch((e) => console.log(e))*/
|
|
266
266
|
// hello
|
|
267
267
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -293,7 +293,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
293
293
|
'a',
|
|
294
294
|
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
295
295
|
React__default.createElement(
|
|
296
|
-
Button
|
|
296
|
+
Button,
|
|
297
297
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
298
298
|
cta
|
|
299
299
|
)
|
|
@@ -304,7 +304,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
304
304
|
'a',
|
|
305
305
|
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
306
306
|
React__default.createElement(
|
|
307
|
-
Button
|
|
307
|
+
Button,
|
|
308
308
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
309
309
|
'Learn More'
|
|
310
310
|
)
|
|
@@ -333,8 +333,8 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
333
333
|
|
|
334
334
|
var valuesArray = _Object$entries(deckAdvancedFilters).map(function (_ref6, index) {
|
|
335
335
|
var _ref7 = _slicedToArray(_ref6, 2),
|
|
336
|
-
key = _ref7[0]
|
|
337
|
-
|
|
336
|
+
key = _ref7[0];
|
|
337
|
+
_ref7[1];
|
|
338
338
|
|
|
339
339
|
var temp = [];
|
|
340
340
|
for (var evt in data) {
|
|
@@ -604,7 +604,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
return React__default.createElement(
|
|
607
|
-
Container
|
|
607
|
+
Container,
|
|
608
608
|
{ style: { padding: 1 } },
|
|
609
609
|
filteredData && filteredData.map(function (row, index) {
|
|
610
610
|
var speakerInfo = [];
|
|
@@ -648,48 +648,48 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
648
648
|
React__default.Fragment,
|
|
649
649
|
{ key: index },
|
|
650
650
|
React__default.createElement(
|
|
651
|
-
Card
|
|
651
|
+
Card,
|
|
652
652
|
null,
|
|
653
653
|
isHardcoded ? _links && React__default.createElement(
|
|
654
|
-
Row
|
|
654
|
+
Row,
|
|
655
655
|
null,
|
|
656
656
|
React__default.createElement(
|
|
657
|
-
Col
|
|
657
|
+
Col,
|
|
658
658
|
null,
|
|
659
659
|
renderLearnMoreButton(_links)
|
|
660
660
|
)
|
|
661
661
|
) : isRegister && _links && React__default.createElement(
|
|
662
|
-
Row
|
|
662
|
+
Row,
|
|
663
663
|
null,
|
|
664
664
|
React__default.createElement(
|
|
665
|
-
Col
|
|
665
|
+
Col,
|
|
666
666
|
null,
|
|
667
667
|
renderRegisterButton(_links)
|
|
668
668
|
)
|
|
669
669
|
),
|
|
670
670
|
isCompleted && _links && React__default.createElement(
|
|
671
|
-
Row
|
|
671
|
+
Row,
|
|
672
672
|
null,
|
|
673
673
|
React__default.createElement(
|
|
674
|
-
Col
|
|
674
|
+
Col,
|
|
675
675
|
null,
|
|
676
676
|
renderLearnMoreButton(_links)
|
|
677
677
|
)
|
|
678
678
|
),
|
|
679
679
|
discussionTopic && React__default.createElement(
|
|
680
|
-
Row
|
|
680
|
+
Row,
|
|
681
681
|
null,
|
|
682
682
|
React__default.createElement(
|
|
683
|
-
Col
|
|
683
|
+
Col,
|
|
684
684
|
null,
|
|
685
685
|
React__default.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
|
|
686
686
|
)
|
|
687
687
|
),
|
|
688
688
|
start && timezone && React__default.createElement(
|
|
689
|
-
Row
|
|
689
|
+
Row,
|
|
690
690
|
null,
|
|
691
691
|
React__default.createElement(
|
|
692
|
-
Col
|
|
692
|
+
Col,
|
|
693
693
|
null,
|
|
694
694
|
start.indexOf('TBD') >= 0 ? React__default.createElement(
|
|
695
695
|
'p',
|
|
@@ -704,10 +704,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
704
704
|
)
|
|
705
705
|
),
|
|
706
706
|
eventRegion && React__default.createElement(
|
|
707
|
-
Row
|
|
707
|
+
Row,
|
|
708
708
|
null,
|
|
709
709
|
React__default.createElement(
|
|
710
|
-
Col
|
|
710
|
+
Col,
|
|
711
711
|
null,
|
|
712
712
|
React__default.createElement(
|
|
713
713
|
'p',
|
|
@@ -717,10 +717,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
717
717
|
)
|
|
718
718
|
),
|
|
719
719
|
venues && venues.length && venues[0].name && React__default.createElement(
|
|
720
|
-
Row
|
|
720
|
+
Row,
|
|
721
721
|
null,
|
|
722
722
|
React__default.createElement(
|
|
723
|
-
Col
|
|
723
|
+
Col,
|
|
724
724
|
null,
|
|
725
725
|
React__default.createElement(
|
|
726
726
|
'p',
|
|
@@ -730,10 +730,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
730
730
|
)
|
|
731
731
|
),
|
|
732
732
|
speakerInfo && speakerInfo.length > 0 && React__default.createElement(
|
|
733
|
-
Row
|
|
733
|
+
Row,
|
|
734
734
|
null,
|
|
735
735
|
React__default.createElement(
|
|
736
|
-
Col
|
|
736
|
+
Col,
|
|
737
737
|
null,
|
|
738
738
|
React__default.createElement(
|
|
739
739
|
'div',
|
|
@@ -774,7 +774,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
774
774
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
775
775
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
776
776
|
return React__default.createElement(
|
|
777
|
-
Col
|
|
777
|
+
Col,
|
|
778
778
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
779
779
|
rightItems[i].component
|
|
780
780
|
);
|