@mjhls/mjh-framework 1.0.384 → 1.0.387

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 (65) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{ADInfeed-5949653c.js → ADInfeed-f544f2a5.js} +1 -1
  3. package/dist/cjs/{AdSlot-91bc9d77.js → AdSlot-1e40a214.js} +2 -2
  4. package/dist/cjs/DeckContent.js +9 -6
  5. package/dist/cjs/DeckQueue.js +7 -4
  6. package/dist/cjs/{Dfp-25e669fe.js → Dfp-27b922b0.js} +1 -1
  7. package/dist/cjs/{GridContent-1f1041b1.js → GridContent-1871749e.js} +6 -6
  8. package/dist/cjs/GridContent.js +11 -8
  9. package/dist/cjs/GroupDeck.js +26 -2
  10. package/dist/cjs/IssueContentDeck.js +44 -37
  11. package/dist/cjs/MasterDeck.js +7 -4
  12. package/dist/cjs/{Normal-c96bc60c.js → Normal-cc68fd44.js} +329 -111
  13. package/dist/cjs/PublicationDeck.js +2 -2
  14. package/dist/cjs/QueueDeckExpanded.js +7 -5
  15. package/dist/cjs/{TaxonomyCard-b51062ec.js → TaxonomyCard-cf264332.js} +1 -1
  16. package/dist/cjs/TaxonomyCard.js +3 -2
  17. package/dist/cjs/TemplateNormal.js +6 -5
  18. package/dist/cjs/VideoSeriesListing.js +7 -3
  19. package/dist/cjs/YoutubeGroup.js +23 -2
  20. package/dist/cjs/_library-dd23b178.js +5 -0
  21. package/dist/cjs/_object-pie-68c5bcbc.js +16 -0
  22. package/dist/cjs/{debounce-528ad412.js → debounce-b088070c.js} +0 -3
  23. package/dist/cjs/{extends-4c2285ff.js → extends-60837c34.js} +3 -16
  24. package/dist/cjs/{get-3b23d857.js → get-5aa7468c.js} +1 -1
  25. package/dist/cjs/index.js +32 -72
  26. package/dist/cjs/inherits-2a0fa98c.js +210 -0
  27. package/dist/cjs/{promise-f3635def.js → promise-d5136080.js} +2 -2
  28. package/dist/cjs/{inherits-cfb3a105.js → typeof-2747c582.js} +17 -217
  29. package/dist/esm/{ADInfeed-cb72a50c.js → ADInfeed-88c335d9.js} +1 -1
  30. package/dist/esm/{AdSlot-691d4ea0.js → AdSlot-971ce41c.js} +5 -5
  31. package/dist/esm/{AuthorComponent-2d328934.js → AuthorComponent-beb2ad16.js} +1 -1
  32. package/dist/esm/DeckContent.js +14 -11
  33. package/dist/esm/DeckQueue.js +11 -8
  34. package/dist/esm/{Dfp-9f16c743.js → Dfp-3b3273ee.js} +4 -4
  35. package/dist/esm/{Figure-c3dd2204.js → Figure-7ba30e53.js} +3 -3
  36. package/dist/esm/{GridContent-2c9483e5.js → GridContent-3229be76.js} +9 -9
  37. package/dist/esm/GridContent.js +17 -14
  38. package/dist/esm/GroupDeck.js +29 -5
  39. package/dist/esm/IssueContentDeck.js +44 -37
  40. package/dist/esm/MasterDeck.js +11 -8
  41. package/dist/esm/{Normal-1dbb3ddd.js → Normal-c171a945.js} +331 -113
  42. package/dist/esm/PublicationDeck.js +2 -2
  43. package/dist/esm/QueueDeckExpanded.js +13 -11
  44. package/dist/esm/{TaxonomyCard-dace0e7a.js → TaxonomyCard-12f0a90a.js} +1 -1
  45. package/dist/esm/TaxonomyCard.js +4 -3
  46. package/dist/esm/TemplateNormal.js +10 -9
  47. package/dist/esm/{Ustream-5af5d020.js → Ustream-ee7aeeef.js} +1 -1
  48. package/dist/esm/Ustream.js +4 -4
  49. package/dist/esm/VideoSeriesListing.js +10 -6
  50. package/dist/esm/YoutubeGroup.js +26 -5
  51. package/dist/esm/_library-528f1934.js +3 -0
  52. package/dist/esm/_object-pie-33c40e79.js +13 -0
  53. package/dist/esm/{_to-object-18b775df.js → _to-object-1b1f7766.js} +1 -1
  54. package/dist/esm/{debounce-702eb224.js → debounce-df468b0e.js} +1 -3
  55. package/dist/esm/{extends-886d1c3d.js → extends-92072fff.js} +3 -14
  56. package/dist/esm/{get-36d03764.js → get-53653403.js} +1 -1
  57. package/dist/esm/index.js +39 -79
  58. package/dist/esm/inherits-cacd91d8.js +203 -0
  59. package/dist/esm/{main-b2628307.js → main-25bb2c75.js} +2 -2
  60. package/dist/esm/{promise-e74ec3c8.js → promise-5d7cd78a.js} +4 -4
  61. package/dist/esm/{slicedToArray-e6f2ff4b.js → slicedToArray-04e02710.js} +2 -2
  62. package/dist/esm/{toConsumableArray-6e77ffeb.js → toConsumableArray-d7054876.js} +3 -3
  63. package/dist/esm/{inherits-08eb6462.js → typeof-e4b50250.js} +8 -205
  64. package/dist/esm/{web.dom.iterable-21cbfc63.js → web.dom.iterable-e6bf2bf6.js} +2 -2
  65. package/package.json +1 -1
