@mjhls/mjh-framework 1.0.989 → 1.0.990-next-12-01
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 +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-b54f0bda.js → ADInfeed-cf54cb8a.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-4f0850ec.js → ADlgInfeed-d06624d8.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -19
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +48 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/AuthWrapper.js +586 -9
- package/dist/cjs/{AuthorComponent-17e1c62b.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +39 -39
- package/dist/cjs/DeckQueue.js +29 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-bcaa7e3f.js → Dfp-94f8ccdf.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +45 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridContentPaginated.js +46 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/HealthCareProfessionalModal.js +3 -3
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-a7fb6218.js +182 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +83 -85
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +38 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-94c5bb79.js → MediaSeriesCard-36eab8b7.js} +646 -446
- package/dist/cjs/MediaSeriesLanding.js +54 -56
- package/dist/cjs/MediaSeriesLandingPaginated.js +60 -62
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +39 -39
- package/dist/cjs/NavNative.js +39 -39
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-7624a3bd.js → Pagination-1e0d5f1d.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +59 -60
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -60
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PixelTracking.js +7 -7
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PtceDeck.js +10 -10
- package/dist/cjs/PubSection.js +32 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-6f89fb97.js → PublicationFeature-be5f3503.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +38 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -17
- package/dist/cjs/{SeriesSlider-08699353.js → SeriesSlider-b94f1dd5.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-af6ddcc0.js → SocialSearchComponent-b7faaedc.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +44 -46
- package/dist/cjs/TemplateNormal.js +45 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +50 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +30 -30
- package/dist/cjs/View.js +115 -119
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- 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/{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/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{extends-7df78678.js → extends-7c86182f.js} +8 -7
- package/dist/cjs/faundadb.js +325 -8
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getPtceActivities.js +27 -14
- package/dist/cjs/getRelatedArticle.js +343 -74
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +44 -46
- package/dist/cjs/{getTargeting-5eabd6e2.js → getTargeting-4439c99d.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-44481153.js → index-0e4427c8.js} +40 -21
- package/dist/cjs/{index-3c067d4f.js → index-7361fa72.js} +993 -171
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-f93506ac.js → index.esm-d51c9ac6.js} +1 -1
- package/dist/cjs/{index.esm-48e0f0d8.js → index.esm-d81454e7.js} +1 -1
- package/dist/cjs/index.js +140 -148
- package/dist/cjs/{inherits-420ee86f.js → inherits-de66ea16.js} +21 -18
- 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-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- 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-ec08d471.js → typeof-567e31ff.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-ad96158c.js → urlForFile-29d3815a.js} +1 -1
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-310d113c.js → ADInfeed-f684cac9.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-eeaa14e2.js → ADlgInfeed-8c438cee.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +49 -49
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/AuthWrapper.js +605 -27
- package/dist/esm/{AuthorComponent-b0a47123.js → AuthorComponent-defe68b6.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -49
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +70 -70
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-e151d2de.js → Dfp-4b99f79d.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +145 -145
- package/dist/esm/GridContentPaginated.js +133 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +8 -8
- package/dist/esm/HealthCareProfessionalModal.js +13 -13
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-eab2fe41.js +176 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +91 -93
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-4865e60f.js → MediaSeriesCard-99048e65.js} +907 -707
- package/dist/esm/MediaSeriesLanding.js +79 -81
- package/dist/esm/MediaSeriesLandingPaginated.js +83 -85
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +121 -121
- package/dist/esm/NavNative.js +110 -110
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-1e09918f.js → Pagination-cd21f8c2.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +95 -96
- package/dist/esm/PartnerDetailListingPaginated.js +91 -92
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PixelTracking.js +16 -16
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PtceDeck.js +23 -23
- package/dist/esm/PubSection.js +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-0379cc20.js → PublicationFeature-03500094.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-b364d074.js → SeriesSlider-609f9d94.js} +35 -35
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-77a22145.js → SocialSearchComponent-1d8a9f59.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +48 -50
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +62 -64
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +318 -322
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-31d40a83.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-72edfd60.js → _iter-detect-f089461c.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-4201ccf6.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-fa0feeff.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-9c835201.js → asyncToGenerator-9716ae8d.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/{core.get-iterator-method-8c71f470.js → core.get-iterator-method-e903ff31.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-a8a00786.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-3518b6fe.js → defineProperty-8fa0bc8d.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/{extends-7fbbe94e.js → extends-dc6a71fd.js} +8 -8
- package/dist/esm/faundadb.js +323 -6
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getPtceActivities.js +27 -14
- package/dist/esm/getRelatedArticle.js +339 -70
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +44 -46
- package/dist/esm/{getTargeting-eed01f73.js → getTargeting-db566006.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-1819118a.js → index-5cc7b406.js} +43 -24
- package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
- package/dist/esm/{index-fa2ffe86.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-25f93396.js → index-c60f3bb6.js} +1396 -573
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-d1125763.js → index.esm-1bd8a0a8.js} +1 -1
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-55f22b35.js → index.esm-eb1e8e80.js} +1 -1
- package/dist/esm/index.js +166 -173
- package/dist/esm/{inherits-d26c739e.js → inherits-8a801a18.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/keys-425c8ab0.js +23 -0
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-1894c974.js +961 -0
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
- package/dist/esm/{slicedToArray-99bcfd93.js → slicedToArray-ca2c8b8d.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-c21932b3.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-47a5394a.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-d92ed6e0.js → typeof-83d9eb10.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-0fc42ed8.js → urlForFile-413f5ddb.js} +1 -1
- package/dist/esm/{ustream-api-cbba615a.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-406140e0.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +115 -115
- package/dist/cjs/Auth.js +0 -3514
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/cjs/md5-e1ca5797.js +0 -323
- package/dist/cjs/util-f2c1b65b.js +0 -576
- package/dist/esm/Auth.js +0 -3494
- package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/keys-5e9bd229.js +0 -23
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/md5-4e42248e.js +0 -321
- package/dist/esm/stringify-0c65d837.js +0 -15
- package/dist/esm/util-7700fc59.js +0 -574
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
package/dist/esm/KMTracker.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var KMTracker = function KMTracker(props) {
|
|
2
|
-
|
|
2
|
+
var id = props.id;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
if (document && id) {
|
|
5
5
|
(function () {
|
|
6
|
-
|
|
6
|
+
var ecnJquery = document.createElement('script');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
ecnJquery.type = 'text/javascript';
|
|
9
|
+
ecnJquery.async = true;
|
|
10
|
+
ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
var ecnScript = document.createElement('script');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
ecnScript.type = 'text/javascript';
|
|
15
|
+
ecnScript.async = true;
|
|
16
|
+
ecnScript.id = 'km-tracker';
|
|
17
|
+
ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
document.head.appendChild(ecnJquery);
|
|
20
|
+
document.head.appendChild(ecnScript);
|
|
21
|
+
})();
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export default KMTracker;
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
2
|
+
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
|
+
import ADWebcast from './ADWebcast.js';
|
|
4
|
+
import Segment from './Segment.js';
|
|
5
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './web.dom.iterable-406140e0.js';
|
|
8
|
-
import React, { useRef, useEffect } from 'react';
|
|
9
|
-
import './index-1819118a.js';
|
|
7
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
8
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
9
|
+
import './AdSlot.js';
|
|
10
|
+
import './extends-dc6a71fd.js';
|
|
11
|
+
import './_object-pie-133f504a.js';
|
|
10
12
|
import 'prop-types';
|
|
11
|
-
import './
|
|
12
|
-
import './debounce-
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import './main-43ca42fe.js';
|
|
16
|
-
import './stringify-0c65d837.js';
|
|
17
|
-
import './asyncToGenerator-9c835201.js';
|
|
18
|
-
import Segment from './Segment.js';
|
|
13
|
+
import './index-5cc7b406.js';
|
|
14
|
+
import './debounce-533d9748.js';
|
|
15
|
+
import './isSymbol-a7e9aafe.js';
|
|
16
|
+
import './toNumber-5aeba6e7.js';
|
|
19
17
|
import './Beam.js';
|
|
20
|
-
import './
|
|
21
|
-
import
|
|
22
|
-
import
|
|
18
|
+
import './stringify-c21932b3.js';
|
|
19
|
+
import './asyncToGenerator-9716ae8d.js';
|
|
20
|
+
import './_library-528f1934.js';
|
|
21
|
+
import './_iter-detect-f089461c.js';
|
|
22
|
+
import './main-1894c974.js';
|
|
23
23
|
|
|
24
24
|
var LeftNav = function LeftNav(props) {
|
|
25
25
|
var leftItems = props.leftItems,
|
|
@@ -63,21 +63,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
63
63
|
|
|
64
64
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
65
65
|
if (checkUrlIsExternal(subRow.url)) {
|
|
66
|
-
return
|
|
66
|
+
return React__default.createElement(
|
|
67
67
|
'a',
|
|
68
68
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
69
69
|
subRow.name
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
return
|
|
73
|
+
return React__default.createElement(
|
|
74
74
|
'a',
|
|
75
75
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
76
76
|
subRow.name
|
|
77
77
|
);
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
return
|
|
80
|
+
return React__default.createElement(
|
|
81
81
|
'section',
|
|
82
82
|
{ ref: leftNavRef },
|
|
83
83
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -85,27 +85,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
85
85
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
86
86
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
87
87
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
88
|
-
return
|
|
88
|
+
return React__default.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ key: index },
|
|
91
|
-
|
|
91
|
+
React__default.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
92
92
|
);
|
|
93
93
|
} else {
|
|
94
|
-
return
|
|
94
|
+
return React__default.createElement(
|
|
95
95
|
'nav',
|
|
96
96
|
{ key: index, 'aria-label': 'Secondary' },
|
|
97
|
-
|
|
97
|
+
React__default.createElement(
|
|
98
98
|
'div',
|
|
99
99
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
100
|
-
|
|
100
|
+
React__default.createElement(
|
|
101
101
|
'span',
|
|
102
102
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
103
103
|
row.name
|
|
104
104
|
),
|
|
105
|
-
row.url && SeeAll &&
|
|
105
|
+
row.url && SeeAll && React__default.createElement(
|
|
106
106
|
'span',
|
|
107
107
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
108
|
-
|
|
108
|
+
React__default.createElement(
|
|
109
109
|
'a',
|
|
110
110
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
111
111
|
'See All ',
|
|
@@ -113,11 +113,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
113
113
|
)
|
|
114
114
|
)
|
|
115
115
|
),
|
|
116
|
-
|
|
116
|
+
React__default.createElement(
|
|
117
117
|
'ul',
|
|
118
118
|
{ style: sideNavStyles },
|
|
119
119
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
120
|
-
return
|
|
120
|
+
return React__default.createElement(
|
|
121
121
|
ListGroup.Item,
|
|
122
122
|
{ as: 'li', key: subIndex + '_2' },
|
|
123
123
|
renderListGroupItem(subRow)
|
|
@@ -130,7 +130,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
130
130
|
);
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
var LeftNav$1 =
|
|
133
|
+
var LeftNav$1 = React__default.memo(LeftNav);
|
|
134
134
|
|
|
135
135
|
export default LeftNav$1;
|
|
136
136
|
export { LeftNav };
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import
|
|
6
|
-
import './
|
|
7
|
-
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
8
|
-
import './_object-sap-4201ccf6.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d26c739e.js';
|
|
10
|
-
import './define-property-a8a00786.js';
|
|
11
|
-
import './web.dom.iterable-406140e0.js';
|
|
12
|
-
import './typeof-d92ed6e0.js';
|
|
13
|
-
import './_is-array-31d40a83.js';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
16
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
2
|
+
import { a as _Promise } from './asyncToGenerator-9716ae8d.js';
|
|
3
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
4
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
|
|
5
|
+
import React__default from 'react';
|
|
6
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
17
7
|
import Container from 'react-bootstrap/Container';
|
|
18
8
|
import 'react-bootstrap/Row';
|
|
19
9
|
import 'react-bootstrap/Col';
|
|
20
10
|
import 'react-bootstrap/Card';
|
|
21
|
-
import './moment-
|
|
11
|
+
import './moment-bc12cb97.js';
|
|
22
12
|
import { withRouter } from 'next/router';
|
|
23
|
-
import './
|
|
24
|
-
import { d as debounce_1 } from './debounce-
|
|
25
|
-
import './
|
|
26
|
-
import {
|
|
13
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
14
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
15
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
16
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
18
|
+
import './index-0dbff1d1.js';
|
|
19
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8c438cee.js';
|
|
20
|
+
import { A as ADInfeed } from './ADInfeed-f684cac9.js';
|
|
21
|
+
import './main-1894c974.js';
|
|
22
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
23
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
24
|
+
import './_iter-detect-f089461c.js';
|
|
25
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
26
|
+
import './_library-528f1934.js';
|
|
27
|
+
import './_object-pie-133f504a.js';
|
|
28
|
+
import './_object-sap-169d6272.js';
|
|
29
|
+
import './define-property-99e66838.js';
|
|
30
|
+
import './typeof-83d9eb10.js';
|
|
31
|
+
import './_is-array-893ab020.js';
|
|
32
|
+
import 'prop-types';
|
|
33
|
+
import './isSymbol-a7e9aafe.js';
|
|
34
|
+
import './toNumber-5aeba6e7.js';
|
|
27
35
|
import 'react-dom';
|
|
28
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
-
import './slicedToArray-99bcfd93.js';
|
|
30
|
-
import './index-51a80699.js';
|
|
31
|
-
import './main-43ca42fe.js';
|
|
32
|
-
import './stringify-0c65d837.js';
|
|
33
|
-
import { a as _Promise } from './asyncToGenerator-9c835201.js';
|
|
34
|
-
import './Segment.js';
|
|
35
|
-
import './Beam.js';
|
|
36
36
|
import './AdSlot.js';
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
37
|
+
import './Beam.js';
|
|
38
|
+
import './stringify-c21932b3.js';
|
|
39
|
+
import './Segment.js';
|
|
40
40
|
|
|
41
41
|
var MasterDeck = function (_React$Component) {
|
|
42
42
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -222,14 +222,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
// please leave this for later debug purpose : Yong Jun.
|
|
225
|
-
/* console.log('page change reported', {
|
|
226
|
-
currentPage: currentPage,
|
|
227
|
-
pageNumber: pageNumber,
|
|
228
|
-
pathname: pathname,
|
|
229
|
-
path: path,
|
|
230
|
-
newPath: newPath,
|
|
231
|
-
firstPage: pageNumber === 1,
|
|
232
|
-
queryString: queryString
|
|
225
|
+
/* console.log('page change reported', {
|
|
226
|
+
currentPage: currentPage,
|
|
227
|
+
pageNumber: pageNumber,
|
|
228
|
+
pathname: pathname,
|
|
229
|
+
path: path,
|
|
230
|
+
newPath: newPath,
|
|
231
|
+
firstPage: pageNumber === 1,
|
|
232
|
+
queryString: queryString
|
|
233
233
|
}) */
|
|
234
234
|
|
|
235
235
|
if (pageview) {
|
|
@@ -325,7 +325,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
return
|
|
328
|
+
return React__default.createElement(
|
|
329
329
|
'div',
|
|
330
330
|
null,
|
|
331
331
|
data && _this.state.dataRemapped && data.length > 0 ? // If JS enabled and Data remapped with ads
|
|
@@ -333,24 +333,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
333
333
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
334
334
|
|
|
335
335
|
if (row._type === 'lg-infeed' && row.adUnit) {
|
|
336
|
-
return
|
|
336
|
+
return React__default.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
337
337
|
// Returning view for infeed Ad
|
|
338
338
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
339
|
-
return
|
|
339
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
340
340
|
} else if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
341
341
|
// Returning view for articles
|
|
342
|
-
return
|
|
342
|
+
return React__default.createElement(
|
|
343
343
|
VisibilitySensor,
|
|
344
344
|
{
|
|
345
345
|
key: row._id ? row._id : index,
|
|
346
346
|
onChange: function onChange(isVisible) {
|
|
347
347
|
isVisible && _this.changePageNumber(pageNumber);
|
|
348
348
|
} },
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
React__default.createElement(
|
|
350
|
+
React__default.Fragment,
|
|
351
351
|
{ key: index },
|
|
352
|
-
|
|
353
|
-
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
352
|
+
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding }),
|
|
353
|
+
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
354
354
|
'div',
|
|
355
355
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
356
356
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -364,24 +364,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
364
364
|
data.map(function (row, index) {
|
|
365
365
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
366
366
|
if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
367
|
-
return
|
|
367
|
+
return React__default.createElement(
|
|
368
368
|
VisibilitySensor,
|
|
369
369
|
{
|
|
370
370
|
key: row._id ? row._id : index,
|
|
371
371
|
onChange: function onChange(isVisible) {
|
|
372
372
|
isVisible && _this.changePageNumber(pageNumber);
|
|
373
373
|
} },
|
|
374
|
-
|
|
375
|
-
|
|
374
|
+
React__default.createElement(
|
|
375
|
+
React__default.Fragment,
|
|
376
376
|
{ key: index },
|
|
377
|
-
|
|
377
|
+
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding })
|
|
378
378
|
)
|
|
379
379
|
);
|
|
380
380
|
}
|
|
381
|
-
}) :
|
|
381
|
+
}) : React__default.createElement(
|
|
382
382
|
'div',
|
|
383
383
|
null,
|
|
384
|
-
|
|
384
|
+
React__default.createElement(
|
|
385
385
|
'em',
|
|
386
386
|
null,
|
|
387
387
|
'New content coming soon, please check back later.'
|
|
@@ -390,7 +390,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
390
390
|
);
|
|
391
391
|
}, _this.renderMobileAd = function (index, numberOfItemsBeforeAd, rightItems) {
|
|
392
392
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
393
|
-
return
|
|
393
|
+
return React__default.createElement(
|
|
394
394
|
'div',
|
|
395
395
|
{ className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
|
|
396
396
|
rightItems[i].component
|
|
@@ -405,15 +405,15 @@ var MasterDeck = function (_React$Component) {
|
|
|
405
405
|
console.log('lastDataSize:', lastDataSize);
|
|
406
406
|
console.log('itemsPerPage:', itemsPerPage);
|
|
407
407
|
console.log('nextPagePostsCount:', nextPagePostsCount);
|
|
408
|
-
return
|
|
408
|
+
return React__default.createElement(
|
|
409
409
|
'div',
|
|
410
410
|
{ className: 'd-flex justify-content-between' },
|
|
411
|
-
currentPage && currentPage > 1 &&
|
|
411
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
412
412
|
'a',
|
|
413
413
|
{ href: '?page=' + (currentPage - 1) },
|
|
414
414
|
'<< Previous'
|
|
415
415
|
),
|
|
416
|
-
!(lastDataSize < itemsPerPage) && nextPagePostsCount > 0 &&
|
|
416
|
+
!(lastDataSize < itemsPerPage) && nextPagePostsCount > 0 && React__default.createElement(
|
|
417
417
|
'a',
|
|
418
418
|
{ href: '?page=' + (currentPage + 1) },
|
|
419
419
|
'Next >>'
|
|
@@ -479,38 +479,38 @@ var MasterDeck = function (_React$Component) {
|
|
|
479
479
|
_props$nextPagePostsC = _props.nextPagePostsCount,
|
|
480
480
|
nextPagePostsCount = _props$nextPagePostsC === undefined ? 2 : _props$nextPagePostsC;
|
|
481
481
|
|
|
482
|
-
return
|
|
482
|
+
return React__default.createElement(
|
|
483
483
|
'div',
|
|
484
484
|
{ className: 'contentDeck' },
|
|
485
|
-
autoScroll ?
|
|
486
|
-
|
|
485
|
+
autoScroll ? React__default.createElement(
|
|
486
|
+
React__default.Fragment,
|
|
487
487
|
null,
|
|
488
|
-
|
|
488
|
+
React__default.createElement(
|
|
489
489
|
InfiniteScroll,
|
|
490
490
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
491
|
-
|
|
491
|
+
React__default.createElement(
|
|
492
492
|
Container,
|
|
493
493
|
null,
|
|
494
494
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
495
495
|
)
|
|
496
496
|
),
|
|
497
|
-
|
|
497
|
+
React__default.createElement(
|
|
498
498
|
'noscript',
|
|
499
499
|
null,
|
|
500
500
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
501
501
|
)
|
|
502
|
-
) :
|
|
503
|
-
|
|
502
|
+
) : React__default.createElement(
|
|
503
|
+
React__default.Fragment,
|
|
504
504
|
null,
|
|
505
|
-
|
|
505
|
+
React__default.createElement(
|
|
506
506
|
Container,
|
|
507
507
|
null,
|
|
508
508
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
509
509
|
),
|
|
510
|
-
|
|
510
|
+
React__default.createElement(
|
|
511
511
|
'div',
|
|
512
512
|
{ style: { padding: '0px 10px' } },
|
|
513
|
-
this.state.scrolling &&
|
|
513
|
+
this.state.scrolling && React__default.createElement(
|
|
514
514
|
'button',
|
|
515
515
|
{
|
|
516
516
|
className: 'btn',
|
|
@@ -530,7 +530,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
530
530
|
'Load More'
|
|
531
531
|
)
|
|
532
532
|
),
|
|
533
|
-
|
|
533
|
+
React__default.createElement(
|
|
534
534
|
'noscript',
|
|
535
535
|
null,
|
|
536
536
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
@@ -541,7 +541,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
541
541
|
}]);
|
|
542
542
|
|
|
543
543
|
return MasterDeck;
|
|
544
|
-
}(
|
|
544
|
+
}(React__default.Component);
|
|
545
545
|
|
|
546
546
|
var MasterDeck$1 = withRouter(MasterDeck);
|
|
547
547
|
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
+
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
2
|
+
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-9716ae8d.js';
|
|
3
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
4
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
5
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
|
|
6
|
+
import React__default from 'react';
|
|
7
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
8
|
+
import Container from 'react-bootstrap/Container';
|
|
9
|
+
import Spinner from 'react-bootstrap/Spinner';
|
|
10
|
+
import { withRouter } from 'next/router';
|
|
11
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
13
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8c438cee.js';
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-f684cac9.js';
|
|
15
|
+
import { P as Pagination } from './Pagination-cd21f8c2.js';
|
|
1
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './core.get-iterator-method-
|
|
17
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
18
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
3
19
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import
|
|
6
|
-
import './_object-
|
|
7
|
-
import
|
|
8
|
-
import './
|
|
9
|
-
import
|
|
10
|
-
import './define-property-a8a00786.js';
|
|
11
|
-
import './web.dom.iterable-406140e0.js';
|
|
12
|
-
import './typeof-d92ed6e0.js';
|
|
13
|
-
import './_is-array-31d40a83.js';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
20
|
+
import './_iter-detect-f089461c.js';
|
|
21
|
+
import './_object-pie-133f504a.js';
|
|
22
|
+
import './_object-sap-169d6272.js';
|
|
23
|
+
import './define-property-99e66838.js';
|
|
24
|
+
import './typeof-83d9eb10.js';
|
|
25
|
+
import './_is-array-893ab020.js';
|
|
16
26
|
import 'prop-types';
|
|
17
|
-
import
|
|
27
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
18
28
|
import 'react-bootstrap/Card';
|
|
19
|
-
import { withRouter } from 'next/router';
|
|
20
|
-
import './isSymbol-1981418f.js';
|
|
21
|
-
import './debounce-9207d8ee.js';
|
|
22
|
-
import './toNumber-2f7a84cd.js';
|
|
23
|
-
import './slicedToArray-99bcfd93.js';
|
|
24
|
-
import { m as main_40 } from './main-43ca42fe.js';
|
|
25
|
-
import { _ as _JSON$stringify } from './stringify-0c65d837.js';
|
|
26
|
-
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-9c835201.js';
|
|
27
|
-
import './Segment.js';
|
|
28
|
-
import './Beam.js';
|
|
29
29
|
import './AdSlot.js';
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import '
|
|
34
|
-
import './
|
|
35
|
-
import Spinner from 'react-bootstrap/Spinner';
|
|
36
|
-
import './index.esm-d1125763.js';
|
|
30
|
+
import './debounce-533d9748.js';
|
|
31
|
+
import './isSymbol-a7e9aafe.js';
|
|
32
|
+
import './toNumber-5aeba6e7.js';
|
|
33
|
+
import './Beam.js';
|
|
34
|
+
import './Segment.js';
|
|
37
35
|
import 'react-paginate';
|
|
38
|
-
import
|
|
36
|
+
import 'react-bootstrap/Button';
|
|
37
|
+
import './index.esm-1bd8a0a8.js';
|
|
38
|
+
import './iconBase-ccc56b97.js';
|
|
39
39
|
|
|
40
40
|
var MasterDeck = function (_React$Component) {
|
|
41
41
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -107,14 +107,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
// please leave this for later debug purpose : Yong Jun.
|
|
110
|
-
/* console.log('page change reported', {
|
|
111
|
-
currentPage: currentPage,
|
|
112
|
-
pageNumber: pageNumber,
|
|
113
|
-
pathname: pathname,
|
|
114
|
-
path: path,
|
|
115
|
-
newPath: newPath,
|
|
116
|
-
firstPage: pageNumber === 1,
|
|
117
|
-
queryString: queryString
|
|
110
|
+
/* console.log('page change reported', {
|
|
111
|
+
currentPage: currentPage,
|
|
112
|
+
pageNumber: pageNumber,
|
|
113
|
+
pathname: pathname,
|
|
114
|
+
path: path,
|
|
115
|
+
newPath: newPath,
|
|
116
|
+
firstPage: pageNumber === 1,
|
|
117
|
+
queryString: queryString
|
|
118
118
|
}) */
|
|
119
119
|
|
|
120
120
|
if (pageview) {
|
|
@@ -212,22 +212,22 @@ var MasterDeck = function (_React$Component) {
|
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
214
|
|
|
215
|
-
return
|
|
215
|
+
return React__default.createElement(
|
|
216
216
|
'div',
|
|
217
217
|
null,
|
|
218
218
|
data && _this.state.dataRemapped && data.length > 0 ? // If JS enabled and Data remapped with ads
|
|
219
219
|
data.map(function (row, index) {
|
|
220
220
|
if (row._type === 'lg-infeed' && row.adUnit) {
|
|
221
|
-
return
|
|
221
|
+
return React__default.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
222
222
|
// Returning view for infeed Ad
|
|
223
223
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
224
|
-
return
|
|
224
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
225
225
|
} else if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
226
226
|
// Returning view for articles
|
|
227
|
-
return
|
|
228
|
-
|
|
227
|
+
return React__default.createElement(
|
|
228
|
+
React__default.Fragment,
|
|
229
229
|
{ key: index },
|
|
230
|
-
|
|
230
|
+
React__default.createElement(_this2.Deck, {
|
|
231
231
|
data: row,
|
|
232
232
|
currentPage: _this.state.currentPage,
|
|
233
233
|
itemsPerPage: _this.state.itemsPerPage,
|
|
@@ -237,7 +237,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
237
237
|
defaultImage: _this.defaultImage,
|
|
238
238
|
isSeriesLanding: _this.isSeriesLanding
|
|
239
239
|
}),
|
|
240
|
-
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
240
|
+
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
241
241
|
'div',
|
|
242
242
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
243
243
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -249,10 +249,10 @@ var MasterDeck = function (_React$Component) {
|
|
|
249
249
|
}) : data && data.length > 0 ? // For Javascript Disabled Cases. data is not remapped if JS is disabled.
|
|
250
250
|
data.map(function (row, index) {
|
|
251
251
|
if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
252
|
-
return
|
|
253
|
-
|
|
252
|
+
return React__default.createElement(
|
|
253
|
+
React__default.Fragment,
|
|
254
254
|
{ key: index },
|
|
255
|
-
|
|
255
|
+
React__default.createElement(_this2.Deck, {
|
|
256
256
|
data: row,
|
|
257
257
|
currentPage: _this.state.currentPage,
|
|
258
258
|
itemsPerPage: _this.state.itemsPerPage,
|
|
@@ -264,10 +264,10 @@ var MasterDeck = function (_React$Component) {
|
|
|
264
264
|
})
|
|
265
265
|
);
|
|
266
266
|
}
|
|
267
|
-
}) :
|
|
267
|
+
}) : React__default.createElement(
|
|
268
268
|
'div',
|
|
269
269
|
null,
|
|
270
|
-
|
|
270
|
+
React__default.createElement(
|
|
271
271
|
'em',
|
|
272
272
|
null,
|
|
273
273
|
'New content coming soon, please check back later.'
|
|
@@ -276,7 +276,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
276
276
|
);
|
|
277
277
|
}, _this.renderMobileAd = function (index, numberOfItemsBeforeAd, rightItems) {
|
|
278
278
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
279
|
-
return
|
|
279
|
+
return React__default.createElement(
|
|
280
280
|
'div',
|
|
281
281
|
{ className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
|
|
282
282
|
rightItems[i].component
|
|
@@ -399,36 +399,36 @@ var MasterDeck = function (_React$Component) {
|
|
|
399
399
|
currentPage = _state.currentPage,
|
|
400
400
|
isDataLoading = _state.isDataLoading;
|
|
401
401
|
|
|
402
|
-
return
|
|
402
|
+
return React__default.createElement(
|
|
403
403
|
'div',
|
|
404
404
|
{ className: 'contentDeck' },
|
|
405
|
-
isDataLoading ?
|
|
405
|
+
isDataLoading ? React__default.createElement(
|
|
406
406
|
'div',
|
|
407
407
|
{ className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
|
|
408
|
-
|
|
408
|
+
React__default.createElement(
|
|
409
409
|
Spinner,
|
|
410
410
|
{ animation: 'border', role: 'status' },
|
|
411
|
-
|
|
411
|
+
React__default.createElement(
|
|
412
412
|
'span',
|
|
413
413
|
{ className: 'sr-only' },
|
|
414
414
|
'Loading...'
|
|
415
415
|
)
|
|
416
416
|
)
|
|
417
|
-
) : data && data.length > 0 ?
|
|
417
|
+
) : data && data.length > 0 ? React__default.createElement(
|
|
418
418
|
Container,
|
|
419
419
|
null,
|
|
420
420
|
this.cardLoader({ variant: variant, brandInsightAd: brandInsightAd, showBI: showBI, lgInfeedAd: lgInfeedAd }),
|
|
421
|
-
|
|
421
|
+
React__default.createElement(
|
|
422
422
|
'div',
|
|
423
423
|
{ className: 'pagination-wrapper' },
|
|
424
|
-
|
|
424
|
+
React__default.createElement(Pagination, {
|
|
425
425
|
pageCount: Math.ceil(totalDataCount / itemsPerPage),
|
|
426
|
-
pageRangeDisplayed:
|
|
426
|
+
pageRangeDisplayed: main_43 ? 3 : 9,
|
|
427
427
|
currentPage: currentPage,
|
|
428
428
|
onPageChange: this.handlePageChange,
|
|
429
429
|
needLargePaginateButtons: this.props.needLargePaginateButtons
|
|
430
430
|
}),
|
|
431
|
-
|
|
431
|
+
React__default.createElement(
|
|
432
432
|
'style',
|
|
433
433
|
{ jsx: 'true' },
|
|
434
434
|
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
@@ -454,7 +454,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
454
454
|
}]);
|
|
455
455
|
|
|
456
456
|
return MasterDeck;
|
|
457
|
-
}(
|
|
457
|
+
}(React__default.Component);
|
|
458
458
|
|
|
459
459
|
var MasterDeck$1 = withRouter(MasterDeck);
|
|
460
460
|
|