@mjhls/mjh-framework 1.0.691-beta.9 → 1.0.691

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 (149) hide show
  1. package/dist/cjs/AD.js +1 -1
  2. package/dist/cjs/AD300x250.js +3 -3
  3. package/dist/cjs/AD300x250x600.js +3 -3
  4. package/dist/cjs/AD728x90.js +4 -4
  5. package/dist/cjs/ADFloatingFooter.js +2 -2
  6. package/dist/cjs/ADGutter.js +5 -8
  7. package/dist/cjs/{ADInfeed-59543270.js → ADInfeed-3410ab3c.js} +3 -6
  8. package/dist/cjs/ADSkyscraper.js +5 -8
  9. package/dist/cjs/ADSponsoredResources.js +5 -8
  10. package/dist/cjs/ADWebcast.js +5 -8
  11. package/dist/cjs/ADWelcome.js +2 -2
  12. package/dist/cjs/{ADlgInfeed-0a1546ae.js → ADlgInfeed-845aac15.js} +3 -6
  13. package/dist/cjs/AdSlot.js +4 -4
  14. package/dist/cjs/AdSlotsProvider.js +2 -23
  15. package/dist/cjs/ArticleCarousel.js +1 -1
  16. package/dist/cjs/ArticleSeriesListing.js +4 -4
  17. package/dist/cjs/Auth.js +306 -455
  18. package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-88f69acd.js} +1 -1
  19. package/dist/cjs/BrowseVideosListing.js +1 -1
  20. package/dist/cjs/CMEDeck.js +5 -5
  21. package/dist/cjs/Column3.js +4 -4
  22. package/dist/cjs/ConferenceArticleCard.js +2 -2
  23. package/dist/cjs/DeckContent.js +8 -10
  24. package/dist/cjs/DeckQueue.js +6 -6
  25. package/dist/cjs/{Dfp-390337bf.js → Dfp-b2bc3b97.js} +1 -1
  26. package/dist/cjs/EventsDeck.js +4 -4
  27. package/dist/cjs/ExternalResources.js +7 -7
  28. package/dist/cjs/Feature.js +3 -3
  29. package/dist/cjs/ForbesHero.js +2 -2
  30. package/dist/cjs/GridContent.js +13 -17
  31. package/dist/cjs/GridHero.js +2 -2
  32. package/dist/cjs/GroupDeck.js +1 -1
  33. package/dist/cjs/HamMagazine.js +4 -4
  34. package/dist/cjs/Hero.js +1 -1
  35. package/dist/cjs/HorizontalHero.js +2 -2
  36. package/dist/cjs/IssueContentDeck.js +2 -2
  37. package/dist/cjs/IssueDeck.js +2 -2
  38. package/dist/cjs/IssueLanding.js +8 -8
  39. package/dist/cjs/LeftNav.js +2 -2
  40. package/dist/cjs/MasterDeck.js +10 -14
  41. package/dist/cjs/NavMagazine.js +4 -4
  42. package/dist/cjs/NavNative.js +4 -4
  43. package/dist/cjs/OncliveHero.js +2 -2
  44. package/dist/cjs/OncliveLargeHero.js +2 -2
  45. package/dist/cjs/PartnerDetailListing.js +10 -10
  46. package/dist/cjs/PublicationDeck.js +2 -2
  47. package/dist/cjs/QueueDeckExpanded.js +12 -16
  48. package/dist/cjs/RecentNews.js +2 -2
  49. package/dist/cjs/RelatedContent.js +2 -2
  50. package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-6b5e5b47.js} +5 -5
  51. package/dist/cjs/TaxonomyCard.js +2 -2
  52. package/dist/cjs/TemplateNormal.js +3 -3
  53. package/dist/cjs/ThumbnailCard.js +1 -1
  54. package/dist/cjs/Ustream.js +2 -2
  55. package/dist/cjs/VerticalHero.js +2 -2
  56. package/dist/cjs/VideoSeriesCard.js +2 -2
  57. package/dist/cjs/VideoSeriesListing.js +3 -3
  58. package/dist/cjs/View.js +20 -22
  59. package/dist/cjs/YahooHero.js +2 -2
  60. package/dist/cjs/YoutubeGroup.js +1 -1
  61. package/dist/cjs/getRelatedArticle.js +416 -5
  62. package/dist/cjs/getSerializers.js +6 -6
  63. package/dist/cjs/{index-099d45ae.js → index-2d0a4911.js} +4 -6
  64. package/dist/cjs/{index-bc377510.js → index-44c25825.js} +14 -14
  65. package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
  66. package/dist/cjs/{index-39beccb3.js → index-b5eb3ff8.js} +18 -18
  67. package/dist/cjs/index-bd6c9f56.js +211 -0
  68. package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
  69. package/dist/cjs/index.js +15 -15
  70. package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
  71. package/dist/cjs/{main-03ffa84c.js → main-b6c96c8d.js} +67 -37
  72. package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
  73. package/dist/cjs/timeDifferenceCalc.js +1 -1
  74. package/dist/cjs/urlFor.js +1 -1
  75. package/dist/esm/AD.js +1 -1
  76. package/dist/esm/AD300x250.js +3 -3
  77. package/dist/esm/AD300x250x600.js +3 -3
  78. package/dist/esm/AD728x90.js +4 -4
  79. package/dist/esm/ADFloatingFooter.js +2 -2
  80. package/dist/esm/ADGutter.js +5 -8
  81. package/dist/esm/{ADInfeed-a15fb981.js → ADInfeed-205cb7a9.js} +3 -6
  82. package/dist/esm/ADSkyscraper.js +5 -8
  83. package/dist/esm/ADSponsoredResources.js +5 -8
  84. package/dist/esm/ADWebcast.js +5 -8
  85. package/dist/esm/ADWelcome.js +2 -2
  86. package/dist/esm/{ADlgInfeed-33c8a066.js → ADlgInfeed-e538f17a.js} +3 -6
  87. package/dist/esm/AdSlot.js +4 -4
  88. package/dist/esm/AdSlotsProvider.js +3 -24
  89. package/dist/esm/ArticleCarousel.js +1 -1
  90. package/dist/esm/ArticleSeriesListing.js +4 -4
  91. package/dist/esm/Auth.js +301 -450
  92. package/dist/esm/{BlockContent-c409aca5.js → BlockContent-a614acdf.js} +1 -1
  93. package/dist/esm/BrowseVideosListing.js +1 -1
  94. package/dist/esm/CMEDeck.js +5 -5
  95. package/dist/esm/Column3.js +4 -4
  96. package/dist/esm/ConferenceArticleCard.js +2 -2
  97. package/dist/esm/DeckContent.js +8 -10
  98. package/dist/esm/DeckQueue.js +6 -6
  99. package/dist/esm/{Dfp-741c01be.js → Dfp-8a8fca18.js} +1 -1
  100. package/dist/esm/EventsDeck.js +4 -4
  101. package/dist/esm/ExternalResources.js +7 -7
  102. package/dist/esm/Feature.js +3 -3
  103. package/dist/esm/ForbesHero.js +2 -2
  104. package/dist/esm/GridContent.js +13 -17
  105. package/dist/esm/GridHero.js +2 -2
  106. package/dist/esm/GroupDeck.js +1 -1
  107. package/dist/esm/HamMagazine.js +4 -4
  108. package/dist/esm/Hero.js +1 -1
  109. package/dist/esm/HorizontalHero.js +2 -2
  110. package/dist/esm/IssueContentDeck.js +2 -2
  111. package/dist/esm/IssueDeck.js +2 -2
  112. package/dist/esm/IssueLanding.js +8 -8
  113. package/dist/esm/LeftNav.js +2 -2
  114. package/dist/esm/MasterDeck.js +10 -14
  115. package/dist/esm/NavMagazine.js +4 -4
  116. package/dist/esm/NavNative.js +4 -4
  117. package/dist/esm/OncliveHero.js +2 -2
  118. package/dist/esm/OncliveLargeHero.js +2 -2
  119. package/dist/esm/PartnerDetailListing.js +10 -10
  120. package/dist/esm/PublicationDeck.js +2 -2
  121. package/dist/esm/QueueDeckExpanded.js +12 -16
  122. package/dist/esm/RecentNews.js +2 -2
  123. package/dist/esm/RelatedContent.js +2 -2
  124. package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-7f14e0f3.js} +5 -5
  125. package/dist/esm/TaxonomyCard.js +2 -2
  126. package/dist/esm/TemplateNormal.js +3 -3
  127. package/dist/esm/ThumbnailCard.js +1 -1
  128. package/dist/esm/Ustream.js +2 -2
  129. package/dist/esm/VerticalHero.js +2 -2
  130. package/dist/esm/VideoSeriesCard.js +2 -2
  131. package/dist/esm/VideoSeriesListing.js +3 -3
  132. package/dist/esm/View.js +20 -22
  133. package/dist/esm/YahooHero.js +2 -2
  134. package/dist/esm/YoutubeGroup.js +1 -1
  135. package/dist/esm/getRelatedArticle.js +416 -5
  136. package/dist/esm/getSerializers.js +6 -6
  137. package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
  138. package/dist/esm/{index-d1920c2d.js → index-8a757d91.js} +14 -14
  139. package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
  140. package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
  141. package/dist/esm/index-db3bb315.js +207 -0
  142. package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
  143. package/dist/esm/index.js +14 -14
  144. package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
  145. package/dist/esm/{main-35ff7b4f.js → main-0465b2a0.js} +65 -34
  146. package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
  147. package/dist/esm/timeDifferenceCalc.js +1 -1
  148. package/dist/esm/urlFor.js +1 -1
  149. package/package.json +3 -3
