@mjhls/mjh-framework 1.0.856-beta.0 → 1.0.857
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +11 -11
- package/dist/cjs/AD300x250x600.js +11 -11
- package/dist/cjs/AD728x90.js +12 -12
- package/dist/cjs/ADFloatingFooter.js +13 -13
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +13 -13
- package/dist/cjs/{ADInfeed-98c71bcd.js → ADInfeed-ff26342c.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +13 -13
- package/dist/cjs/ADSponsoredResources.js +13 -13
- package/dist/cjs/ADWebcast.js +13 -13
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-9de32585.js → ADlgInfeed-ad4953d4.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -15
- package/dist/cjs/AdSlotsProvider.js +11 -903
- package/dist/cjs/AlgoliaSearch.js +49 -14012
- package/dist/cjs/AlphabeticList.js +17 -16
- package/dist/cjs/ArticleCarousel.js +12 -11
- package/dist/cjs/ArticleProgramLandingPage.js +25 -24
- package/dist/cjs/ArticleSeriesLandingPage.js +21 -21
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +237 -1197
- package/dist/cjs/AuthWrapper.js +26 -561
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +64 -65
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +36 -34
- package/dist/cjs/ConferenceArticleCard.js +33 -32
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -82
- package/dist/cjs/DeckQueue.js +73 -70
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-0bf098b5.js} +23 -23
- package/dist/cjs/EventsDeck.js +141 -134
- package/dist/cjs/ExternalResources.js +49 -48
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +35 -34
- package/dist/cjs/GridContent.js +209 -205
- package/dist/cjs/GridHero.js +36 -35
- package/dist/cjs/GroupDeck.js +49 -48
- package/dist/cjs/HamMagazine.js +130 -125
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -9
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +39 -38
- package/dist/cjs/HorizontalHero.js +24 -23
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +66 -61
- package/dist/cjs/IssueLanding.js +60 -59
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +23 -22
- package/dist/cjs/MasterDeck.js +59 -59
- package/dist/cjs/MediaSeriesLanding.js +801 -909
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +131 -126
- package/dist/cjs/NavNative.js +125 -117
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +64 -63
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +288 -188
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PubSection.js +21 -21
- package/dist/cjs/PubToc.js +8 -7
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +114 -110
- package/dist/cjs/QueueDeckExpanded.js +286 -287
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +51 -50
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SeriesListingDeck.js +26 -27
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-60fa1342.js} +38 -37
- package/dist/cjs/SideFooter.js +26 -25
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-19548e2a.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +60 -55
- package/dist/cjs/TaxonomyDescription.js +24 -23
- package/dist/cjs/TemplateNormal.js +36 -36
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +22 -21
- package/dist/cjs/VerticalHero.js +16 -15
- package/dist/cjs/VideoProgramLandingPage.js +45 -41
- package/dist/cjs/VideoSeriesCard.js +24 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +26 -26
- package/dist/cjs/VideoSeriesListing.js +58 -58
- package/dist/cjs/View.js +212 -202
- package/dist/cjs/YahooHero.js +31 -30
- package/dist/cjs/YoutubeGroup.js +55 -54
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/{extends-0a918631.js → extends-60837c34.js} +0 -1
- package/dist/cjs/faundadb.js +1 -1
- package/dist/cjs/getRelatedArticle.js +67 -131
- package/dist/cjs/getSerializers.js +13 -13
- package/dist/cjs/{getTargeting-f1821260.js → getTargeting-3e45e4d4.js} +11 -11
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-98e01cb9.js → index-44481153.js} +494 -47
- package/dist/cjs/{index-998ad42c.js → index-646379c4.js} +954 -1204
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- 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-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +65 -61
- package/dist/cjs/{inherits-452ff02c.js → inherits-87492b40.js} +1 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +8 -9
- package/dist/esm/AD300x250x600.js +8 -9
- package/dist/esm/AD728x90.js +9 -10
- package/dist/esm/ADFloatingFooter.js +10 -11
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -11
- package/dist/esm/{ADInfeed-1cc9d817.js → ADInfeed-422ad6e6.js} +7 -7
- package/dist/esm/ADSkyscraper.js +10 -11
- package/dist/esm/ADSponsoredResources.js +10 -11
- package/dist/esm/ADWebcast.js +10 -11
- package/dist/esm/ADWelcome.js +14 -15
- package/dist/esm/{ADlgInfeed-8c4f129e.js → ADlgInfeed-f7468db8.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +6 -7
- package/dist/esm/AdSlotsProvider.js +10 -903
- package/dist/esm/AlgoliaSearch.js +41 -14005
- package/dist/esm/AlphabeticList.js +14 -14
- package/dist/esm/ArticleCarousel.js +9 -9
- package/dist/esm/ArticleProgramLandingPage.js +22 -22
- package/dist/esm/ArticleSeriesLandingPage.js +18 -19
- package/dist/esm/ArticleSeriesListing.js +37 -38
- package/dist/esm/Auth.js +217 -1181
- package/dist/esm/AuthWrapper.js +24 -561
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-8ffd4679.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +17 -17
- package/dist/esm/Column3.js +31 -32
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +77 -78
- package/dist/esm/DeckQueue.js +65 -66
- package/dist/esm/{Dfp-b7236041.js → Dfp-85c9513e.js} +10 -11
- package/dist/esm/EventsDeck.js +110 -110
- package/dist/esm/ExternalResources.js +43 -43
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +173 -174
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +100 -100
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +36 -36
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +55 -55
- package/dist/esm/IssueLanding.js +57 -57
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -18
- package/dist/esm/MasterDeck.js +55 -56
- package/dist/esm/MediaSeriesLanding.js +561 -672
- package/dist/esm/NavDvm.js +46 -46
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +103 -103
- package/dist/esm/NavNative.js +92 -92
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +178 -79
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +18 -19
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +96 -96
- package/dist/esm/QueueDeckExpanded.js +252 -253
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/SeriesListingDeck.js +21 -22
- package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-05ecb544.js} +28 -28
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-47815365.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +51 -51
- package/dist/esm/TaxonomyDescription.js +18 -18
- package/dist/esm/TemplateNormal.js +32 -33
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +34 -34
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +18 -19
- package/dist/esm/VideoSeriesListing.js +54 -55
- package/dist/esm/View.js +191 -185
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/{extends-6f2fcc99.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/faundadb.js +1 -1
- package/dist/esm/getRelatedArticle.js +62 -126
- package/dist/esm/getSerializers.js +13 -13
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-9cb7e014.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-41a678ea.js → index-1819118a.js} +487 -41
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-2fccaa7f.js → index-d1dee060.js} +901 -1162
- package/dist/esm/{index-ef6d5dcf.js → index-fa2ffe86.js} +1 -1
- 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-8ee5ff72.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +54 -53
- package/dist/esm/{inherits-cf8dde54.js → inherits-0d8cda6e.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-6435ba1c.js → typeof-af9c50d8.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-e2e62963.js +0 -89
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-aaa2dae0.js +0 -85
- package/dist/esm/inherits-77d5e4fc.js +0 -101
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-85c9513e.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
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import { m as
|
|
16
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -34,7 +33,7 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
34
33
|
pos = _ref$pos === undefined ? 'rec1' : _ref$pos;
|
|
35
34
|
|
|
36
35
|
var mobileView = false;
|
|
37
|
-
if (
|
|
36
|
+
if (main_40) {
|
|
38
37
|
pos = 'rec1-mobile';
|
|
39
38
|
mobileView = true;
|
|
40
39
|
}
|
|
@@ -67,10 +66,10 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
67
66
|
var browserSizes = [[300, 600], [300, 250], [300, 100]];
|
|
68
67
|
var mobileSizes = [[300, 250], [300, 100]];
|
|
69
68
|
|
|
70
|
-
return
|
|
69
|
+
return React.createElement(
|
|
71
70
|
'div',
|
|
72
71
|
null,
|
|
73
|
-
|
|
72
|
+
React.createElement(DFPAdSlot, {
|
|
74
73
|
networkID: networkID,
|
|
75
74
|
adUnit: adUnit,
|
|
76
75
|
slotId: slotId,
|
|
@@ -81,7 +80,7 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
81
80
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
82
81
|
// style={{ display: 'none' }}
|
|
83
82
|
}),
|
|
84
|
-
|
|
83
|
+
React.createElement(
|
|
85
84
|
'style',
|
|
86
85
|
{ jsx: 'true' },
|
|
87
86
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import { m as
|
|
16
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -35,7 +34,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
35
34
|
_ref$sizeMapFlag = _ref.sizeMapFlag,
|
|
36
35
|
sizeMapFlag = _ref$sizeMapFlag === undefined ? true : _ref$sizeMapFlag;
|
|
37
36
|
|
|
38
|
-
if (
|
|
37
|
+
if (main_40) {
|
|
39
38
|
pos = 'rec2-mobile';
|
|
40
39
|
}
|
|
41
40
|
|
|
@@ -81,10 +80,10 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
81
80
|
sizes: [[300, 100], [300, 250]]
|
|
82
81
|
}];
|
|
83
82
|
|
|
84
|
-
return
|
|
83
|
+
return React.createElement(
|
|
85
84
|
'div',
|
|
86
85
|
null,
|
|
87
|
-
|
|
86
|
+
React.createElement(DFPAdSlot, {
|
|
88
87
|
networkID: networkID,
|
|
89
88
|
adUnit: adUnit,
|
|
90
89
|
className: 'AD300x250',
|
|
@@ -98,7 +97,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
98
97
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
99
98
|
// style={{ display: 'none' }}
|
|
100
99
|
}),
|
|
101
|
-
|
|
100
|
+
React.createElement(
|
|
102
101
|
'style',
|
|
103
102
|
{ jsx: 'true' },
|
|
104
103
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import { m as
|
|
16
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -34,7 +33,7 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
34
33
|
_ref$fixedPos = _ref.fixedPos;
|
|
35
34
|
|
|
36
35
|
var mobileView = false;
|
|
37
|
-
if (
|
|
36
|
+
if (main_40) {
|
|
38
37
|
pos = 'top-mobile';
|
|
39
38
|
mobileView = true;
|
|
40
39
|
}
|
|
@@ -67,10 +66,10 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
67
66
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
68
67
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
69
68
|
|
|
70
|
-
return
|
|
69
|
+
return React.createElement(
|
|
71
70
|
'div',
|
|
72
71
|
{ className: 'leaderboard-ad-wrapper' },
|
|
73
|
-
|
|
72
|
+
React.createElement(DFPAdSlot, {
|
|
74
73
|
slotId: slotId,
|
|
75
74
|
networkID: networkID,
|
|
76
75
|
adUnit: adUnit,
|
|
@@ -90,12 +89,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
90
89
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
91
90
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
92
91
|
}),
|
|
93
|
-
|
|
92
|
+
React.createElement(
|
|
94
93
|
'style',
|
|
95
94
|
{ jsx: 'true' },
|
|
96
95
|
'\n .leaderboard-ad-wrapper {\n height: auto !important;\n min-height: 90px;\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 '
|
|
97
96
|
),
|
|
98
|
-
|
|
97
|
+
main_40 && React.createElement(
|
|
99
98
|
'style',
|
|
100
99
|
{ jsx: 'true' },
|
|
101
100
|
'\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 '
|
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import './main-
|
|
16
|
+
import './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -102,13 +101,13 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
102
101
|
sessionStorage.setItem('mjh-floating-footer-ad', Math.floor(Date.now() / 1000));
|
|
103
102
|
};
|
|
104
103
|
|
|
105
|
-
return
|
|
106
|
-
|
|
104
|
+
return React.createElement(
|
|
105
|
+
React.Fragment,
|
|
107
106
|
null,
|
|
108
|
-
showAd && widthFlag && adTargeting.document_url &&
|
|
107
|
+
showAd && widthFlag && adTargeting.document_url && React.createElement(
|
|
109
108
|
'div',
|
|
110
109
|
{ id: 'floating-ad-wrapper', className: 'floating-ad-wrapper display-floating ' + title },
|
|
111
|
-
|
|
110
|
+
React.createElement(DFPAdSlot, {
|
|
112
111
|
className: className,
|
|
113
112
|
slotId: slotId,
|
|
114
113
|
networkID: networkID,
|
|
@@ -119,7 +118,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
119
118
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
120
119
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
121
120
|
}),
|
|
122
|
-
|
|
121
|
+
React.createElement(
|
|
123
122
|
'div',
|
|
124
123
|
{ className: 'closeButton', onClick: function onClick() {
|
|
125
124
|
return collapseAd();
|
|
@@ -127,7 +126,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
127
126
|
'x'
|
|
128
127
|
)
|
|
129
128
|
),
|
|
130
|
-
|
|
129
|
+
React.createElement(
|
|
131
130
|
'style',
|
|
132
131
|
{ jsx: 'true' },
|
|
133
132
|
'\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
|
@@ -3,7 +3,7 @@ import './_to-object-a4107da3.js';
|
|
|
3
3
|
import './es6.string.iterator-c990c18c.js';
|
|
4
4
|
import './core.get-iterator-method-e1de7503.js';
|
|
5
5
|
import './web.dom.iterable-4439f05a.js';
|
|
6
|
-
import
|
|
6
|
+
import React, { useState, useEffect } from 'react';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
8
8
|
|
|
9
9
|
var ADFooter = function ADFooter(_ref) {
|
|
@@ -25,20 +25,20 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
25
25
|
sessionStorage.setItem('mjh-floating-footer-ad', Math.floor(Date.now() / 1000));
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
return
|
|
29
|
-
|
|
28
|
+
return React.createElement(
|
|
29
|
+
React.Fragment,
|
|
30
30
|
null,
|
|
31
|
-
showAd &&
|
|
31
|
+
showAd && React.createElement(
|
|
32
32
|
'div',
|
|
33
33
|
{ className: 'ADFooter' },
|
|
34
34
|
children,
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
'div',
|
|
37
37
|
{ className: 'closeButton', onClick: handleCloseAd },
|
|
38
38
|
'x'
|
|
39
39
|
)
|
|
40
40
|
),
|
|
41
|
-
|
|
41
|
+
React.createElement(
|
|
42
42
|
'style',
|
|
43
43
|
{ jsx: 'true' },
|
|
44
44
|
'\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
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import './main-
|
|
16
|
+
import './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -77,16 +76,16 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
77
76
|
}, [minScreenWidth]);
|
|
78
77
|
|
|
79
78
|
if (widthFlag) {
|
|
80
|
-
return
|
|
81
|
-
|
|
79
|
+
return React.createElement(
|
|
80
|
+
React.Fragment,
|
|
82
81
|
null,
|
|
83
|
-
widthFlag &&
|
|
82
|
+
widthFlag && React.createElement(
|
|
84
83
|
'div',
|
|
85
84
|
{ id: 'gutter-ad-wrapper', className: 'gutter-ad-wrapper ' + title },
|
|
86
|
-
|
|
85
|
+
React.createElement(
|
|
87
86
|
'div',
|
|
88
87
|
{ className: 'gutter-ad' },
|
|
89
|
-
|
|
88
|
+
React.createElement(DFPAdSlot, {
|
|
90
89
|
className: className,
|
|
91
90
|
slotId: slotId,
|
|
92
91
|
networkID: networkID,
|
|
@@ -100,7 +99,7 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
100
99
|
})
|
|
101
100
|
)
|
|
102
101
|
),
|
|
103
|
-
|
|
102
|
+
React.createElement(
|
|
104
103
|
'style',
|
|
105
104
|
{ jsx: 'true' },
|
|
106
105
|
'\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,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import Card
|
|
1
|
+
import React, { useState, useEffect } from 'react';
|
|
2
|
+
import Card from 'react-bootstrap/Card';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
4
4
|
import DFPAdSlot from './AdSlot.js';
|
|
5
5
|
|
|
@@ -29,13 +29,13 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
29
29
|
}));
|
|
30
30
|
}, []);
|
|
31
31
|
|
|
32
|
-
return
|
|
32
|
+
return React.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
{ id: 'brand-insight-wrapper-' + (index + 1), className: 'brand-insight-wrapper', style: { display: 'flex', flex: '1 0 auto' } },
|
|
35
|
-
|
|
36
|
-
Card
|
|
35
|
+
React.createElement(
|
|
36
|
+
Card,
|
|
37
37
|
{ className: 'ad-wrapper', style: { display: 'block !important', flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
38
|
-
|
|
38
|
+
React.createElement(DFPAdSlot, {
|
|
39
39
|
className: className,
|
|
40
40
|
networkID: networkID,
|
|
41
41
|
adUnit: adUnit,
|
|
@@ -48,7 +48,7 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
48
48
|
, refreshFlag: refreshFlag
|
|
49
49
|
})
|
|
50
50
|
),
|
|
51
|
-
|
|
51
|
+
React.createElement(
|
|
52
52
|
'style',
|
|
53
53
|
{ jsx: 'true' },
|
|
54
54
|
'\n .brand-insight-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADSkyscraper.js
CHANGED
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import './main-
|
|
16
|
+
import './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -79,16 +78,16 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
79
78
|
}
|
|
80
79
|
}, [minScreenWidth]);
|
|
81
80
|
if (widthFlag) {
|
|
82
|
-
return
|
|
83
|
-
|
|
81
|
+
return React.createElement(
|
|
82
|
+
React.Fragment,
|
|
84
83
|
null,
|
|
85
|
-
|
|
84
|
+
React.createElement(
|
|
86
85
|
'div',
|
|
87
86
|
{ id: 'skyscraper-ad-wrapper', className: 'skyscraper-ad-wrapper' },
|
|
88
|
-
|
|
87
|
+
React.createElement(
|
|
89
88
|
'div',
|
|
90
89
|
{ className: 'skyscraper-ad' },
|
|
91
|
-
|
|
90
|
+
React.createElement(DFPAdSlot, {
|
|
92
91
|
className: className,
|
|
93
92
|
slotId: slotId,
|
|
94
93
|
networkID: networkID,
|
|
@@ -101,7 +100,7 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
101
100
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
102
101
|
})
|
|
103
102
|
),
|
|
104
|
-
|
|
103
|
+
React.createElement(
|
|
105
104
|
'style',
|
|
106
105
|
{ jsx: 'true' },
|
|
107
106
|
'\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 '
|
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import './main-
|
|
16
|
+
import './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -76,16 +75,16 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
76
75
|
}, [minScreenWidth]);
|
|
77
76
|
|
|
78
77
|
if (widthFlag) {
|
|
79
|
-
return
|
|
80
|
-
|
|
78
|
+
return React.createElement(
|
|
79
|
+
React.Fragment,
|
|
81
80
|
null,
|
|
82
|
-
|
|
81
|
+
React.createElement(
|
|
83
82
|
'div',
|
|
84
83
|
{ id: 'sponsored-ad-wrapper', className: 'sponsored-ad-wrapper' },
|
|
85
|
-
|
|
84
|
+
React.createElement(
|
|
86
85
|
'div',
|
|
87
86
|
{ className: 'sponsored-ad' },
|
|
88
|
-
|
|
87
|
+
React.createElement(DFPAdSlot, {
|
|
89
88
|
className: className,
|
|
90
89
|
slotId: slotId,
|
|
91
90
|
networkID: networkID,
|
|
@@ -98,7 +97,7 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
98
97
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
99
98
|
})
|
|
100
99
|
),
|
|
101
|
-
|
|
100
|
+
React.createElement(
|
|
102
101
|
'style',
|
|
103
102
|
{ jsx: 'true' },
|
|
104
103
|
'\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
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import './main-
|
|
16
|
+
import './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -79,16 +78,16 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
79
78
|
}, [minScreenWidth]);
|
|
80
79
|
|
|
81
80
|
if (widthFlag) {
|
|
82
|
-
return
|
|
83
|
-
|
|
81
|
+
return React.createElement(
|
|
82
|
+
React.Fragment,
|
|
84
83
|
null,
|
|
85
|
-
|
|
84
|
+
React.createElement(
|
|
86
85
|
'div',
|
|
87
86
|
{ id: 'webcast-ad-wrapper', className: 'webcast-ad-wrapper' },
|
|
88
|
-
|
|
87
|
+
React.createElement(
|
|
89
88
|
'div',
|
|
90
89
|
{ className: 'webcast-ad', style: { paddingBottom: '15px' } },
|
|
91
|
-
|
|
90
|
+
React.createElement(DFPAdSlot, {
|
|
92
91
|
className: className,
|
|
93
92
|
slotId: slotId,
|
|
94
93
|
networkID: networkID,
|
|
@@ -103,7 +102,7 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
103
102
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
104
103
|
})
|
|
105
104
|
),
|
|
106
|
-
|
|
105
|
+
React.createElement(
|
|
107
106
|
'style',
|
|
108
107
|
{ jsx: 'true' },
|
|
109
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
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import './main-
|
|
16
|
+
import './main-747e7d25.js';
|
|
18
17
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -87,21 +86,21 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
87
86
|
|
|
88
87
|
return (
|
|
89
88
|
// Setting welcome ad to display:none and Setting to display:block after checking for cookie in site level.
|
|
90
|
-
|
|
89
|
+
React.createElement(
|
|
91
90
|
'div',
|
|
92
91
|
{ style: { outline: 'none', display: 'none' }, className: 'welcome-modal', id: 'welcome-modal' },
|
|
93
|
-
|
|
92
|
+
React.createElement(
|
|
94
93
|
'div',
|
|
95
94
|
{ className: 'welcome-ad-head-wrapper' },
|
|
96
|
-
|
|
95
|
+
React.createElement(
|
|
97
96
|
'div',
|
|
98
97
|
{ className: 'left-top' },
|
|
99
|
-
|
|
98
|
+
React.createElement('img', { style: { width: '100%' }, src: Website.logo, alt: Website.title })
|
|
100
99
|
),
|
|
101
|
-
|
|
100
|
+
React.createElement(
|
|
102
101
|
'div',
|
|
103
102
|
{ className: 'right-top' },
|
|
104
|
-
|
|
103
|
+
React.createElement(
|
|
105
104
|
'span',
|
|
106
105
|
{
|
|
107
106
|
className: 'continue-site',
|
|
@@ -116,7 +115,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
116
115
|
} },
|
|
117
116
|
'CONTINUE TO SITE'
|
|
118
117
|
),
|
|
119
|
-
|
|
118
|
+
React.createElement(
|
|
120
119
|
'p',
|
|
121
120
|
{
|
|
122
121
|
style: {
|
|
@@ -128,10 +127,10 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
128
127
|
)
|
|
129
128
|
)
|
|
130
129
|
),
|
|
131
|
-
|
|
130
|
+
React.createElement(
|
|
132
131
|
'div',
|
|
133
132
|
{ className: title },
|
|
134
|
-
|
|
133
|
+
React.createElement(DFPAdSlot, {
|
|
135
134
|
className: className,
|
|
136
135
|
slotId: slotId,
|
|
137
136
|
networkID: networkID,
|
|
@@ -142,7 +141,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
142
141
|
checkIsAdFound: checkIsAdFound
|
|
143
142
|
})
|
|
144
143
|
),
|
|
145
|
-
|
|
144
|
+
React.createElement(
|
|
146
145
|
'style',
|
|
147
146
|
{ jsx: 'true' },
|
|
148
147
|
'\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,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import 'react-bootstrap/Card';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
4
4
|
import DFPAdSlot from './AdSlot.js';
|
|
@@ -28,10 +28,10 @@ var ADlgInfeed = function ADlgInfeed(props) {
|
|
|
28
28
|
}));
|
|
29
29
|
}, []);
|
|
30
30
|
|
|
31
|
-
return
|
|
31
|
+
return React.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.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.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 '
|