@mjhls/mjh-framework 1.0.1040 → 1.0.1042

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.
Files changed (170) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD300x250.js +1 -1
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/{ADInfeed-b52ecddd.js → ADInfeed-8559adc4.js} +1 -1
  8. package/dist/cjs/ADSkyscraper.js +1 -1
  9. package/dist/cjs/ADSponsoredResources.js +1 -1
  10. package/dist/cjs/ADWebcast.js +1 -1
  11. package/dist/cjs/ADWelcome.js +1 -1
  12. package/dist/cjs/{ADlgInfeed-59dcc040.js → ADlgInfeed-493559a2.js} +1 -1
  13. package/dist/cjs/AdSlot.js +1 -1
  14. package/dist/cjs/AdSlotsProvider.js +1 -1
  15. package/dist/cjs/AlgoliaSearch.js +72 -108
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +3 -3
  18. package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
  19. package/dist/cjs/ArticleSeriesListing.js +1 -1
  20. package/dist/cjs/Auth.js +10 -1492
  21. package/dist/cjs/AuthWrapper.js +294 -1546
  22. package/dist/cjs/Beam.js +67 -13
  23. package/dist/cjs/CEDeckSupabase.js +2 -2
  24. package/dist/cjs/CMEDeck.js +1 -1
  25. package/dist/cjs/Column3.js +1 -1
  26. package/dist/cjs/ConferenceArticleCard.js +15 -15
  27. package/dist/cjs/ContentCardPaginated.js +3 -3
  28. package/dist/cjs/DeckContent.js +11 -11
  29. package/dist/cjs/DeckQueue.js +2 -2
  30. package/dist/cjs/DeckQueuePaginated.js +2 -2
  31. package/dist/cjs/EventsDeck.js +18 -18
  32. package/dist/cjs/ExternalResources.js +3 -3
  33. package/dist/cjs/Feature.js +1 -1
  34. package/dist/cjs/GridContent.js +4 -4
  35. package/dist/cjs/GridContentPaginated.js +4 -4
  36. package/dist/cjs/GridHero.js +1 -1
  37. package/dist/cjs/HamMagazine.js +11 -11
  38. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  39. package/dist/cjs/Hero.js +1 -1
  40. package/dist/cjs/HorizontalArticleListing.js +3 -3
  41. package/dist/cjs/{ImageSlider-d65bc9c8.js → ImageSlider-62a43659.js} +123 -106
  42. package/dist/cjs/IssueLanding.js +34 -34
  43. package/dist/cjs/KMTracker.js +15 -15
  44. package/dist/cjs/LeftNav.js +1 -1
  45. package/dist/cjs/MasterDeck.js +11 -11
  46. package/dist/cjs/MasterDeckPaginated.js +11 -11
  47. package/dist/cjs/{MediaSeriesCard-3759e7fb.js → MediaSeriesCard-10648c0b.js} +2 -2
  48. package/dist/cjs/MediaSeriesLanding.js +13 -13
  49. package/dist/cjs/MediaSeriesLandingPaginated.js +13 -13
  50. package/dist/cjs/NavMagazine.js +12 -12
  51. package/dist/cjs/NavNative.js +10 -10
  52. package/dist/cjs/OncliveLargeHero.js +1 -1
  53. package/dist/cjs/PartnerDetailListing.js +6 -6
  54. package/dist/cjs/PartnerDetailListingPaginated.js +6 -6
  55. package/dist/cjs/PodcastsLanding.js +6 -6
  56. package/dist/cjs/PubSection.js +4 -4
  57. package/dist/cjs/PublicationLanding.js +26 -26
  58. package/dist/cjs/QueueDeckExpanded.js +4 -4
  59. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
  60. package/dist/cjs/RelatedContent.js +28 -28
  61. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  62. package/dist/cjs/SeriesListingDeck.js +2 -2
  63. package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-edcb8e4b.js} +5 -5
  64. package/dist/cjs/SideFooter.js +2 -2
  65. package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-e9ec9c63.js} +1 -1
  66. package/dist/cjs/TaxonomyDescription.js +3 -3
  67. package/dist/cjs/TemplateNormal.js +2 -2
  68. package/dist/cjs/ThumbnailCard.js +1 -1
  69. package/dist/cjs/{Tooltip-71754b2a.js → Tooltip-980a1d1a.js} +313 -511
  70. package/dist/cjs/Ustream.js +1 -1
  71. package/dist/cjs/VideoProgramLandingPage.js +3 -3
  72. package/dist/cjs/VideoSeriesCard.js +1 -1
  73. package/dist/cjs/VideoSeriesLandingPage.js +3 -3
  74. package/dist/cjs/VideoSeriesListing.js +1 -1
  75. package/dist/cjs/View.js +10 -9
  76. package/dist/cjs/YahooHero.js +1 -1
  77. package/dist/cjs/YoutubeGroup.js +5 -5
  78. package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
  79. package/dist/cjs/getSerializers.js +3 -3
  80. package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
  81. package/dist/cjs/getTargeting.js +1 -1
  82. package/dist/cjs/{index-4b2706b8.js → index-7d2067db.js} +2 -2
  83. package/dist/cjs/{index-b95410f0.js → index-8041a4eb.js} +45 -0
  84. package/dist/cjs/index.js +11 -10
  85. package/dist/cjs/{main-ae8472f3.js → main-47be4f9f.js} +9 -4
  86. package/dist/esm/AD300x250.js +1 -1
  87. package/dist/esm/AD300x250x600.js +1 -1
  88. package/dist/esm/AD728x90.js +1 -1
  89. package/dist/esm/ADFloatingFooter.js +1 -1
  90. package/dist/esm/ADGutter.js +1 -1
  91. package/dist/esm/{ADInfeed-2503361a.js → ADInfeed-fb501f15.js} +1 -1
  92. package/dist/esm/ADSkyscraper.js +1 -1
  93. package/dist/esm/ADSponsoredResources.js +1 -1
  94. package/dist/esm/ADWebcast.js +1 -1
  95. package/dist/esm/ADWelcome.js +1 -1
  96. package/dist/esm/{ADlgInfeed-bc4a726f.js → ADlgInfeed-b742488e.js} +1 -1
  97. package/dist/esm/AdSlot.js +1 -1
  98. package/dist/esm/AdSlotsProvider.js +1 -1
  99. package/dist/esm/AlgoliaSearch.js +59 -95
  100. package/dist/esm/ArticleCarousel.js +1 -1
  101. package/dist/esm/ArticleProgramLandingPage.js +3 -3
  102. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  103. package/dist/esm/ArticleSeriesListing.js +1 -1
  104. package/dist/esm/Auth.js +9 -1492
  105. package/dist/esm/AuthWrapper.js +288 -1540
  106. package/dist/esm/Beam.js +67 -13
  107. package/dist/esm/CEDeckSupabase.js +2 -2
  108. package/dist/esm/CMEDeck.js +1 -1
  109. package/dist/esm/Column3.js +1 -1
  110. package/dist/esm/ConferenceArticleCard.js +15 -15
  111. package/dist/esm/ContentCardPaginated.js +3 -3
  112. package/dist/esm/DeckContent.js +11 -11
  113. package/dist/esm/DeckQueue.js +2 -2
  114. package/dist/esm/DeckQueuePaginated.js +2 -2
  115. package/dist/esm/EventsDeck.js +18 -18
  116. package/dist/esm/ExternalResources.js +3 -3
  117. package/dist/esm/Feature.js +1 -1
  118. package/dist/esm/GridContent.js +4 -4
  119. package/dist/esm/GridContentPaginated.js +4 -4
  120. package/dist/esm/GridHero.js +1 -1
  121. package/dist/esm/HamMagazine.js +11 -11
  122. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  123. package/dist/esm/Hero.js +1 -1
  124. package/dist/esm/HorizontalArticleListing.js +3 -3
  125. package/dist/esm/{ImageSlider-da225417.js → ImageSlider-aea3a615.js} +124 -107
  126. package/dist/esm/IssueLanding.js +34 -34
  127. package/dist/esm/KMTracker.js +15 -15
  128. package/dist/esm/LeftNav.js +1 -1
  129. package/dist/esm/MasterDeck.js +11 -11
  130. package/dist/esm/MasterDeckPaginated.js +11 -11
  131. package/dist/esm/{MediaSeriesCard-f3db58fa.js → MediaSeriesCard-cffbf39a.js} +2 -2
  132. package/dist/esm/MediaSeriesLanding.js +13 -13
  133. package/dist/esm/MediaSeriesLandingPaginated.js +13 -13
  134. package/dist/esm/NavMagazine.js +12 -12
  135. package/dist/esm/NavNative.js +10 -10
  136. package/dist/esm/OncliveLargeHero.js +1 -1
  137. package/dist/esm/PartnerDetailListing.js +6 -6
  138. package/dist/esm/PartnerDetailListingPaginated.js +6 -6
  139. package/dist/esm/PodcastsLanding.js +6 -6
  140. package/dist/esm/PubSection.js +4 -4
  141. package/dist/esm/PublicationLanding.js +26 -26
  142. package/dist/esm/QueueDeckExpanded.js +4 -4
  143. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  144. package/dist/esm/RelatedContent.js +28 -28
  145. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  146. package/dist/esm/SeriesListingDeck.js +2 -2
  147. package/dist/esm/{SeriesSlider-a6b1d617.js → SeriesSlider-2e83e861.js} +5 -5
  148. package/dist/esm/SideFooter.js +2 -2
  149. package/dist/esm/{SocialSearchComponent-6065bff2.js → SocialSearchComponent-020f9e81.js} +1 -1
  150. package/dist/esm/TaxonomyDescription.js +3 -3
  151. package/dist/esm/TemplateNormal.js +2 -2
  152. package/dist/esm/ThumbnailCard.js +1 -1
  153. package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-51957f7c.js} +108 -306
  154. package/dist/esm/Ustream.js +1 -1
  155. package/dist/esm/VideoProgramLandingPage.js +3 -3
  156. package/dist/esm/VideoSeriesCard.js +1 -1
  157. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  158. package/dist/esm/VideoSeriesListing.js +1 -1
  159. package/dist/esm/View.js +10 -9
  160. package/dist/esm/YahooHero.js +1 -1
  161. package/dist/esm/YoutubeGroup.js +5 -5
  162. package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
  163. package/dist/esm/getSerializers.js +3 -3
  164. package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
  165. package/dist/esm/getTargeting.js +1 -1
  166. package/dist/esm/{index-9d159a77.js → index-3f69b115.js} +2 -2
  167. package/dist/esm/{index-174b5baf.js → index-67e1773f.js} +43 -1
  168. package/dist/esm/index.js +11 -10
  169. package/dist/esm/{main-754d4992.js → main-f97773b2.js} +9 -4
  170. package/package.json +116 -116
