@mjhls/mjh-framework 1.0.961 → 1.0.962
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +1 -2
- package/dist/cjs/AD300x250x600.js +1 -2
- package/dist/cjs/AD728x90.js +1 -2
- package/dist/cjs/ADFloatingFooter.js +1 -2
- package/dist/cjs/ADGutter.js +1 -2
- package/dist/cjs/ADSkyscraper.js +1 -2
- package/dist/cjs/ADSponsoredResources.js +1 -2
- package/dist/cjs/ADWebcast.js +1 -2
- package/dist/cjs/ADWelcome.js +1 -2
- package/dist/cjs/AdSlot.js +1 -2
- package/dist/cjs/AdSlotsProvider.js +1 -2
- package/dist/cjs/AlgoliaSearch.js +18 -14165
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +6 -7
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +2 -3
- package/dist/cjs/Auth.js +3 -3
- package/dist/cjs/AuthWrapper.js +294 -1470
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-36e54d77.js} +1 -1
- package/dist/cjs/CMEDeck.js +1 -2
- package/dist/cjs/Column3.js +1 -2
- package/dist/cjs/ConferenceArticleCard.js +16 -16
- package/dist/cjs/ContentCardPaginated.js +4 -5
- package/dist/cjs/DeckContent.js +12 -13
- package/dist/cjs/DeckQueue.js +3 -4
- package/dist/cjs/DeckQueuePaginated.js +3 -4
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-94f8ccdf.js} +1 -2
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +6 -7
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +6 -7
- package/dist/cjs/GridContentPaginated.js +6 -7
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/Hero.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +6 -7
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/ImageSlider-a7fb6218.js +182 -0
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +37 -38
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -2
- package/dist/cjs/MasterDeck.js +12 -13
- package/dist/cjs/MasterDeckPaginated.js +11 -12
- package/dist/cjs/{MediaSeriesCard-84d71bc0.js → MediaSeriesCard-a14d2b07.js} +391 -394
- package/dist/cjs/MediaSeriesLanding.js +15 -17
- package/dist/cjs/MediaSeriesLandingPaginated.js +15 -17
- package/dist/cjs/NavMagazine.js +10 -10
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +12 -13
- package/dist/cjs/PartnerDetailListingPaginated.js +12 -13
- package/dist/cjs/PubSection.js +5 -6
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +26 -30
- package/dist/cjs/QueueDeckExpanded.js +5 -6
- package/dist/cjs/QueueDeckExpandedPaginated.js +5 -6
- package/dist/cjs/RelatedContent.js +29 -29
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Segment.js +13 -0
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-b94f1dd5.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +6 -7
- package/dist/cjs/TemplateNormal.js +1 -2
- package/dist/cjs/ThumbnailCard.js +2 -2
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +6 -7
- package/dist/cjs/VideoSeriesCard.js +2 -2
- package/dist/cjs/VideoSeriesLandingPage.js +4 -5
- package/dist/cjs/VideoSeriesListing.js +2 -3
- package/dist/cjs/View.js +10 -11
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
- package/dist/cjs/getRelatedArticle.js +2 -2
- package/dist/cjs/getSerializers.js +6 -7
- package/dist/cjs/{getTargeting-232688b0.js → getTargeting-77bb50ae.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-fc2f1ca2.js → index-0e4427c8.js} +467 -2
- package/dist/cjs/{index-14f52b20.js → index-8eaa4218.js} +4 -4
- package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
- package/dist/cjs/index.js +14 -16
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{util-93a37fd0.js → util-6f784d85.js} +0 -11
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +9 -10
- package/dist/esm/AD300x250x600.js +9 -10
- package/dist/esm/AD728x90.js +9 -10
- package/dist/esm/ADFloatingFooter.js +9 -10
- package/dist/esm/ADFooter.js +3 -3
- package/dist/esm/ADGutter.js +9 -10
- package/dist/esm/{ADInfeed-c977de2e.js → ADInfeed-7f8f87ef.js} +1 -1
- package/dist/esm/ADSkyscraper.js +9 -10
- package/dist/esm/ADSponsoredResources.js +9 -10
- package/dist/esm/ADWebcast.js +9 -10
- package/dist/esm/ADWelcome.js +9 -10
- package/dist/esm/{ADlgInfeed-59c5eb30.js → ADlgInfeed-9c8fd92d.js} +1 -1
- package/dist/esm/AccordionPanel.js +3 -3
- package/dist/esm/AdSlot.js +9 -10
- package/dist/esm/AdSlotsProvider.js +6 -7
- package/dist/esm/AlgoliaSearch.js +19 -14166
- package/dist/esm/AlphabeticList.js +7 -7
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +22 -23
- package/dist/esm/ArticleSeriesLandingPage.js +18 -19
- package/dist/esm/ArticleSeriesListing.js +12 -13
- package/dist/esm/Auth.js +12 -12
- package/dist/esm/AuthWrapper.js +291 -1467
- package/dist/esm/{AuthorComponent-0ee8667f.js → AuthorComponent-5af8db6e.js} +1 -1
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-c99c9a8d.js} +1 -1
- package/dist/esm/Breadcrumbs.js +3 -3
- package/dist/esm/CMEDeck.js +8 -9
- package/dist/esm/Column2.js +7 -7
- package/dist/esm/Column3.js +11 -12
- package/dist/esm/ConferenceArticleCard.js +19 -19
- package/dist/esm/ContentCardPaginated.js +18 -19
- package/dist/esm/DeckContent.js +26 -27
- package/dist/esm/DeckQueue.js +15 -16
- package/dist/esm/DeckQueuePaginated.js +16 -17
- package/dist/esm/{Dfp-08c829a1.js → Dfp-ac9a746b.js} +4 -5
- package/dist/esm/EventsDeck.js +28 -28
- package/dist/esm/ExternalResources.js +22 -23
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +5 -5
- package/dist/esm/GridContent.js +21 -22
- package/dist/esm/GridContentPaginated.js +21 -22
- package/dist/esm/GridHero.js +6 -6
- package/dist/esm/GroupDeck.js +6 -6
- package/dist/esm/HamMagazine.js +16 -16
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +5 -5
- package/dist/esm/HorizontalArticleListing.js +22 -23
- package/dist/esm/HorizontalHero.js +4 -4
- package/dist/esm/ImageSlider-61b3f696.js +176 -0
- package/dist/esm/IssueContentDeck.js +5 -5
- package/dist/esm/IssueDeck.js +8 -8
- package/dist/esm/IssueLanding.js +54 -55
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +9 -10
- package/dist/esm/MasterDeck.js +26 -27
- package/dist/esm/MasterDeckPaginated.js +25 -26
- package/dist/esm/{MediaSeriesCard-ab6bfc30.js → MediaSeriesCard-6e03db36.js} +107 -110
- package/dist/esm/MediaSeriesLanding.js +31 -33
- package/dist/esm/MediaSeriesLandingPaginated.js +31 -33
- package/dist/esm/NavDvm.js +6 -6
- package/dist/esm/NavMagazine.js +17 -17
- package/dist/esm/NavNative.js +15 -15
- package/dist/esm/OncliveHero.js +4 -4
- package/dist/esm/OncliveLargeHero.js +6 -6
- package/dist/esm/PageFilter.js +3 -3
- package/dist/esm/PartnerDetailListing.js +28 -29
- package/dist/esm/PartnerDetailListingPaginated.js +28 -29
- package/dist/esm/PopUpModal.js +3 -3
- package/dist/esm/PubSection.js +15 -16
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +4 -4
- package/dist/esm/PublicationLanding.js +36 -40
- package/dist/esm/QueueDeckExpanded.js +15 -16
- package/dist/esm/QueueDeckExpandedPaginated.js +15 -16
- package/dist/esm/RelatedContent.js +32 -32
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +9 -9
- package/dist/esm/Search.js +3 -3
- package/dist/esm/Segment.js +18 -5
- package/dist/esm/SeriesListingDeck.js +10 -11
- package/dist/esm/{SeriesSlider-19bf6ce4.js → SeriesSlider-b1a525f3.js} +5 -5
- package/dist/esm/SideFooter.js +9 -9
- package/dist/esm/{SocialSearchComponent-e9a67eff.js → SocialSearchComponent-4b8197b5.js} +1 -1
- package/dist/esm/TaxonomyCard.js +7 -7
- package/dist/esm/TaxonomyDescription.js +22 -23
- package/dist/esm/TemplateNormal.js +12 -13
- package/dist/esm/ThumbnailCard.js +5 -5
- package/dist/esm/Ustream.js +6 -6
- package/dist/esm/VerticalHero.js +4 -4
- package/dist/esm/VideoProgramLandingPage.js +22 -23
- package/dist/esm/VideoSeriesCard.js +7 -7
- package/dist/esm/VideoSeriesFilter.js +5 -5
- package/dist/esm/VideoSeriesLandingPage.js +18 -19
- package/dist/esm/VideoSeriesListing.js +12 -13
- package/dist/esm/View.js +27 -28
- package/dist/esm/YahooHero.js +6 -6
- package/dist/esm/YoutubeGroup.js +8 -8
- package/dist/esm/{_is-array-e96276c2.js → _is-array-4968274f.js} +1 -1
- package/dist/esm/{_iter-detect-c9bd22b3.js → _iter-detect-3c388a81.js} +1 -1
- package/dist/esm/{_object-sap-67a80efe.js → _object-sap-fafe46a7.js} +1 -1
- package/dist/esm/{_object-to-array-d97ca761.js → _object-to-array-574037a4.js} +1 -1
- package/dist/esm/{assign-b681604f.js → assign-e335597a.js} +1 -1
- package/dist/esm/{asyncToGenerator-b799d461.js → asyncToGenerator-652d13cf.js} +3 -3
- package/dist/esm/{core.get-iterator-method-2623c4c7.js → core.get-iterator-method-7d6dfa32.js} +1 -1
- package/dist/esm/{define-property-615946df.js → define-property-61d2acee.js} +1 -1
- package/dist/esm/{defineProperty-3cabb189.js → defineProperty-fe6edc24.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
- package/dist/esm/{extends-19fcf571.js → extends-333e03ff.js} +1 -1
- package/dist/esm/faundadb.js +4 -4
- package/dist/esm/getRelatedArticle.js +7 -7
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +22 -23
- package/dist/esm/{getTargeting-d519d2b6.js → getTargeting-effef60f.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/{index-c024b4b0.js → index-b3e3e7a2.js} +14 -14
- package/dist/esm/index.js +34 -36
- package/dist/esm/{inherits-44a60f2b.js → inherits-50d71c3d.js} +4 -4
- package/dist/esm/{keys-8c05d049.js → keys-ac99b36a.js} +2 -2
- package/dist/esm/{slicedToArray-a5ed2ac8.js → slicedToArray-61f99c84.js} +2 -2
- package/dist/esm/{stringify-e20934cc.js → stringify-9121a4fa.js} +1 -1
- package/dist/esm/{toConsumableArray-aac0b14a.js → toConsumableArray-71eb6345.js} +2 -2
- package/dist/esm/{typeof-af09aa11.js → typeof-a03c352b.js} +3 -3
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-3ad576be.js → urlForFile-e0818feb.js} +1 -1
- package/dist/esm/{ustream-api-4e6b20ce.js → ustream-api-4ef22459.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-3ab476bf.js} +0 -11
- package/dist/esm/{web.dom.iterable-357ab671.js → web.dom.iterable-19f19f44.js} +1 -1
- package/package.json +115 -115
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/ImageSlider-8a3401ec.js +0 -2804
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/cjs/{ADInfeed-e0645296.js → ADInfeed-763edfdd.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-c9bd09b8.js → ADlgInfeed-c96dda5a.js} +0 -0
- /package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-be5f3503.js} +0 -0
- /package/dist/esm/{PublicationFeature-c65b005a.js → PublicationFeature-9afc6911.js} +0 -0
package/dist/esm/Feature.js
CHANGED
|
@@ -2,11 +2,11 @@ import React__default from 'react';
|
|
|
2
2
|
import urlFor from './urlFor.js';
|
|
3
3
|
import { m as main_43 } from './main-1894c974.js';
|
|
4
4
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
|
-
import './slicedToArray-
|
|
5
|
+
import './slicedToArray-61f99c84.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-
|
|
8
|
-
import './core.get-iterator-method-
|
|
9
|
-
import './index-
|
|
7
|
+
import './web.dom.iterable-19f19f44.js';
|
|
8
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
9
|
+
import './index-0dbff1d1.js';
|
|
10
10
|
|
|
11
11
|
//Feature query to be used
|
|
12
12
|
// const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
4
|
+
import { A as AuthorComponent } from './AuthorComponent-5af8db6e.js';
|
|
5
5
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './slicedToArray-
|
|
8
|
-
import './web.dom.iterable-
|
|
9
|
-
import './core.get-iterator-method-
|
|
10
|
-
import './index-
|
|
7
|
+
import './slicedToArray-61f99c84.js';
|
|
8
|
+
import './web.dom.iterable-19f19f44.js';
|
|
9
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
10
|
+
import './index-0dbff1d1.js';
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
3
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-71eb6345.js';
|
|
2
|
+
import { _ as _extends } from './extends-333e03ff.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-50d71c3d.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
6
6
|
import Container from 'react-bootstrap/Container';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
@@ -11,10 +11,10 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
|
11
11
|
import { m as moment } from './moment-bc12cb97.js';
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
13
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
|
-
import { c as clean_html_1 } from './entities-
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-7f8f87ef.js';
|
|
16
16
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-9c8fd92d.js';
|
|
18
18
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
19
|
import { g as get_1 } from './get-3c308da4.js';
|
|
20
20
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
@@ -22,32 +22,31 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
22
22
|
import urlFor from './urlFor.js';
|
|
23
23
|
import { m as main_43 } from './main-1894c974.js';
|
|
24
24
|
import './AD.js';
|
|
25
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
26
|
-
import { P as PublicationFeature } from './PublicationFeature-
|
|
25
|
+
import { A as AuthorComponent } from './AuthorComponent-5af8db6e.js';
|
|
26
|
+
import { P as PublicationFeature } from './PublicationFeature-9afc6911.js';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
|
-
import './core.get-iterator-method-
|
|
29
|
-
import './_iter-detect-
|
|
30
|
-
import './assign-
|
|
28
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
29
|
+
import './_iter-detect-3c388a81.js';
|
|
30
|
+
import './assign-e335597a.js';
|
|
31
31
|
import './_object-pie-133f504a.js';
|
|
32
|
-
import './_object-sap-
|
|
33
|
-
import './define-property-
|
|
34
|
-
import './typeof-
|
|
35
|
-
import './web.dom.iterable-
|
|
36
|
-
import './_is-array-
|
|
32
|
+
import './_object-sap-fafe46a7.js';
|
|
33
|
+
import './define-property-61d2acee.js';
|
|
34
|
+
import './typeof-a03c352b.js';
|
|
35
|
+
import './web.dom.iterable-19f19f44.js';
|
|
36
|
+
import './_is-array-4968274f.js';
|
|
37
37
|
import './_library-528f1934.js';
|
|
38
|
-
import './events-6c3a7a63.js';
|
|
39
38
|
import 'prop-types';
|
|
40
39
|
import 'react-dom';
|
|
41
|
-
import './slicedToArray-
|
|
40
|
+
import './slicedToArray-61f99c84.js';
|
|
42
41
|
import './AdSlot.js';
|
|
43
42
|
import './Beam.js';
|
|
44
|
-
import './stringify-
|
|
45
|
-
import './asyncToGenerator-
|
|
43
|
+
import './stringify-9121a4fa.js';
|
|
44
|
+
import './asyncToGenerator-652d13cf.js';
|
|
46
45
|
import './Segment.js';
|
|
47
46
|
import './isSymbol-a7e9aafe.js';
|
|
48
47
|
import './eq-bdcbf886.js';
|
|
49
48
|
import './toNumber-5aeba6e7.js';
|
|
50
|
-
import './index-
|
|
49
|
+
import './index-0dbff1d1.js';
|
|
51
50
|
import 'react-bootstrap/Button';
|
|
52
51
|
|
|
53
52
|
var GridContent = function (_React$Component) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
2
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
3
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
4
|
-
import { _ as _extends } from './extends-
|
|
5
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
1
|
+
import { _ as _JSON$stringify } from './stringify-9121a4fa.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-71eb6345.js';
|
|
3
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-652d13cf.js';
|
|
4
|
+
import { _ as _extends } from './extends-333e03ff.js';
|
|
5
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-50d71c3d.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
-
import { l as lib_3 } from './index-
|
|
7
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
8
8
|
import Container from 'react-bootstrap/Container';
|
|
9
9
|
import Row from 'react-bootstrap/Row';
|
|
10
10
|
import Col from 'react-bootstrap/Col';
|
|
@@ -12,33 +12,32 @@ import Card from 'react-bootstrap/Card';
|
|
|
12
12
|
import { m as moment } from './moment-bc12cb97.js';
|
|
13
13
|
import { withRouter } from 'next/router';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
|
-
import { c as clean_html_1 } from './entities-
|
|
16
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
16
|
+
import { A as ADInfeed } from './ADInfeed-7f8f87ef.js';
|
|
17
17
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-9c8fd92d.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import { g as get_1 } from './get-3c308da4.js';
|
|
21
21
|
import urlFor from './urlFor.js';
|
|
22
22
|
import { m as main_43 } from './main-1894c974.js';
|
|
23
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
24
|
-
import { P as PublicationFeature } from './PublicationFeature-
|
|
23
|
+
import { A as AuthorComponent } from './AuthorComponent-5af8db6e.js';
|
|
24
|
+
import { P as PublicationFeature } from './PublicationFeature-9afc6911.js';
|
|
25
25
|
import { P as Pagination } from './Pagination-6f8d5327.js';
|
|
26
26
|
import Spinner from 'react-bootstrap/Spinner';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
|
-
import './core.get-iterator-method-
|
|
29
|
-
import './_iter-detect-
|
|
30
|
-
import './web.dom.iterable-
|
|
28
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
29
|
+
import './_iter-detect-3c388a81.js';
|
|
30
|
+
import './web.dom.iterable-19f19f44.js';
|
|
31
31
|
import './_library-528f1934.js';
|
|
32
|
-
import './assign-
|
|
32
|
+
import './assign-e335597a.js';
|
|
33
33
|
import './_object-pie-133f504a.js';
|
|
34
|
-
import './_object-sap-
|
|
35
|
-
import './define-property-
|
|
36
|
-
import './typeof-
|
|
37
|
-
import './_is-array-
|
|
38
|
-
import './events-6c3a7a63.js';
|
|
34
|
+
import './_object-sap-fafe46a7.js';
|
|
35
|
+
import './define-property-61d2acee.js';
|
|
36
|
+
import './typeof-a03c352b.js';
|
|
37
|
+
import './_is-array-4968274f.js';
|
|
39
38
|
import 'prop-types';
|
|
40
39
|
import 'react-dom';
|
|
41
|
-
import './slicedToArray-
|
|
40
|
+
import './slicedToArray-61f99c84.js';
|
|
42
41
|
import './AdSlot.js';
|
|
43
42
|
import './debounce-533d9748.js';
|
|
44
43
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -46,7 +45,7 @@ import './toNumber-5aeba6e7.js';
|
|
|
46
45
|
import './Beam.js';
|
|
47
46
|
import './Segment.js';
|
|
48
47
|
import './eq-bdcbf886.js';
|
|
49
|
-
import './index-
|
|
48
|
+
import './index-0dbff1d1.js';
|
|
50
49
|
import 'react-bootstrap/Button';
|
|
51
50
|
import 'react-paginate';
|
|
52
51
|
import './index.esm-1bd8a0a8.js';
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-
|
|
4
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
5
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
6
|
+
import { A as AuthorComponent } from './AuthorComponent-5af8db6e.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './slicedToArray-
|
|
9
|
-
import './web.dom.iterable-
|
|
10
|
-
import './core.get-iterator-method-
|
|
11
|
-
import './index-
|
|
8
|
+
import './slicedToArray-61f99c84.js';
|
|
9
|
+
import './web.dom.iterable-19f19f44.js';
|
|
10
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
11
|
+
import './index-0dbff1d1.js';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ as _typeof } from './typeof-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _typeof } from './typeof-a03c352b.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-61f99c84.js';
|
|
3
3
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './core.get-iterator-method-
|
|
9
|
-
import './web.dom.iterable-
|
|
10
|
-
import './_is-array-
|
|
8
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
9
|
+
import './web.dom.iterable-19f19f44.js';
|
|
10
|
+
import './_is-array-4968274f.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
12
12
|
import './_library-528f1934.js';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-0dbff1d1.js';
|
|
14
14
|
|
|
15
15
|
var GroupDeck = function GroupDeck(props) {
|
|
16
16
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-61f99c84.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
4
4
|
import { S as SocialNavFooter } from './index.esm-37268dca.js';
|
|
5
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
5
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-4b8197b5.js';
|
|
6
6
|
import 'react-bootstrap/Form';
|
|
7
7
|
import 'react-bootstrap/FormControl';
|
|
8
8
|
import 'react-bootstrap/Button';
|
|
@@ -15,28 +15,28 @@ import { M as MdEmail } from './index.esm-9b042655.js';
|
|
|
15
15
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
16
16
|
import { m as main_43, c as main_44 } from './main-1894c974.js';
|
|
17
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
18
|
-
import './web.dom.iterable-
|
|
19
|
-
import './core.get-iterator-method-
|
|
18
|
+
import './web.dom.iterable-19f19f44.js';
|
|
19
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
20
20
|
import './react-social-icons-9be47857.js';
|
|
21
21
|
import 'prop-types';
|
|
22
22
|
import './iconBase-ccc56b97.js';
|
|
23
23
|
import './SocialIcons.js';
|
|
24
|
-
import './assign-
|
|
24
|
+
import './assign-e335597a.js';
|
|
25
25
|
import './_object-pie-133f504a.js';
|
|
26
|
-
import './asyncToGenerator-
|
|
26
|
+
import './asyncToGenerator-652d13cf.js';
|
|
27
27
|
import './_library-528f1934.js';
|
|
28
|
-
import './_iter-detect-
|
|
28
|
+
import './_iter-detect-3c388a81.js';
|
|
29
29
|
|
|
30
30
|
var HamMagazine = function HamMagazine(props) {
|
|
31
|
-
/*
|
|
32
|
-
Example Nav with acceptable props
|
|
33
|
-
<MagazineNav
|
|
34
|
-
showLogin
|
|
35
|
-
logo={props.settings.logo}
|
|
36
|
-
dataObject={props.cache.mainNavCache}
|
|
37
|
-
website={website}
|
|
38
|
-
subNav={props.cache.subNavCache}
|
|
39
|
-
/>
|
|
31
|
+
/*
|
|
32
|
+
Example Nav with acceptable props
|
|
33
|
+
<MagazineNav
|
|
34
|
+
showLogin
|
|
35
|
+
logo={props.settings.logo}
|
|
36
|
+
dataObject={props.cache.mainNavCache}
|
|
37
|
+
website={website}
|
|
38
|
+
subNav={props.cache.subNavCache}
|
|
39
|
+
/>
|
|
40
40
|
*/
|
|
41
41
|
|
|
42
42
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
|
@@ -4,7 +4,7 @@ import Modal from 'react-bootstrap/Modal';
|
|
|
4
4
|
import Button from 'react-bootstrap/Button';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
|
7
|
-
var css = ".HealthcareProfessionalModal-module_container__HUaSr {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0,0,0,.1);\n z-index: 9999999999;\n display: grid;\n place-items: center;\n}\n.HealthcareProfessionalModal-module_modal__31CzM{\n background: #fff;\n padding: 1.5rem;\n text-align: center;\n position: relative;\n width: 400px;\n max-width: 90vw;\n\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\n transform: translateY(0);\n opacity:1;\n}\n.HealthcareProfessionalModal-module_header__3uIr7 {\n background-color: #0d335a;\nposition: absolute;\n padding: 1rem;\n width: 80%;\ntop: 0;\nleft: 50%;\ntransform: translateX(-50%) translateY(-50%) ;\n border-radius: 15px;\n}\n.HealthcareProfessionalModal-module_body__3bnyN {\n color: #202020;\n}\n.HealthcareProfessionalModal-module_body__3bnyN span{\n font-weight: bold;\n}\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n.HealthcareProfessionalModal-module_controls__1wXJl button {\n margin: 1.5rem 1rem;\n border-radius: 5px;\n font-size: 1rem;\n}\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\n from{\n transform: translateY(25px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity:1;\n }\n}";
|
|
7
|
+
var css = ".HealthcareProfessionalModal-module_container__HUaSr {\r\n position: fixed;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n background: rgba(0,0,0,.1);\r\n z-index: 9999999999;\r\n display: grid;\r\n place-items: center;\r\n}\r\n.HealthcareProfessionalModal-module_modal__31CzM{\r\n background: #fff;\r\n padding: 1.5rem;\r\n text-align: center;\r\n position: relative;\r\n width: 400px;\r\n max-width: 90vw;\r\n\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\r\n transform: translateY(0);\r\n opacity:1;\r\n}\r\n.HealthcareProfessionalModal-module_header__3uIr7 {\r\n background-color: #0d335a;\r\nposition: absolute;\r\n padding: 1rem;\r\n width: 80%;\r\ntop: 0;\r\nleft: 50%;\r\ntransform: translateX(-50%) translateY(-50%) ;\r\n border-radius: 15px;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN {\r\n color: #202020;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN span{\r\n font-weight: bold;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\r\n font-size: 24px;\r\n margin-bottom: 1rem;\r\n}\r\n.HealthcareProfessionalModal-module_controls__1wXJl button {\r\n margin: 1.5rem 1rem;\r\n border-radius: 5px;\r\n font-size: 1rem;\r\n}\r\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\r\n from{\r\n transform: translateY(25px);\r\n opacity: 0;\r\n }\r\n to {\r\n transform: translateY(0);\r\n opacity:1;\r\n }\r\n}";
|
|
8
8
|
var styles = { "container": "HealthcareProfessionalModal-module_container__HUaSr", "modal": "HealthcareProfessionalModal-module_modal__31CzM", "show": "HealthcareProfessionalModal-module_show__3soMo", "header": "HealthcareProfessionalModal-module_header__3uIr7", "body": "HealthcareProfessionalModal-module_body__3bnyN", "title": "HealthcareProfessionalModal-module_title__27l5n", "controls": "HealthcareProfessionalModal-module_controls__1wXJl" };
|
|
9
9
|
styleInject(css);
|
|
10
10
|
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { Card } from 'react-bootstrap';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-
|
|
5
|
-
import './slicedToArray-
|
|
4
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
+
import './slicedToArray-61f99c84.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-
|
|
8
|
-
import './core.get-iterator-method-
|
|
9
|
-
import './index-
|
|
7
|
+
import './web.dom.iterable-19f19f44.js';
|
|
8
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
9
|
+
import './index-0dbff1d1.js';
|
|
10
10
|
|
|
11
11
|
var Hero = function Hero(_ref) {
|
|
12
12
|
var data = _ref.data,
|
|
@@ -1,39 +1,38 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { _ as _extends } from './extends-333e03ff.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
5
|
-
import { B as BlockContent } from './BlockContent-
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
6
|
+
import { g as getSerializers } from './index-b3e3e7a2.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './assign-
|
|
9
|
-
import './core.get-iterator-method-
|
|
8
|
+
import './assign-e335597a.js';
|
|
9
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
10
10
|
import './_object-pie-133f504a.js';
|
|
11
11
|
import './YoutubeGroup.js';
|
|
12
|
-
import './slicedToArray-
|
|
13
|
-
import './web.dom.iterable-
|
|
12
|
+
import './slicedToArray-61f99c84.js';
|
|
13
|
+
import './web.dom.iterable-19f19f44.js';
|
|
14
14
|
import './index-c7e2ac95.js';
|
|
15
15
|
import './index-755f2cc2.js';
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import './smoothscroll-fa4e3f8c.js';
|
|
19
19
|
import './urlFor.js';
|
|
20
|
-
import './index-
|
|
20
|
+
import './index-0dbff1d1.js';
|
|
21
21
|
import './main-1894c974.js';
|
|
22
22
|
import './iconBase-ccc56b97.js';
|
|
23
23
|
import 'react-bootstrap';
|
|
24
|
-
import './index-
|
|
25
|
-
import './events-6c3a7a63.js';
|
|
24
|
+
import './index-5cc7b406.js';
|
|
26
25
|
import 'next/router';
|
|
27
|
-
import './util-
|
|
26
|
+
import './util-3ab476bf.js';
|
|
28
27
|
import './Beam.js';
|
|
29
|
-
import './stringify-
|
|
30
|
-
import './asyncToGenerator-
|
|
28
|
+
import './stringify-9121a4fa.js';
|
|
29
|
+
import './asyncToGenerator-652d13cf.js';
|
|
31
30
|
import './_library-528f1934.js';
|
|
32
|
-
import './_iter-detect-
|
|
31
|
+
import './_iter-detect-3c388a81.js';
|
|
33
32
|
import './Segment.js';
|
|
34
|
-
import './urlForFile-
|
|
35
|
-
import './typeof-
|
|
36
|
-
import './_is-array-
|
|
33
|
+
import './urlForFile-e0818feb.js';
|
|
34
|
+
import './typeof-a03c352b.js';
|
|
35
|
+
import './_is-array-4968274f.js';
|
|
37
36
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
38
37
|
import 'react-bootstrap/Modal';
|
|
39
38
|
import 'react-bootstrap/Button';
|
|
@@ -43,19 +42,19 @@ import './moment-bc12cb97.js';
|
|
|
43
42
|
import './SocialShare.js';
|
|
44
43
|
import 'next/head';
|
|
45
44
|
import 'react-share';
|
|
46
|
-
import './_object-to-array-
|
|
47
|
-
import './toConsumableArray-
|
|
45
|
+
import './_object-to-array-574037a4.js';
|
|
46
|
+
import './toConsumableArray-71eb6345.js';
|
|
48
47
|
import 'react-bootstrap/Pagination';
|
|
49
|
-
import './entities-
|
|
48
|
+
import './entities-932b50cf.js';
|
|
50
49
|
import './AdSlot.js';
|
|
51
50
|
import './debounce-533d9748.js';
|
|
52
51
|
import './isSymbol-a7e9aafe.js';
|
|
53
52
|
import './toNumber-5aeba6e7.js';
|
|
54
53
|
import 'react-bootstrap/Row';
|
|
55
54
|
import 'react-bootstrap/Col';
|
|
56
|
-
import './inherits-
|
|
57
|
-
import './_object-sap-
|
|
58
|
-
import './define-property-
|
|
55
|
+
import './inherits-50d71c3d.js';
|
|
56
|
+
import './_object-sap-fafe46a7.js';
|
|
57
|
+
import './define-property-61d2acee.js';
|
|
59
58
|
import 'react-bootstrap/Figure';
|
|
60
59
|
import 'react-bootstrap/OverlayTrigger';
|
|
61
60
|
import 'react-bootstrap/Tooltip';
|
|
@@ -3,10 +3,10 @@ import './moment-bc12cb97.js';
|
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
4
|
import { a as FaLongArrowAltRight } from './index.esm-1bd8a0a8.js';
|
|
5
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './slicedToArray-
|
|
7
|
-
import './web.dom.iterable-
|
|
8
|
-
import './core.get-iterator-method-
|
|
9
|
-
import './index-
|
|
6
|
+
import './slicedToArray-61f99c84.js';
|
|
7
|
+
import './web.dom.iterable-19f19f44.js';
|
|
8
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
9
|
+
import './index-0dbff1d1.js';
|
|
10
10
|
import './iconBase-ccc56b97.js';
|
|
11
11
|
|
|
12
12
|
var HorizontalHero = function HorizontalHero(props) {
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-61f99c84.js';
|
|
2
|
+
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
|
+
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
4
|
+
import urlFor from './urlFor.js';
|
|
5
|
+
|
|
6
|
+
var ImageSlider = function ImageSlider(props) {
|
|
7
|
+
var innerSlider = useRef(null);
|
|
8
|
+
var tile = useRef(null);
|
|
9
|
+
var viewableWindow = useRef(null);
|
|
10
|
+
|
|
11
|
+
var _useState = useState(0),
|
|
12
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
13
|
+
tileSize = _useState2[0],
|
|
14
|
+
setTileSize = _useState2[1];
|
|
15
|
+
|
|
16
|
+
var _useState3 = useState(false),
|
|
17
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
18
|
+
showScroller = _useState4[0],
|
|
19
|
+
setShowScroller = _useState4[1];
|
|
20
|
+
|
|
21
|
+
var _useState5 = useState(0),
|
|
22
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
23
|
+
scrollPosition = _useState6[0],
|
|
24
|
+
setScrollPosition = _useState6[1];
|
|
25
|
+
|
|
26
|
+
var client = props.client;
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
function scrollSlider(e, direction) {
|
|
30
|
+
var slide = e.target.parentElement;
|
|
31
|
+
var scrollOffset = scrollPosition;
|
|
32
|
+
var viewableWidth = slide.clientWidth;
|
|
33
|
+
//calculate viewable size / slide
|
|
34
|
+
var numberOfSlidesToScroll = Math.floor(tile.current.clientWidth + 25); //width of the tile plus margin
|
|
35
|
+
var scrollDirection = void 0;
|
|
36
|
+
if (direction === 'next') {
|
|
37
|
+
scrollDirection = scrollOffset + numberOfSlidesToScroll;
|
|
38
|
+
if (scrollOffset + viewableWidth + 25 >= innerSlider.current.offsetWidth) {
|
|
39
|
+
scrollDirection = 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
if (direction === 'prev') {
|
|
43
|
+
scrollDirection = scrollOffset - numberOfSlidesToScroll;
|
|
44
|
+
if (scrollOffset === 0) {
|
|
45
|
+
if (window.innerWidth > 1399) {
|
|
46
|
+
scrollDirection = innerSlider.current.offsetWidth - tileSize * 3 - 70;
|
|
47
|
+
}
|
|
48
|
+
if (window.innerWidth < 1399 && window.innerWidth > 592) {
|
|
49
|
+
scrollDirection = innerSlider.current.offsetWidth - tileSize * 2 - 40;
|
|
50
|
+
}
|
|
51
|
+
if (window.innerWidth < 592) {
|
|
52
|
+
scrollDirection = innerSlider.current.offsetWidth - tileSize * 1 - 24;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
slide.scrollTo({
|
|
57
|
+
left: scrollDirection,
|
|
58
|
+
behavior: 'smooth'
|
|
59
|
+
});
|
|
60
|
+
setScrollPosition(scrollDirection);
|
|
61
|
+
}
|
|
62
|
+
var setThumbSize = function setThumbSize() {
|
|
63
|
+
var thumbSize = void 0;
|
|
64
|
+
var scrollerVisible = false;
|
|
65
|
+
if (window.innerWidth > 1399) {
|
|
66
|
+
if (props.data.slides && props.data.slides.length < 3) {
|
|
67
|
+
thumbSize = Math.floor(viewableWindow.current.clientWidth / 2 - 40);
|
|
68
|
+
} else {
|
|
69
|
+
thumbSize = Math.floor(viewableWindow.current.clientWidth / 3 - 40);
|
|
70
|
+
}
|
|
71
|
+
if (props.data.slides.length > 3) {
|
|
72
|
+
scrollerVisible = true;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
if (window.innerWidth < 1399 && window.innerWidth > 592) {
|
|
76
|
+
thumbSize = Math.floor(viewableWindow.current.clientWidth / 2 - 48);
|
|
77
|
+
if (props.data.slides.length > 2) {
|
|
78
|
+
scrollerVisible = true;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (window.innerWidth < 592) {
|
|
82
|
+
thumbSize = Math.floor(viewableWindow.current.clientWidth / 1 - 64);
|
|
83
|
+
if (props.data.slides.length > 1) {
|
|
84
|
+
scrollerVisible = true;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (thumbSize !== tileSize) {
|
|
88
|
+
setTileSize(thumbSize);
|
|
89
|
+
setScrollPosition(0);
|
|
90
|
+
setShowScroller(scrollerVisible);
|
|
91
|
+
var videoRows = document.querySelectorAll('#vid-slider .row');
|
|
92
|
+
for (var i = 0; i < videoRows.length; i++) {
|
|
93
|
+
videoRows[i].scrollTo({
|
|
94
|
+
left: 0,
|
|
95
|
+
behavior: 'smooth'
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
useEffect(function () {
|
|
101
|
+
//IE11 Polyfill
|
|
102
|
+
smoothscroll.polyfill();
|
|
103
|
+
setThumbSize();
|
|
104
|
+
|
|
105
|
+
window.addEventListener('resize', setThumbSize);
|
|
106
|
+
|
|
107
|
+
return function () {
|
|
108
|
+
return window.removeEventListener('resize', setThumbSize);
|
|
109
|
+
};
|
|
110
|
+
}, []);
|
|
111
|
+
|
|
112
|
+
var variant = 'black';
|
|
113
|
+
return React__default.createElement(
|
|
114
|
+
React__default.Fragment,
|
|
115
|
+
null,
|
|
116
|
+
React__default.createElement(
|
|
117
|
+
'div',
|
|
118
|
+
{ ref: viewableWindow, id: 'vid-slider', className: 'col' },
|
|
119
|
+
React__default.createElement(
|
|
120
|
+
'div',
|
|
121
|
+
{ className: 'row' },
|
|
122
|
+
showScroller && React__default.createElement(
|
|
123
|
+
'div',
|
|
124
|
+
{ onClick: function onClick(e) {
|
|
125
|
+
return scrollSlider(e, 'prev');
|
|
126
|
+
}, className: 'tile__slider-prev', style: { color: variant } },
|
|
127
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
|
|
128
|
+
),
|
|
129
|
+
showScroller && React__default.createElement(
|
|
130
|
+
'div',
|
|
131
|
+
{ onClick: function onClick(e) {
|
|
132
|
+
return scrollSlider(e, 'next');
|
|
133
|
+
}, className: 'tile__slider-next', style: { color: variant } },
|
|
134
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
|
|
135
|
+
),
|
|
136
|
+
React__default.createElement(
|
|
137
|
+
'div',
|
|
138
|
+
{ ref: innerSlider, className: 'row__inner' },
|
|
139
|
+
props.data.slides.map(function (img, index) {
|
|
140
|
+
var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
|
|
141
|
+
if (!img.slideshowImage.link) {
|
|
142
|
+
return React__default.createElement(
|
|
143
|
+
'div',
|
|
144
|
+
{ ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
|
|
145
|
+
React__default.createElement(
|
|
146
|
+
'div',
|
|
147
|
+
{ className: 'tile__media' },
|
|
148
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px', maxHeight: '160px' } })
|
|
149
|
+
),
|
|
150
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
151
|
+
);
|
|
152
|
+
} else {
|
|
153
|
+
return React__default.createElement(
|
|
154
|
+
'a',
|
|
155
|
+
{ ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
|
|
156
|
+
React__default.createElement(
|
|
157
|
+
'div',
|
|
158
|
+
{ className: 'tile__media' },
|
|
159
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px', maxHeight: '160px' } })
|
|
160
|
+
),
|
|
161
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
})
|
|
165
|
+
)
|
|
166
|
+
),
|
|
167
|
+
React__default.createElement(
|
|
168
|
+
'style',
|
|
169
|
+
{ jsx: 'true' },
|
|
170
|
+
'\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 1.5rem;\n margin-bottom: 0 !important;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider,\n #vidHolder {\n max-width: 775px;\n margin: 0 auto;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider a:hover {\n color: #7f8c8d;\n text-decoration: underline;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: scroll;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin: 25px 0 70px !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n margin: 0 12px;\n font-size: 20px;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n \n #vid-slider .tile:first-child {\n margin-left: 15px;\n }\n #vid-slider .tile__img {\n height: auto;\n -o-object-fit: contain;\n object-fit: contain;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n \n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n \n #vid-slider .tile__title {\n position: absolute;\n bottom: 0;\n padding: 10px;\n max-width: 250px;\n }\n #vid-slider .tile__title_text {\n position: relative;\n left: 0;\n white-space: normal;\n }\n \n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: .5rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: .5rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n }\n \n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (min-width: 1399px) {\n .block-content #vid-slider .tile__img {\n height: auto;\n }\n .block-content #vid-slider .tile {\n height: auto;\n }\n }\n \n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n max-width: 620px;\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n max-width: 580px;\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 60px 0 50px !important;\n }\n }\n \n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n }\n @media screen and (max-width: 568px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 30px 0 70px;\n }\n }\n '
|
|
171
|
+
)
|
|
172
|
+
)
|
|
173
|
+
);
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
export { ImageSlider as I };
|
|
@@ -6,14 +6,14 @@ import Badge from 'react-bootstrap/Badge';
|
|
|
6
6
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
7
7
|
import urlFor from './urlFor.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
9
|
+
import { A as AuthorComponent } from './AuthorComponent-5af8db6e.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './slicedToArray-
|
|
14
|
-
import './web.dom.iterable-
|
|
15
|
-
import './core.get-iterator-method-
|
|
16
|
-
import './index-
|
|
13
|
+
import './slicedToArray-61f99c84.js';
|
|
14
|
+
import './web.dom.iterable-19f19f44.js';
|
|
15
|
+
import './core.get-iterator-method-7d6dfa32.js';
|
|
16
|
+
import './index-0dbff1d1.js';
|
|
17
17
|
|
|
18
18
|
var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
19
19
|
var title = props.title,
|