@mjhls/mjh-framework 1.0.401 → 1.0.403

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 (48) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{ADInfeed-d1783f42.js → ADInfeed-494f5e6b.js} +1 -1
  3. package/dist/cjs/{AdSlot-20aa927e.js → AdSlot-4d22aad4.js} +2 -2
  4. package/dist/cjs/DeckContent.js +9 -7
  5. package/dist/cjs/DeckQueue.js +6 -4
  6. package/dist/cjs/{Dfp-27b922b0.js → Dfp-2399639f.js} +1 -1
  7. package/dist/cjs/{Figure-8dd7df44.js → Figure-04d4a60d.js} +1 -1
  8. package/dist/cjs/{GridContent-c0c0d3e5.js → GridContent-2f42692a.js} +7 -6
  9. package/dist/cjs/GridContent.js +9 -7
  10. package/dist/cjs/IssueDeck.js +182 -86
  11. package/dist/cjs/MasterDeck.js +21 -7
  12. package/dist/cjs/{Normal-53437675.js → Normal-4a0d7dfc.js} +105 -3
  13. package/dist/cjs/QueueDeckExpanded.js +9 -7
  14. package/dist/cjs/{TaxonomyCard-cf264332.js → TaxonomyCard-eb928f05.js} +8 -1
  15. package/dist/cjs/TaxonomyCard.js +1 -1
  16. package/dist/cjs/TemplateNormal.js +6 -4
  17. package/dist/cjs/VideoSeriesListing.js +3 -2
  18. package/dist/cjs/_iter-detect-234453c3.js +53 -0
  19. package/dist/cjs/index.es-ab3f2690.js +428 -0
  20. package/dist/cjs/index.js +54 -109
  21. package/dist/cjs/{main-2020ba94.js → main-bc4db521.js} +0 -50
  22. package/dist/cjs/{promise-d5136080.js → promise-0a493c7a.js} +4 -4
  23. package/dist/cjs/{toConsumableArray-3cf1df2c.js → toConsumableArray-25d0e2a3.js} +4 -4
  24. package/dist/cjs/{visibility-sensor-43e0b37c.js → visibility-sensor-0c45a583.js} +0 -421
  25. package/dist/esm/{ADInfeed-40adc8e0.js → ADInfeed-e5cefea5.js} +1 -1
  26. package/dist/esm/{AdSlot-c3ed3214.js → AdSlot-78e48a2c.js} +2 -2
  27. package/dist/esm/DeckContent.js +8 -6
  28. package/dist/esm/DeckQueue.js +5 -3
  29. package/dist/esm/{Dfp-3b3273ee.js → Dfp-d5fe1252.js} +1 -1
  30. package/dist/esm/{Figure-f269f495.js → Figure-e32f60c5.js} +1 -1
  31. package/dist/esm/{GridContent-b042eb2d.js → GridContent-cafb2fe4.js} +6 -5
  32. package/dist/esm/GridContent.js +9 -7
  33. package/dist/esm/IssueDeck.js +183 -87
  34. package/dist/esm/MasterDeck.js +20 -6
  35. package/dist/esm/{Normal-fe65159c.js → Normal-b8c423e3.js} +104 -4
  36. package/dist/esm/QueueDeckExpanded.js +8 -6
  37. package/dist/esm/{TaxonomyCard-12f0a90a.js → TaxonomyCard-b29aa7ac.js} +8 -1
  38. package/dist/esm/TaxonomyCard.js +1 -1
  39. package/dist/esm/TemplateNormal.js +6 -4
  40. package/dist/esm/VideoSeriesListing.js +2 -1
  41. package/dist/esm/_iter-detect-7c281f0a.js +49 -0
  42. package/dist/esm/index.es-938a3a58.js +423 -0
  43. package/dist/esm/index.js +52 -107
  44. package/dist/esm/{main-25bb2c75.js → main-7d1b3c98.js} +1 -48
  45. package/dist/esm/{promise-5d7cd78a.js → promise-2592a80a.js} +1 -1
  46. package/dist/esm/{toConsumableArray-d7054876.js → toConsumableArray-c5e2fde8.js} +1 -1
  47. package/dist/esm/{visibility-sensor-49d5805d.js → visibility-sensor-0baa4eea.js} +2 -422
  48. package/package.json +1 -1
