@mjhls/mjh-framework 1.0.665 → 1.0.666-ad-update-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +3 -3
- package/dist/cjs/AD300x250x600.js +3 -3
- package/dist/cjs/AD728x90.js +4 -4
- package/dist/cjs/ADFloatingFooter.js +2 -2
- package/dist/cjs/ADGutter.js +2 -2
- package/dist/cjs/ADSkyscraper.js +2 -2
- package/dist/cjs/ADSponsoredResources.js +2 -2
- package/dist/cjs/ADWebcast.js +2 -2
- package/dist/cjs/ADWelcome.js +2 -2
- package/dist/cjs/AdSlot.js +2 -2
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +255 -506
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-80b15fac.js} +1 -1
- package/dist/cjs/CMEDeck.js +5 -5
- package/dist/cjs/Column3.js +4 -4
- package/dist/cjs/ConferenceArticleCard.js +2 -2
- package/dist/cjs/DeckContent.js +7 -7
- package/dist/cjs/DeckQueue.js +6 -6
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-390337bf.js} +1 -1
- package/dist/cjs/EventsDeck.js +14 -6
- package/dist/cjs/ExternalResources.js +7 -7
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +2 -2
- package/dist/cjs/GridContent.js +11 -11
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +4 -4
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalHero.js +3 -3
- package/dist/cjs/IssueContentDeck.js +2 -2
- package/dist/cjs/IssueDeck.js +2 -2
- package/dist/cjs/IssueLanding.js +8 -8
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +15 -10
- package/dist/cjs/NavMagazine.js +4 -4
- package/dist/cjs/NavNative.js +3 -3
- package/dist/cjs/OncliveHero.js +3 -3
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +1211 -14
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +10 -10
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +2 -2
- package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-81a50f81.js} +5 -5
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +3 -3
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +3 -3
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +2 -2
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/View.js +77 -18
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{index-2d0a4911.js → index-099d45ae.js} +6 -4
- package/dist/cjs/{index-6f1ee5f0.js → index-0ba539e4.js} +14 -14
- package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-b5eb3ff8.js → index-39beccb3.js} +18 -18
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
- package/dist/cjs/{index.esm-89fabc47.js → index.esm-ff47db6f.js} +10 -0
- package/dist/cjs/index.js +16 -17
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-a4cb15bb.js} +36 -67
- package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
- package/dist/cjs/urlFor.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -3
- package/dist/esm/AD300x250x600.js +3 -3
- package/dist/esm/AD728x90.js +4 -4
- package/dist/esm/ADFloatingFooter.js +2 -2
- package/dist/esm/ADGutter.js +2 -2
- package/dist/esm/ADSkyscraper.js +2 -2
- package/dist/esm/ADSponsoredResources.js +2 -2
- package/dist/esm/ADWebcast.js +2 -2
- package/dist/esm/ADWelcome.js +2 -2
- package/dist/esm/AdSlot.js +2 -2
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +4 -4
- package/dist/esm/Auth.js +250 -501
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c409aca5.js} +1 -1
- package/dist/esm/CMEDeck.js +5 -5
- package/dist/esm/Column3.js +4 -4
- package/dist/esm/ConferenceArticleCard.js +2 -2
- package/dist/esm/DeckContent.js +7 -7
- package/dist/esm/DeckQueue.js +6 -6
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-741c01be.js} +1 -1
- package/dist/esm/EventsDeck.js +14 -6
- package/dist/esm/ExternalResources.js +7 -7
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +2 -2
- package/dist/esm/GridContent.js +11 -11
- package/dist/esm/GridHero.js +2 -2
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +4 -4
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalHero.js +3 -3
- package/dist/esm/IssueContentDeck.js +2 -2
- package/dist/esm/IssueDeck.js +2 -2
- package/dist/esm/IssueLanding.js +8 -8
- package/dist/esm/LeftNav.js +2 -2
- package/dist/esm/MasterDeck.js +15 -10
- package/dist/esm/NavMagazine.js +4 -4
- package/dist/esm/NavNative.js +3 -3
- package/dist/esm/OncliveHero.js +3 -3
- package/dist/esm/OncliveLargeHero.js +2 -2
- package/dist/esm/PartnerDetailListing.js +1210 -14
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/QueueDeckExpanded.js +10 -10
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +2 -2
- package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-55960ec4.js} +5 -5
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +3 -3
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +3 -3
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/View.js +77 -18
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +6 -6
- package/dist/esm/{index-3a33f7d6.js → index-26c19b64.js} +14 -14
- package/dist/esm/{index-51a80699.js → index-3849e3fe.js} +18 -18
- package/dist/esm/{index-93ec3c59.js → index-3f4dd6f2.js} +6 -4
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
- package/dist/esm/{index.esm-9a4c8813.js → index.esm-cf08bf18.js} +9 -1
- package/dist/esm/index.js +15 -16
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-5d1e4bd3.js} +34 -65
- package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/package.json +3 -3
- /package/dist/cjs/{ADInfeed-9735aff2.js → ADInfeed-61658341.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-6bd11848.js → ADlgInfeed-61b2f7ae.js} +0 -0
- /package/dist/esm/{ADInfeed-9140aa7d.js → ADInfeed-034c433d.js} +0 -0
- /package/dist/esm/{ADlgInfeed-7656ecd1.js → ADlgInfeed-0fb12879.js} +0 -0
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -9,16 +9,16 @@ import './_object-pie-71ac75a4.js';
|
|
|
9
9
|
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
10
|
import './web.dom.iterable-8956f9a5.js';
|
|
11
11
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
12
|
-
import { l as lib_3 } from './index-
|
|
12
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import './moment-
|
|
14
|
+
import './moment-e2f9b20c.js';
|
|
15
15
|
import { useRouter } from 'next/router';
|
|
16
16
|
import './isSymbol-807e927e.js';
|
|
17
17
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
18
|
-
import { I as InfiniteScroll } from './index.es-
|
|
18
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
19
19
|
import 'react-dom';
|
|
20
20
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
21
|
-
import { m as
|
|
21
|
+
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
22
22
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
23
23
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
|
|
24
24
|
import './_set-species-cede29f8.js';
|
|
@@ -294,7 +294,7 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
294
294
|
)
|
|
295
295
|
)
|
|
296
296
|
),
|
|
297
|
-
|
|
297
|
+
main_36 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
298
298
|
'div',
|
|
299
299
|
{ style: { margin: '0 auto' } },
|
|
300
300
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
package/dist/esm/Column3.js
CHANGED
|
@@ -7,13 +7,13 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
7
7
|
import './define-property-de3fc946.js';
|
|
8
8
|
import './web.dom.iterable-8956f9a5.js';
|
|
9
9
|
import React__default, { useRef, useEffect } from 'react';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-3f4dd6f2.js';
|
|
11
11
|
import 'prop-types';
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import './isSymbol-807e927e.js';
|
|
15
15
|
import './debounce-1a993acf.js';
|
|
16
|
-
import { m as
|
|
16
|
+
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
17
17
|
import './stringify-008c8802.js';
|
|
18
18
|
import './slicedToArray-7021e5df.js';
|
|
19
19
|
import './asyncToGenerator-7c654f36.js';
|
|
@@ -47,7 +47,7 @@ var Column3 = function Column3(props) {
|
|
|
47
47
|
var adRef = useRef(null);
|
|
48
48
|
|
|
49
49
|
useEffect(function () {
|
|
50
|
-
if (!
|
|
50
|
+
if (!main_36 && window.innerWidth >= 768) {
|
|
51
51
|
var navbar = document.querySelector('.navbar');
|
|
52
52
|
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
53
53
|
window.addEventListener('scroll', function () {
|
|
@@ -107,7 +107,7 @@ var Column3 = function Column3(props) {
|
|
|
107
107
|
{ jsx: 'true' },
|
|
108
108
|
'\n .filter-box {\n float: right;\n padding-top: 6px;\n padding-right: 18px;\n }\n @media only screen and (min-width: 768px) {\n .title-wrap {\n display: flex;\n justify-content: space-between;\n }\n }\n @media only screen and (max-width: 767px) {\n /* .filter-box {\n float: right;\n display: flex;\n justify-content: flex-end;\n } */\n .title-wrap {\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n }\n }\n '
|
|
109
109
|
),
|
|
110
|
-
(!
|
|
110
|
+
(!main_36 || showRightAd) && React__default.createElement(
|
|
111
111
|
Col,
|
|
112
112
|
{ xs: 12, className: 'rightCol' },
|
|
113
113
|
website && website.conferenceBannerContent && React__default.createElement(ConferenceBanner, { website: website }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { m as moment } from './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
Example usage - targetedonc.com/latest-conference
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -14,22 +14,22 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
14
14
|
import './typeof-08f2c380.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
16
|
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import Container from 'react-bootstrap/Container';
|
|
20
20
|
import Row from 'react-bootstrap/Row';
|
|
21
21
|
import Col from 'react-bootstrap/Col';
|
|
22
22
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
24
|
import { withRouter } from 'next/router';
|
|
25
25
|
import './isSymbol-807e927e.js';
|
|
26
26
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
30
|
-
import { i as imageUrlBuilder } from './index-
|
|
30
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
31
31
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
32
|
-
import { m as
|
|
32
|
+
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
33
33
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
34
|
import './stringify-008c8802.js';
|
|
35
35
|
import './slicedToArray-7021e5df.js';
|
|
@@ -37,7 +37,7 @@ import './asyncToGenerator-7c654f36.js';
|
|
|
37
37
|
import './_set-species-cede29f8.js';
|
|
38
38
|
import './beam-681a9749.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
40
|
+
import { A as ADInfeed } from './ADInfeed-034c433d.js';
|
|
41
41
|
|
|
42
42
|
var DeckContent = function (_React$Component) {
|
|
43
43
|
_inherits(DeckContent, _React$Component);
|
|
@@ -348,7 +348,7 @@ var DeckContent = function (_React$Component) {
|
|
|
348
348
|
)
|
|
349
349
|
)
|
|
350
350
|
),
|
|
351
|
-
|
|
351
|
+
main_36 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
352
352
|
);
|
|
353
353
|
}
|
|
354
354
|
})
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -14,22 +14,22 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
14
14
|
import './typeof-08f2c380.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
16
|
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import Container from 'react-bootstrap/Container';
|
|
20
20
|
import Row from 'react-bootstrap/Row';
|
|
21
21
|
import Col from 'react-bootstrap/Col';
|
|
22
22
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
24
|
import { withRouter } from 'next/router';
|
|
25
25
|
import './isSymbol-807e927e.js';
|
|
26
26
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
30
|
-
import { i as imageUrlBuilder } from './index-
|
|
30
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
31
31
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
32
|
-
import { m as
|
|
32
|
+
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
33
33
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
34
|
import { g as get_1 } from './get-5ee14cda.js';
|
|
35
35
|
|
|
@@ -300,7 +300,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
300
300
|
)
|
|
301
301
|
)
|
|
302
302
|
),
|
|
303
|
-
|
|
303
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
304
304
|
);
|
|
305
305
|
})
|
|
306
306
|
);
|
|
@@ -4,7 +4,7 @@ import './es6.string.iterator-9b2af4a5.js';
|
|
|
4
4
|
import './core.get-iterator-method-54d2e411.js';
|
|
5
5
|
import './web.dom.iterable-8956f9a5.js';
|
|
6
6
|
import React__default, { useState } from 'react';
|
|
7
|
-
import { b as lib_1, a as lib_2 } from './index-
|
|
7
|
+
import { b as lib_1, a as lib_2 } from './index-3f4dd6f2.js';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import './isSymbol-807e927e.js';
|
|
10
10
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -13,17 +13,17 @@ import Container from 'react-bootstrap/Container';
|
|
|
13
13
|
import Row from 'react-bootstrap/Row';
|
|
14
14
|
import Col from 'react-bootstrap/Col';
|
|
15
15
|
import Card from 'react-bootstrap/Card';
|
|
16
|
-
import './moment-
|
|
16
|
+
import './moment-e2f9b20c.js';
|
|
17
17
|
import { useRouter } from 'next/router';
|
|
18
|
-
import { I as InfiniteScroll } from './index.es-
|
|
19
|
-
import
|
|
18
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
19
|
+
import './main-5d1e4bd3.js';
|
|
20
20
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
21
21
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-7021e5df.js';
|
|
22
22
|
import Button from 'react-bootstrap/Button';
|
|
23
23
|
import { _ as _defineProperty } from './defineProperty-b798470d.js';
|
|
24
24
|
import Spinner from 'react-bootstrap/Spinner';
|
|
25
25
|
import Form from 'react-bootstrap/Form';
|
|
26
|
-
import { m as momentTimezone } from './index-
|
|
26
|
+
import { m as momentTimezone } from './index-ef6d5dcf.js';
|
|
27
27
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
28
28
|
|
|
29
29
|
var isEnum = _objectPie.f;
|
|
@@ -126,6 +126,11 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
126
126
|
firstLoad = _useState16[0],
|
|
127
127
|
setFirstLoad = _useState16[1];
|
|
128
128
|
|
|
129
|
+
var _useState17 = useState(false),
|
|
130
|
+
_useState18 = _slicedToArray(_useState17, 2),
|
|
131
|
+
mobileView = _useState18[0],
|
|
132
|
+
setMobileView = _useState18[1];
|
|
133
|
+
|
|
129
134
|
var getEvents = function getEvents(url) {
|
|
130
135
|
fetch(url, {
|
|
131
136
|
headers: {
|
|
@@ -250,6 +255,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
250
255
|
}, [filter]);
|
|
251
256
|
|
|
252
257
|
useEffect(function () {
|
|
258
|
+
if (window && window.innerWidth <= 1991) {
|
|
259
|
+
setMobileView(true);
|
|
260
|
+
}
|
|
253
261
|
// get access token
|
|
254
262
|
var cventAccessToken = js_cookie.get('cvent_access_token');
|
|
255
263
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
@@ -446,7 +454,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
446
454
|
React__default.createElement(
|
|
447
455
|
'style',
|
|
448
456
|
{ jsx: true },
|
|
449
|
-
'.filterTitle{\n font-weight: 400;\n }\n
|
|
457
|
+
'\n .filterTitle {\n font-weight: 400;\n }\n '
|
|
450
458
|
)
|
|
451
459
|
) : null;
|
|
452
460
|
};
|
|
@@ -766,7 +774,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
766
774
|
)
|
|
767
775
|
)
|
|
768
776
|
),
|
|
769
|
-
|
|
777
|
+
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
770
778
|
'div',
|
|
771
779
|
{ style: { margin: '0 auto' } },
|
|
772
780
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
@@ -14,18 +14,18 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
14
14
|
import './typeof-08f2c380.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
16
|
import React__default, { useState, useEffect } from 'react';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-3f4dd6f2.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import 'react-bootstrap/Row';
|
|
20
20
|
import 'react-bootstrap/Col';
|
|
21
|
-
import './moment-
|
|
21
|
+
import './moment-e2f9b20c.js';
|
|
22
22
|
import { useRouter } from 'next/router';
|
|
23
23
|
import './isSymbol-807e927e.js';
|
|
24
24
|
import './debounce-1a993acf.js';
|
|
25
25
|
import 'react-dom';
|
|
26
|
-
import './index-
|
|
26
|
+
import './index-3849e3fe.js';
|
|
27
27
|
import './index-5f9f807a.js';
|
|
28
|
-
import './main-
|
|
28
|
+
import './main-5d1e4bd3.js';
|
|
29
29
|
import './entities-7cc3bf45.js';
|
|
30
30
|
import './stringify-008c8802.js';
|
|
31
31
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
@@ -33,13 +33,13 @@ import './asyncToGenerator-7c654f36.js';
|
|
|
33
33
|
import './_set-species-cede29f8.js';
|
|
34
34
|
import './beam-681a9749.js';
|
|
35
35
|
import './AdSlot.js';
|
|
36
|
-
import { B as BlockContent } from './BlockContent-
|
|
36
|
+
import { B as BlockContent } from './BlockContent-c409aca5.js';
|
|
37
37
|
import './smoothscroll-4b699764.js';
|
|
38
38
|
import './GroupDeck.js';
|
|
39
39
|
import 'react-bootstrap';
|
|
40
40
|
import Button from 'react-bootstrap/Button';
|
|
41
|
-
import { m as momentTimezone } from './index-
|
|
42
|
-
import { g as getSerializers } from './index-
|
|
41
|
+
import { m as momentTimezone } from './index-ef6d5dcf.js';
|
|
42
|
+
import { g as getSerializers } from './index-26c19b64.js';
|
|
43
43
|
import './util-7700fc59.js';
|
|
44
44
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
45
45
|
import 'react-bootstrap/Pagination';
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
4
|
-
import { m as
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
4
|
+
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
5
5
|
import Carousel from 'react-bootstrap/Carousel';
|
|
6
6
|
|
|
7
7
|
//Feature query to be used
|
|
@@ -34,7 +34,7 @@ var Feature = function Feature(props) {
|
|
|
34
34
|
};
|
|
35
35
|
//image width updated.
|
|
36
36
|
var imageWidth = 450;
|
|
37
|
-
if (
|
|
37
|
+
if (main_36) {
|
|
38
38
|
imageWidth = 225;
|
|
39
39
|
}
|
|
40
40
|
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -5,9 +5,9 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
5
5
|
import './web.dom.iterable-8956f9a5.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import { i as imageUrlBuilder } from './index-
|
|
10
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
11
11
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
12
12
|
import './slicedToArray-7021e5df.js';
|
|
13
13
|
import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -14,22 +14,22 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
14
14
|
import './typeof-08f2c380.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
16
|
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import Container from 'react-bootstrap/Container';
|
|
20
20
|
import Row from 'react-bootstrap/Row';
|
|
21
21
|
import Col from 'react-bootstrap/Col';
|
|
22
22
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
24
|
import { withRouter } from 'next/router';
|
|
25
25
|
import './isSymbol-807e927e.js';
|
|
26
26
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
30
|
-
import { i as imageUrlBuilder } from './index-
|
|
30
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
31
31
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
32
|
-
import { m as
|
|
32
|
+
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
33
33
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
34
|
import './stringify-008c8802.js';
|
|
35
35
|
import './slicedToArray-7021e5df.js';
|
|
@@ -37,9 +37,9 @@ import './asyncToGenerator-7c654f36.js';
|
|
|
37
37
|
import './_set-species-cede29f8.js';
|
|
38
38
|
import './beam-681a9749.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
41
|
-
import { l as lodash } from './lodash-
|
|
42
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
40
|
+
import { A as ADInfeed } from './ADInfeed-034c433d.js';
|
|
41
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
42
|
+
import { A as ADlgInfeed } from './ADlgInfeed-0fb12879.js';
|
|
43
43
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
44
44
|
import { g as get_1 } from './get-5ee14cda.js';
|
|
45
45
|
import './AD.js';
|
|
@@ -526,7 +526,7 @@ var GridContent = function (_React$Component) {
|
|
|
526
526
|
)
|
|
527
527
|
),
|
|
528
528
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
529
|
-
|
|
529
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
530
530
|
);
|
|
531
531
|
} else {
|
|
532
532
|
return React__default.createElement(
|
|
@@ -590,7 +590,7 @@ var GridContent = function (_React$Component) {
|
|
|
590
590
|
)
|
|
591
591
|
),
|
|
592
592
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
593
|
-
|
|
593
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
594
594
|
);
|
|
595
595
|
}
|
|
596
596
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
@@ -678,7 +678,7 @@ var GridContent = function (_React$Component) {
|
|
|
678
678
|
)
|
|
679
679
|
),
|
|
680
680
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
681
|
-
|
|
681
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
682
682
|
);
|
|
683
683
|
} else return null;
|
|
684
684
|
}) : React__default.createElement(
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -5,9 +5,9 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
5
5
|
import './web.dom.iterable-8956f9a5.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import { i as imageUrlBuilder } from './index-
|
|
10
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
11
11
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
12
12
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
13
13
|
import './slicedToArray-7021e5df.js';
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import { _ as _typeof } from './typeof-08f2c380.js';
|
|
9
9
|
import './_is-array-49698029.js';
|
|
10
10
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
11
|
-
import { i as imageUrlBuilder } from './index-
|
|
11
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
12
12
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
13
13
|
import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
14
14
|
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import Container from 'react-bootstrap/Container';
|
|
11
|
-
import { m as
|
|
11
|
+
import { m as main_36, a as main_37 } from './main-5d1e4bd3.js';
|
|
12
12
|
import './stringify-008c8802.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
14
14
|
import './asyncToGenerator-7c654f36.js';
|
|
@@ -27,7 +27,7 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
|
27
27
|
import { S as SocialNavFooter } from './index.esm-73e847d2.js';
|
|
28
28
|
import './SocialIcons.js';
|
|
29
29
|
import 'react-bootstrap/FormControl';
|
|
30
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
30
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-55960ec4.js';
|
|
31
31
|
|
|
32
32
|
var HamMagazine = function HamMagazine(props) {
|
|
33
33
|
/*
|
|
@@ -198,7 +198,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
198
198
|
|
|
199
199
|
return React__default.createElement(
|
|
200
200
|
'header',
|
|
201
|
-
{ className: !
|
|
201
|
+
{ className: !main_36 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '999999' } },
|
|
202
202
|
React__default.createElement(
|
|
203
203
|
Navbar,
|
|
204
204
|
{ expand: 'md', ref: topNavRef },
|
|
@@ -325,7 +325,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
325
325
|
'aria-controls': 'basic-navbar-nav',
|
|
326
326
|
onClick: function onClick() {
|
|
327
327
|
// Set overflow fix for iPhones safari browsers
|
|
328
|
-
if (
|
|
328
|
+
if (main_37) {
|
|
329
329
|
var mainNav = document.querySelector('#navbar-ham');
|
|
330
330
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
331
331
|
}
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
5
5
|
import { Card } from 'react-bootstrap';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import './moment-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
5
5
|
import './iconBase-602d52fe.js';
|
|
6
|
-
import { a as FaLongArrowAltRight } from './index.esm-
|
|
6
|
+
import { a as FaLongArrowAltRight } from './index.esm-cf08bf18.js';
|
|
7
7
|
|
|
8
8
|
var HorizontalHero = function HorizontalHero(props) {
|
|
9
9
|
var client = props.client;
|
|
@@ -8,9 +8,9 @@ import 'prop-types';
|
|
|
8
8
|
import Row from 'react-bootstrap/Row';
|
|
9
9
|
import Col from 'react-bootstrap/Col';
|
|
10
10
|
import Card from 'react-bootstrap/Card';
|
|
11
|
-
import { m as moment } from './moment-
|
|
11
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import { i as imageUrlBuilder } from './index-
|
|
13
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
14
14
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
15
15
|
import './slicedToArray-7021e5df.js';
|
|
16
16
|
import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -12,9 +12,9 @@ import 'prop-types';
|
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import Card from 'react-bootstrap/Card';
|
|
15
|
-
import { I as InfiniteScroll } from './index.es-
|
|
15
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
16
16
|
import 'react-dom';
|
|
17
|
-
import { i as imageUrlBuilder } from './index-
|
|
17
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
18
18
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
19
19
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
20
20
|
import Button from 'react-bootstrap/Button';
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -9,19 +9,19 @@ import './_object-pie-71ac75a4.js';
|
|
|
9
9
|
import './extends-cc5da797.js';
|
|
10
10
|
import './web.dom.iterable-8956f9a5.js';
|
|
11
11
|
import React__default from 'react';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-3f4dd6f2.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './moment-
|
|
15
|
+
import './moment-e2f9b20c.js';
|
|
16
16
|
import 'next/router';
|
|
17
17
|
import './isSymbol-807e927e.js';
|
|
18
18
|
import './debounce-1a993acf.js';
|
|
19
|
-
import './index.es-
|
|
19
|
+
import './index.es-29c1cef5.js';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import './visibility-sensor-0baa4eea.js';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-3849e3fe.js';
|
|
23
23
|
import './index-5f9f807a.js';
|
|
24
|
-
import './main-
|
|
24
|
+
import './main-5d1e4bd3.js';
|
|
25
25
|
import './entities-7cc3bf45.js';
|
|
26
26
|
import './stringify-008c8802.js';
|
|
27
27
|
import './slicedToArray-7021e5df.js';
|
|
@@ -29,9 +29,9 @@ import './asyncToGenerator-7c654f36.js';
|
|
|
29
29
|
import './_set-species-cede29f8.js';
|
|
30
30
|
import './beam-681a9749.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import './ADInfeed-
|
|
33
|
-
import './lodash-
|
|
34
|
-
import './ADlgInfeed-
|
|
32
|
+
import './ADInfeed-034c433d.js';
|
|
33
|
+
import './lodash-ec8c6b48.js';
|
|
34
|
+
import './ADlgInfeed-0fb12879.js';
|
|
35
35
|
import './getContentCategory-15dcc413.js';
|
|
36
36
|
import './AuthorComponent-00f13201.js';
|
|
37
37
|
import 'react-bootstrap';
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
|
|
|
6
6
|
import './core.get-iterator-method-54d2e411.js';
|
|
7
7
|
import './web.dom.iterable-8956f9a5.js';
|
|
8
8
|
import React__default, { useRef, useEffect } from 'react';
|
|
9
|
-
import './index-
|
|
9
|
+
import './index-3f4dd6f2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import './isSymbol-807e927e.js';
|
|
12
12
|
import './debounce-1a993acf.js';
|
|
13
|
-
import './main-
|
|
13
|
+
import './main-5d1e4bd3.js';
|
|
14
14
|
import './stringify-008c8802.js';
|
|
15
15
|
import './slicedToArray-7021e5df.js';
|
|
16
16
|
import './asyncToGenerator-7c654f36.js';
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -14,30 +14,30 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
14
14
|
import './typeof-08f2c380.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
16
|
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import Container from 'react-bootstrap/Container';
|
|
20
20
|
import 'react-bootstrap/Row';
|
|
21
21
|
import 'react-bootstrap/Col';
|
|
22
22
|
import 'react-bootstrap/Card';
|
|
23
|
-
import './moment-
|
|
23
|
+
import './moment-e2f9b20c.js';
|
|
24
24
|
import { withRouter } from 'next/router';
|
|
25
25
|
import './isSymbol-807e927e.js';
|
|
26
26
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
30
|
-
import './index-
|
|
31
|
-
import
|
|
30
|
+
import './index-3849e3fe.js';
|
|
31
|
+
import './main-5d1e4bd3.js';
|
|
32
32
|
import './stringify-008c8802.js';
|
|
33
33
|
import './slicedToArray-7021e5df.js';
|
|
34
34
|
import { _ as _Promise } from './asyncToGenerator-7c654f36.js';
|
|
35
35
|
import './_set-species-cede29f8.js';
|
|
36
36
|
import './beam-681a9749.js';
|
|
37
37
|
import './AdSlot.js';
|
|
38
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
39
|
-
import { l as lodash } from './lodash-
|
|
40
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
38
|
+
import { A as ADInfeed } from './ADInfeed-034c433d.js';
|
|
39
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
40
|
+
import { A as ADlgInfeed } from './ADlgInfeed-0fb12879.js';
|
|
41
41
|
|
|
42
42
|
var MasterDeck = function (_React$Component) {
|
|
43
43
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -67,7 +67,8 @@ var MasterDeck = function (_React$Component) {
|
|
|
67
67
|
currentPage: _this.props.currentPage || 1,
|
|
68
68
|
dataRemapped: !_this.props.showBI || !_this.props.brandInsightAd,
|
|
69
69
|
lastDataSize: _this.data ? _this.data.length : 0,
|
|
70
|
-
itemsPerPage: _this.params ? _this.params.to - _this.params.from : 2
|
|
70
|
+
itemsPerPage: _this.params ? _this.params.to - _this.params.from : 2,
|
|
71
|
+
mobileView: false
|
|
71
72
|
}, _this.loadMore = debounce_1(function () {
|
|
72
73
|
_this.setState(function (state) {
|
|
73
74
|
var page = state.page,
|
|
@@ -343,7 +344,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
343
344
|
React__default.Fragment,
|
|
344
345
|
{ key: index },
|
|
345
346
|
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
|
|
346
|
-
|
|
347
|
+
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
347
348
|
'div',
|
|
348
349
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
349
350
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -443,6 +444,10 @@ var MasterDeck = function (_React$Component) {
|
|
|
443
444
|
if (typeof window !== 'undefined' && (!this.props.lgInfeedAd || !this.props.brandInsightAd || window.innerWidth < 1400) && !this.state.dataRemapped) {
|
|
444
445
|
!this.state.dataRemapped && this.setState({ dataRemapped: true });
|
|
445
446
|
}
|
|
447
|
+
|
|
448
|
+
if (typeof window !== 'undefined' && window.innerWidth <= 1191) {
|
|
449
|
+
this.setState({ mobileView: true });
|
|
450
|
+
}
|
|
446
451
|
}
|
|
447
452
|
}, {
|
|
448
453
|
key: 'componentDidMount',
|