package/dist/esm/Beam.js CHANGED
@@ -275,25 +275,79 @@ var beam = {
275
275
  }, _callee4, _this4);
276
276
  }))();
277
277
  },
278
+ report_lasso: function report_lasso(domain, url, action, mjhPubID, mcode, mid) {
279
+ var _this5 = this;
280
+
281
+ return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee5() {
282
+ var data, response, res;
283
+ return regenerator.wrap(function _callee5$(_context5) {
284
+ while (1) {
285
+ switch (_context5.prev = _context5.next) {
286
+ case 0:
287
+ data = {};
288
+
289
+ data.mjhPubID = mjhPubID;
290
+ data.mcode = mcode;
291
+ data.mid = mid;
292
+
293
+ console.log('Call Lasso', action, data);
294
+
295
+ _context5.next = 7;
296
+ return fetch(beam_domain + '/api/beam/lasso', {
297
+ headers: {
298
+ 'Content-Type': 'application/json',
299
+ 'Accept': 'application/json'
300
+ },
301
+ method: 'post',
302
+ credentials: "include",
303
+ body: _JSON$stringify({
304
+ event: 'Lasso',
305
+ action: action,
306
+ domain: domain,
307
+ url: url,
308
+ data: _JSON$stringify(data)
309
+ })
310
+ });
311
+
312
+ case 7:
313
+ response = _context5.sent;
314
+ _context5.next = 10;
315
+ return response.json();
316
+
317
+ case 10:
318
+ res = _context5.sent;
319
+
320
+ if (res.error) {
321
+ console.error('Lasso reporting error:', res.error);
322
+ }
323
+
324
+ case 12:
325
+ case 'end':
326
+ return _context5.stop();
327
+ }
328
+ }
329
+ }, _callee5, _this5);
330
+ }))();
331
+ },
278
332
  report_beam_video: function report_beam_video(action, deviceType, duration, current, segment) {
279
333
  var videoType = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 'Youtube';
280
334
  var brightCovePlayerID = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';
281
335
 
282
- var _this5 = this;
336
+ var _this6 = this;
283
337
 
284
338
  var brightCoveAccountID = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : '';
285
339
  var brightCoveVideoID = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : '';
286
- return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee5() {
340
+ return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee6() {
287
341
  var beam, data, response, res;
288
- return regenerator.wrap(function _callee5$(_context5) {
342
+ return regenerator.wrap(function _callee6$(_context6) {
289
343
  while (1) {
290
- switch (_context5.prev = _context5.next) {
344
+ switch (_context6.prev = _context6.next) {
291
345
  case 0:
292
- _context5.next = 2;
293
- return _this5.get_beam(deviceType);
346
+ _context6.next = 2;
347
+ return _this6.get_beam(deviceType);
294
348
 
295
349
  case 2:
296
- beam = _context5.sent;
350
+ beam = _context6.sent;
297
351
  data = {};
298
352
 
299
353
  data.duration = duration;
@@ -308,7 +362,7 @@ var beam = {
308
362
 
309
363
  console.log('Call ' + videoType, action, data);
310
364
 
311
- _context5.next = 15;
365
+ _context6.next = 15;
312
366
  return fetch(beam_domain + '/api/beam/video', {
313
367
  headers: {
314
368
  'Content-Type': 'application/json',
@@ -325,12 +379,12 @@ var beam = {
325
379
  });
326
380
 
327
381
  case 15:
328
- response = _context5.sent;
329
- _context5.next = 18;
382
+ response = _context6.sent;
383
+ _context6.next = 18;
330
384
  return response.json();
331
385
 
332
386
  case 18:
333
- res = _context5.sent;
387
+ res = _context6.sent;
334
388
 
335
389
  if (res.error) {
336
390
  console.error('Video reporting error:', res.error);
@@ -338,10 +392,10 @@ var beam = {
338
392
 
339
393
  case 20:
340
394
  case 'end':
341
- return _context5.stop();
395
+ return _context6.stop();
342
396
  }
343
397
  }
344
- }, _callee5, _this5);
398
+ }, _callee6, _this6);
345
399
  }))();
346
400
  }
347
401
  };
@@ -4,7 +4,7 @@ import React__default, { useState, useEffect } from 'react';
4
4
  import { Spinner, Container, Row, Col } from 'react-bootstrap';
5
5
  import { I as InfiniteScroll } from './index.es-a6137319.js';
6
6
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
7
- import { m as main_43 } from './main-754d4992.js';
7
+ import { m as main_43 } from './main-f97773b2.js';
8
8
  import { useRouter } from 'next/router';
9
9
  import { l as lib_3 } from './index-5cc7b406.js';
10
10
  import { L as LazyLoad } from './index-755f2cc2.js';
@@ -16,7 +16,7 @@ import './web.dom.iterable-ab4dea5c.js';
16
16
  import 'react-dom';
17
17
  import 'prop-types';
18
18
 
19
- var css = "#CMEDeck-module_ceToggles__1QFCs {\n display: flex;\n padding: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 50%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n cursor: pointer;\n border-bottom: 3px solid #fff;\n }\n #CMEDeck-module_ceToggles__1QFCs div:hover {\n opacity: 1 !important;\n border-color: #cecece;\n }\n #CMEDeck-module_ceToggles__1QFCs div p {\n margin: 0;\n font-weight: 700;\n width: 100%;\n text-align: center;\n font-size: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 100%;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardImage__3yM5u{\n width: 268px;\n max-width: 100%;\n border-radius: 0 0 0 10%;\n margin-bottom: 20px;\n margin-top: 10px;\n border-top: 1px solid #EEE;\n }\n .CMEDeck-module_cardText__2zCzZ{\n font-size:22px;\n font-weight: 500;\n\n }\n @media (max-width: 500px){\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 131px;\n height: 46px;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardText__2zCzZ{\n font-size: 12px;\n font-weight: 500;\n }\n }";
19
+ var css = "#CMEDeck-module_ceToggles__1QFCs {\r\n display: flex;\r\n padding: 1rem;\r\n }\r\n #CMEDeck-module_ceToggles__1QFCs div {\r\n box-sizing: border-box;\r\n padding: 0.5rem;\r\n width: 50%;\r\n display: flex;\r\n flex-wrap: wrap;\r\n align-items: flex-end;\r\n justify-content: center;\r\n cursor: pointer;\r\n border-bottom: 3px solid #fff;\r\n }\r\n #CMEDeck-module_ceToggles__1QFCs div:hover {\r\n opacity: 1 !important;\r\n border-color: #cecece;\r\n }\r\n #CMEDeck-module_ceToggles__1QFCs div p {\r\n margin: 0;\r\n font-weight: 700;\r\n width: 100%;\r\n text-align: center;\r\n font-size: 1rem;\r\n }\r\n #CMEDeck-module_ceToggles__1QFCs div img {\r\n width: 100%;\r\n max-width: 10rem;\r\n }\r\n\r\n .CMEDeck-module_cardImage__3yM5u{\r\n width: 268px;\r\n max-width: 100%;\r\n border-radius: 0 0 0 10%;\r\n margin-bottom: 20px;\r\n margin-top: 10px;\r\n border-top: 1px solid #EEE;\r\n }\r\n .CMEDeck-module_cardText__2zCzZ{\r\n font-size:22px;\r\n font-weight: 500;\r\n\r\n }\r\n @media (max-width: 500px){\r\n #CMEDeck-module_ceToggles__1QFCs div img {\r\n width: 131px;\r\n height: 46px;\r\n max-width: 10rem;\r\n }\r\n\r\n .CMEDeck-module_cardText__2zCzZ{\r\n font-size: 12px;\r\n font-weight: 500;\r\n }\r\n }";
20
20
  var styles = { "ceToggles": "CMEDeck-module_ceToggles__1QFCs", "cardImage": "CMEDeck-module_cardImage__3yM5u", "cardText": "CMEDeck-module_cardText__2zCzZ" };
21
21
  styleInject(css);
22
22
 
@@ -6,7 +6,7 @@ import React__default, { useState, useRef, useEffect } from 'react';
6
6
  import { Spinner, Container, Row, Col } from 'react-bootstrap';
7
7
  import { I as InfiniteScroll } from './index.es-a6137319.js';
8
8
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
9
- import { m as main_43 } from './main-754d4992.js';
9
+ import { m as main_43 } from './main-f97773b2.js';
10
10
  import { d as debounce_1 } from './debounce-533d9748.js';
11
11
  import { useRouter } from 'next/router';
12
12
  import { l as lib_3 } from './index-5cc7b406.js';
@@ -6,7 +6,7 @@ import LeftNav from './LeftNav.js';
6
6
  import SideFooter from './SideFooter.js';
7
7
  import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
8
8
  import PageFilter from './PageFilter.js';
9
- import { m as main_43 } from './main-754d4992.js';
9
+ import { m as main_43 } from './main-f97773b2.js';
10
10
  import './slicedToArray-6ebcbfea.js';
11
11
  import './_commonjsHelpers-0c4b6f40.js';
12
12
  import './web.dom.iterable-ab4dea5c.js';
@@ -8,21 +8,21 @@ import './core.get-iterator-method-ea258bb1.js';
8
8
  import './extends-1559c147.js';
9
9
  import './index-3f5c03b2.js';
10
10
 
11
- /*
12
- Example usage - targetedonc.com/latest-conference
13
- const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
14
- ...,
15
- title,
16
- summary,
17
- thumbnail,
18
- url,
19
- published,
20
- documentGroup->,
21
- contentCategory->,
22
- 'pageNumber': ${currentPage}
23
- }`
24
-
25
- const posts = await client.fetch(query, params)
11
+ /*
12
+ Example usage - targetedonc.com/latest-conference
13
+ const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
14
+ ...,
15
+ title,
16
+ summary,
17
+ thumbnail,
18
+ url,
19
+ published,
20
+ documentGroup->,
21
+ contentCategory->,
22
+ 'pageNumber': ${currentPage}
23
+ }`
24
+
25
+ const posts = await client.fetch(query, params)
26
26
  */
27
27
 
28
28
  var ConferenceArticleCard = function ConferenceArticleCard(props) {
@@ -12,9 +12,9 @@ import { m as moment } from './moment-bc12cb97.js';
12
12
  import { withRouter } from 'next/router';
13
13
  import urlFor from './urlFor.js';
14
14
  import { L as LazyLoad } from './index-755f2cc2.js';
15
- import { m as main_43 } from './main-754d4992.js';
16
- import { c as clean_html_1 } from './entities-6d9154b4.js';
17
- import { A as ADInfeed } from './ADInfeed-2503361a.js';
15
+ import { m as main_43 } from './main-f97773b2.js';
16
+ import { c as clean_html_1 } from './entities-932b50cf.js';
17
+ import { A as ADInfeed } from './ADInfeed-fb501f15.js';
18
18
  import { P as Pagination } from './Pagination-9fe9f61d.js';
19
19
  import Spinner from 'react-bootstrap/Spinner';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
@@ -14,9 +14,9 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
14
14
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
15
15
  import urlFor from './urlFor.js';
16
16
  import { L as LazyLoad } from './index-755f2cc2.js';
17
- import { m as main_43 } from './main-754d4992.js';
18
- import { c as clean_html_1 } from './entities-6d9154b4.js';
19
- import { A as ADInfeed } from './ADInfeed-2503361a.js';
17
+ import { m as main_43 } from './main-f97773b2.js';
18
+ import { c as clean_html_1 } from './entities-932b50cf.js';
19
+ import { A as ADInfeed } from './ADInfeed-fb501f15.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './_iter-detect-98db3b07.js';
@@ -181,14 +181,14 @@ var DeckContent = function (_React$Component) {
181
181
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
182
182
 
183
183
  // please leave this for later debug purpose : Yong Jun.
184
- /* console.log('page change reported', {
185
- currentPage: currentPage,
186
- pageNumber: pageNumber,
187
- pathname: pathname,
188
- path: path,
189
- newPath: newPath,
190
- firstPage: pageNumber === 1,
191
- queryString: queryString
184
+ /* console.log('page change reported', {
185
+ currentPage: currentPage,
186
+ pageNumber: pageNumber,
187
+ pathname: pathname,
188
+ path: path,
189
+ newPath: newPath,
190
+ firstPage: pageNumber === 1,
191
+ queryString: queryString
192
192
  }) */
193
193
 
194
194
  if (pageview) {
@@ -15,8 +15,8 @@ import { g as get_1 } from './get-3c308da4.js';
15
15
  import { d as debounce_1 } from './debounce-533d9748.js';
16
16
  import { I as InfiniteScroll } from './index.es-a6137319.js';
17
17
  import urlFor from './urlFor.js';
18
- import { m as main_43 } from './main-754d4992.js';
19
- import { c as clean_html_1 } from './entities-6d9154b4.js';
18
+ import { m as main_43 } from './main-f97773b2.js';
19
+ import { c as clean_html_1 } from './entities-932b50cf.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './_iter-detect-98db3b07.js';
@@ -13,9 +13,9 @@ import { m as moment } from './moment-bc12cb97.js';
13
13
  import { withRouter } from 'next/router';
14
14
  import { L as LazyLoad } from './index-755f2cc2.js';
15
15
  import { g as get_1 } from './get-3c308da4.js';
16
- import { m as main_43 } from './main-754d4992.js';
16
+ import { m as main_43 } from './main-f97773b2.js';
17
17
  import urlFor from './urlFor.js';
18
- import { c as clean_html_1 } from './entities-6d9154b4.js';
18
+ import { c as clean_html_1 } from './entities-932b50cf.js';
19
19
  import { P as Pagination } from './Pagination-9fe9f61d.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
@@ -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-754d4992.js';
18
+ import './main-f97773b2.js';
19
19
  import { m as momentTimezone } from './index-30a6257d.js';
20
20
  import { j as js_cookie } from './js.cookie-6874175c.js';
21
21
  import { useRouter } from 'next/router';
@@ -244,23 +244,23 @@ var EventsDeck = function EventsDeck(_ref) {
244
244
  if (cventAccessToken && cventAccessToken !== 'undefined') {
245
245
  setAccessToken(cventAccessToken);
246
246
  } else {
247
- /*const encodedData = window.btoa(clientId + ':' + clientSecret)
248
- //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
249
- const url = `https://api-platform.cvent.com/ea/oauth2/token`
250
- fetch(url, {
251
- headers: {
252
- 'Content-Type': 'application/x-www-form-urlencoded',
253
- Authorization: `Basic ${encodedData}`
254
- },
255
- method: 'POST',
256
- body: `grant_type=client_credentials&client_id=${clientId}`
257
- })
258
- .then((response) => response.json())
259
- .then((json) => {
260
- const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
261
- Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
262
- setAccessToken(json.access_token)
263
- })
247
+ /*const encodedData = window.btoa(clientId + ':' + clientSecret)
248
+ //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
249
+ const url = `https://api-platform.cvent.com/ea/oauth2/token`
250
+ fetch(url, {
251
+ headers: {
252
+ 'Content-Type': 'application/x-www-form-urlencoded',
253
+ Authorization: `Basic ${encodedData}`
254
+ },
255
+ method: 'POST',
256
+ body: `grant_type=client_credentials&client_id=${clientId}`
257
+ })
258
+ .then((response) => response.json())
259
+ .then((json) => {
260
+ const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
261
+ Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
262
+ setAccessToken(json.access_token)
263
+ })
264
264
  .catch((e) => console.log(e))*/
265
265
  // hello
266
266
  var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-1559c147.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
4
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
- import { g as getSerializers } from './index-9d159a77.js';
5
+ import { g as getSerializers } from './index-3f69b115.js';
6
6
  import { m as momentTimezone } from './index-30a6257d.js';
7
7
  import { useRouter } from 'next/router';
8
8
  import Button from 'react-bootstrap/Button';
@@ -24,7 +24,7 @@ import './_library-528f1934.js';
24
24
  import './_set-species-2cd9340f.js';
25
25
  import './_iter-detect-98db3b07.js';
26
26
  import './Segment.js';
27
- import './main-754d4992.js';
27
+ import './main-f97773b2.js';
28
28
  import './urlForFile-f6485737.js';
29
29
  import './index-755f2cc2.js';
30
30
  import 'react-dom';
@@ -45,7 +45,7 @@ import 'next/head';
45
45
  import 'react-share';
46
46
  import './toConsumableArray-f7074d7c.js';
47
47
  import 'react-bootstrap/Pagination';
48
- import './entities-6d9154b4.js';
48
+ import './entities-932b50cf.js';
49
49
  import './AdSlot.js';
50
50
  import './debounce-533d9748.js';
51
51
  import './isSymbol-a7e9aafe.js';
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import urlFor from './urlFor.js';
3
- import { m as main_43 } from './main-754d4992.js';
3
+ import { m as main_43 } from './main-f97773b2.js';
4
4
  import Carousel from 'react-bootstrap/Carousel';
5
5
  import './slicedToArray-6ebcbfea.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
@@ -11,16 +11,16 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
11
11
  import { m as moment } from './moment-bc12cb97.js';
12
12
  import { withRouter } from 'next/router';
13
13
  import { L as LazyLoad } from './index-755f2cc2.js';
14
- import { c as clean_html_1 } from './entities-6d9154b4.js';
15
- import { A as ADInfeed } from './ADInfeed-2503361a.js';
14
+ import { c as clean_html_1 } from './entities-932b50cf.js';
15
+ import { A as ADInfeed } from './ADInfeed-fb501f15.js';
16
16
  import { l as lodash } from './lodash-f97fd99a.js';
17
- import { A as ADlgInfeed } from './ADlgInfeed-bc4a726f.js';
17
+ import { A as ADlgInfeed } from './ADlgInfeed-b742488e.js';
18
18
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
19
19
  import { g as get_1 } from './get-3c308da4.js';
20
20
  import { d as debounce_1 } from './debounce-533d9748.js';
21
21
  import { I as InfiniteScroll } from './index.es-a6137319.js';
22
22
  import urlFor from './urlFor.js';
23
- import { m as main_43 } from './main-754d4992.js';
23
+ import { m as main_43 } from './main-f97773b2.js';
24
24
  import './AD.js';
25
25
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
26
26
  import { P as PublicationFeature } from './PublicationFeature-3cc370de.js';
@@ -12,14 +12,14 @@ import Card from 'react-bootstrap/Card';
12
12
  import { m as moment } from './moment-bc12cb97.js';
13
13
  import { withRouter } from 'next/router';
14
14
  import { L as LazyLoad } from './index-755f2cc2.js';
15
- import { c as clean_html_1 } from './entities-6d9154b4.js';
16
- import { A as ADInfeed } from './ADInfeed-2503361a.js';
15
+ import { c as clean_html_1 } from './entities-932b50cf.js';
16
+ import { A as ADInfeed } from './ADInfeed-fb501f15.js';
17
17
  import { l as lodash } from './lodash-f97fd99a.js';
18
- import { A as ADlgInfeed } from './ADlgInfeed-bc4a726f.js';
18
+ import { A as ADlgInfeed } from './ADlgInfeed-b742488e.js';
19
19
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
20
20
  import { g as get_1 } from './get-3c308da4.js';
21
21
  import urlFor from './urlFor.js';
22
- import { m as main_43 } from './main-754d4992.js';
22
+ import { m as main_43 } from './main-f97773b2.js';
23
23
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
24
24
  import { P as PublicationFeature } from './PublicationFeature-3cc370de.js';
25
25
  import { P as Pagination } from './Pagination-9fe9f61d.js';
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
3
  import urlFor from './urlFor.js';
4
- import { c as clean_html_1 } from './entities-6d9154b4.js';
4
+ import { c as clean_html_1 } from './entities-932b50cf.js';
5
5
  import { L as LazyLoad } from './index-755f2cc2.js';
6
6
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useRef, useState, useEffect } from 'react';
4
4
  import { N as NavFooter } from './NavFooter-1546a102.js';
5
5
  import { S as SocialNavFooter } from './index.esm-35a42e7d.js';
6
- import { S as SocialSearchComponent } from './SocialSearchComponent-6065bff2.js';
6
+ import { S as SocialSearchComponent } from './SocialSearchComponent-020f9e81.js';
7
7
  import 'react-bootstrap/Form';
8
8
  import 'react-bootstrap/FormControl';
9
9
  import 'react-bootstrap/Button';
@@ -15,7 +15,7 @@ import Navbar from 'react-bootstrap/Navbar';
15
15
  import NavDropdown from 'react-bootstrap/NavDropdown';
16
16
  import { M as MdEmail } from './index.esm-9b042655.js';
17
17
  import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
18
- import { m as main_43, c as main_44 } from './main-754d4992.js';
18
+ import { m as main_43, c as main_44 } from './main-f97773b2.js';
19
19
  import './_commonjsHelpers-0c4b6f40.js';
20
20
  import './core.get-iterator-method-ea258bb1.js';
21
21
  import './web.dom.iterable-ab4dea5c.js';
@@ -29,15 +29,15 @@ import './_set-species-2cd9340f.js';
29
29
  import './_iter-detect-98db3b07.js';
30
30
 
31
31
  var HamMagazine = function HamMagazine(props) {
32
- /*
33
- Example Nav with acceptable props
34
- <MagazineNav
35
- showLogin
36
- logo={props.settings.logo}
37
- dataObject={props.cache.mainNavCache}
38
- website={website}
39
- subNav={props.cache.subNavCache}
40
- />
32
+ /*
33
+ Example Nav with acceptable props
34
+ <MagazineNav
35
+ showLogin
36
+ logo={props.settings.logo}
37
+ dataObject={props.cache.mainNavCache}
38
+ website={website}
39
+ subNav={props.cache.subNavCache}
40
+ />
41
41
  */
42
42
 
43
43
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -4,7 +4,7 @@ import Modal from 'react-bootstrap/Modal';
4
4
  import Button from 'react-bootstrap/Button';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6
 
7
- var css = ".HealthcareProfessionalModal-module_container__HUaSr {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0,0,0,.1);\n z-index: 9999999999;\n display: grid;\n place-items: center;\n}\n.HealthcareProfessionalModal-module_modal__31CzM{\n background: #fff;\n padding: 1.5rem;\n text-align: center;\n position: relative;\n width: 400px;\n max-width: 90vw;\n\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\n transform: translateY(0);\n opacity:1;\n}\n.HealthcareProfessionalModal-module_header__3uIr7 {\n background-color: #0d335a;\nposition: absolute;\n padding: 1rem;\n width: 80%;\ntop: 0;\nleft: 50%;\ntransform: translateX(-50%) translateY(-50%) ;\n border-radius: 15px;\n}\n.HealthcareProfessionalModal-module_body__3bnyN {\n color: #202020;\n}\n.HealthcareProfessionalModal-module_body__3bnyN span{\n font-weight: bold;\n}\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n.HealthcareProfessionalModal-module_controls__1wXJl button {\n margin: 1.5rem 1rem;\n border-radius: 5px;\n font-size: 1rem;\n}\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\n from{\n transform: translateY(25px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity:1;\n }\n}";
7
+ var css = ".HealthcareProfessionalModal-module_container__HUaSr {\r\n position: fixed;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n background: rgba(0,0,0,.1);\r\n z-index: 9999999999;\r\n display: grid;\r\n place-items: center;\r\n}\r\n.HealthcareProfessionalModal-module_modal__31CzM{\r\n background: #fff;\r\n padding: 1.5rem;\r\n text-align: center;\r\n position: relative;\r\n width: 400px;\r\n max-width: 90vw;\r\n\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\r\n transform: translateY(0);\r\n opacity:1;\r\n}\r\n.HealthcareProfessionalModal-module_header__3uIr7 {\r\n background-color: #0d335a;\r\nposition: absolute;\r\n padding: 1rem;\r\n width: 80%;\r\ntop: 0;\r\nleft: 50%;\r\ntransform: translateX(-50%) translateY(-50%) ;\r\n border-radius: 15px;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN {\r\n color: #202020;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN span{\r\n font-weight: bold;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\r\n font-size: 24px;\r\n margin-bottom: 1rem;\r\n}\r\n.HealthcareProfessionalModal-module_controls__1wXJl button {\r\n margin: 1.5rem 1rem;\r\n border-radius: 5px;\r\n font-size: 1rem;\r\n}\r\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\r\n from{\r\n transform: translateY(25px);\r\n opacity: 0;\r\n }\r\n to {\r\n transform: translateY(0);\r\n opacity:1;\r\n }\r\n}";
8
8
  var styles = { "container": "HealthcareProfessionalModal-module_container__HUaSr", "modal": "HealthcareProfessionalModal-module_modal__31CzM", "show": "HealthcareProfessionalModal-module_show__3soMo", "header": "HealthcareProfessionalModal-module_header__3uIr7", "body": "HealthcareProfessionalModal-module_body__3bnyN", "title": "HealthcareProfessionalModal-module_title__27l5n", "controls": "HealthcareProfessionalModal-module_controls__1wXJl" };
9
9
  styleInject(css);
10
10
 
package/dist/esm/Hero.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { Card } from 'react-bootstrap';
3
3
  import urlFor from './urlFor.js';
4
- import { c as clean_html_1 } from './entities-6d9154b4.js';
4
+ import { c as clean_html_1 } from './entities-932b50cf.js';
5
5
  import './slicedToArray-6ebcbfea.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './web.dom.iterable-ab4dea5c.js';
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import ArticleCarousel from './ArticleCarousel.js';
4
4
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-9d159a77.js';
6
+ import { g as getSerializers } from './index-3f69b115.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './YoutubeGroup.js';
@@ -16,7 +16,7 @@ import 'prop-types';
16
16
  import './smoothscroll-fa4e3f8c.js';
17
17
  import './urlFor.js';
18
18
  import './index-3f5c03b2.js';
19
- import './main-754d4992.js';
19
+ import './main-f97773b2.js';
20
20
  import './iconBase-ccc56b97.js';
21
21
  import 'react-bootstrap';
22
22
  import './index-5cc7b406.js';
@@ -47,7 +47,7 @@ import 'next/head';
47
47
  import 'react-share';
48
48
  import './toConsumableArray-f7074d7c.js';
49
49
  import 'react-bootstrap/Pagination';
50
- import './entities-6d9154b4.js';
50
+ import './entities-932b50cf.js';
51
51
  import './AdSlot.js';
52
52
  import './debounce-533d9748.js';
53
53
  import './isSymbol-a7e9aafe.js';