@mjhls/mjh-framework 1.0.721 → 1.0.723-targeting-update-v1
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 +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +27 -26
- package/dist/cjs/AD300x250x600.js +27 -26
- package/dist/cjs/AD728x90.js +30 -29
- package/dist/cjs/ADFloatingFooter.js +29 -28
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +29 -28
- package/dist/cjs/{ADInfeed-2c7a6dd8.js → ADInfeed-bd0e5baf.js} +11 -13
- package/dist/cjs/ADSkyscraper.js +29 -28
- package/dist/cjs/ADSponsoredResources.js +29 -28
- package/dist/cjs/ADWebcast.js +29 -28
- package/dist/cjs/ADWelcome.js +33 -32
- package/dist/cjs/{ADlgInfeed-fb101797.js → ADlgInfeed-977a0df7.js} +8 -9
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +32 -33
- package/dist/cjs/AdSlotsProvider.js +16 -17
- package/dist/cjs/AlphabeticList.js +24 -25
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +54 -55
- package/dist/cjs/ArticleSeriesLandingPage.js +38 -39
- package/dist/cjs/ArticleSeriesListing.js +59 -60
- package/dist/cjs/Auth.js +330 -816
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-80b15fac.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +32 -35
- package/dist/cjs/Column3.js +55 -58
- package/dist/cjs/ConferenceArticleCard.js +22 -23
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +94 -98
- package/dist/cjs/DeckQueue.js +86 -90
- package/dist/cjs/{Dfp-a863cf48.js → Dfp-ce7ac168.js} +30 -31
- package/dist/cjs/EventsDeck.js +131 -138
- package/dist/cjs/ExternalResources.js +76 -77
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +183 -183
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +58 -59
- package/dist/cjs/HamMagazine.js +130 -135
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +68 -69
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +40 -41
- package/dist/cjs/LeftNav.js +36 -38
- package/dist/cjs/MasterDeck.js +77 -74
- package/dist/cjs/NavDvm.js +75 -80
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +138 -143
- package/dist/cjs/NavNative.js +115 -123
- package/dist/cjs/NavNormal.js +48 -53
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +105 -106
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +74 -78
- package/dist/cjs/QueueDeckExpanded.js +298 -294
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +24 -25
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +35 -36
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +57 -62
- package/dist/cjs/TaxonomyDescription.js +51 -52
- package/dist/cjs/TemplateNormal.js +72 -73
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +26 -27
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoProgramLandingPage.js +70 -74
- package/dist/cjs/VideoSeriesCard.js +32 -33
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesLandingPage.js +47 -48
- package/dist/cjs/VideoSeriesListing.js +74 -75
- package/dist/cjs/View.js +224 -227
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +72 -71
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
- package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
- package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
- package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +19 -19
- package/dist/cjs/getSerializers.js +42 -42
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-906bec82.js} +11 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
- package/dist/cjs/{index-d48b231c.js → index-39beccb3.js} +24 -29
- package/dist/cjs/{index-3ce0ae25.js → index-4faf68fa.js} +476 -487
- package/dist/cjs/{index-5ad2b070.js → index-8bf6c863.js} +48 -30
- package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +133 -133
- package/dist/cjs/{inherits-2eb23889.js → inherits-513d81cd.js} +8 -8
- package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-7fd85bcf.js} +1 -1
- package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
- package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -22
- package/dist/esm/AD300x250x600.js +24 -22
- package/dist/esm/AD728x90.js +27 -25
- package/dist/esm/ADFloatingFooter.js +26 -24
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +26 -24
- package/dist/esm/{ADInfeed-3ee501b9.js → ADInfeed-c07bdad0.js} +7 -7
- package/dist/esm/ADSkyscraper.js +26 -24
- package/dist/esm/ADSponsoredResources.js +26 -24
- package/dist/esm/ADWebcast.js +26 -24
- package/dist/esm/ADWelcome.js +30 -28
- package/dist/esm/{ADlgInfeed-0bf06b17.js → ADlgInfeed-939f2316.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +24 -24
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +51 -51
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +315 -797
- package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-34b16174.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-c409aca5.js} +4 -4
- 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 +26 -26
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-5d779279.js → Dfp-e9a07597.js} +20 -20
- package/dist/esm/EventsDeck.js +84 -84
- package/dist/esm/ExternalResources.js +70 -70
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +145 -141
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +65 -65
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -67
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +91 -91
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +101 -101
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +50 -50
- package/dist/esm/QueueDeckExpanded.js +278 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-a2ae84d1.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +46 -46
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +60 -60
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesLandingPage.js +39 -39
- package/dist/esm/VideoSeriesListing.js +68 -68
- package/dist/esm/View.js +215 -214
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +56 -54
- package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
- package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{_set-species-494ed292.js → _set-species-3f8319f5.js} +4 -4
- package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
- package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-502f13b4.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
- package/dist/esm/{extends-31d65aba.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/getRelatedArticle.js +13 -13
- package/dist/esm/getSerializers.js +42 -42
- package/dist/esm/{getTargeting-2d402d66.js → getTargeting-970cad0a.js} +11 -3
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-3f5c03b2.js → index-3849e3fe.js} +24 -29
- package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
- package/dist/esm/{index-f98ea5e2.js → index-8f759a1d.js} +417 -421
- package/dist/esm/{index-669ff425.js → index-a9e53f80.js} +43 -24
- package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +111 -111
- package/dist/esm/{inherits-5906fbea.js → inherits-fb9b6e8f.js} +5 -5
- package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{lodash-ad27652f.js → lodash-ec8c6b48.js} +1 -1
- package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
- package/dist/esm/{typeof-e9cea9e8.js → typeof-6435ba1c.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +3 -3
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-d4839bab.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './_to-object-
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
11
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
|
+
import './web.dom.iterable-4439f05a.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-a9e53f80.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-669ff425.js';
|
|
14
|
-
import './debounce-1a993acf.js';
|
|
15
13
|
import './isSymbol-807e927e.js';
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-e4a934b2.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
+
import './asyncToGenerator-502f13b4.js';
|
|
19
|
+
import './_set-species-3f8319f5.js';
|
|
21
20
|
import './Segment.js';
|
|
22
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
23
23
|
|
|
24
24
|
var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
25
25
|
var title = _ref.title,
|
|
@@ -44,7 +44,9 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
44
44
|
pos: position,
|
|
45
45
|
campaign_id: targeting.campaign_id,
|
|
46
46
|
issue_url: targeting.issue_url,
|
|
47
|
-
publication_url: targeting.publication_url
|
|
47
|
+
publication_url: targeting.publication_url,
|
|
48
|
+
// passing AD Targeting Group into targeting
|
|
49
|
+
rootDocumentGroup: targeting.rootDocumentGroup
|
|
48
50
|
};
|
|
49
51
|
|
|
50
52
|
var _useState = useState(false),
|
|
@@ -117,13 +119,13 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
117
119
|
}
|
|
118
120
|
};
|
|
119
121
|
|
|
120
|
-
return
|
|
121
|
-
|
|
122
|
+
return React__default.createElement(
|
|
123
|
+
React__default.Fragment,
|
|
122
124
|
null,
|
|
123
|
-
widthFlag && adTargeting.document_url &&
|
|
125
|
+
widthFlag && adTargeting.document_url && React__default.createElement(
|
|
124
126
|
'div',
|
|
125
127
|
{ id: 'floating-ad-wrapper', className: 'floating-ad-wrapper hide-floating ' + title },
|
|
126
|
-
|
|
128
|
+
React__default.createElement(DFPAdSlot, {
|
|
127
129
|
className: className,
|
|
128
130
|
slotId: slotId,
|
|
129
131
|
networkID: networkID,
|
|
@@ -134,7 +136,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
134
136
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
135
137
|
, checkIsAdFound: previewAd ? null : checkIsAdFound
|
|
136
138
|
}),
|
|
137
|
-
|
|
139
|
+
React__default.createElement(
|
|
138
140
|
'div',
|
|
139
141
|
{ className: 'closeButton', onClick: function onClick() {
|
|
140
142
|
return collapseAd();
|
|
@@ -142,7 +144,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
142
144
|
'x'
|
|
143
145
|
)
|
|
144
146
|
),
|
|
145
|
-
|
|
147
|
+
React__default.createElement(
|
|
146
148
|
'style',
|
|
147
149
|
{ jsx: 'true' },
|
|
148
150
|
'\n .display-floating {\n display: block;\n }\n .hide-floating {\n display: none;\n }\n .floating-ad-wrapper {\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .closeButton {\n position: absolute;\n top: -16px;\n right: -16px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 15px;\n cursor: pointer;\n z-index: 999999;\n }\n .floating-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADFooter.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
2
|
-
import React, { useState } from 'react';
|
|
3
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
4
|
-
import './
|
|
5
|
-
import './es6.string.iterator-
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
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__default, { useState } from 'react';
|
|
7
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
8
8
|
|
|
9
9
|
var ADFooter = function ADFooter(_ref) {
|
|
10
10
|
var children = _ref.children;
|
|
@@ -14,14 +14,14 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
14
14
|
showAd = _useState2[0],
|
|
15
15
|
setShowAd = _useState2[1];
|
|
16
16
|
|
|
17
|
-
return
|
|
18
|
-
|
|
17
|
+
return React__default.createElement(
|
|
18
|
+
React__default.Fragment,
|
|
19
19
|
null,
|
|
20
|
-
showAd &&
|
|
20
|
+
showAd && React__default.createElement(
|
|
21
21
|
'div',
|
|
22
22
|
{ className: 'ADFooter' },
|
|
23
23
|
children,
|
|
24
|
-
|
|
24
|
+
React__default.createElement(
|
|
25
25
|
'div',
|
|
26
26
|
{ className: 'closeButton', onClick: function onClick() {
|
|
27
27
|
return setShowAd(false);
|
|
@@ -29,7 +29,7 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
29
29
|
'x'
|
|
30
30
|
)
|
|
31
31
|
),
|
|
32
|
-
|
|
32
|
+
React__default.createElement(
|
|
33
33
|
'style',
|
|
34
34
|
{ jsx: 'true' },
|
|
35
35
|
'\n .ADFooter {\n width: auto;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .adBox > div:empty {\n display: none !important;\n }\n .adBox > div:not(:empty){\n display: block !important;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
|
package/dist/esm/ADGutter.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-d4839bab.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './_to-object-
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
11
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
|
+
import './web.dom.iterable-4439f05a.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-a9e53f80.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-669ff425.js';
|
|
14
|
-
import './debounce-1a993acf.js';
|
|
15
13
|
import './isSymbol-807e927e.js';
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-e4a934b2.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
+
import './asyncToGenerator-502f13b4.js';
|
|
19
|
+
import './_set-species-3f8319f5.js';
|
|
21
20
|
import './Segment.js';
|
|
22
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
23
23
|
|
|
24
24
|
var ADGutter = function ADGutter(_ref) {
|
|
25
25
|
var title = _ref.title,
|
|
@@ -47,7 +47,9 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
47
47
|
pos: position,
|
|
48
48
|
campaign_id: targeting.campaign_id,
|
|
49
49
|
issue_url: targeting.issue_url,
|
|
50
|
-
publication_url: targeting.publication_url
|
|
50
|
+
publication_url: targeting.publication_url,
|
|
51
|
+
// passing AD Targeting Group into targeting
|
|
52
|
+
rootDocumentGroup: targeting.rootDocumentGroup
|
|
51
53
|
};
|
|
52
54
|
|
|
53
55
|
var _useState = useState(false),
|
|
@@ -107,16 +109,16 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
107
109
|
};
|
|
108
110
|
|
|
109
111
|
if (widthFlag) {
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
+
return React__default.createElement(
|
|
113
|
+
React__default.Fragment,
|
|
112
114
|
null,
|
|
113
|
-
widthFlag &&
|
|
115
|
+
widthFlag && React__default.createElement(
|
|
114
116
|
'div',
|
|
115
117
|
{ id: 'gutter-ad-wrapper', className: 'gutter-ad-wrapper ' + title },
|
|
116
|
-
|
|
118
|
+
React__default.createElement(
|
|
117
119
|
'div',
|
|
118
120
|
{ className: 'gutter-ad' },
|
|
119
|
-
|
|
121
|
+
React__default.createElement(DFPAdSlot, {
|
|
120
122
|
className: className,
|
|
121
123
|
slotId: slotId,
|
|
122
124
|
networkID: networkID,
|
|
@@ -130,7 +132,7 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
130
132
|
})
|
|
131
133
|
)
|
|
132
134
|
),
|
|
133
|
-
|
|
135
|
+
React__default.createElement(
|
|
134
136
|
'style',
|
|
135
137
|
{ jsx: 'true' },
|
|
136
138
|
'\n .gutter-ad-wrapper {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 999;\n }\n .gutter-ad {\n width: 150px;\n position: relative;\n top: 50;\n }\n /* setting height to 0px when the ad slot is empty. */\n .gutter-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
1
|
+
import React__default, { useState, useEffect } from 'react';
|
|
4
2
|
import Card from 'react-bootstrap/Card';
|
|
3
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
4
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
5
5
|
import DFPAdSlot from './AdSlot.js';
|
|
6
6
|
|
|
7
7
|
var ADInfeed = function ADInfeed(_ref) {
|
|
@@ -61,13 +61,13 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
return
|
|
64
|
+
return React__default.createElement(
|
|
65
65
|
'div',
|
|
66
66
|
{ id: 'brand-insight-wrapper-' + (index + 1), className: 'brand-insight-wrapper', style: { display: 'none', flex: '1 0 auto' } },
|
|
67
|
-
|
|
67
|
+
React__default.createElement(
|
|
68
68
|
Card,
|
|
69
69
|
{ className: 'ad-wrapper', style: { display: 'block !important', flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
70
|
-
|
|
70
|
+
React__default.createElement(DFPAdSlot, {
|
|
71
71
|
className: className,
|
|
72
72
|
networkID: networkID,
|
|
73
73
|
adUnit: adUnit,
|
|
@@ -80,7 +80,7 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
80
80
|
, refreshFlag: refreshFlag
|
|
81
81
|
})
|
|
82
82
|
),
|
|
83
|
-
|
|
83
|
+
React__default.createElement(
|
|
84
84
|
'style',
|
|
85
85
|
{ jsx: 'true' },
|
|
86
86
|
'\n .brand-insight-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADSkyscraper.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-d4839bab.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './_to-object-
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
11
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
|
+
import './web.dom.iterable-4439f05a.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-a9e53f80.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-669ff425.js';
|
|
14
|
-
import './debounce-1a993acf.js';
|
|
15
13
|
import './isSymbol-807e927e.js';
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-e4a934b2.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
+
import './asyncToGenerator-502f13b4.js';
|
|
19
|
+
import './_set-species-3f8319f5.js';
|
|
21
20
|
import './Segment.js';
|
|
22
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
23
23
|
|
|
24
24
|
// Skyscraper is below sponsored resource ad in the left column.
|
|
25
25
|
var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
@@ -49,7 +49,9 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
49
49
|
pos: position,
|
|
50
50
|
campaign_id: targeting.campaign_id,
|
|
51
51
|
issue_url: targeting.issue_url,
|
|
52
|
-
publication_url: targeting.publication_url
|
|
52
|
+
publication_url: targeting.publication_url,
|
|
53
|
+
// passing AD Targeting Group into targeting
|
|
54
|
+
rootDocumentGroup: targeting.rootDocumentGroup
|
|
53
55
|
};
|
|
54
56
|
|
|
55
57
|
var _useState = useState(false),
|
|
@@ -110,16 +112,16 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
110
112
|
}
|
|
111
113
|
};
|
|
112
114
|
if (widthFlag) {
|
|
113
|
-
return
|
|
114
|
-
|
|
115
|
+
return React__default.createElement(
|
|
116
|
+
React__default.Fragment,
|
|
115
117
|
null,
|
|
116
|
-
|
|
118
|
+
React__default.createElement(
|
|
117
119
|
'div',
|
|
118
120
|
{ id: 'skyscraper-ad-wrapper', className: 'skyscraper-ad-wrapper' },
|
|
119
|
-
|
|
121
|
+
React__default.createElement(
|
|
120
122
|
'div',
|
|
121
123
|
{ className: 'skyscraper-ad' },
|
|
122
|
-
|
|
124
|
+
React__default.createElement(DFPAdSlot, {
|
|
123
125
|
className: className,
|
|
124
126
|
slotId: slotId,
|
|
125
127
|
networkID: networkID,
|
|
@@ -132,7 +134,7 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
132
134
|
, checkIsAdFound: previewAd ? null : checkIsAdFound
|
|
133
135
|
})
|
|
134
136
|
),
|
|
135
|
-
|
|
137
|
+
React__default.createElement(
|
|
136
138
|
'style',
|
|
137
139
|
{ jsx: 'true' },
|
|
138
140
|
'\n .skyscraper-ad-wrapper {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n .skyscraper-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-d4839bab.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './_to-object-
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
11
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
|
+
import './web.dom.iterable-4439f05a.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-a9e53f80.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-669ff425.js';
|
|
14
|
-
import './debounce-1a993acf.js';
|
|
15
13
|
import './isSymbol-807e927e.js';
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-e4a934b2.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
+
import './asyncToGenerator-502f13b4.js';
|
|
19
|
+
import './_set-species-3f8319f5.js';
|
|
21
20
|
import './Segment.js';
|
|
22
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
23
23
|
|
|
24
24
|
var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
25
25
|
var sponsoredAd = _ref.sponsoredAd,
|
|
@@ -46,7 +46,9 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
46
46
|
pos: position,
|
|
47
47
|
campaign_id: targeting.campaign_id,
|
|
48
48
|
issue_url: targeting.issue_url,
|
|
49
|
-
publication_url: targeting.publication_url
|
|
49
|
+
publication_url: targeting.publication_url,
|
|
50
|
+
// passing AD Targeting Group into targeting
|
|
51
|
+
rootDocumentGroup: targeting.rootDocumentGroup
|
|
50
52
|
};
|
|
51
53
|
|
|
52
54
|
var _useState = useState(false),
|
|
@@ -105,16 +107,16 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
105
107
|
};
|
|
106
108
|
|
|
107
109
|
if (widthFlag) {
|
|
108
|
-
return
|
|
109
|
-
|
|
110
|
+
return React__default.createElement(
|
|
111
|
+
React__default.Fragment,
|
|
110
112
|
null,
|
|
111
|
-
|
|
113
|
+
React__default.createElement(
|
|
112
114
|
'div',
|
|
113
115
|
{ id: 'sponsored-ad-wrapper', className: 'sponsored-ad-wrapper' },
|
|
114
|
-
|
|
116
|
+
React__default.createElement(
|
|
115
117
|
'div',
|
|
116
118
|
{ className: 'sponsored-ad' },
|
|
117
|
-
|
|
119
|
+
React__default.createElement(DFPAdSlot, {
|
|
118
120
|
className: className,
|
|
119
121
|
slotId: slotId,
|
|
120
122
|
networkID: networkID,
|
|
@@ -127,7 +129,7 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
127
129
|
, checkIsAdFound: previewAd ? null : checkIsAdFound
|
|
128
130
|
})
|
|
129
131
|
),
|
|
130
|
-
|
|
132
|
+
React__default.createElement(
|
|
131
133
|
'style',
|
|
132
134
|
{ jsx: 'true' },
|
|
133
135
|
'\n /* setting height to 0px when the ad slot is empty. */\n .sponsored-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADWebcast.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-d4839bab.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './_to-object-
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
11
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
|
+
import './web.dom.iterable-4439f05a.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-a9e53f80.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-669ff425.js';
|
|
14
|
-
import './debounce-1a993acf.js';
|
|
15
13
|
import './isSymbol-807e927e.js';
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-e4a934b2.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
+
import './asyncToGenerator-502f13b4.js';
|
|
19
|
+
import './_set-species-3f8319f5.js';
|
|
21
20
|
import './Segment.js';
|
|
22
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.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) {
|
|
@@ -49,7 +49,9 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
49
49
|
pos: 'smrec1',
|
|
50
50
|
campaign_id: targeting.campaign_id,
|
|
51
51
|
issue_url: targeting.issue_url,
|
|
52
|
-
publication_url: targeting.publication_url
|
|
52
|
+
publication_url: targeting.publication_url,
|
|
53
|
+
// passing AD Targeting Group into targeting
|
|
54
|
+
rootDocumentGroup: targeting.rootDocumentGroup
|
|
53
55
|
};
|
|
54
56
|
|
|
55
57
|
var _useState = useState(false),
|
|
@@ -109,16 +111,16 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
109
111
|
};
|
|
110
112
|
|
|
111
113
|
if (widthFlag) {
|
|
112
|
-
return
|
|
113
|
-
|
|
114
|
+
return React__default.createElement(
|
|
115
|
+
React__default.Fragment,
|
|
114
116
|
null,
|
|
115
|
-
|
|
117
|
+
React__default.createElement(
|
|
116
118
|
'div',
|
|
117
119
|
{ id: 'webcast-ad-wrapper', className: 'webcast-ad-wrapper' },
|
|
118
|
-
|
|
120
|
+
React__default.createElement(
|
|
119
121
|
'div',
|
|
120
122
|
{ className: 'webcast-ad', style: { paddingBottom: '15px' } },
|
|
121
|
-
|
|
123
|
+
React__default.createElement(DFPAdSlot, {
|
|
122
124
|
className: className,
|
|
123
125
|
slotId: slotId,
|
|
124
126
|
networkID: networkID,
|
|
@@ -133,7 +135,7 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
133
135
|
, checkIsAdFound: previewAd ? null : checkIsAdFound
|
|
134
136
|
})
|
|
135
137
|
),
|
|
136
|
-
|
|
138
|
+
React__default.createElement(
|
|
137
139
|
'style',
|
|
138
140
|
{ jsx: 'true' },
|
|
139
141
|
'\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 _JSON$stringify } from './stringify-d4839bab.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './_to-object-
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
11
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
|
+
import './web.dom.iterable-4439f05a.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-a9e53f80.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-669ff425.js';
|
|
14
|
-
import './debounce-1a993acf.js';
|
|
15
13
|
import './isSymbol-807e927e.js';
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-e4a934b2.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
18
|
+
import './asyncToGenerator-502f13b4.js';
|
|
19
|
+
import './_set-species-3f8319f5.js';
|
|
21
20
|
import './Segment.js';
|
|
22
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
23
23
|
|
|
24
24
|
var ADWelcome = function ADWelcome(_ref) {
|
|
25
25
|
var title = _ref.title,
|
|
@@ -45,7 +45,9 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
45
45
|
pos: position,
|
|
46
46
|
campaign_id: targeting.campaign_id,
|
|
47
47
|
issue_url: targeting.issue_url,
|
|
48
|
-
publication_url: targeting.publication_url
|
|
48
|
+
publication_url: targeting.publication_url,
|
|
49
|
+
// passing AD Targeting Group into targeting
|
|
50
|
+
rootDocumentGroup: targeting.rootDocumentGroup
|
|
49
51
|
};
|
|
50
52
|
|
|
51
53
|
var calculateTimeLeft = function calculateTimeLeft(timeLeft) {
|
|
@@ -111,21 +113,21 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
111
113
|
}
|
|
112
114
|
};
|
|
113
115
|
|
|
114
|
-
return
|
|
116
|
+
return React__default.createElement(
|
|
115
117
|
'div',
|
|
116
118
|
{ style: { outline: 'none', display: 'none' }, className: 'welcome-modal', id: 'welcome-modal' },
|
|
117
|
-
|
|
119
|
+
React__default.createElement(
|
|
118
120
|
'div',
|
|
119
121
|
{ className: 'welcome-ad-head-wrapper' },
|
|
120
|
-
|
|
122
|
+
React__default.createElement(
|
|
121
123
|
'div',
|
|
122
124
|
{ className: 'left-top' },
|
|
123
|
-
|
|
125
|
+
React__default.createElement('img', { style: { width: '100%' }, src: Website.logo, alt: Website.title })
|
|
124
126
|
),
|
|
125
|
-
|
|
127
|
+
React__default.createElement(
|
|
126
128
|
'div',
|
|
127
129
|
{ className: 'right-top' },
|
|
128
|
-
|
|
130
|
+
React__default.createElement(
|
|
129
131
|
'span',
|
|
130
132
|
{
|
|
131
133
|
className: 'continue-site',
|
|
@@ -140,7 +142,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
140
142
|
} },
|
|
141
143
|
'CONTINUE TO SITE >'
|
|
142
144
|
),
|
|
143
|
-
|
|
145
|
+
React__default.createElement(
|
|
144
146
|
'p',
|
|
145
147
|
{
|
|
146
148
|
style: {
|
|
@@ -152,10 +154,10 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
152
154
|
)
|
|
153
155
|
)
|
|
154
156
|
),
|
|
155
|
-
|
|
157
|
+
React__default.createElement(
|
|
156
158
|
'div',
|
|
157
159
|
{ className: title },
|
|
158
|
-
|
|
160
|
+
React__default.createElement(DFPAdSlot, {
|
|
159
161
|
className: className,
|
|
160
162
|
slotId: slotId,
|
|
161
163
|
networkID: networkID,
|
|
@@ -167,7 +169,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
167
169
|
, checkIsAdFound: previewAd ? null : checkIsAdFound
|
|
168
170
|
})
|
|
169
171
|
),
|
|
170
|
-
|
|
172
|
+
React__default.createElement(
|
|
171
173
|
'style',
|
|
172
174
|
{ jsx: 'true' },
|
|
173
175
|
'\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 '
|