@mjhls/mjh-framework 1.0.734-beta-0.2 → 1.0.734
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/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +29 -30
- package/dist/cjs/AD300x250x600.js +29 -30
- package/dist/cjs/AD728x90.js +32 -33
- package/dist/cjs/ADFloatingFooter.js +31 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +31 -32
- package/dist/cjs/{ADInfeed-d1d7e784.js → ADInfeed-5fe7fd9d.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +31 -32
- package/dist/cjs/ADSponsoredResources.js +31 -32
- package/dist/cjs/ADWebcast.js +31 -32
- package/dist/cjs/ADWelcome.js +35 -36
- package/dist/cjs/{ADlgInfeed-b6116a72.js → ADlgInfeed-a62d2f9b.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +32 -31
- package/dist/cjs/AdSlotsProvider.js +17 -16
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +55 -54
- package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
- package/dist/cjs/ArticleSeriesListing.js +60 -59
- package/dist/cjs/Auth.js +816 -330
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-eca358e4.js} +25 -24
- 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 +35 -32
- package/dist/cjs/Column3.js +58 -55
- package/dist/cjs/ConferenceArticleCard.js +23 -22
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +98 -94
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-ce7ac168.js → Dfp-80146e98.js} +31 -30
- package/dist/cjs/EventsDeck.js +138 -131
- package/dist/cjs/ExternalResources.js +77 -76
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +183 -183
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +135 -130
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +69 -68
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +41 -40
- package/dist/cjs/LeftNav.js +38 -36
- package/dist/cjs/MasterDeck.js +74 -77
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +143 -138
- package/dist/cjs/NavNative.js +123 -115
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +106 -105
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +38 -37
- package/dist/cjs/PubToc.js +17 -16
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +78 -74
- package/dist/cjs/QueueDeckExpanded.js +294 -298
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +25 -24
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -35
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-45c54bed.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TaxonomyDescription.js +52 -51
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +74 -70
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesLandingPage.js +48 -47
- package/dist/cjs/VideoSeriesListing.js +75 -74
- package/dist/cjs/View.js +250 -316
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +63 -62
- package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-bec5fcf2.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-a8cfdb84.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-2edcb6ad.js} +8 -8
- 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-b4615fd3.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
- package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
- package/dist/cjs/getQuery.js +2 -1
- package/dist/cjs/getRelatedArticle.js +19 -19
- package/dist/cjs/getSerializers.js +42 -42
- package/dist/cjs/{getTargeting-5eef5b58.js → getTargeting-497b581d.js} +5 -7
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
- package/dist/cjs/{index-41222a33.js → index-5260126b.js} +487 -476
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-39beccb3.js → index-d48b231c.js} +29 -24
- 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 +159 -156
- package/dist/cjs/{inherits-513d81cd.js → inherits-2eb23889.js} +8 -8
- package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-4ef21f0f.js} +1 -1
- package/dist/cjs/{main-02daeefe.js → main-dc082238.js} +116 -80
- 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-db24842a.js} +4 -4
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +25 -27
- package/dist/esm/AD300x250x600.js +25 -27
- package/dist/esm/AD728x90.js +28 -30
- package/dist/esm/ADFloatingFooter.js +27 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +27 -29
- package/dist/esm/{ADInfeed-0299bf7e.js → ADInfeed-3a9eef39.js} +9 -9
- package/dist/esm/ADSkyscraper.js +27 -29
- package/dist/esm/ADSponsoredResources.js +27 -29
- package/dist/esm/ADWebcast.js +27 -29
- package/dist/esm/ADWelcome.js +31 -33
- package/dist/esm/{ADlgInfeed-7b627388.js → ADlgInfeed-8d63ff91.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +23 -23
- 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 +797 -315
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-c7ff069f.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d8cd739c.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-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-e9a07597.js → Dfp-8bfbd310.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 +141 -145
- 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 +67 -71
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.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 +16 -17
- 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/PubSection.js +34 -34
- package/dist/esm/PubToc.js +13 -13
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +50 -50
- package/dist/esm/QueueDeckExpanded.js +274 -278
- 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-a2ae84d1.js → SocialSearchComponent-c3216d1a.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 +237 -307
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -46
- package/dist/esm/{_is-array-58e95429.js → _is-array-674f71ec.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-48516cd3.js} +2 -2
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-fd3054d0.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-8f409e54.js} +1 -1
- package/dist/esm/{_set-species-3f8319f5.js → _set-species-494ed292.js} +4 -4
- package/dist/esm/{_to-object-a4107da3.js → _to-object-97770c52.js} +5 -5
- package/dist/esm/{asyncToGenerator-502f13b4.js → asyncToGenerator-2bd4099a.js} +8 -8
- 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-d1d5ed02.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-ec6d528d.js} +1 -1
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-ea516b15.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-aa6068a3.js} +3 -3
- package/dist/esm/{extends-eb69e8ac.js → extends-31d65aba.js} +1 -1
- package/dist/esm/getQuery.js +2 -1
- package/dist/esm/getRelatedArticle.js +13 -13
- package/dist/esm/getSerializers.js +42 -42
- package/dist/esm/{getTargeting-9413f34a.js → getTargeting-2d402d66.js} +5 -7
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-3849e3fe.js → index-3f5c03b2.js} +29 -24
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
- package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
- package/dist/esm/{index-196b1669.js → index-d6ad9248.js} +421 -417
- 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 +126 -126
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-5906fbea.js} +5 -5
- package/dist/esm/{keys-8eda7a5c.js → keys-a0b0c7a4.js} +2 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-ad27652f.js} +1 -1
- package/dist/esm/{main-e4a934b2.js → main-1450d277.js} +113 -78
- 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-cdeaee08.js} +4 -4
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/{stringify-4330ccdc.js → stringify-d4839bab.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-fa2dcda7.js} +4 -4
- package/dist/esm/{typeof-6435ba1c.js → typeof-e9cea9e8.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-035980f3.js} +3 -3
- package/package.json +3 -3
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
-
|
|
5
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
var React__default = _interopDefault(React);
|
|
8
4
|
var PropTypes = require('prop-types');
|
|
9
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
10
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
11
|
|
|
11
12
|
var styles = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
12
13
|
|
|
@@ -64,11 +65,11 @@ exports.socialSvgMask = socialSvgMask;
|
|
|
64
65
|
});
|
|
65
66
|
|
|
66
67
|
_commonjsHelpers.unwrapExports(styles);
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
styles.socialSvgMask;
|
|
69
|
+
styles.socialSvgContent;
|
|
70
|
+
styles.socialSvg;
|
|
71
|
+
styles.socialContainer;
|
|
72
|
+
styles.socialIcon;
|
|
72
73
|
|
|
73
74
|
var background = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
74
75
|
|
|
@@ -77,7 +78,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
77
78
|
});
|
|
78
79
|
exports.default = void 0;
|
|
79
80
|
|
|
80
|
-
var _react = _interopRequireDefault(React__default);
|
|
81
|
+
var _react = _interopRequireDefault(React__default['default']);
|
|
81
82
|
|
|
82
83
|
|
|
83
84
|
|
|
@@ -90,8 +91,8 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
90
91
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
91
92
|
|
|
92
93
|
function Background(_ref) {
|
|
93
|
-
|
|
94
|
-
props = _objectWithoutProperties(_ref, ["networkKey"]);
|
|
94
|
+
_ref.networkKey;
|
|
95
|
+
var props = _objectWithoutProperties(_ref, ["networkKey"]);
|
|
95
96
|
|
|
96
97
|
return _react.default.createElement("g", _extends({}, props, {
|
|
97
98
|
className: "social-svg-background",
|
|
@@ -382,12 +383,12 @@ function keysFor(urls) {
|
|
|
382
383
|
});
|
|
383
384
|
|
|
384
385
|
_commonjsHelpers.unwrapExports(networks);
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
386
|
+
networks.iconFor;
|
|
387
|
+
networks.maskFor;
|
|
388
|
+
networks.colorFor;
|
|
389
|
+
networks.keyFor;
|
|
390
|
+
networks.keysFor;
|
|
391
|
+
networks.KEYS;
|
|
391
392
|
|
|
392
393
|
var icon = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
393
394
|
|
|
@@ -396,9 +397,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
396
397
|
});
|
|
397
398
|
exports.default = void 0;
|
|
398
399
|
|
|
399
|
-
var _propTypes = _interopRequireDefault(PropTypes__default);
|
|
400
|
+
var _propTypes = _interopRequireDefault(PropTypes__default['default']);
|
|
400
401
|
|
|
401
|
-
var _react = _interopRequireDefault(React__default);
|
|
402
|
+
var _react = _interopRequireDefault(React__default['default']);
|
|
402
403
|
|
|
403
404
|
|
|
404
405
|
|
|
@@ -417,8 +418,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
417
418
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
418
419
|
|
|
419
420
|
function getStyle(_ref) {
|
|
420
|
-
var fgColor = _ref.fgColor
|
|
421
|
-
|
|
421
|
+
var fgColor = _ref.fgColor;
|
|
422
|
+
_ref.networkKey;
|
|
422
423
|
return _objectSpread({}, styles.socialSvgContent, {
|
|
423
424
|
fill: fgColor || 'transparent'
|
|
424
425
|
});
|
|
@@ -456,9 +457,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
456
457
|
});
|
|
457
458
|
exports.default = void 0;
|
|
458
459
|
|
|
459
|
-
var _propTypes = _interopRequireDefault(PropTypes__default);
|
|
460
|
+
var _propTypes = _interopRequireDefault(PropTypes__default['default']);
|
|
460
461
|
|
|
461
|
-
var _react = _interopRequireDefault(React__default);
|
|
462
|
+
var _react = _interopRequireDefault(React__default['default']);
|
|
462
463
|
|
|
463
464
|
|
|
464
465
|
|
|
@@ -517,9 +518,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
517
518
|
});
|
|
518
519
|
exports.default = void 0;
|
|
519
520
|
|
|
520
|
-
var _propTypes = _interopRequireDefault(PropTypes__default);
|
|
521
|
+
var _propTypes = _interopRequireDefault(PropTypes__default['default']);
|
|
521
522
|
|
|
522
|
-
var _react = _interopRequireDefault(React__default);
|
|
523
|
+
var _react = _interopRequireDefault(React__default['default']);
|
|
523
524
|
|
|
524
525
|
var _background = _interopRequireDefault(background);
|
|
525
526
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
var es6_string_iterator = require('./es6.string.iterator-
|
|
6
|
-
var core_getIteratorMethod = require('./core.get-iterator-method-
|
|
7
|
-
require('./
|
|
4
|
+
require('./web.dom.iterable-4480325a.js');
|
|
5
|
+
var es6_string_iterator = require('./es6.string.iterator-20d42c53.js');
|
|
6
|
+
var core_getIteratorMethod = require('./core.get-iterator-method-b4615fd3.js');
|
|
7
|
+
var _toObject = require('./_to-object-821a2927.js');
|
|
8
8
|
|
|
9
9
|
var ITERATOR = es6_string_iterator._wks('iterator');
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
var _toObject = require('./_to-object-
|
|
4
|
+
var _toObject = require('./_to-object-821a2927.js');
|
|
5
5
|
|
|
6
6
|
var $JSON = _toObject._core.JSON || (_toObject._core.JSON = { stringify: JSON.stringify });
|
|
7
7
|
var stringify = function stringify(it) { // eslint-disable-line no-unused-vars
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
require('./
|
|
6
|
-
var _iterDetect = require('./_iter-detect-
|
|
7
|
-
var core_getIteratorMethod = require('./core.get-iterator-method-
|
|
4
|
+
require('./es6.string.iterator-20d42c53.js');
|
|
5
|
+
var _toObject = require('./_to-object-821a2927.js');
|
|
6
|
+
var _iterDetect = require('./_iter-detect-2613ffa1.js');
|
|
7
|
+
var core_getIteratorMethod = require('./core.get-iterator-method-b4615fd3.js');
|
|
8
8
|
|
|
9
9
|
var _createProperty = function (object, index, value) {
|
|
10
10
|
if (index in object) _toObject._objectDp.f(object, index, _toObject._propertyDesc(0, value));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
var
|
|
4
|
+
var es6_string_iterator = require('./es6.string.iterator-20d42c53.js');
|
|
5
|
+
require('./web.dom.iterable-4480325a.js');
|
|
6
|
+
var _toObject = require('./_to-object-821a2927.js');
|
|
7
|
+
var _isArray = require('./_is-array-63ae4740.js');
|
|
7
8
|
var _objectPie = require('./_object-pie-68c5bcbc.js');
|
|
8
|
-
require('./
|
|
9
|
-
var _isArray = require('./_is-array-754e012d.js');
|
|
9
|
+
var _library = require('./_library-dd23b178.js');
|
|
10
10
|
|
|
11
11
|
var f = es6_string_iterator._wks;
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ _commonjsHelpers.unwrapExports(iterator$1);
|
|
|
24
24
|
|
|
25
25
|
var defineProperty = _toObject._objectDp.f;
|
|
26
26
|
var _wksDefine = function (name) {
|
|
27
|
-
var $Symbol = _toObject._core.Symbol || (_toObject._core.Symbol =
|
|
27
|
+
var $Symbol = _toObject._core.Symbol || (_toObject._core.Symbol = {} );
|
|
28
28
|
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: _wksExt.f(name) });
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -250,7 +250,7 @@ if (!USE_NATIVE) {
|
|
|
250
250
|
_objectPie._objectGops.f = $getOwnPropertySymbols;
|
|
251
251
|
|
|
252
252
|
if (_toObject._descriptors && !_library._library) {
|
|
253
|
-
es6_string_iterator._redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable
|
|
253
|
+
es6_string_iterator._redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
_wksExt.f = function (name) {
|
package/dist/cjs/urlFor.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var index = require('./index-d48b231c.js');
|
|
3
4
|
require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
var index$1 = require('./index-39beccb3.js');
|
|
5
5
|
|
|
6
6
|
// Sanity image auto formating
|
|
7
7
|
function urlFor(client, source) {
|
|
8
|
-
return index
|
|
8
|
+
return index.imageUrlBuilder(client).image(source).auto('format');
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
module.exports = urlFor;
|
|
@@ -94,7 +94,7 @@ var debugs = {};
|
|
|
94
94
|
var debugEnviron;
|
|
95
95
|
function debuglog(set) {
|
|
96
96
|
if (isUndefined(debugEnviron))
|
|
97
|
-
debugEnviron =
|
|
97
|
+
debugEnviron = '';
|
|
98
98
|
set = set.toUpperCase();
|
|
99
99
|
if (!debugs[set]) {
|
|
100
100
|
if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
-
|
|
5
3
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
6
4
|
var React = require('react');
|
|
7
|
-
var
|
|
8
|
-
|
|
5
|
+
var reactDom = require('react-dom');
|
|
6
|
+
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
10
|
+
var reactDom__default = /*#__PURE__*/_interopDefaultLegacy(reactDom);
|
|
9
11
|
|
|
10
12
|
var visibilitySensor = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
11
13
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
12
|
-
module.exports = factory(React__default,
|
|
14
|
+
module.exports = factory(React__default['default'], reactDom__default['default']);
|
|
13
15
|
})(_commonjsHelpers.commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
|
14
16
|
return /******/ (function(modules) { // webpackBootstrap
|
|
15
17
|
/******/ // The module cache
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var es6_string_iterator = require('./es6.string.iterator-20d42c53.js');
|
|
4
|
+
var _toObject = require('./_to-object-821a2927.js');
|
|
5
5
|
|
|
6
6
|
var _iterStep = function (done, value) {
|
|
7
7
|
return { value: value, done: !!done };
|
|
@@ -11,7 +11,7 @@ var _iterStep = function (done, value) {
|
|
|
11
11
|
// 22.1.3.13 Array.prototype.keys()
|
|
12
12
|
// 22.1.3.29 Array.prototype.values()
|
|
13
13
|
// 22.1.3.30 Array.prototype[@@iterator]()
|
|
14
|
-
|
|
14
|
+
es6_string_iterator._iterDefine(Array, 'Array', function (iterated, kind) {
|
|
15
15
|
this._t = _toObject._toIobject(iterated); // target
|
|
16
16
|
this._i = 0; // next index
|
|
17
17
|
this._k = kind; // kind
|
package/dist/esm/AD.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React, { Suspense } from 'react';
|
|
2
2
|
|
|
3
|
-
var Dfp =
|
|
4
|
-
return import('./Dfp-
|
|
3
|
+
var Dfp = React.lazy(function () {
|
|
4
|
+
return import('./Dfp-8bfbd310.js');
|
|
5
5
|
});
|
|
6
6
|
|
|
7
7
|
var AD = function AD(props) {
|
|
8
8
|
if (typeof window === 'undefined') {
|
|
9
9
|
return null;
|
|
10
10
|
}
|
|
11
|
-
return
|
|
11
|
+
return React.createElement(
|
|
12
12
|
'div',
|
|
13
13
|
null,
|
|
14
|
-
|
|
14
|
+
React.createElement(
|
|
15
15
|
Suspense,
|
|
16
|
-
{ fallback:
|
|
16
|
+
{ fallback: React.createElement(
|
|
17
17
|
'div',
|
|
18
18
|
null,
|
|
19
19
|
'Loading...'
|
|
20
20
|
) },
|
|
21
|
-
|
|
21
|
+
React.createElement(Dfp, props)
|
|
22
22
|
)
|
|
23
23
|
);
|
|
24
24
|
};
|
package/dist/esm/AD300x250.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import './stringify-d4839bab.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_40 } from './main-1450d277.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
+
import './_to-object-97770c52.js';
|
|
8
|
+
import './web.dom.iterable-035980f3.js';
|
|
9
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
10
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
11
|
+
import './extends-31d65aba.js';
|
|
7
12
|
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
13
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
+
import './index-888f9253.js';
|
|
14
15
|
import './debounce-1a993acf.js';
|
|
15
|
-
import
|
|
16
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
17
|
-
import './stringify-4330ccdc.js';
|
|
18
|
-
import './asyncToGenerator-502f13b4.js';
|
|
19
|
-
import './_set-species-3f8319f5.js';
|
|
20
|
-
import './Segment.js';
|
|
16
|
+
import './isSymbol-807e927e.js';
|
|
21
17
|
import './Beam.js';
|
|
22
|
-
import
|
|
18
|
+
import './asyncToGenerator-2bd4099a.js';
|
|
19
|
+
import './_library-528f1934.js';
|
|
20
|
+
import './_set-species-494ed292.js';
|
|
21
|
+
import './_iter-detect-48516cd3.js';
|
|
22
|
+
import './Segment.js';
|
|
23
23
|
|
|
24
24
|
// removed static slotID ,because defining static slotID is restricting AD to render only once.
|
|
25
25
|
var AD300x250 = function AD300x250(_ref) {
|
|
@@ -33,15 +33,15 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
33
33
|
pos = _ref$pos === undefined ? 'rec1' : _ref$pos;
|
|
34
34
|
|
|
35
35
|
var mobileView = false;
|
|
36
|
-
if (
|
|
36
|
+
if (main_40) {
|
|
37
37
|
pos = 'rec1-mobile';
|
|
38
38
|
mobileView = true;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
var _useState = useState(true),
|
|
42
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
43
|
-
|
|
44
|
-
setPreviewAd = _useState2[1];
|
|
42
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
43
|
+
_useState2[0];
|
|
44
|
+
var setPreviewAd = _useState2[1];
|
|
45
45
|
|
|
46
46
|
useEffect(function () {
|
|
47
47
|
var path = window && window.location && window.location.search;
|
|
@@ -59,18 +59,16 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
59
59
|
pos: pos,
|
|
60
60
|
campaign_id: targeting.campaign_id,
|
|
61
61
|
issue_url: targeting.issue_url,
|
|
62
|
-
publication_url: targeting.publication_url
|
|
63
|
-
// passing AD Targeting Group into targeting
|
|
64
|
-
rootDocumentGroup: targeting.rootDocumentGroup
|
|
62
|
+
publication_url: targeting.publication_url
|
|
65
63
|
};
|
|
66
64
|
|
|
67
65
|
var browserSizes = [[300, 250], [300, 100]];
|
|
68
66
|
var mobileSizes = [[300, 250], [300, 100]];
|
|
69
67
|
|
|
70
|
-
return
|
|
68
|
+
return React.createElement(
|
|
71
69
|
'div',
|
|
72
70
|
null,
|
|
73
|
-
|
|
71
|
+
React.createElement(DFPAdSlot, {
|
|
74
72
|
networkID: networkID,
|
|
75
73
|
adUnit: adUnit,
|
|
76
74
|
slotId: slotId,
|
|
@@ -81,7 +79,7 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
81
79
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
82
80
|
// style={{ display: 'none' }}
|
|
83
81
|
}),
|
|
84
|
-
|
|
82
|
+
React.createElement(
|
|
85
83
|
'style',
|
|
86
84
|
{ jsx: 'true' },
|
|
87
85
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import './stringify-d4839bab.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_40 } from './main-1450d277.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
+
import './_to-object-97770c52.js';
|
|
8
|
+
import './web.dom.iterable-035980f3.js';
|
|
9
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
10
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
11
|
+
import './extends-31d65aba.js';
|
|
7
12
|
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
13
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
+
import './index-888f9253.js';
|
|
14
15
|
import './debounce-1a993acf.js';
|
|
15
|
-
import
|
|
16
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
17
|
-
import './stringify-4330ccdc.js';
|
|
18
|
-
import './asyncToGenerator-502f13b4.js';
|
|
19
|
-
import './_set-species-3f8319f5.js';
|
|
20
|
-
import './Segment.js';
|
|
16
|
+
import './isSymbol-807e927e.js';
|
|
21
17
|
import './Beam.js';
|
|
22
|
-
import
|
|
18
|
+
import './asyncToGenerator-2bd4099a.js';
|
|
19
|
+
import './_library-528f1934.js';
|
|
20
|
+
import './_set-species-494ed292.js';
|
|
21
|
+
import './_iter-detect-48516cd3.js';
|
|
22
|
+
import './Segment.js';
|
|
23
23
|
|
|
24
24
|
// removed static slotID ,because defining static slotID is restricting AD to render only once.
|
|
25
25
|
var AD300x250x600 = function AD300x250x600(_ref) {
|
|
@@ -34,14 +34,14 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
34
34
|
_ref$sizeMapFlag = _ref.sizeMapFlag,
|
|
35
35
|
sizeMapFlag = _ref$sizeMapFlag === undefined ? true : _ref$sizeMapFlag;
|
|
36
36
|
|
|
37
|
-
if (
|
|
37
|
+
if (main_40) {
|
|
38
38
|
pos = 'rec2-mobile';
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
var _useState = useState(true),
|
|
42
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
43
|
-
|
|
44
|
-
setPreviewAd = _useState2[1];
|
|
42
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
43
|
+
_useState2[0];
|
|
44
|
+
var setPreviewAd = _useState2[1];
|
|
45
45
|
|
|
46
46
|
useEffect(function () {
|
|
47
47
|
var path = window && window.location && window.location.search;
|
|
@@ -59,9 +59,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
59
59
|
pos: pos,
|
|
60
60
|
campaign_id: targeting.campaign_id,
|
|
61
61
|
issue_url: targeting.issue_url,
|
|
62
|
-
publication_url: targeting.publication_url
|
|
63
|
-
// passing AD Targeting Group into targeting
|
|
64
|
-
rootDocumentGroup: targeting.rootDocumentGroup
|
|
62
|
+
publication_url: targeting.publication_url
|
|
65
63
|
|
|
66
64
|
// sizeMapping is made reponsive to handle long ads [300,600] when the sizeMapFlag is 'true'.Otherwise old sizeMapping will be taken.
|
|
67
65
|
};var sizeMapping = sizeMapFlag ? [{
|
|
@@ -81,10 +79,10 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
81
79
|
sizes: [[300, 100], [300, 250]]
|
|
82
80
|
}];
|
|
83
81
|
|
|
84
|
-
return
|
|
82
|
+
return React.createElement(
|
|
85
83
|
'div',
|
|
86
84
|
null,
|
|
87
|
-
|
|
85
|
+
React.createElement(DFPAdSlot, {
|
|
88
86
|
networkID: networkID,
|
|
89
87
|
adUnit: adUnit,
|
|
90
88
|
className: 'AD300x250',
|
|
@@ -98,7 +96,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
98
96
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
99
97
|
// style={{ display: 'none' }}
|
|
100
98
|
}),
|
|
101
|
-
|
|
99
|
+
React.createElement(
|
|
102
100
|
'style',
|
|
103
101
|
{ jsx: 'true' },
|
|
104
102
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import './stringify-d4839bab.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_40 } from './main-1450d277.js';
|
|
5
|
+
import DFPAdSlot from './AdSlot.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
+
import './_to-object-97770c52.js';
|
|
8
|
+
import './web.dom.iterable-035980f3.js';
|
|
9
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
10
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
11
|
+
import './extends-31d65aba.js';
|
|
7
12
|
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
13
|
import 'prop-types';
|
|
13
|
-
import './
|
|
14
|
+
import './index-888f9253.js';
|
|
14
15
|
import './debounce-1a993acf.js';
|
|
15
|
-
import
|
|
16
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
17
|
-
import './stringify-4330ccdc.js';
|
|
18
|
-
import './asyncToGenerator-502f13b4.js';
|
|
19
|
-
import './_set-species-3f8319f5.js';
|
|
20
|
-
import './Segment.js';
|
|
16
|
+
import './isSymbol-807e927e.js';
|
|
21
17
|
import './Beam.js';
|
|
22
|
-
import
|
|
18
|
+
import './asyncToGenerator-2bd4099a.js';
|
|
19
|
+
import './_library-528f1934.js';
|
|
20
|
+
import './_set-species-494ed292.js';
|
|
21
|
+
import './_iter-detect-48516cd3.js';
|
|
22
|
+
import './Segment.js';
|
|
23
23
|
|
|
24
24
|
var AD728x90 = function AD728x90(_ref) {
|
|
25
25
|
var networkID = _ref.networkID,
|
|
@@ -29,19 +29,19 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
29
29
|
_ref$targeting = _ref.targeting,
|
|
30
30
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting,
|
|
31
31
|
_ref$pos = _ref.pos,
|
|
32
|
-
pos = _ref$pos === undefined ? 'top' : _ref$pos
|
|
33
|
-
_ref
|
|
32
|
+
pos = _ref$pos === undefined ? 'top' : _ref$pos;
|
|
33
|
+
_ref.fixedPos;
|
|
34
34
|
|
|
35
35
|
var mobileView = false;
|
|
36
|
-
if (
|
|
36
|
+
if (main_40) {
|
|
37
37
|
pos = 'top-mobile';
|
|
38
38
|
mobileView = true;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
var _useState = useState(true),
|
|
42
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
43
|
-
|
|
44
|
-
setPreviewAd = _useState2[1];
|
|
42
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
43
|
+
_useState2[0];
|
|
44
|
+
var setPreviewAd = _useState2[1];
|
|
45
45
|
|
|
46
46
|
useEffect(function () {
|
|
47
47
|
var path = window && window.location && window.location.search;
|
|
@@ -59,18 +59,16 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
59
59
|
pos: pos,
|
|
60
60
|
campaign_id: targeting.campaign_id,
|
|
61
61
|
issue_url: targeting.issue_url,
|
|
62
|
-
publication_url: targeting.publication_url
|
|
63
|
-
// passing AD Targeting Group into targeting
|
|
64
|
-
rootDocumentGroup: targeting.rootDocumentGroup
|
|
62
|
+
publication_url: targeting.publication_url
|
|
65
63
|
};
|
|
66
64
|
|
|
67
65
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
68
66
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
69
67
|
|
|
70
|
-
return
|
|
68
|
+
return React.createElement(
|
|
71
69
|
'div',
|
|
72
70
|
{ className: 'leaderboard-ad-wrapper' },
|
|
73
|
-
|
|
71
|
+
React.createElement(DFPAdSlot, {
|
|
74
72
|
slotId: slotId,
|
|
75
73
|
networkID: networkID,
|
|
76
74
|
adUnit: adUnit,
|
|
@@ -87,12 +85,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
87
85
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
88
86
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
89
87
|
}),
|
|
90
|
-
|
|
88
|
+
React.createElement(
|
|
91
89
|
'style',
|
|
92
90
|
{ jsx: 'true' },
|
|
93
91
|
'\n .leaderboard-ad-wrapper {\n height: auto !important;\n background: #fff;\n }\n .leaderboard-ad-wrapper .AD728x90 {\n height: auto !important;\n }\n /* setting height to 0px when the ad slot is empty. */\n .leaderboard-ad-wrapper .AD728x90 div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
94
92
|
),
|
|
95
|
-
|
|
93
|
+
main_40 && React.createElement(
|
|
96
94
|
'style',
|
|
97
95
|
{ jsx: 'true' },
|
|
98
96
|
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n }\n }\n '
|