@@ -1,22 +1,23 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-18b775df.js';
3
- import './web.dom.iterable-21cbfc63.js';
4
- import './debounce-702eb224.js';
5
- import './main-b2628307.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
+ import './_library-528f1934.js';
5
+ import './main-25bb2c75.js';
6
6
  import 'react';
7
+ import './debounce-df468b0e.js';
7
8
  import 'prop-types';
8
9
  import 'react-bootstrap/Container';
9
10
  import 'react-bootstrap/Row';
10
11
  import 'react-bootstrap/Col';
11
- import './slicedToArray-e6f2ff4b.js';
12
- import './AdSlot-691d4ea0.js';
13
- import './promise-e74ec3c8.js';
14
- import './get-36d03764.js';
12
+ import './slicedToArray-04e02710.js';
13
+ import './AdSlot-971ce41c.js';
14
+ import './promise-5d7cd78a.js';
15
+ import './get-53653403.js';
15
16
  import './react-social-icons-a7d5c5c7.js';
16
17
  import 'react-bootstrap';
17
18
  import './index.esm-536609db.js';
18
19
  import 'react-bootstrap/Button';
19
- export { T as default } from './Normal-1dbb3ddd.js';
20
+ export { T as default } from './Normal-c171a945.js';
20
21
  import 'react-bootstrap/ListGroup';
21
22
  import 'next/head';
22
23
  import 'react-bootstrap/Nav';
@@ -1,5 +1,5 @@
1
1
  import React__default, { useState, useRef, useEffect } from 'react';
2
- import { _ as _slicedToArray } from './slicedToArray-e6f2ff4b.js';
2
+ import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
3
3
  import { G as GenIcon, d as IoIosOpen } from './index.esm-536609db.js';
4
4
 
5
5
  // THIS FILE IS AUTO GENERATED
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-18b775df.js';
3
- import './web.dom.iterable-21cbfc63.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
4
  import 'react';
5
- import './slicedToArray-e6f2ff4b.js';
5
+ import './slicedToArray-04e02710.js';
6
6
  import './index.esm-536609db.js';
7
- export { U as default } from './Ustream-5af5d020.js';
7
+ export { U as default } from './Ustream-ee7aeeef.js';
@@ -1,18 +1,22 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-18b775df.js';
3
- import './web.dom.iterable-21cbfc63.js';
4
- import { d as debounce_1, l as lib_3 } from './debounce-702eb224.js';
5
- import { _ as _extends } from './extends-886d1c3d.js';
6
- import { c as _inherits, d as _classCallCheck, e as _possibleConstructorReturn, f as _Object$getPrototypeOf, g as _createClass } from './inherits-08eb6462.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
+ import './_library-528f1934.js';
5
+ import './_object-pie-33c40e79.js';
6
+ import { _ as _extends } from './extends-92072fff.js';
7
+ import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-cacd91d8.js';
8
+ import './typeof-e4b50250.js';
7
9
  import React__default from 'react';
10
+ import { d as debounce_1, l as lib_3 } from './debounce-df468b0e.js';
8
11
  import 'prop-types';
9
12
  import Container from 'react-bootstrap/Container';
10
13
  import './moment-12415288.js';
11
14
  import { withRouter } from 'next/router';
12
15
  import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-49d5805d.js';
13
16
  import 'react-dom';
17
+ import './index-51a80699.js';
14
18
  import './index-5f9f807a.js';
15
- import './slicedToArray-e6f2ff4b.js';
19
+ import './slicedToArray-04e02710.js';
16
20
  import './smoothscroll-4b699764.js';
17
21
  import YoutubeGroup from './YoutubeGroup.js';
18
22
  import { a as IoIosArrowForward } from './index.esm-536609db.js';
@@ -1,11 +1,15 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-18b775df.js';
3
- import './web.dom.iterable-21cbfc63.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
+ import './_library-528f1934.js';
5
+ import './_object-pie-33c40e79.js';
6
+ import { b as _typeof } from './typeof-e4b50250.js';
4
7
  import React__default, { useRef, useState, useEffect } from 'react';