@@ -60,35 +60,35 @@ function parseSource(source) {
60
60
  if (typeof source === 'string' && isUrl(source)) {
61
61
  // Someone passed an existing image url?
62
62
  image = {
63
- asset: { _ref: urlToId(source) }
63
+ asset: { _ref: urlToId(source) },
64
64
  };
65
65
  }
66
66
  else if (typeof source === 'string') {
67
67
  // Just an asset id
68
68
  image = {
69
- asset: { _ref: source }
69
+ asset: { _ref: source },
70
70
  };
71
71
  }
72
72
  else if (isRef(source)) {
73
73
  // We just got passed an asset directly
74
74
  image = {
75
- asset: source
75
+ asset: source,
76
76
  };
77
77
  }
78
78
  else if (isAsset(source)) {
79
79
  // If we were passed an image asset document
80
80
  image = {
81
81
  asset: {
82
- _ref: source._id || ''
83
- }
82
+ _ref: source._id || '',
83
+ },
84
84
  };
85
85
  }
86
86
  else if (isAssetStub(source)) {
87
87
  // If we were passed a partial asset (`url`, but no `_id`)
88
88
  image = {
89
89
  asset: {
90
- _ref: urlToId(source.asset.url)
91
- }
90
+ _ref: urlToId(source.asset.url),
91
+ },
92
92
  };
