@mjhls/mjh-framework 1.0.850-beta.3 → 1.0.850-slideshow
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 +31 -30
- package/dist/cjs/AD300x250x600.js +31 -30
- package/dist/cjs/AD728x90.js +34 -33
- package/dist/cjs/ADFloatingFooter.js +33 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -32
- package/dist/cjs/{ADInfeed-98c71bcd.js → ADInfeed-fb136f1d.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -32
- package/dist/cjs/ADSponsoredResources.js +33 -32
- package/dist/cjs/ADWebcast.js +33 -32
- package/dist/cjs/ADWelcome.js +34 -33
- package/dist/cjs/{ADlgInfeed-9de32585.js → ADlgInfeed-d303d27e.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +21 -19
- package/dist/cjs/AlgoliaSearch.js +1087 -1068
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +60 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +3652 -0
- package/dist/cjs/AuthWrapper.js +311 -269
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +62 -59
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -103
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +81 -79
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +238 -233
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +145 -140
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +73 -71
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +78 -73
- package/dist/cjs/IssueDeck.js +77 -72
- package/dist/cjs/IssueLanding.js +96 -92
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/MediaSeriesLanding.js +1118 -1126
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -147
- package/dist/cjs/NavNative.js +147 -139
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +109 -105
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -40
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +67 -62
- package/dist/cjs/PublicationLanding.js +139 -135
- package/dist/cjs/QueueDeckExpanded.js +1174 -2074
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +55 -54
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-cbab9f0f.js} +40 -39
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-ecb4f972.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +56 -54
- package/dist/cjs/TemplateNormal.js +75 -74
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +78 -73
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesListing.js +79 -78
- package/dist/cjs/View.js +277 -280
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +10 -327
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +445 -28
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-f1821260.js → getTargeting-faf37284.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- package/dist/cjs/{index-4151deb3.js → index-991f0c65.js} +1010 -1564
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-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-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +169 -158
- package/dist/cjs/{inherits-9953db94.js → inherits-c2065b95.js} +22 -22
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/md5-e1ca5797.js +323 -0
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/util-6f784d85.js +576 -0
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -27
- package/dist/esm/AD300x250x600.js +27 -27
- package/dist/esm/AD728x90.js +30 -30
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-bbdd5398.js → ADInfeed-df562a07.js} +11 -11
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-4473ee3b.js → ADlgInfeed-53992119.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +14 -14
- package/dist/esm/AlgoliaSearch.js +736 -718
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -55
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +57 -57
- package/dist/esm/Auth.js +3632 -0
- package/dist/esm/AuthWrapper.js +308 -267
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +56 -56
- package/dist/esm/ConferenceArticleCard.js +35 -35
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +98 -98
- package/dist/esm/DeckQueue.js +83 -83
- package/dist/esm/{Dfp-b7236041.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +201 -201
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +116 -116
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -68
- package/dist/esm/HorizontalHero.js +22 -22
- package/dist/esm/IssueContentDeck.js +61 -61
- package/dist/esm/IssueDeck.js +65 -65
- package/dist/esm/IssueLanding.js +92 -89
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +77 -77
- package/dist/esm/MediaSeriesLanding.js +841 -852
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +105 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -37
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +53 -53
- package/dist/esm/PublicationLanding.js +122 -122
- package/dist/esm/QueueDeckExpanded.js +1152 -2052
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +48 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-5c62a578.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-cd38ae60.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -54
- package/dist/esm/TaxonomyDescription.js +50 -49
- package/dist/esm/TemplateNormal.js +70 -70
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +67 -66
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -42
- package/dist/esm/VideoSeriesListing.js +74 -74
- package/dist/esm/View.js +257 -264
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +51 -51
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-4877b617.js → asyncToGenerator-7f8f9219.js} +33 -33
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +8 -325
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +445 -28
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -44
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-c3401fa7.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-d6dc592a.js → index-2dcd3f28.js} +964 -1525
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +139 -132
- package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-b5c5aac1.js +961 -0
- package/dist/esm/md5-4e42248e.js +321 -0
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/util-3ab476bf.js +574 -0
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +110 -116
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
5
|
+
import Row from 'react-bootstrap/Row';
|
|
6
|
+
import Col from 'react-bootstrap/Col';
|
|
7
|
+
import Button from 'react-bootstrap/Button';
|
|
8
|
+
import Card from 'react-bootstrap/Card';
|
|
9
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
10
|
+
import urlFor from './urlFor.js';
|
|
11
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
1
12
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useState, useEffect, useRef } from 'react';
|
|
11
|
-
import 'prop-types';
|
|
12
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
13
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
14
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
15
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
13
|
+
import './es6.string.iterator-bc33758b.js';
|
|
14
|
+
import './_to-object-b50e61c3.js';
|
|
15
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
16
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
17
|
+
import './_object-pie-133f504a.js';
|
|
18
|
+
import './web.dom.iterable-4109ff68.js';
|
|
16
19
|
import 'react-dom';
|
|
17
|
-
import '
|
|
18
|
-
import
|
|
19
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
20
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
21
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
20
|
+
import 'prop-types';
|
|
21
|
+
import './index-0dbff1d1.js';
|
|
22
22
|
|
|
23
23
|
var usePrevious = function usePrevious(value) {
|
|
24
24
|
var ref = useRef();
|
|
@@ -131,71 +131,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
131
131
|
}
|
|
132
132
|
}, [issuesData, setScrolling, count]);
|
|
133
133
|
|
|
134
|
-
return
|
|
134
|
+
return React.createElement(
|
|
135
135
|
InfiniteScroll,
|
|
136
136
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
137
137
|
return loadMore();
|
|
138
138
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
139
|
-
|
|
140
|
-
Row
|
|
139
|
+
React.createElement(
|
|
140
|
+
Row,
|
|
141
141
|
null,
|
|
142
142
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
143
|
-
return publication && row.identifier && row.identifier.current &&
|
|
144
|
-
Col
|
|
143
|
+
return publication && row.identifier && row.identifier.current && React.createElement(
|
|
144
|
+
Col,
|
|
145
145
|
{ md: 12, lg: 12, key: index },
|
|
146
|
-
|
|
147
|
-
Card
|
|
146
|
+
React.createElement(
|
|
147
|
+
Card,
|
|
148
148
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
149
|
-
|
|
150
|
-
Row
|
|
149
|
+
React.createElement(
|
|
150
|
+
Row,
|
|
151
151
|
{ style: { flexDirection: 'left' } },
|
|
152
|
-
|
|
153
|
-
Col
|
|
152
|
+
React.createElement(
|
|
153
|
+
Col,
|
|
154
154
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
155
|
-
row.issues.length > 0 ?
|
|
155
|
+
row.issues.length > 0 ? React.createElement(
|
|
156
156
|
'a',
|
|
157
157
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
158
|
-
row.thumbnail &&
|
|
158
|
+
row.thumbnail && React.createElement(
|
|
159
159
|
LazyLoad,
|
|
160
160
|
{ height: imageHeight },
|
|
161
|
-
|
|
161
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
162
162
|
)
|
|
163
|
-
) :
|
|
163
|
+
) : React.createElement(
|
|
164
164
|
'a',
|
|
165
165
|
null,
|
|
166
|
-
row.thumbnail &&
|
|
166
|
+
row.thumbnail && React.createElement(
|
|
167
167
|
LazyLoad,
|
|
168
168
|
{ height: imageHeight },
|
|
169
|
-
|
|
169
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
170
170
|
)
|
|
171
171
|
)
|
|
172
172
|
),
|
|
173
|
-
|
|
174
|
-
Col
|
|
173
|
+
React.createElement(
|
|
174
|
+
Col,
|
|
175
175
|
{ md: 12, lg: 8 },
|
|
176
|
-
|
|
177
|
-
Card
|
|
176
|
+
React.createElement(
|
|
177
|
+
Card.Body,
|
|
178
178
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
179
|
-
|
|
180
|
-
Row
|
|
179
|
+
React.createElement(
|
|
180
|
+
Row,
|
|
181
181
|
null,
|
|
182
|
-
|
|
183
|
-
Col
|
|
182
|
+
React.createElement(
|
|
183
|
+
Col,
|
|
184
184
|
null,
|
|
185
|
-
|
|
186
|
-
Card
|
|
185
|
+
React.createElement(
|
|
186
|
+
Card.Title,
|
|
187
187
|
null,
|
|
188
188
|
row.name
|
|
189
189
|
)
|
|
190
190
|
)
|
|
191
191
|
),
|
|
192
|
-
|
|
193
|
-
Row
|
|
192
|
+
React.createElement(
|
|
193
|
+
Row,
|
|
194
194
|
null,
|
|
195
|
-
|
|
196
|
-
Col
|
|
195
|
+
React.createElement(
|
|
196
|
+
Col,
|
|
197
197
|
null,
|
|
198
|
-
|
|
198
|
+
React.createElement(
|
|
199
199
|
'div',
|
|
200
200
|
null,
|
|
201
201
|
'Volume: ',
|
|
@@ -203,13 +203,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
203
203
|
)
|
|
204
204
|
)
|
|
205
205
|
),
|
|
206
|
-
|
|
207
|
-
Row
|
|
206
|
+
React.createElement(
|
|
207
|
+
Row,
|
|
208
208
|
null,
|
|
209
|
-
|
|
210
|
-
Col
|
|
209
|
+
React.createElement(
|
|
210
|
+
Col,
|
|
211
211
|
null,
|
|
212
|
-
|
|
212
|
+
React.createElement(
|
|
213
213
|
'div',
|
|
214
214
|
null,
|
|
215
215
|
'Number: ',
|
|
@@ -217,19 +217,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
217
217
|
)
|
|
218
218
|
)
|
|
219
219
|
),
|
|
220
|
-
|
|
221
|
-
Row
|
|
220
|
+
React.createElement(
|
|
221
|
+
Row,
|
|
222
222
|
null,
|
|
223
|
-
row.issues.length > 0 &&
|
|
223
|
+
row.issues.length > 0 && React.createElement(
|
|
224
224
|
'a',
|
|
225
225
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
226
|
-
|
|
227
|
-
Button
|
|
226
|
+
React.createElement(
|
|
227
|
+
Button,
|
|
228
228
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
229
229
|
'View Issue'
|
|
230
230
|
)
|
|
231
231
|
),
|
|
232
|
-
row.pdf && row.pdf.asset &&
|
|
232
|
+
row.pdf && row.pdf.asset && React.createElement(
|
|
233
233
|
'a',
|
|
234
234
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
235
235
|
'Download Issue'
|
|
@@ -240,13 +240,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
240
240
|
)
|
|
241
241
|
)
|
|
242
242
|
);
|
|
243
|
-
}) :
|
|
243
|
+
}) : React.createElement(
|
|
244
244
|
'div',
|
|
245
245
|
null,
|
|
246
|
-
|
|
246
|
+
React.createElement(
|
|
247
247
|
'h5',
|
|
248
248
|
null,
|
|
249
|
-
|
|
249
|
+
React.createElement(
|
|
250
250
|
'em',
|
|
251
251
|
{ className: 'pl-3' },
|
|
252
252
|
'New content coming soon, please check back later.'
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -1,97 +1,100 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
6
|
+
import { g as getSerializers } from './index-2dcd3f28.js';
|
|
1
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './core.get-iterator-method-
|
|
8
|
-
import './
|
|
9
|
-
import
|
|
10
|
-
import '
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import
|
|
8
|
+
import './_to-object-b50e61c3.js';
|
|
9
|
+
import './_object-pie-133f504a.js';
|
|
10
|
+
import './slicedToArray-be2f7a22.js';
|
|
11
|
+
import './web.dom.iterable-4109ff68.js';
|
|
12
|
+
import './es6.string.iterator-bc33758b.js';
|
|
13
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
14
|
+
import './toConsumableArray-6d9a4616.js';
|
|
15
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
16
|
+
import 'react-bootstrap';
|
|
17
|
+
import './urlFor.js';
|
|
18
|
+
import './index-0dbff1d1.js';
|
|
19
|
+
import './index.es-c6222053.js';
|
|
20
|
+
import './moment-bc12cb97.js';
|
|
21
|
+
import './visibility-sensor-f40c2564.js';
|
|
22
|
+
import 'react-dom';
|
|
23
|
+
import './index-2446af28.js';
|
|
17
24
|
import './events-6c3a7a63.js';
|
|
18
|
-
import './index-41a678ea.js';
|
|
19
25
|
import 'prop-types';
|
|
20
|
-
import 'react-bootstrap/Row';
|
|
21
|
-
import 'react-bootstrap/Col';
|
|
22
|
-
import 'react-bootstrap/Card';
|
|
23
|
-
import './moment-e2f9b20c.js';
|
|
24
26
|
import 'next/router';
|
|
25
|
-
import './
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
28
|
-
import '
|
|
29
|
-
import '
|
|
30
|
-
import './urlFor.js';
|
|
31
|
-
import './index-5f7e79e7.js';
|
|
32
|
-
import './main-e4a934b2.js';
|
|
33
|
-
import './entities-7cc3bf45.js';
|
|
34
|
-
import './slicedToArray-641f241f.js';
|
|
35
|
-
import './stringify-4330ccdc.js';
|
|
36
|
-
import './asyncToGenerator-4877b617.js';
|
|
37
|
-
import './Segment.js';
|
|
38
|
-
import './Beam.js';
|
|
27
|
+
import './index-35bdcc81.js';
|
|
28
|
+
import './main-b5c5aac1.js';
|
|
29
|
+
import './entities-932b50cf.js';
|
|
30
|
+
import './ADInfeed-df562a07.js';
|
|
31
|
+
import 'react-bootstrap/Card';
|
|
39
32
|
import './AdSlot.js';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
33
|
+
import './debounce-533d9748.js';
|
|
34
|
+
import './isSymbol-a7e9aafe.js';
|
|
35
|
+
import './toNumber-5aeba6e7.js';
|
|
36
|
+
import './Beam.js';
|
|
37
|
+
import './stringify-59c8f690.js';
|
|
38
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
39
|
+
import './_library-528f1934.js';
|
|
40
|
+
import './Segment.js';
|
|
41
|
+
import './AuthorComponent-5ae7409f.js';
|
|
42
|
+
import './lodash-f97fd99a.js';
|
|
43
|
+
import './ADlgInfeed-53992119.js';
|
|
43
44
|
import './getContentCategory-15dcc413.js';
|
|
44
|
-
import './
|
|
45
|
-
import 'react-bootstrap/
|
|
46
|
-
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
45
|
+
import './timeDifferenceCalc.js';
|
|
46
|
+
import 'react-bootstrap/Breadcrumb';
|
|
47
47
|
import './index-c7e2ac95.js';
|
|
48
|
-
import './
|
|
48
|
+
import './util-3ab476bf.js';
|
|
49
|
+
import './typeof-a286cf0c.js';
|
|
50
|
+
import './_is-array-3e99e06e.js';
|
|
51
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
49
52
|
import './GroupDeck.js';
|
|
50
|
-
import '
|
|
51
|
-
import
|
|
52
|
-
import './timeDifferenceCalc.js';
|
|
53
|
-
import './iconBase-602d52fe.js';
|
|
54
|
-
import './index.esm-29e48d38.js';
|
|
55
|
-
import { g as getSerializers } from './index-d6dc592a.js';
|
|
56
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
53
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
54
|
+
import './SocialShare.js';
|
|
57
55
|
import 'next/head';
|
|
58
56
|
import 'react-share';
|
|
59
|
-
import './
|
|
60
|
-
import './_object-to-array-7e804fce.js';
|
|
57
|
+
import './_object-to-array-0f197f89.js';
|
|
61
58
|
import 'react-bootstrap/Pagination';
|
|
59
|
+
import 'react-bootstrap/Button';
|
|
60
|
+
import 'react-bootstrap/Row';
|
|
61
|
+
import 'react-bootstrap/Col';
|
|
62
|
+
import './inherits-a41fe93f.js';
|
|
63
|
+
import './_object-sap-f353c2a9.js';
|
|
64
|
+
import './define-property-fe54dc9f.js';
|
|
65
|
+
import './index.esm-3fdda599.js';
|
|
66
|
+
import './iconBase-602d52fe.js';
|
|
62
67
|
import 'react-bootstrap/Figure';
|
|
63
|
-
import 'react-bootstrap/Breadcrumb';
|
|
64
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
65
68
|
|
|
66
|
-
/* usage
|
|
67
|
-
import Settings, { Ads } from '../../../../settings'
|
|
68
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
69
|
-
import client from '../../../../client'
|
|
70
|
-
import moment from 'moment'
|
|
71
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
72
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
73
|
-
|
|
74
|
-
const Issue = (props) => {
|
|
75
|
-
const { pubIssue, cache } = props
|
|
76
|
-
const targeting = {
|
|
77
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
78
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
79
|
-
}
|
|
80
|
-
return (
|
|
81
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
82
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
83
|
-
</Shell>
|
|
84
|
-
)
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
Issue.getInitialProps = async (ctx) => {
|
|
88
|
-
const { query } = ctx
|
|
89
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
90
|
-
)
|
|
91
|
-
return { pubIssue }
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export default Issue
|
|
69
|
+
/* usage
|
|
70
|
+
import Settings, { Ads } from '../../../../settings'
|
|
71
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
72
|
+
import client from '../../../../client'
|
|
73
|
+
import moment from 'moment'
|
|
74
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
75
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
76
|
+
|
|
77
|
+
const Issue = (props) => {
|
|
78
|
+
const { pubIssue, cache } = props
|
|
79
|
+
const targeting = {
|
|
80
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
81
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
82
|
+
}
|
|
83
|
+
return (
|
|
84
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
85
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
86
|
+
</Shell>
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
Issue.getInitialProps = async (ctx) => {
|
|
91
|
+
const { query } = ctx
|
|
92
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
93
|
+
)
|
|
94
|
+
return { pubIssue }
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export default Issue
|
|
95
98
|
*/
|
|
96
99
|
|
|
97
100
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -117,22 +120,22 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
117
120
|
_props$imageWidth = props.imageWidth,
|
|
118
121
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
119
122
|
|
|
120
|
-
return
|
|
123
|
+
return React.createElement(
|
|
121
124
|
'div',
|
|
122
125
|
{ id: 'issueLanding' },
|
|
123
|
-
|
|
124
|
-
pubIssue.issue.source &&
|
|
126
|
+
React.createElement(Breadcrumbs, null),
|
|
127
|
+
pubIssue.issue.source && React.createElement(
|
|
125
128
|
'p',
|
|
126
129
|
{ className: 'badge badge-primary' },
|
|
127
130
|
pubIssue.issue.source
|
|
128
131
|
),
|
|
129
|
-
pubIssue.issue.description &&
|
|
130
|
-
|
|
132
|
+
pubIssue.issue.description && React.createElement(
|
|
133
|
+
React.Fragment,
|
|
131
134
|
null,
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: pubIssue.issue.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
136
|
+
React.createElement('div', { style: { clear: 'both' } })
|
|
134
137
|
),
|
|
135
|
-
|
|
138
|
+
React.createElement(QueueDeckExpanded, {
|
|
136
139
|
client: client,
|
|
137
140
|
mapping: settings.mapping,
|
|
138
141
|
dataRecord: pubIssue.issue.articles,
|
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,28 +1,28 @@
|
|
|
1
|
+
import React, { 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-be2f7a22.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React__default, { useRef, useEffect } from 'react';
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
12
|
-
import './index-41a678ea.js';
|
|
7
|
+
import './web.dom.iterable-4109ff68.js';
|
|
8
|
+
import './es6.string.iterator-bc33758b.js';
|
|
9
|
+
import './_to-object-b50e61c3.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
|
+
import './AdSlot.js';
|
|
12
|
+
import './extends-60e0e1c6.js';
|
|
13
|
+
import './_object-pie-133f504a.js';
|
|
13
14
|
import 'prop-types';
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './stringify-4330ccdc.js';
|
|
20
|
-
import './asyncToGenerator-4877b617.js';
|
|
21
|
-
import Segment from './Segment.js';
|
|
15
|
+
import './index-2446af28.js';
|
|
16
|
+
import './events-6c3a7a63.js';
|
|
17
|
+
import './debounce-533d9748.js';
|
|
18
|
+
import './isSymbol-a7e9aafe.js';
|
|
19
|
+
import './toNumber-5aeba6e7.js';
|
|
22
20
|
import './Beam.js';
|
|
23
|
-
import './
|
|
24
|
-
import
|
|
25
|
-
import
|
|
21
|
+
import './stringify-59c8f690.js';
|
|
22
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
23
|
+
import './_library-528f1934.js';
|
|
24
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
25
|
+
import './main-b5c5aac1.js';
|
|
26
26
|
|
|
27
27
|
var LeftNav = function LeftNav(props) {
|
|
28
28
|
var leftItems = props.leftItems,
|
|
@@ -66,21 +66,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
66
66
|
|
|
67
67
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
68
68
|
if (checkUrlIsExternal(subRow.url)) {
|
|
69
|
-
return
|
|
69
|
+
return React.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
72
72
|
subRow.name
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
return
|
|
76
|
+
return React.createElement(
|
|
77
77
|
'a',
|
|
78
78
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
79
79
|
subRow.name
|
|
80
80
|
);
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
return
|
|
83
|
+
return React.createElement(
|
|
84
84
|
'section',
|
|
85
85
|
{ ref: leftNavRef },
|
|
86
86
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -88,27 +88,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
88
88
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
89
89
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
90
90
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
91
|
-
return
|
|
91
|
+
return React.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ key: index },
|
|
94
|
-
|
|
94
|
+
React.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
95
95
|
);
|
|
96
96
|
} else {
|
|
97
|
-
return
|
|
97
|
+
return React.createElement(
|
|
98
98
|
'nav',
|
|
99
99
|
{ key: index, 'aria-label': 'Secondary' },
|
|
100
|
-
|
|
100
|
+
React.createElement(
|
|
101
101
|
'div',
|
|
102
102
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
103
|
-
|
|
103
|
+
React.createElement(
|
|
104
104
|
'span',
|
|
105
105
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
106
106
|
row.name
|
|
107
107
|
),
|
|
108
|
-
row.url && SeeAll &&
|
|
108
|
+
row.url && SeeAll && React.createElement(
|
|
109
109
|
'span',
|
|
110
110
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
'a',
|
|
113
113
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
114
114
|
'See All ',
|
|
@@ -116,11 +116,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
116
116
|
)
|
|
117
117
|
)
|
|
118
118
|
),
|
|
119
|
-
|
|
119
|
+
React.createElement(
|
|
120
120
|
'ul',
|
|
121
121
|
{ style: sideNavStyles },
|
|
122
122
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
123
|
-
return
|
|
123
|
+
return React.createElement(
|
|
124
124
|
ListGroup.Item,
|
|
125
125
|
{ as: 'li', key: subIndex + '_2' },
|
|
126
126
|
renderListGroupItem(subRow)
|
|
@@ -133,7 +133,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
133
133
|
);
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
var LeftNav$1 =
|
|
136
|
+
var LeftNav$1 = React.memo(LeftNav);
|
|
137
137
|
|
|
138
138
|
export default LeftNav$1;
|
|
139
139
|
export { LeftNav };
|