@mjhls/mjh-framework 1.0.861 → 1.0.862
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 +23 -23
- package/dist/cjs/AD300x250x600.js +23 -23
- package/dist/cjs/AD728x90.js +26 -26
- package/dist/cjs/ADFloatingFooter.js +22 -22
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +22 -22
- package/dist/cjs/{ADInfeed-ff26342c.js → ADInfeed-f8324b70.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +22 -22
- package/dist/cjs/ADSponsoredResources.js +22 -22
- package/dist/cjs/ADWebcast.js +22 -22
- package/dist/cjs/ADWelcome.js +19 -19
- package/dist/cjs/{ADlgInfeed-ad4953d4.js → ADlgInfeed-98d7c699.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +23 -23
- package/dist/cjs/AdSlotsProvider.js +13 -13
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +49 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +31 -31
- package/dist/cjs/ArticleSeriesListing.js +32 -32
- package/dist/cjs/Auth.js +484 -348
- package/dist/cjs/AuthWrapper.js +588 -11
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-c21aac7f.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +24 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +32 -32
- package/dist/cjs/ConferenceArticleCard.js +22 -22
- package/dist/cjs/DeckContent.js +41 -41
- package/dist/cjs/DeckQueue.js +30 -30
- package/dist/cjs/{Dfp-0bf098b5.js → Dfp-3f0ed4c8.js} +14 -14
- package/dist/cjs/EventsDeck.js +45 -45
- package/dist/cjs/ExternalResources.js +46 -47
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +46 -46
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +37 -37
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -47
- package/dist/cjs/HorizontalHero.js +5 -5
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +16 -16
- package/dist/cjs/IssueLanding.js +84 -85
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +21 -21
- package/dist/cjs/MasterDeck.js +40 -40
- package/dist/cjs/MediaSeriesLanding.js +701 -502
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +41 -41
- package/dist/cjs/NavNative.js +41 -41
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +88 -1267
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +34 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +55 -55
- package/dist/cjs/QueueDeckExpanded.js +37 -37
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +35 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +19 -19
- package/dist/cjs/{SeriesSlider-60fa1342.js → SeriesSlider-e3e8ead7.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +17 -17
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-948138c7.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +45 -46
- package/dist/cjs/TemplateNormal.js +47 -47
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +14 -14
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +51 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +37 -37
- package/dist/cjs/VideoSeriesListing.js +32 -32
- package/dist/cjs/View.js +90 -92
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +26 -26
- 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/{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-60837c34.js → extends-29bdbc6d.js} +8 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +135 -71
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -46
- package/dist/cjs/{getTargeting-3e45e4d4.js → getTargeting-32d1c2e4.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-44481153.js → index-0e4427c8.js} +40 -21
- package/dist/cjs/{index-87d0db67.js → index-3c2fa34e.js} +425 -175
- 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-974f47d9.js → index.esm-00a6aade.js} +1 -1
- 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-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +141 -140
- package/dist/cjs/{inherits-87492b40.js → inherits-c2065b95.js} +22 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- 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-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-9d7f610f.js → typeof-88a668c5.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- 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/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +26 -26
- package/dist/esm/AD300x250x600.js +26 -26
- package/dist/esm/AD728x90.js +29 -29
- package/dist/esm/ADFloatingFooter.js +28 -28
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +28 -28
- package/dist/esm/{ADInfeed-422ad6e6.js → ADInfeed-a71a3972.js} +9 -9
- package/dist/esm/ADSkyscraper.js +28 -28
- package/dist/esm/ADSponsoredResources.js +28 -28
- package/dist/esm/ADWebcast.js +28 -28
- package/dist/esm/ADWelcome.js +29 -29
- package/dist/esm/{ADlgInfeed-f7468db8.js → ADlgInfeed-d94f1437.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +26 -26
- package/dist/esm/AdSlotsProvider.js +14 -14
- package/dist/esm/AlgoliaSearch.js +44 -44
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +55 -56
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +56 -56
- package/dist/esm/Auth.js +554 -418
- package/dist/esm/AuthWrapper.js +607 -29
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-30aeba69.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -27
- package/dist/esm/Column3.js +51 -51
- package/dist/esm/ConferenceArticleCard.js +35 -35
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +86 -86
- package/dist/esm/DeckQueue.js +68 -68
- package/dist/esm/{Dfp-85c9513e.js → Dfp-be030f2a.js} +22 -22
- package/dist/esm/EventsDeck.js +105 -105
- package/dist/esm/ExternalResources.js +72 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +163 -163
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +114 -114
- 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 +68 -69
- package/dist/esm/HorizontalHero.js +23 -23
- package/dist/esm/IssueContentDeck.js +50 -50
- package/dist/esm/IssueDeck.js +47 -47
- package/dist/esm/IssueLanding.js +92 -93
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +34 -34
- package/dist/esm/MasterDeck.js +73 -73
- package/dist/esm/MediaSeriesLanding.js +986 -787
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +123 -123
- package/dist/esm/NavNative.js +112 -112
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +131 -1309
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +39 -39
- package/dist/esm/PublicationLanding.js +102 -102
- package/dist/esm/QueueDeckExpanded.js +275 -275
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +48 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-05ecb544.js → SeriesSlider-ae17159f.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-47815365.js → SocialSearchComponent-db963c3e.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -42
- package/dist/esm/TaxonomyDescription.js +49 -50
- package/dist/esm/TemplateNormal.js +67 -67
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +27 -27
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +63 -64
- 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 +72 -72
- package/dist/esm/View.js +246 -248
- 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-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- 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-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-eb69e8ac.js → extends-60e0e1c6.js} +8 -8
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +135 -71
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -46
- package/dist/esm/{getTargeting-9cb7e014.js → getTargeting-cf2724e3.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- 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-20e503c9.js → index-fce5c5b6.js} +819 -568
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- 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-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +137 -136
- package/dist/esm/{inherits-0d8cda6e.js → inherits-a41fe93f.js} +20 -20
- 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-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-d4165069.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-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-af9c50d8.js → typeof-a286cf0c.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- 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-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +111 -110
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-747e7d25.js +0 -886
- package/dist/esm/stringify-4330ccdc.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
package/dist/esm/ADWebcast.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React, { useState, useEffect } from 'react';
|
|
11
|
-
import './index-1819118a.js';
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
6
|
+
import './es6.string.iterator-bc33758b.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import './extends-60e0e1c6.js';
|
|
10
|
+
import './_object-pie-133f504a.js';
|
|
12
11
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
-
import './debounce-
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
-
import './stringify-4330ccdc.js';
|
|
19
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
20
|
-
import './Segment.js';
|
|
12
|
+
import './index-5cc7b406.js';
|
|
13
|
+
import './debounce-533d9748.js';
|
|
14
|
+
import './isSymbol-a7e9aafe.js';
|
|
15
|
+
import './toNumber-5aeba6e7.js';
|
|
21
16
|
import './Beam.js';
|
|
22
|
-
import
|
|
17
|
+
import './stringify-59c8f690.js';
|
|
18
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
19
|
+
import './_library-528f1934.js';
|
|
20
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
21
|
+
import './Segment.js';
|
|
22
|
+
import './main-d4165069.js';
|
|
23
23
|
|
|
24
24
|
// Webcast AD : New AD with size [200,100] that is to be renderedin the LeftNav between the spotlight and subnavigation.
|
|
25
25
|
var ADWebcast = function ADWebcast(_ref) {
|
|
@@ -59,9 +59,9 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
59
59
|
setWidthFlag = _useState2[1];
|
|
60
60
|
|
|
61
61
|
var _useState3 = useState(true),
|
|
62
|
-
_useState4 = _slicedToArray(_useState3, 2)
|
|
63
|
-
|
|
64
|
-
setPreviewAd = _useState4[1];
|
|
62
|
+
_useState4 = _slicedToArray(_useState3, 2);
|
|
63
|
+
_useState4[0];
|
|
64
|
+
var setPreviewAd = _useState4[1];
|
|
65
65
|
|
|
66
66
|
useEffect(function () {
|
|
67
67
|
var path = window && window.location && window.location.search;
|
|
@@ -78,16 +78,16 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
78
78
|
}, [minScreenWidth]);
|
|
79
79
|
|
|
80
80
|
if (widthFlag) {
|
|
81
|
-
return
|
|
82
|
-
|
|
81
|
+
return React__default.createElement(
|
|
82
|
+
React__default.Fragment,
|
|
83
83
|
null,
|
|
84
|
-
|
|
84
|
+
React__default.createElement(
|
|
85
85
|
'div',
|
|
86
86
|
{ id: 'webcast-ad-wrapper', className: 'webcast-ad-wrapper' },
|
|
87
|
-
|
|
87
|
+
React__default.createElement(
|
|
88
88
|
'div',
|
|
89
89
|
{ className: 'webcast-ad', style: { paddingBottom: '15px' } },
|
|
90
|
-
|
|
90
|
+
React__default.createElement(DFPAdSlot, {
|
|
91
91
|
className: className,
|
|
92
92
|
slotId: slotId,
|
|
93
93
|
networkID: networkID,
|
|
@@ -102,7 +102,7 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
102
102
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
103
103
|
})
|
|
104
104
|
),
|
|
105
|
-
|
|
105
|
+
React__default.createElement(
|
|
106
106
|
'style',
|
|
107
107
|
{ jsx: 'true' },
|
|
108
108
|
'\n /* setting height to 0px when the ad slot is empty. */\n .webcast-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADWelcome.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React, { useState, useEffect } from 'react';
|
|
11
|
-
import './index-1819118a.js';
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
6
|
+
import './es6.string.iterator-bc33758b.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import './extends-60e0e1c6.js';
|
|
10
|
+
import './_object-pie-133f504a.js';
|
|
12
11
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
-
import './debounce-
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
-
import './stringify-4330ccdc.js';
|
|
19
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
20
|
-
import './Segment.js';
|
|
12
|
+
import './index-5cc7b406.js';
|
|
13
|
+
import './debounce-533d9748.js';
|
|
14
|
+
import './isSymbol-a7e9aafe.js';
|
|
15
|
+
import './toNumber-5aeba6e7.js';
|
|
21
16
|
import './Beam.js';
|
|
22
|
-
import
|
|
17
|
+
import './stringify-59c8f690.js';
|
|
18
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
19
|
+
import './_library-528f1934.js';
|
|
20
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
21
|
+
import './Segment.js';
|
|
22
|
+
import './main-d4165069.js';
|
|
23
23
|
|
|
24
24
|
var ADWelcome = function ADWelcome(_ref) {
|
|
25
25
|
var title = _ref.title,
|
|
@@ -95,21 +95,21 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
95
95
|
|
|
96
96
|
return (
|
|
97
97
|
// Setting welcome ad to display:none and Setting to display:block after checking for cookie in site level.
|
|
98
|
-
|
|
98
|
+
React__default.createElement(
|
|
99
99
|
'div',
|
|
100
100
|
{ style: { outline: 'none', display: 'none' }, className: 'welcome-modal', id: 'welcome-modal' },
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
'div',
|
|
103
103
|
{ className: 'welcome-ad-head-wrapper' },
|
|
104
|
-
|
|
104
|
+
React__default.createElement(
|
|
105
105
|
'div',
|
|
106
106
|
{ className: 'left-top' },
|
|
107
|
-
|
|
107
|
+
React__default.createElement('img', { style: { width: '100%' }, src: Website.logo, alt: Website.title })
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React__default.createElement(
|
|
110
110
|
'div',
|
|
111
111
|
{ className: 'right-top' },
|
|
112
|
-
|
|
112
|
+
React__default.createElement(
|
|
113
113
|
'span',
|
|
114
114
|
{
|
|
115
115
|
className: 'continue-site',
|
|
@@ -124,7 +124,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
124
124
|
} },
|
|
125
125
|
'CONTINUE TO SITE'
|
|
126
126
|
),
|
|
127
|
-
|
|
127
|
+
React__default.createElement(
|
|
128
128
|
'p',
|
|
129
129
|
{
|
|
130
130
|
style: {
|
|
@@ -136,10 +136,10 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
136
136
|
)
|
|
137
137
|
)
|
|
138
138
|
),
|
|
139
|
-
|
|
139
|
+
React__default.createElement(
|
|
140
140
|
'div',
|
|
141
141
|
{ className: title },
|
|
142
|
-
|
|
142
|
+
React__default.createElement(DFPAdSlot, {
|
|
143
143
|
className: className,
|
|
144
144
|
slotId: slotId,
|
|
145
145
|
networkID: networkID,
|
|
@@ -150,7 +150,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
150
150
|
checkIsAdFound: checkIsAdFound
|
|
151
151
|
})
|
|
152
152
|
),
|
|
153
|
-
|
|
153
|
+
React__default.createElement(
|
|
154
154
|
'style',
|
|
155
155
|
{ jsx: 'true' },
|
|
156
156
|
'\n .continue-site:hover {\n cursor: pointer;\n }\n\n .welcome-modal {\n max-width: 100% !important;\n margin: 0px !important;\n height: 100vh;\n }\n .welcome-ad-head-wrapper {\n display: flex;\n justify-content: space-between;\n }\n .right-top {\n max-width: 250px;\n padding: 10px;\n }\n .left-top {\n max-width: 250px;\n padding: 10px;\n }\n .' + title + ' {\n width: auto !important;\n padding-top: 25px;\n justify-content: center;\n align-items: center;\n display: flex;\n }\n /* setting height to 0px when the ad slot is empty. */\n .' + title + ' div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
2
3
|
import 'react-bootstrap/Card';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
4
4
|
import DFPAdSlot from './AdSlot.js';
|
|
5
5
|
|
|
6
6
|
var ADlgInfeed = function ADlgInfeed(props) {
|
|
@@ -16,9 +16,9 @@ var ADlgInfeed = function ADlgInfeed(props) {
|
|
|
16
16
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag;
|
|
17
17
|
|
|
18
18
|
var _useState = useState(true),
|
|
19
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
20
|
-
|
|
21
|
-
setPreviewAd = _useState2[1];
|
|
19
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
20
|
+
_useState2[0];
|
|
21
|
+
var setPreviewAd = _useState2[1];
|
|
22
22
|
|
|
23
23
|
useEffect(function () {
|
|
24
24
|
var path = window && window.location && window.location.search;
|
|
@@ -28,10 +28,10 @@ var ADlgInfeed = function ADlgInfeed(props) {
|
|
|
28
28
|
}));
|
|
29
29
|
}, []);
|
|
30
30
|
|
|
31
|
-
return
|
|
31
|
+
return React__default.createElement(
|
|
32
32
|
'div',
|
|
33
33
|
{ id: 'lg-infeed-wrapper-' + (index + 1), className: 'lg-infeed-wrapper', style: { display: 'flex', flex: '1 0 auto' } },
|
|
34
|
-
|
|
34
|
+
React__default.createElement(DFPAdSlot, {
|
|
35
35
|
className: className,
|
|
36
36
|
networkID: networkID,
|
|
37
37
|
adUnit: adUnit,
|
|
@@ -43,7 +43,7 @@ var ADlgInfeed = function ADlgInfeed(props) {
|
|
|
43
43
|
/* Passing refresh flag */
|
|
44
44
|
, refreshFlag: refreshFlag
|
|
45
45
|
}),
|
|
46
|
-
|
|
46
|
+
React__default.createElement(
|
|
47
47
|
'style',
|
|
48
48
|
{ jsx: 'true' },
|
|
49
49
|
'\n .lg-infeed-wrapper {\n flex-direction: row;\n margin-bottom: 1.25rem;\n padding-bottom: 1.25rem;\n border-bottom: 1px solid rgb(221, 221, 221);\n }\n .lg-infeed-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import '
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
-
import './web.dom.iterable-4439f05a.js';
|
|
6
|
-
import React, { useState } from 'react';
|
|
7
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
8
|
-
import './iconBase-602d52fe.js';
|
|
9
|
-
import { a as IoMdArrowDropdown } from './index.esm-3fdda599.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import React__default, { useState } from 'react';
|
|
10
3
|
import Accordion from 'react-bootstrap/Accordion';
|
|
11
4
|
import { useAccordionToggle } from 'react-bootstrap/AccordionToggle';
|
|
5
|
+
import { a as IoMdArrowDropdown } from './index.esm-f6156a57.js';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.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 './iconBase-ccc56b97.js';
|
|
12
12
|
|
|
13
13
|
var AccordionPanel = function AccordionPanel(props) {
|
|
14
14
|
var accordionClassName = props.accordionClassName,
|
|
@@ -30,48 +30,48 @@ var AccordionPanel = function AccordionPanel(props) {
|
|
|
30
30
|
var decoratedOnClick = useAccordionToggle(eventKey, function () {
|
|
31
31
|
return handleAccordion(eventKey);
|
|
32
32
|
});
|
|
33
|
-
return
|
|
33
|
+
return React__default.createElement(
|
|
34
34
|
'div',
|
|
35
35
|
{ onMouseEnter: decoratedOnClick, className: 'accordion-head' },
|
|
36
36
|
children
|
|
37
37
|
);
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
return
|
|
41
|
-
|
|
40
|
+
return React__default.createElement(
|
|
41
|
+
React__default.Fragment,
|
|
42
42
|
null,
|
|
43
|
-
data && data.length &&
|
|
43
|
+
data && data.length && React__default.createElement(
|
|
44
44
|
Accordion,
|
|
45
45
|
{ defaultActiveKey: '0', activeKey: activeAccordionKey, className: accordionClassName },
|
|
46
46
|
data.map(function (item) {
|
|
47
|
-
return
|
|
48
|
-
|
|
47
|
+
return React__default.createElement(
|
|
48
|
+
React__default.Fragment,
|
|
49
49
|
null,
|
|
50
|
-
|
|
50
|
+
React__default.createElement(
|
|
51
51
|
CustomToggle,
|
|
52
52
|
{ key: item.id, eventKey: item.id },
|
|
53
|
-
|
|
53
|
+
React__default.createElement(
|
|
54
54
|
'a',
|
|
55
55
|
{ href: item.url },
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
React__default.createElement(
|
|
57
|
+
React__default.Fragment,
|
|
58
58
|
null,
|
|
59
59
|
item.title,
|
|
60
|
-
item.subItems &&
|
|
60
|
+
item.subItems && React__default.createElement(IoMdArrowDropdown, null)
|
|
61
61
|
)
|
|
62
62
|
)
|
|
63
63
|
),
|
|
64
|
-
|
|
64
|
+
React__default.createElement(
|
|
65
65
|
Accordion.Collapse,
|
|
66
66
|
{ eventKey: item.id },
|
|
67
|
-
|
|
67
|
+
React__default.createElement(
|
|
68
68
|
'div',
|
|
69
69
|
null,
|
|
70
70
|
item.subItems && item.subItems.map(function (subItem) {
|
|
71
|
-
return
|
|
71
|
+
return React__default.createElement(
|
|
72
72
|
'a',
|
|
73
73
|
{ href: subItem.url },
|
|
74
|
-
|
|
74
|
+
React__default.createElement(
|
|
75
75
|
'div',
|
|
76
76
|
{ key: subItem.id, className: 'accordion-sub-item' },
|
|
77
77
|
subItem.title
|
package/dist/esm/AdSlot.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import '
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-5d49a330.js';
|
|
6
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
-
import './_object-pie-33c40e79.js';
|
|
8
|
-
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
9
|
-
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import React, { useState, useEffect } from 'react';
|
|
11
|
-
import { l as lib_3, a as lib_2 } from './index-1819118a.js';
|
|
1
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React__default, { useState, useEffect } from 'react';
|
|
12
4
|
import PropTypes from 'prop-types';
|
|
13
|
-
import './
|
|
14
|
-
import { d as debounce_1 } from './debounce-
|
|
15
|
-
import './toNumber-2f7a84cd.js';
|
|
16
|
-
import { d as main_16 } from './main-747e7d25.js';
|
|
17
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
-
import './stringify-4330ccdc.js';
|
|
19
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
20
|
-
import Segment from './Segment.js';
|
|
5
|
+
import { l as lib_3, a as lib_2 } from './index-5cc7b406.js';
|
|
6
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
21
7
|
import Beam from './Beam.js';
|
|
8
|
+
import Segment from './Segment.js';
|
|
9
|
+
import { d as main_18 } from './main-d4165069.js';
|
|
10
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
+
import './_to-object-b50e61c3.js';
|
|
12
|
+
import './_object-pie-133f504a.js';
|
|
13
|
+
import './web.dom.iterable-4109ff68.js';
|
|
14
|
+
import './es6.string.iterator-bc33758b.js';
|
|
15
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
16
|
+
import './isSymbol-a7e9aafe.js';
|
|
17
|
+
import './toNumber-5aeba6e7.js';
|
|
18
|
+
import './stringify-59c8f690.js';
|
|
19
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
20
|
+
import './_library-528f1934.js';
|
|
21
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
22
22
|
|
|
23
23
|
var initialLoadIsDone = false;
|
|
24
24
|
var initialLoadInProgress = false;
|
|
@@ -108,9 +108,9 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
108
108
|
setAdRefreshable = _useState4[1];
|
|
109
109
|
|
|
110
110
|
var _useState5 = useState(false),
|
|
111
|
-
_useState6 = _slicedToArray(_useState5, 2)
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
_useState6 = _slicedToArray(_useState5, 2);
|
|
112
|
+
_useState6[0];
|
|
113
|
+
_useState6[1];
|
|
114
114
|
|
|
115
115
|
targeting.ksg = typeof window !== 'undefined' && window.Krux ? window.Krux.segments : null;
|
|
116
116
|
targeting.kuid = typeof window !== 'undefined' && window.Krux ? window.Krux.user : null;
|
|
@@ -139,10 +139,10 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
139
139
|
eventData = _useState8[0],
|
|
140
140
|
setEventData = _useState8[1];
|
|
141
141
|
|
|
142
|
-
return
|
|
142
|
+
return React__default.createElement(
|
|
143
143
|
'div',
|
|
144
144
|
{ className: className, style: { textAlign: 'center' } },
|
|
145
|
-
|
|
145
|
+
React__default.createElement(lib_2, {
|
|
146
146
|
style: { marginBottom: '1rem' },
|
|
147
147
|
slotId: slotId,
|
|
148
148
|
sizes: sizes,
|
|
@@ -151,7 +151,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
151
151
|
targetingArguments: adTargeting,
|
|
152
152
|
onSlotIsViewable: function onSlotIsViewable(e) {
|
|
153
153
|
setStickyAd(true);
|
|
154
|
-
Beam.report_beam_ad('Impression',
|
|
154
|
+
Beam.report_beam_ad('Impression', main_18, eventData.cID, eventData.lID, eventData.campID, eventData.adSize, eventData.slot_id);
|
|
155
155
|
Segment.adViewed(eventData.domain, eventData.advertiserId, eventData.campID, eventData.cID, eventData.lID, eventData.adSize, eventData.isEmpty, eventData.sourceAgnosticCreativeId, eventData.sourceAgnosticLineItemId);
|
|
156
156
|
},
|
|
157
157
|
onSlotRender: function onSlotRender(eventData) {
|
|
@@ -213,7 +213,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
213
213
|
var hasFocus = slot_div.getAttribute('hasFocus');
|
|
214
214
|
if (hasFocus == 'yes' && document.hidden) {
|
|
215
215
|
slot_div.setAttribute('hasFocus', 'no');
|
|
216
|
-
Beam.report_beam_ad('Click',
|
|
216
|
+
Beam.report_beam_ad('Click', main_18, cID, lID, campID, adSize, slotId);
|
|
217
217
|
Segment.adClicked(domain, advertiserId, campID, cID, lID, adSize, isEmpty, sourceAgnosticCreativeId, sourceAgnosticLineItemId);
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
3
|
+
import React__default, { useEffect } from 'react';
|
|
4
|
+
import ReactGA from 'react-ga';
|
|
5
|
+
import { l as lib_3, b as lib_1 } from './index-5cc7b406.js';
|
|
6
|
+
import { e as main_24, m as main_43 } from './main-d4165069.js';
|
|
1
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
8
|
+
import './es6.string.iterator-bc33758b.js';
|
|
9
|
+
import './_to-object-b50e61c3.js';
|
|
10
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
11
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
-
import './web.dom.iterable-4439f05a.js';
|
|
9
|
-
import React, { useEffect } from 'react';
|
|
10
|
-
import { l as lib_3, b as lib_1 } from './index-1819118a.js';
|
|
12
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
13
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
11
14
|
import 'prop-types';
|
|
12
|
-
import { e as main_22, m as main_40 } from './main-747e7d25.js';
|
|
13
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
14
|
-
import ReactGA from 'react-ga';
|
|
15
15
|
|
|
16
16
|
var _this = undefined;
|
|
17
17
|
|
|
@@ -113,7 +113,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
|
|
|
113
113
|
_refreshADs$mobileAds = refreshADs.mobileAds, mobileAds = _refreshADs$mobileAds === undefined ? ['leaderboard-ad'] : _refreshADs$mobileAds, _refreshADs$desktopAd = refreshADs.desktopAds, desktopAds = _refreshADs$desktopAd === undefined ? [] : _refreshADs$desktopAd;
|
|
114
114
|
ads = [];
|
|
115
115
|
|
|
116
|
-
if (!
|
|
116
|
+
if (!main_43) {
|
|
117
117
|
_context2.next = 8;
|
|
118
118
|
break;
|
|
119
119
|
}
|
|
@@ -127,7 +127,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
|
|
|
127
127
|
break;
|
|
128
128
|
|
|
129
129
|
case 8:
|
|
130
|
-
if (!
|
|
130
|
+
if (!main_24) {
|
|
131
131
|
_context2.next = 12;
|
|
132
132
|
break;
|
|
133
133
|
}
|
|
@@ -163,7 +163,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
|
|
|
163
163
|
};
|
|
164
164
|
}, []);
|
|
165
165
|
|
|
166
|
-
return
|
|
166
|
+
return React__default.createElement(
|
|
167
167
|
lib_1,
|
|
168
168
|
{
|
|
169
169
|
dfpNetworkId: networkID,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
6
|
+
import { InstantSearch, Configure, SearchBox, RefinementList, Hits, Pagination } from 'react-instantsearch-dom';
|
|
7
|
+
import { DropdownButton } from 'react-bootstrap';
|
|
8
|
+
import urlFor from './urlFor.js';
|
|
9
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
1
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
12
|
+
import './_to-object-b50e61c3.js';
|
|
13
|
+
import './_object-pie-133f504a.js';
|
|
14
|
+
import './es6.string.iterator-bc33758b.js';
|
|
15
|
+
import './web.dom.iterable-4109ff68.js';
|
|
16
|
+
import './_is-array-3e99e06e.js';
|
|
4
17
|
import './_library-528f1934.js';
|
|
5
|
-
import './_object-
|
|
6
|
-
import
|
|
7
|
-
import './
|
|
8
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
|
|
9
|
-
import './define-property-8af5f002.js';
|
|
10
|
-
import './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
12
|
-
import './_is-array-58e95429.js';
|
|
13
|
-
import React from 'react';
|
|
14
|
-
import PropTypes from 'prop-types';
|
|
15
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
18
|
+
import './_object-sap-f353c2a9.js';
|
|
19
|
+
import './define-property-fe54dc9f.js';
|
|
20
|
+
import './index-0dbff1d1.js';
|
|
16
21
|
import 'react-dom';
|
|
17
|
-
import './index-51a80699.js';
|
|
18
|
-
import urlFor from './urlFor.js';
|
|
19
|
-
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
20
|
-
import { DropdownButton } from 'react-bootstrap';
|
|
21
|
-
import { InstantSearch, Configure, SearchBox, RefinementList, Hits, Pagination } from 'react-instantsearch-dom';
|
|
22
22
|
|
|
23
23
|
var AlgoliaSearch = function (_React$Component) {
|
|
24
24
|
_inherits(AlgoliaSearch, _React$Component);
|
|
@@ -39,57 +39,57 @@ var AlgoliaSearch = function (_React$Component) {
|
|
|
39
39
|
|
|
40
40
|
var hit = props.hit;
|
|
41
41
|
if (moment().isSameOrBefore(props.hit.pubDateSort)) return null;
|
|
42
|
-
return
|
|
42
|
+
return React__default.createElement(
|
|
43
43
|
'div',
|
|
44
44
|
{ key: hit.url, className: 'hitResult ' + styles.article },
|
|
45
|
-
|
|
45
|
+
React__default.createElement(
|
|
46
46
|
'a',
|
|
47
47
|
{ href: '/view/' + hit.url, style: this.props.variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
|
|
48
|
-
|
|
48
|
+
React__default.createElement(
|
|
49
49
|
'div',
|
|
50
50
|
{ className: styles.thumb },
|
|
51
|
-
|
|
51
|
+
React__default.createElement(
|
|
52
52
|
'figure',
|
|
53
53
|
null,
|
|
54
|
-
|
|
54
|
+
React__default.createElement(
|
|
55
55
|
LazyLoad,
|
|
56
56
|
{ once: true },
|
|
57
|
-
|
|
57
|
+
React__default.createElement('img', {
|
|
58
58
|
src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof(hit.thumbnail === 'string') ? hit.thumbnail : this.props.defaultImage
|
|
59
59
|
})
|
|
60
60
|
)
|
|
61
61
|
)
|
|
62
62
|
)
|
|
63
63
|
),
|
|
64
|
-
|
|
64
|
+
React__default.createElement(
|
|
65
65
|
'div',
|
|
66
66
|
{ className: styles.info, style: this.props.variant === 'right' ? { padding: '0 1rem 0 0' } : { padding: ' 0 0 0 1rem' } },
|
|
67
|
-
|
|
67
|
+
React__default.createElement(
|
|
68
68
|
'a',
|
|
69
69
|
{ href: '/view/' + hit.url },
|
|
70
|
-
|
|
70
|
+
React__default.createElement(
|
|
71
71
|
'h2',
|
|
72
72
|
null,
|
|
73
73
|
hit.title
|
|
74
74
|
)
|
|
75
75
|
),
|
|
76
|
-
hit.pubDateSort &&
|
|
76
|
+
hit.pubDateSort && React__default.createElement(
|
|
77
77
|
'p',
|
|
78
78
|
{ className: styles.published },
|
|
79
79
|
moment(hit.pubDateSort).format('MMMM Do YYYY')
|
|
80
80
|
),
|
|
81
|
-
hit.authorMapping && hit.authorMapping.length > 0 &&
|
|
81
|
+
hit.authorMapping && hit.authorMapping.length > 0 && React__default.createElement(
|
|
82
82
|
'p',
|
|
83
83
|
{ className: styles.author },
|
|
84
84
|
hit.authorMapping.map(function (author) {
|
|
85
|
-
return
|
|
85
|
+
return React__default.createElement(
|
|
86
86
|
'span',
|
|
87
87
|
null,
|
|
88
88
|
author.displayName
|
|
89
89
|
);
|
|
90
90
|
})
|
|
91
91
|
),
|
|
92
|
-
hit.summary &&
|
|
92
|
+
hit.summary && React__default.createElement('p', { dangerouslySetInnerHTML: { __html: hit.summary }, className: styles.summary })
|
|
93
93
|
)
|
|
94
94
|
);
|
|
95
95
|
}
|
|
@@ -102,10 +102,10 @@ var AlgoliaSearch = function (_React$Component) {
|
|
|
102
102
|
styles: this.props.deckStyles,
|
|
103
103
|
client: this.props.sanityClient
|
|
104
104
|
};
|
|
105
|
-
return
|
|
106
|
-
|
|
105
|
+
return React__default.createElement(
|
|
106
|
+
React__default.Fragment,
|
|
107
107
|
null,
|
|
108
|
-
|
|
108
|
+
React__default.createElement(
|
|
109
109
|
InstantSearch,
|
|
110
110
|
_extends({
|
|
111
111
|
searchClient: this.props.searchClient,
|
|
@@ -116,29 +116,29 @@ var AlgoliaSearch = function (_React$Component) {
|
|
|
116
116
|
indexName: this.props.indexName,
|
|
117
117
|
onSearchParameters: this.props.onSearchParameters
|
|
118
118
|
}, this.props),
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
this.props.refinementAttributes &&
|
|
119
|
+
React__default.createElement(Configure, { hitsPerPage: this.props.hitsPerPage || 20 }),
|
|
120
|
+
React__default.createElement(SearchBox, null),
|
|
121
|
+
this.props.refinementAttributes && React__default.createElement(
|
|
122
122
|
'div',
|
|
123
123
|
{ className: 'search_refinement' },
|
|
124
124
|
this.props.refinementAttributes.map(function (item, index) {
|
|
125
|
-
return
|
|
125
|
+
return React__default.createElement(
|
|
126
126
|
DropdownButton,
|
|
127
127
|
{ title: item.title },
|
|
128
|
-
|
|
128
|
+
React__default.createElement(RefinementList, { showMore: item.showMore, limit: item.limit, showMoreLimit: item.showMoreLimit, attribute: item.attribute })
|
|
129
129
|
);
|
|
130
130
|
})
|
|
131
131
|
),
|
|
132
|
-
|
|
132
|
+
React__default.createElement(
|
|
133
133
|
'div',
|
|
134
134
|
{ className: 'AlgoliaResults' },
|
|
135
|
-
|
|
135
|
+
React__default.createElement(Hits, { hitComponent: function hitComponent(hit) {
|
|
136
136
|
return _this2.Deck(_extends({}, hit, { propsObj: propsObj }));
|
|
137
137
|
} })
|
|
138
138
|
),
|
|
139
|
-
|
|
139
|
+
React__default.createElement(Pagination, null)
|
|
140
140
|
),
|
|
141
|
-
|
|
141
|
+
React__default.createElement(
|
|
142
142
|
'style',
|
|
143
143
|
{ jsx: 'true' },
|
|
144
144
|
'\n .hitResult {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n margin-bottom: 1rem;\n border-bottom: 1px solid #00000024;\n padding: 1rem 0;\n }\n .hitResult > a:first-child {\n width: 30%;\n }\n .hitResult > a:first-child > div{\n width: 100%;\n }\n .hitResult > div:last-child {\n width: 100%;\n }\n .hitResult > div:last-child > a {\n margin-bottom: .5rem;\n width: 100%;\n }\n @media only screen and (max-width: 568px) {\n .hitResult {\n flex-direction: column;\n align-items: center;\n border: none;\n padding: 0;\n }\n .hitResult > a:first-child {\n width: 100%;\n }\n .hitResult > div:last-child {\n width: 100%;\n }\n }\n .AlgoliaResults {\n padding-left: 15px;\n margin-top: 3rem;\n }\n\n .search_refinement {\n display: flex;\n margin: 2rem 0;\n }\n\n .search_refinement > div {\n padding-right: 1rem;\n max-height: 500px;\n }\n\n .ais-Hits-list {\n margin: 0;\n list-style: none;\n padding-inline-start: 0;\n }\n .ais-Pagination-list {\n list-style: none;\n }\n .ais-Pagination-list {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n }\n .ais-Pagination-item + .ais-Pagination-item {\n margin-left: 0.3rem;\n }\n .ais-Pagination-link {\n padding: 0.3rem 0.6rem;\n display: block;\n border: 1px solid var(--search-primary);\n border-radius: 5px;\n transition: background-color 0.2s ease-out;\n }\n .ais-Pagination-link:focus,\n .ais-Pagination-link:hover {\n background-color: var(--search-secondary);\n color: #fff;\n }\n .ais-Pagination-item--disabled .ais-Pagination-link {\n opacity: 0.6;\n cursor: not-allowed;\n color: var(--search-secondary);\n }\n .ais-Pagination-item--disabled .ais-Pagination-link:focus,\n .ais-Pagination-item--disabled .ais-Pagination-link:hover {\n color: #fff;\n background-color: var(--search-secondary);\n }\n .ais-Pagination-item--selected .ais-Pagination-link {\n color: #fff;\n background-color: var(--search-primary);\n border-color: var(--search-primary);\n }\n .ais-Pagination-item--selected .ais-Pagination-link:focus,\n .ais-Pagination-item--selected .ais-Pagination-link:hover {\n color: #fff;\n }\n .ais-Pagination-list,\n .ais-Results-list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n .ais-Pagination-list,\n .ais-PoweredBy,\n .ais-RangeInput-form,\n .ais-RatingMenu-link {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n }\n\n .ais-RefinementList-item {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n .ais-RefinementList-list {\n margin: 0;\n padding: 0 1rem;\n width: max-content;\n }\n .ais-SearchBox-form {\n width: 100%;\n border-radius: 5px;\n height: 48px;\n }\n .ais-SearchBox-input {\n padding: 0.5rem;\n border-radius: 5px;\n width: calc(100% - 150px);\n height: 48px;\n border: 0;\n border: 0.5px solid var(--search-secondary);\n }\n\n .ais-SearchBox-submit {\n width: 78px;\n border-radius: 5px;\n padding: 7px;\n margin-left: 5px;\n height: 48px;\n background-color: var(--search-primary);\n border: 0.5px solid var(--search-secondary);\n }\n\n .ais-SearchBox-submit > svg {\n fill: #fff;\n }\n .search_refinement > .dropdown > button {\n background-color: var(--search-primary);\n border-color: var(--search-primary);\n }\n\n .ais-SearchBox-reset {\n height: 48px;\n width: 48px;\n color: #fff;\n background-color: var(--search-primary);\n border: 0;\n margin-left: 5px;\n border-radius: 5px;\n border: 0.5px solid var(--search-secondary);\n }\n\n .ais-SearchBox-reset > svg {\n fill: #fff;\n }\n .ais-RefinementList-checkbox {\n margin-right: 5px;\n }\n\n .ais-RefinementList-showMore {\n padding: 0.5rem;\n border: 0;\n background-color: var(--search-primary);\n border-color: var(--search-primary);\n color: #fff;\n border: 1px solid;\n border-radius: 5px;\n margin-left: 1rem;\n }\n '
|
|
@@ -148,7 +148,7 @@ var AlgoliaSearch = function (_React$Component) {
|
|
|
148
148
|
}]);
|
|
149
149
|
|
|
150
150
|
return AlgoliaSearch;
|
|
151
|
-
}(
|
|
151
|
+
}(React__default.Component);
|
|
152
152
|
|
|
153
153
|
AlgoliaSearch.propTypes = {
|
|
154
154
|
searchState: PropTypes.object,
|