@mjhls/mjh-framework 1.0.703-testing-module-splittingv6 → 1.0.704-beta-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 +172 -172
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +24 -26
- package/dist/cjs/AD300x250x600.js +24 -26
- package/dist/cjs/AD728x90.js +27 -29
- package/dist/cjs/ADFloatingFooter.js +29 -31
- package/dist/cjs/ADFooter.js +14 -16
- package/dist/cjs/ADGutter.js +26 -28
- package/dist/cjs/{ADInfeed-d36dc3ca.js → ADInfeed-38066a36.js} +11 -13
- package/dist/cjs/ADSkyscraper.js +26 -28
- package/dist/cjs/ADSponsoredResources.js +26 -28
- package/dist/cjs/ADWebcast.js +26 -28
- package/dist/cjs/ADWelcome.js +31 -33
- package/dist/cjs/{ADlgInfeed-93205fa0.js → ADlgInfeed-d95c9027.js} +8 -9
- package/dist/cjs/AccordionPanel.js +29 -32
- package/dist/cjs/AdSlot.js +31 -33
- package/dist/cjs/AdSlotsProvider.js +7 -8
- package/dist/cjs/AlphabeticList.js +24 -26
- package/dist/cjs/ArticleCarousel.js +21 -23
- package/dist/cjs/ArticleSeriesListing.js +57 -59
- package/dist/cjs/Auth.js +330 -817
- package/dist/cjs/{AuthorComponent-482218ce.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +9 -10
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-80b15fac.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +27 -30
- package/dist/cjs/BrowseVideosListing.js +39 -41
- package/dist/cjs/CMEDeck.js +78 -79
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +32 -36
- package/dist/cjs/Column3.js +55 -59
- package/dist/cjs/ConferenceArticleCard.js +37 -38
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +102 -107
- package/dist/cjs/DeckQueue.js +86 -91
- package/dist/cjs/{Dfp-80c3d853.js → Dfp-390337bf.js} +30 -32
- package/dist/cjs/EventsDeck.js +149 -157
- package/dist/cjs/ExternalResources.js +74 -76
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -42
- package/dist/cjs/GridContent.js +177 -182
- package/dist/cjs/GridHero.js +42 -44
- package/dist/cjs/GroupDeck.js +49 -51
- package/dist/cjs/HamMagazine.js +139 -145
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -78
- package/dist/cjs/IssueDeck.js +70 -76
- package/dist/cjs/IssueLanding.js +69 -71
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +36 -39
- package/dist/cjs/MasterDeck.js +79 -81
- package/dist/cjs/NavDvm.js +75 -81
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +148 -154
- package/dist/cjs/NavNative.js +124 -133
- package/dist/cjs/NavNormal.js +48 -54
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -68
- package/dist/cjs/PageFilter.js +14 -16
- package/dist/cjs/PartnerDetailListing.js +105 -107
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -22
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +114 -119
- package/dist/cjs/QueueDeckExpanded.js +292 -293
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +52 -53
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -23
- package/dist/cjs/Segment.js +7 -8
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -39
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-a49e8e9d.js → SocialSearchComponent-56d49a1a.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +57 -63
- package/dist/cjs/TemplateNormal.js +72 -74
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +26 -28
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoSeriesCard.js +33 -35
- package/dist/cjs/VideoSeriesFilter.js +19 -20
- package/dist/cjs/VideoSeriesListing.js +72 -74
- package/dist/cjs/View.js +220 -224
- package/dist/cjs/YahooHero.js +39 -41
- package/dist/cjs/YoutubeGroup.js +68 -70
- package/dist/cjs/{_is-array-4c61cfba.js → _is-array-754e012d.js} +12 -13
- package/dist/cjs/{_iter-detect-2a826637.js → _iter-detect-60b2f026.js} +4 -4
- package/dist/cjs/_object-sap-5e74ba08.js +16 -0
- package/dist/cjs/{_set-species-d088ff6e.js → _set-species-f92c67c5.js} +9 -10
- package/dist/cjs/{_export-7e018e14.js → _to-object-329a650b.js} +146 -2
- package/dist/cjs/{asyncToGenerator-7ca8f87e.js → asyncToGenerator-533d476a.js} +57 -58
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-14f49e03.js → core.get-iterator-method-f62321d4.js} +3 -4
- package/dist/cjs/{define-property-fd46a81e.js → define-property-f4d12f4e.js} +3 -3
- package/dist/cjs/{defineProperty-edc12c5a.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-a390d61f.js → es6.string.iterator-cc0bbaa4.js} +17 -18
- package/dist/cjs/{extends-0a166456.js → extends-60837c34.js} +5 -6
- package/dist/cjs/getRelatedArticle.js +76 -139
- package/dist/cjs/getSerializers.js +41 -42
- package/dist/cjs/{getTargeting-57edbc60.js → getTargeting-fee8c429.js} +11 -11
- package/dist/cjs/getTargeting.js +7 -8
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-5ad2b070.js → index-099d45ae.js} +17 -16
- package/dist/cjs/{index-cb6ed1fc.js → index-3294d3bc.js} +18 -17
- package/dist/cjs/{index-d48b231c.js → index-39beccb3.js} +24 -29
- package/dist/cjs/{index-0e3597c2.js → index-58dae365.js} +429 -440
- package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +261 -9
- package/dist/cjs/{inherits-a9209207.js → inherits-513d81cd.js} +15 -16
- package/dist/cjs/{keys-d2f5bcf0.js → keys-a586b7a0.js} +3 -4
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-7fd85bcf.js} +1 -1
- package/dist/cjs/{main-eeffe77b.js → main-03ffa84c.js} +80 -116
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-60dafa9c.js → slicedToArray-8f385299.js} +7 -7
- package/dist/cjs/{smoothscroll-1abb448e.js → smoothscroll-95231a70.js} +1 -1
- package/dist/cjs/{stringify-44244c64.js → stringify-7c5aff47.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-4bb00640.js → toConsumableArray-9a3476fe.js} +8 -9
- package/dist/cjs/{typeof-03c3fdc8.js → typeof-725500bc.js} +49 -50
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/cjs/{web.dom.iterable-2d47ebe6.js → web.dom.iterable-a0e279c1.js} +5 -6
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +22 -23
- package/dist/esm/AD300x250x600.js +22 -23
- package/dist/esm/AD728x90.js +25 -26
- package/dist/esm/ADFloatingFooter.js +27 -28
- package/dist/esm/ADFooter.js +11 -12
- package/dist/esm/ADGutter.js +24 -25
- package/dist/esm/{ADInfeed-bf7de12d.js → ADInfeed-7b1b2fcb.js} +7 -7
- package/dist/esm/ADSkyscraper.js +24 -25
- package/dist/esm/ADSponsoredResources.js +24 -25
- package/dist/esm/ADWebcast.js +24 -25
- package/dist/esm/ADWelcome.js +29 -30
- package/dist/esm/{ADlgInfeed-3ac04591.js → ADlgInfeed-2afe92e6.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -25
- package/dist/esm/AdSlot.js +23 -24
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +22 -23
- package/dist/esm/ArticleCarousel.js +18 -19
- package/dist/esm/ArticleSeriesListing.js +52 -53
- package/dist/esm/Auth.js +315 -798
- package/dist/esm/{AuthorComponent-22790017.js → AuthorComponent-00f13201.js} +11 -11
- package/dist/esm/Beam.js +9 -10
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-c409aca5.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -18
- package/dist/esm/BrowseVideosListing.js +36 -37
- package/dist/esm/CMEDeck.js +75 -76
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -27
- package/dist/esm/Column3.js +49 -50
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +84 -85
- package/dist/esm/DeckQueue.js +64 -65
- package/dist/esm/{Dfp-08279047.js → Dfp-741c01be.js} +20 -21
- package/dist/esm/EventsDeck.js +100 -101
- package/dist/esm/ExternalResources.js +69 -70
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -35
- package/dist/esm/GridContent.js +139 -140
- package/dist/esm/GridHero.js +36 -37
- package/dist/esm/GroupDeck.js +45 -46
- package/dist/esm/HamMagazine.js +113 -114
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -50
- package/dist/esm/IssueDeck.js +46 -47
- package/dist/esm/IssueLanding.js +67 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +33 -34
- package/dist/esm/MasterDeck.js +73 -74
- package/dist/esm/NavDvm.js +57 -58
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -125
- package/dist/esm/NavNative.js +100 -101
- package/dist/esm/NavNormal.js +36 -37
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -60
- package/dist/esm/PageFilter.js +12 -13
- package/dist/esm/PartnerDetailListing.js +102 -103
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -15
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +75 -76
- package/dist/esm/QueueDeckExpanded.js +273 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -13
- package/dist/esm/Segment.js +7 -8
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +33 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-46ea0f4d.js → SocialSearchComponent-677ed3bd.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -42
- package/dist/esm/TemplateNormal.js +67 -68
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -24
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +25 -26
- package/dist/esm/VideoSeriesFilter.js +16 -17
- package/dist/esm/VideoSeriesListing.js +66 -67
- package/dist/esm/View.js +212 -212
- package/dist/esm/YahooHero.js +34 -35
- package/dist/esm/YoutubeGroup.js +53 -54
- package/dist/esm/{_is-array-46713c19.js → _is-array-49698029.js} +6 -7
- package/dist/esm/{_iter-detect-60cd145f.js → _iter-detect-59409a32.js} +2 -2
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-71ac75a4.js} +1 -1
- package/dist/esm/{_object-sap-108a1939.js → _object-sap-4d59d5bd.js} +1 -1
- package/dist/esm/{_set-species-a4b3fe39.js → _set-species-cede29f8.js} +5 -6
- package/dist/esm/{_export-9029ebab.js → _to-object-ded78eb9.js} +134 -3
- package/dist/esm/{asyncToGenerator-7714cea4.js → asyncToGenerator-7c654f36.js} +9 -10
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-6636b3ef.js → core.get-iterator-method-54d2e411.js} +2 -3
- package/dist/esm/{define-property-f2d6f244.js → define-property-de3fc946.js} +1 -1
- package/dist/esm/{defineProperty-69f06029.js → defineProperty-b798470d.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-2efae22d.js → es6.string.iterator-9b2af4a5.js} +3 -4
- package/dist/esm/{extends-f866c8d0.js → extends-cc5da797.js} +2 -3
- package/dist/esm/getRelatedArticle.js +71 -134
- package/dist/esm/getSerializers.js +41 -42
- package/dist/esm/{getTargeting-5cdca4e1.js → getTargeting-2acdec91.js} +11 -11
- package/dist/esm/getTargeting.js +8 -9
- package/dist/esm/{index-3f5c03b2.js → index-3849e3fe.js} +24 -29
- package/dist/esm/{index-669ff425.js → index-3f4dd6f2.js} +12 -10
- package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
- package/dist/esm/{index-5db919a6.js → index-7779a6df.js} +380 -384
- package/dist/esm/{index-750a7380.js → index-ef6d5dcf.js} +18 -17
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-57f377a5.js → index.esm-29e48d38.js} +16 -7
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +173 -11
- package/dist/esm/{inherits-75d6495f.js → inherits-7ee3e0c1.js} +5 -6
- package/dist/esm/{keys-78217618.js → keys-fc2d4c34.js} +2 -3
- package/dist/esm/{lodash-ad27652f.js → lodash-ec8c6b48.js} +1 -1
- package/dist/esm/{main-decc48f4.js → main-35ff7b4f.js} +78 -113
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-fa9240c4.js → slicedToArray-7021e5df.js} +4 -4
- package/dist/esm/{smoothscroll-ab6e0238.js → smoothscroll-4b699764.js} +1 -1
- package/dist/esm/{stringify-22907f56.js → stringify-008c8802.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-bd01c637.js → toConsumableArray-725434a0.js} +4 -5
- package/dist/esm/{typeof-668f30cd.js → typeof-08f2c380.js} +8 -9
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/dist/esm/{web.dom.iterable-89515070.js → web.dom.iterable-8956f9a5.js} +3 -4
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/_object-sap-4ac28868.js +0 -16
- package/dist/cjs/_to-object-233fc5c9.js +0 -149
- package/dist/esm/_to-object-62924b74.js +0 -135
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
7
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
8
|
+
import './_object-pie-71ac75a4.js';
|
|
9
|
+
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
|
+
import './_object-sap-4d59d5bd.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-7ee3e0c1.js';
|
|
12
|
+
import './define-property-de3fc946.js';
|
|
13
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
+
import './typeof-08f2c380.js';
|
|
15
|
+
import './_is-array-49698029.js';
|
|
16
|
+
import React__default from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
18
|
+
import 'prop-types';
|
|
6
19
|
import Container from 'react-bootstrap/Container';
|
|
7
20
|
import Row from 'react-bootstrap/Row';
|
|
8
21
|
import Col from 'react-bootstrap/Col';
|
|
9
22
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import { m as moment } from './moment-
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
11
24
|
import { withRouter } from 'next/router';
|
|
12
|
-
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
13
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
14
|
-
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
15
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
16
|
-
import { L as LazyLoad } from './index-752d1dae.js';
|
|
17
|
-
import { m as main_40 } from './main-decc48f4.js';
|
|
18
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-bf7de12d.js';
|
|
20
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
-
import './es6.string.iterator-2efae22d.js';
|
|
22
|
-
import './_to-object-62924b74.js';
|
|
23
|
-
import './_export-9029ebab.js';
|
|
24
|
-
import './_iter-detect-60cd145f.js';
|
|
25
|
-
import './core.get-iterator-method-6636b3ef.js';
|
|
26
|
-
import './_object-pie-33c40e79.js';
|
|
27
|
-
import './_object-sap-108a1939.js';
|
|
28
|
-
import './define-property-f2d6f244.js';
|
|
29
|
-
import './typeof-668f30cd.js';
|
|
30
|
-
import './web.dom.iterable-89515070.js';
|
|
31
|
-
import './_is-array-46713c19.js';
|
|
32
|
-
import './_library-528f1934.js';
|
|
33
|
-
import 'prop-types';
|
|
34
25
|
import './isSymbol-807e927e.js';
|
|
26
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
35
28
|
import 'react-dom';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
30
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
31
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
32
|
+
import { m as main_36 } from './main-35ff7b4f.js';
|
|
33
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
|
+
import './stringify-008c8802.js';
|
|
35
|
+
import './slicedToArray-7021e5df.js';
|
|
36
|
+
import './asyncToGenerator-7c654f36.js';
|
|
37
|
+
import './_set-species-cede29f8.js';
|
|
42
38
|
import './Segment.js';
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import './AdSlot.js';
|
|
41
|
+
import { A as ADInfeed } from './ADInfeed-7b1b2fcb.js';
|
|
43
42
|
|
|
44
43
|
var DeckContent = function (_React$Component) {
|
|
45
44
|
_inherits(DeckContent, _React$Component);
|
|
@@ -180,14 +179,14 @@ var DeckContent = function (_React$Component) {
|
|
|
180
179
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
181
180
|
|
|
182
181
|
// please leave this for later debug purpose : Yong Jun.
|
|
183
|
-
/* console.log('page change reported', {
|
|
184
|
-
currentPage: currentPage,
|
|
185
|
-
pageNumber: pageNumber,
|
|
186
|
-
pathname: pathname,
|
|
187
|
-
path: path,
|
|
188
|
-
newPath: newPath,
|
|
189
|
-
firstPage: pageNumber === 1,
|
|
190
|
-
queryString: queryString
|
|
182
|
+
/* console.log('page change reported', {
|
|
183
|
+
currentPage: currentPage,
|
|
184
|
+
pageNumber: pageNumber,
|
|
185
|
+
pathname: pathname,
|
|
186
|
+
path: path,
|
|
187
|
+
newPath: newPath,
|
|
188
|
+
firstPage: pageNumber === 1,
|
|
189
|
+
queryString: queryString
|
|
191
190
|
}) */
|
|
192
191
|
|
|
193
192
|
if (pageview) {
|
|
@@ -207,35 +206,35 @@ var DeckContent = function (_React$Component) {
|
|
|
207
206
|
url = authorDetail.url;
|
|
208
207
|
|
|
209
208
|
if (displayName && url && url.current) {
|
|
210
|
-
return
|
|
209
|
+
return React__default.createElement(
|
|
211
210
|
'div',
|
|
212
211
|
{ key: _id },
|
|
213
|
-
index === 0 &&
|
|
212
|
+
index === 0 && React__default.createElement(
|
|
214
213
|
'span',
|
|
215
214
|
{ className: 'pr-1' },
|
|
216
215
|
'By'
|
|
217
216
|
),
|
|
218
|
-
|
|
217
|
+
React__default.createElement(
|
|
219
218
|
'a',
|
|
220
219
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
221
220
|
displayName,
|
|
222
|
-
length !== index + 1 &&
|
|
221
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
223
222
|
)
|
|
224
223
|
);
|
|
225
224
|
} else if (displayName) {
|
|
226
|
-
return
|
|
225
|
+
return React__default.createElement(
|
|
227
226
|
'div',
|
|
228
227
|
{ key: _id },
|
|
229
|
-
index === 0 &&
|
|
228
|
+
index === 0 && React__default.createElement(
|
|
230
229
|
'span',
|
|
231
230
|
{ className: 'pr-1' },
|
|
232
231
|
'By'
|
|
233
232
|
),
|
|
234
|
-
|
|
233
|
+
React__default.createElement(
|
|
235
234
|
'span',
|
|
236
235
|
{ className: 'text-muted' },
|
|
237
236
|
displayName,
|
|
238
|
-
length !== index + 1 &&
|
|
237
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
239
238
|
)
|
|
240
239
|
);
|
|
241
240
|
}
|
|
@@ -279,7 +278,7 @@ var DeckContent = function (_React$Component) {
|
|
|
279
278
|
articles = _this.state.data;
|
|
280
279
|
}
|
|
281
280
|
|
|
282
|
-
return
|
|
281
|
+
return React__default.createElement(
|
|
283
282
|
Row,
|
|
284
283
|
null,
|
|
285
284
|
articles && articles.map(function (row, index) {
|
|
@@ -291,51 +290,51 @@ var DeckContent = function (_React$Component) {
|
|
|
291
290
|
lgVar = 6;
|
|
292
291
|
}
|
|
293
292
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
294
|
-
return
|
|
293
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
295
294
|
} else {
|
|
296
295
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
297
296
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
298
|
-
return
|
|
299
|
-
|
|
297
|
+
return React__default.createElement(
|
|
298
|
+
React__default.Fragment,
|
|
300
299
|
{ key: itemCounter },
|
|
301
|
-
|
|
300
|
+
React__default.createElement(
|
|
302
301
|
VisibilitySensor,
|
|
303
302
|
{
|
|
304
303
|
onChange: function onChange(isVisible) {
|
|
305
304
|
isVisible && _this.changePageNumber(pageNumber);
|
|
306
305
|
} },
|
|
307
|
-
|
|
306
|
+
React__default.createElement(
|
|
308
307
|
Col,
|
|
309
308
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
310
|
-
|
|
309
|
+
React__default.createElement(
|
|
311
310
|
Card,
|
|
312
311
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
313
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
312
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
314
313
|
'a',
|
|
315
314
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
316
|
-
|
|
315
|
+
React__default.createElement(
|
|
317
316
|
LazyLoad,
|
|
318
317
|
{ height: _this.props.imageHeight },
|
|
319
|
-
|
|
318
|
+
React__default.createElement(Card.Img, {
|
|
320
319
|
variant: 'top',
|
|
321
320
|
src: _this.renderCardImage(row, page),
|
|
322
321
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
323
322
|
})
|
|
324
323
|
)
|
|
325
324
|
),
|
|
326
|
-
|
|
325
|
+
React__default.createElement(
|
|
327
326
|
Card.Body,
|
|
328
327
|
null,
|
|
329
|
-
|
|
328
|
+
React__default.createElement(
|
|
330
329
|
'a',
|
|
331
330
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
332
|
-
|
|
331
|
+
React__default.createElement(
|
|
333
332
|
Card.Title,
|
|
334
333
|
null,
|
|
335
334
|
row.title
|
|
336
335
|
)
|
|
337
336
|
),
|
|
338
|
-
_this.props.showPublished && row.published &&
|
|
337
|
+
_this.props.showPublished && row.published && React__default.createElement(
|
|
339
338
|
Card.Subtitle,
|
|
340
339
|
null,
|
|
341
340
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -343,7 +342,7 @@ var DeckContent = function (_React$Component) {
|
|
|
343
342
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
344
343
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
345
344
|
}),
|
|
346
|
-
|
|
345
|
+
React__default.createElement(
|
|
347
346
|
Card.Text,
|
|
348
347
|
null,
|
|
349
348
|
clean_html_1(row.summary)
|
|
@@ -352,7 +351,7 @@ var DeckContent = function (_React$Component) {
|
|
|
352
351
|
)
|
|
353
352
|
)
|
|
354
353
|
),
|
|
355
|
-
|
|
354
|
+
main_36 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
356
355
|
);
|
|
357
356
|
}
|
|
358
357
|
})
|
|
@@ -361,7 +360,7 @@ var DeckContent = function (_React$Component) {
|
|
|
361
360
|
var rightItems = _this.props.rightItems;
|
|
362
361
|
|
|
363
362
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
364
|
-
return
|
|
363
|
+
return React__default.createElement(
|
|
365
364
|
Col,
|
|
366
365
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
367
366
|
rightItems[i].component
|
|
@@ -369,15 +368,15 @@ var DeckContent = function (_React$Component) {
|
|
|
369
368
|
}, _this.renderManualPagination = function () {
|
|
370
369
|
var currentPage = _this.state.currentPage;
|
|
371
370
|
|
|
372
|
-
return
|
|
371
|
+
return React__default.createElement(
|
|
373
372
|
'div',
|
|
374
373
|
{ className: 'd-flex justify-content-between' },
|
|
375
|
-
currentPage && currentPage > 1 &&
|
|
374
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
376
375
|
'a',
|
|
377
376
|
{ href: '?page=' + (currentPage - 1) },
|
|
378
377
|
'<< Previous'
|
|
379
378
|
),
|
|
380
|
-
|
|
379
|
+
React__default.createElement(
|
|
381
380
|
'a',
|
|
382
381
|
{ href: '?page=' + (currentPage + 1) },
|
|
383
382
|
'Next >>'
|
|
@@ -423,38 +422,38 @@ var DeckContent = function (_React$Component) {
|
|
|
423
422
|
brandInsight = _props.brandInsight;
|
|
424
423
|
|
|
425
424
|
|
|
426
|
-
return
|
|
425
|
+
return React__default.createElement(
|
|
427
426
|
'div',
|
|
428
427
|
{ className: 'contentDeck' },
|
|
429
|
-
autoScroll ?
|
|
430
|
-
|
|
428
|
+
autoScroll ? React__default.createElement(
|
|
429
|
+
React__default.Fragment,
|
|
431
430
|
null,
|
|
432
|
-
|
|
431
|
+
React__default.createElement(
|
|
433
432
|
InfiniteScroll,
|
|
434
433
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
435
|
-
|
|
434
|
+
React__default.createElement(
|
|
436
435
|
Container,
|
|
437
436
|
null,
|
|
438
437
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
439
438
|
)
|
|
440
439
|
),
|
|
441
|
-
|
|
440
|
+
React__default.createElement(
|
|
442
441
|
'noscript',
|
|
443
442
|
null,
|
|
444
443
|
this.renderManualPagination()
|
|
445
444
|
)
|
|
446
|
-
) :
|
|
447
|
-
|
|
445
|
+
) : React__default.createElement(
|
|
446
|
+
React__default.Fragment,
|
|
448
447
|
null,
|
|
449
|
-
|
|
448
|
+
React__default.createElement(
|
|
450
449
|
Container,
|
|
451
450
|
null,
|
|
452
451
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
453
452
|
),
|
|
454
|
-
|
|
453
|
+
React__default.createElement(
|
|
455
454
|
'div',
|
|
456
455
|
{ style: { padding: '0px 10px' } },
|
|
457
|
-
this.state.scrolling ?
|
|
456
|
+
this.state.scrolling ? React__default.createElement(
|
|
458
457
|
'button',
|
|
459
458
|
{
|
|
460
459
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -462,17 +461,17 @@ var DeckContent = function (_React$Component) {
|
|
|
462
461
|
_this2.loadMore();
|
|
463
462
|
} },
|
|
464
463
|
'Load More'
|
|
465
|
-
) :
|
|
464
|
+
) : React__default.createElement(
|
|
466
465
|
'p',
|
|
467
466
|
{ style: { textAlign: 'center' } },
|
|
468
|
-
|
|
467
|
+
React__default.createElement(
|
|
469
468
|
'b',
|
|
470
469
|
null,
|
|
471
470
|
'End of data'
|
|
472
471
|
)
|
|
473
472
|
)
|
|
474
473
|
),
|
|
475
|
-
|
|
474
|
+
React__default.createElement(
|
|
476
475
|
'noscript',
|
|
477
476
|
null,
|
|
478
477
|
this.renderManualPagination()
|
|
@@ -483,7 +482,7 @@ var DeckContent = function (_React$Component) {
|
|
|
483
482
|
}]);
|
|
484
483
|
|
|
485
484
|
return DeckContent;
|
|
486
|
-
}(
|
|
485
|
+
}(React__default.Component);
|
|
487
486
|
|
|
488
487
|
var ContentCard = withRouter(DeckContent);
|
|
489
488
|
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
7
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
8
|
+
import './_object-pie-71ac75a4.js';
|
|
9
|
+
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
|
+
import './_object-sap-4d59d5bd.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-7ee3e0c1.js';
|
|
12
|
+
import './define-property-de3fc946.js';
|
|
13
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
+
import './typeof-08f2c380.js';
|
|
15
|
+
import './_is-array-49698029.js';
|
|
16
|
+
import React__default from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
18
|
+
import 'prop-types';
|
|
6
19
|
import Container from 'react-bootstrap/Container';
|
|
7
20
|
import Row from 'react-bootstrap/Row';
|
|
8
21
|
import Col from 'react-bootstrap/Col';
|
|
9
22
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import {
|
|
11
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
12
24
|
import { withRouter } from 'next/router';
|
|
13
|
-
import
|
|
14
|
-
import { g as get_1 } from './get-5ee14cda.js';
|
|
25
|
+
import './isSymbol-807e927e.js';
|
|
15
26
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
16
|
-
import { I as InfiniteScroll } from './index.es-
|
|
17
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
18
|
-
import { m as main_40 } from './main-decc48f4.js';
|
|
19
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
20
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
-
import './es6.string.iterator-2efae22d.js';
|
|
22
|
-
import './_to-object-62924b74.js';
|
|
23
|
-
import './_export-9029ebab.js';
|
|
24
|
-
import './_iter-detect-60cd145f.js';
|
|
25
|
-
import './core.get-iterator-method-6636b3ef.js';
|
|
26
|
-
import './_object-pie-33c40e79.js';
|
|
27
|
-
import './_object-sap-108a1939.js';
|
|
28
|
-
import './define-property-f2d6f244.js';
|
|
29
|
-
import './typeof-668f30cd.js';
|
|
30
|
-
import './web.dom.iterable-89515070.js';
|
|
31
|
-
import './_is-array-46713c19.js';
|
|
32
|
-
import './_library-528f1934.js';
|
|
33
|
-
import 'prop-types';
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
34
28
|
import 'react-dom';
|
|
35
|
-
import './
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
30
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
31
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
32
|
+
import { m as main_36 } from './main-35ff7b4f.js';
|
|
33
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
|
+
import { g as get_1 } from './get-5ee14cda.js';
|
|
36
35
|
|
|
37
36
|
var DeckQueue = function (_React$Component) {
|
|
38
37
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -184,7 +183,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
184
183
|
var rightItems = _this.props.rightItems;
|
|
185
184
|
|
|
186
185
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
187
|
-
return
|
|
186
|
+
return React__default.createElement(
|
|
188
187
|
'div',
|
|
189
188
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
190
189
|
rightItems[i].component
|
|
@@ -192,15 +191,15 @@ var DeckQueue = function (_React$Component) {
|
|
|
192
191
|
}, _this.renderManualPagination = function () {
|
|
193
192
|
var currentPage = _this.state.currentPage;
|
|
194
193
|
|
|
195
|
-
return
|
|
194
|
+
return React__default.createElement(
|
|
196
195
|
'div',
|
|
197
196
|
{ className: 'd-flex justify-content-between' },
|
|
198
|
-
currentPage && currentPage > 1 &&
|
|
197
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
199
198
|
'a',
|
|
200
199
|
{ href: '?page=' + (currentPage - 1) },
|
|
201
200
|
'<< Previous'
|
|
202
201
|
),
|
|
203
|
-
|
|
202
|
+
React__default.createElement(
|
|
204
203
|
'a',
|
|
205
204
|
{ href: '?page=' + (currentPage + 1) },
|
|
206
205
|
'Next >>'
|
|
@@ -218,78 +217,78 @@ var DeckQueue = function (_React$Component) {
|
|
|
218
217
|
var lgVar = Math.floor(12 / columns);
|
|
219
218
|
var numberOfItemsBeforeAd = 6;
|
|
220
219
|
|
|
221
|
-
return
|
|
220
|
+
return React__default.createElement(
|
|
222
221
|
Row,
|
|
223
222
|
null,
|
|
224
223
|
this.state.data && this.state.data.map(function (row, index) {
|
|
225
224
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
226
225
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
227
226
|
|
|
228
|
-
return
|
|
229
|
-
|
|
227
|
+
return React__default.createElement(
|
|
228
|
+
React__default.Fragment,
|
|
230
229
|
{ key: index },
|
|
231
|
-
|
|
230
|
+
React__default.createElement(
|
|
232
231
|
VisibilitySensor,
|
|
233
232
|
{
|
|
234
233
|
onChange: function onChange(isVisible) {
|
|
235
234
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
236
235
|
} },
|
|
237
|
-
|
|
236
|
+
React__default.createElement(
|
|
238
237
|
Col,
|
|
239
238
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
240
|
-
|
|
239
|
+
React__default.createElement(
|
|
241
240
|
Card,
|
|
242
241
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
243
|
-
|
|
242
|
+
React__default.createElement(
|
|
244
243
|
Row,
|
|
245
244
|
{ style: { flexDirection: mode } },
|
|
246
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
245
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
247
246
|
Col,
|
|
248
247
|
{ md: 12, lg: 4 },
|
|
249
|
-
|
|
248
|
+
React__default.createElement(
|
|
250
249
|
'a',
|
|
251
250
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
252
|
-
|
|
251
|
+
React__default.createElement(
|
|
253
252
|
LazyLoad,
|
|
254
253
|
{ height: _this2.props.imageHeight },
|
|
255
|
-
|
|
254
|
+
React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
256
255
|
)
|
|
257
256
|
)
|
|
258
257
|
),
|
|
259
|
-
|
|
258
|
+
React__default.createElement(
|
|
260
259
|
Col,
|
|
261
260
|
null,
|
|
262
|
-
|
|
261
|
+
React__default.createElement(
|
|
263
262
|
Card.Body,
|
|
264
263
|
{ style: { padding: '20px' } },
|
|
265
|
-
row.title &&
|
|
264
|
+
row.title && React__default.createElement(
|
|
266
265
|
Card.Title,
|
|
267
266
|
null,
|
|
268
|
-
|
|
267
|
+
React__default.createElement(
|
|
269
268
|
'a',
|
|
270
269
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
271
270
|
row.title
|
|
272
271
|
)
|
|
273
272
|
),
|
|
274
|
-
_this2.props.showPublished && row.published &&
|
|
273
|
+
_this2.props.showPublished && row.published && React__default.createElement(
|
|
275
274
|
Card.Subtitle,
|
|
276
275
|
null,
|
|
277
276
|
moment(row.published).format('MMMM DD, YYYY')
|
|
278
277
|
),
|
|
279
|
-
_this2.props.showRecent && row.recent && row.recent.title &&
|
|
278
|
+
_this2.props.showRecent && row.recent && row.recent.title && React__default.createElement(
|
|
280
279
|
Card.Subtitle,
|
|
281
280
|
null,
|
|
282
281
|
'Recent : ',
|
|
283
|
-
|
|
282
|
+
React__default.createElement(
|
|
284
283
|
'a',
|
|
285
284
|
{ href: 'view/' + row.recent.url.current },
|
|
286
285
|
row.recent.title
|
|
287
286
|
)
|
|
288
287
|
),
|
|
289
|
-
row.summary &&
|
|
288
|
+
row.summary && React__default.createElement(
|
|
290
289
|
Card.Text,
|
|
291
290
|
null,
|
|
292
|
-
|
|
291
|
+
React__default.createElement(
|
|
293
292
|
'a',
|
|
294
293
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
295
294
|
clean_html_1(row.summary)
|
|
@@ -301,7 +300,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
301
300
|
)
|
|
302
301
|
)
|
|
303
302
|
),
|
|
304
|
-
|
|
303
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
305
304
|
);
|
|
306
305
|
})
|
|
307
306
|
);
|
|
@@ -318,29 +317,29 @@ var DeckQueue = function (_React$Component) {
|
|
|
318
317
|
page = _props.page;
|
|
319
318
|
|
|
320
319
|
|
|
321
|
-
return
|
|
320
|
+
return React__default.createElement(
|
|
322
321
|
'div',
|
|
323
322
|
{ className: 'contentDeck' },
|
|
324
|
-
autoScroll ?
|
|
323
|
+
autoScroll ? React__default.createElement(
|
|
325
324
|
InfiniteScroll,
|
|
326
325
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
327
|
-
|
|
326
|
+
React__default.createElement(
|
|
328
327
|
Container,
|
|
329
328
|
null,
|
|
330
329
|
this.cardLoader(page, columns, variant)
|
|
331
330
|
)
|
|
332
|
-
) :
|
|
333
|
-
|
|
331
|
+
) : React__default.createElement(
|
|
332
|
+
React__default.Fragment,
|
|
334
333
|
null,
|
|
335
|
-
|
|
334
|
+
React__default.createElement(
|
|
336
335
|
Container,
|
|
337
336
|
null,
|
|
338
337
|
this.cardLoader(page, columns, variant)
|
|
339
338
|
),
|
|
340
|
-
|
|
339
|
+
React__default.createElement(
|
|
341
340
|
'div',
|
|
342
341
|
{ style: { padding: '0px 10px' } },
|
|
343
|
-
this.state.scrolling ?
|
|
342
|
+
this.state.scrolling ? React__default.createElement(
|
|
344
343
|
'button',
|
|
345
344
|
{
|
|
346
345
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -348,17 +347,17 @@ var DeckQueue = function (_React$Component) {
|
|
|
348
347
|
_this3.loadMore();
|
|
349
348
|
} },
|
|
350
349
|
'Load More'
|
|
351
|
-
) :
|
|
350
|
+
) : React__default.createElement(
|
|
352
351
|
'p',
|
|
353
352
|
{ style: { textAlign: 'center' } },
|
|
354
|
-
|
|
353
|
+
React__default.createElement(
|
|
355
354
|
'b',
|
|
356
355
|
null,
|
|
357
356
|
'End of data'
|
|
358
357
|
)
|
|
359
358
|
)
|
|
360
359
|
),
|
|
361
|
-
|
|
360
|
+
React__default.createElement(
|
|
362
361
|
'noscript',
|
|
363
362
|
null,
|
|
364
363
|
this.renderManualPagination()
|
|
@@ -369,7 +368,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
369
368
|
}]);
|
|
370
369
|
|
|
371
370
|
return DeckQueue;
|
|
372
|
-
}(
|
|
371
|
+
}(React__default.Component);
|
|
373
372
|
|
|
374
373
|
var Queue = withRouter(DeckQueue);
|
|
375
374
|
|