5
8
  import 'prop-types';
6
9
  import 'react-dom';
10
+ import { i as imageUrlBuilder } from './index-51a80699.js';
7
11
  import { L as LazyLoad } from './index-5f9f807a.js';
8
- import { _ as _slicedToArray } from './slicedToArray-e6f2ff4b.js';
12
+ import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
9
13
  import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
10
14
 
11
15
  /*
@@ -35,6 +39,11 @@ var YoutubeGroup = function YoutubeGroup(props) {
35
39
  scrollPosition = _useState6[0],
36
40
  setScrollPosition = _useState6[1];
37
41
 
42
+ var urlFor = function urlFor(source, client) {
43
+ var builder = imageUrlBuilder(client);
44
+ return builder.image(source).auto('format');
45
+ };
46
+
38
47
  useEffect(function () {
39
48
  //IE11 Polyfill
40
49
  smoothscroll.polyfill();
@@ -160,7 +169,14 @@ var YoutubeGroup = function YoutubeGroup(props) {
160
169
  // If there is a current prop, means this will overlay a currently playing video
161
170
  if (current !== '') {
162
171
  var url = video.url;
163
- var thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
172
+ var thumbnail = void 0;
173
+ if (video.thumbnail && video.thumbnail.asset) {
174
+ thumbnail = urlFor(video.thumbnail, props.client);
175
+ } else if (_typeof(video.thumbnail == 'string')) {
176
+ thumbnail = video.thumbnail;
177
+ } else {
178
+ thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
179
+ }
164
180
 
165
181
  return React__default.createElement(
166
182
  'div',
@@ -207,7 +223,12 @@ var YoutubeGroup = function YoutubeGroup(props) {
207
223
  } else {
208
224
  // slider by itself
209
225
  var _url = '' + video.link;
210
- var _thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
226
+ var _thumbnail = void 0;
227
+ if (video.thumbnail && video.thumbnail.asset) {
228
+ _thumbnail = urlFor(video.thumbnail, props.client);
229
+ } else {
230
+ _thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
231
+ }
211
232
  return React__default.createElement(
212
233
  'div',
213
234
  { ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
@@ -0,0 +1,3 @@
1
+ var _library = true;
2
+
3
+ export { _library as _ };
@@ -0,0 +1,13 @@
1
+ var f = Object.getOwnPropertySymbols;
2
+
3
+ var _objectGops = {
4
+ f: f
5
+ };
6
+
7
+ var f$1 = {}.propertyIsEnumerable;
8
+
9
+ var _objectPie = {
10
+ f: f$1
11
+ };
12
+
13
+ export { _objectGops as _, _objectPie as a };
@@ -315,4 +315,4 @@ var _toObject = function (it) {
315
315
  return Object(_defined(it));
316
316
  };
317
317
 
318
- export { _toInteger as A, _sharedKey as B, _objectKeys as _, _toObject as a, _core as b, _isObject as c, _ctx as d, _descriptors as e, _objectDp as f, _iobject as g, _toLength as h, _global as i, _fails as j, _hide as k, _export as l, _aFunction as m, _uid as n, _has as o, _cof as p, _objectKeysInternal as q, _enumBugKeys as r, _toIobject as s, _toPrimitive as t, _ie8DomDefine as u, _propertyDesc as v, _shared as w, _anObject as x, _domCreate as y, _defined as z };
318
+ export { _toInteger as A, _sharedKey as B, _objectKeys as _, _toObject as a, _core as b, _isObject as c, _ctx as d, _descriptors as e, _objectDp as f, _iobject as g, _toLength as h, _global as i, _fails as j, _hide as k, _export as l, _aFunction as m, _anObject as n, _propertyDesc as o, _uid as p, _has as q, _cof as r, _objectKeysInternal as s, _enumBugKeys as t, _toIobject as u, _toPrimitive as v, _ie8DomDefine as w, _shared as x, _domCreate as y, _defined as z };
@@ -2,8 +2,6 @@ import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } fr
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
 
5
- var _library = true;
6
-
7
5
  var domain;
8
6
 
9
7
  // This constructor is used to store event handlers. Instantiating this is
@@ -2128,4 +2126,4 @@ function debounce(func, wait, options) {
2128
2126
 
2129
2127
  var debounce_1 = debounce;
2130
2128
 
2131
- export { _baseGetTag as _, lib_1 as a, _root as b, _freeGlobal as c, debounce_1 as d, lib_2 as e, _library as f, isSymbol_1 as g, isObject_1 as h, isObjectLike_1 as i, _Symbol as j, lib_3 as l, toNumber_1 as t };
2129
+ export { _baseGetTag as _, lib_1 as a, _root as b, _freeGlobal as c, debounce_1 as d, lib_2 as e, isSymbol_1 as f, isObject_1 as g, _Symbol as h, isObjectLike_1 as i, lib_3 as l, toNumber_1 as t };
@@ -1,17 +1,6 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { j as _fails, a as _toObject, g as _iobject, _ as _objectKeys, e as _descriptors, l as _export, b as _core } from './_to-object-18b775df.js';
3
-
4
- var f = Object.getOwnPropertySymbols;
5
-
6
- var _objectGops = {
7
- f: f
8
- };
9
-
10
- var f$1 = {}.propertyIsEnumerable;
11
-
12
- var _objectPie = {
13
- f: f$1
14
- };
2
+ import { j as _fails, a as _toObject, g as _iobject, _ as _objectKeys, e as _descriptors, l as _export, b as _core } from './_to-object-1b1f7766.js';
3
+ import { _ as _objectGops, a as _objectPie } from './_object-pie-33c40e79.js';
15
4
 
16
5
  // 19.1.2.1 Object.assign(target, source, ...)
17
6
 
@@ -91,4 +80,4 @@ exports.default = _assign2.default || function (target) {
91
80
 
92
81
  var _extends$1 = unwrapExports(_extends);
93
82
 
94
- export { _extends$1 as _, _Object$assign as a, _objectGops as b, _objectPie as c };
83
+ export { _extends$1 as _, _Object$assign as a };
@@ -1,4 +1,4 @@
1
- import { g as isSymbol_1, h as isObject_1, _ as _baseGetTag, b as _root, j as _Symbol } from './debounce-702eb224.js';
1
+ import { f as isSymbol_1, g as isObject_1, _ as _baseGetTag, b as _root, h as _Symbol } from './debounce-df468b0e.js';
2
2
 
3
3
  /**
4
4
  * Checks if `value` is classified as an `Array` object.
package/dist/esm/index.js CHANGED
@@ -1,12 +1,15 @@
1
1
  import { c as createCommonjsModule, a as commonjsGlobal, g as getCjsExportFromNamespace, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { _ as _objectKeys, a as _toObject, b as _core, c as _isObject, d as _ctx, e as _descriptors, f as _objectDp, g as _iobject, h as _toLength, i as _global, j as _fails, k as _hide, l as _export, m as _aFunction } from './_to-object-18b775df.js';
3
- import { _ as _objectCreate, a as _iterDefine, b as _iterStep, c as _wks, d as _setToStringTag, e as _classof } from './web.dom.iterable-21cbfc63.js';
4
- import { l as lib_3, d as debounce_1, a as lib_1, i as isObjectLike_1, _ as _baseGetTag, t as toNumber_1, b as _root, c as _freeGlobal } from './debounce-702eb224.js';
5
- import { m as main_39, a as main_16, b as main_38 } from './main-b2628307.js';
6
- import { _ as _toConsumableArray, a as _Array$from } from './toConsumableArray-6e77ffeb.js';
7
- import { _ as _extends$2, a as _Object$assign } from './extends-886d1c3d.js';
8
- import { _ as _objectSap, a as _meta, b as _isArray, c as _inherits$1, d as _classCallCheck$1, e as _possibleConstructorReturn$1, f as _Object$getPrototypeOf, g as _createClass$1 } from './inherits-08eb6462.js';
2
+ import { _ as _objectKeys, a as _toObject, b as _core, c as _isObject, d as _ctx, e as _descriptors, f as _objectDp, g as _iobject, h as _toLength, i as _global, j as _fails, k as _hide, l as _export, m as _aFunction } from './_to-object-1b1f7766.js';
3
+ import { _ as _objectCreate, a as _iterDefine, b as _iterStep, c as _wks, d as _setToStringTag, e as _classof } from './web.dom.iterable-e6bf2bf6.js';
4
+ import './_library-528f1934.js';
5
+ import { m as main_39, a as main_16, b as main_38 } from './main-25bb2c75.js';
6
+ import { _ as _toConsumableArray, a as _Array$from } from './toConsumableArray-d7054876.js';
7
+ import './_object-pie-33c40e79.js';
8
+ import { _ as _extends$2, a as _Object$assign } from './extends-92072fff.js';
9
+ import { _ as _objectSap, a as _inherits$1, b as _classCallCheck$1, c as _possibleConstructorReturn$1, d as _Object$getPrototypeOf, e as _createClass$1 } from './inherits-cacd91d8.js';
10
+ import { _ as _meta, a as _isArray } from './typeof-e4b50250.js';
9
11
  import React__default, { useState, useEffect, useRef } from 'react';
12
+ import { l as lib_3, d as debounce_1, a as lib_1, i as isObjectLike_1, _ as _baseGetTag, t as toNumber_1, b as _root, c as _freeGlobal } from './debounce-df468b0e.js';
10
13
  import PropTypes from 'prop-types';
11
14
  import Container$1 from 'react-bootstrap/Container';
12
15
  import Row from 'react-bootstrap/Row';
@@ -19,20 +22,20 @@ import 'react-dom';
19
22
  import { i as imageUrlBuilder } from './index-51a80699.js';
20
23
  import { L as LazyLoad } from './index-5f9f807a.js';
21
24
  import { c as clean_html_1, h as html_decode_1 } from './entities-7cc3bf45.js';
22
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-e6f2ff4b.js';
23
- import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-691d4ea0.js';
24
- export { D as AdSlot, B as Beam } from './AdSlot-691d4ea0.js';
25
- import { _ as _anInstance, a as _forOf, b as _redefineAll, c as _setSpecies } from './promise-e74ec3c8.js';
26
- import { A as ADInfeed } from './ADInfeed-cb72a50c.js';
25
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-04e02710.js';
26
+ import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-971ce41c.js';
27
+ export { D as AdSlot, B as Beam } from './AdSlot-971ce41c.js';
28
+ import { _ as _anInstance, a as _forOf, b as _redefineAll, c as _setSpecies } from './promise-5d7cd78a.js';
29
+ import { A as ADInfeed } from './ADInfeed-88c335d9.js';
27
30
  export { default as DeckContent } from './DeckContent.js';
28
- import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './get-36d03764.js';
29
- export { A as AD, G as GridContent } from './GridContent-2c9483e5.js';
30
- import './AuthorComponent-2d328934.js';
31
+ import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './get-53653403.js';
32
+ export { A as AD, G as GridContent } from './GridContent-3229be76.js';
33
+ import { A as AuthorComponent } from './AuthorComponent-beb2ad16.js';
31
34
  export { default as DeckQueue } from './DeckQueue.js';
32
35
  import 'react-bootstrap/Media';
33
36
  export { default as ThumbnailCard } from './ThumbnailCard.js';
34
- import { B as BlockContent } from './TaxonomyCard-dace0e7a.js';
35
- export { T as TaxonomyCard } from './TaxonomyCard-dace0e7a.js';
37
+ import { B as BlockContent } from './TaxonomyCard-12f0a90a.js';
38
+ export { T as TaxonomyCard } from './TaxonomyCard-12f0a90a.js';
36
39
  import './react-social-icons-a7d5c5c7.js';
37
40
  import { g as getYoutubeId } from './smoothscroll-4b699764.js';
38
41
  import GroupDeck from './GroupDeck.js';
@@ -49,8 +52,8 @@ export { default as IssueDeck } from './IssueDeck.js';
49
52
  import 'react-bootstrap/Badge';
50
53
  export { default as IssueContentDeck } from './IssueContentDeck.js';
51
54
  import Spinner from 'react-bootstrap/Spinner';
52
- import { M as MdPictureAsPdf } from './Normal-1dbb3ddd.js';
53
- export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-1dbb3ddd.js';
55
+ import { M as MdPictureAsPdf } from './Normal-c171a945.js';
56
+ export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-c171a945.js';
54
57
  import 'react-bootstrap/ListGroup';
55
58
  import Head from 'next/head';
56
59
  import Accordion from 'react-bootstrap/Accordion';
@@ -67,8 +70,8 @@ import Carousel$1 from 'react-bootstrap/Carousel';
67
70
  import Breadcrumb from 'react-bootstrap/Breadcrumb';
68
71
  import DropdownButton from 'react-bootstrap/DropdownButton';
69
72
  import Dropdown from 'react-bootstrap/Dropdown';
70
- import { F as FaLongArrowAltRight } from './Ustream-5af5d020.js';
71
- export { U as Ustream } from './Ustream-5af5d020.js';
73
+ import { F as FaLongArrowAltRight } from './Ustream-ee7aeeef.js';
74
+ export { U as Ustream } from './Ustream-ee7aeeef.js';
72
75
  import useSWR from 'swr';
73
76
  import Local from 'passport-local';
74
77
  import mysql from 'mysql';
@@ -2742,11 +2745,6 @@ var EventsDeck = function EventsDeck(_ref) {
2742
2745
  React__default.createElement(
2743
2746
  'div',
2744
2747
  { className: 'speaker-section', style: { border: '1px solid', borderRadius: '8px', padding: '8px' } },
2745
- React__default.createElement(
2746
- 'h6',
2747
- { className: 'speaker-title', style: { fontWeight: '600', marginBottom: '0', marginTop: '.25rem' } },
2748
- 'SPEAKER'
2749
- ),
2750
2748
  speakerInfo.map(function (info, index) {
2751
2749
  return React__default.createElement(
2752
2750
  'p',
@@ -6664,9 +6662,9 @@ var Media = function Media(_ref) {
6664
6662
  'a',
6665
6663
  _extends$2({}, uploadDoc.downloadMedia ? {
6666
6664
  onClick: function onClick() {
6667
- download(uploadDoc.asset.url, uploadDoc.asset.originalFilename);
6665
+ download(uploadDoc.asset.url);
6668
6666
  }
6669
- } : { href: uploadDoc.asset.url, target: '_blank', rel: 'noopener noreferrer' }, {
6667
+ } : { href: uploadDoc.asset.url, target: blank ? '_blank' : '_self', rel: 'noopener noreferrer' }, {
6670
6668
  style: { paddingLeft: '4px', paddingRight: '4px' },
6671
6669
  id: 'media-link' }),
6672
6670
  caption
@@ -13960,7 +13958,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
13960
13958
  padding: '0 1rem',
13961
13959
  left: '0'
13962
13960
  } },
13963
- vidUrl && React__default.createElement(GroupDeck, { dark: true, dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl })
13961
+ vidUrl && React__default.createElement(GroupDeck, { dark: true, dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client })
13964
13962
  )
13965
13963
  ),
13966
13964
  React__default.createElement(
@@ -14399,7 +14397,7 @@ var NativeAd = function NativeAd(props) {
14399
14397
  };
14400
14398
 
14401
14399
  var Figure = dynamic(function () {
14402
- return import('./Figure-c3dd2204.js');
14400
+ return import('./Figure-7ba30e53.js');
14403
14401
  }, { ssr: false });
14404
14402
 
14405
14403
  var checkUrlIsExternal = function checkUrlIsExternal(url) {
@@ -16351,48 +16349,6 @@ var GridHero = function GridHero(props) {
16351
16349
  topArticleThumbnail = props.thumbnail;
16352
16350
  }
16353
16351
 
16354
- var renderAuthor = function renderAuthor(authorDetail, index, length) {
16355
- if (authorDetail) {
16356
- var _id = authorDetail._id,
16357
- displayName = authorDetail.displayName,
16358
- url = authorDetail.url;
16359
-
16360
- if (displayName && url && url.current) {
16361
- return React__default.createElement(
16362
- 'div',
16363
- { key: _id },
16364
- index === 0 && React__default.createElement(
16365
- 'span',
16366
- { className: 'pr-1' },
16367
- 'By'
16368
- ),
16369
- React__default.createElement(
16370
- 'a',
16371
- { href: '/authors/' + url.current, className: 'text-muted' },
16372
- displayName,
16373
- length !== index + 1 && React__default.createElement('br', null)
16374
- )
16375
- );
16376
- } else if (displayName) {
16377
- return React__default.createElement(
16378
- 'div',
16379
- { key: _id },
16380
- index === 0 && React__default.createElement(
16381
- 'span',
16382
- { className: 'pr-1' },
16383
- 'By'
16384
- ),
16385
- React__default.createElement(
16386
- 'span',
16387
- { className: 'text-muted' },
16388
- displayName,
16389
- length !== index + 1 && React__default.createElement('br', null)
16390
- )
16391
- );
16392
- }
16393
- } else return null;
16394
- };
16395
-
16396
16352
  return React__default.createElement(
16397
16353
  'div',
16398
16354
  { className: 'article-hero' },
@@ -16425,9 +16381,11 @@ var GridHero = function GridHero(props) {
16425
16381
  { className: 'article-date' },
16426
16382
  moment(topArticle.published).format('MMMM DD, YYYY ')
16427
16383
  ),
16428
- topArticle.authorMapping && topArticle.authorMapping.length > 0 && topArticle.authorMapping.map(function (authorDetail, index) {
16429
- return renderAuthor(authorDetail, index, topArticle.authorMapping.length);
16430
- }),
16384
+ topArticle.authorMapping && topArticle.authorMapping.length > 0 && React__default.createElement(
16385
+ LazyLoad,
16386
+ { height: 50 },
16387
+ React__default.createElement(AuthorComponent, { key: topArticle.url.current, index: topArticle.url.current, authors: topArticle.authorMapping })
16388
+ ),
16431
16389
  topArticle.summary && React__default.createElement(
16432
16390
  'p',
16433
16391
  { className: 'top-article-summary' },
@@ -16451,7 +16409,7 @@ var GridHero = function GridHero(props) {
16451
16409
  return React__default.createElement(
16452
16410
  'div',
16453
16411
  { key: index, className: 'grid-sub-article sub-grid-' + (index + 1) },
16454
- React__default.createElement(
16412
+ articleThumbnail.length && React__default.createElement(
16455
16413
  'a',
16456
16414
  { href: '/view/' + article.url.current },
16457
16415
  React__default.createElement('img', { src: articleThumbnail, alt: articleAltText })
@@ -16473,9 +16431,11 @@ var GridHero = function GridHero(props) {
16473
16431
  { className: 'article-date' },
16474
16432
  moment(article.published).format('MMMM DD, YYYY ')
16475
16433
  ),
16476
- article.authorMapping && article.authorMapping.length > 0 && article.authorMapping.map(function (authorDetail, index) {
16477
- return renderAuthor(authorDetail, index, article.authorMapping.length);
16478
- }),
16434
+ article.authorMapping && article.authorMapping.length > 0 && React__default.createElement(
16435
+ LazyLoad,
16436
+ { height: 50 },
16437
+ React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
16438
+ ),
16479
16439
  article.summary && React__default.createElement(
16480
16440
  'p',
16481
16441
  { className: 'sub-article-summary' },
@@ -0,0 +1,203 @@
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+ import { b as _core, l as _export, j as _fails, a as _toObject, f as _objectDp, e as _descriptors, d as _ctx, n as _anObject, c as _isObject } from './_to-object-1b1f7766.js';
3
+ import { f as _objectGpo, _ as _objectCreate } from './web.dom.iterable-e6bf2bf6.js';
4
+ import { c as _typeof_1, d as _objectGopd } from './typeof-e4b50250.js';
5
+
6
+ // most Object methods by ES6 should accept primitives
7
+
8
+
9
+
10
+ var _objectSap = function (KEY, exec) {
11
+ var fn = (_core.Object || {})[KEY] || Object[KEY];
12
+ var exp = {};
13
+ exp[KEY] = exec(fn);
14
+ _export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
15
+ };
16
+
17
+ // 19.1.2.9 Object.getPrototypeOf(O)
18
+
19
+
20
+
21
+ _objectSap('getPrototypeOf', function () {
22
+ return function getPrototypeOf(it) {
23
+ return _objectGpo(_toObject(it));
24
+ };
25
+ });
26
+
27
+ var getPrototypeOf = _core.Object.getPrototypeOf;
28
+
29
+ var getPrototypeOf$1 = createCommonjsModule(function (module) {
30
+ module.exports = { "default": getPrototypeOf, __esModule: true };
31
+ });
32
+
33
+ var _Object$getPrototypeOf = unwrapExports(getPrototypeOf$1);
34
+
35
+ var classCallCheck = createCommonjsModule(function (module, exports) {
36
+
37
+ exports.__esModule = true;
38
+
39
+ exports.default = function (instance, Constructor) {
40
+ if (!(instance instanceof Constructor)) {
41
+ throw new TypeError("Cannot call a class as a function");
42
+ }
43
+ };
44
+ });
45
+
46
+ var _classCallCheck = unwrapExports(classCallCheck);
47
+
48
+ // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
49
+ _export(_export.S + _export.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
50
+
51
+ var $Object = _core.Object;
52
+ var defineProperty = function defineProperty(it, key, desc) {
53
+ return $Object.defineProperty(it, key, desc);
54
+ };
55
+
56
+ var defineProperty$1 = createCommonjsModule(function (module) {
57
+ module.exports = { "default": defineProperty, __esModule: true };
58
+ });
59
+
60
+ unwrapExports(defineProperty$1);
61
+
62
+ var createClass = createCommonjsModule(function (module, exports) {
63
+
64
+ exports.__esModule = true;
65
+
66
+
67
+
68
+ var _defineProperty2 = _interopRequireDefault(defineProperty$1);
69
+
70
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
71
+
72
+ exports.default = function () {
73
+ function defineProperties(target, props) {
74
+ for (var i = 0; i < props.length; i++) {
75
+ var descriptor = props[i];
76
+ descriptor.enumerable = descriptor.enumerable || false;
77
+ descriptor.configurable = true;
78
+ if ("value" in descriptor) descriptor.writable = true;
79
+ (0, _defineProperty2.default)(target, descriptor.key, descriptor);
80
+ }
81
+ }
82
+
83
+ return function (Constructor, protoProps, staticProps) {
84
+ if (protoProps) defineProperties(Constructor.prototype, protoProps);
85
+ if (staticProps) defineProperties(Constructor, staticProps);
86
+ return Constructor;
87
+ };
88
+ }();
89
+ });
90
+
91
+ var _createClass = unwrapExports(createClass);
92
+
93
+ var possibleConstructorReturn = createCommonjsModule(function (module, exports) {
94
+
95
+ exports.__esModule = true;
96
+
97
+
98
+
99
+ var _typeof3 = _interopRequireDefault(_typeof_1);
100
+
101
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
102
+
103
+ exports.default = function (self, call) {
104
+ if (!self) {
105
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
106
+ }
107
+
108
+ return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self;
109
+ };
110
+ });
111
+
112
+ var _possibleConstructorReturn = unwrapExports(possibleConstructorReturn);
113
+
114
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
115
+ /* eslint-disable no-proto */
116
+
117
+
118
+ var check = function (O, proto) {
119
+ _anObject(O);
120
+ if (!_isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
121
+ };
122
+ var _setProto = {
123
+ set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
124
+ function (test, buggy, set) {
125
+ try {
126
+ set = _ctx(Function.call, _objectGopd.f(Object.prototype, '__proto__').set, 2);
127
+ set(test, []);
128
+ buggy = !(test instanceof Array);
129
+ } catch (e) { buggy = true; }
130
+ return function setPrototypeOf(O, proto) {
131
+ check(O, proto);
132
+ if (buggy) O.__proto__ = proto;
133
+ else set(O, proto);
134
+ return O;
135
+ };
136
+ }({}, false) : undefined),
137
+ check: check
138
+ };
139
+
140
+ // 19.1.3.19 Object.setPrototypeOf(O, proto)
141
+
142
+ _export(_export.S, 'Object', { setPrototypeOf: _setProto.set });
143
+
144
+ var setPrototypeOf = _core.Object.setPrototypeOf;
145
+
146
+ var setPrototypeOf$1 = createCommonjsModule(function (module) {
147
+ module.exports = { "default": setPrototypeOf, __esModule: true };
148
+ });
149
+
150
+ unwrapExports(setPrototypeOf$1);
151
+
152
+ // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
153
+ _export(_export.S, 'Object', { create: _objectCreate });
154
+
155
+ var $Object$1 = _core.Object;
156
+ var create = function create(P, D) {
157
+ return $Object$1.create(P, D);
158
+ };
159
+
160
+ var create$1 = createCommonjsModule(function (module) {
161
+ module.exports = { "default": create, __esModule: true };
162
+ });
163
+
164
+ unwrapExports(create$1);
165
+
166
+ var inherits = createCommonjsModule(function (module, exports) {
167
+
168
+ exports.__esModule = true;
169
+
170
+
171
+
172
+ var _setPrototypeOf2 = _interopRequireDefault(setPrototypeOf$1);
173
+
174
+
175
+
176
+ var _create2 = _interopRequireDefault(create$1);
177
+
178
+
179
+
180
+ var _typeof3 = _interopRequireDefault(_typeof_1);
181
+
182
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
183
+
184
+ exports.default = function (subClass, superClass) {
185
+ if (typeof superClass !== "function" && superClass !== null) {
186
+ throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass)));
187
+ }
188
+
189
+ subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
190
+ constructor: {
191
+ value: subClass,
192
+ enumerable: false,
193
+ writable: true,
194
+ configurable: true
195
+ }
196
+ });
197
+ if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;
198
+ };
199
+ });
200
+
201
+ var _inherits = unwrapExports(inherits);
202
+
203
+ export { _objectSap as _, _inherits as a, _classCallCheck as b, _possibleConstructorReturn as c, _Object$getPrototypeOf as d, _createClass as e };
@@ -1,6 +1,6 @@
1
1
  import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { x as _anObject } from './_to-object-18b775df.js';