@@ -7,426 +7,6 @@ var React = require('react');
7
7
  var React__default = _interopDefault(React);
8
8
  var reactDom = _interopDefault(require('react-dom'));
9
9
 
10
- /*! *****************************************************************************
11
- Copyright (c) Microsoft Corporation. All rights reserved.
12
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
13
- this file except in compliance with the License. You may obtain a copy of the
14
- License at http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
18
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
19
- MERCHANTABLITY OR NON-INFRINGEMENT.
20
-
21
- See the Apache Version 2.0 License for specific language governing permissions
22
- and limitations under the License.
23
- ***************************************************************************** */
24
- /* global Reflect, Promise */
25
-
26
- var extendStatics = function(d, b) {
27
- extendStatics = Object.setPrototypeOf ||
28
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
29
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
30
- return extendStatics(d, b);
31
- };
32
-
33
- function __extends(d, b) {
34
- extendStatics(d, b);
35
- function __() { this.constructor = d; }
36
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
37
- }
38
-
39
- var __assign = function() {
40
- __assign = Object.assign || function __assign(t) {
41
- for (var s, i = 1, n = arguments.length; i < n; i++) {
42
- s = arguments[i];
43
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
44
- }
45
- return t;
46
- };
47
- return __assign.apply(this, arguments);
48
- };
49
-
50
- /* eslint-disable no-undefined,no-param-reassign,no-shadow */
51
-
52
- /**
53
- * Throttle execution of a function. Especially useful for rate limiting
54
- * execution of handlers on events like resize and scroll.
55
- *
56
- * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
57
- * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the
58
- * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time
59
- * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,
60
- * the internal counter is reset)
61
- * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,
62
- * to `callback` when the throttled-function is executed.
63
- * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),
64
- * schedule `callback` to execute after `delay` ms.
65
- *
66
- * @return {Function} A new, throttled, function.
67
- */
68
- function throttle (delay, noTrailing, callback, debounceMode) {
69
- /*
70
- * After wrapper has stopped being called, this timeout ensures that
71
- * `callback` is executed at the proper times in `throttle` and `end`
72
- * debounce modes.
73
- */
74
- var timeoutID;
75
- var cancelled = false; // Keep track of the last time `callback` was executed.
76
-
77
- var lastExec = 0; // Function to clear existing timeout
78
-
79
- function clearExistingTimeout() {
80
- if (timeoutID) {
81
- clearTimeout(timeoutID);
82
- }
83
- } // Function to cancel next exec
84
-
85
-
86
- function cancel() {
87
- clearExistingTimeout();
88
- cancelled = true;
89
- } // `noTrailing` defaults to falsy.
90
-
91
-
92
- if (typeof noTrailing !== 'boolean') {
93
- debounceMode = callback;
94
- callback = noTrailing;
95
- noTrailing = undefined;
96
- }
97
- /*
98
- * The `wrapper` function encapsulates all of the throttling / debouncing
99
- * functionality and when executed will limit the rate at which `callback`
100
- * is executed.
101
- */
102
-
103
-
104
- function wrapper() {
105
- var self = this;
106
- var elapsed = Date.now() - lastExec;
107
- var args = arguments;
108
-
109
- if (cancelled) {
110
- return;
111
- } // Execute `callback` and update the `lastExec` timestamp.
112
-
113
-
114
- function exec() {
115
- lastExec = Date.now();
116
- callback.apply(self, args);
117
- }
118
- /*
119
- * If `debounceMode` is true (at begin) this is used to clear the flag
120
- * to allow future `callback` executions.
121
- */
122
-
123
-
124
- function clear() {
125
- timeoutID = undefined;
126
- }
127
-
128
- if (debounceMode && !timeoutID) {
129
- /*
130
- * Since `wrapper` is being called for the first time and
131
- * `debounceMode` is true (at begin), execute `callback`.
132
- */
133
- exec();
134
- }
135
-
136
- clearExistingTimeout();
137
-
138
- if (debounceMode === undefined && elapsed > delay) {
139
- /*
140
- * In throttle mode, if `delay` time has been exceeded, execute
141
- * `callback`.
142
- */
143
- exec();
144
- } else if (noTrailing !== true) {
145
- /*
146
- * In trailing throttle mode, since `delay` time has not been
147
- * exceeded, schedule `callback` to execute `delay` ms after most
148
- * recent execution.
149
- *
150
- * If `debounceMode` is true (at begin), schedule `clear` to execute
151
- * after `delay` ms.
152
- *
153
- * If `debounceMode` is false (at end), schedule `callback` to
154
- * execute after `delay` ms.
155
- */
156
- timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
157
- }
158
- }
159
-
160
- wrapper.cancel = cancel; // Return the wrapper function.
161
-
162
- return wrapper;
163
- }
164
-
165
- var ThresholdUnits = {
166
- Pixel: 'Pixel',
167
- Percent: 'Percent',
168
- };
169
- var defaultThreshold = {
170
- unit: ThresholdUnits.Percent,
171
- value: 0.8,
172
- };
173
- function parseThreshold(scrollThreshold) {
174
- if (typeof scrollThreshold === 'number') {
175
- return {
176
- unit: ThresholdUnits.Percent,
177
- value: scrollThreshold * 100,
178
- };
179
- }
180
- if (typeof scrollThreshold === 'string') {
181
- if (scrollThreshold.match(/^(\d*(\.\d+)?)px$/)) {
182
- return {
183
- unit: ThresholdUnits.Pixel,
184
- value: parseFloat(scrollThreshold),
185
- };
186
- }
187
- if (scrollThreshold.match(/^(\d*(\.\d+)?)%$/)) {
188
- return {
189
- unit: ThresholdUnits.Percent,
190
- value: parseFloat(scrollThreshold),
191
- };
192
- }
193
- console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...');
194
- return defaultThreshold;
195
- }
196
- console.warn('scrollThreshold should be string or number');
197
- return defaultThreshold;
198
- }
199
-
200
- var InfiniteScroll = /** @class */ (function (_super) {
201
- __extends(InfiniteScroll, _super);
202
- function InfiniteScroll(props) {
203
- var _this = _super.call(this, props) || this;
204
- _this.lastScrollTop = 0;
205
- _this.actionTriggered = false;
206
- // variables to keep track of pull down behaviour
207
- _this.startY = 0;
208
- _this.currentY = 0;
209
- _this.dragging = false;
210
- // will be populated in componentDidMount
211
- // based on the height of the pull down element
212
- _this.maxPullDownDistance = 0;
213
- _this.getScrollableTarget = function () {
214
- if (_this.props.scrollableTarget instanceof HTMLElement)
215
- return _this.props.scrollableTarget;
216
- if (typeof _this.props.scrollableTarget === 'string') {
217
- return document.getElementById(_this.props.scrollableTarget);
218
- }
219
- if (_this.props.scrollableTarget === null) {
220
- console.warn("You are trying to pass scrollableTarget but it is null. This might\n happen because the element may not have been added to DOM yet.\n See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n ");
221
- }
222
- return null;
223
- };
224
- _this.onStart = function (evt) {
225
- if (_this.lastScrollTop)
226
- return;
227
- _this.dragging = true;
228
- if (evt instanceof MouseEvent) {
229
- _this.startY = evt.pageY;
230
- }
231
- else if (evt instanceof TouchEvent) {
232
- _this.startY = evt.touches[0].pageY;
233
- }
234
- _this.currentY = _this.startY;
235
- if (_this._infScroll) {
236
- _this._infScroll.style.willChange = 'transform';
237
- _this._infScroll.style.transition = "transform 0.2s cubic-bezier(0,0,0.31,1)";
238
- }
239
- };
240
- _this.onMove = function (evt) {
241
- if (!_this.dragging)
242
- return;
243
- if (evt instanceof MouseEvent) {
244
- _this.currentY = evt.pageY;
245
- }
246
- else if (evt instanceof TouchEvent) {
247
- _this.currentY = evt.touches[0].pageY;
248
- }
249
- // user is scrolling down to up
250
- if (_this.currentY < _this.startY)
251
- return;
252
- if (_this.currentY - _this.startY >=
253
- Number(_this.props.pullDownToRefreshThreshold)) {
254
- _this.setState({
255
- pullToRefreshThresholdBreached: true,
256
- });
257
- }
258
- // so you can drag upto 1.5 times of the maxPullDownDistance
259
- if (_this.currentY - _this.startY > _this.maxPullDownDistance * 1.5)
260
- return;
261
- if (_this._infScroll) {
262
- _this._infScroll.style.overflow = 'visible';
263
- _this._infScroll.style.transform = "translate3d(0px, " + (_this.currentY -
264
- _this.startY) + "px, 0px)";
265
- }
266
- };
267
- _this.onEnd = function () {
268
- _this.startY = 0;
269
- _this.currentY = 0;
270
- _this.dragging = false;
271
- if (_this.state.pullToRefreshThresholdBreached) {
272
- _this.props.refreshFunction && _this.props.refreshFunction();
273
- _this.setState({
274
- pullToRefreshThresholdBreached: false,
275
- });
276
- }
277
- requestAnimationFrame(function () {
278
- // this._infScroll
279
- if (_this._infScroll) {
280
- _this._infScroll.style.overflow = 'auto';
281
- _this._infScroll.style.transform = 'none';
282
- _this._infScroll.style.willChange = 'none';
283
- }
284
- });
285
- };
286
- _this.onScrollListener = function (event) {
287
- if (typeof _this.props.onScroll === 'function') {
288
- // Execute this callback in next tick so that it does not affect the
289
- // functionality of the library.
290
- setTimeout(function () { return _this.props.onScroll && _this.props.onScroll(event); }, 0);
291
- }
292
- var target = _this.props.height || _this._scrollableNode
293
- ? event.target
294
- : document.documentElement.scrollTop
295
- ? document.documentElement
296
- : document.body;
297
- // return immediately if the action has already been triggered,
298
- // prevents multiple triggers.
299
- if (_this.actionTriggered)
300
- return;
301
- var atBottom = _this.isElementAtBottom(target, _this.props.scrollThreshold);
302
- // call the `next` function in the props to trigger the next data fetch
303
- if (atBottom && _this.props.hasMore) {
304
- _this.actionTriggered = true;
305
- _this.setState({ showLoader: true });
306
- _this.props.next && _this.props.next();
307
- }
308
- _this.lastScrollTop = target.scrollTop;
309
- };
310
- _this.state = {
311
- showLoader: false,
312
- pullToRefreshThresholdBreached: false,
313
- };
314
- _this.throttledOnScrollListener = throttle(150, _this.onScrollListener).bind(_this);
315
- _this.onStart = _this.onStart.bind(_this);
316
- _this.onMove = _this.onMove.bind(_this);
317
- _this.onEnd = _this.onEnd.bind(_this);
318
- return _this;
319
- }
320
- InfiniteScroll.prototype.componentDidMount = function () {
321
- if (typeof this.props.dataLength === 'undefined') {
322
- throw new Error("mandatory prop \"dataLength\" is missing. The prop is needed" +
323
- " when loading more content. Check README.md for usage");
324
- }
325
- this._scrollableNode = this.getScrollableTarget();
326
- this.el = this.props.height
327
- ? this._infScroll
328
- : this._scrollableNode || window;
329
- if (this.el) {
330
- this.el.addEventListener('scroll', this
331
- .throttledOnScrollListener);
332
- }
333
- if (typeof this.props.initialScrollY === 'number' &&
334
- this.el &&
335
- this.el instanceof HTMLElement &&
336
- this.el.scrollHeight > this.props.initialScrollY) {
337
- this.el.scrollTo(0, this.props.initialScrollY);
338
- }
339
- if (this.props.pullDownToRefresh && this.el) {
340
- this.el.addEventListener('touchstart', this.onStart);
341
- this.el.addEventListener('touchmove', this.onMove);
342
- this.el.addEventListener('touchend', this.onEnd);
343
- this.el.addEventListener('mousedown', this.onStart);
344
- this.el.addEventListener('mousemove', this.onMove);
345
- this.el.addEventListener('mouseup', this.onEnd);
346
- // get BCR of pullDown element to position it above
347
- this.maxPullDownDistance =
348
- (this._pullDown &&
349
- this._pullDown.firstChild &&
350
- this._pullDown.firstChild.getBoundingClientRect()
351
- .height) ||
352
- 0;
353
- this.forceUpdate();
354
- if (typeof this.props.refreshFunction !== 'function') {
355
- throw new Error("Mandatory prop \"refreshFunction\" missing.\n Pull Down To Refresh functionality will not work\n as expected. Check README.md for usage'");
356
- }
357
- }
358
- };
359
- InfiniteScroll.prototype.componentWillUnmount = function () {
360
- if (this.el) {
361
- this.el.removeEventListener('scroll', this
362
- .throttledOnScrollListener);
363
- if (this.props.pullDownToRefresh) {
364
- this.el.removeEventListener('touchstart', this.onStart);
365
- this.el.removeEventListener('touchmove', this.onMove);
366
- this.el.removeEventListener('touchend', this.onEnd);
367
- this.el.removeEventListener('mousedown', this.onStart);
368
- this.el.removeEventListener('mousemove', this.onMove);
369
- this.el.removeEventListener('mouseup', this.onEnd);
370
- }
371
- }
372
- };
373
- InfiniteScroll.prototype.UNSAFE_componentWillReceiveProps = function (props) {
374
- // do nothing when dataLength and key are unchanged
375
- if (this.props.key === props.key &&
376
- this.props.dataLength === props.dataLength)
377
- return;
378
- this.actionTriggered = false;
379
- // update state when new data was sent in
380
- this.setState({
381
- showLoader: false,
382
- });
383
- };
384
- InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
385
- if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
386
- var clientHeight = target === document.body || target === document.documentElement
387
- ? window.screen.availHeight
388
- : target.clientHeight;
389
- var threshold = parseThreshold(scrollThreshold);
390
- if (threshold.unit === ThresholdUnits.Pixel) {
391
- return (target.scrollTop + clientHeight >= target.scrollHeight - threshold.value);
392
- }
393
- return (target.scrollTop + clientHeight >=
394
- (threshold.value / 100) * target.scrollHeight);
395
- };
396
- InfiniteScroll.prototype.render = function () {
397
- var _this = this;
398
- var style = __assign({ height: this.props.height || 'auto', overflow: 'auto', WebkitOverflowScrolling: 'touch' }, this.props.style);
399
- var hasChildren = this.props.hasChildren ||
400
- !!(this.props.children &&
401
- this.props.children instanceof Array &&
402
- this.props.children.length);
403
- // because heighted infiniteScroll visualy breaks
404
- // on drag down as overflow becomes visible
405
- var outerDivStyle = this.props.pullDownToRefresh && this.props.height
406
- ? { overflow: 'auto' }
407
- : {};
408
- return (React__default.createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
409
- React__default.createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
410
- this.props.pullDownToRefresh && (React__default.createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
411
- React__default.createElement("div", { style: {
412
- position: 'absolute',
413
- left: 0,
414
- right: 0,
415
- top: -1 * this.maxPullDownDistance,
416
- } }, this.state.pullToRefreshThresholdBreached
417
- ? this.props.releaseToRefreshContent
418
- : this.props.pullDownToRefreshContent))),
419
- this.props.children,
420
- !this.state.showLoader &&
421
- !hasChildren &&
422
- this.props.hasMore &&
423
- this.props.loader,
424
- this.state.showLoader && this.props.hasMore && this.props.loader,
425
- !this.props.hasMore && this.props.endMessage)));
426
- };
427
- return InfiniteScroll;
428
- }(React.Component));
429
-
430
10
  var visibilitySensor = _commonjsHelpers.createCommonjsModule(function (module, exports) {
431
11
  (function webpackUniversalModuleDefinition(root, factory) {
432
12
  module.exports = factory(React__default, reactDom);
@@ -1012,5 +592,4 @@ module.exports = ReactPropTypesSecret;
1012
592
 
1013
593
  var VisibilitySensor = _commonjsHelpers.unwrapExports(visibilitySensor);
1014
594
 
1015
- exports.InfiniteScroll = InfiniteScroll;
1016
595
  exports.VisibilitySensor = VisibilitySensor;
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import Card from 'react-bootstrap/Card';
3
- import { D as DFPAdSlot } from './AdSlot-c3ed3214.js';
3
+ import { D as DFPAdSlot } from './AdSlot-78e48a2c.js';
4
4
 
5
5
  var ADInfeed = function ADInfeed(_ref) {
6
6
  var index = _ref.index,
@@ -1,11 +1,11 @@
1
1
  import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
2
  import { b as _core } from './_to-object-1b1f7766.js';
3
- import { a as main_16 } from './main-25bb2c75.js';
4
3
  import React__default, { useState } from 'react';
5
4
  import { d as debounce_1, e as lib_2 } from './debounce-df468b0e.js';
6
5
  import PropTypes from 'prop-types';
6
+ import { a as main_16 } from './main-7d1b3c98.js';
7
7
  import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
8
- import { p as promise } from './promise-5d7cd78a.js';
8
+ import { p as promise } from './promise-2592a80a.js';
9
9
 
10
10
  var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
11
11
  var stringify = function stringify(it) { // eslint-disable-line no-unused-vars
@@ -2,8 +2,8 @@ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-1b1f7766.js';
3
3
  import './web.dom.iterable-e6bf2bf6.js';
4
4
  import './_library-528f1934.js';
5
- import { m as main_39 } from './main-25bb2c75.js';
6
- import { _ as _toConsumableArray } from './toConsumableArray-d7054876.js';
5
+ import './_iter-detect-7c281f0a.js';
6
+ import { _ as _toConsumableArray } from './toConsumableArray-c5e2fde8.js';
7
7
  import './_object-pie-33c40e79.js';
8
8
  import { _ as _extends } from './extends-92072fff.js';
9
9
  import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-dfba24f5.js';
@@ -17,15 +17,17 @@ import Col from 'react-bootstrap/Col';
17
17
  import Card from 'react-bootstrap/Card';
18
18
  import { m as moment } from './moment-12415288.js';
19
19
  import { withRouter } from 'next/router';
20
- import { V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-49d5805d.js';
20
+ import { I as InfiniteScroll } from './index.es-938a3a58.js';
21
21
  import 'react-dom';
22
+ import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
22
23
  import { i as imageUrlBuilder } from './index-51a80699.js';
23
24
  import { L as LazyLoad } from './index-5f9f807a.js';
25
+ import { m as main_39 } from './main-7d1b3c98.js';
24
26
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
25
27
  import './slicedToArray-04e02710.js';
26
- import './AdSlot-c3ed3214.js';
27
- import './promise-5d7cd78a.js';
28
- import { A as ADInfeed } from './ADInfeed-40adc8e0.js';
28
+ import './AdSlot-78e48a2c.js';
29
+ import './promise-2592a80a.js';
30
+ import { A as ADInfeed } from './ADInfeed-e5cefea5.js';
29
31
 
30
32
  var DeckContent = function (_React$Component) {
31
33
  _inherits(DeckContent, _React$Component);
@@ -2,8 +2,8 @@ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-1b1f7766.js';
3
3
  import './web.dom.iterable-e6bf2bf6.js';
4
4
  import './_library-528f1934.js';
5
- import { m as main_39 } from './main-25bb2c75.js';
6
- import { _ as _toConsumableArray } from './toConsumableArray-d7054876.js';
5
+ import './_iter-detect-7c281f0a.js';
6
+ import { _ as _toConsumableArray } from './toConsumableArray-c5e2fde8.js';
7
7
  import './_object-pie-33c40e79.js';
8
8
  import { _ as _extends } from './extends-92072fff.js';
9
9
  import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-dfba24f5.js';
@@ -17,10 +17,12 @@ import Col from 'react-bootstrap/Col';
17
17
  import Card from 'react-bootstrap/Card';
18
18
  import { m as moment } from './moment-12415288.js';
19
19
  import { withRouter } from 'next/router';
20
- import { V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-49d5805d.js';
20
+ import { I as InfiniteScroll } from './index.es-938a3a58.js';
21
21
  import 'react-dom';
22
+ import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
22
23
  import { i as imageUrlBuilder } from './index-51a80699.js';
23
24
  import { L as LazyLoad } from './index-5f9f807a.js';
25
+ import { m as main_39 } from './main-7d1b3c98.js';
24
26
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
25
27
  import { g as get_1 } from './get-53653403.js';
26
28
 
@@ -4,8 +4,8 @@ import './web.dom.iterable-e6bf2bf6.js';
4
4
  import React__default, { useState } from 'react';
5
5
  import { d as debounce_1, a as lib_1, e as lib_2 } from './debounce-df468b0e.js';
6
6
  import PropTypes from 'prop-types';
7
- import { V as VisibilitySensor } from './visibility-sensor-49d5805d.js';
8
7
  import 'react-dom';
8
+ import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
9
9
  import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
10
10
 
11
11
  var AD = function AD(_ref) {
@@ -112,7 +112,7 @@ var FigureComponent = function FigureComponent(props) {
112
112
  React__default.Fragment,
113
113
  null,
114
114
  React__default.createElement(Figure$1.Image, {
115
- style: { maxWidth: '100%', cursor: 'pointer' },
115
+ style: { maxWidth: '100%', cursor: 'pointer', width: 'auto' },
116
116
  className: 'figure-image',
117
117
  src: urlFor(node, client).url(),
118
118
  alt: alt && alt,
@@ -1,5 +1,4 @@
1
- import { m as main_39 } from './main-25bb2c75.js';
2
- import { _ as _toConsumableArray } from './toConsumableArray-d7054876.js';
1
+ import { _ as _toConsumableArray } from './toConsumableArray-c5e2fde8.js';
3
2
  import { _ as _extends } from './extends-92072fff.js';
4
3
  import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-dfba24f5.js';
5
4
  import React__default, { Suspense } from 'react';
@@ -10,16 +9,18 @@ import Col from 'react-bootstrap/Col';
10
9
  import Card from 'react-bootstrap/Card';
11
10
  import { m as moment } from './moment-12415288.js';
12
11
  import { withRouter } from 'next/router';
13
- import { V as VisibilitySensor, I as InfiniteScroll } from './visibility-sensor-49d5805d.js';
12
+ import { I as InfiniteScroll } from './index.es-938a3a58.js';
13
+ import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
14
14
  import { i as imageUrlBuilder } from './index-51a80699.js';
15
15
  import { L as LazyLoad } from './index-5f9f807a.js';
16
+ import { m as main_39 } from './main-7d1b3c98.js';
16
17
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
17
- import { A as ADInfeed } from './ADInfeed-40adc8e0.js';
18
+ import { A as ADInfeed } from './ADInfeed-e5cefea5.js';
18
19
  import { g as get_1 } from './get-53653403.js';
19
20
  import { A as AuthorComponent } from './AuthorComponent-c9e46673.js';
20
21
 
21
22
  var Dfp = React__default.lazy(function () {
22
- return import('./Dfp-3b3273ee.js');
23
+ return import('./Dfp-d5fe1252.js');
23
24
  });
24
25
 
25
26
  var AD = function AD(props) {
@@ -2,8 +2,8 @@ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import './_to-object-1b1f7766.js';
3
3
  import './web.dom.iterable-e6bf2bf6.js';
4
4
  import './_library-528f1934.js';
5
- import './main-25bb2c75.js';
6
- import './toConsumableArray-d7054876.js';
5
+ import './_iter-detect-7c281f0a.js';
6
+ import './toConsumableArray-c5e2fde8.js';
7
7
  import './_object-pie-33c40e79.js';
8
8
  import './extends-92072fff.js';
9
9
  import './inherits-dfba24f5.js';
@@ -17,15 +17,17 @@ import 'react-bootstrap/Col';
17
17
  import 'react-bootstrap/Card';
18
18
  import './moment-12415288.js';
19
19
  import 'next/router';
20
- import './visibility-sensor-49d5805d.js';
20
+ import './index.es-938a3a58.js';
21
21
  import 'react-dom';
22
+ import './visibility-sensor-0baa4eea.js';
22
23
  import './index-51a80699.js';
23
24
  import './index-5f9f807a.js';
25
+ import './main-7d1b3c98.js';
24
26
  import './entities-7cc3bf45.js';
25
27
  import './slicedToArray-04e02710.js';
26
- import './AdSlot-c3ed3214.js';
27
- import './promise-5d7cd78a.js';
28
- import './ADInfeed-40adc8e0.js';
28
+ import './AdSlot-78e48a2c.js';
29
+ import './promise-2592a80a.js';
30
+ import './ADInfeed-e5cefea5.js';
29
31
  import './get-53653403.js';
30
- export { G as default } from './GridContent-b042eb2d.js';
32
+ export { G as default } from './GridContent-cafb2fe4.js';
31
33
  import './AuthorComponent-c9e46673.js';