@mjhls/mjh-framework 1.0.270 → 1.0.272
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/{ADInfeed-0da6acd4.js → ADInfeed-f560c2f9.js} +1 -1
- package/dist/cjs/{AdSlot-93d892f5.js → AdSlot-f69a31ec.js} +1 -1
- package/dist/cjs/DeckContent.js +2 -2
- package/dist/cjs/{GridContent-81563bbb.js → GridContent-df5951a1.js} +1 -1
- package/dist/cjs/GridContent.js +3 -3
- package/dist/cjs/{Normal-05dd6f72.js → Normal-47f04b2b.js} +41 -20
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/index.js +5 -5
- package/dist/esm/{ADInfeed-e546ea87.js → ADInfeed-a77b2850.js} +1 -1
- package/dist/esm/{AdSlot-9b4ae186.js → AdSlot-69bf3195.js} +1 -1
- package/dist/esm/DeckContent.js +2 -2
- package/dist/esm/{GridContent-b2edf91a.js → GridContent-8479e775.js} +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/{Normal-ccc2f7f8.js → Normal-3e5ad3d1.js} +41 -20
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/index.js +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ var React = require('react');
|
|
|
6
6
|
var React__default = _interopDefault(React);
|
|
7
7
|
var Card = _interopDefault(require('react-bootstrap/Card'));
|
|
8
8
|
var slicedToArray = require('./slicedToArray-e38fb29d.js');
|
|
9
|
-
var AdSlot = require('./AdSlot-
|
|
9
|
+
var AdSlot = require('./AdSlot-f69a31ec.js');
|
|
10
10
|
|
|
11
11
|
var ADInfeed = function ADInfeed(_ref) {
|
|
12
12
|
var index = _ref.index,
|
|
@@ -1114,7 +1114,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
1114
1114
|
}, 500);
|
|
1115
1115
|
|
|
1116
1116
|
var matchAd = function matchAd(element) {
|
|
1117
|
-
return slotId.includes(element);
|
|
1117
|
+
return slotId && slotId.includes(element);
|
|
1118
1118
|
};
|
|
1119
1119
|
|
|
1120
1120
|
return React__default.createElement(
|
package/dist/cjs/DeckContent.js
CHANGED
|
@@ -28,9 +28,9 @@ var index$1 = require('./index-be0c82be.js');
|
|
|
28
28
|
var index$2 = require('./index-fa0fb52c.js');
|
|
29
29
|
var entities = require('./entities-310b46ee.js');
|
|
30
30
|
require('./slicedToArray-e38fb29d.js');
|
|
31
|
-
require('./AdSlot-
|
|
31
|
+
require('./AdSlot-f69a31ec.js');
|
|
32
32
|
require('./promise-b96c61f8.js');
|
|
33
|
-
var ADInfeed = require('./ADInfeed-
|
|
33
|
+
var ADInfeed = require('./ADInfeed-f560c2f9.js');
|
|
34
34
|
|
|
35
35
|
var DeckContent = function (_React$Component) {
|
|
36
36
|
inherits$2._inherits(DeckContent, _React$Component);
|
|
@@ -21,7 +21,7 @@ var Router__default = _interopDefault(Router);
|
|
|
21
21
|
var index$1 = require('./index-be0c82be.js');
|
|
22
22
|
var index$2 = require('./index-fa0fb52c.js');
|
|
23
23
|
var entities = require('./entities-310b46ee.js');
|
|
24
|
-
var ADInfeed = require('./ADInfeed-
|
|
24
|
+
var ADInfeed = require('./ADInfeed-f560c2f9.js');
|
|
25
25
|
var get$1 = require('./get-1f91592f.js');
|
|
26
26
|
|
|
27
27
|
var Dfp = React__default.lazy(function () {
|
package/dist/cjs/GridContent.js
CHANGED
|
@@ -24,11 +24,11 @@ require('./index-be0c82be.js');
|
|
|
24
24
|
require('./index-fa0fb52c.js');
|
|
25
25
|
require('./entities-310b46ee.js');
|
|
26
26
|
require('./slicedToArray-e38fb29d.js');
|
|
27
|
-
require('./AdSlot-
|
|
27
|
+
require('./AdSlot-f69a31ec.js');
|
|
28
28
|
require('./promise-b96c61f8.js');
|
|
29
|
-
require('./ADInfeed-
|
|
29
|
+
require('./ADInfeed-f560c2f9.js');
|
|
30
30
|
require('./get-1f91592f.js');
|
|
31
|
-
var GridContent = require('./GridContent-
|
|
31
|
+
var GridContent = require('./GridContent-df5951a1.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -13,7 +13,7 @@ var Row = _interopDefault(require('react-bootstrap/Row'));
|
|
|
13
13
|
var Col = _interopDefault(require('react-bootstrap/Col'));
|
|
14
14
|
var Link = _interopDefault(require('next/link'));
|
|
15
15
|
var slicedToArray = require('./slicedToArray-e38fb29d.js');
|
|
16
|
-
var AdSlot = require('./AdSlot-
|
|
16
|
+
var AdSlot = require('./AdSlot-f69a31ec.js');
|
|
17
17
|
var get$1 = require('./get-1f91592f.js');
|
|
18
18
|
var reactBootstrap = require('react-bootstrap');
|
|
19
19
|
var index_esm = require('./index.esm-340d3792.js');
|
|
@@ -1297,7 +1297,6 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
1297
1297
|
|
|
1298
1298
|
React.useEffect(function () {
|
|
1299
1299
|
var navOffsetTop = navRef.current.getBoundingClientRect().top;
|
|
1300
|
-
var navOffsetHeight = navRef.current.getBoundingClientRect().height;
|
|
1301
1300
|
var adSection = document.querySelector('.AD728x90');
|
|
1302
1301
|
var stickyNav = window.addEventListener('scroll', function () {
|
|
1303
1302
|
if (window.pageYOffset > navOffsetTop) {
|
|
@@ -1306,7 +1305,6 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
1306
1305
|
navRef.current.style.top = 0;
|
|
1307
1306
|
navRef.current.style.width = '100%';
|
|
1308
1307
|
navRef.current.style.zIndex = '9999';
|
|
1309
|
-
adSection.style.marginTop = navOffsetHeight + 'px';
|
|
1310
1308
|
}
|
|
1311
1309
|
} else {
|
|
1312
1310
|
if (navRef.current && navRef.current.style) {
|
|
@@ -2071,7 +2069,6 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
2071
2069
|
|
|
2072
2070
|
React.useEffect(function () {
|
|
2073
2071
|
var navOffsetTop = navRef.current.getBoundingClientRect().top;
|
|
2074
|
-
var navOffsetHeight = navRef.current.getBoundingClientRect().height;
|
|
2075
2072
|
var adSection = document.querySelector('.AD728x90');
|
|
2076
2073
|
var stickyNav = window.addEventListener('scroll', function () {
|
|
2077
2074
|
if (window.pageYOffset > navOffsetTop) {
|
|
@@ -2080,7 +2077,6 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
2080
2077
|
navRef.current.style.top = 0;
|
|
2081
2078
|
navRef.current.style.width = '100%';
|
|
2082
2079
|
navRef.current.style.zIndex = '9999';
|
|
2083
|
-
adSection.style.marginTop = navOffsetHeight + 'px';
|
|
2084
2080
|
}
|
|
2085
2081
|
} else {
|
|
2086
2082
|
if (navRef.current && navRef.current.style) {
|
|
@@ -2371,8 +2367,29 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
2371
2367
|
adTargeting = _useState4[0],
|
|
2372
2368
|
setTargeting = _useState4[1];
|
|
2373
2369
|
|
|
2370
|
+
var adRef = React.useRef(null);
|
|
2371
|
+
|
|
2374
2372
|
React.useEffect(function () {
|
|
2375
2373
|
if (window && window.innerWidth && window.innerWidth < 768) {
|
|
2374
|
+
var navbar = document.querySelector('.navbar');
|
|
2375
|
+
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
2376
|
+
window.addEventListener('scroll', function () {
|
|
2377
|
+
if (window.pageYOffset + (AdOffsetTop - navbar.offsetHeight) > AdOffsetTop) {
|
|
2378
|
+
if (adRef.current && adRef.current.style) {
|
|
2379
|
+
adRef.current.style.position = 'fixed';
|
|
2380
|
+
adRef.current.style.top = '60px';
|
|
2381
|
+
adRef.current.style.left = '0px';
|
|
2382
|
+
adRef.current.style.zIndex = '9999';
|
|
2383
|
+
adRef.current.style.width = '100%';
|
|
2384
|
+
adRef.current.style.marginTop = '2px';
|
|
2385
|
+
}
|
|
2386
|
+
} else {
|
|
2387
|
+
if (adRef.current && adRef.current.style) {
|
|
2388
|
+
adRef.current.style.position = 'relative';
|
|
2389
|
+
adRef.current.style.top = '';
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
});
|
|
2376
2393
|
setMobileView(true);
|
|
2377
2394
|
adTargeting['pos'] = pos && pos.length ? pos : 'top-mobile';
|
|
2378
2395
|
} else {
|
|
@@ -2384,21 +2401,25 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
2384
2401
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
2385
2402
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
2386
2403
|
|
|
2387
|
-
return React__default.createElement(
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
sizes:
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2404
|
+
return React__default.createElement(
|
|
2405
|
+
'div',
|
|
2406
|
+
{ className: 'leaderboard-ad-wrapper', ref: adRef, style: { backgroundColor: '#fff' } },
|
|
2407
|
+
React__default.createElement(AdSlot.DFPAdSlot, {
|
|
2408
|
+
slotId: slotId,
|
|
2409
|
+
networkID: networkID,
|
|
2410
|
+
adUnit: adUnit,
|
|
2411
|
+
targeting: adTargeting,
|
|
2412
|
+
className: 'AD728x90',
|
|
2413
|
+
sizes: mobileView ? mobileSizes : browserSizes,
|
|
2414
|
+
sizeMapping: [{
|
|
2415
|
+
viewport: [768, 1],
|
|
2416
|
+
sizes: [[728, 90], [970, 90]]
|
|
2417
|
+
}, {
|
|
2418
|
+
viewport: [1, 1],
|
|
2419
|
+
sizes: [[320, 50], [300, 50]]
|
|
2420
|
+
}]
|
|
2421
|
+
})
|
|
2422
|
+
);
|
|
2402
2423
|
};
|
|
2403
2424
|
|
|
2404
2425
|
// Main
|
|
@@ -15,13 +15,13 @@ require('react-bootstrap/Row');
|
|
|
15
15
|
require('react-bootstrap/Col');
|
|
16
16
|
require('next/link');
|
|
17
17
|
require('./slicedToArray-e38fb29d.js');
|
|
18
|
-
require('./AdSlot-
|
|
18
|
+
require('./AdSlot-f69a31ec.js');
|
|
19
19
|
require('./promise-b96c61f8.js');
|
|
20
20
|
require('./get-1f91592f.js');
|
|
21
21
|
require('react-bootstrap');
|
|
22
22
|
require('./index.esm-340d3792.js');
|
|
23
23
|
require('react-bootstrap/Button');
|
|
24
|
-
var TemplateNormal = require('./Normal-
|
|
24
|
+
var TemplateNormal = require('./Normal-47f04b2b.js');
|
|
25
25
|
require('react-bootstrap/ListGroup');
|
|
26
26
|
require('next/head');
|
|
27
27
|
require('react-bootstrap/Nav');
|
package/dist/cjs/index.js
CHANGED
|
@@ -30,12 +30,12 @@ var index$1 = require('./index-be0c82be.js');
|
|
|
30
30
|
require('./index-fa0fb52c.js');
|
|
31
31
|
var entities = require('./entities-310b46ee.js');
|
|
32
32
|
var slicedToArray = require('./slicedToArray-e38fb29d.js');
|
|
33
|
-
var AdSlot = require('./AdSlot-
|
|
33
|
+
var AdSlot = require('./AdSlot-f69a31ec.js');
|
|
34
34
|
require('./promise-b96c61f8.js');
|
|
35
|
-
require('./ADInfeed-
|
|
35
|
+
require('./ADInfeed-f560c2f9.js');
|
|
36
36
|
var DeckContent = require('./DeckContent.js');
|
|
37
37
|
require('./get-1f91592f.js');
|
|
38
|
-
var GridContent = require('./GridContent-
|
|
38
|
+
var GridContent = require('./GridContent-df5951a1.js');
|
|
39
39
|
var DeckQueue = require('./DeckQueue.js');
|
|
40
40
|
require('react-bootstrap/Media');
|
|
41
41
|
var ThumbnailCard = require('./ThumbnailCard.js');
|
|
@@ -53,7 +53,7 @@ var IssueDeck = require('./IssueDeck.js');
|
|
|
53
53
|
require('react-bootstrap/Badge');
|
|
54
54
|
var IssueContentDeck = require('./IssueContentDeck.js');
|
|
55
55
|
var Spinner = _interopDefault(require('react-bootstrap/Spinner'));
|
|
56
|
-
var TemplateNormal = require('./Normal-
|
|
56
|
+
var TemplateNormal = require('./Normal-47f04b2b.js');
|
|
57
57
|
require('react-bootstrap/ListGroup');
|
|
58
58
|
var Head = _interopDefault(require('next/head'));
|
|
59
59
|
var Accordion = _interopDefault(require('react-bootstrap/Accordion'));
|
|
@@ -2742,7 +2742,7 @@ var SocialShare = function SocialShare(props) {
|
|
|
2742
2742
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
2743
2743
|
React__default.createElement(reactShare.LinkedinIcon, { size: size, round: true })
|
|
2744
2744
|
),
|
|
2745
|
-
React__default.createElement(
|
|
2745
|
+
!props.hidePinterest && React__default.createElement(
|
|
2746
2746
|
reactShare.PinterestShareButton,
|
|
2747
2747
|
{ url: shareUrl, media: shareImage, description: shareSummary },
|
|
2748
2748
|
React__default.createElement(reactShare.PinterestIcon, { size: size, round: true })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import Card from 'react-bootstrap/Card';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
|
|
4
|
-
import { D as DFPAdSlot } from './AdSlot-
|
|
4
|
+
import { D as DFPAdSlot } from './AdSlot-69bf3195.js';
|
|
5
5
|
|
|
6
6
|
var ADInfeed = function ADInfeed(_ref) {
|
|
7
7
|
var index = _ref.index,
|
|
@@ -1109,7 +1109,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
1109
1109
|
}, 500);
|
|
1110
1110
|
|
|
1111
1111
|
var matchAd = function matchAd(element) {
|
|
1112
|
-
return slotId.includes(element);
|
|
1112
|
+
return slotId && slotId.includes(element);
|
|
1113
1113
|
};
|
|
1114
1114
|
|
|
1115
1115
|
return React__default.createElement(
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -22,9 +22,9 @@ import { i as imageUrlBuilder } from './index-73819142.js';
|
|
|
22
22
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
23
23
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
24
24
|
import './slicedToArray-d0a9593a.js';
|
|
25
|
-
import './AdSlot-
|
|
25
|
+
import './AdSlot-69bf3195.js';
|
|
26
26
|
import './promise-683a9c54.js';
|
|
27
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
27
|
+
import { A as ADInfeed } from './ADInfeed-a77b2850.js';
|
|
28
28
|
|
|
29
29
|
var DeckContent = function (_React$Component) {
|
|
30
30
|
_inherits(DeckContent, _React$Component);
|
|
@@ -15,7 +15,7 @@ import { withRouter } from 'next/router';
|
|
|
15
15
|
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
16
16
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
17
17
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
18
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
18
|
+
import { A as ADInfeed } from './ADInfeed-a77b2850.js';
|
|
19
19
|
import { g as get_1 } from './get-b2201dc8.js';
|
|
20
20
|
|
|
21
21
|
var Dfp = React__default.lazy(function () {
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -22,8 +22,8 @@ import './index-73819142.js';
|
|
|
22
22
|
import './index-5f9f807a.js';
|
|
23
23
|
import './entities-7cc3bf45.js';
|
|
24
24
|
import './slicedToArray-d0a9593a.js';
|
|
25
|
-
import './AdSlot-
|
|
25
|
+
import './AdSlot-69bf3195.js';
|
|
26
26
|
import './promise-683a9c54.js';
|
|
27
|
-
import './ADInfeed-
|
|
27
|
+
import './ADInfeed-a77b2850.js';
|
|
28
28
|
import './get-b2201dc8.js';
|
|
29
|
-
export { G as default } from './GridContent-
|
|
29
|
+
export { G as default } from './GridContent-8479e775.js';
|
|
@@ -8,7 +8,7 @@ import Row from 'react-bootstrap/Row';
|
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
|
|
11
|
-
import { D as DFPAdSlot } from './AdSlot-
|
|
11
|
+
import { D as DFPAdSlot } from './AdSlot-69bf3195.js';
|
|
12
12
|
import { g as get_1 } from './get-b2201dc8.js';
|
|
13
13
|
import { Dropdown } from 'react-bootstrap';
|
|
14
14
|
import { G as GenIcon, b as IoMdLogIn, c as IoIosHome } from './index.esm-536609db.js';
|
|
@@ -1292,7 +1292,6 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
1292
1292
|
|
|
1293
1293
|
useEffect(function () {
|
|
1294
1294
|
var navOffsetTop = navRef.current.getBoundingClientRect().top;
|
|
1295
|
-
var navOffsetHeight = navRef.current.getBoundingClientRect().height;
|
|
1296
1295
|
var adSection = document.querySelector('.AD728x90');
|
|
1297
1296
|
var stickyNav = window.addEventListener('scroll', function () {
|
|
1298
1297
|
if (window.pageYOffset > navOffsetTop) {
|
|
@@ -1301,7 +1300,6 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
1301
1300
|
navRef.current.style.top = 0;
|
|
1302
1301
|
navRef.current.style.width = '100%';
|
|
1303
1302
|
navRef.current.style.zIndex = '9999';
|
|
1304
|
-
adSection.style.marginTop = navOffsetHeight + 'px';
|
|
1305
1303
|
}
|
|
1306
1304
|
} else {
|
|
1307
1305
|
if (navRef.current && navRef.current.style) {
|
|
@@ -2066,7 +2064,6 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
2066
2064
|
|
|
2067
2065
|
useEffect(function () {
|
|
2068
2066
|
var navOffsetTop = navRef.current.getBoundingClientRect().top;
|
|
2069
|
-
var navOffsetHeight = navRef.current.getBoundingClientRect().height;
|
|
2070
2067
|
var adSection = document.querySelector('.AD728x90');
|
|
2071
2068
|
var stickyNav = window.addEventListener('scroll', function () {
|
|
2072
2069
|
if (window.pageYOffset > navOffsetTop) {
|
|
@@ -2075,7 +2072,6 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
2075
2072
|
navRef.current.style.top = 0;
|
|
2076
2073
|
navRef.current.style.width = '100%';
|
|
2077
2074
|
navRef.current.style.zIndex = '9999';
|
|
2078
|
-
adSection.style.marginTop = navOffsetHeight + 'px';
|
|
2079
2075
|
}
|
|
2080
2076
|
} else {
|
|
2081
2077
|
if (navRef.current && navRef.current.style) {
|
|
@@ -2366,8 +2362,29 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
2366
2362
|
adTargeting = _useState4[0],
|
|
2367
2363
|
setTargeting = _useState4[1];
|
|
2368
2364
|
|
|
2365
|
+
var adRef = useRef(null);
|
|
2366
|
+
|
|
2369
2367
|
useEffect(function () {
|
|
2370
2368
|
if (window && window.innerWidth && window.innerWidth < 768) {
|
|
2369
|
+
var navbar = document.querySelector('.navbar');
|
|
2370
|
+
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
2371
|
+
window.addEventListener('scroll', function () {
|
|
2372
|
+
if (window.pageYOffset + (AdOffsetTop - navbar.offsetHeight) > AdOffsetTop) {
|
|
2373
|
+
if (adRef.current && adRef.current.style) {
|
|
2374
|
+
adRef.current.style.position = 'fixed';
|
|
2375
|
+
adRef.current.style.top = '60px';
|
|
2376
|
+
adRef.current.style.left = '0px';
|
|
2377
|
+
adRef.current.style.zIndex = '9999';
|
|
2378
|
+
adRef.current.style.width = '100%';
|
|
2379
|
+
adRef.current.style.marginTop = '2px';
|
|
2380
|
+
}
|
|
2381
|
+
} else {
|
|
2382
|
+
if (adRef.current && adRef.current.style) {
|
|
2383
|
+
adRef.current.style.position = 'relative';
|
|
2384
|
+
adRef.current.style.top = '';
|
|
2385
|
+
}
|
|
2386
|
+
}
|
|
2387
|
+
});
|
|
2371
2388
|
setMobileView(true);
|
|
2372
2389
|
adTargeting['pos'] = pos && pos.length ? pos : 'top-mobile';
|
|
2373
2390
|
} else {
|
|
@@ -2379,21 +2396,25 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
2379
2396
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
2380
2397
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
2381
2398
|
|
|
2382
|
-
return React__default.createElement(
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
sizes:
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2399
|
+
return React__default.createElement(
|
|
2400
|
+
'div',
|
|
2401
|
+
{ className: 'leaderboard-ad-wrapper', ref: adRef, style: { backgroundColor: '#fff' } },
|
|
2402
|
+
React__default.createElement(DFPAdSlot, {
|
|
2403
|
+
slotId: slotId,
|
|
2404
|
+
networkID: networkID,
|
|
2405
|
+
adUnit: adUnit,
|
|
2406
|
+
targeting: adTargeting,
|
|
2407
|
+
className: 'AD728x90',
|
|
2408
|
+
sizes: mobileView ? mobileSizes : browserSizes,
|
|
2409
|
+
sizeMapping: [{
|
|
2410
|
+
viewport: [768, 1],
|
|
2411
|
+
sizes: [[728, 90], [970, 90]]
|
|
2412
|
+
}, {
|
|
2413
|
+
viewport: [1, 1],
|
|
2414
|
+
sizes: [[320, 50], [300, 50]]
|
|
2415
|
+
}]
|
|
2416
|
+
})
|
|
2417
|
+
);
|
|
2397
2418
|
};
|
|
2398
2419
|
|
|
2399
2420
|
// Main
|
|
@@ -13,13 +13,13 @@ import 'react-bootstrap/Row';
|
|
|
13
13
|
import 'react-bootstrap/Col';
|
|
14
14
|
import 'next/link';
|
|
15
15
|
import './slicedToArray-d0a9593a.js';
|
|
16
|
-
import './AdSlot-
|
|
16
|
+
import './AdSlot-69bf3195.js';
|
|
17
17
|
import './promise-683a9c54.js';
|
|
18
18
|
import './get-b2201dc8.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
20
|
import './index.esm-536609db.js';
|
|
21
21
|
import 'react-bootstrap/Button';
|
|
22
|
-
export { T as default } from './Normal-
|
|
22
|
+
export { T as default } from './Normal-3e5ad3d1.js';
|
|
23
23
|
import 'react-bootstrap/ListGroup';
|
|
24
24
|
import 'next/head';
|
|
25
25
|
import 'react-bootstrap/Nav';
|
package/dist/esm/index.js
CHANGED
|
@@ -22,13 +22,13 @@ import { i as imageUrlBuilder } from './index-73819142.js';
|
|
|
22
22
|
import './index-5f9f807a.js';
|
|
23
23
|
import { h as html_decode_1, c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
24
24
|
import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
|
|
25
|
-
import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-
|
|
26
|
-
export { D as AdSlot, B as Beam } from './AdSlot-
|
|
25
|
+
import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-69bf3195.js';
|
|
26
|
+
export { D as AdSlot, B as Beam } from './AdSlot-69bf3195.js';
|
|
27
27
|
import './promise-683a9c54.js';
|
|
28
|
-
import './ADInfeed-
|
|
28
|
+
import './ADInfeed-a77b2850.js';
|
|
29
29
|
export { default as DeckContent } from './DeckContent.js';
|
|
30
30
|
import './get-b2201dc8.js';
|
|
31
|
-
export { A as AD, G as GridContent } from './GridContent-
|
|
31
|
+
export { A as AD, G as GridContent } from './GridContent-8479e775.js';
|
|
32
32
|
export { default as DeckQueue } from './DeckQueue.js';
|
|
33
33
|
import 'react-bootstrap/Media';
|
|
34
34
|
export { default as ThumbnailCard } from './ThumbnailCard.js';
|
|
@@ -49,8 +49,8 @@ export { default as IssueDeck } from './IssueDeck.js';
|
|
|
49
49
|
import 'react-bootstrap/Badge';
|
|
50
50
|
export { default as IssueContentDeck } from './IssueContentDeck.js';
|
|
51
51
|
import Spinner from 'react-bootstrap/Spinner';
|
|
52
|
-
import { M as MdPictureAsPdf, T as TemplateNormal } from './Normal-
|
|
53
|
-
export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-
|
|
52
|
+
import { M as MdPictureAsPdf, T as TemplateNormal } from './Normal-3e5ad3d1.js';
|
|
53
|
+
export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-3e5ad3d1.js';
|
|
54
54
|
import 'react-bootstrap/ListGroup';
|
|
55
55
|
import Head from 'next/head';
|
|
56
56
|
import Accordion from 'react-bootstrap/Accordion';
|
|
@@ -2740,7 +2740,7 @@ var SocialShare = function SocialShare(props) {
|
|
|
2740
2740
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
2741
2741
|
React__default.createElement(LinkedinIcon, { size: size, round: true })
|
|
2742
2742
|
),
|
|
2743
|
-
React__default.createElement(
|
|
2743
|
+
!props.hidePinterest && React__default.createElement(
|
|
2744
2744
|
PinterestShareButton,
|
|
2745
2745
|
{ url: shareUrl, media: shareImage, description: shareSummary },
|
|
2746
2746
|
React__default.createElement(PinterestIcon, { size: size, round: true })
|