93
93
  }
94
94
  else if (typeof source.asset === 'object') {
@@ -129,7 +129,7 @@ function applyDefaults(image) {
129
129
  left: 0,
130
130
  top: 0,
131
131
  bottom: 0,
132
- right: 0
132
+ right: 0,
133
133
  };
134
134
  }
135
135
  if (!result.hotspot) {
@@ -137,7 +137,7 @@ function applyDefaults(image) {
137
137
  x: 0.5,
138
138
  y: 0.5,
139
139
  height: 1.0,
140
- width: 1.0
140
+ width: 1.0,
141
141
  };
142
142
  }
143
143
  return result;
@@ -184,7 +184,7 @@ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
184
184
  ['crop', 'crop'],
185
185
  ['saturation', 'sat'],
186
186
  ['auto', 'auto'],
187
- ['dpr', 'dpr']
187
+ ['dpr', 'dpr'],
188
188
  ];
189
189
  function urlForImage(options) {
190
190
  var spec = __assign({}, (options || {}));
@@ -203,7 +203,7 @@ function urlForImage(options) {
203
203
  left: cropLeft,
204
204
  top: cropTop,
205
205
  width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
206
- height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop)
206
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
207
207
  };
208
208
  // Compute hot spot rect in terms of pixel coordinates
209
209
  var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
@@ -214,7 +214,7 @@ function urlForImage(options) {
214
214
  left: hotSpotCenterX - hotSpotHorizontalRadius,
215
215
  top: hotSpotCenterY - hotSpotVerticalRadius,
216
216
  right: hotSpotCenterX + hotSpotHorizontalRadius,
217
- bottom: hotSpotCenterY + hotSpotVerticalRadius
217
+ bottom: hotSpotCenterY + hotSpotVerticalRadius,
218
218
  };
219
219
  // If irrelevant, or if we are requested to: don't perform crop/fit based on
220
220
  // the crop/hotspot.
@@ -296,7 +296,7 @@ function fit(source, spec) {
296
296
  left: Math.round(left),
297
297
  top: Math.round(top_2),
298
298
  width: Math.round(width),
299
- height: Math.round(height)
299
+ height: Math.round(height),
300
300
  };
301
301
  }
302
302
  else {
@@ -318,13 +318,13 @@ function fit(source, spec) {
318
318
  left: Math.max(0, Math.floor(left)),
319
319
  top: Math.max(0, Math.floor(top_3)),
320
320
  width: Math.round(width),
321
- height: Math.round(height)
321
+ height: Math.round(height),
322
322
  };
323
323
  }
