@mjhls/mjh-framework 1.0.876-beta.0 → 1.0.877-v1pageviewfix
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 -28
- package/dist/cjs/AD300x250x600.js +29 -28
- package/dist/cjs/AD728x90.js +32 -31
- package/dist/cjs/ADFloatingFooter.js +31 -30
- package/dist/cjs/ADFooter.js +13 -12
- package/dist/cjs/ADGutter.js +31 -30
- package/dist/cjs/{ADInfeed-c628363f.js → ADInfeed-b6b7b0ec.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +31 -30
- package/dist/cjs/ADSponsoredResources.js +31 -30
- package/dist/cjs/ADWebcast.js +31 -30
- package/dist/cjs/ADWelcome.js +32 -31
- package/dist/cjs/{ADlgInfeed-a827d389.js → ADlgInfeed-8e290400.js} +11 -10
- package/dist/cjs/AccordionPanel.js +29 -27
- package/dist/cjs/AdSlot.js +34 -33
- package/dist/cjs/AdSlotsProvider.js +18 -909
- package/dist/cjs/AlgoliaSearch.js +1490 -1306
- package/dist/cjs/AlphabeticList.js +24 -23
- package/dist/cjs/ArticleCarousel.js +20 -19
- package/dist/cjs/ArticleProgramLandingPage.js +61 -60
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +60 -59
- package/dist/cjs/Auth.js +680 -1504
- package/dist/cjs/AuthWrapper.js +1637 -419
- package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-39b37d84.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-9ebd251f.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +27 -25
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +34 -31
- package/dist/cjs/Column3.js +60 -57
- package/dist/cjs/ConferenceArticleCard.js +41 -40
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +105 -101
- package/dist/cjs/DeckQueue.js +91 -87
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-9be904d5.js} +33 -32
- package/dist/cjs/EventsDeck.js +157 -150
- package/dist/cjs/ExternalResources.js +79 -78
- package/dist/cjs/Feature.js +29 -27
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +236 -231
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +58 -57
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +16 -15
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +72 -71
- package/dist/cjs/HorizontalHero.js +29 -28
- package/dist/cjs/IssueContentDeck.js +76 -71
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +94 -91
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -37
- package/dist/cjs/MasterDeck.js +79 -78
- package/dist/cjs/MediaSeriesLanding.js +1233 -1138
- package/dist/cjs/NavDvm.js +77 -72
- 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 +22 -22
- package/dist/cjs/OncliveLargeHero.js +71 -70
- package/dist/cjs/PageFilter.js +13 -12
- package/dist/cjs/PartnerDetailListing.js +304 -1476
- package/dist/cjs/PdfDownload.js +10 -9
- package/dist/cjs/PopUpModal.js +19 -17
- package/dist/cjs/PubSection.js +41 -38
- package/dist/cjs/PubToc.js +14 -13
- package/dist/cjs/PublicationDeck.js +70 -65
- package/dist/cjs/PublicationLanding.js +141 -133
- package/dist/cjs/QueueDeckExpanded.js +1172 -1052
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +58 -57
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +20 -16
- package/dist/cjs/Segment.js +4 -5
- package/dist/cjs/SeriesListingDeck.js +36 -36
- package/dist/cjs/{SeriesSlider-49b81b0b.js → SeriesSlider-ba0c5d1a.js} +40 -39
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -36
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-4942ddfc.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +66 -61
- package/dist/cjs/TaxonomyDescription.js +54 -53
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +26 -24
- package/dist/cjs/Ustream.js +29 -28
- package/dist/cjs/VerticalHero.js +20 -19
- package/dist/cjs/VideoProgramLandingPage.js +78 -74
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +50 -49
- package/dist/cjs/VideoSeriesListing.js +77 -76
- package/dist/cjs/View.js +280 -273
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +68 -67
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{entities-310b46ee.js → entities-df1aed86.js} +5 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{extends-eed4f016.js → extends-7c86182f.js} +7 -7
- package/dist/cjs/faundadb.js +19 -19
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +16 -16
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-e2e62963.js → index-50be6759.js} +26 -10
- package/dist/cjs/{index-cdacba23.js → index-602af93b.js} +1091 -1065
- package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
- package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-c1e16606.js} +4 -7
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
- package/dist/cjs/index.js +171 -164
- package/dist/cjs/{inherits-cba9c846.js → inherits-de66ea16.js} +19 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/{typeof-5f52cf64.js → typeof-567e31ff.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +22 -22
- package/dist/esm/AD300x250x600.js +22 -22
- package/dist/esm/AD728x90.js +25 -25
- package/dist/esm/ADFloatingFooter.js +21 -21
- package/dist/esm/ADFooter.js +4 -4
- package/dist/esm/ADGutter.js +21 -21
- package/dist/esm/{ADInfeed-35a2a91f.js → ADInfeed-19675d06.js} +6 -6
- package/dist/esm/ADSkyscraper.js +21 -21
- package/dist/esm/ADSponsoredResources.js +21 -21
- package/dist/esm/ADWebcast.js +21 -21
- package/dist/esm/ADWelcome.js +18 -18
- package/dist/esm/{ADlgInfeed-fd34a881.js → ADlgInfeed-970ed008.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +14 -906
- package/dist/esm/AlgoliaSearch.js +717 -534
- package/dist/esm/AlphabeticList.js +8 -8
- package/dist/esm/ArticleCarousel.js +13 -13
- package/dist/esm/ArticleProgramLandingPage.js +48 -48
- package/dist/esm/ArticleSeriesLandingPage.js +30 -30
- package/dist/esm/ArticleSeriesListing.js +32 -32
- package/dist/esm/Auth.js +591 -1419
- package/dist/esm/AuthWrapper.js +1609 -392
- package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-11adff02.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-1e73bd2c.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +22 -22
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +19 -19
- package/dist/esm/Column3.js +37 -37
- package/dist/esm/ConferenceArticleCard.js +25 -25
- package/dist/esm/DeckContent.js +55 -55
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-f867d061.js → Dfp-102f0beb.js} +13 -13
- package/dist/esm/EventsDeck.js +65 -65
- package/dist/esm/ExternalResources.js +46 -46
- package/dist/esm/Feature.js +7 -7
- package/dist/esm/ForbesHero.js +10 -10
- package/dist/esm/GridContent.js +88 -88
- package/dist/esm/GridHero.js +11 -11
- package/dist/esm/GroupDeck.js +12 -12
- package/dist/esm/HamMagazine.js +37 -37
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +46 -46
- package/dist/esm/HorizontalHero.js +8 -8
- package/dist/esm/IssueContentDeck.js +25 -25
- package/dist/esm/IssueDeck.js +35 -35
- package/dist/esm/IssueLanding.js +82 -80
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +20 -20
- package/dist/esm/MasterDeck.js +43 -43
- package/dist/esm/MediaSeriesLanding.js +752 -660
- package/dist/esm/NavDvm.js +14 -14
- package/dist/esm/NavMagazine.js +42 -42
- package/dist/esm/NavNative.js +41 -41
- package/dist/esm/OncliveHero.js +7 -8
- package/dist/esm/OncliveLargeHero.js +11 -11
- package/dist/esm/PageFilter.js +4 -4
- package/dist/esm/PartnerDetailListing.js +210 -1383
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +4 -4
- package/dist/esm/PubSection.js +32 -30
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +27 -27
- package/dist/esm/PublicationLanding.js +78 -74
- package/dist/esm/QueueDeckExpanded.js +1104 -984
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +38 -38
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +6 -6
- package/dist/esm/Segment.js +4 -5
- package/dist/esm/SeriesListingDeck.js +18 -18
- package/dist/esm/{SeriesSlider-d555a1d2.js → SeriesSlider-45adb8dc.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-d240935c.js → SocialSearchComponent-8e0fcf66.js} +12 -12
- package/dist/esm/TaxonomyCard.js +27 -27
- package/dist/esm/TaxonomyDescription.js +44 -44
- package/dist/esm/TemplateNormal.js +48 -48
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +12 -12
- package/dist/esm/VerticalHero.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +52 -52
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +36 -36
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +102 -99
- package/dist/esm/YahooHero.js +13 -13
- package/dist/esm/YoutubeGroup.js +21 -21
- package/dist/esm/{_is-array-4df618a6.js → _is-array-8d21b9e3.js} +6 -6
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-98db3b07.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-7cee6f84.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-2300e51b.js} +2 -2
- package/dist/esm/{asyncToGenerator-64812e90.js → asyncToGenerator-5ef104a7.js} +31 -31
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
- package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-ea258bb1.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/define-property-5f1bda73.js +18 -0
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8c30428f.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-6d9154b4.js} +5 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{extends-5b1796d4.js → extends-6d8e3924.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +11 -11
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-277c801e.js → getTargeting-4061f839.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
- package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
- package/dist/esm/{index-604589b2.js → index-51694988.js} +655 -639
- package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-aaa2dae0.js → index-98ca9cec.js} +26 -11
- package/dist/esm/{index-41a678ea.js → index-f0fc23eb.js} +4 -4
- package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
- package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-9b042655.js} +4 -7
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
- package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
- package/dist/esm/index.js +126 -122
- package/dist/esm/{inherits-2409637d.js → inherits-a6ba2ec4.js} +18 -18
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-69989821.js → keys-31dcdb31.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-1894c974.js +961 -0
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
- package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-6ebcbfea.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-2b084bee.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-f7074d7c.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/{typeof-c05a82ba.js → typeof-e9fc0c5d.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-d3714624.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-ab4dea5c.js} +2 -2
- package/package.json +111 -112
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/esm/define-property-6d26cb48.js +0 -18
- package/dist/esm/inherits-77d5e4fc.js +0 -101
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-70b72959.js +0 -15
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
2
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.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';
|
|
11
|
+
import { withRouter } from 'next/router';
|
|
12
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
14
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
15
|
+
import urlFor from './urlFor.js';
|
|
16
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-19675d06.js';
|
|
1
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './core.get-iterator-method-
|
|
21
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
22
|
+
import './_iter-detect-98db3b07.js';
|
|
23
|
+
import './_object-pie-133f504a.js';
|
|
24
|
+
import './_object-sap-7cee6f84.js';
|
|
25
|
+
import './define-property-5f1bda73.js';
|
|
26
|
+
import './typeof-e9fc0c5d.js';
|
|
27
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
28
|
+
import './_is-array-8d21b9e3.js';
|
|
3
29
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-130ee549.js';
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-5b1796d4.js';
|
|
8
|
-
import './_object-sap-8b8ea5a9.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-2409637d.js';
|
|
10
|
-
import './define-property-6d26cb48.js';
|
|
11
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
-
import './typeof-c05a82ba.js';
|
|
13
|
-
import './_is-array-4df618a6.js';
|
|
14
|
-
import React__default from 'react';
|
|
15
30
|
import './events-6c3a7a63.js';
|
|
16
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
17
31
|
import 'prop-types';
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
21
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
22
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
23
|
-
import { withRouter } from 'next/router';
|
|
24
|
-
import './isSymbol-1981418f.js';
|
|
25
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
26
|
-
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
32
|
+
import './isSymbol-a7e9aafe.js';
|
|
33
|
+
import './toNumber-5aeba6e7.js';
|
|
28
34
|
import 'react-dom';
|
|
29
|
-
import
|
|
30
|
-
import './
|
|
31
|
-
import './index-73819142.js';
|
|
32
|
-
import urlFor from './urlFor.js';
|
|
33
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
34
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
35
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
36
|
-
import './stringify-70b72959.js';
|
|
37
|
-
import './asyncToGenerator-64812e90.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
35
|
+
import './slicedToArray-6ebcbfea.js';
|
|
36
|
+
import './index-3f5c03b2.js';
|
|
40
37
|
import './AdSlot.js';
|
|
41
|
-
import
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './stringify-2b084bee.js';
|
|
40
|
+
import './asyncToGenerator-5ef104a7.js';
|
|
41
|
+
import './Segment.js';
|
|
42
42
|
|
|
43
43
|
var DeckContent = function (_React$Component) {
|
|
44
44
|
_inherits(DeckContent, _React$Component);
|
|
@@ -172,14 +172,14 @@ var DeckContent = function (_React$Component) {
|
|
|
172
172
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
173
173
|
|
|
174
174
|
// please leave this for later debug purpose : Yong Jun.
|
|
175
|
-
/* console.log('page change reported', {
|
|
176
|
-
currentPage: currentPage,
|
|
177
|
-
pageNumber: pageNumber,
|
|
178
|
-
pathname: pathname,
|
|
179
|
-
path: path,
|
|
180
|
-
newPath: newPath,
|
|
181
|
-
firstPage: pageNumber === 1,
|
|
182
|
-
queryString: queryString
|
|
175
|
+
/* console.log('page change reported', {
|
|
176
|
+
currentPage: currentPage,
|
|
177
|
+
pageNumber: pageNumber,
|
|
178
|
+
pathname: pathname,
|
|
179
|
+
path: path,
|
|
180
|
+
newPath: newPath,
|
|
181
|
+
firstPage: pageNumber === 1,
|
|
182
|
+
queryString: queryString
|
|
183
183
|
}) */
|
|
184
184
|
|
|
185
185
|
if (pageview) {
|
|
@@ -272,7 +272,7 @@ var DeckContent = function (_React$Component) {
|
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
return React__default.createElement(
|
|
275
|
-
Row
|
|
275
|
+
Row,
|
|
276
276
|
null,
|
|
277
277
|
articles && articles.map(function (row, index) {
|
|
278
278
|
if (columns === 'rotate' && itemCounter % 3 === 0) {
|
|
@@ -297,10 +297,10 @@ var DeckContent = function (_React$Component) {
|
|
|
297
297
|
isVisible && _this.changePageNumber(pageNumber);
|
|
298
298
|
} },
|
|
299
299
|
React__default.createElement(
|
|
300
|
-
Col
|
|
300
|
+
Col,
|
|
301
301
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
302
302
|
React__default.createElement(
|
|
303
|
-
Card
|
|
303
|
+
Card,
|
|
304
304
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
305
305
|
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
306
306
|
'a',
|
|
@@ -308,7 +308,7 @@ var DeckContent = function (_React$Component) {
|
|
|
308
308
|
React__default.createElement(
|
|
309
309
|
LazyLoad,
|
|
310
310
|
{ height: _this.props.imageHeight },
|
|
311
|
-
React__default.createElement(Card
|
|
311
|
+
React__default.createElement(Card.Img, {
|
|
312
312
|
variant: 'top',
|
|
313
313
|
src: _this.renderCardImage(row, page),
|
|
314
314
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -316,19 +316,19 @@ var DeckContent = function (_React$Component) {
|
|
|
316
316
|
)
|
|
317
317
|
),
|
|
318
318
|
React__default.createElement(
|
|
319
|
-
Card
|
|
319
|
+
Card.Body,
|
|
320
320
|
null,
|
|
321
321
|
React__default.createElement(
|
|
322
322
|
'a',
|
|
323
323
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
324
324
|
React__default.createElement(
|
|
325
|
-
Card
|
|
325
|
+
Card.Title,
|
|
326
326
|
null,
|
|
327
327
|
row.title
|
|
328
328
|
)
|
|
329
329
|
),
|
|
330
330
|
_this.props.showPublished && row.published && React__default.createElement(
|
|
331
|
-
Card
|
|
331
|
+
Card.Subtitle,
|
|
332
332
|
null,
|
|
333
333
|
moment(row.published).format('MMMM DD, YYYY')
|
|
334
334
|
),
|
|
@@ -336,7 +336,7 @@ var DeckContent = function (_React$Component) {
|
|
|
336
336
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
337
337
|
}),
|
|
338
338
|
React__default.createElement(
|
|
339
|
-
Card
|
|
339
|
+
Card.Text,
|
|
340
340
|
null,
|
|
341
341
|
clean_html_1(row.summary)
|
|
342
342
|
)
|
|
@@ -344,7 +344,7 @@ var DeckContent = function (_React$Component) {
|
|
|
344
344
|
)
|
|
345
345
|
)
|
|
346
346
|
),
|
|
347
|
-
|
|
347
|
+
main_43 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
348
348
|
);
|
|
349
349
|
}
|
|
350
350
|
})
|
|
@@ -354,7 +354,7 @@ var DeckContent = function (_React$Component) {
|
|
|
354
354
|
|
|
355
355
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
356
356
|
return React__default.createElement(
|
|
357
|
-
Col
|
|
357
|
+
Col,
|
|
358
358
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
359
359
|
rightItems[i].component
|
|
360
360
|
);
|
|
@@ -425,7 +425,7 @@ var DeckContent = function (_React$Component) {
|
|
|
425
425
|
InfiniteScroll,
|
|
426
426
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
427
427
|
React__default.createElement(
|
|
428
|
-
Container
|
|
428
|
+
Container,
|
|
429
429
|
null,
|
|
430
430
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
431
431
|
)
|
|
@@ -439,7 +439,7 @@ var DeckContent = function (_React$Component) {
|
|
|
439
439
|
React__default.Fragment,
|
|
440
440
|
null,
|
|
441
441
|
React__default.createElement(
|
|
442
|
-
Container
|
|
442
|
+
Container,
|
|
443
443
|
null,
|
|
444
444
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
445
445
|
),
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
2
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.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';
|
|
12
|
+
import { withRouter } from 'next/router';
|
|
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';
|
|
16
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
17
|
+
import urlFor from './urlFor.js';
|
|
18
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
19
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
1
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './core.get-iterator-method-
|
|
21
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
22
|
+
import './_iter-detect-98db3b07.js';
|
|
23
|
+
import './_object-pie-133f504a.js';
|
|
24
|
+
import './_object-sap-7cee6f84.js';
|
|
25
|
+
import './define-property-5f1bda73.js';
|
|
26
|
+
import './typeof-e9fc0c5d.js';
|
|
27
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
28
|
+
import './_is-array-8d21b9e3.js';
|
|
3
29
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-130ee549.js';
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-5b1796d4.js';
|
|
8
|
-
import './_object-sap-8b8ea5a9.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-2409637d.js';
|
|
10
|
-
import './define-property-6d26cb48.js';
|
|
11
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
-
import './typeof-c05a82ba.js';
|
|
13
|
-
import './_is-array-4df618a6.js';
|
|
14
|
-
import React__default from 'react';
|
|
15
30
|
import './events-6c3a7a63.js';
|
|
16
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
17
31
|
import 'prop-types';
|
|
18
|
-
import Container$1 from 'react-bootstrap/Container';
|
|
19
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
20
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
21
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
22
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
23
|
-
import { withRouter } from 'next/router';
|
|
24
|
-
import './isSymbol-1981418f.js';
|
|
25
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
26
|
-
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
28
32
|
import 'react-dom';
|
|
29
|
-
import
|
|
30
|
-
import './
|
|
31
|
-
import './
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
35
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
36
|
-
import { g as get_1 } from './get-1e515072.js';
|
|
37
|
-
import './eq-b470f743.js';
|
|
33
|
+
import './isSymbol-a7e9aafe.js';
|
|
34
|
+
import './eq-bdcbf886.js';
|
|
35
|
+
import './toNumber-5aeba6e7.js';
|
|
36
|
+
import './slicedToArray-6ebcbfea.js';
|
|
37
|
+
import './index-3f5c03b2.js';
|
|
38
38
|
|
|
39
39
|
var DeckQueue = function (_React$Component) {
|
|
40
40
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -219,7 +219,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
219
219
|
var numberOfItemsBeforeAd = 6;
|
|
220
220
|
|
|
221
221
|
return React__default.createElement(
|
|
222
|
-
Row
|
|
222
|
+
Row,
|
|
223
223
|
null,
|
|
224
224
|
this.state.data && this.state.data.map(function (row, index) {
|
|
225
225
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
@@ -235,16 +235,16 @@ var DeckQueue = function (_React$Component) {
|
|
|
235
235
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
236
236
|
} },
|
|
237
237
|
React__default.createElement(
|
|
238
|
-
Col
|
|
238
|
+
Col,
|
|
239
239
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
240
240
|
React__default.createElement(
|
|
241
|
-
Card
|
|
241
|
+
Card,
|
|
242
242
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
243
243
|
React__default.createElement(
|
|
244
|
-
Row
|
|
244
|
+
Row,
|
|
245
245
|
{ style: { flexDirection: mode } },
|
|
246
246
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
247
|
-
Col
|
|
247
|
+
Col,
|
|
248
248
|
{ md: 12, lg: 4 },
|
|
249
249
|
React__default.createElement(
|
|
250
250
|
'a',
|
|
@@ -252,18 +252,18 @@ var DeckQueue = function (_React$Component) {
|
|
|
252
252
|
React__default.createElement(
|
|
253
253
|
LazyLoad,
|
|
254
254
|
{ height: _this2.props.imageHeight },
|
|
255
|
-
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 : '' })
|
|
256
256
|
)
|
|
257
257
|
)
|
|
258
258
|
),
|
|
259
259
|
React__default.createElement(
|
|
260
|
-
Col
|
|
260
|
+
Col,
|
|
261
261
|
null,
|
|
262
262
|
React__default.createElement(
|
|
263
|
-
Card
|
|
263
|
+
Card.Body,
|
|
264
264
|
{ style: { padding: '20px' } },
|
|
265
265
|
row.title && React__default.createElement(
|
|
266
|
-
Card
|
|
266
|
+
Card.Title,
|
|
267
267
|
null,
|
|
268
268
|
React__default.createElement(
|
|
269
269
|
'a',
|
|
@@ -272,12 +272,12 @@ var DeckQueue = function (_React$Component) {
|
|
|
272
272
|
)
|
|
273
273
|
),
|
|
274
274
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
275
|
-
Card
|
|
275
|
+
Card.Subtitle,
|
|
276
276
|
null,
|
|
277
277
|
moment(row.published).format('MMMM DD, YYYY')
|
|
278
278
|
),
|
|
279
279
|
_this2.props.showRecent && row.recent && row.recent.title && React__default.createElement(
|
|
280
|
-
Card
|
|
280
|
+
Card.Subtitle,
|
|
281
281
|
null,
|
|
282
282
|
'Recent : ',
|
|
283
283
|
React__default.createElement(
|
|
@@ -287,7 +287,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
287
287
|
)
|
|
288
288
|
),
|
|
289
289
|
row.summary && React__default.createElement(
|
|
290
|
-
Card
|
|
290
|
+
Card.Text,
|
|
291
291
|
null,
|
|
292
292
|
React__default.createElement(
|
|
293
293
|
'a',
|
|
@@ -301,7 +301,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
301
301
|
)
|
|
302
302
|
)
|
|
303
303
|
),
|
|
304
|
-
|
|
304
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
305
305
|
);
|
|
306
306
|
})
|
|
307
307
|
);
|
|
@@ -325,7 +325,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
325
325
|
InfiniteScroll,
|
|
326
326
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
327
327
|
React__default.createElement(
|
|
328
|
-
Container
|
|
328
|
+
Container,
|
|
329
329
|
null,
|
|
330
330
|
this.cardLoader(page, columns, variant)
|
|
331
331
|
)
|
|
@@ -333,7 +333,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
333
333
|
React__default.Fragment,
|
|
334
334
|
null,
|
|
335
335
|
React__default.createElement(
|
|
336
|
-
Container
|
|
336
|
+
Container,
|
|
337
337
|
null,
|
|
338
338
|
this.cardLoader(page, columns, variant)
|
|
339
339
|
),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
2
|
import React__default, { useState } from 'react';
|
|
5
|
-
import './events-6c3a7a63.js';
|
|
6
|
-
import { b as lib_1, a as lib_2 } from './index-41a678ea.js';
|
|
7
3
|
import PropTypes from 'prop-types';
|
|
8
|
-
import './
|
|
9
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
10
|
-
import './toNumber-2f7a84cd.js';
|
|
11
|
-
import 'react-dom';
|
|
4
|
+
import { b as lib_1, a as lib_2 } from './index-f0fc23eb.js';
|
|
12
5
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
13
|
-
import {
|
|
6
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
9
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
10
|
+
import './events-6c3a7a63.js';
|
|
11
|
+
import 'react-dom';
|
|
12
|
+
import './isSymbol-a7e9aafe.js';
|
|
13
|
+
import './toNumber-5aeba6e7.js';
|
|
14
14
|
|
|
15
15
|
var AD = function AD(_ref) {
|
|
16
16
|
var networkID = _ref.networkID,
|
|
@@ -18,9 +18,9 @@ var AD = function AD(_ref) {
|
|
|
18
18
|
sizeMapping = _ref.sizeMapping,
|
|
19
19
|
className = _ref.className,
|
|
20
20
|
slotId = _ref.slotId,
|
|
21
|
-
sizes = _ref.sizes
|
|
22
|
-
|
|
23
|
-
_ref$targeting = _ref.targeting,
|
|
21
|
+
sizes = _ref.sizes;
|
|
22
|
+
_ref.minInViewPercent;
|
|
23
|
+
var _ref$targeting = _ref.targeting,
|
|
24
24
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting;
|
|
25
25
|
|
|
26
26
|
var _useState = useState(false),
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-8c30428f.js';
|
|
1
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { _ as _export, a as _core } from './core.get-iterator-method-
|
|
3
|
-
import './
|
|
4
|
-
import { _ as
|
|
5
|
-
import './
|
|
6
|
-
import { _ as
|
|
7
|
-
import './
|
|
8
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
3
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
4
|
+
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
5
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
6
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
7
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
8
|
+
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
9
9
|
import React__default, { useState, useEffect } from 'react';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
13
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
14
|
-
import './moment-e2f9b20c.js';
|
|
15
|
-
import { useRouter } from 'next/router';
|
|
16
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
17
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-67a08c9c.js';
|
|
18
|
-
import './main-e4a934b2.js';
|
|
19
|
-
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
20
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
21
|
-
import { _ as _objectToArray } from './_object-to-array-c54dd835.js';
|
|
22
|
-
import { _ as _defineProperty } from './defineProperty-d7d9b577.js';
|
|
10
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
11
|
+
import Container from 'react-bootstrap/Container';
|
|
23
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';
|
|
24
16
|
import Form from 'react-bootstrap/Form';
|
|
25
|
-
import
|
|
17
|
+
import Button from 'react-bootstrap/Button';
|
|
18
|
+
import './main-1894c974.js';
|
|
19
|
+
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
26
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
|
+
import { useRouter } from 'next/router';
|
|
22
|
+
import './define-property-5f1bda73.js';
|
|
23
|
+
import './_object-pie-133f504a.js';
|
|
24
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
25
|
+
import './_iter-detect-98db3b07.js';
|
|
26
|
+
import './moment-bc12cb97.js';
|
|
27
27
|
|
|
28
28
|
// https://github.com/tc39/proposal-object-values-entries
|
|
29
29
|
|
|
@@ -35,13 +35,13 @@ _export(_export.S, 'Object', {
|
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
var entries = _core.Object.entries;
|
|
38
|
+
var entries$1 = _core.Object.entries;
|
|
39
39
|
|
|
40
|
-
var entries
|
|
41
|
-
module.exports = { "default": entries, __esModule: true };
|
|
40
|
+
var entries = createCommonjsModule(function (module) {
|
|
41
|
+
module.exports = { "default": entries$1, __esModule: true };
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
var _Object$entries = unwrapExports(entries
|
|
44
|
+
var _Object$entries = unwrapExports(entries);
|
|
45
45
|
|
|
46
46
|
var clientId = process.env.CVENT_CLIENT_ID;
|
|
47
47
|
var clientSecret = process.env.CVENT_CLIENT_SECRET;
|
|
@@ -243,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
243
243
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
244
244
|
setAccessToken(cventAccessToken);
|
|
245
245
|
} else {
|
|
246
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
-
fetch(url, {
|
|
250
|
-
headers: {
|
|
251
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
-
Authorization: `Basic ${encodedData}`
|
|
253
|
-
},
|
|
254
|
-
method: 'POST',
|
|
255
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
-
})
|
|
257
|
-
.then((response) => response.json())
|
|
258
|
-
.then((json) => {
|
|
259
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
-
setAccessToken(json.access_token)
|
|
262
|
-
})
|
|
246
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
+
fetch(url, {
|
|
250
|
+
headers: {
|
|
251
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
+
Authorization: `Basic ${encodedData}`
|
|
253
|
+
},
|
|
254
|
+
method: 'POST',
|
|
255
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
+
})
|
|
257
|
+
.then((response) => response.json())
|
|
258
|
+
.then((json) => {
|
|
259
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
+
setAccessToken(json.access_token)
|
|
262
|
+
})
|
|
263
263
|
.catch((e) => console.log(e))*/
|
|
264
264
|
// hello
|
|
265
265
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -291,7 +291,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
291
291
|
'a',
|
|
292
292
|
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
293
293
|
React__default.createElement(
|
|
294
|
-
Button
|
|
294
|
+
Button,
|
|
295
295
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
296
296
|
cta
|
|
297
297
|
)
|
|
@@ -302,7 +302,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
302
302
|
'a',
|
|
303
303
|
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
304
304
|
React__default.createElement(
|
|
305
|
-
Button
|
|
305
|
+
Button,
|
|
306
306
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
307
307
|
'Learn More'
|
|
308
308
|
)
|
|
@@ -331,8 +331,8 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
331
331
|
|
|
332
332
|
var valuesArray = _Object$entries(deckAdvancedFilters).map(function (_ref6, index) {
|
|
333
333
|
var _ref7 = _slicedToArray(_ref6, 2),
|
|
334
|
-
key = _ref7[0]
|
|
335
|
-
|
|
334
|
+
key = _ref7[0];
|
|
335
|
+
_ref7[1];
|
|
336
336
|
|
|
337
337
|
var temp = [];
|
|
338
338
|
for (var evt in data) {
|
|
@@ -602,7 +602,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
return React__default.createElement(
|
|
605
|
-
Container
|
|
605
|
+
Container,
|
|
606
606
|
{ style: { padding: 1 } },
|
|
607
607
|
filteredData && filteredData.map(function (row, index) {
|
|
608
608
|
var speakerInfo = [];
|
|
@@ -646,48 +646,48 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
646
646
|
React__default.Fragment,
|
|
647
647
|
{ key: index },
|
|
648
648
|
React__default.createElement(
|
|
649
|
-
Card
|
|
649
|
+
Card,
|
|
650
650
|
null,
|
|
651
651
|
isHardcoded ? _links && React__default.createElement(
|
|
652
|
-
Row
|
|
652
|
+
Row,
|
|
653
653
|
null,
|
|
654
654
|
React__default.createElement(
|
|
655
|
-
Col
|
|
655
|
+
Col,
|
|
656
656
|
null,
|
|
657
657
|
renderLearnMoreButton(_links)
|
|
658
658
|
)
|
|
659
659
|
) : isRegister && _links && React__default.createElement(
|
|
660
|
-
Row
|
|
660
|
+
Row,
|
|
661
661
|
null,
|
|
662
662
|
React__default.createElement(
|
|
663
|
-
Col
|
|
663
|
+
Col,
|
|
664
664
|
null,
|
|
665
665
|
renderRegisterButton(_links)
|
|
666
666
|
)
|
|
667
667
|
),
|
|
668
668
|
isCompleted && _links && React__default.createElement(
|
|
669
|
-
Row
|
|
669
|
+
Row,
|
|
670
670
|
null,
|
|
671
671
|
React__default.createElement(
|
|
672
|
-
Col
|
|
672
|
+
Col,
|
|
673
673
|
null,
|
|
674
674
|
renderLearnMoreButton(_links)
|
|
675
675
|
)
|
|
676
676
|
),
|
|
677
677
|
discussionTopic && React__default.createElement(
|
|
678
|
-
Row
|
|
678
|
+
Row,
|
|
679
679
|
null,
|
|
680
680
|
React__default.createElement(
|
|
681
|
-
Col
|
|
681
|
+
Col,
|
|
682
682
|
null,
|
|
683
683
|
React__default.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
|
|
684
684
|
)
|
|
685
685
|
),
|
|
686
686
|
start && timezone && React__default.createElement(
|
|
687
|
-
Row
|
|
687
|
+
Row,
|
|
688
688
|
null,
|
|
689
689
|
React__default.createElement(
|
|
690
|
-
Col
|
|
690
|
+
Col,
|
|
691
691
|
null,
|
|
692
692
|
start.indexOf('TBD') >= 0 ? React__default.createElement(
|
|
693
693
|
'p',
|
|
@@ -702,10 +702,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
702
702
|
)
|
|
703
703
|
),
|
|
704
704
|
eventRegion && React__default.createElement(
|
|
705
|
-
Row
|
|
705
|
+
Row,
|
|
706
706
|
null,
|
|
707
707
|
React__default.createElement(
|
|
708
|
-
Col
|
|
708
|
+
Col,
|
|
709
709
|
null,
|
|
710
710
|
React__default.createElement(
|
|
711
711
|
'p',
|
|
@@ -715,10 +715,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
715
715
|
)
|
|
716
716
|
),
|
|
717
717
|
venues && venues.length && venues[0].name && React__default.createElement(
|
|
718
|
-
Row
|
|
718
|
+
Row,
|
|
719
719
|
null,
|
|
720
720
|
React__default.createElement(
|
|
721
|
-
Col
|
|
721
|
+
Col,
|
|
722
722
|
null,
|
|
723
723
|
React__default.createElement(
|
|
724
724
|
'p',
|
|
@@ -728,10 +728,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
728
728
|
)
|
|
729
729
|
),
|
|
730
730
|
speakerInfo && speakerInfo.length > 0 && React__default.createElement(
|
|
731
|
-
Row
|
|
731
|
+
Row,
|
|
732
732
|
null,
|
|
733
733
|
React__default.createElement(
|
|
734
|
-
Col
|
|
734
|
+
Col,
|
|
735
735
|
null,
|
|
736
736
|
React__default.createElement(
|
|
737
737
|
'div',
|
|
@@ -772,7 +772,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
772
772
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
773
773
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
774
774
|
return React__default.createElement(
|
|
775
|
-
Col
|
|
775
|
+
Col,
|
|
776
776
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
777
777
|
rightItems[i].component
|
|
778
778
|
);
|