@mjhls/mjh-framework 1.0.1021 → 1.0.1023-blanktagremoval-v1
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/{ADInfeed-5dabd71d.js → ADInfeed-89488c41.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/{ADlgInfeed-1766ce0a.js → ADlgInfeed-9d62050b.js} +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/Auth.js +1493 -11
- package/dist/cjs/AuthWrapper.js +1484 -294
- package/dist/cjs/CEDeckSupabase.js +2 -2
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column2.js +4 -2
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -3
- package/dist/cjs/DeckContent.js +11 -11
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +6 -6
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/GridContentPaginated.js +4 -4
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +52 -50
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/{ImageSlider-fd0cc91c.js → ImageSlider-50807a77.js} +83 -145
- package/dist/cjs/IssueLanding.js +34 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +14 -15
- package/dist/cjs/MasterDeck.js +11 -11
- package/dist/cjs/MasterDeckPaginated.js +11 -11
- package/dist/cjs/{MediaSeriesCard-ae205d40.js → MediaSeriesCard-de7f7fcc.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +13 -13
- package/dist/cjs/MediaSeriesLandingPaginated.js +13 -13
- package/dist/cjs/NavDvm.js +30 -28
- package/dist/cjs/{NavFooter-257b5318.js → NavFooter-b37e3eed.js} +4 -3
- package/dist/cjs/NavMagazine.js +55 -53
- package/dist/cjs/NavNative.js +55 -55
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +40 -28
- package/dist/cjs/PartnerDetailListingPaginated.js +38 -32
- package/dist/cjs/PodcastsLanding.js +6 -6
- package/dist/cjs/PubSection.js +4 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-0b2a2775.js → SeriesSlider-fc6dd07d.js} +5 -5
- package/dist/cjs/SideFooter.js +11 -9
- package/dist/cjs/{SocialSearchComponent-6924a853.js → SocialSearchComponent-15e03760.js} +2 -2
- package/dist/cjs/TaxonomyCard.js +8 -8
- package/dist/cjs/TaxonomyDescription.js +5 -4
- package/dist/cjs/TemplateNormal.js +4 -4
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/{Tooltip-980a1d1a.js → Tooltip-8011d690.js} +291 -116
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +8 -8
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/defineProperty-19580e93.js +71 -0
- package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{getTargeting-4439c99d.js → getTargeting-ba942d9a.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-b78ce702.js → index-3111bc4e.js} +2 -2
- package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
- package/dist/cjs/{index-8041a4eb.js → index-50be6759.js} +15 -9
- package/dist/cjs/{index.esm-91e651b0.js → index.esm-bb54403e.js} +8 -7
- package/dist/cjs/index.js +14 -14
- package/dist/cjs/{main-47be4f9f.js → main-ae8472f3.js} +4 -9
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/{ADInfeed-cfc4f7b2.js → ADInfeed-fb3b056f.js} +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/{ADlgInfeed-74c975b9.js → ADlgInfeed-29f7b84c.js} +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +1493 -10
- package/dist/esm/AuthWrapper.js +1478 -288
- package/dist/esm/CEDeckSupabase.js +2 -2
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column2.js +4 -2
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +11 -11
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +6 -6
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +52 -50
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/{ImageSlider-c3a57384.js → ImageSlider-cdb57d30.js} +1 -63
- package/dist/esm/IssueLanding.js +34 -34
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +14 -15
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +11 -11
- package/dist/esm/{MediaSeriesCard-957b218d.js → MediaSeriesCard-8ec69f60.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +13 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +13 -13
- package/dist/esm/NavDvm.js +30 -28
- package/dist/esm/{NavFooter-27a16f65.js → NavFooter-37c5eea2.js} +4 -3
- package/dist/esm/NavMagazine.js +55 -53
- package/dist/esm/NavNative.js +55 -55
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +40 -28
- package/dist/esm/PartnerDetailListingPaginated.js +38 -32
- package/dist/esm/PodcastsLanding.js +6 -6
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-3f4d6012.js → SeriesSlider-771918ce.js} +5 -5
- package/dist/esm/SideFooter.js +11 -9
- package/dist/esm/{SocialSearchComponent-2451acd2.js → SocialSearchComponent-b102181b.js} +2 -2
- package/dist/esm/TaxonomyCard.js +8 -8
- package/dist/esm/TaxonomyDescription.js +5 -4
- package/dist/esm/TemplateNormal.js +4 -4
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/{Tooltip-51957f7c.js → Tooltip-2cdd0895.js} +291 -116
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +8 -8
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/defineProperty-e8022d1e.js +66 -0
- package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{getTargeting-c6884f34.js → getTargeting-9bd28724.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
- package/dist/esm/{index-67e1773f.js → index-98ca9cec.js} +15 -9
- package/dist/esm/{index-f2f5b752.js → index-a71a6cc7.js} +2 -2
- package/dist/esm/{index.esm-06bf63a3.js → index.esm-8639823a.js} +8 -7
- package/dist/esm/index.js +14 -14
- package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
- package/package.json +116 -116
|
@@ -3,14 +3,15 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-cdb57d30.js';
|
|
7
|
+
import './defineProperty-e8022d1e.js';
|
|
7
8
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
8
9
|
import './moment-bc12cb97.js';
|
|
9
10
|
import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
10
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
12
|
import Feature from './Feature.js';
|
|
12
13
|
import urlFor from './urlFor.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-a71a6cc7.js';
|
|
14
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
15
16
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
16
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -28,9 +29,9 @@ import 'next/router';
|
|
|
28
29
|
import './index-755f2cc2.js';
|
|
29
30
|
import 'react-dom';
|
|
30
31
|
import './lodash-f97fd99a.js';
|
|
31
|
-
import './main-
|
|
32
|
-
import './entities-
|
|
33
|
-
import './ADInfeed-
|
|
32
|
+
import './main-754d4992.js';
|
|
33
|
+
import './entities-6d9154b4.js';
|
|
34
|
+
import './ADInfeed-fb3b056f.js';
|
|
34
35
|
import 'react-bootstrap/Card';
|
|
35
36
|
import './AdSlot.js';
|
|
36
37
|
import './debounce-533d9748.js';
|
|
@@ -40,7 +41,7 @@ import './Beam.js';
|
|
|
40
41
|
import './stringify-2b084bee.js';
|
|
41
42
|
import './Segment.js';
|
|
42
43
|
import './AuthorComponent-11adff02.js';
|
|
43
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-29f7b84c.js';
|
|
44
45
|
import './getContentCategory-15dcc413.js';
|
|
45
46
|
import './timeDifferenceCalc.js';
|
|
46
47
|
import './Pagination-9fe9f61d.js';
|
|
@@ -98,7 +99,6 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
98
99
|
page = _ref.page,
|
|
99
100
|
needLargePaginateButtons = _ref.needLargePaginateButtons;
|
|
100
101
|
|
|
101
|
-
|
|
102
102
|
var description = partnerDetails && partnerDetails.description ? partnerDetails.description.filter(function (block) {
|
|
103
103
|
return block._type !== 'slideshows' ? block : null;
|
|
104
104
|
}) : null;
|
|
@@ -114,12 +114,12 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
114
114
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
115
115
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
116
116
|
'a',
|
|
117
|
-
{
|
|
117
|
+
_extends({
|
|
118
118
|
className: 'partners-logo',
|
|
119
119
|
style: { width: '25%', minWidth: '25%' },
|
|
120
|
-
href: partnerDetails.thumbnail.link
|
|
121
|
-
|
|
122
|
-
target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
120
|
+
href: partnerDetails.thumbnail.link
|
|
121
|
+
}, checkSisterSite(partnerDetails.thumbnail.link) ? {} : { rel: 'noopener noreferrer' }, {
|
|
122
|
+
target: partnerDetails.thumbnail.blank ? '_blank' : '' }),
|
|
123
123
|
React__default.createElement(
|
|
124
124
|
'figure',
|
|
125
125
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
@@ -166,36 +166,36 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
166
166
|
'Connect with us:'
|
|
167
167
|
),
|
|
168
168
|
' ',
|
|
169
|
-
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
169
|
+
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, _extends({
|
|
170
170
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
171
|
-
target: '_blank'
|
|
172
|
-
|
|
171
|
+
target: '_blank'
|
|
172
|
+
}, checkSisterSite('' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all') ? {} : { rel: 'noopener noreferrer' }, {
|
|
173
173
|
style: { height: 30, width: 30 }
|
|
174
|
-
}),
|
|
175
|
-
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, {
|
|
174
|
+
})),
|
|
175
|
+
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, _extends({
|
|
176
176
|
url: '' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/'),
|
|
177
|
-
target: '_blank'
|
|
178
|
-
|
|
177
|
+
target: '_blank'
|
|
178
|
+
}, checkSisterSite('' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/')) ? {} : { rel: 'noopener noreferrer' }, {
|
|
179
179
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
180
|
-
}),
|
|
181
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
180
|
+
})),
|
|
181
|
+
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
182
182
|
url: partnerDetails.youtube,
|
|
183
|
-
target: '_blank'
|
|
184
|
-
|
|
183
|
+
target: '_blank'
|
|
184
|
+
}, checkSisterSite(partnerDetails.youtube) ? {} : { rel: 'noopener noreferrer' }, {
|
|
185
185
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
186
|
-
}),
|
|
187
|
-
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
186
|
+
})),
|
|
187
|
+
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
188
188
|
url: partnerDetails.twitter,
|
|
189
|
-
target: '_blank'
|
|
190
|
-
|
|
189
|
+
target: '_blank'
|
|
190
|
+
}, checkSisterSite(partnerDetails.twitter) ? {} : { rel: 'noopener noreferrer' }, {
|
|
191
191
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
192
|
-
}),
|
|
193
|
-
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
192
|
+
})),
|
|
193
|
+
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
194
194
|
url: partnerDetails.facebook,
|
|
195
|
-
target: '_blank'
|
|
196
|
-
|
|
195
|
+
target: '_blank'
|
|
196
|
+
}, checkSisterSite(partnerDetails.facebook) ? {} : { rel: 'noopener noreferrer' }, {
|
|
197
197
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
198
|
-
})
|
|
198
|
+
}))
|
|
199
199
|
)
|
|
200
200
|
)
|
|
201
201
|
),
|
|
@@ -220,7 +220,13 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
220
220
|
partnerDetails.twitter && !partnerDetails.twitterIcon ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
221
221
|
Facebook,
|
|
222
222
|
{ appId: ' ' },
|
|
223
|
-
React__default.createElement(Page, {
|
|
223
|
+
React__default.createElement(Page, _extends({
|
|
224
|
+
href: partnerDetails.facebook
|
|
225
|
+
}, checkSisterSite(partnerDetails.facebook) ? {} : { rel: 'noopener noreferrer' }, {
|
|
226
|
+
tabs: 'timeline',
|
|
227
|
+
width: '500',
|
|
228
|
+
height: '500'
|
|
229
|
+
}))
|
|
224
230
|
)
|
|
225
231
|
),
|
|
226
232
|
React__default.createElement(
|
|
@@ -4,9 +4,9 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
4
4
|
import React__default, { useState } from 'react';
|
|
5
5
|
import Link from 'next/link';
|
|
6
6
|
import MasterDeck from './MasterDeck.js';
|
|
7
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-
|
|
7
|
+
import { M as MediaSeriesCard } from './MediaSeriesCard-8ec69f60.js';
|
|
8
8
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
9
|
-
import { g as getSerializers } from './index-
|
|
9
|
+
import { g as getSerializers } from './index-a71a6cc7.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
12
12
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -35,13 +35,13 @@ import './index.es-a6137319.js';
|
|
|
35
35
|
import './visibility-sensor-72fd8f8b.js';
|
|
36
36
|
import 'react-dom';
|
|
37
37
|
import './index-3f5c03b2.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-29f7b84c.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
40
|
import './Beam.js';
|
|
41
41
|
import './stringify-2b084bee.js';
|
|
42
42
|
import './Segment.js';
|
|
43
|
-
import './main-
|
|
44
|
-
import './ADInfeed-
|
|
43
|
+
import './main-754d4992.js';
|
|
44
|
+
import './ADInfeed-fb3b056f.js';
|
|
45
45
|
import './index-755f2cc2.js';
|
|
46
46
|
import './urlFor.js';
|
|
47
47
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -62,7 +62,7 @@ import './SocialShare.js';
|
|
|
62
62
|
import 'next/head';
|
|
63
63
|
import 'react-share';
|
|
64
64
|
import 'react-bootstrap/Pagination';
|
|
65
|
-
import './entities-
|
|
65
|
+
import './entities-6d9154b4.js';
|
|
66
66
|
import './index.esm-eb1e8e80.js';
|
|
67
67
|
import './iconBase-ccc56b97.js';
|
|
68
68
|
import 'react-bootstrap/Figure';
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -21,9 +21,9 @@ import './index-5cc7b406.js';
|
|
|
21
21
|
import 'prop-types';
|
|
22
22
|
import 'next/router';
|
|
23
23
|
import './index-755f2cc2.js';
|
|
24
|
-
import './main-
|
|
25
|
-
import './entities-
|
|
26
|
-
import './ADInfeed-
|
|
24
|
+
import './main-754d4992.js';
|
|
25
|
+
import './entities-6d9154b4.js';
|
|
26
|
+
import './ADInfeed-fb3b056f.js';
|
|
27
27
|
import 'react-bootstrap/Card';
|
|
28
28
|
import './AdSlot.js';
|
|
29
29
|
import './debounce-533d9748.js';
|
|
@@ -34,7 +34,7 @@ import './stringify-2b084bee.js';
|
|
|
34
34
|
import './Segment.js';
|
|
35
35
|
import './AuthorComponent-11adff02.js';
|
|
36
36
|
import './lodash-f97fd99a.js';
|
|
37
|
-
import './ADlgInfeed-
|
|
37
|
+
import './ADlgInfeed-29f7b84c.js';
|
|
38
38
|
import './getContentCategory-15dcc413.js';
|
|
39
39
|
import './timeDifferenceCalc.js';
|
|
40
40
|
|
|
@@ -376,32 +376,32 @@ module.exports = { "default": set$1, __esModule: true };
|
|
|
376
376
|
|
|
377
377
|
var _Set = unwrapExports(set);
|
|
378
378
|
|
|
379
|
-
/* usage & query
|
|
380
|
-
const Publication = (props) => {
|
|
381
|
-
const { cache, pub, year } = props
|
|
382
|
-
const targeting = {
|
|
383
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
-
}
|
|
386
|
-
return (
|
|
387
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
-
</Shell>
|
|
390
|
-
)
|
|
391
|
-
}
|
|
392
|
-
Publication.getInitialProps = async (ctx) => {
|
|
393
|
-
const { query } = ctx
|
|
394
|
-
const {
|
|
395
|
-
query: { year },
|
|
396
|
-
} = ctx
|
|
397
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
-
**import urlFor from framework**
|
|
399
|
-
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
-
})
|
|
402
|
-
return { pub, year }
|
|
403
|
-
}
|
|
404
|
-
export default Publication
|
|
379
|
+
/* usage & query
|
|
380
|
+
const Publication = (props) => {
|
|
381
|
+
const { cache, pub, year } = props
|
|
382
|
+
const targeting = {
|
|
383
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
+
}
|
|
386
|
+
return (
|
|
387
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
+
</Shell>
|
|
390
|
+
)
|
|
391
|
+
}
|
|
392
|
+
Publication.getInitialProps = async (ctx) => {
|
|
393
|
+
const { query } = ctx
|
|
394
|
+
const {
|
|
395
|
+
query: { year },
|
|
396
|
+
} = ctx
|
|
397
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
+
**import urlFor from framework**
|
|
399
|
+
pub.issues.map((issue) => {
|
|
400
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
+
})
|
|
402
|
+
return { pub, year }
|
|
403
|
+
}
|
|
404
|
+
export default Publication
|
|
405
405
|
*/
|
|
406
406
|
|
|
407
407
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -10,12 +10,12 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
|
10
10
|
import { l as lib_3 } from './index-5cc7b406.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
-
import { m as main_43 } from './main-
|
|
14
|
-
import { c as clean_html_1 } from './entities-
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
13
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-fb3b056f.js';
|
|
16
16
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.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-29f7b84c.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -9,11 +9,11 @@ import { l as lib_3 } from './index-5cc7b406.js';
|
|
|
9
9
|
import { useRouter } from 'next/router';
|
|
10
10
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-
|
|
13
|
-
import { c as clean_html_1 } from './entities-
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
12
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
13
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-fb3b056f.js';
|
|
15
15
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
16
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
16
|
+
import { A as ADlgInfeed } from './ADlgInfeed-29f7b84c.js';
|
|
17
17
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
18
18
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
19
19
|
import urlFor from './urlFor.js';
|
|
@@ -11,34 +11,34 @@ import './index-3f5c03b2.js';
|
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
|
|
14
|
-
/*
|
|
15
|
-
Sample query
|
|
16
|
-
let references = ''
|
|
17
|
-
if(article.taxonomyMapping.length > 0){
|
|
18
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
-
references = references + `references('${ref._ref}') `
|
|
20
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
-
references = references + ` && `
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
27
|
-
...,
|
|
28
|
-
title,
|
|
29
|
-
summary,
|
|
30
|
-
thumbnail,
|
|
31
|
-
url,
|
|
32
|
-
published,
|
|
33
|
-
authorMapping[]->,
|
|
34
|
-
contentCategory->
|
|
35
|
-
}`
|
|
36
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
-
|
|
38
|
-
Sample usage
|
|
39
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
/*
|
|
15
|
+
Sample query
|
|
16
|
+
let references = ''
|
|
17
|
+
if(article.taxonomyMapping.length > 0){
|
|
18
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
+
references = references + `references('${ref._ref}') `
|
|
20
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
+
references = references + ` && `
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
27
|
+
...,
|
|
28
|
+
title,
|
|
29
|
+
summary,
|
|
30
|
+
thumbnail,
|
|
31
|
+
url,
|
|
32
|
+
published,
|
|
33
|
+
authorMapping[]->,
|
|
34
|
+
contentCategory->
|
|
35
|
+
}`
|
|
36
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
+
|
|
38
|
+
Sample usage
|
|
39
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
+
|
|
41
|
+
|
|
42
42
|
*/
|
|
43
43
|
var RelatedContent = function RelatedContent(props) {
|
|
44
44
|
var client = props.client,
|
|
@@ -14,16 +14,16 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
14
14
|
_ref$className = _ref.className,
|
|
15
15
|
className = _ref$className === undefined ? '' : _ref$className;
|
|
16
16
|
|
|
17
|
-
/*
|
|
18
|
-
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
-
example:
|
|
20
|
-
<RelatedTopicDropdown
|
|
21
|
-
page='/clinical'
|
|
22
|
-
exclude="clinical"
|
|
23
|
-
className='mb-3'
|
|
24
|
-
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
-
subTaxonomies={props.subTaxonomies}
|
|
26
|
-
/>
|
|
17
|
+
/*
|
|
18
|
+
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
+
example:
|
|
20
|
+
<RelatedTopicDropdown
|
|
21
|
+
page='/clinical'
|
|
22
|
+
exclude="clinical"
|
|
23
|
+
className='mb-3'
|
|
24
|
+
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
+
subTaxonomies={props.subTaxonomies}
|
|
26
|
+
/>
|
|
27
27
|
*/
|
|
28
28
|
if (subTaxonomies.length === 0 && parentTaxonomy) {
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect, useRef } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import { l as lib_3 } from './index-5cc7b406.js';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
8
|
+
import { S as SeriesSlider } from './SeriesSlider-771918ce.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -19,7 +19,7 @@ import 'react-dom';
|
|
|
19
19
|
import './smoothscroll-fa4e3f8c.js';
|
|
20
20
|
import './urlFor.js';
|
|
21
21
|
import './index-3f5c03b2.js';
|
|
22
|
-
import './main-
|
|
22
|
+
import './main-754d4992.js';
|
|
23
23
|
|
|
24
24
|
var usePrevious = function usePrevious(value) {
|
|
25
25
|
var ref = useRef();
|
|
@@ -4,12 +4,12 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
|
4
4
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-754d4992.js';
|
|
8
8
|
|
|
9
|
-
/*
|
|
10
|
-
GROQ query -
|
|
11
|
-
accepts an array of title, URL
|
|
12
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
9
|
+
/*
|
|
10
|
+
GROQ query -
|
|
11
|
+
accepts an array of title, URL
|
|
12
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
var SeriesSlider = function SeriesSlider(_ref) {
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
1
2
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
3
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
3
4
|
import { g as get_1 } from './get-3c308da4.js';
|
|
4
5
|
import Segment from './Segment.js';
|
|
5
6
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
6
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
9
|
+
import './_object-pie-133f504a.js';
|
|
7
10
|
import 'prop-types';
|
|
8
11
|
import './isSymbol-a7e9aafe.js';
|
|
9
12
|
import './eq-bdcbf886.js';
|
|
10
13
|
import './asyncToGenerator-958ef5fc.js';
|
|
11
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
12
14
|
import './web.dom.iterable-ab4dea5c.js';
|
|
13
15
|
import './_library-528f1934.js';
|
|
14
16
|
import './_iter-detect-98db3b07.js';
|
|
@@ -19,20 +21,20 @@ var renderLink = function renderLink(row) {
|
|
|
19
21
|
if (row.blank) {
|
|
20
22
|
return React__default.createElement(
|
|
21
23
|
'a',
|
|
22
|
-
{ href: row.url,
|
|
24
|
+
_extends({ href: row.url }, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, { target: '_blank' }, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
23
25
|
row.title
|
|
24
26
|
);
|
|
25
27
|
}
|
|
26
28
|
return React__default.createElement(
|
|
27
29
|
'a',
|
|
28
|
-
{ href: row.url,
|
|
30
|
+
_extends({ href: row.url }, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
29
31
|
row.title
|
|
30
32
|
);
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
var SideFooter = function SideFooter(props) {
|
|
34
|
-
/*
|
|
35
|
-
useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
|
|
36
|
+
/*
|
|
37
|
+
useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
|
|
36
38
|
*/
|
|
37
39
|
var _get = get_1(props, 'cache.siteSettingCache', {}),
|
|
38
40
|
socialLinks = _get.socialLinks,
|
|
@@ -83,16 +85,16 @@ var SideFooter = function SideFooter(props) {
|
|
|
83
85
|
'li',
|
|
84
86
|
{ style: { marginTop: '10px' } },
|
|
85
87
|
socialLinks && socialLinks.map(function (row, index) {
|
|
86
|
-
return React__default.createElement(reactSocialIcons_1, {
|
|
87
|
-
target: row.blank ? '_blank' : '_self'
|
|
88
|
-
|
|
88
|
+
return React__default.createElement(reactSocialIcons_1, _extends({
|
|
89
|
+
target: row.blank ? '_blank' : '_self'
|
|
90
|
+
}, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
89
91
|
key: index,
|
|
90
92
|
index: index,
|
|
91
93
|
url: row.url
|
|
92
94
|
// including network prop to identify the icon based on the social icon title.
|
|
93
95
|
, network: row.title.split(' ')[0].toLowerCase(),
|
|
94
96
|
style: { width: 30, height: 30, marginRight: 5 }
|
|
95
|
-
});
|
|
97
|
+
}));
|
|
96
98
|
})
|
|
97
99
|
)
|
|
98
100
|
),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import SocialIcons from './SocialIcons.js';
|
|
4
|
-
import { G as GoSearch } from './index.esm-
|
|
4
|
+
import { G as GoSearch } from './index.esm-8639823a.js';
|
|
5
5
|
import { I as IconContext } from './iconBase-ccc56b97.js';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import FormControl from 'react-bootstrap/FormControl';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
9
|
-
import { g as main_34, c as main_44 } from './main-
|
|
9
|
+
import { g as main_34, c as main_44 } from './main-754d4992.js';
|
|
10
10
|
|
|
11
11
|
var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
12
12
|
var type = _ref.type,
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -115,10 +115,10 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
115
115
|
null,
|
|
116
116
|
row.thumbnail.link ? React__default.createElement(
|
|
117
117
|
'a',
|
|
118
|
-
{
|
|
118
|
+
_extends({
|
|
119
119
|
href: row.thumbnail.link,
|
|
120
|
-
target: row.thumbnail.blank ? '_blank' : '_self'
|
|
121
|
-
|
|
120
|
+
target: row.thumbnail.blank ? '_blank' : '_self'
|
|
121
|
+
}, checkSisterSite(row.thumbnail.link) ? {} : { rel: 'noopener noreferrer' }),
|
|
122
122
|
React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
123
123
|
) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
124
124
|
row && row.thumbnail && row.thumbnail.caption && React__default.createElement(
|
|
@@ -154,7 +154,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
154
154
|
} else if (field.value && field.key === 'url') {
|
|
155
155
|
return React__default.createElement(
|
|
156
156
|
'a',
|
|
157
|
-
{ className: 'details-field', href: field.value, key: index,
|
|
157
|
+
_extends({ className: 'details-field', href: field.value, key: index }, checkSisterSite(field.value) ? {} : { rel: 'noopener noreferrer' }),
|
|
158
158
|
field.value
|
|
159
159
|
);
|
|
160
160
|
}
|
|
@@ -191,14 +191,14 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
191
191
|
{ className: 'social-icons' },
|
|
192
192
|
socialLinks.map(function (url, index) {
|
|
193
193
|
if (url && url.length) {
|
|
194
|
-
return React__default.createElement(reactSocialIcons_1, {
|
|
195
|
-
target: '_blank'
|
|
196
|
-
|
|
194
|
+
return React__default.createElement(reactSocialIcons_1, _extends({
|
|
195
|
+
target: '_blank'
|
|
196
|
+
}, checkSisterSite(url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
197
197
|
key: index,
|
|
198
198
|
index: index,
|
|
199
199
|
url: url,
|
|
200
200
|
style: { width: 30, height: 30, marginRight: 10 }
|
|
201
|
-
});
|
|
201
|
+
}));
|
|
202
202
|
}
|
|
203
203
|
}),
|
|
204
204
|
React__default.createElement(
|
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import Head from 'next/head';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-a71a6cc7.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
@@ -22,7 +22,7 @@ import './util-8ed16d48.js';
|
|
|
22
22
|
import './Beam.js';
|
|
23
23
|
import './stringify-2b084bee.js';
|
|
24
24
|
import './Segment.js';
|
|
25
|
-
import './main-
|
|
25
|
+
import './main-754d4992.js';
|
|
26
26
|
import './urlForFile-b69adffc.js';
|
|
27
27
|
import './index-755f2cc2.js';
|
|
28
28
|
import 'react-dom';
|
|
@@ -43,7 +43,7 @@ import './SocialShare.js';
|
|
|
43
43
|
import 'react-share';
|
|
44
44
|
import './toConsumableArray-f7074d7c.js';
|
|
45
45
|
import 'react-bootstrap/Pagination';
|
|
46
|
-
import './entities-
|
|
46
|
+
import './entities-6d9154b4.js';
|
|
47
47
|
import './AdSlot.js';
|
|
48
48
|
import './debounce-533d9748.js';
|
|
49
49
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -156,12 +156,13 @@ TaxonomyDescription.getDescription = function () {
|
|
|
156
156
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
|
|
157
157
|
var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
158
158
|
var client = arguments[1];
|
|
159
|
+
var ref_query = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
159
160
|
var query, summary, taxonomyData;
|
|
160
161
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
161
162
|
while (1) {
|
|
162
163
|
switch (_context2.prev = _context2.next) {
|
|
163
164
|
case 0:
|
|
164
|
-
query = '*[_type == \'taxonomy\' && identifier == \'' + url + '\'][0]{summary,pixelTrackingCode->}';
|
|
165
|
+
query = '*[_type == \'taxonomy\' && identifier == \'' + url + '\' ' + ref_query + '][0]{summary,pixelTrackingCode->}';
|
|
165
166
|
summary = [];
|
|
166
167
|
_context2.prev = 2;
|
|
167
168
|
_context2.next = 5;
|
|
@@ -29,7 +29,7 @@ import './asyncToGenerator-958ef5fc.js';
|
|
|
29
29
|
import './_library-528f1934.js';
|
|
30
30
|
import './_iter-detect-98db3b07.js';
|
|
31
31
|
import './Segment.js';
|
|
32
|
-
import './main-
|
|
32
|
+
import './main-754d4992.js';
|
|
33
33
|
import 'next/head';
|
|
34
34
|
import '@mjhls/mjh-framework/dist/cjs/urlFor';
|
|
35
35
|
import 'react-bootstrap/Row';
|
|
@@ -52,9 +52,9 @@ import 'react-bootstrap/NavDropdown';
|
|
|
52
52
|
import './index.esm-9b042655.js';
|
|
53
53
|
import './iconBase-ccc56b97.js';
|
|
54
54
|
import './index.esm-eb1e8e80.js';
|
|
55
|
-
import './NavFooter-
|
|
56
|
-
import './index.esm-
|
|
57
|
-
import './SocialSearchComponent-
|
|
55
|
+
import './NavFooter-37c5eea2.js';
|
|
56
|
+
import './index.esm-8639823a.js';
|
|
57
|
+
import './SocialSearchComponent-b102181b.js';
|
|
58
58
|
import './SocialIcons.js';
|
|
59
59
|
import 'react-bootstrap/Form';
|
|
60
60
|
import 'react-bootstrap/FormControl';
|
|
@@ -2,7 +2,7 @@ import React__default from 'react';
|
|
|
2
2
|
import Media from 'react-bootstrap/Media';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
4
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
|
-
import { c as clean_html_1 } from './entities-
|
|
5
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
6
6
|
import './slicedToArray-6ebcbfea.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './web.dom.iterable-ab4dea5c.js';
|