@mjhls/mjh-framework 1.0.817 → 1.0.818
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 +170 -170
- 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 +14100 -19
- 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-3f0ed4c8.js → Dfp-93399f8c.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 +36 -26
- 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 +308 -408
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/NavNormal.js +2 -2
- 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 +29 -29
- 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-2db54929.js → SeriesSlider-c022ce04.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-ecb4f972.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 +10 -9
- 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-a100d6e5.js → getTargeting-be6168ad.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-8041a4eb.js +99 -0
- package/dist/cjs/{index-70971c54.js → index-e5fd35c7.js} +3 -3
- 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-9225638f.js → index.esm-3b9b8952.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-f7d00a9a.js → ADInfeed-7aaa47e1.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-db64f46d.js → ADlgInfeed-78f95e78.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 +14120 -39
- 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-30aeba69.js → AuthorComponent-5ae7409f.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-be030f2a.js → Dfp-43f121ff.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 +104 -103
- package/dist/esm/GridHero.js +27 -27
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +116 -106
- 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 +331 -431
- 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/NavNormal.js +22 -22
- 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 +63 -62
- 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 +78 -78
- 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-c8477bf3.js → SeriesSlider-8414085b.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-cd38ae60.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 +31 -30
- 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 +171 -170
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +32 -32
- 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-05c216d6.js → getTargeting-68291ce9.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-a30e3b71.js → index-04c4d8d6.js} +343 -343
- 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.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-e874e770.js → index.esm-d6f88d94.js} +1 -1
- package/dist/esm/index.js +40 -39
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.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 +110 -110
- /package/dist/cjs/{ADInfeed-7cf51090.js → ADInfeed-1ac86856.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-bf24708d.js → ADlgInfeed-2ee46b09.js} +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.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-4109ff68.js';
|
|
9
9
|
import './es6.string.iterator-bc33758b.js';
|
|
10
10
|
import './_to-object-b50e61c3.js';
|
|
11
11
|
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import './events-6c3a7a63.js';
|
|
12
13
|
import 'react-dom';
|
|
13
14
|
import './isSymbol-a7e9aafe.js';
|
|
14
15
|
import './toNumber-5aeba6e7.js';
|
|
@@ -42,20 +43,20 @@ var AD = function AD(_ref) {
|
|
|
42
43
|
}
|
|
43
44
|
}, 500);
|
|
44
45
|
|
|
45
|
-
return
|
|
46
|
-
|
|
46
|
+
return React.createElement(
|
|
47
|
+
React.Fragment,
|
|
47
48
|
null,
|
|
48
|
-
!showPlaceholder &&
|
|
49
|
+
!showPlaceholder && React.createElement(
|
|
49
50
|
lib_1,
|
|
50
51
|
{
|
|
51
52
|
dfpNetworkId: networkID,
|
|
52
53
|
targetingArguments: targeting,
|
|
53
54
|
sizeMapping: sizeMapping,
|
|
54
55
|
lazyLoad: { fetchMarginPercent: 500, renderMarginPercent: 200, mobileScaling: 2.0 } },
|
|
55
|
-
|
|
56
|
+
React.createElement(
|
|
56
57
|
'div',
|
|
57
58
|
{ className: className },
|
|
58
|
-
|
|
59
|
+
React.createElement(lib_2, {
|
|
59
60
|
slotId: slotId,
|
|
60
61
|
sizes: sizes,
|
|
61
62
|
adUnit: adUnit,
|
|
@@ -67,7 +68,7 @@ var AD = function AD(_ref) {
|
|
|
67
68
|
})
|
|
68
69
|
)
|
|
69
70
|
),
|
|
70
|
-
adRendered && showPlaceholder &&
|
|
71
|
+
adRendered && showPlaceholder && React.createElement(
|
|
71
72
|
VisibilitySensor,
|
|
72
73
|
{
|
|
73
74
|
partialVisibility: true,
|
|
@@ -76,7 +77,7 @@ var AD = function AD(_ref) {
|
|
|
76
77
|
setShowPlaceholder(false);
|
|
77
78
|
}
|
|
78
79
|
} },
|
|
79
|
-
|
|
80
|
+
React.createElement(
|
|
80
81
|
'div',
|
|
81
82
|
{ style: { height: 'auto' } },
|
|
82
83
|
'\xA0'
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -6,8 +6,8 @@ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22
|
|
|
6
6
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
7
7
|
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
8
8
|
import { _ as _JSON$stringify } from './stringify-59c8f690.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-b5c5aac1.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';
|
|
@@ -245,23 +245,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
245
245
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
246
246
|
setAccessToken(cventAccessToken);
|
|
247
247
|
} else {
|
|
248
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
249
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
251
|
-
fetch(url, {
|
|
252
|
-
headers: {
|
|
253
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
254
|
-
Authorization: `Basic ${encodedData}`
|
|
255
|
-
},
|
|
256
|
-
method: 'POST',
|
|
257
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
258
|
-
})
|
|
259
|
-
.then((response) => response.json())
|
|
260
|
-
.then((json) => {
|
|
261
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
262
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
263
|
-
setAccessToken(json.access_token)
|
|
264
|
-
})
|
|
248
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
249
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
251
|
+
fetch(url, {
|
|
252
|
+
headers: {
|
|
253
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
254
|
+
Authorization: `Basic ${encodedData}`
|
|
255
|
+
},
|
|
256
|
+
method: 'POST',
|
|
257
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
258
|
+
})
|
|
259
|
+
.then((response) => response.json())
|
|
260
|
+
.then((json) => {
|
|
261
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
262
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
263
|
+
setAccessToken(json.access_token)
|
|
264
|
+
})
|
|
265
265
|
.catch((e) => console.log(e))*/
|
|
266
266
|
// hello
|
|
267
267
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -289,10 +289,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
289
289
|
}, []);
|
|
290
290
|
|
|
291
291
|
var renderRegisterButton = function renderRegisterButton(links) {
|
|
292
|
-
return
|
|
292
|
+
return React.createElement(
|
|
293
293
|
'a',
|
|
294
294
|
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
295
|
-
|
|
295
|
+
React.createElement(
|
|
296
296
|
Button,
|
|
297
297
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
298
298
|
cta
|
|
@@ -300,10 +300,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
300
300
|
);
|
|
301
301
|
};
|
|
302
302
|
var renderLearnMoreButton = function renderLearnMoreButton(links) {
|
|
303
|
-
return
|
|
303
|
+
return React.createElement(
|
|
304
304
|
'a',
|
|
305
305
|
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
306
|
-
|
|
306
|
+
React.createElement(
|
|
307
307
|
Button,
|
|
308
308
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
309
309
|
'Learn More'
|
|
@@ -377,15 +377,15 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
-
return valuesArray.length > 0 ?
|
|
381
|
-
|
|
380
|
+
return valuesArray.length > 0 ? React.createElement(
|
|
381
|
+
React.Fragment,
|
|
382
382
|
null,
|
|
383
|
-
|
|
383
|
+
React.createElement(
|
|
384
384
|
'h5',
|
|
385
385
|
{ className: 'filterTitle' },
|
|
386
386
|
'Filters:'
|
|
387
387
|
),
|
|
388
|
-
|
|
388
|
+
React.createElement(
|
|
389
389
|
Form,
|
|
390
390
|
null,
|
|
391
391
|
_Object$entries(deckAdvancedFilters).map(function (_ref8, index) {
|
|
@@ -393,36 +393,36 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
393
393
|
key = _ref9[0],
|
|
394
394
|
value = _ref9[1];
|
|
395
395
|
|
|
396
|
-
return
|
|
396
|
+
return React.createElement(
|
|
397
397
|
Form.Group,
|
|
398
398
|
null,
|
|
399
|
-
|
|
399
|
+
React.createElement(
|
|
400
400
|
Form.Label,
|
|
401
401
|
null,
|
|
402
402
|
key
|
|
403
403
|
),
|
|
404
|
-
|
|
404
|
+
React.createElement(
|
|
405
405
|
Form.Control,
|
|
406
406
|
{ as: 'select', 'data-filterName': key, onChange: function onChange(evt) {
|
|
407
407
|
return handleFilterSelected(evt);
|
|
408
408
|
} },
|
|
409
|
-
|
|
410
|
-
|
|
409
|
+
React.createElement(
|
|
410
|
+
React.Fragment,
|
|
411
411
|
null,
|
|
412
|
-
|
|
412
|
+
React.createElement(
|
|
413
413
|
'option',
|
|
414
414
|
null,
|
|
415
415
|
' '
|
|
416
416
|
),
|
|
417
417
|
valuesArray[index].map(function (text, index) {
|
|
418
418
|
if (value.value.toLowerCase() === text.toLowerCase()) {
|
|
419
|
-
return
|
|
419
|
+
return React.createElement(
|
|
420
420
|
'option',
|
|
421
421
|
{ selected: true },
|
|
422
422
|
text
|
|
423
423
|
);
|
|
424
424
|
}
|
|
425
|
-
return
|
|
425
|
+
return React.createElement(
|
|
426
426
|
'option',
|
|
427
427
|
null,
|
|
428
428
|
text
|
|
@@ -433,7 +433,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
433
433
|
);
|
|
434
434
|
})
|
|
435
435
|
),
|
|
436
|
-
|
|
436
|
+
React.createElement(
|
|
437
437
|
'style',
|
|
438
438
|
{ jsx: true },
|
|
439
439
|
'\n .filterTitle {\n font-weight: 400;\n }\n '
|
|
@@ -592,10 +592,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
592
592
|
var filteredData = localData;
|
|
593
593
|
|
|
594
594
|
if (filteredData.length <= 0) {
|
|
595
|
-
return
|
|
595
|
+
return React.createElement(
|
|
596
596
|
'div',
|
|
597
597
|
null,
|
|
598
|
-
|
|
598
|
+
React.createElement(
|
|
599
599
|
'div',
|
|
600
600
|
null,
|
|
601
601
|
'No events found '
|
|
@@ -603,7 +603,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
603
603
|
);
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
-
return
|
|
606
|
+
return React.createElement(
|
|
607
607
|
Container,
|
|
608
608
|
{ style: { padding: 1 } },
|
|
609
609
|
filteredData && filteredData.map(function (row, index) {
|
|
@@ -644,58 +644,58 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
644
644
|
var endDay = momentTimezone(end).tz(timezone).format();
|
|
645
645
|
var showEndTime = momentTimezone(startDay.split('T')[0]).isBefore(endDay.split('T')[0]) ? ' to ' + momentTimezone(end).tz(timezone).format('LLL zz') : null;
|
|
646
646
|
var isCompleted = row.status === 'Completed';
|
|
647
|
-
return
|
|
648
|
-
|
|
647
|
+
return React.createElement(
|
|
648
|
+
React.Fragment,
|
|
649
649
|
{ key: index },
|
|
650
|
-
|
|
650
|
+
React.createElement(
|
|
651
651
|
Card,
|
|
652
652
|
null,
|
|
653
|
-
isHardcoded ? _links &&
|
|
653
|
+
isHardcoded ? _links && React.createElement(
|
|
654
654
|
Row,
|
|
655
655
|
null,
|
|
656
|
-
|
|
656
|
+
React.createElement(
|
|
657
657
|
Col,
|
|
658
658
|
null,
|
|
659
659
|
renderLearnMoreButton(_links)
|
|
660
660
|
)
|
|
661
|
-
) : isRegister && _links &&
|
|
661
|
+
) : isRegister && _links && React.createElement(
|
|
662
662
|
Row,
|
|
663
663
|
null,
|
|
664
|
-
|
|
664
|
+
React.createElement(
|
|
665
665
|
Col,
|
|
666
666
|
null,
|
|
667
667
|
renderRegisterButton(_links)
|
|
668
668
|
)
|
|
669
669
|
),
|
|
670
|
-
isCompleted && _links &&
|
|
670
|
+
isCompleted && _links && React.createElement(
|
|
671
671
|
Row,
|
|
672
672
|
null,
|
|
673
|
-
|
|
673
|
+
React.createElement(
|
|
674
674
|
Col,
|
|
675
675
|
null,
|
|
676
676
|
renderLearnMoreButton(_links)
|
|
677
677
|
)
|
|
678
678
|
),
|
|
679
|
-
discussionTopic &&
|
|
679
|
+
discussionTopic && React.createElement(
|
|
680
680
|
Row,
|
|
681
681
|
null,
|
|
682
|
-
|
|
682
|
+
React.createElement(
|
|
683
683
|
Col,
|
|
684
684
|
null,
|
|
685
|
-
|
|
685
|
+
React.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
|
|
686
686
|
)
|
|
687
687
|
),
|
|
688
|
-
start && timezone &&
|
|
688
|
+
start && timezone && React.createElement(
|
|
689
689
|
Row,
|
|
690
690
|
null,
|
|
691
|
-
|
|
691
|
+
React.createElement(
|
|
692
692
|
Col,
|
|
693
693
|
null,
|
|
694
|
-
start.indexOf('TBD') >= 0 ?
|
|
694
|
+
start.indexOf('TBD') >= 0 ? React.createElement(
|
|
695
695
|
'p',
|
|
696
696
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
697
697
|
start
|
|
698
|
-
) :
|
|
698
|
+
) : React.createElement(
|
|
699
699
|
'p',
|
|
700
700
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
701
701
|
start.indexOf('T') >= 0 ? momentTimezone(start).tz(timezone).format('LLL zz') : momentTimezone(start).format('LL'),
|
|
@@ -703,47 +703,47 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
703
703
|
)
|
|
704
704
|
)
|
|
705
705
|
),
|
|
706
|
-
eventRegion &&
|
|
706
|
+
eventRegion && React.createElement(
|
|
707
707
|
Row,
|
|
708
708
|
null,
|
|
709
|
-
|
|
709
|
+
React.createElement(
|
|
710
710
|
Col,
|
|
711
711
|
null,
|
|
712
|
-
|
|
712
|
+
React.createElement(
|
|
713
713
|
'p',
|
|
714
714
|
{ className: 'event-region', style: { padding: 0, margin: 0 } },
|
|
715
715
|
eventRegion
|
|
716
716
|
)
|
|
717
717
|
)
|
|
718
718
|
),
|
|
719
|
-
venues && venues.length && venues[0].name &&
|
|
719
|
+
venues && venues.length && venues[0].name && React.createElement(
|
|
720
720
|
Row,
|
|
721
721
|
null,
|
|
722
|
-
|
|
722
|
+
React.createElement(
|
|
723
723
|
Col,
|
|
724
724
|
null,
|
|
725
|
-
|
|
725
|
+
React.createElement(
|
|
726
726
|
'p',
|
|
727
727
|
{ className: 'venue', style: { padding: 0, margin: 0 } },
|
|
728
728
|
venues[0].name
|
|
729
729
|
)
|
|
730
730
|
)
|
|
731
731
|
),
|
|
732
|
-
speakerInfo && speakerInfo.length > 0 &&
|
|
732
|
+
speakerInfo && speakerInfo.length > 0 && React.createElement(
|
|
733
733
|
Row,
|
|
734
734
|
null,
|
|
735
|
-
|
|
735
|
+
React.createElement(
|
|
736
736
|
Col,
|
|
737
737
|
null,
|
|
738
|
-
|
|
738
|
+
React.createElement(
|
|
739
739
|
'div',
|
|
740
740
|
{ className: 'speaker-section', style: { border: '1px solid', borderRadius: '8px', padding: '8px' } },
|
|
741
741
|
speakerInfo.map(function (info, index) {
|
|
742
|
-
return
|
|
742
|
+
return React.createElement(
|
|
743
743
|
'p',
|
|
744
744
|
{ key: index, style: { marginBottom: '0' } },
|
|
745
745
|
info.value.map(function (speaker, index) {
|
|
746
|
-
return
|
|
746
|
+
return React.createElement(
|
|
747
747
|
'b',
|
|
748
748
|
{ key: index, className: 'kol-speaker' },
|
|
749
749
|
speaker,
|
|
@@ -756,14 +756,14 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
756
756
|
)
|
|
757
757
|
)
|
|
758
758
|
),
|
|
759
|
-
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
759
|
+
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
|
|
760
760
|
'div',
|
|
761
761
|
{ style: { margin: '0 auto' } },
|
|
762
762
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
763
763
|
)
|
|
764
764
|
);
|
|
765
765
|
}),
|
|
766
|
-
|
|
766
|
+
React.createElement(
|
|
767
767
|
'style',
|
|
768
768
|
{ jsx: 'true' },
|
|
769
769
|
'\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 '
|
|
@@ -773,7 +773,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
773
773
|
|
|
774
774
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
775
775
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
776
|
-
return
|
|
776
|
+
return React.createElement(
|
|
777
777
|
Col,
|
|
778
778
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
779
779
|
rightItems[i].component
|
|
@@ -781,13 +781,13 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
781
781
|
};
|
|
782
782
|
|
|
783
783
|
if (isLoading) {
|
|
784
|
-
return
|
|
784
|
+
return React.createElement(
|
|
785
785
|
'div',
|
|
786
786
|
{ style: { display: 'flex', justifyContent: 'center', marginTop: '48px' } },
|
|
787
|
-
|
|
787
|
+
React.createElement(
|
|
788
788
|
Spinner,
|
|
789
789
|
{ animation: 'border', role: 'status' },
|
|
790
|
-
|
|
790
|
+
React.createElement(
|
|
791
791
|
'span',
|
|
792
792
|
{ className: 'sr-only' },
|
|
793
793
|
'Loading...'
|
|
@@ -797,34 +797,34 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
797
797
|
}
|
|
798
798
|
|
|
799
799
|
if (data.length > 0) {
|
|
800
|
-
return
|
|
801
|
-
|
|
800
|
+
return React.createElement(
|
|
801
|
+
React.Fragment,
|
|
802
802
|
null,
|
|
803
|
-
data && advancedFilters &&
|
|
803
|
+
data && advancedFilters && React.createElement(
|
|
804
804
|
'div',
|
|
805
805
|
{ className: 'advancedFilters ' + (showFilters ? 'show' : 'hide') },
|
|
806
806
|
grabAdvancedFilters()
|
|
807
807
|
),
|
|
808
|
-
|
|
808
|
+
React.createElement(
|
|
809
809
|
'div',
|
|
810
810
|
{ className: 'cvent-events' },
|
|
811
|
-
|
|
811
|
+
React.createElement(
|
|
812
812
|
InfiniteScroll,
|
|
813
813
|
{ dataLength: data.length, next: loadMore, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
814
814
|
eventCards
|
|
815
815
|
)
|
|
816
816
|
),
|
|
817
|
-
|
|
817
|
+
React.createElement(
|
|
818
818
|
'style',
|
|
819
819
|
{ jsx: true },
|
|
820
820
|
'\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 '
|
|
821
821
|
)
|
|
822
822
|
);
|
|
823
823
|
} else {
|
|
824
|
-
return
|
|
824
|
+
return React.createElement(
|
|
825
825
|
'div',
|
|
826
826
|
null,
|
|
827
|
-
|
|
827
|
+
React.createElement(
|
|
828
828
|
'div',
|
|
829
829
|
null,
|
|
830
830
|
'No events found '
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.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-04c4d8d6.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';
|
|
@@ -15,7 +15,8 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
15
15
|
import 'prop-types';
|
|
16
16
|
import './index-0dbff1d1.js';
|
|
17
17
|
import 'react-bootstrap';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-2446af28.js';
|
|
19
|
+
import './events-6c3a7a63.js';
|
|
19
20
|
import './index-c7e2ac95.js';
|
|
20
21
|
import './util-3ab476bf.js';
|
|
21
22
|
import './Beam.js';
|
|
@@ -24,12 +25,12 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
24
25
|
import './_library-528f1934.js';
|
|
25
26
|
import './_iter-detect-7e5e5ce2.js';
|
|
26
27
|
import './Segment.js';
|
|
27
|
-
import './main-
|
|
28
|
-
import './index-
|
|
28
|
+
import './main-b5c5aac1.js';
|
|
29
|
+
import './index-35bdcc81.js';
|
|
29
30
|
import 'react-dom';
|
|
30
31
|
import './typeof-a286cf0c.js';
|
|
31
32
|
import './_is-array-3e99e06e.js';
|
|
32
|
-
import './brightcove-react-player-loader.es-
|
|
33
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
33
34
|
import './GroupDeck.js';
|
|
34
35
|
import './smoothscroll-fa4e3f8c.js';
|
|
35
36
|
import './moment-bc12cb97.js';
|
|
@@ -49,8 +50,8 @@ import 'react-bootstrap/Col';
|
|
|
49
50
|
import './inherits-a41fe93f.js';
|
|
50
51
|
import './_object-sap-f353c2a9.js';
|
|
51
52
|
import './define-property-fe54dc9f.js';
|
|
52
|
-
import './index.esm-
|
|
53
|
-
import './iconBase-
|
|
53
|
+
import './index.esm-3fdda599.js';
|
|
54
|
+
import './iconBase-602d52fe.js';
|
|
54
55
|
import 'react-bootstrap/Figure';
|
|
55
56
|
|
|
56
57
|
var ExternalResources = function ExternalResources(props) {
|
|
@@ -81,13 +82,13 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
81
82
|
useEffect(function () {
|
|
82
83
|
router.push(router.pathname, '/' + url + '?display=' + active, { shallow: true });
|
|
83
84
|
}, [active]);
|
|
84
|
-
return
|
|
85
|
+
return React.createElement(
|
|
85
86
|
'div',
|
|
86
87
|
{ id: 'resources' },
|
|
87
|
-
showToggles &&
|
|
88
|
+
showToggles && React.createElement(
|
|
88
89
|
'div',
|
|
89
90
|
{ id: 'toggles' },
|
|
90
|
-
|
|
91
|
+
React.createElement(
|
|
91
92
|
'div',
|
|
92
93
|
{ onClick: function onClick() {
|
|
93
94
|
return setActive(function () {
|
|
@@ -96,7 +97,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
96
97
|
}, className: active === 'recent' ? 'active' : '' },
|
|
97
98
|
recentTitle
|
|
98
99
|
),
|
|
99
|
-
|
|
100
|
+
React.createElement(
|
|
100
101
|
'div',
|
|
101
102
|
{ onClick: function onClick() {
|
|
102
103
|
return setActive(function () {
|
|
@@ -107,43 +108,43 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
107
108
|
)
|
|
108
109
|
),
|
|
109
110
|
resources[active].length > 0 ? resources[active].map(function (r) {
|
|
110
|
-
return
|
|
111
|
+
return React.createElement(
|
|
111
112
|
'div',
|
|
112
113
|
{ key: r._id, className: 'resource' },
|
|
113
|
-
dispalyThumb &&
|
|
114
|
+
dispalyThumb && React.createElement(
|
|
114
115
|
'div',
|
|
115
116
|
{ id: 'thumb' },
|
|
116
|
-
|
|
117
|
+
React.createElement(
|
|
117
118
|
'a',
|
|
118
119
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
119
|
-
|
|
120
|
+
React.createElement('img', { src: r.thumbnail })
|
|
120
121
|
)
|
|
121
122
|
),
|
|
122
|
-
|
|
123
|
+
React.createElement(
|
|
123
124
|
'div',
|
|
124
125
|
{ id: 'details' },
|
|
125
|
-
|
|
126
|
+
React.createElement(
|
|
126
127
|
'a',
|
|
127
128
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
128
|
-
|
|
129
|
+
React.createElement(
|
|
129
130
|
'p',
|
|
130
131
|
{ id: 'title' },
|
|
131
132
|
r.title
|
|
132
133
|
),
|
|
133
|
-
r.intro &&
|
|
134
|
+
r.intro && React.createElement(
|
|
134
135
|
'div',
|
|
135
136
|
{ id: 'intro' },
|
|
136
|
-
|
|
137
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.intro }, client.config()))
|
|
137
138
|
),
|
|
138
|
-
|
|
139
|
+
React.createElement(
|
|
139
140
|
'div',
|
|
140
141
|
{ id: 'date' },
|
|
141
|
-
|
|
142
|
+
React.createElement(
|
|
142
143
|
'p',
|
|
143
144
|
{ style: { fontWeight: 'bold' } },
|
|
144
145
|
'Date:'
|
|
145
146
|
),
|
|
146
|
-
|
|
147
|
+
React.createElement(
|
|
147
148
|
'p',
|
|
148
149
|
null,
|
|
149
150
|
momentTimezone.tz(r.displayDate, 'America/New_York').format(dateFormat),
|
|
@@ -151,30 +152,30 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
151
152
|
r.endDate && '- ' + momentTimezone.tz(r.endDate, 'America/New_York').format(dateFormat)
|
|
152
153
|
)
|
|
153
154
|
),
|
|
154
|
-
r.speakers &&
|
|
155
|
+
r.speakers && React.createElement(
|
|
155
156
|
'div',
|
|
156
157
|
{ id: 'speakers' },
|
|
157
|
-
|
|
158
|
+
React.createElement(
|
|
158
159
|
'p',
|
|
159
160
|
{ style: { fontWeight: 'bold' } },
|
|
160
161
|
'Speakers:'
|
|
161
162
|
),
|
|
162
|
-
|
|
163
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.speakers }, client.config()))
|
|
163
164
|
),
|
|
164
|
-
r.location &&
|
|
165
|
+
r.location && React.createElement(
|
|
165
166
|
'div',
|
|
166
167
|
{ id: 'location' },
|
|
167
|
-
|
|
168
|
+
React.createElement(
|
|
168
169
|
'p',
|
|
169
170
|
{ style: { fontWeight: 'bold' } },
|
|
170
171
|
'Location:'
|
|
171
172
|
),
|
|
172
173
|
r.location
|
|
173
174
|
),
|
|
174
|
-
r.sponsor &&
|
|
175
|
+
r.sponsor && React.createElement(
|
|
175
176
|
'div',
|
|
176
177
|
{ id: 'sponsor' },
|
|
177
|
-
|
|
178
|
+
React.createElement(
|
|
178
179
|
'p',
|
|
179
180
|
{ style: { fontWeight: 'bold' } },
|
|
180
181
|
'Sponsors:'
|
|
@@ -182,19 +183,19 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
182
183
|
r.sponsor
|
|
183
184
|
)
|
|
184
185
|
),
|
|
185
|
-
|
|
186
|
+
React.createElement(
|
|
186
187
|
Button,
|
|
187
188
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
188
189
|
cta
|
|
189
190
|
)
|
|
190
191
|
)
|
|
191
192
|
);
|
|
192
|
-
}) :
|
|
193
|
+
}) : React.createElement(
|
|
193
194
|
'p',
|
|
194
195
|
null,
|
|
195
196
|
'No content available.'
|
|
196
197
|
),
|
|
197
|
-
|
|
198
|
+
React.createElement(
|
|
198
199
|
'style',
|
|
199
200
|
{ jsx: true },
|
|
200
201
|
'\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 '
|