324
324
  return {
325
325
  width: imgWidth,
326
326
  height: imgHeight,
327
- rect: cropRect
327
+ rect: cropRect,
328
328
  };
329
329
  }
330
330
 
@@ -382,7 +382,7 @@ function urlBuilder(options) {
382
382
  return new ImageUrlBuilder(null, {
383
383
  baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
384
384
  projectId: projectId,
385
- dataset: dataset
385
+ dataset: dataset,
386
386
  });
387
387
  }
388
388
  // Or just accept the options as given
@@ -395,7 +395,7 @@ var ImageUrlBuilder = /** @class */ (function () {
395
395
  ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
396
396
  }
397
397
  ImageUrlBuilder.prototype.withOptions = function (options) {
398
- var baseUrl = options.baseUrl || '';
398
+ var baseUrl = options.baseUrl || this.options.baseUrl;
399
399
  var newOptions = { baseUrl: baseUrl };
400
400
  for (var key in options) {
401
401
  if (options.hasOwnProperty(key)) {
@@ -523,7 +523,7 @@ var ImageUrlBuilder = /** @class */ (function () {
523
523
  ImageUrlBuilder.prototype.url = function () {
524
524
  return urlForImage_1$1.default(this.options);
525
525
  };
526
- // Synonym for url()
526
+ // Alias for url()
527
527
  ImageUrlBuilder.prototype.toString = function () {
528
528
  return this.url();
529
529
  };
@@ -0,0 +1,211 @@
1
+ 'use strict';
2
+
3
+ /*!
4
+ * cookie
5
+ * Copyright(c) 2012-2014 Roman Shtylman
6
+ * Copyright(c) 2015 Douglas Christopher Wilson
7
+ * MIT Licensed
8
+ */
9
+
10
+ /**
11
+ * Module exports.
12
+ * @public
13
+ */
14
+
15
+ var parse_1 = parse;
16
+ var serialize_1 = serialize;
17
+
18
+ /**
19
+ * Module variables.
20
+ * @private
21
+ */
22
+
23
+ var decode = decodeURIComponent;
24
+ var encode = encodeURIComponent;
25
+ var pairSplitRegExp = /; */;
26
+
27
+ /**
28
+ * RegExp to match field-content in RFC 7230 sec 3.2
29
+ *
30
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
31
+ * field-vchar = VCHAR / obs-text
32
+ * obs-text = %x80-FF
33
+ */
34
+
35
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
36
+
37
+ /**
38
+ * Parse a cookie header.
39
+ *
40
+ * Parse the given cookie header string into an object
41
+ * The object has the various cookies as keys(names) => values
42
+ *
43
+ * @param {string} str
44
+ * @param {object} [options]
45
+ * @return {object}
46
+ * @public
47
+ */
48
+
49
+ function parse(str, options) {
50
+ if (typeof str !== 'string') {
51
+ throw new TypeError('argument str must be a string');
52
+ }
53
+
54
+ var obj = {};
55
+ var opt = options || {};
56
+ var pairs = str.split(pairSplitRegExp);
57
+ var dec = opt.decode || decode;
58
+
59
+ for (var i = 0; i < pairs.length; i++) {
60
+ var pair = pairs[i];
61
+ var eq_idx = pair.indexOf('=');
62
+
63
+ // skip things that don't look like key=value
64
+ if (eq_idx < 0) {
65
+ continue;
66
+ }
67
+
68
+ var key = pair.substr(0, eq_idx).trim();
69
+ var val = pair.substr(++eq_idx, pair.length).trim();
70
+
71
+ // quoted values
72
+ if ('"' == val[0]) {
73
+ val = val.slice(1, -1);
74
+ }
75
+
76
+ // only assign once
77
+ if (undefined == obj[key]) {
78
+ obj[key] = tryDecode(val, dec);
79
+ }
80
+ }
81
+
82
+ return obj;
83
+ }
84
+
85
+ /**
86
+ * Serialize data into a cookie header.
87
+ *
88
+ * Serialize the a name value pair into a cookie string suitable for
89
+ * http headers. An optional options object specified cookie parameters.
90
+ *
91
+ * serialize('foo', 'bar', { httpOnly: true })
92
+ * => "foo=bar; httpOnly"
93
+ *
94
+ * @param {string} name
95
+ * @param {string} val
96
+ * @param {object} [options]
97
+ * @return {string}
98
+ * @public
99
+ */
100
+
101
+ function serialize(name, val, options) {
102
+ var opt = options || {};
103
+ var enc = opt.encode || encode;
104
+
105
+ if (typeof enc !== 'function') {
106
+ throw new TypeError('option encode is invalid');
107
+ }
108
+
109
+ if (!fieldContentRegExp.test(name)) {
110
+ throw new TypeError('argument name is invalid');
111
+ }
112
+
113
+ var value = enc(val);
114
+
115
+ if (value && !fieldContentRegExp.test(value)) {
116
+ throw new TypeError('argument val is invalid');
117
+ }
118
+
119
+ var str = name + '=' + value;
120
+
121
+ if (null != opt.maxAge) {
122
+ var maxAge = opt.maxAge - 0;
123
+
124
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
125
+ throw new TypeError('option maxAge is invalid')
126
+ }
127
+
128
+ str += '; Max-Age=' + Math.floor(maxAge);
129
+ }
130
+
131
+ if (opt.domain) {
132
+ if (!fieldContentRegExp.test(opt.domain)) {
133
+ throw new TypeError('option domain is invalid');
134
+ }
135
+
136
+ str += '; Domain=' + opt.domain;
137
+ }
138
+
139
+ if (opt.path) {
140
+ if (!fieldContentRegExp.test(opt.path)) {
141
+ throw new TypeError('option path is invalid');
142
+ }
143
+
144
+ str += '; Path=' + opt.path;
145
+ }
146
+
147
+ if (opt.expires) {
148
+ if (typeof opt.expires.toUTCString !== 'function') {
149
+ throw new TypeError('option expires is invalid');
150
+ }
151
+
152
+ str += '; Expires=' + opt.expires.toUTCString();
153
+ }
154
+
155
+ if (opt.httpOnly) {
156
+ str += '; HttpOnly';
157
+ }
158
+
159
+ if (opt.secure) {
160
+ str += '; Secure';
161
+ }
162
+
163
+ if (opt.sameSite) {
164
+ var sameSite = typeof opt.sameSite === 'string'
165
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
166
+
167
+ switch (sameSite) {
168
+ case true:
169
+ str += '; SameSite=Strict';
170
+ break;
171
+ case 'lax':
172
+ str += '; SameSite=Lax';
173
+ break;
174
+ case 'strict':
175
+ str += '; SameSite=Strict';
176
+ break;
177
+ case 'none':
178
+ str += '; SameSite=None';
179
+ break;
180
+ default:
181
+ throw new TypeError('option sameSite is invalid');
182
+ }
183
+ }
184
+
185
+ return str;
186
+ }
187
+
188
+ /**
189
+ * Try decoding a string using a decoding function.
190
+ *
191
+ * @param {string} str
192
+ * @param {function} decode
193
+ * @private
194
+ */
195
+
196
+ function tryDecode(str, decode) {
197
+ try {
198
+ return decode(str);
199
+ } catch (e) {
200
+ return str;
201
+ }
202
+ }
203
+
204
+ var cookie = {
205
+ parse: parse_1,
206
+ serialize: serialize_1
207
+ };
208
+
209
+ exports.cookie = cookie;
210
+ exports.parse_1 = parse_1;
211
+ exports.serialize_1 = serialize_1;
@@ -268,6 +268,9 @@ var InfiniteScroll = /** @class */ (function (_super) {
268
268
  _this.dragging = false;
269
269
  if (_this.state.pullToRefreshThresholdBreached) {
270
270
  _this.props.refreshFunction && _this.props.refreshFunction();
271
+ _this.setState({
272
+ pullToRefreshThresholdBreached: false,
273
+ });
271
274
  }
272
275
  requestAnimationFrame(function () {
273
276
  // this._infScroll
@@ -374,7 +377,6 @@ var InfiniteScroll = /** @class */ (function (_super) {
374
377
  // update state when new data was sent in
375
378
  this.setState({
376
379
  showLoader: false,
377
- pullToRefreshThresholdBreached: false,
378
380
  });
379
381
  };
380
382
  InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
package/dist/cjs/index.js CHANGED
@@ -18,22 +18,22 @@ require('./web.dom.iterable-a0e279c1.js');
18
18
  require('./typeof-725500bc.js');
19
19
  require('./_is-array-754e012d.js');
20
20
  require('react');
21
- require('./index-099d45ae.js');
21
+ require('./index-2d0a4911.js');
22
22
  require('prop-types');
23
23
  require('react-bootstrap/Container');
24
24
  require('react-bootstrap/Row');
25
25
  require('react-bootstrap/Col');
26
26
  require('react-bootstrap/Card');
27
- require('./moment-575fe24c.js');
27
+ require('./moment-66a6a284.js');
28
28
  require('next/router');
29
29
  require('./isSymbol-04666465.js');
30
30
  require('./debounce-eb287781.js');
31
- require('./index.es-9110add6.js');
31
+ require('./index.es-ab3f2690.js');
32
32
  require('react-dom');
33
33
  require('./visibility-sensor-0c45a583.js');
34
- require('./index-39beccb3.js');
34
+ require('./index-b5eb3ff8.js');
35
35
  require('./index-da796b8c.js');
36
- require('./main-03ffa84c.js');
36
+ require('./main-b6c96c8d.js');
37
37
  require('./entities-310b46ee.js');
38
38
  require('./stringify-7c5aff47.js');
39
39
  require('./slicedToArray-8f385299.js');
@@ -42,10 +42,10 @@ require('./_set-species-f92c67c5.js');
42
42
  var Segment = require('./Segment.js');
43
43
  var Beam = require('./Beam.js');
44
44
  var AdSlot = require('./AdSlot.js');
45
- require('./ADInfeed-59543270.js');
45
+ require('./ADInfeed-3410ab3c.js');
46
46
  var DeckContent = require('./DeckContent.js');
47
- require('./lodash-7fd85bcf.js');
48
- require('./ADlgInfeed-0a1546ae.js');
47
+ require('./lodash-fc2922d0.js');
48
+ require('./ADlgInfeed-845aac15.js');
49
49
  require('./getContentCategory-f38a4c00.js');
50
50
  require('./get-68c52cb1.js');
51
51
  var AD = require('./AD.js');
@@ -54,7 +54,7 @@ var GridContent = require('./GridContent.js');
54
54
  var DeckQueue = require('./DeckQueue.js');
55
55
  require('react-bootstrap/Media');
56
56
  var ThumbnailCard = require('./ThumbnailCard.js');
57
- require('./BlockContent-80b15fac.js');
57
+ require('./BlockContent-88f69acd.js');
58
58
  require('./react-social-icons-f7f48f71.js');
59
59
  var TaxonomyCard = require('./TaxonomyCard.js');
60
60
  var RolesDeck = require('./RolesDeck.js');
@@ -80,10 +80,10 @@ require('./defineProperty-55548b25.js');
80
80
  var EventsDeck = require('./EventsDeck.js');
81
81
  require('react-bootstrap/Spinner');
82
82
  require('react-bootstrap/Form');
83
- require('./index-3294d3bc.js');
83
+ require('./index-5be2866f.js');
84
84
  require('./js.cookie-a511c430.js');
85
85
  var CMEDeck = require('./CMEDeck.js');
86
- var getSerializers = require('./index-bc377510.js');
86
+ var getSerializers = require('./index-44c25825.js');
87
87
  require('./util-f2c1b65b.js');
88
88
  require('./brightcove-react-player-loader.es-156bd4d6.js');
89
89
  require('react-bootstrap/Pagination');
@@ -114,7 +114,7 @@ require('./NavFooter-76c913e3.js');
114
114
  require('./index.esm-4d410430.js');
115
115
  var SocialIcons = require('./SocialIcons.js');
116
116
  require('react-bootstrap/FormControl');
117
- require('./SocialSearchComponent-56d49a1a.js');
117
+ require('./SocialSearchComponent-6b5e5b47.js');
118
118
  var NavMagazine = require('./NavMagazine.js');
119
119
  var NavNative = require('./NavNative.js');
120
120
  var Search = require('./Search.js');
@@ -161,9 +161,9 @@ var ConferenceArticleCard = require('./ConferenceArticleCard.js');
161
161
  var KMTracker = require('./KMTracker.js');
162
162
  var getSeriesDetail = require('./getSeriesDetail.js');
163
163
  var SetCookie = require('./SetCookie.js');
164
- require('nookies');
165
- var getQuery = require('./getQuery.js');
164
+ require('./index-bd6c9f56.js');
166
165
  var getRelatedArticle = require('./getRelatedArticle.js');
166
+ var getQuery = require('./getQuery.js');
167
167
  var Auth = require('./Auth.js');
168
168
  require('swr');
169
169
  require('passport-local');
@@ -254,8 +254,8 @@ exports.ConferenceArticleCard = ConferenceArticleCard;
254
254
  exports.KMTracker = KMTracker;
255
255
  exports.getSeriesDetail = getSeriesDetail;
256
256
  exports.SetCookie = SetCookie;
257
- exports.getQuery = getQuery;
258
257
  exports.getRelatedArticle = getRelatedArticle;
258
+ exports.getQuery = getQuery;
259
259
  exports.Auth = Auth.default;
260
260
  exports.getTargeting = getTargeting.getTargeting;
261
261
  exports.View = View;
@@ -9,7 +9,7 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
9
9
  var undefined$1;
10
10
 
11
11
  /** Used as the semantic version number. */
12
- var VERSION = '4.17.20';
12
+ var VERSION = '4.17.15';
13
13
 
14
14
  /** Used as the size to enable large array optimizations. */
15
15
  var LARGE_ARRAY_SIZE = 200;
@@ -3716,21 +3716,8 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
3716
3716
  * @returns {Array} Returns the new sorted array.
3717
3717
  */
3718
3718
  function baseOrderBy(collection, iteratees, orders) {
3719
- if (iteratees.length) {
3720
- iteratees = arrayMap(iteratees, function(iteratee) {
3721
- if (isArray(iteratee)) {
3722
- return function(value) {
3723
- return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
3724
- }
3725
- }
3726
- return iteratee;
3727
- });
3728
- } else {
3729
- iteratees = [identity];
3730
- }
3731
-
3732
3719
  var index = -1;
3733
- iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
3720
+ iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(getIteratee()));
3734
3721
 
3735
3722
  var result = baseMap(collection, function(value, key, collection) {
3736
3723
  var criteria = arrayMap(iteratees, function(iteratee) {
@@ -3987,10 +3974,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
3987
3974
  var key = toKey(path[index]),
3988
3975
  newValue = value;
3989
3976
 
3990
- if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
3991
- return object;
3992
- }
3993
-
3994
3977
  if (index != lastIndex) {
3995
3978
  var objValue = nested[key];
3996
3979
  newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
@@ -4143,14 +4126,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
4143
4126
  * into `array`.
4144
4127
  */
4145
4128
  function baseSortedIndexBy(array, value, iteratee, retHighest) {
4146
- var low = 0,
4147
- high = array == null ? 0 : array.length;
4148
- if (high === 0) {
4149
- return 0;
4150
- }
4151
-
4152
4129
  value = iteratee(value);
4153
- var valIsNaN = value !== value,
4130
+
4131
+ var low = 0,
4132
+ high = array == null ? 0 : array.length,
4133
+ valIsNaN = value !== value,
4154
4134
  valIsNull = value === null,
4155
4135
  valIsSymbol = isSymbol(value),
4156
4136
  valIsUndefined = value === undefined$1;
@@ -5635,11 +5615,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
5635
5615
  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
5636
5616
  return false;
5637
5617
  }
5638
- // Check that cyclic values are equal.
5639
- var arrStacked = stack.get(array);
5640
- var othStacked = stack.get(other);
5641
- if (arrStacked && othStacked) {
5642
- return arrStacked == other && othStacked == array;
5618
+ // Assume cyclic values are equal.
5619
+ var stacked = stack.get(array);
5620
+ if (stacked && stack.get(other)) {
5621
+ return stacked == other;
5643
5622
  }
5644
5623
  var index = -1,
5645
5624
  result = true,
@@ -5801,11 +5780,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
5801
5780
  return false;
5802
5781
  }
5803
5782
  }
5804
- // Check that cyclic values are equal.
5805
- var objStacked = stack.get(object);
5806
- var othStacked = stack.get(other);
5807
- if (objStacked && othStacked) {
5808
- return objStacked == other && othStacked == object;
5783
+ // Assume cyclic values are equal.
5784
+ var stacked = stack.get(object);
5785
+ if (stacked && stack.get(other)) {
5786
+ return stacked == other;
5809
5787
  }
5810
5788
  var result = true;
5811
5789
  stack.set(object, other);
@@ -9186,10 +9164,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
9186
9164
  * // The `_.property` iteratee shorthand.
9187
9165
  * _.filter(users, 'active');
9188
9166
  * // => objects for ['barney']
9189
- *
9190
- * // Combining several predicates using `_.overEvery` or `_.overSome`.
9191
- * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
9192
- * // => objects for ['fred', 'barney']
9193
9167
  */
9194
9168
  function filter(collection, predicate) {
9195
9169
  var func = isArray(collection) ? arrayFilter : baseFilter;
@@ -9939,15 +9913,15 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
9939
9913
  * var users = [
9940
9914
  * { 'user': 'fred', 'age': 48 },
9941
9915
  * { 'user': 'barney', 'age': 36 },
9942
- * { 'user': 'fred', 'age': 30 },
9916
+ * { 'user': 'fred', 'age': 40 },
9943
9917
  * { 'user': 'barney', 'age': 34 }
9944
9918
  * ];
9945
9919
  *
9946
9920
  * _.sortBy(users, [function(o) { return o.user; }]);
9947
- * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
9921
+ * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]
9948
9922
  *
9949
9923
  * _.sortBy(users, ['user', 'age']);
9950
- * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
9924
+ * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]
9951
9925
  */
9952
9926
  var sortBy = baseRest(function(collection, iteratees) {
9953
9927
  if (collection == null) {
@@ -14822,11 +14796,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
14822
14796
 
14823
14797
  // Use a sourceURL for easier debugging.
14824
14798
  // The sourceURL gets injected into the source that's eval-ed, so be careful
14825
- // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in
14826
- // and escape the comment, thus injecting code that gets evaled.
14799
+ // with lookup (in case of e.g. prototype pollution), and strip newlines if any.
14800
+ // A newline wouldn't be a valid sourceURL anyway, and it'd enable code injection.
14827
14801
  var sourceURL = '//# sourceURL=' +
14828
14802
  (hasOwnProperty.call(options, 'sourceURL')
14829
- ? (options.sourceURL + '').replace(/\s/g, ' ')
14803
+ ? (options.sourceURL + '').replace(/[\r\n]/g, ' ')
14830
14804
  : ('lodash.templateSources[' + (++templateCounter) + ']')
14831
14805
  ) + '\n';
14832
14806
 
@@ -14859,6 +14833,8 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
14859
14833
 
14860
14834
  // If `variable` is not specified wrap a with-statement around the generated
14861
14835
  // code to add the data object to the top of the scope chain.
14836
+ // Like with sourceURL, we take care to not check the option's prototype,
14837
+ // as this configuration is a code injection vector.
14862
14838
  var variable = hasOwnProperty.call(options, 'variable') && options.variable;
14863
14839
  if (!variable) {
14864
14840
  source = 'with (obj) {\n' + source + '\n}\n';
@@ -15565,9 +15541,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15565
15541
  * values against any array or object value, respectively. See `_.isEqual`
15566
15542
  * for a list of supported value comparisons.
15567
15543
  *
15568
- * **Note:** Multiple values can be checked by combining several matchers
15569
- * using `_.overSome`
15570
- *
15571
15544
  * @static
15572
15545
  * @memberOf _
15573
15546
  * @since 3.0.0
@@ -15583,10 +15556,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15583
15556
  *
15584
15557
  * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
15585
15558
  * // => [{ 'a': 4, 'b': 5, 'c': 6 }]
15586
- *
15587
- * // Checking for several possible values
15588
- * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
15589
- * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
15590
15559
  */
15591
15560
  function matches(source) {
15592
15561
  return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
@@ -15601,9 +15570,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15601
15570
  * `srcValue` values against any array or object value, respectively. See
15602
15571
  * `_.isEqual` for a list of supported value comparisons.
15603
15572
  *
15604
- * **Note:** Multiple values can be checked by combining several matchers
15605
- * using `_.overSome`
15606
- *
15607
15573
  * @static
15608
15574
  * @memberOf _
15609
15575
  * @since 3.2.0
@@ -15620,10 +15586,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15620
15586
  *
15621
15587
  * _.find(objects, _.matchesProperty('a', 4));
15622
15588
  * // => { 'a': 4, 'b': 5, 'c': 6 }
15623
- *
15624
- * // Checking for several possible values
15625
- * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
15626
- * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
15627
15589
  */
15628
15590
  function matchesProperty(path, srcValue) {
15629
15591
  return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
@@ -15847,10 +15809,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15847
15809
  * Creates a function that checks if **all** of the `predicates` return
15848
15810
  * truthy when invoked with the arguments it receives.
15849
15811
  *
15850
- * Following shorthands are possible for providing predicates.
15851
- * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
15852
- * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
15853
- *
15854
15812
  * @static
15855
15813
  * @memberOf _
15856
15814
  * @since 4.0.0
@@ -15877,10 +15835,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15877
15835
  * Creates a function that checks if **any** of the `predicates` return
15878
15836
  * truthy when invoked with the arguments it receives.
15879
15837
  *
15880
- * Following shorthands are possible for providing predicates.
15881
- * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.
15882
- * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.
15883
- *
15884
15838
  * @static
15885
15839
  * @memberOf _
15886
15840
  * @since 4.0.0
@@ -15900,9 +15854,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
15900
15854
  *
15901
15855
  * func(NaN);
15902
15856
  * // => false
15903
- *
15904
- * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
15905
- * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
15906
15857
  */
15907
15858
  var overSome = createOver(arraySome);
15908
15859