@mjhls/mjh-framework 1.0.816-beta.1 → 1.0.817-image-crop-test
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 +170 -170
- 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-7c4b33b3.js → ADInfeed-1ac86856.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-563e0168.js → ADlgInfeed-2ee46b09.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +17 -909
- package/dist/cjs/AlgoliaSearch.js +1088 -1068
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +25 -23
- package/dist/cjs/ArticleProgramLandingPage.js +60 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +62 -60
- package/dist/cjs/Auth.js +686 -662
- 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 +40 -44
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +110 -112
- package/dist/cjs/DeckQueue.js +95 -98
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +82 -80
- package/dist/cjs/Feature.js +30 -32
- package/dist/cjs/ForbesHero.js +46 -47
- package/dist/cjs/GridContent.js +194 -293
- package/dist/cjs/GridHero.js +50 -60
- package/dist/cjs/GroupDeck.js +62 -65
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +11 -21
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +73 -71
- package/dist/cjs/HorizontalHero.js +29 -29
- package/dist/cjs/IssueContentDeck.js +83 -95
- package/dist/cjs/IssueDeck.js +85 -82
- package/dist/cjs/IssueLanding.js +96 -94
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +82 -81
- package/dist/cjs/MediaSeriesLanding.js +1117 -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/NavNormal.js +52 -47
- package/dist/cjs/OncliveHero.js +23 -24
- package/dist/cjs/OncliveLargeHero.js +79 -79
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +112 -115
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -41
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +75 -72
- package/dist/cjs/PublicationLanding.js +139 -138
- package/dist/cjs/QueueDeckExpanded.js +329 -328
- package/dist/cjs/RecentNews.js +23 -25
- package/dist/cjs/RelatedContent.js +56 -58
- 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 +39 -38
- package/dist/cjs/{SeriesSlider-4abb21b4.js → SeriesSlider-4862d8c4.js} +42 -46
- 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 +70 -68
- package/dist/cjs/TaxonomyDescription.js +57 -55
- package/dist/cjs/TemplateNormal.js +77 -76
- package/dist/cjs/ThumbnailCard.js +23 -25
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +19 -22
- package/dist/cjs/VideoProgramLandingPage.js +78 -73
- package/dist/cjs/VideoSeriesCard.js +35 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +51 -49
- package/dist/cjs/VideoSeriesListing.js +79 -77
- package/dist/cjs/View.js +272 -269
- package/dist/cjs/YahooHero.js +45 -46
- package/dist/cjs/YoutubeGroup.js +69 -72
- 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 +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +425 -12
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-021d644c.js → getTargeting-be6168ad.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-a8c4e3fd.js → index-6741b269.js} +996 -1017
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- 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-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- 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 +167 -177
- 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-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-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 +27 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-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-31055afd.js → ADInfeed-7aaa47e1.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-dcb27a6c.js → ADlgInfeed-78f95e78.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +17 -909
- package/dist/esm/AlgoliaSearch.js +737 -718
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +21 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -55
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +57 -56
- package/dist/esm/Auth.js +665 -645
- 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 +37 -42
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +101 -107
- package/dist/esm/DeckQueue.js +86 -93
- package/dist/esm/{Dfp-b7236041.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +75 -74
- package/dist/esm/Feature.js +22 -26
- package/dist/esm/ForbesHero.js +38 -40
- package/dist/esm/GridContent.js +176 -279
- package/dist/esm/GridHero.js +42 -53
- package/dist/esm/GroupDeck.js +49 -53
- package/dist/esm/HamMagazine.js +115 -115
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -21
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -68
- package/dist/esm/HorizontalHero.js +25 -26
- package/dist/esm/IssueContentDeck.js +68 -85
- package/dist/esm/IssueDeck.js +73 -75
- package/dist/esm/IssueLanding.js +92 -91
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +78 -78
- package/dist/esm/MediaSeriesLanding.js +841 -853
- 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/NavNormal.js +38 -38
- package/dist/esm/OncliveHero.js +20 -22
- package/dist/esm/OncliveLargeHero.js +66 -67
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +108 -112
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -38
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +61 -63
- package/dist/esm/PublicationLanding.js +122 -125
- package/dist/esm/QueueDeckExpanded.js +288 -287
- package/dist/esm/RecentNews.js +20 -23
- package/dist/esm/RelatedContent.js +49 -52
- 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 +33 -32
- package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-38cca5eb.js} +32 -37
- 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 +60 -63
- package/dist/esm/TaxonomyDescription.js +51 -50
- package/dist/esm/TemplateNormal.js +72 -72
- package/dist/esm/ThumbnailCard.js +14 -18
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +15 -19
- package/dist/esm/VideoProgramLandingPage.js +67 -66
- package/dist/esm/VideoSeriesCard.js +28 -27
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -41
- package/dist/esm/VideoSeriesListing.js +74 -73
- package/dist/esm/View.js +252 -253
- package/dist/esm/YahooHero.js +38 -40
- package/dist/esm/YoutubeGroup.js +53 -57
- 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-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- 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 +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +425 -12
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -44
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-68291ce9.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-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-782e414a.js → index-c1bcae0f.js} +953 -981
- 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-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +137 -149
- 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-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-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 +27 -3
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- 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 -110
- 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,23 +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 { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
20
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
20
|
+
import 'prop-types';
|
|
21
|
+
import './index-0dbff1d1.js';
|
|
21
22
|
|
|
22
23
|
var usePrevious = function usePrevious(value) {
|
|
23
24
|
var ref = useRef();
|
|
@@ -30,8 +31,12 @@ var usePrevious = function usePrevious(value) {
|
|
|
30
31
|
var IssueDeck = function IssueDeck(props) {
|
|
31
32
|
var data = props.data,
|
|
32
33
|
href = props.href,
|
|
33
|
-
imageHeight = props.imageHeight,
|
|
34
|
-
|
|
34
|
+
_props$imageHeight = props.imageHeight,
|
|
35
|
+
imageHeight = _props$imageHeight === undefined ? null : _props$imageHeight,
|
|
36
|
+
_props$imageWidth = props.imageWidth,
|
|
37
|
+
imageWidth = _props$imageWidth === undefined ? null : _props$imageWidth,
|
|
38
|
+
_props$imageFit = props.imageFit,
|
|
39
|
+
imageFit = _props$imageFit === undefined ? null : _props$imageFit,
|
|
35
40
|
Website = props.Website,
|
|
36
41
|
client = props.client,
|
|
37
42
|
publication = props.publication,
|
|
@@ -63,17 +68,10 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
63
68
|
|
|
64
69
|
var prevValues = usePrevious(values);
|
|
65
70
|
|
|
66
|
-
var urlFor = function urlFor(source) {
|
|
67
|
-
var builder = imageUrlBuilder(client);
|
|
68
|
-
return builder.image(source).auto('format');
|
|
69
|
-
};
|
|
70
|
-
|
|
71
71
|
var renderCardImage = function renderCardImage(thumbnail) {
|
|
72
72
|
if (thumbnail && thumbnail.asset) {
|
|
73
|
-
var url = urlFor(thumbnail);
|
|
74
|
-
|
|
75
|
-
if (imageWidth) url = url.width(imageWidth);
|
|
76
|
-
return url.url();
|
|
73
|
+
var url = urlFor({ client: client, source: thumbnail, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit });
|
|
74
|
+
return url;
|
|
77
75
|
} else {
|
|
78
76
|
return Website.logo;
|
|
79
77
|
}
|
|
@@ -133,71 +131,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
133
131
|
}
|
|
134
132
|
}, [issuesData, setScrolling, count]);
|
|
135
133
|
|
|
136
|
-
return
|
|
134
|
+
return React.createElement(
|
|
137
135
|
InfiniteScroll,
|
|
138
136
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
139
137
|
return loadMore();
|
|
140
138
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
141
|
-
|
|
142
|
-
Row
|
|
139
|
+
React.createElement(
|
|
140
|
+
Row,
|
|
143
141
|
null,
|
|
144
142
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
145
|
-
return publication && row.identifier && row.identifier.current &&
|
|
146
|
-
Col
|
|
143
|
+
return publication && row.identifier && row.identifier.current && React.createElement(
|
|
144
|
+
Col,
|
|
147
145
|
{ md: 12, lg: 12, key: index },
|
|
148
|
-
|
|
149
|
-
Card
|
|
146
|
+
React.createElement(
|
|
147
|
+
Card,
|
|
150
148
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
151
|
-
|
|
152
|
-
Row
|
|
149
|
+
React.createElement(
|
|
150
|
+
Row,
|
|
153
151
|
{ style: { flexDirection: 'left' } },
|
|
154
|
-
|
|
155
|
-
Col
|
|
152
|
+
React.createElement(
|
|
153
|
+
Col,
|
|
156
154
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
157
|
-
row.issues.length > 0 ?
|
|
155
|
+
row.issues.length > 0 ? React.createElement(
|
|
158
156
|
'a',
|
|
159
157
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
160
|
-
row.thumbnail &&
|
|
158
|
+
row.thumbnail && React.createElement(
|
|
161
159
|
LazyLoad,
|
|
162
160
|
{ height: imageHeight },
|
|
163
|
-
|
|
161
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
164
162
|
)
|
|
165
|
-
) :
|
|
163
|
+
) : React.createElement(
|
|
166
164
|
'a',
|
|
167
165
|
null,
|
|
168
|
-
row.thumbnail &&
|
|
166
|
+
row.thumbnail && React.createElement(
|
|
169
167
|
LazyLoad,
|
|
170
168
|
{ height: imageHeight },
|
|
171
|
-
|
|
169
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
172
170
|
)
|
|
173
171
|
)
|
|
174
172
|
),
|
|
175
|
-
|
|
176
|
-
Col
|
|
173
|
+
React.createElement(
|
|
174
|
+
Col,
|
|
177
175
|
{ md: 12, lg: 8 },
|
|
178
|
-
|
|
179
|
-
Card
|
|
176
|
+
React.createElement(
|
|
177
|
+
Card.Body,
|
|
180
178
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
181
|
-
|
|
182
|
-
Row
|
|
179
|
+
React.createElement(
|
|
180
|
+
Row,
|
|
183
181
|
null,
|
|
184
|
-
|
|
185
|
-
Col
|
|
182
|
+
React.createElement(
|
|
183
|
+
Col,
|
|
186
184
|
null,
|
|
187
|
-
|
|
188
|
-
Card
|
|
185
|
+
React.createElement(
|
|
186
|
+
Card.Title,
|
|
189
187
|
null,
|
|
190
188
|
row.name
|
|
191
189
|
)
|
|
192
190
|
)
|
|
193
191
|
),
|
|
194
|
-
|
|
195
|
-
Row
|
|
192
|
+
React.createElement(
|
|
193
|
+
Row,
|
|
196
194
|
null,
|
|
197
|
-
|
|
198
|
-
Col
|
|
195
|
+
React.createElement(
|
|
196
|
+
Col,
|
|
199
197
|
null,
|
|
200
|
-
|
|
198
|
+
React.createElement(
|
|
201
199
|
'div',
|
|
202
200
|
null,
|
|
203
201
|
'Volume: ',
|
|
@@ -205,13 +203,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
205
203
|
)
|
|
206
204
|
)
|
|
207
205
|
),
|
|
208
|
-
|
|
209
|
-
Row
|
|
206
|
+
React.createElement(
|
|
207
|
+
Row,
|
|
210
208
|
null,
|
|
211
|
-
|
|
212
|
-
Col
|
|
209
|
+
React.createElement(
|
|
210
|
+
Col,
|
|
213
211
|
null,
|
|
214
|
-
|
|
212
|
+
React.createElement(
|
|
215
213
|
'div',
|
|
216
214
|
null,
|
|
217
215
|
'Number: ',
|
|
@@ -219,19 +217,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
219
217
|
)
|
|
220
218
|
)
|
|
221
219
|
),
|
|
222
|
-
|
|
223
|
-
Row
|
|
220
|
+
React.createElement(
|
|
221
|
+
Row,
|
|
224
222
|
null,
|
|
225
|
-
row.issues.length > 0 &&
|
|
223
|
+
row.issues.length > 0 && React.createElement(
|
|
226
224
|
'a',
|
|
227
225
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
228
|
-
|
|
229
|
-
Button
|
|
226
|
+
React.createElement(
|
|
227
|
+
Button,
|
|
230
228
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
231
229
|
'View Issue'
|
|
232
230
|
)
|
|
233
231
|
),
|
|
234
|
-
row.pdf && row.pdf.asset &&
|
|
232
|
+
row.pdf && row.pdf.asset && React.createElement(
|
|
235
233
|
'a',
|
|
236
234
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
237
235
|
'Download Issue'
|
|
@@ -242,13 +240,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
242
240
|
)
|
|
243
241
|
)
|
|
244
242
|
);
|
|
245
|
-
}) :
|
|
243
|
+
}) : React.createElement(
|
|
246
244
|
'div',
|
|
247
245
|
null,
|
|
248
|
-
|
|
246
|
+
React.createElement(
|
|
249
247
|
'h5',
|
|
250
248
|
null,
|
|
251
|
-
|
|
249
|
+
React.createElement(
|
|
252
250
|
'em',
|
|
253
251
|
{ className: 'pl-3' },
|
|
254
252
|
'New content coming soon, please check back later.'
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -1,99 +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-c1bcae0f.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 'react-
|
|
30
|
-
import './visibility-sensor-72fd8f8b.js';
|
|
31
|
-
import './index-73819142.js';
|
|
32
|
-
import './index-5f7e79e7.js';
|
|
33
|
-
import './main-e4a934b2.js';
|
|
34
|
-
import './entities-7cc3bf45.js';
|
|
35
|
-
import './slicedToArray-641f241f.js';
|
|
36
|
-
import './stringify-4330ccdc.js';
|
|
37
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
27
|
+
import './index-35bdcc81.js';
|
|
28
|
+
import './main-b5c5aac1.js';
|
|
29
|
+
import './entities-932b50cf.js';
|
|
30
|
+
import './ADInfeed-7aaa47e1.js';
|
|
31
|
+
import 'react-bootstrap/Card';
|
|
40
32
|
import './AdSlot.js';
|
|
41
|
-
import './
|
|
42
|
-
import '
|
|
43
|
-
import './
|
|
44
|
-
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-78f95e78.js';
|
|
45
44
|
import './getContentCategory-15dcc413.js';
|
|
46
|
-
import './
|
|
47
|
-
import
|
|
45
|
+
import './timeDifferenceCalc.js';
|
|
46
|
+
import 'react-bootstrap/Breadcrumb';
|
|
48
47
|
import './index-c7e2ac95.js';
|
|
49
|
-
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';
|
|
50
52
|
import './GroupDeck.js';
|
|
51
|
-
import '
|
|
52
|
-
import './
|
|
53
|
-
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
54
|
-
import './iconBase-602d52fe.js';
|
|
55
|
-
import './index.esm-29e48d38.js';
|
|
56
|
-
import { g as getSerializers } from './index-782e414a.js';
|
|
57
|
-
import './util-7700fc59.js';
|
|
58
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
53
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
54
|
+
import './SocialShare.js';
|
|
59
55
|
import 'next/head';
|
|
60
56
|
import 'react-share';
|
|
61
|
-
import './
|
|
62
|
-
import './_object-to-array-7e804fce.js';
|
|
57
|
+
import './_object-to-array-0f197f89.js';
|
|
63
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';
|
|
64
67
|
import 'react-bootstrap/Figure';
|
|
65
|
-
import 'react-bootstrap/Breadcrumb';
|
|
66
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
67
68
|
|
|
68
|
-
/* usage
|
|
69
|
-
import Settings, { Ads } from '../../../../settings'
|
|
70
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
71
|
-
import client from '../../../../client'
|
|
72
|
-
import moment from 'moment'
|
|
73
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
74
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
75
|
-
|
|
76
|
-
const Issue = (props) => {
|
|
77
|
-
const { pubIssue, cache } = props
|
|
78
|
-
const targeting = {
|
|
79
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
80
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
81
|
-
}
|
|
82
|
-
return (
|
|
83
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
84
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
85
|
-
</Shell>
|
|
86
|
-
)
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
Issue.getInitialProps = async (ctx) => {
|
|
90
|
-
const { query } = ctx
|
|
91
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
92
|
-
)
|
|
93
|
-
return { pubIssue }
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
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
|
|
97
98
|
*/
|
|
98
99
|
|
|
99
100
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -119,22 +120,22 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
119
120
|
_props$imageWidth = props.imageWidth,
|
|
120
121
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
121
122
|
|
|
122
|
-
return
|
|
123
|
+
return React.createElement(
|
|
123
124
|
'div',
|
|
124
125
|
{ id: 'issueLanding' },
|
|
125
|
-
|
|
126
|
-
pubIssue.issue.source &&
|
|
126
|
+
React.createElement(Breadcrumbs, null),
|
|
127
|
+
pubIssue.issue.source && React.createElement(
|
|
127
128
|
'p',
|
|
128
129
|
{ className: 'badge badge-primary' },
|
|
129
130
|
pubIssue.issue.source
|
|
130
131
|
),
|
|
131
|
-
pubIssue.issue.description &&
|
|
132
|
-
|
|
132
|
+
pubIssue.issue.description && React.createElement(
|
|
133
|
+
React.Fragment,
|
|
133
134
|
null,
|
|
134
|
-
|
|
135
|
-
|
|
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' } })
|
|
136
137
|
),
|
|
137
|
-
|
|
138
|
+
React.createElement(QueueDeckExpanded, {
|
|
138
139
|
client: client,
|
|
139
140
|
mapping: settings.mapping,
|
|
140
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-fc1c2e29.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 };
|