@mjhls/mjh-framework 1.0.702-beta-v1 → 1.0.702
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +19 -17
- package/dist/cjs/AD300x250x600.js +19 -17
- package/dist/cjs/AD728x90.js +20 -18
- package/dist/cjs/ADFloatingFooter.js +18 -16
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +18 -16
- package/dist/cjs/{ADInfeed-38066a36.js → ADInfeed-ede153e2.js} +2 -2
- package/dist/cjs/ADSkyscraper.js +18 -16
- package/dist/cjs/ADSponsoredResources.js +18 -16
- package/dist/cjs/ADWebcast.js +18 -16
- package/dist/cjs/ADWelcome.js +18 -16
- package/dist/cjs/{ADlgInfeed-d95c9027.js → ADlgInfeed-6a121a0d.js} +2 -2
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -17
- package/dist/cjs/AdSlotsProvider.js +4 -2
- package/dist/cjs/AlphabeticList.js +9 -9
- package/dist/cjs/ArticleCarousel.js +16 -13
- package/dist/cjs/ArticleSeriesListing.js +27 -24
- package/dist/cjs/Auth.js +768 -486
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-d19285ed.js} +1 -1
- package/dist/cjs/Beam.js +19 -19
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-e53217a7.js} +23 -25
- package/dist/cjs/Breadcrumbs.js +5 -5
- package/dist/cjs/BrowseVideosListing.js +17 -14
- package/dist/cjs/CMEDeck.js +26 -23
- package/dist/cjs/Column2.js +15 -13
- package/dist/cjs/Column3.js +24 -22
- package/dist/cjs/ConferenceArticleCard.js +2 -2
- package/dist/cjs/DeckContent.js +33 -30
- package/dist/cjs/DeckQueue.js +32 -29
- package/dist/cjs/{Dfp-390337bf.js → Dfp-13ff07b4.js} +13 -10
- package/dist/cjs/EventsDeck.js +35 -34
- package/dist/cjs/ExternalResources.js +35 -32
- package/dist/cjs/Feature.js +4 -3
- package/dist/cjs/ForbesHero.js +12 -9
- package/dist/cjs/GridContent.js +45 -42
- package/dist/cjs/GridHero.js +12 -9
- package/dist/cjs/GroupDeck.js +13 -13
- package/dist/cjs/HamMagazine.js +19 -17
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HighlightenVideo.js +1 -1
- package/dist/cjs/HorizontalHero.js +3 -3
- package/dist/cjs/IssueContentDeck.js +12 -9
- package/dist/cjs/IssueDeck.js +15 -12
- package/dist/cjs/IssueLanding.js +29 -26
- package/dist/cjs/LeftNav.js +18 -16
- package/dist/cjs/MasterDeck.js +37 -34
- package/dist/cjs/NavDvm.js +9 -9
- package/dist/cjs/NavMagazine.js +19 -17
- package/dist/cjs/NavNative.js +16 -14
- package/dist/cjs/NavNormal.js +10 -10
- package/dist/cjs/OncliveHero.js +2 -3
- package/dist/cjs/OncliveLargeHero.js +12 -9
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/PartnerDetailListing.js +45 -1239
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +5 -5
- package/dist/cjs/PublicationDeck.js +8 -5
- package/dist/cjs/PublicationLanding.js +60 -57
- package/dist/cjs/QueueDeckExpanded.js +36 -33
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +6 -3
- package/dist/cjs/Search.js +5 -5
- package/dist/cjs/Segment.js +20 -20
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +16 -14
- package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-1ef1e6fb.js} +7 -7
- package/dist/cjs/TaxonomyCard.js +10 -7
- package/dist/cjs/TemplateNormal.js +33 -31
- package/dist/cjs/ThumbnailCard.js +5 -2
- package/dist/cjs/Ustream.js +10 -9
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +13 -10
- package/dist/cjs/VideoSeriesFilter.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +27 -24
- package/dist/cjs/View.js +51 -48
- package/dist/cjs/YahooHero.js +12 -9
- package/dist/cjs/YoutubeGroup.js +17 -14
- package/dist/cjs/{_to-object-329a650b.js → _export-a917dedd.js} +31 -31
- package/dist/cjs/{_is-array-754e012d.js → _is-array-a82382b4.js} +11 -11
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-671c90bd.js} +10 -10
- package/dist/cjs/{_library-dd23b178.js → _library-4360b4e4.js} +1 -1
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-6bed508e.js} +2 -2
- package/dist/cjs/_object-sap-947ef6fb.js +16 -0
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +10 -0
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +9 -0
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +10 -0
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-47156c42.js} +17 -17
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-fd8e35e7.js} +69 -69
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-05029198.js} +4 -3
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +39 -0
- package/dist/cjs/{debounce-eb287781.js → debounce-fb3a46a9.js} +7 -7
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-9b6df20e.js} +4 -4
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d3c0cfc0.js} +2 -2
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e5f4ce45.js} +34 -34
- package/dist/cjs/{extends-60837c34.js → extends-5fde0677.js} +11 -11
- package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +426 -15
- package/dist/cjs/getSerializers.js +33 -30
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-5ca9bfaf.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-da796b8c.js → index-29e3f3a9.js} +11 -12
- package/dist/cjs/{index-3294d3bc.js → index-949261b4.js} +18 -19
- package/dist/cjs/{index-58dae365.js → index-b1ee7cd9.js} +335 -329
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-099d45ae.js → index-d7577df6.js} +12 -16
- package/dist/cjs/{index-39beccb3.js → index-ff69979f.js} +26 -21
- package/dist/cjs/{index.es-9110add6.js → index.es-e9d84959.js} +23 -5
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8a8fa078.js} +3 -4
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +61 -57
- package/dist/cjs/{inherits-513d81cd.js → inherits-02a27fbf.js} +16 -16
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-a0d5eb50.js} +5 -5
- package/dist/cjs/{js.cookie-a511c430.js → js.cookie-e4684873.js} +1 -1
- package/dist/cjs/{keys-a586b7a0.js → keys-1a65eb47.js} +5 -5
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-257df6c4.js} +1 -1
- package/dist/cjs/{main-03ffa84c.js → main-1442052b.js} +90 -57
- package/dist/cjs/{moment-575fe24c.js → moment-29403f08.js} +11 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-5604d0d1.js} +11 -13
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-d0ac47b9.js} +10 -10
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-03c20c7d.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-e064b7d0.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-d47f0c64.js} +13 -13
- package/dist/cjs/{typeof-725500bc.js → typeof-5763a25b.js} +84 -84
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-ede0bc7b.js} +5 -6
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-cd8a9ccb.js} +10 -10
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +21 -19
- package/dist/esm/AD300x250x600.js +21 -19
- package/dist/esm/AD728x90.js +22 -20
- package/dist/esm/ADFloatingFooter.js +20 -18
- package/dist/esm/ADFooter.js +5 -5
- package/dist/esm/ADGutter.js +20 -18
- package/dist/esm/{ADInfeed-7b1b2fcb.js → ADInfeed-d890d5ca.js} +4 -4
- package/dist/esm/ADSkyscraper.js +20 -18
- package/dist/esm/ADSponsoredResources.js +20 -18
- package/dist/esm/ADWebcast.js +20 -18
- package/dist/esm/ADWelcome.js +20 -18
- package/dist/esm/{ADlgInfeed-2afe92e6.js → ADlgInfeed-1d006b36.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +19 -17
- package/dist/esm/AdSlotsProvider.js +4 -2
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +16 -13
- package/dist/esm/ArticleSeriesListing.js +27 -24
- package/dist/esm/Auth.js +763 -481
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-8ffb1deb.js} +1 -1
- package/dist/esm/Beam.js +19 -19
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-e6f64e62.js} +23 -21
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/BrowseVideosListing.js +17 -14
- package/dist/esm/CMEDeck.js +26 -23
- package/dist/esm/Column2.js +15 -13
- package/dist/esm/Column3.js +24 -22
- package/dist/esm/ConferenceArticleCard.js +2 -2
- package/dist/esm/DeckContent.js +33 -30
- package/dist/esm/DeckQueue.js +32 -29
- package/dist/esm/{Dfp-741c01be.js → Dfp-7db56716.js} +13 -10
- package/dist/esm/EventsDeck.js +35 -34
- package/dist/esm/ExternalResources.js +35 -32
- package/dist/esm/Feature.js +4 -3
- package/dist/esm/ForbesHero.js +12 -9
- package/dist/esm/GridContent.js +45 -42
- package/dist/esm/GridHero.js +12 -9
- package/dist/esm/GroupDeck.js +13 -13
- package/dist/esm/HamMagazine.js +19 -17
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalHero.js +3 -3
- package/dist/esm/IssueContentDeck.js +12 -9
- package/dist/esm/IssueDeck.js +15 -12
- package/dist/esm/IssueLanding.js +29 -26
- package/dist/esm/LeftNav.js +18 -16
- package/dist/esm/MasterDeck.js +37 -34
- package/dist/esm/NavDvm.js +9 -9
- package/dist/esm/NavMagazine.js +19 -17
- package/dist/esm/NavNative.js +16 -14
- package/dist/esm/NavNormal.js +10 -10
- package/dist/esm/OncliveHero.js +2 -3
- package/dist/esm/OncliveLargeHero.js +12 -9
- package/dist/esm/PageFilter.js +5 -5
- package/dist/esm/PartnerDetailListing.js +45 -1238
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +5 -5
- package/dist/esm/PublicationDeck.js +8 -5
- package/dist/esm/PublicationLanding.js +60 -57
- package/dist/esm/QueueDeckExpanded.js +36 -33
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +6 -3
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +20 -20
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +16 -14
- package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-4eae0149.js} +7 -7
- package/dist/esm/TaxonomyCard.js +10 -7
- package/dist/esm/TemplateNormal.js +35 -33
- package/dist/esm/ThumbnailCard.js +5 -2
- package/dist/esm/Ustream.js +10 -9
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesCard.js +13 -10
- package/dist/esm/VideoSeriesFilter.js +11 -11
- package/dist/esm/VideoSeriesListing.js +27 -24
- package/dist/esm/View.js +56 -53
- package/dist/esm/YahooHero.js +12 -9
- package/dist/esm/YoutubeGroup.js +17 -14
- package/dist/esm/{_to-object-ded78eb9.js → _export-f7ec2adf.js} +3 -3
- package/dist/esm/{_is-array-49698029.js → _is-array-5bea6006.js} +10 -10
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-65720de7.js} +8 -8
- package/dist/esm/_library-90219a8d.js +3 -0
- package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-8e2f6c3a.js} +1 -1
- package/dist/esm/_object-sap-146241c9.js +14 -0
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +5 -0
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +5 -0
- package/dist/esm/_react_commonjs-external-22b61490.js +5 -0
- package/dist/esm/{_set-species-cede29f8.js → _set-species-26ee5c2a.js} +14 -14
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-0c61f551.js} +69 -69
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e761d404.js} +4 -3
- package/dist/esm/core.get-iterator-method-dbbb346b.js +36 -0
- package/dist/esm/{debounce-1a993acf.js → debounce-7b569c00.js} +6 -6
- package/dist/esm/{define-property-de3fc946.js → define-property-7a40a451.js} +4 -4
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-a2ac5d3d.js} +2 -2
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-13b94db0.js} +27 -27
- package/dist/esm/{extends-cc5da797.js → extends-8e0228d5.js} +11 -11
- package/dist/esm/{get-5ee14cda.js → get-bb2155d5.js} +10 -10
- package/dist/esm/getRelatedArticle.js +426 -15
- package/dist/esm/getSerializers.js +33 -30
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-d97a1e83.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-ef6d5dcf.js → index-1295881c.js} +16 -17
- package/dist/esm/{index-3f4dd6f2.js → index-17490425.js} +12 -12
- package/dist/esm/{index-7779a6df.js → index-4540328d.js} +338 -332
- package/dist/esm/{index-5f9f807a.js → index-a4e850af.js} +11 -8
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-3849e3fe.js → index-f7fdcc91.js} +26 -21
- package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-4838a32e.js} +3 -4
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +60 -56
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-d1948b66.js} +16 -16
- package/dist/esm/{isSymbol-807e927e.js → isSymbol-2b7f6e65.js} +1 -1
- package/dist/esm/{js.cookie-6874175c.js → js.cookie-2ce24ab0.js} +1 -1
- package/dist/esm/{keys-fc2d4c34.js → keys-e091cb65.js} +5 -5
- package/dist/esm/{lodash-ec8c6b48.js → lodash-2b866578.js} +1 -1
- package/dist/esm/{main-35ff7b4f.js → main-140f99b4.js} +88 -52
- package/dist/esm/{moment-e2f9b20c.js → moment-8797a4d3.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-40e8d28f.js} +11 -9
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-8818fe95.js} +10 -10
- package/dist/esm/{stringify-008c8802.js → stringify-dedf4a20.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-02217419.js} +13 -13
- package/dist/esm/{typeof-08f2c380.js → typeof-a10a5616.js} +85 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-7b6316cf.js} +5 -3
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-c3ba4d37.js} +10 -10
- package/package.json +3 -3
- package/dist/cjs/_object-sap-5e74ba08.js +0 -16
- package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
- package/dist/esm/_library-528f1934.js +0 -3
- package/dist/esm/_object-sap-4d59d5bd.js +0 -14
- package/dist/esm/core.get-iterator-method-54d2e411.js +0 -36
- /package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-2d74941c.js} +0 -0
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './core.get-iterator-method-
|
|
5
|
-
import './web.dom.iterable-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
5
|
+
import './web.dom.iterable-c3ba4d37.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-17490425.js';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import './
|
|
10
|
-
import
|
|
9
|
+
import './_react_commonjs-external-22b61490.js';
|
|
10
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
11
|
+
import './isSymbol-2b7f6e65.js';
|
|
12
|
+
import { d as debounce } from './debounce-7b569c00.js';
|
|
11
13
|
import 'react-dom';
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
15
|
+
import { V as VisibilitySensor } from './visibility-sensor-7b6316cf.js';
|
|
16
|
+
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
14
17
|
|
|
15
18
|
var AD = function AD(_ref) {
|
|
16
19
|
var networkID = _ref.networkID,
|
|
@@ -33,7 +36,7 @@ var AD = function AD(_ref) {
|
|
|
33
36
|
showPlaceholder = _useState4[0],
|
|
34
37
|
setShowPlaceholder = _useState4[1];
|
|
35
38
|
|
|
36
|
-
var handleVisibilityChange =
|
|
39
|
+
var handleVisibilityChange = debounce(function (_ref2) {
|
|
37
40
|
var event = _ref2.event;
|
|
38
41
|
|
|
39
42
|
if (event.inViewPercentage <= 0) {
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
6
|
-
import './core.get-iterator-method-
|
|
7
|
-
import {
|
|
8
|
-
import { _ as _extends } from './extends-
|
|
9
|
-
import './define-property-
|
|
10
|
-
import './web.dom.iterable-
|
|
2
|
+
import { t as toIObject, $ as $keys, D as DESCRIPTORS, a as $export, r as require$$7 } from './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './_iter-detect-65720de7.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-02217419.js';
|
|
6
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
7
|
+
import { r as require$$0 } from './_object-pie-8e2f6c3a.js';
|
|
8
|
+
import { _ as _extends } from './extends-8e0228d5.js';
|
|
9
|
+
import './define-property-7a40a451.js';
|
|
10
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
11
11
|
import React__default, { useState, useEffect } from 'react';
|
|
12
|
+
import './_react_commonjs-external-22b61490.js';
|
|
12
13
|
import Container from 'react-bootstrap/Container';
|
|
13
14
|
import Row from 'react-bootstrap/Row';
|
|
14
15
|
import Col from 'react-bootstrap/Col';
|
|
15
16
|
import Card from 'react-bootstrap/Card';
|
|
16
|
-
import './moment-
|
|
17
|
+
import './moment-8797a4d3.js';
|
|
17
18
|
import { useRouter } from 'next/router';
|
|
18
|
-
import { I as InfiniteScroll } from './index.es-
|
|
19
|
-
import './main-
|
|
20
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
21
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-
|
|
19
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
20
|
+
import './main-140f99b4.js';
|
|
21
|
+
import { _ as _JSON$stringify } from './stringify-dedf4a20.js';
|
|
22
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-8818fe95.js';
|
|
22
23
|
import Button from 'react-bootstrap/Button';
|
|
23
|
-
import { _ as _defineProperty } from './defineProperty-
|
|
24
|
+
import { _ as _defineProperty } from './defineProperty-a2ac5d3d.js';
|
|
24
25
|
import Spinner from 'react-bootstrap/Spinner';
|
|
25
26
|
import Form from 'react-bootstrap/Form';
|
|
26
|
-
import { m as
|
|
27
|
-
import {
|
|
27
|
+
import { m as moment } from './index-1295881c.js';
|
|
28
|
+
import { c as cookie } from './js.cookie-2ce24ab0.js';
|
|
28
29
|
|
|
29
|
-
var isEnum =
|
|
30
|
+
var isEnum = require$$0.f;
|
|
30
31
|
var _objectToArray = function (isEntries) {
|
|
31
32
|
return function (it) {
|
|
32
|
-
var O =
|
|
33
|
-
var keys =
|
|
33
|
+
var O = toIObject(it);
|
|
34
|
+
var keys = $keys(O);
|
|
34
35
|
var length = keys.length;
|
|
35
36
|
var i = 0;
|
|
36
37
|
var result = [];
|
|
37
38
|
var key;
|
|
38
39
|
while (length > i) {
|
|
39
40
|
key = keys[i++];
|
|
40
|
-
if (!
|
|
41
|
+
if (!DESCRIPTORS || isEnum.call(O, key)) {
|
|
41
42
|
result.push(isEntries ? [key, O[key]] : O[key]);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -49,13 +50,13 @@ var _objectToArray = function (isEntries) {
|
|
|
49
50
|
|
|
50
51
|
var $entries = _objectToArray(true);
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
$export($export.S, 'Object', {
|
|
53
54
|
entries: function entries(it) {
|
|
54
55
|
return $entries(it);
|
|
55
56
|
}
|
|
56
57
|
});
|
|
57
58
|
|
|
58
|
-
var entries =
|
|
59
|
+
var entries = require$$7.Object.entries;
|
|
59
60
|
|
|
60
61
|
var entries$1 = createCommonjsModule(function (module) {
|
|
61
62
|
module.exports = { "default": entries, __esModule: true };
|
|
@@ -65,7 +66,7 @@ var _Object$entries = unwrapExports(entries$1);
|
|
|
65
66
|
|
|
66
67
|
var clientId = process.env.CVENT_CLIENT_ID;
|
|
67
68
|
var clientSecret = process.env.CVENT_CLIENT_SECRET;
|
|
68
|
-
var currentTime =
|
|
69
|
+
var currentTime = moment().toISOString();
|
|
69
70
|
var itemsPerPage = 200;
|
|
70
71
|
|
|
71
72
|
var EventsDeck = function EventsDeck(_ref) {
|
|
@@ -169,9 +170,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
169
170
|
if (a.start.indexOf('TBD') >= 0 || b.start.indexOf('TBD') >= 0) {
|
|
170
171
|
return -1;
|
|
171
172
|
}
|
|
172
|
-
if (
|
|
173
|
+
if (moment(a.start).isAfter(b.start)) {
|
|
173
174
|
return 1;
|
|
174
|
-
} else if (
|
|
175
|
+
} else if (moment(a.start).isBefore(b.start)) {
|
|
175
176
|
return -1;
|
|
176
177
|
}
|
|
177
178
|
return 0;
|
|
@@ -259,7 +260,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
259
260
|
setMobileView(true);
|
|
260
261
|
}
|
|
261
262
|
// get access token
|
|
262
|
-
var cventAccessToken =
|
|
263
|
+
var cventAccessToken = cookie.get('cvent_access_token');
|
|
263
264
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
264
265
|
setAccessToken(cventAccessToken);
|
|
265
266
|
} else {
|
|
@@ -298,7 +299,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
298
299
|
return response.json();
|
|
299
300
|
}).then(function (json) {
|
|
300
301
|
var inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000);
|
|
301
|
-
|
|
302
|
+
cookie.set('cvent_access_token', json.access_token, { expires: inOneHour });
|
|
302
303
|
setAccessToken(json.access_token);
|
|
303
304
|
}).catch(function (e) {
|
|
304
305
|
return console.log(e);
|
|
@@ -642,8 +643,8 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
642
643
|
_row$showEndDate = row.showEndDate,
|
|
643
644
|
showEndDate = _row$showEndDate === undefined ? true : _row$showEndDate;
|
|
644
645
|
|
|
645
|
-
var now =
|
|
646
|
-
var isRegister =
|
|
646
|
+
var now = moment().tz(timezone);
|
|
647
|
+
var isRegister = moment(now).isBefore(end);
|
|
647
648
|
var discussionTopic = row.customFields ? row.customFields.reduce(function (result, item) {
|
|
648
649
|
if (item.name === 'Discussion Topic' && item.value) {
|
|
649
650
|
result = item.value[0];
|
|
@@ -658,9 +659,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
658
659
|
}
|
|
659
660
|
return result;
|
|
660
661
|
}, '') : '';
|
|
661
|
-
var startDay =
|
|
662
|
-
var endDay =
|
|
663
|
-
var showEndTime =
|
|
662
|
+
var startDay = moment(start).tz(timezone).format();
|
|
663
|
+
var endDay = moment(end).tz(timezone).format();
|
|
664
|
+
var showEndTime = moment(startDay.split('T')[0]).isBefore(endDay.split('T')[0]) ? ' to ' + moment(end).tz(timezone).format('LLL zz') : null;
|
|
664
665
|
var isCompleted = row.status === 'Completed';
|
|
665
666
|
return React__default.createElement(
|
|
666
667
|
React__default.Fragment,
|
|
@@ -716,7 +717,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
716
717
|
) : React__default.createElement(
|
|
717
718
|
'p',
|
|
718
719
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
719
|
-
start.indexOf('T') >= 0 ?
|
|
720
|
+
start.indexOf('T') >= 0 ? moment(start).tz(timezone).format('LLL zz') : moment(start).format('LL'),
|
|
720
721
|
showEndDate && showEndTime
|
|
721
722
|
)
|
|
722
723
|
)
|
|
@@ -1,50 +1,53 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_library-
|
|
5
|
-
import './_iter-detect-
|
|
6
|
-
import './toConsumableArray-
|
|
7
|
-
import './core.get-iterator-method-
|
|
8
|
-
import './_object-pie-
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
10
|
-
import './_object-sap-
|
|
11
|
-
import './inherits-
|
|
12
|
-
import './define-property-
|
|
13
|
-
import './web.dom.iterable-
|
|
14
|
-
import './typeof-
|
|
15
|
-
import './_is-array-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './_library-90219a8d.js';
|
|
5
|
+
import './_iter-detect-65720de7.js';
|
|
6
|
+
import './toConsumableArray-02217419.js';
|
|
7
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
8
|
+
import './_object-pie-8e2f6c3a.js';
|
|
9
|
+
import { _ as _extends } from './extends-8e0228d5.js';
|
|
10
|
+
import './_object-sap-146241c9.js';
|
|
11
|
+
import './inherits-d1948b66.js';
|
|
12
|
+
import './define-property-7a40a451.js';
|
|
13
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
14
|
+
import './typeof-a10a5616.js';
|
|
15
|
+
import './_is-array-5bea6006.js';
|
|
16
16
|
import React__default, { useState, useEffect } from 'react';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-17490425.js';
|
|
18
18
|
import 'prop-types';
|
|
19
|
+
import './_react_commonjs-external-22b61490.js';
|
|
20
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
19
21
|
import 'react-bootstrap/Row';
|
|
20
22
|
import 'react-bootstrap/Col';
|
|
21
|
-
import './moment-
|
|
23
|
+
import './moment-8797a4d3.js';
|
|
22
24
|
import { useRouter } from 'next/router';
|
|
23
|
-
import './isSymbol-
|
|
24
|
-
import './debounce-
|
|
25
|
+
import './isSymbol-2b7f6e65.js';
|
|
26
|
+
import './debounce-7b569c00.js';
|
|
25
27
|
import 'react-dom';
|
|
26
|
-
import './
|
|
27
|
-
import './index-
|
|
28
|
-
import './
|
|
28
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
29
|
+
import './index-f7fdcc91.js';
|
|
30
|
+
import './index-a4e850af.js';
|
|
31
|
+
import './main-140f99b4.js';
|
|
29
32
|
import './entities-7cc3bf45.js';
|
|
30
|
-
import './stringify-
|
|
31
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
32
|
-
import './asyncToGenerator-
|
|
33
|
-
import './_set-species-
|
|
33
|
+
import './stringify-dedf4a20.js';
|
|
34
|
+
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
35
|
+
import './asyncToGenerator-0c61f551.js';
|
|
36
|
+
import './_set-species-26ee5c2a.js';
|
|
34
37
|
import './Segment.js';
|
|
35
38
|
import './Beam.js';
|
|
36
39
|
import './AdSlot.js';
|
|
37
|
-
import { B as BlockContent } from './BlockContent-
|
|
38
|
-
import './smoothscroll-
|
|
40
|
+
import { B as BlockContent } from './BlockContent-e6f64e62.js';
|
|
41
|
+
import './smoothscroll-2d74941c.js';
|
|
39
42
|
import './GroupDeck.js';
|
|
40
43
|
import 'react-bootstrap';
|
|
41
44
|
import './iconBase-602d52fe.js';
|
|
42
|
-
import './index.esm-
|
|
45
|
+
import './index.esm-3fdda599.js';
|
|
43
46
|
import Button from 'react-bootstrap/Button';
|
|
44
|
-
import { m as
|
|
45
|
-
import { g as getSerializers } from './index-
|
|
47
|
+
import { m as moment } from './index-1295881c.js';
|
|
48
|
+
import { g as getSerializers } from './index-4540328d.js';
|
|
46
49
|
import './util-7700fc59.js';
|
|
47
|
-
import './brightcove-react-player-loader.es-
|
|
50
|
+
import './brightcove-react-player-loader.es-e761d404.js';
|
|
48
51
|
import 'react-bootstrap/Pagination';
|
|
49
52
|
import 'next/head';
|
|
50
53
|
import 'react-bootstrap/Figure';
|
|
@@ -136,7 +139,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
136
139
|
React__default.createElement(
|
|
137
140
|
'p',
|
|
138
141
|
null,
|
|
139
|
-
|
|
142
|
+
moment.tz(r.displayDate, 'America/New_York').format('MMMM Do YYYY, h:mm a z')
|
|
140
143
|
)
|
|
141
144
|
),
|
|
142
145
|
r.speakers && React__default.createElement(
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import './_react_commonjs-external-22b61490.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
5
|
+
import { m as main_40 } from './main-140f99b4.js';
|
|
5
6
|
import Carousel from 'react-bootstrap/Carousel';
|
|
6
7
|
|
|
7
8
|
//Feature query to be used
|
|
@@ -34,7 +35,7 @@ var Feature = function Feature(props) {
|
|
|
34
35
|
};
|
|
35
36
|
//image width updated.
|
|
36
37
|
var imageWidth = 450;
|
|
37
|
-
if (
|
|
38
|
+
if (main_40) {
|
|
38
39
|
imageWidth = 225;
|
|
39
40
|
}
|
|
40
41
|
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './core.get-iterator-method-
|
|
5
|
-
import './web.dom.iterable-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
5
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import
|
|
8
|
+
import './_react_commonjs-external-22b61490.js';
|
|
9
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
10
|
+
import { m as moment } from './moment-8797a4d3.js';
|
|
9
11
|
import 'react-dom';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import './
|
|
13
|
-
import
|
|
12
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
13
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
14
|
+
import { L as LazyLoad } from './index-a4e850af.js';
|
|
15
|
+
import './slicedToArray-8818fe95.js';
|
|
16
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffb1deb.js';
|
|
14
17
|
|
|
15
18
|
var fbsHero = function fbsHero(props) {
|
|
16
19
|
var removeTimeStamp = props.removeTimeStamp;
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,50 +1,53 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_library-
|
|
5
|
-
import './_iter-detect-
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
7
|
-
import './core.get-iterator-method-
|
|
8
|
-
import './_object-pie-
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
10
|
-
import './_object-sap-
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
12
|
-
import './define-property-
|
|
13
|
-
import './web.dom.iterable-
|
|
14
|
-
import './typeof-
|
|
15
|
-
import './_is-array-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './_library-90219a8d.js';
|
|
5
|
+
import './_iter-detect-65720de7.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-02217419.js';
|
|
7
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
8
|
+
import './_object-pie-8e2f6c3a.js';
|
|
9
|
+
import { _ as _extends } from './extends-8e0228d5.js';
|
|
10
|
+
import './_object-sap-146241c9.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d1948b66.js';
|
|
12
|
+
import './define-property-7a40a451.js';
|
|
13
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
14
|
+
import './typeof-a10a5616.js';
|
|
15
|
+
import './_is-array-5bea6006.js';
|
|
16
16
|
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-17490425.js';
|
|
18
18
|
import 'prop-types';
|
|
19
|
+
import './_react_commonjs-external-22b61490.js';
|
|
20
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
19
21
|
import Container from 'react-bootstrap/Container';
|
|
20
22
|
import Row from 'react-bootstrap/Row';
|
|
21
23
|
import Col from 'react-bootstrap/Col';
|
|
22
24
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
25
|
+
import { m as moment } from './moment-8797a4d3.js';
|
|
24
26
|
import { withRouter } from 'next/router';
|
|
25
|
-
import './isSymbol-
|
|
26
|
-
import { d as
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import './isSymbol-2b7f6e65.js';
|
|
28
|
+
import { d as debounce } from './debounce-7b569c00.js';
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
28
30
|
import 'react-dom';
|
|
29
|
-
import
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
31
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
32
|
+
import { V as VisibilitySensor } from './visibility-sensor-7b6316cf.js';
|
|
33
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
34
|
+
import { L as LazyLoad } from './index-a4e850af.js';
|
|
35
|
+
import { m as main_40 } from './main-140f99b4.js';
|
|
33
36
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
|
-
import './stringify-
|
|
35
|
-
import './slicedToArray-
|
|
36
|
-
import './asyncToGenerator-
|
|
37
|
-
import './_set-species-
|
|
37
|
+
import './stringify-dedf4a20.js';
|
|
38
|
+
import './slicedToArray-8818fe95.js';
|
|
39
|
+
import './asyncToGenerator-0c61f551.js';
|
|
40
|
+
import './_set-species-26ee5c2a.js';
|
|
38
41
|
import './Segment.js';
|
|
39
42
|
import './Beam.js';
|
|
40
43
|
import './AdSlot.js';
|
|
41
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
42
|
-
import {
|
|
43
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
44
|
+
import { A as ADInfeed } from './ADInfeed-d890d5ca.js';
|
|
45
|
+
import { _ } from './lodash-2b866578.js';
|
|
46
|
+
import { A as ADlgInfeed } from './ADlgInfeed-1d006b36.js';
|
|
44
47
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
45
|
-
import { g as
|
|
48
|
+
import { g as get } from './get-bb2155d5.js';
|
|
46
49
|
import './AD.js';
|
|
47
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
50
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffb1deb.js';
|
|
48
51
|
|
|
49
52
|
var GridContent = function (_React$Component) {
|
|
50
53
|
_inherits(GridContent, _React$Component);
|
|
@@ -73,7 +76,7 @@ var GridContent = function (_React$Component) {
|
|
|
73
76
|
lgInfeedAd: _this.props.lgInfeedAd ? _this.props.lgInfeedAd : false,
|
|
74
77
|
showCategory: _this.props.showCategory ? _this.props.showCategory : false,
|
|
75
78
|
contentCategoryMapping: _this.props.contentCategoryMapping ? contentCategoryMapping : []
|
|
76
|
-
}, _this.loadMore =
|
|
79
|
+
}, _this.loadMore = debounce(function () {
|
|
77
80
|
_this.setState(function (state) {
|
|
78
81
|
var page = state.page,
|
|
79
82
|
from = state.from,
|
|
@@ -284,7 +287,7 @@ var GridContent = function (_React$Component) {
|
|
|
284
287
|
{ md: 12, lg: 4 },
|
|
285
288
|
React__default.createElement(
|
|
286
289
|
'a',
|
|
287
|
-
{ href: _this2.page + '/' +
|
|
290
|
+
{ href: _this2.page + '/' + get(row, 'url.current') },
|
|
288
291
|
React__default.createElement(
|
|
289
292
|
LazyLoad,
|
|
290
293
|
{ height: _this2.props.imageHeight },
|
|
@@ -303,7 +306,7 @@ var GridContent = function (_React$Component) {
|
|
|
303
306
|
null,
|
|
304
307
|
React__default.createElement(
|
|
305
308
|
'a',
|
|
306
|
-
{ href: _this2.page + '/' +
|
|
309
|
+
{ href: _this2.page + '/' + get(row, 'url.current') },
|
|
307
310
|
row.title
|
|
308
311
|
)
|
|
309
312
|
),
|
|
@@ -390,17 +393,17 @@ var GridContent = function (_React$Component) {
|
|
|
390
393
|
/* Passing refresh flag */
|
|
391
394
|
refreshFlag: brandInsight.refreshFlag ? brandInsight.refreshFlag : false
|
|
392
395
|
};
|
|
393
|
-
var chunks =
|
|
394
|
-
var set =
|
|
396
|
+
var chunks = _.chunk(data, 6).map(function (chunk) {
|
|
397
|
+
var set = _.chunk(chunk, 2);
|
|
395
398
|
for (var i = 0; i < set.length; i++) {
|
|
396
399
|
if (i !== set.length - 1) {
|
|
397
400
|
set[i].push(lgInFeedAd);
|
|
398
401
|
}
|
|
399
402
|
}
|
|
400
|
-
return
|
|
403
|
+
return _.flattenDeep(set);
|
|
401
404
|
});
|
|
402
405
|
|
|
403
|
-
posts =
|
|
406
|
+
posts = _.flatten(chunks);
|
|
404
407
|
}
|
|
405
408
|
|
|
406
409
|
if (showBI) {
|
|
@@ -531,7 +534,7 @@ var GridContent = function (_React$Component) {
|
|
|
531
534
|
)
|
|
532
535
|
),
|
|
533
536
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
534
|
-
|
|
537
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
535
538
|
);
|
|
536
539
|
} else {
|
|
537
540
|
return React__default.createElement(
|
|
@@ -595,7 +598,7 @@ var GridContent = function (_React$Component) {
|
|
|
595
598
|
)
|
|
596
599
|
),
|
|
597
600
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
598
|
-
|
|
601
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
599
602
|
);
|
|
600
603
|
}
|
|
601
604
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
@@ -683,7 +686,7 @@ var GridContent = function (_React$Component) {
|
|
|
683
686
|
)
|
|
684
687
|
),
|
|
685
688
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
686
|
-
|
|
689
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
687
690
|
);
|
|
688
691
|
} else return null;
|
|
689
692
|
}) : React__default.createElement(
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './core.get-iterator-method-
|
|
5
|
-
import './web.dom.iterable-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
5
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import
|
|
8
|
+
import './_react_commonjs-external-22b61490.js';
|
|
9
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
10
|
+
import { m as moment } from './moment-8797a4d3.js';
|
|
9
11
|
import 'react-dom';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
13
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
14
|
+
import { L as LazyLoad } from './index-a4e850af.js';
|
|
12
15
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
13
|
-
import './slicedToArray-
|
|
14
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
16
|
+
import './slicedToArray-8818fe95.js';
|
|
17
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffb1deb.js';
|
|
15
18
|
|
|
16
19
|
var GridHero = function GridHero(props) {
|
|
17
20
|
var topArticle = props.dataRecord[0];
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_library-
|
|
5
|
-
import './core.get-iterator-method-
|
|
6
|
-
import './_object-pie-
|
|
7
|
-
import './web.dom.iterable-
|
|
8
|
-
import { _ as _typeof } from './typeof-
|
|
9
|
-
import './_is-array-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './_library-90219a8d.js';
|
|
5
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
6
|
+
import './_object-pie-8e2f6c3a.js';
|
|
7
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
8
|
+
import { _ as _typeof } from './typeof-a10a5616.js';
|
|
9
|
+
import './_is-array-5bea6006.js';
|
|
10
10
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
11
|
-
import { i as imageUrlBuilder } from './index-
|
|
12
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
13
|
-
import { s as smoothscroll, g as
|
|
11
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
12
|
+
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
13
|
+
import { s as smoothscroll, g as getYouTubeId } from './smoothscroll-2d74941c.js';
|
|
14
14
|
|
|
15
15
|
var GroupDeck = function GroupDeck(props) {
|
|
16
16
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
|
@@ -167,7 +167,7 @@ var GroupDeck = function GroupDeck(props) {
|
|
|
167
167
|
} else if (_typeof(video.thumbnail == 'string')) {
|
|
168
168
|
thumbnail = video.thumbnail;
|
|
169
169
|
} else {
|
|
170
|
-
thumbnail = 'https://img.youtube.com/vi/' +
|
|
170
|
+
thumbnail = 'https://img.youtube.com/vi/' + getYouTubeId(video.url) + '/hqdefault.jpg';
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
return React__default.createElement(
|
|
@@ -241,7 +241,7 @@ var GroupDeck = function GroupDeck(props) {
|
|
|
241
241
|
} else if (_typeof(video.thumbnail == 'string')) {
|
|
242
242
|
_thumbnail = video.thumbnail;
|
|
243
243
|
} else {
|
|
244
|
-
_thumbnail = 'https://img.youtube.com/vi/' +
|
|
244
|
+
_thumbnail = 'https://img.youtube.com/vi/' + getYouTubeId(video.url) + '/hqdefault.jpg';
|
|
245
245
|
}
|
|
246
246
|
return React__default.createElement(
|
|
247
247
|
'div',
|