3
- import { c as _wks, i as _iterators } from './web.dom.iterable-21cbfc63.js';
2
+ import { n as _anObject } from './_to-object-1b1f7766.js';
3
+ import { c as _wks, h as _iterators } from './web.dom.iterable-e6bf2bf6.js';
4
4
  import React__default from 'react';
5
5
 
6
6
  // call something on iterator step with safe closing on error
@@ -1,8 +1,8 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { d as _ctx, h as _toLength, x as _anObject, m as _aFunction, i as _global, p as _cof, y as _domCreate, c as _isObject, k as _hide, b as _core, e as _descriptors, f as _objectDp, l as _export } from './_to-object-18b775df.js';
3
- import { h as core_getIteratorMethod, c as _wks, j as _html, e as _classof, d as _setToStringTag } from './web.dom.iterable-21cbfc63.js';
4
- import { f as _library } from './debounce-702eb224.js';
5
- import { d as _isArrayIter, e as _iterCall, _ as _iterDetect } from './main-b2628307.js';
2
+ import { d as _ctx, h as _toLength, n as _anObject, m as _aFunction, i as _global, r as _cof, y as _domCreate, c as _isObject, k as _hide, b as _core, e as _descriptors, f as _objectDp, l as _export } from './_to-object-1b1f7766.js';
3
+ import { g as core_getIteratorMethod, c as _wks, j as _html, e as _classof, d as _setToStringTag } from './web.dom.iterable-e6bf2bf6.js';
4
+ import { _ as _library } from './_library-528f1934.js';
5
+ import { d as _isArrayIter, e as _iterCall, _ as _iterDetect } from './main-25bb2c75.js';
6
6
 
7
7
  var _anInstance = function (it, Constructor, name, forbiddenField) {
8
8
  if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {