@mjhls/mjh-framework 1.0.992-nofollow-v5 → 1.0.992-publication-test-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/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 +419 -53
- package/dist/cjs/ArticleProgramLandingPage.js +2 -4
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -4
- package/dist/cjs/ArticleSeriesListing.js +1 -2
- package/dist/cjs/AuthWrapper.js +89 -19
- package/dist/cjs/CMEDeck.js +1 -2
- package/dist/cjs/Column2.js +4 -3
- package/dist/cjs/Column3.js +3 -3
- package/dist/cjs/ContentCardPaginated.js +2 -3
- package/dist/cjs/DeckContent.js +2 -3
- package/dist/cjs/DeckQueue.js +1 -2
- package/dist/cjs/DeckQueuePaginated.js +1 -2
- package/dist/cjs/{Dfp-c313a700.js → Dfp-67646058.js} +1 -2
- package/dist/cjs/EventsDeck.js +3 -30
- package/dist/cjs/ExternalResources.js +5 -7
- package/dist/cjs/GridContent.js +3 -4
- package/dist/cjs/GridContentPaginated.js +3 -4
- package/dist/cjs/HamMagazine.js +10 -10
- package/dist/cjs/HorizontalArticleListing.js +2 -4
- package/dist/cjs/{ImageSlider-17fdaf3b.js → ImageSlider-1ec0408b.js} +156 -116
- package/dist/cjs/IssueLanding.js +4 -6
- package/dist/cjs/LeftNav.js +4 -14
- package/dist/cjs/MasterDeck.js +3 -4
- package/dist/cjs/MasterDeckPaginated.js +3 -4
- package/dist/cjs/{MediaSeriesCard-2dcd6741.js → MediaSeriesCard-d736ac47.js} +249 -207
- package/dist/cjs/MediaSeriesLanding.js +6 -8
- package/dist/cjs/MediaSeriesLandingPaginated.js +6 -8
- package/dist/cjs/NavDvm.js +6 -37
- package/dist/cjs/{NavFooter-880e9d87.js → NavFooter-1fda6732.js} +4 -9
- package/dist/cjs/NavMagazine.js +5 -23
- package/dist/cjs/NavNative.js +4 -23
- package/dist/cjs/PartnerDetailListing.js +12 -30
- package/dist/cjs/PartnerDetailListingPaginated.js +9 -22
- package/dist/cjs/PubSection.js +3 -4
- package/dist/cjs/QueueDeckExpanded.js +3 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +3 -4
- package/dist/cjs/SeriesListingDeck.js +1 -2
- package/dist/cjs/SideFooter.js +6 -5
- package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-bac7d6fa.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +3 -7
- package/dist/cjs/TaxonomyDescription.js +2 -4
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +2 -4
- package/dist/cjs/VideoSeriesLandingPage.js +3 -4
- package/dist/cjs/VideoSeriesListing.js +1 -2
- package/dist/cjs/View.js +2 -4
- package/dist/cjs/defineProperty-9673846a.js +34 -0
- package/dist/cjs/getQuery.js +5 -2
- package/dist/cjs/getRelatedArticle.js +1 -0
- package/dist/cjs/getSerializers.js +2 -4
- package/dist/cjs/{index-64fe6bc7.js → index-0befb5fb.js} +12 -4
- package/dist/cjs/{index-d2a6ef75.js → index-7435b964.js} +467 -2
- package/dist/cjs/index-b95410f0.js +54 -0
- package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-70e78156.js} +4 -5
- package/dist/cjs/index.js +10 -13
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +1 -2
- package/dist/esm/AD300x250x600.js +1 -2
- package/dist/esm/AD728x90.js +1 -2
- package/dist/esm/ADFloatingFooter.js +1 -2
- package/dist/esm/ADGutter.js +1 -2
- package/dist/esm/ADSkyscraper.js +1 -2
- package/dist/esm/ADSponsoredResources.js +1 -2
- package/dist/esm/ADWebcast.js +1 -2
- package/dist/esm/ADWelcome.js +1 -2
- package/dist/esm/AdSlot.js +1 -2
- package/dist/esm/AdSlotsProvider.js +1 -2
- package/dist/esm/AlgoliaSearch.js +406 -40
- package/dist/esm/ArticleProgramLandingPage.js +2 -4
- package/dist/esm/ArticleSeriesLandingPage.js +3 -4
- package/dist/esm/ArticleSeriesListing.js +1 -2
- package/dist/esm/AuthWrapper.js +86 -16
- package/dist/esm/CMEDeck.js +1 -2
- package/dist/esm/Column2.js +4 -3
- package/dist/esm/Column3.js +3 -3
- package/dist/esm/ContentCardPaginated.js +2 -3
- package/dist/esm/DeckContent.js +2 -3
- package/dist/esm/DeckQueue.js +1 -2
- package/dist/esm/DeckQueuePaginated.js +1 -2
- package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
- package/dist/esm/EventsDeck.js +2 -29
- package/dist/esm/ExternalResources.js +5 -7
- package/dist/esm/GridContent.js +3 -4
- package/dist/esm/GridContentPaginated.js +3 -4
- package/dist/esm/HamMagazine.js +10 -10
- package/dist/esm/HorizontalArticleListing.js +2 -4
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-83913c4c.js} +157 -117
- package/dist/esm/IssueLanding.js +4 -6
- package/dist/esm/LeftNav.js +4 -14
- package/dist/esm/MasterDeck.js +3 -4
- package/dist/esm/MasterDeckPaginated.js +3 -4
- package/dist/esm/{MediaSeriesCard-75712dc0.js → MediaSeriesCard-3a4646ca.js} +44 -2
- package/dist/esm/MediaSeriesLanding.js +6 -8
- package/dist/esm/MediaSeriesLandingPaginated.js +6 -8
- package/dist/esm/NavDvm.js +6 -37
- package/dist/esm/{NavFooter-3272e9cd.js → NavFooter-e27bd93b.js} +4 -9
- package/dist/esm/NavMagazine.js +5 -23
- package/dist/esm/NavNative.js +4 -23
- package/dist/esm/PartnerDetailListing.js +12 -30
- package/dist/esm/PartnerDetailListingPaginated.js +9 -22
- package/dist/esm/PubSection.js +3 -4
- package/dist/esm/QueueDeckExpanded.js +3 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +3 -4
- package/dist/esm/SeriesListingDeck.js +1 -2
- package/dist/esm/SideFooter.js +6 -5
- package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-c249903e.js} +1 -1
- package/dist/esm/TaxonomyCard.js +3 -7
- package/dist/esm/TaxonomyDescription.js +2 -4
- package/dist/esm/TemplateNormal.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +2 -4
- package/dist/esm/VideoSeriesLandingPage.js +3 -4
- package/dist/esm/VideoSeriesListing.js +1 -2
- package/dist/esm/View.js +2 -4
- package/dist/esm/defineProperty-8c30428f.js +32 -0
- package/dist/esm/getQuery.js +5 -2
- package/dist/esm/getRelatedArticle.js +1 -0
- package/dist/esm/getSerializers.js +2 -4
- package/dist/esm/index-174b5baf.js +52 -0
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/{index-19ae7235.js → index-eaa2c6b3.js} +12 -4
- package/dist/esm/{index.esm-07c37a92.js → index.esm-37268dca.js} +4 -5
- package/dist/esm/index.js +10 -13
- package/package.json +2 -2
- package/dist/cjs/checkSisterSite-b29833b2.js +0 -19
- 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/checkSisterSite-baa4fb6b.js +0 -17
- 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-f316b66a.js → ADInfeed-ef933a08.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-2003306e.js → ADlgInfeed-0e931f24.js} +0 -0
- /package/dist/esm/{ADInfeed-777bb0b3.js → ADInfeed-f946441a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-e7fd1bb6.js → ADlgInfeed-012e6f16.js} +0 -0
|
@@ -3,17 +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-
|
|
7
|
-
import './defineProperty-23a8f8cd.js';
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-83913c4c.js';
|
|
8
7
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
9
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
11
10
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
11
|
import Feature from './Feature.js';
|
|
13
12
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
13
|
+
import { g as getSerializers } from './index-eaa2c6b3.js';
|
|
15
14
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
|
-
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
17
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
18
16
|
import './core.get-iterator-method-ea258bb1.js';
|
|
19
17
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -27,13 +25,12 @@ import 'react-bootstrap';
|
|
|
27
25
|
import './index.es-a6137319.js';
|
|
28
26
|
import './visibility-sensor-72fd8f8b.js';
|
|
29
27
|
import 'react-dom';
|
|
30
|
-
import './index-
|
|
31
|
-
import './events-6c3a7a63.js';
|
|
28
|
+
import './index-5cc7b406.js';
|
|
32
29
|
import 'next/router';
|
|
33
30
|
import './index-755f2cc2.js';
|
|
34
31
|
import './main-9f6806ea.js';
|
|
35
32
|
import './entities-6d9154b4.js';
|
|
36
|
-
import './ADInfeed-
|
|
33
|
+
import './ADInfeed-f946441a.js';
|
|
37
34
|
import 'react-bootstrap/Card';
|
|
38
35
|
import './AdSlot.js';
|
|
39
36
|
import './debounce-533d9748.js';
|
|
@@ -44,7 +41,7 @@ import './stringify-2b084bee.js';
|
|
|
44
41
|
import './Segment.js';
|
|
45
42
|
import './AuthorComponent-11adff02.js';
|
|
46
43
|
import './lodash-f97fd99a.js';
|
|
47
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-012e6f16.js';
|
|
48
45
|
import './getContentCategory-15dcc413.js';
|
|
49
46
|
import './timeDifferenceCalc.js';
|
|
50
47
|
import './index-3f5c03b2.js';
|
|
@@ -113,7 +110,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
113
110
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between' } },
|
|
114
111
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
115
112
|
'a',
|
|
116
|
-
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : ''
|
|
113
|
+
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
117
114
|
React__default.createElement(
|
|
118
115
|
'figure',
|
|
119
116
|
{ style: { width: '100%', textAlign: 'center', marginTop: '2rem' } },
|
|
@@ -163,33 +160,18 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
163
160
|
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
164
161
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
165
162
|
target: '_blank',
|
|
166
|
-
rel:
|
|
163
|
+
rel: 'noopener noreferrer',
|
|
167
164
|
style: { height: 30, width: 30 }
|
|
168
165
|
}),
|
|
169
166
|
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, {
|
|
170
167
|
url: '' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/'),
|
|
171
168
|
target: '_blank',
|
|
172
|
-
rel:
|
|
169
|
+
rel: 'noopener noreferrer',
|
|
173
170
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
174
171
|
}),
|
|
175
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
rel: checkSisterSite(partnerDetails.youtube) ? '' : 'noopener noreferrer',
|
|
179
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
180
|
-
}),
|
|
181
|
-
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
182
|
-
url: partnerDetails.twitter,
|
|
183
|
-
target: '_blank',
|
|
184
|
-
rel: checkSisterSite(partnerDetails.twitter) ? '' : 'noopener noreferrer',
|
|
185
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
186
|
-
}),
|
|
187
|
-
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
188
|
-
url: partnerDetails.facebook,
|
|
189
|
-
target: '_blank',
|
|
190
|
-
rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer',
|
|
191
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
192
|
-
})
|
|
172
|
+
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, { url: partnerDetails.youtube, target: '_blank', rel: 'noopener noreferrer', style: { height: 30, width: 30, marginLeft: '0.25rem' } }),
|
|
173
|
+
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, { url: partnerDetails.twitter, target: '_blank', rel: 'noopener noreferrer', style: { height: 30, width: 30, marginLeft: '0.25rem' } }),
|
|
174
|
+
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, { url: partnerDetails.facebook, target: '_blank', rel: 'noopener noreferrer', style: { height: 30, width: 30, marginLeft: '0.25rem' } })
|
|
193
175
|
)
|
|
194
176
|
)
|
|
195
177
|
),
|
|
@@ -214,7 +196,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
214
196
|
partnerDetails.twitter && !partnerDetails.twitterIcon ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
215
197
|
Facebook,
|
|
216
198
|
{ appId: ' ' },
|
|
217
|
-
React__default.createElement(Page, { href: partnerDetails.facebook,
|
|
199
|
+
React__default.createElement(Page, { href: partnerDetails.facebook, tabs: 'timeline', width: '500', height: '500' })
|
|
218
200
|
)
|
|
219
201
|
),
|
|
220
202
|
React__default.createElement(
|
|
@@ -3,17 +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-
|
|
7
|
-
import './defineProperty-23a8f8cd.js';
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-83913c4c.js';
|
|
8
7
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
8
|
import './moment-bc12cb97.js';
|
|
10
9
|
import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
11
10
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
11
|
import Feature from './Feature.js';
|
|
13
12
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
13
|
+
import { g as getSerializers } from './index-eaa2c6b3.js';
|
|
15
14
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
|
-
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
17
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
18
16
|
import './core.get-iterator-method-ea258bb1.js';
|
|
19
17
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -24,15 +22,14 @@ import 'prop-types';
|
|
|
24
22
|
import './smoothscroll-fa4e3f8c.js';
|
|
25
23
|
import './toConsumableArray-f7074d7c.js';
|
|
26
24
|
import 'react-bootstrap';
|
|
27
|
-
import './index-
|
|
28
|
-
import './events-6c3a7a63.js';
|
|
25
|
+
import './index-5cc7b406.js';
|
|
29
26
|
import 'next/router';
|
|
30
27
|
import './index-755f2cc2.js';
|
|
31
28
|
import 'react-dom';
|
|
32
29
|
import './lodash-f97fd99a.js';
|
|
33
30
|
import './main-9f6806ea.js';
|
|
34
31
|
import './entities-6d9154b4.js';
|
|
35
|
-
import './ADInfeed-
|
|
32
|
+
import './ADInfeed-f946441a.js';
|
|
36
33
|
import 'react-bootstrap/Card';
|
|
37
34
|
import './AdSlot.js';
|
|
38
35
|
import './debounce-533d9748.js';
|
|
@@ -42,7 +39,7 @@ import './Beam.js';
|
|
|
42
39
|
import './stringify-2b084bee.js';
|
|
43
40
|
import './Segment.js';
|
|
44
41
|
import './AuthorComponent-11adff02.js';
|
|
45
|
-
import './ADlgInfeed-
|
|
42
|
+
import './ADlgInfeed-012e6f16.js';
|
|
46
43
|
import './getContentCategory-15dcc413.js';
|
|
47
44
|
import './timeDifferenceCalc.js';
|
|
48
45
|
import './Pagination-9fe9f61d.js';
|
|
@@ -111,12 +108,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
111
108
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
112
109
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
113
110
|
'a',
|
|
114
|
-
{
|
|
115
|
-
className: 'partners-logo',
|
|
116
|
-
style: { width: '25%', minWidth: '25%' },
|
|
117
|
-
href: partnerDetails.thumbnail.link,
|
|
118
|
-
rel: checkSisterSite(partnerDetails.thumbnail.link) ? '' : 'noopener noreferrer',
|
|
119
|
-
target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
111
|
+
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
120
112
|
React__default.createElement(
|
|
121
113
|
'figure',
|
|
122
114
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
@@ -166,15 +158,10 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
166
158
|
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
167
159
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
168
160
|
target: '_blank',
|
|
169
|
-
rel:
|
|
161
|
+
rel: 'noopener noreferrer',
|
|
170
162
|
style: { height: 30, width: 30 }
|
|
171
163
|
}),
|
|
172
|
-
(partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(reactSocialIcons_1, {
|
|
173
|
-
url: partnerDetails.facebook,
|
|
174
|
-
target: '_blank',
|
|
175
|
-
rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer',
|
|
176
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
177
|
-
})
|
|
164
|
+
(partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(reactSocialIcons_1, { url: partnerDetails.facebook, target: '_blank', rel: 'noopener noreferrer', style: { height: 30, width: 30, marginLeft: '0.25rem' } })
|
|
178
165
|
)
|
|
179
166
|
)
|
|
180
167
|
),
|
|
@@ -199,7 +186,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
199
186
|
partnerDetails.twitter ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
200
187
|
Facebook,
|
|
201
188
|
{ appId: ' ' },
|
|
202
|
-
React__default.createElement(Page, { href: partnerDetails.facebook,
|
|
189
|
+
React__default.createElement(Page, { href: partnerDetails.facebook, tabs: 'timeline', width: '500', height: '500' })
|
|
203
190
|
)
|
|
204
191
|
),
|
|
205
192
|
React__default.createElement(
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -17,14 +17,13 @@ import './index.es-a6137319.js';
|
|
|
17
17
|
import './moment-bc12cb97.js';
|
|
18
18
|
import './visibility-sensor-72fd8f8b.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import './index-
|
|
21
|
-
import './events-6c3a7a63.js';
|
|
20
|
+
import './index-5cc7b406.js';
|
|
22
21
|
import 'prop-types';
|
|
23
22
|
import 'next/router';
|
|
24
23
|
import './index-755f2cc2.js';
|
|
25
24
|
import './main-9f6806ea.js';
|
|
26
25
|
import './entities-6d9154b4.js';
|
|
27
|
-
import './ADInfeed-
|
|
26
|
+
import './ADInfeed-f946441a.js';
|
|
28
27
|
import 'react-bootstrap/Card';
|
|
29
28
|
import './AdSlot.js';
|
|
30
29
|
import './debounce-533d9748.js';
|
|
@@ -35,7 +34,7 @@ import './stringify-2b084bee.js';
|
|
|
35
34
|
import './Segment.js';
|
|
36
35
|
import './AuthorComponent-11adff02.js';
|
|
37
36
|
import './lodash-f97fd99a.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
37
|
+
import './ADlgInfeed-012e6f16.js';
|
|
39
38
|
import './getContentCategory-15dcc413.js';
|
|
40
39
|
import './timeDifferenceCalc.js';
|
|
41
40
|
|
|
@@ -7,15 +7,15 @@ import urlFor from './urlFor.js';
|
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
|
-
import { l as lib_3 } from './index-
|
|
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
13
|
import { m as main_43 } from './main-9f6806ea.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-f946441a.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-012e6f16.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -25,7 +25,6 @@ import './_iter-detect-98db3b07.js';
|
|
|
25
25
|
import './_object-pie-133f504a.js';
|
|
26
26
|
import './index-3f5c03b2.js';
|
|
27
27
|
import 'react-dom';
|
|
28
|
-
import './events-6c3a7a63.js';
|
|
29
28
|
import 'prop-types';
|
|
30
29
|
import 'react-bootstrap/Card';
|
|
31
30
|
import './AdSlot.js';
|
|
@@ -5,15 +5,15 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
|
5
5
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
6
6
|
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
7
7
|
import { m as moment } from './moment-bc12cb97.js';
|
|
8
|
-
import { l as lib_3 } from './index-
|
|
8
|
+
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
12
|
import { m as main_43 } from './main-9f6806ea.js';
|
|
13
13
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-f946441a.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-012e6f16.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';
|
|
@@ -24,7 +24,6 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
24
24
|
import './_library-528f1934.js';
|
|
25
25
|
import './_iter-detect-98db3b07.js';
|
|
26
26
|
import './_object-pie-133f504a.js';
|
|
27
|
-
import './events-6c3a7a63.js';
|
|
28
27
|
import 'prop-types';
|
|
29
28
|
import 'react-dom';
|
|
30
29
|
import 'react-bootstrap/Card';
|
|
@@ -3,7 +3,7 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
4
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
|
-
import { l as lib_3 } from './index-
|
|
6
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
8
|
import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
@@ -12,7 +12,6 @@ import './core.get-iterator-method-ea258bb1.js';
|
|
|
12
12
|
import './_iter-detect-98db3b07.js';
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import './web.dom.iterable-ab4dea5c.js';
|
|
15
|
-
import './events-6c3a7a63.js';
|
|
16
15
|
import 'prop-types';
|
|
17
16
|
import './index-c7e2ac95.js';
|
|
18
17
|
import './index-755f2cc2.js';
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-8c30428f.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
|
-
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './define-property-5f1bda73.js';
|
|
8
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
7
9
|
import 'prop-types';
|
|
8
10
|
import './isSymbol-a7e9aafe.js';
|
|
9
11
|
import './eq-bdcbf886.js';
|
|
10
12
|
import './asyncToGenerator-958ef5fc.js';
|
|
11
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
12
13
|
import './web.dom.iterable-ab4dea5c.js';
|
|
13
14
|
import './_library-528f1934.js';
|
|
14
15
|
import './_iter-detect-98db3b07.js';
|
|
@@ -19,13 +20,13 @@ var renderLink = function renderLink(row) {
|
|
|
19
20
|
if (row.blank) {
|
|
20
21
|
return React__default.createElement(
|
|
21
22
|
'a',
|
|
22
|
-
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: '_blank', rel
|
|
23
|
+
_defineProperty({ rel: 'noopener', href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: '_blank' }, 'rel', 'noopener noreferrer'),
|
|
23
24
|
row.title
|
|
24
25
|
);
|
|
25
26
|
}
|
|
26
27
|
return React__default.createElement(
|
|
27
28
|
'a',
|
|
28
|
-
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : ''
|
|
29
|
+
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '' },
|
|
29
30
|
row.title
|
|
30
31
|
);
|
|
31
32
|
};
|
|
@@ -85,7 +86,7 @@ var SideFooter = function SideFooter(props) {
|
|
|
85
86
|
socialLinks && socialLinks.map(function (row, index) {
|
|
86
87
|
return React__default.createElement(reactSocialIcons_1, {
|
|
87
88
|
target: row.blank ? '_blank' : '_self',
|
|
88
|
-
rel:
|
|
89
|
+
rel: 'noopener noreferrer',
|
|
89
90
|
key: index,
|
|
90
91
|
index: index,
|
|
91
92
|
url: row.url
|
|
@@ -1,7 +1,7 @@
|
|
|
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-37268dca.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';
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -8,7 +8,6 @@ import Card from 'react-bootstrap/Card';
|
|
|
8
8
|
import urlFor from './urlFor.js';
|
|
9
9
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
10
10
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
11
|
-
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
12
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
12
|
import './core.get-iterator-method-ea258bb1.js';
|
|
14
13
|
import './_object-pie-133f504a.js';
|
|
@@ -115,10 +114,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
115
114
|
null,
|
|
116
115
|
row.thumbnail.link ? React__default.createElement(
|
|
117
116
|
'a',
|
|
118
|
-
{
|
|
119
|
-
href: row.thumbnail.link,
|
|
120
|
-
target: row.thumbnail.blank ? '_blank' : '_self',
|
|
121
|
-
rel: checkSisterSite(row.thumbnail.link) ? '' : 'noopener noreferrer' },
|
|
117
|
+
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
122
118
|
React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
123
119
|
) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
124
120
|
row && row.thumbnail && row.thumbnail.caption && React__default.createElement(
|
|
@@ -154,7 +150,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
154
150
|
} else if (field.value && field.key === 'url') {
|
|
155
151
|
return React__default.createElement(
|
|
156
152
|
'a',
|
|
157
|
-
{ className: 'details-field', href: field.value, key: index
|
|
153
|
+
{ className: 'details-field', href: field.value, key: index },
|
|
158
154
|
field.value
|
|
159
155
|
);
|
|
160
156
|
}
|
|
@@ -193,7 +189,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
193
189
|
if (url && url.length) {
|
|
194
190
|
return React__default.createElement(reactSocialIcons_1, {
|
|
195
191
|
target: '_blank',
|
|
196
|
-
rel:
|
|
192
|
+
rel: 'noopener noreferrer',
|
|
197
193
|
key: index,
|
|
198
194
|
index: index,
|
|
199
195
|
url: url,
|
|
@@ -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-eaa2c6b3.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
@@ -16,8 +16,7 @@ import 'prop-types';
|
|
|
16
16
|
import './index-3f5c03b2.js';
|
|
17
17
|
import 'react-bootstrap';
|
|
18
18
|
import './urlFor.js';
|
|
19
|
-
import './index-
|
|
20
|
-
import './events-6c3a7a63.js';
|
|
19
|
+
import './index-5cc7b406.js';
|
|
21
20
|
import './index-c7e2ac95.js';
|
|
22
21
|
import './util-8ed16d48.js';
|
|
23
22
|
import './Beam.js';
|
|
@@ -58,7 +57,6 @@ import 'react-bootstrap/Figure';
|
|
|
58
57
|
import 'react-bootstrap/OverlayTrigger';
|
|
59
58
|
import 'react-bootstrap/Tooltip';
|
|
60
59
|
import 'react-bootstrap/Popover';
|
|
61
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
62
60
|
|
|
63
61
|
var _this = undefined;
|
|
64
62
|
|
|
@@ -19,8 +19,7 @@ import './AdSlot.js';
|
|
|
19
19
|
import './extends-6d8e3924.js';
|
|
20
20
|
import './_object-pie-133f504a.js';
|
|
21
21
|
import 'prop-types';
|
|
22
|
-
import './index-
|
|
23
|
-
import './events-6c3a7a63.js';
|
|
22
|
+
import './index-5cc7b406.js';
|
|
24
23
|
import './debounce-533d9748.js';
|
|
25
24
|
import './isSymbol-a7e9aafe.js';
|
|
26
25
|
import './toNumber-5aeba6e7.js';
|
|
@@ -35,10 +34,11 @@ import 'next/head';
|
|
|
35
34
|
import 'react-bootstrap/Row';
|
|
36
35
|
import 'react-bootstrap/Col';
|
|
37
36
|
import './SideFooter.js';
|
|
37
|
+
import './defineProperty-8c30428f.js';
|
|
38
|
+
import './define-property-5f1bda73.js';
|
|
38
39
|
import './react-social-icons-9be47857.js';
|
|
39
40
|
import './get-3c308da4.js';
|
|
40
41
|
import './eq-bdcbf886.js';
|
|
41
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
42
42
|
import './ConferenceBanner-8792ebd2.js';
|
|
43
43
|
import './ADSponsoredResources.js';
|
|
44
44
|
import './LeftNav.js';
|
|
@@ -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-e27bd93b.js';
|
|
56
|
+
import './index.esm-37268dca.js';
|
|
57
|
+
import './SocialSearchComponent-c249903e.js';
|
|
58
58
|
import './SocialIcons.js';
|
|
59
59
|
import 'react-bootstrap/Form';
|
|
60
60
|
import 'react-bootstrap/FormControl';
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-eaa2c6b3.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -18,8 +18,7 @@ import './index-3f5c03b2.js';
|
|
|
18
18
|
import './slicedToArray-6ebcbfea.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
20
|
import './urlFor.js';
|
|
21
|
-
import './index-
|
|
22
|
-
import './events-6c3a7a63.js';
|
|
21
|
+
import './index-5cc7b406.js';
|
|
23
22
|
import 'next/router';
|
|
24
23
|
import './index-c7e2ac95.js';
|
|
25
24
|
import './util-8ed16d48.js';
|
|
@@ -59,7 +58,6 @@ import 'react-bootstrap/Figure';
|
|
|
59
58
|
import 'react-bootstrap/OverlayTrigger';
|
|
60
59
|
import 'react-bootstrap/Tooltip';
|
|
61
60
|
import 'react-bootstrap/Popover';
|
|
62
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
63
61
|
import 'react-bootstrap/Container';
|
|
64
62
|
import './visibility-sensor-72fd8f8b.js';
|
|
65
63
|
import './YoutubeGroup.js';
|
|
@@ -20,8 +20,7 @@ import './extends-6d8e3924.js';
|
|
|
20
20
|
import './inherits-a6ba2ec4.js';
|
|
21
21
|
import './_object-sap-7cee6f84.js';
|
|
22
22
|
import './define-property-5f1bda73.js';
|
|
23
|
-
import './index-
|
|
24
|
-
import './events-6c3a7a63.js';
|
|
23
|
+
import './index-5cc7b406.js';
|
|
25
24
|
import 'prop-types';
|
|
26
25
|
import 'react-bootstrap/Container';
|
|
27
26
|
import 'react-bootstrap/Row';
|
|
@@ -36,13 +35,13 @@ import './index.es-a6137319.js';
|
|
|
36
35
|
import './visibility-sensor-72fd8f8b.js';
|
|
37
36
|
import 'react-dom';
|
|
38
37
|
import './index-3f5c03b2.js';
|
|
39
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-012e6f16.js';
|
|
40
39
|
import './AdSlot.js';
|
|
41
40
|
import './Beam.js';
|
|
42
41
|
import './stringify-2b084bee.js';
|
|
43
42
|
import './Segment.js';
|
|
44
43
|
import './main-9f6806ea.js';
|
|
45
|
-
import './ADInfeed-
|
|
44
|
+
import './ADInfeed-f946441a.js';
|
|
46
45
|
import './index-755f2cc2.js';
|
|
47
46
|
import './urlFor.js';
|
|
48
47
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
2
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { l as lib_3 } from './index-
|
|
4
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
6
6
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
7
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
@@ -19,7 +19,6 @@ import './typeof-e9fc0c5d.js';
|
|
|
19
19
|
import './web.dom.iterable-ab4dea5c.js';
|
|
20
20
|
import './_is-array-8d21b9e3.js';
|
|
21
21
|
import './_library-528f1934.js';
|
|
22
|
-
import './events-6c3a7a63.js';
|
|
23
22
|
import 'prop-types';
|
|
24
23
|
import 'react-dom';
|
|
25
24
|
import './iconBase-ccc56b97.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,7 +15,7 @@ import FormControl from 'react-bootstrap/FormControl';
|
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-eaa2c6b3.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
|
|
@@ -33,7 +33,7 @@ import { PixelTrackingArticle } from './PixelTracking.js';
|
|
|
33
33
|
import './Segment.js';
|
|
34
34
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
35
35
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
36
|
-
import { l as lib_3 } from './index-
|
|
36
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
37
37
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
38
38
|
import getQuery from './getQuery.js';
|
|
39
39
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
@@ -70,11 +70,9 @@ import 'react-bootstrap/Figure';
|
|
|
70
70
|
import 'react-bootstrap/OverlayTrigger';
|
|
71
71
|
import 'react-bootstrap/Tooltip';
|
|
72
72
|
import 'react-bootstrap/Popover';
|
|
73
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
74
73
|
import './debounce-533d9748.js';
|
|
75
74
|
import './isSymbol-a7e9aafe.js';
|
|
76
75
|
import './toNumber-5aeba6e7.js';
|
|
77
|
-
import './events-6c3a7a63.js';
|
|
78
76
|
import './index-db3bb315.js';
|
|
79
77
|
|
|
80
78
|
var getArticleSummary = function getArticleSummary(article) {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { d as defineProperty$1 } from './define-property-5f1bda73.js';
|
|
3
|
+
|
|
4
|
+
var defineProperty = createCommonjsModule(function (module, exports) {
|
|
5
|
+
|
|
6
|
+
exports.__esModule = true;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _defineProperty2 = _interopRequireDefault(defineProperty$1);
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
exports.default = function (obj, key, value) {
|
|
15
|
+
if (key in obj) {
|
|
16
|
+
(0, _defineProperty2.default)(obj, key, {
|
|
17
|
+
value: value,
|
|
18
|
+
enumerable: true,
|
|
19
|
+
configurable: true,
|
|
20
|
+
writable: true
|
|
21
|
+
});
|
|
22
|
+
} else {
|
|
23
|
+
obj[key] = value;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return obj;
|
|
27
|
+
};
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
31
|
+
|
|
32
|
+
export { _defineProperty as _ };
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import './moment-bc12cb97.js';
|
|
2
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
+
|
|
1
4
|
var getQuery = function getQuery(type) {
|
|
2
5
|
var conditions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
3
6
|
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
|
|
@@ -13,9 +16,9 @@ var getQuery = function getQuery(type) {
|
|
|
13
16
|
case 'article':
|
|
14
17
|
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
|
|
15
18
|
case 'publication':
|
|
16
|
-
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
19
|
+
return '*[_type == \'publication\'\n && identifier.current == $publication \n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)\n && (!defined(published) ||\n defined(published) && dateTime(published) <= dateTime(now()))] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
17
20
|
case 'issue':
|
|
18
|
-
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && is_visible != false\n && identifier.current == $issue][0] {\n ...,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] | order(published desc) {\n ...,\n thumbnail{ ..., asset-> },\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n },\n \'pageNumber\': 1\n }\n }\n }';
|
|
21
|
+
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && is_visible != false\n && (!defined(published) || (defined(published) && dateTime(published) <= dateTime(now())))\n && identifier.current == $issue][0] {\n ...,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] | order(published desc) {\n ...,\n thumbnail{ ..., asset-> },\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n },\n \'pageNumber\': 1\n }\n }\n }';
|
|
19
22
|
case 'externalResources':
|
|
20
23
|
return '{\n \'archived\': *[_type == "external" && archived && isVisible ' + conditions + '] | order(displayDate desc){ ..., thumbnail{ ..., asset-> }},\n \'recent\': *[_type == "external" && archived != true && isVisible ' + conditions + '] | order(displayDate asc){ ..., thumbnail{ ..., asset-> }}\n }';
|
|
21
24
|
case 'mediaseries':
|