@mjhls/mjh-framework 1.0.879 → 1.0.880
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 +3 -2
- package/dist/cjs/AD300x250x600.js +3 -2
- package/dist/cjs/AD728x90.js +3 -2
- package/dist/cjs/ADFloatingFooter.js +3 -2
- package/dist/cjs/ADGutter.js +3 -2
- package/dist/cjs/ADSkyscraper.js +3 -2
- package/dist/cjs/ADSponsoredResources.js +3 -2
- package/dist/cjs/ADWebcast.js +3 -2
- package/dist/cjs/ADWelcome.js +3 -2
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +3 -2
- package/dist/cjs/AdSlotsProvider.js +3 -2
- package/dist/cjs/AlgoliaSearch.js +14098 -17
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +6 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesListing.js +5 -4
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +3 -2
- package/dist/cjs/Column3.js +3 -2
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +12 -11
- package/dist/cjs/DeckQueue.js +3 -2
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +2 -1
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +6 -5
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +5 -4
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HorizontalArticleListing.js +6 -5
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueLanding.js +37 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +3 -2
- package/dist/cjs/MasterDeck.js +13 -12
- package/dist/cjs/MediaSeriesLanding.js +306 -406
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +8 -7
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +5 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +5 -4
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +4 -3
- package/dist/cjs/{SeriesSlider-f9128638.js → SeriesSlider-ce3261cb.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-5ec44406.js} +3 -3
- package/dist/cjs/TaxonomyDescription.js +6 -5
- package/dist/cjs/TemplateNormal.js +8 -7
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VideoProgramLandingPage.js +6 -5
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +5 -4
- package/dist/cjs/VideoSeriesListing.js +5 -4
- package/dist/cjs/View.js +13 -12
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +6 -5
- package/dist/cjs/{getTargeting-6d59cc5b.js → getTargeting-9d509319.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-aafe16dd.js → index-22bdde81.js} +3 -3
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +15 -14
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -6
- package/dist/esm/AD300x250x600.js +7 -6
- package/dist/esm/AD728x90.js +8 -7
- package/dist/esm/ADFloatingFooter.js +10 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -9
- package/dist/esm/{ADInfeed-bba8b026.js → ADInfeed-8c5f8c58.js} +5 -5
- package/dist/esm/ADSkyscraper.js +10 -9
- package/dist/esm/ADSponsoredResources.js +10 -9
- package/dist/esm/ADWebcast.js +10 -9
- package/dist/esm/ADWelcome.js +14 -13
- package/dist/esm/{ADlgInfeed-a45afa1d.js → ADlgInfeed-2316e091.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +6 -5
- package/dist/esm/AdSlotsProvider.js +5 -4
- package/dist/esm/AlgoliaSearch.js +14121 -40
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +18 -17
- package/dist/esm/ArticleSeriesLandingPage.js +13 -12
- package/dist/esm/ArticleSeriesListing.js +32 -31
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-46a745ba.js} +10 -10
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +62 -61
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -23
- package/dist/esm/ConferenceArticleCard.js +28 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +58 -57
- package/dist/esm/DeckQueue.js +43 -42
- package/dist/esm/{Dfp-4b99f79d.js → Dfp-4ca12f2e.js} +11 -10
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +36 -35
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/ForbesHero.js +26 -26
- package/dist/esm/GridContent.js +125 -124
- package/dist/esm/GridHero.js +27 -27
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +32 -31
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/IssueContentDeck.js +39 -39
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +52 -51
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -16
- package/dist/esm/MasterDeck.js +47 -46
- package/dist/esm/MediaSeriesLanding.js +332 -432
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +50 -50
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +67 -66
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +15 -14
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +247 -246
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +20 -19
- package/dist/esm/{SeriesSlider-98b7a870.js → SeriesSlider-7a6c45ce.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-9458fac6.js → SocialSearchComponent-bdecba55.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TaxonomyDescription.js +14 -13
- package/dist/esm/TemplateNormal.js +30 -29
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +11 -11
- package/dist/esm/VideoProgramLandingPage.js +25 -24
- package/dist/esm/VideoSeriesCard.js +15 -15
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +13 -12
- package/dist/esm/VideoSeriesListing.js +48 -47
- package/dist/esm/View.js +177 -176
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +9 -8
- package/dist/esm/{getTargeting-3792eba9.js → getTargeting-ff2c9409.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index-e57e375a.js → index-c9bfc91f.js} +419 -419
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +40 -39
- package/dist/esm/{main-1894c974.js → main-4136096f.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +111 -111
- /package/dist/cjs/{ADInfeed-51a39495.js → ADInfeed-9a2e923a.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-12db4509.js → ADlgInfeed-957a1996.js} +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React, { useState } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { b as lib_1, a as lib_2 } from './index-
|
|
5
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
4
|
+
import { b as lib_1, a as lib_2 } from './index-2446af28.js';
|
|
5
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
6
6
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './web.dom.iterable-fdf034f5.js';
|
|
9
9
|
import './core.get-iterator-method-e903ff31.js';
|
|
10
|
+
import './events-6c3a7a63.js';
|
|
10
11
|
import 'react-dom';
|
|
11
12
|
import './isSymbol-a7e9aafe.js';
|
|
12
13
|
import './toNumber-5aeba6e7.js';
|
|
@@ -40,20 +41,20 @@ var AD = function AD(_ref) {
|
|
|
40
41
|
}
|
|
41
42
|
}, 500);
|
|
42
43
|
|
|
43
|
-
return
|
|
44
|
-
|
|
44
|
+
return React.createElement(
|
|
45
|
+
React.Fragment,
|
|
45
46
|
null,
|
|
46
|
-
!showPlaceholder &&
|
|
47
|
+
!showPlaceholder && React.createElement(
|
|
47
48
|
lib_1,
|
|
48
49
|
{
|
|
49
50
|
dfpNetworkId: networkID,
|
|
50
51
|
targetingArguments: targeting,
|
|
51
52
|
sizeMapping: sizeMapping,
|
|
52
53
|
lazyLoad: { fetchMarginPercent: 500, renderMarginPercent: 200, mobileScaling: 2.0 } },
|
|
53
|
-
|
|
54
|
+
React.createElement(
|
|
54
55
|
'div',
|
|
55
56
|
{ className: className },
|
|
56
|
-
|
|
57
|
+
React.createElement(lib_2, {
|
|
57
58
|
slotId: slotId,
|
|
58
59
|
sizes: sizes,
|
|
59
60
|
adUnit: adUnit,
|
|
@@ -65,7 +66,7 @@ var AD = function AD(_ref) {
|
|
|
65
66
|
})
|
|
66
67
|
)
|
|
67
68
|
),
|
|
68
|
-
adRendered && showPlaceholder &&
|
|
69
|
+
adRendered && showPlaceholder && React.createElement(
|
|
69
70
|
VisibilitySensor,
|
|
70
71
|
{
|
|
71
72
|
partialVisibility: true,
|
|
@@ -74,7 +75,7 @@ var AD = function AD(_ref) {
|
|
|
74
75
|
setShowPlaceholder(false);
|
|
75
76
|
}
|
|
76
77
|
} },
|
|
77
|
-
|
|
78
|
+
React.createElement(
|
|
78
79
|
'div',
|
|
79
80
|
{ style: { height: 'auto' } },
|
|
80
81
|
'\xA0'
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -6,8 +6,8 @@ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-ca2c8b8d
|
|
|
6
6
|
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
7
7
|
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
8
8
|
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
9
|
-
import
|
|
10
|
-
import { I as InfiniteScroll } from './index.es-
|
|
9
|
+
import React, { useState, useEffect } from 'react';
|
|
10
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
11
11
|
import Container from 'react-bootstrap/Container';
|
|
12
12
|
import Spinner from 'react-bootstrap/Spinner';
|
|
13
13
|
import Row from 'react-bootstrap/Row';
|
|
@@ -15,7 +15,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
15
15
|
import Card from 'react-bootstrap/Card';
|
|
16
16
|
import Form from 'react-bootstrap/Form';
|
|
17
17
|
import Button from 'react-bootstrap/Button';
|
|
18
|
-
import './main-
|
|
18
|
+
import './main-4136096f.js';
|
|
19
19
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
20
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
21
|
import { useRouter } from 'next/router';
|
|
@@ -243,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
243
243
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
244
244
|
setAccessToken(cventAccessToken);
|
|
245
245
|
} else {
|
|
246
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
-
fetch(url, {
|
|
250
|
-
headers: {
|
|
251
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
-
Authorization: `Basic ${encodedData}`
|
|
253
|
-
},
|
|
254
|
-
method: 'POST',
|
|
255
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
-
})
|
|
257
|
-
.then((response) => response.json())
|
|
258
|
-
.then((json) => {
|
|
259
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
-
setAccessToken(json.access_token)
|
|
262
|
-
})
|
|
246
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
+
fetch(url, {
|
|
250
|
+
headers: {
|
|
251
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
+
Authorization: `Basic ${encodedData}`
|
|
253
|
+
},
|
|
254
|
+
method: 'POST',
|
|
255
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
+
})
|
|
257
|
+
.then((response) => response.json())
|
|
258
|
+
.then((json) => {
|
|
259
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
+
setAccessToken(json.access_token)
|
|
262
|
+
})
|
|
263
263
|
.catch((e) => console.log(e))*/
|
|
264
264
|
// hello
|
|
265
265
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -290,10 +290,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
290
290
|
var newLink = void 0;
|
|
291
291
|
var checkProtocol = links && links.summary && links.summary.href.includes('https');
|
|
292
292
|
if (!checkProtocol) newLink = links.summary.href.replace('http', 'https');
|
|
293
|
-
return
|
|
293
|
+
return React.createElement(
|
|
294
294
|
'a',
|
|
295
295
|
{ rel: 'noopener', href: newLink ? newLink : links.summary.href || '#', target: '_blank' },
|
|
296
|
-
|
|
296
|
+
React.createElement(
|
|
297
297
|
Button,
|
|
298
298
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
299
299
|
cta
|
|
@@ -304,10 +304,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
304
304
|
var newLink = void 0;
|
|
305
305
|
var checkProtocol = links && links.summary && links.summary.href.includes('https');
|
|
306
306
|
if (!checkProtocol) newLink = links.summary.href.replace('http', 'https');
|
|
307
|
-
return
|
|
307
|
+
return React.createElement(
|
|
308
308
|
'a',
|
|
309
309
|
{ rel: 'noopener', href: newLink ? newLink : links.summary.href || '#', target: '_blank' },
|
|
310
|
-
|
|
310
|
+
React.createElement(
|
|
311
311
|
Button,
|
|
312
312
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
313
313
|
'Learn More'
|
|
@@ -381,15 +381,15 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
return valuesArray.length > 0 ?
|
|
385
|
-
|
|
384
|
+
return valuesArray.length > 0 ? React.createElement(
|
|
385
|
+
React.Fragment,
|
|
386
386
|
null,
|
|
387
|
-
|
|
387
|
+
React.createElement(
|
|
388
388
|
'h5',
|
|
389
389
|
{ className: 'filterTitle' },
|
|
390
390
|
'Filters:'
|
|
391
391
|
),
|
|
392
|
-
|
|
392
|
+
React.createElement(
|
|
393
393
|
Form,
|
|
394
394
|
null,
|
|
395
395
|
_Object$entries(deckAdvancedFilters).map(function (_ref8, index) {
|
|
@@ -397,36 +397,36 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
397
397
|
key = _ref9[0],
|
|
398
398
|
value = _ref9[1];
|
|
399
399
|
|
|
400
|
-
return
|
|
400
|
+
return React.createElement(
|
|
401
401
|
Form.Group,
|
|
402
402
|
null,
|
|
403
|
-
|
|
403
|
+
React.createElement(
|
|
404
404
|
Form.Label,
|
|
405
405
|
null,
|
|
406
406
|
key
|
|
407
407
|
),
|
|
408
|
-
|
|
408
|
+
React.createElement(
|
|
409
409
|
Form.Control,
|
|
410
410
|
{ as: 'select', 'data-filterName': key, onChange: function onChange(evt) {
|
|
411
411
|
return handleFilterSelected(evt);
|
|
412
412
|
} },
|
|
413
|
-
|
|
414
|
-
|
|
413
|
+
React.createElement(
|
|
414
|
+
React.Fragment,
|
|
415
415
|
null,
|
|
416
|
-
|
|
416
|
+
React.createElement(
|
|
417
417
|
'option',
|
|
418
418
|
null,
|
|
419
419
|
' '
|
|
420
420
|
),
|
|
421
421
|
valuesArray[index].map(function (text, index) {
|
|
422
422
|
if (value.value.toLowerCase() === text.toLowerCase()) {
|
|
423
|
-
return
|
|
423
|
+
return React.createElement(
|
|
424
424
|
'option',
|
|
425
425
|
{ selected: true },
|
|
426
426
|
text
|
|
427
427
|
);
|
|
428
428
|
}
|
|
429
|
-
return
|
|
429
|
+
return React.createElement(
|
|
430
430
|
'option',
|
|
431
431
|
null,
|
|
432
432
|
text
|
|
@@ -437,7 +437,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
437
437
|
);
|
|
438
438
|
})
|
|
439
439
|
),
|
|
440
|
-
|
|
440
|
+
React.createElement(
|
|
441
441
|
'style',
|
|
442
442
|
{ jsx: true },
|
|
443
443
|
'\n .filterTitle {\n font-weight: 400;\n }\n '
|
|
@@ -596,10 +596,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
596
596
|
var filteredData = localData;
|
|
597
597
|
|
|
598
598
|
if (filteredData.length <= 0) {
|
|
599
|
-
return
|
|
599
|
+
return React.createElement(
|
|
600
600
|
'div',
|
|
601
601
|
null,
|
|
602
|
-
|
|
602
|
+
React.createElement(
|
|
603
603
|
'div',
|
|
604
604
|
null,
|
|
605
605
|
'No events found '
|
|
@@ -607,7 +607,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
607
607
|
);
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
return
|
|
610
|
+
return React.createElement(
|
|
611
611
|
Container,
|
|
612
612
|
{ style: { padding: 1 } },
|
|
613
613
|
filteredData && filteredData.map(function (row, index) {
|
|
@@ -648,58 +648,58 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
648
648
|
var endDay = momentTimezone(end).tz(timezone).format();
|
|
649
649
|
var showEndTime = momentTimezone(startDay.split('T')[0]).isBefore(endDay.split('T')[0]) ? ' to ' + momentTimezone(end).tz(timezone).format('LLL zz') : null;
|
|
650
650
|
var isCompleted = row.status === 'Completed';
|
|
651
|
-
return
|
|
652
|
-
|
|
651
|
+
return React.createElement(
|
|
652
|
+
React.Fragment,
|
|
653
653
|
{ key: index },
|
|
654
|
-
|
|
654
|
+
React.createElement(
|
|
655
655
|
Card,
|
|
656
656
|
null,
|
|
657
|
-
isHardcoded ? _links &&
|
|
657
|
+
isHardcoded ? _links && React.createElement(
|
|
658
658
|
Row,
|
|
659
659
|
null,
|
|
660
|
-
|
|
660
|
+
React.createElement(
|
|
661
661
|
Col,
|
|
662
662
|
null,
|
|
663
663
|
renderLearnMoreButton(_links)
|
|
664
664
|
)
|
|
665
|
-
) : isRegister && _links &&
|
|
665
|
+
) : isRegister && _links && React.createElement(
|
|
666
666
|
Row,
|
|
667
667
|
null,
|
|
668
|
-
|
|
668
|
+
React.createElement(
|
|
669
669
|
Col,
|
|
670
670
|
null,
|
|
671
671
|
renderRegisterButton(_links)
|
|
672
672
|
)
|
|
673
673
|
),
|
|
674
|
-
isCompleted && _links &&
|
|
674
|
+
isCompleted && _links && React.createElement(
|
|
675
675
|
Row,
|
|
676
676
|
null,
|
|
677
|
-
|
|
677
|
+
React.createElement(
|
|
678
678
|
Col,
|
|
679
679
|
null,
|
|
680
680
|
renderLearnMoreButton(_links)
|
|
681
681
|
)
|
|
682
682
|
),
|
|
683
|
-
discussionTopic &&
|
|
683
|
+
discussionTopic && React.createElement(
|
|
684
684
|
Row,
|
|
685
685
|
null,
|
|
686
|
-
|
|
686
|
+
React.createElement(
|
|
687
687
|
Col,
|
|
688
688
|
null,
|
|
689
|
-
|
|
689
|
+
React.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
|
|
690
690
|
)
|
|
691
691
|
),
|
|
692
|
-
start && timezone &&
|
|
692
|
+
start && timezone && React.createElement(
|
|
693
693
|
Row,
|
|
694
694
|
null,
|
|
695
|
-
|
|
695
|
+
React.createElement(
|
|
696
696
|
Col,
|
|
697
697
|
null,
|
|
698
|
-
start.indexOf('TBD') >= 0 ?
|
|
698
|
+
start.indexOf('TBD') >= 0 ? React.createElement(
|
|
699
699
|
'p',
|
|
700
700
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
701
701
|
start
|
|
702
|
-
) :
|
|
702
|
+
) : React.createElement(
|
|
703
703
|
'p',
|
|
704
704
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
705
705
|
start.indexOf('T') >= 0 ? momentTimezone(start).tz(timezone).format('LLL zz') : momentTimezone(start).format('LL'),
|
|
@@ -707,47 +707,47 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
707
707
|
)
|
|
708
708
|
)
|
|
709
709
|
),
|
|
710
|
-
eventRegion &&
|
|
710
|
+
eventRegion && React.createElement(
|
|
711
711
|
Row,
|
|
712
712
|
null,
|
|
713
|
-
|
|
713
|
+
React.createElement(
|
|
714
714
|
Col,
|
|
715
715
|
null,
|
|
716
|
-
|
|
716
|
+
React.createElement(
|
|
717
717
|
'p',
|
|
718
718
|
{ className: 'event-region', style: { padding: 0, margin: 0 } },
|
|
719
719
|
eventRegion
|
|
720
720
|
)
|
|
721
721
|
)
|
|
722
722
|
),
|
|
723
|
-
venues && venues.length && venues[0].name &&
|
|
723
|
+
venues && venues.length && venues[0].name && React.createElement(
|
|
724
724
|
Row,
|
|
725
725
|
null,
|
|
726
|
-
|
|
726
|
+
React.createElement(
|
|
727
727
|
Col,
|
|
728
728
|
null,
|
|
729
|
-
|
|
729
|
+
React.createElement(
|
|
730
730
|
'p',
|
|
731
731
|
{ className: 'venue', style: { padding: 0, margin: 0 } },
|
|
732
732
|
venues[0].name
|
|
733
733
|
)
|
|
734
734
|
)
|
|
735
735
|
),
|
|
736
|
-
speakerInfo && speakerInfo.length > 0 &&
|
|
736
|
+
speakerInfo && speakerInfo.length > 0 && React.createElement(
|
|
737
737
|
Row,
|
|
738
738
|
null,
|
|
739
|
-
|
|
739
|
+
React.createElement(
|
|
740
740
|
Col,
|
|
741
741
|
null,
|
|
742
|
-
|
|
742
|
+
React.createElement(
|
|
743
743
|
'div',
|
|
744
744
|
{ className: 'speaker-section', style: { border: '1px solid', borderRadius: '8px', padding: '8px' } },
|
|
745
745
|
speakerInfo.map(function (info, index) {
|
|
746
|
-
return
|
|
746
|
+
return React.createElement(
|
|
747
747
|
'p',
|
|
748
748
|
{ key: index, style: { marginBottom: '0' } },
|
|
749
749
|
info.value.map(function (speaker, index) {
|
|
750
|
-
return
|
|
750
|
+
return React.createElement(
|
|
751
751
|
'b',
|
|
752
752
|
{ key: index, className: 'kol-speaker' },
|
|
753
753
|
speaker,
|
|
@@ -760,14 +760,14 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
760
760
|
)
|
|
761
761
|
)
|
|
762
762
|
),
|
|
763
|
-
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
763
|
+
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
|
|
764
764
|
'div',
|
|
765
765
|
{ style: { margin: '0 auto' } },
|
|
766
766
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
767
767
|
)
|
|
768
768
|
);
|
|
769
769
|
}),
|
|
770
|
-
|
|
770
|
+
React.createElement(
|
|
771
771
|
'style',
|
|
772
772
|
{ jsx: 'true' },
|
|
773
773
|
'\n .card {\n -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);\n border-radius: 8px;\n padding: 12px;\n }\n .row {\n margin-bottom: 8px;\n }\n '
|
|
@@ -777,7 +777,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
777
777
|
|
|
778
778
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
779
779
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
780
|
-
return
|
|
780
|
+
return React.createElement(
|
|
781
781
|
Col,
|
|
782
782
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
783
783
|
rightItems[i].component
|
|
@@ -785,13 +785,13 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
785
785
|
};
|
|
786
786
|
|
|
787
787
|
if (isLoading) {
|
|
788
|
-
return
|
|
788
|
+
return React.createElement(
|
|
789
789
|
'div',
|
|
790
790
|
{ style: { display: 'flex', justifyContent: 'center', marginTop: '48px' } },
|
|
791
|
-
|
|
791
|
+
React.createElement(
|
|
792
792
|
Spinner,
|
|
793
793
|
{ animation: 'border', role: 'status' },
|
|
794
|
-
|
|
794
|
+
React.createElement(
|
|
795
795
|
'span',
|
|
796
796
|
{ className: 'sr-only' },
|
|
797
797
|
'Loading...'
|
|
@@ -801,34 +801,34 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
801
801
|
}
|
|
802
802
|
|
|
803
803
|
if (data.length > 0) {
|
|
804
|
-
return
|
|
805
|
-
|
|
804
|
+
return React.createElement(
|
|
805
|
+
React.Fragment,
|
|
806
806
|
null,
|
|
807
|
-
data && advancedFilters &&
|
|
807
|
+
data && advancedFilters && React.createElement(
|
|
808
808
|
'div',
|
|
809
809
|
{ className: 'advancedFilters ' + (showFilters ? 'show' : 'hide') },
|
|
810
810
|
grabAdvancedFilters()
|
|
811
811
|
),
|
|
812
|
-
|
|
812
|
+
React.createElement(
|
|
813
813
|
'div',
|
|
814
814
|
{ className: 'cvent-events' },
|
|
815
|
-
|
|
815
|
+
React.createElement(
|
|
816
816
|
InfiniteScroll,
|
|
817
817
|
{ dataLength: data.length, next: loadMore, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
818
818
|
eventCards
|
|
819
819
|
)
|
|
820
820
|
),
|
|
821
|
-
|
|
821
|
+
React.createElement(
|
|
822
822
|
'style',
|
|
823
823
|
{ jsx: true },
|
|
824
824
|
'\n .advancedFilters {\n overflow: hidden;\n border-radius: 5px;\n padding: 1rem;\n margin-bottom: 1rem;\n box-shadow: #00000075 0 0 5px 2px;\n }\n .form-label {\n margin-bottom: 0;\n }\n .hide {\n opacity: 0;\n height: 0;\n display: none;\n }\n .show {\n opacity: 1;\n min-height: 50px;\n height: auto;\n display: block;\n }\n '
|
|
825
825
|
)
|
|
826
826
|
);
|
|
827
827
|
} else {
|
|
828
|
-
return
|
|
828
|
+
return React.createElement(
|
|
829
829
|
'div',
|
|
830
830
|
null,
|
|
831
|
-
|
|
831
|
+
React.createElement(
|
|
832
832
|
'div',
|
|
833
833
|
null,
|
|
834
834
|
'No events found '
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
3
|
-
import
|
|
4
|
-
import { B as BlockContent } from './BlockContent-
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
5
|
+
import { g as getSerializers } from './index-c9bfc91f.js';
|
|
6
6
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -14,7 +14,8 @@ import 'prop-types';
|
|
|
14
14
|
import './index-0dbff1d1.js';
|
|
15
15
|
import 'react-bootstrap';
|
|
16
16
|
import './urlFor.js';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-2446af28.js';
|
|
18
|
+
import './events-6c3a7a63.js';
|
|
18
19
|
import './index-c7e2ac95.js';
|
|
19
20
|
import './util-3ab476bf.js';
|
|
20
21
|
import './Beam.js';
|
|
@@ -23,12 +24,12 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
23
24
|
import './_library-528f1934.js';
|
|
24
25
|
import './_iter-detect-f089461c.js';
|
|
25
26
|
import './Segment.js';
|
|
26
|
-
import './main-
|
|
27
|
-
import './index-
|
|
27
|
+
import './main-4136096f.js';
|
|
28
|
+
import './index-35bdcc81.js';
|
|
28
29
|
import 'react-dom';
|
|
29
30
|
import './typeof-83d9eb10.js';
|
|
30
31
|
import './_is-array-893ab020.js';
|
|
31
|
-
import './brightcove-react-player-loader.es-
|
|
32
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
32
33
|
import './GroupDeck.js';
|
|
33
34
|
import './smoothscroll-fa4e3f8c.js';
|
|
34
35
|
import './moment-bc12cb97.js';
|
|
@@ -48,8 +49,8 @@ import 'react-bootstrap/Col';
|
|
|
48
49
|
import './inherits-8a801a18.js';
|
|
49
50
|
import './_object-sap-169d6272.js';
|
|
50
51
|
import './define-property-99e66838.js';
|
|
51
|
-
import './index.esm-
|
|
52
|
-
import './iconBase-
|
|
52
|
+
import './index.esm-3fdda599.js';
|
|
53
|
+
import './iconBase-602d52fe.js';
|
|
53
54
|
import 'react-bootstrap/Figure';
|
|
54
55
|
import 'react-bootstrap/OverlayTrigger';
|
|
55
56
|
import 'react-bootstrap/Tooltip';
|
|
@@ -83,13 +84,13 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
83
84
|
useEffect(function () {
|
|
84
85
|
router.push(router.pathname, '/' + url + '?display=' + active, { shallow: true });
|
|
85
86
|
}, [active]);
|
|
86
|
-
return
|
|
87
|
+
return React.createElement(
|
|
87
88
|
'div',
|
|
88
89
|
{ id: 'resources' },
|
|
89
|
-
showToggles &&
|
|
90
|
+
showToggles && React.createElement(
|
|
90
91
|
'div',
|
|
91
92
|
{ id: 'toggles' },
|
|
92
|
-
|
|
93
|
+
React.createElement(
|
|
93
94
|
'div',
|
|
94
95
|
{ onClick: function onClick() {
|
|
95
96
|
return setActive(function () {
|
|
@@ -98,7 +99,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
98
99
|
}, className: active === 'recent' ? 'active' : '' },
|
|
99
100
|
recentTitle
|
|
100
101
|
),
|
|
101
|
-
|
|
102
|
+
React.createElement(
|
|
102
103
|
'div',
|
|
103
104
|
{ onClick: function onClick() {
|
|
104
105
|
return setActive(function () {
|
|
@@ -109,43 +110,43 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
109
110
|
)
|
|
110
111
|
),
|
|
111
112
|
resources[active].length > 0 ? resources[active].map(function (r) {
|
|
112
|
-
return
|
|
113
|
+
return React.createElement(
|
|
113
114
|
'div',
|
|
114
115
|
{ key: r._id, className: 'resource' },
|
|
115
|
-
dispalyThumb &&
|
|
116
|
+
dispalyThumb && React.createElement(
|
|
116
117
|
'div',
|
|
117
118
|
{ id: 'thumb' },
|
|
118
|
-
|
|
119
|
+
React.createElement(
|
|
119
120
|
'a',
|
|
120
121
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
121
|
-
|
|
122
|
+
React.createElement('img', { src: r.thumbnail })
|
|
122
123
|
)
|
|
123
124
|
),
|
|
124
|
-
|
|
125
|
+
React.createElement(
|
|
125
126
|
'div',
|
|
126
127
|
{ id: 'details' },
|
|
127
|
-
|
|
128
|
+
React.createElement(
|
|
128
129
|
'a',
|
|
129
130
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
130
|
-
|
|
131
|
+
React.createElement(
|
|
131
132
|
'p',
|
|
132
133
|
{ id: 'title' },
|
|
133
134
|
r.title
|
|
134
135
|
),
|
|
135
|
-
r.intro &&
|
|
136
|
+
r.intro && React.createElement(
|
|
136
137
|
'div',
|
|
137
138
|
{ id: 'intro' },
|
|
138
|
-
|
|
139
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.intro }, client.config()))
|
|
139
140
|
),
|
|
140
|
-
|
|
141
|
+
React.createElement(
|
|
141
142
|
'div',
|
|
142
143
|
{ id: 'date' },
|
|
143
|
-
|
|
144
|
+
React.createElement(
|
|
144
145
|
'p',
|
|
145
146
|
{ style: { fontWeight: 'bold' } },
|
|
146
147
|
'Date:'
|
|
147
148
|
),
|
|
148
|
-
|
|
149
|
+
React.createElement(
|
|
149
150
|
'p',
|
|
150
151
|
null,
|
|
151
152
|
momentTimezone.tz(r.displayDate, 'America/New_York').format(dateFormat),
|
|
@@ -153,30 +154,30 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
153
154
|
r.endDate && '- ' + momentTimezone.tz(r.endDate, 'America/New_York').format(dateFormat)
|
|
154
155
|
)
|
|
155
156
|
),
|
|
156
|
-
r.speakers &&
|
|
157
|
+
r.speakers && React.createElement(
|
|
157
158
|
'div',
|
|
158
159
|
{ id: 'speakers' },
|
|
159
|
-
|
|
160
|
+
React.createElement(
|
|
160
161
|
'p',
|
|
161
162
|
{ style: { fontWeight: 'bold' } },
|
|
162
163
|
'Speakers:'
|
|
163
164
|
),
|
|
164
|
-
|
|
165
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.speakers }, client.config()))
|
|
165
166
|
),
|
|
166
|
-
r.location &&
|
|
167
|
+
r.location && React.createElement(
|
|
167
168
|
'div',
|
|
168
169
|
{ id: 'location' },
|
|
169
|
-
|
|
170
|
+
React.createElement(
|
|
170
171
|
'p',
|
|
171
172
|
{ style: { fontWeight: 'bold' } },
|
|
172
173
|
'Location:'
|
|
173
174
|
),
|
|
174
175
|
r.location
|
|
175
176
|
),
|
|
176
|
-
r.sponsor &&
|
|
177
|
+
r.sponsor && React.createElement(
|
|
177
178
|
'div',
|
|
178
179
|
{ id: 'sponsor' },
|
|
179
|
-
|
|
180
|
+
React.createElement(
|
|
180
181
|
'p',
|
|
181
182
|
{ style: { fontWeight: 'bold' } },
|
|
182
183
|
'Sponsors:'
|
|
@@ -184,19 +185,19 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
184
185
|
r.sponsor
|
|
185
186
|
)
|
|
186
187
|
),
|
|
187
|
-
|
|
188
|
+
React.createElement(
|
|
188
189
|
Button,
|
|
189
190
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
190
191
|
cta
|
|
191
192
|
)
|
|
192
193
|
)
|
|
193
194
|
);
|
|
194
|
-
}) :
|
|
195
|
+
}) : React.createElement(
|
|
195
196
|
'p',
|
|
196
197
|
null,
|
|
197
198
|
'No content available.'
|
|
198
199
|
),
|
|
199
|
-
|
|
200
|
+
React.createElement(
|
|
200
201
|
'style',
|
|
201
202
|
{ jsx: true },
|
|
202
203
|
'\n .resource {\n display: flex;\n position: relative;\n margin: 0 0 1rem 0;\n }\n .resource #thumb {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 25%;\n }\n .resource #thumb img {\n width: 100%;\n }\n .resource #details {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 75%;\n }\n #resources .resource p {\n margin: 0;\n }\n #toggles {\n display: flex;\n margin: 0 0 1rem 0;\n }\n #toggles > div {\n padding: 0.5rem;\n cursor: pointer;\n }\n #toggles > div:hover {\n font-weight: bold;\n border-bottom: 2px solid #cecece;\n }\n #toggles > div.active {\n font-weight: bold;\n border-bottom: 2px solid var(--primary);\n }\n .resource #title {\n font-weight: bold;\n font-size: 1.25rem;\n }\n .resource #date,\n .resource #speakers,\n .resource #location,\n .resource #sponsor,\n .resource #cta {\n margin: 1rem 0 0 0;\n }\n '
|