@mjhls/mjh-framework 1.0.694-beta.2 → 1.0.694-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -2
- package/dist/cjs/AD300x250x600.js +2 -2
- package/dist/cjs/AD728x90.js +2 -2
- package/dist/cjs/ADFloatingFooter.js +2 -2
- package/dist/cjs/ADGutter.js +2 -2
- package/dist/cjs/ADSkyscraper.js +2 -2
- package/dist/cjs/ADSponsoredResources.js +2 -2
- package/dist/cjs/ADWebcast.js +2 -2
- package/dist/cjs/ADWelcome.js +2 -2
- package/dist/cjs/AdSlot.js +2 -2
- package/dist/cjs/ArticleSeriesListing.js +2 -2
- package/dist/cjs/CMEDeck.js +2 -2
- package/dist/cjs/Column2.js +2 -2
- package/dist/cjs/Column3.js +3 -3
- package/dist/cjs/DeckContent.js +3 -3
- package/dist/cjs/DeckQueue.js +3 -3
- package/dist/cjs/{Dfp-1a9e2305.js → Dfp-f6a18ed2.js} +2 -2
- package/dist/cjs/ExternalResources.js +3 -3
- package/dist/cjs/GridContent.js +5 -5
- package/dist/cjs/IssueLanding.js +4 -4
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +4 -4
- package/dist/cjs/PartnerDetailListing.js +5 -5
- package/dist/cjs/QueueDeckExpanded.js +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TemplateNormal.js +3 -3
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/View.js +139 -178
- package/dist/cjs/{debounce-0106f44a.js → debounce-eb287781.js} +1 -1
- package/dist/cjs/{get-445b7179.js → get-68c52cb1.js} +1 -4
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +75 -32
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/index.js +13 -349
- package/dist/cjs/{isSymbol-488934a7.js → isSymbol-04666465.js} +0 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -3
- package/dist/esm/AD300x250x600.js +3 -3
- package/dist/esm/AD728x90.js +3 -3
- package/dist/esm/ADFloatingFooter.js +3 -3
- package/dist/esm/ADGutter.js +3 -3
- package/dist/esm/ADSkyscraper.js +3 -3
- package/dist/esm/ADSponsoredResources.js +3 -3
- package/dist/esm/ADWebcast.js +3 -3
- package/dist/esm/ADWelcome.js +3 -3
- package/dist/esm/AdSlot.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/CMEDeck.js +3 -3
- package/dist/esm/Column2.js +3 -3
- package/dist/esm/Column3.js +4 -4
- package/dist/esm/DeckContent.js +4 -4
- package/dist/esm/DeckQueue.js +3 -3
- package/dist/esm/{Dfp-0fc96a5d.js → Dfp-96b49def.js} +2 -2
- package/dist/esm/ExternalResources.js +4 -4
- package/dist/esm/GridContent.js +6 -6
- package/dist/esm/HamMagazine.js +1 -1
- package/dist/esm/IssueLanding.js +5 -5
- package/dist/esm/LeftNav.js +3 -3
- package/dist/esm/MasterDeck.js +5 -5
- package/dist/esm/NavDvm.js +1 -1
- package/dist/esm/NavMagazine.js +1 -1
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/NavNormal.js +1 -1
- package/dist/esm/PartnerDetailListing.js +6 -6
- package/dist/esm/QueueDeckExpanded.js +5 -5
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/TemplateNormal.js +4 -4
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +140 -179
- package/dist/esm/{asyncToGenerator-d0f08f8d.js → asyncToGenerator-7c654f36.js} +1 -1
- package/dist/esm/{debounce-3ab4e0ad.js → debounce-1a993acf.js} +1 -1
- package/dist/esm/{get-a36cf4c6.js → get-5ee14cda.js} +2 -2
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +76 -33
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/index.js +13 -349
- package/dist/esm/{isSymbol-5eb15258.js → isSymbol-807e927e.js} +1 -1
- package/package.json +1 -1
- /package/dist/cjs/{ADInfeed-4ef14853.js → ADInfeed-2fe7211c.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-d42cc813.js → ADlgInfeed-14e17b43.js} +0 -0
- /package/dist/cjs/{index-26569dcc.js → index-a5919bab.js} +0 -0
- /package/dist/esm/{ADInfeed-ddbadcd3.js → ADInfeed-eae71d07.js} +0 -0
- /package/dist/esm/{ADlgInfeed-4d228100.js → ADlgInfeed-c619fe64.js} +0 -0
- /package/dist/esm/{index-42fd3adb.js → index-c376cd8e.js} +0 -0
package/dist/cjs/index.js
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
5
|
+
require('./_commonjsHelpers-06173234.js');
|
|
8
6
|
require('./_to-object-329a650b.js');
|
|
9
7
|
require('./es6.string.iterator-cc0bbaa4.js');
|
|
10
8
|
require('./_library-dd23b178.js');
|
|
@@ -12,15 +10,14 @@ require('./_iter-detect-60b2f026.js');
|
|
|
12
10
|
require('./toConsumableArray-9a3476fe.js');
|
|
13
11
|
require('./core.get-iterator-method-f62321d4.js');
|
|
14
12
|
require('./_object-pie-68c5bcbc.js');
|
|
15
|
-
|
|
13
|
+
require('./extends-60837c34.js');
|
|
16
14
|
require('./_object-sap-5e74ba08.js');
|
|
17
15
|
require('./inherits-513d81cd.js');
|
|
18
16
|
require('./define-property-f4d12f4e.js');
|
|
19
17
|
require('./web.dom.iterable-a0e279c1.js');
|
|
20
18
|
require('./typeof-725500bc.js');
|
|
21
19
|
require('./_is-array-754e012d.js');
|
|
22
|
-
|
|
23
|
-
var React__default = _interopDefault(React);
|
|
20
|
+
require('react');
|
|
24
21
|
require('./index-fa8ed292.js');
|
|
25
22
|
require('prop-types');
|
|
26
23
|
require('react-bootstrap/Container');
|
|
@@ -28,10 +25,9 @@ require('react-bootstrap/Row');
|
|
|
28
25
|
require('react-bootstrap/Col');
|
|
29
26
|
require('react-bootstrap/Card');
|
|
30
27
|
require('./moment-575fe24c.js');
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
require('./debounce-0106f44a.js');
|
|
28
|
+
require('next/router');
|
|
29
|
+
require('./isSymbol-04666465.js');
|
|
30
|
+
require('./debounce-eb287781.js');
|
|
35
31
|
require('./index.es-9110add6.js');
|
|
36
32
|
require('react-dom');
|
|
37
33
|
require('./visibility-sensor-0c45a583.js');
|
|
@@ -41,24 +37,24 @@ require('./main-a4cb15bb.js');
|
|
|
41
37
|
require('./entities-310b46ee.js');
|
|
42
38
|
require('./stringify-7c5aff47.js');
|
|
43
39
|
require('./slicedToArray-8f385299.js');
|
|
44
|
-
|
|
40
|
+
require('./asyncToGenerator-533d476a.js');
|
|
45
41
|
require('./_set-species-f92c67c5.js');
|
|
46
42
|
var Segment = require('./Segment.js');
|
|
47
43
|
var Beam = require('./Beam.js');
|
|
48
44
|
var AdSlot = require('./AdSlot.js');
|
|
49
|
-
require('./ADInfeed-
|
|
45
|
+
require('./ADInfeed-2fe7211c.js');
|
|
50
46
|
var DeckContent = require('./DeckContent.js');
|
|
51
47
|
require('./lodash-fc2922d0.js');
|
|
52
|
-
require('./ADlgInfeed-
|
|
48
|
+
require('./ADlgInfeed-14e17b43.js');
|
|
53
49
|
require('./getContentCategory-f38a4c00.js');
|
|
54
|
-
|
|
50
|
+
require('./get-68c52cb1.js');
|
|
55
51
|
var AD = require('./AD.js');
|
|
56
52
|
require('./AuthorComponent-bb831b74.js');
|
|
57
53
|
var GridContent = require('./GridContent.js');
|
|
58
54
|
var DeckQueue = require('./DeckQueue.js');
|
|
59
55
|
require('react-bootstrap/Media');
|
|
60
56
|
var ThumbnailCard = require('./ThumbnailCard.js');
|
|
61
|
-
|
|
57
|
+
require('./BlockContent-091a991f.js');
|
|
62
58
|
require('./react-social-icons-f7f48f71.js');
|
|
63
59
|
var TaxonomyCard = require('./TaxonomyCard.js');
|
|
64
60
|
var RolesDeck = require('./RolesDeck.js');
|
|
@@ -87,11 +83,11 @@ require('react-bootstrap/Form');
|
|
|
87
83
|
require('./index-3294d3bc.js');
|
|
88
84
|
require('./js.cookie-a511c430.js');
|
|
89
85
|
var CMEDeck = require('./CMEDeck.js');
|
|
90
|
-
var getSerializers = require('./index-
|
|
86
|
+
var getSerializers = require('./index-a5919bab.js');
|
|
91
87
|
require('./util-f2c1b65b.js');
|
|
92
88
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
93
89
|
require('react-bootstrap/Pagination');
|
|
94
|
-
|
|
90
|
+
require('next/head');
|
|
95
91
|
var ExternalResources = require('./ExternalResources.js');
|
|
96
92
|
var Column1 = require('./Column1.js');
|
|
97
93
|
var SideFooter = require('./SideFooter.js');
|
|
@@ -179,338 +175,7 @@ var urlFor = require('./urlFor.js');
|
|
|
179
175
|
require('./style-inject.es-dcee06b6.js');
|
|
180
176
|
var PartnerDetailListing = require('./PartnerDetailListing.js');
|
|
181
177
|
|
|
182
|
-
/** Built-in value references. */
|
|
183
|
-
var Uint8Array = isSymbol._root.Uint8Array;
|
|
184
|
-
|
|
185
|
-
/** Used to convert symbols to primitives and strings. */
|
|
186
|
-
var symbolProto = isSymbol._Symbol ? isSymbol._Symbol.prototype : undefined,
|
|
187
|
-
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
188
|
-
|
|
189
|
-
/** `Object#toString` result references. */
|
|
190
|
-
var argsTag = '[object Arguments]';
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* The base implementation of `_.isArguments`.
|
|
194
|
-
*
|
|
195
|
-
* @private
|
|
196
|
-
* @param {*} value The value to check.
|
|
197
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
198
|
-
*/
|
|
199
|
-
function baseIsArguments(value) {
|
|
200
|
-
return isSymbol.isObjectLike_1(value) && isSymbol._baseGetTag(value) == argsTag;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
var _baseIsArguments = baseIsArguments;
|
|
204
|
-
|
|
205
|
-
/** Used for built-in method references. */
|
|
206
|
-
var objectProto = Object.prototype;
|
|
207
|
-
|
|
208
|
-
/** Used to check objects for own properties. */
|
|
209
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
210
|
-
|
|
211
|
-
/** Built-in value references. */
|
|
212
|
-
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Checks if `value` is likely an `arguments` object.
|
|
216
|
-
*
|
|
217
|
-
* @static
|
|
218
|
-
* @memberOf _
|
|
219
|
-
* @since 0.1.0
|
|
220
|
-
* @category Lang
|
|
221
|
-
* @param {*} value The value to check.
|
|
222
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
223
|
-
* else `false`.
|
|
224
|
-
* @example
|
|
225
|
-
*
|
|
226
|
-
* _.isArguments(function() { return arguments; }());
|
|
227
|
-
* // => true
|
|
228
|
-
*
|
|
229
|
-
* _.isArguments([1, 2, 3]);
|
|
230
|
-
* // => false
|
|
231
|
-
*/
|
|
232
|
-
var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
|
|
233
|
-
return isSymbol.isObjectLike_1(value) && hasOwnProperty.call(value, 'callee') &&
|
|
234
|
-
!propertyIsEnumerable.call(value, 'callee');
|
|
235
|
-
};
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* This method returns `false`.
|
|
239
|
-
*
|
|
240
|
-
* @static
|
|
241
|
-
* @memberOf _
|
|
242
|
-
* @since 4.13.0
|
|
243
|
-
* @category Util
|
|
244
|
-
* @returns {boolean} Returns `false`.
|
|
245
|
-
* @example
|
|
246
|
-
*
|
|
247
|
-
* _.times(2, _.stubFalse);
|
|
248
|
-
* // => [false, false]
|
|
249
|
-
*/
|
|
250
|
-
function stubFalse() {
|
|
251
|
-
return false;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
var stubFalse_1 = stubFalse;
|
|
255
|
-
|
|
256
|
-
var isBuffer_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
257
|
-
/** Detect free variable `exports`. */
|
|
258
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
259
|
-
|
|
260
|
-
/** Detect free variable `module`. */
|
|
261
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
262
|
-
|
|
263
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
264
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
265
|
-
|
|
266
|
-
/** Built-in value references. */
|
|
267
|
-
var Buffer = moduleExports ? isSymbol._root.Buffer : undefined;
|
|
268
|
-
|
|
269
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
270
|
-
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Checks if `value` is a buffer.
|
|
274
|
-
*
|
|
275
|
-
* @static
|
|
276
|
-
* @memberOf _
|
|
277
|
-
* @since 4.3.0
|
|
278
|
-
* @category Lang
|
|
279
|
-
* @param {*} value The value to check.
|
|
280
|
-
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
281
|
-
* @example
|
|
282
|
-
*
|
|
283
|
-
* _.isBuffer(new Buffer(2));
|
|
284
|
-
* // => true
|
|
285
|
-
*
|
|
286
|
-
* _.isBuffer(new Uint8Array(2));
|
|
287
|
-
* // => false
|
|
288
|
-
*/
|
|
289
|
-
var isBuffer = nativeIsBuffer || stubFalse_1;
|
|
290
|
-
|
|
291
|
-
module.exports = isBuffer;
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
var _nodeUtil = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
295
|
-
/** Detect free variable `exports`. */
|
|
296
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
297
|
-
|
|
298
|
-
/** Detect free variable `module`. */
|
|
299
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
300
|
-
|
|
301
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
302
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
303
|
-
|
|
304
|
-
/** Detect free variable `process` from Node.js. */
|
|
305
|
-
var freeProcess = moduleExports && isSymbol._freeGlobal.process;
|
|
306
|
-
|
|
307
|
-
/** Used to access faster Node.js helpers. */
|
|
308
|
-
var nodeUtil = (function() {
|
|
309
|
-
try {
|
|
310
|
-
// Use `util.types` for Node.js 10+.
|
|
311
|
-
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
312
|
-
|
|
313
|
-
if (types) {
|
|
314
|
-
return types;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
// Legacy `process.binding('util')` for Node.js < 10.
|
|
318
|
-
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
319
|
-
} catch (e) {}
|
|
320
|
-
}());
|
|
321
|
-
|
|
322
|
-
module.exports = nodeUtil;
|
|
323
|
-
});
|
|
324
|
-
|
|
325
|
-
/* Node.js helper references. */
|
|
326
|
-
var nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray;
|
|
327
|
-
|
|
328
|
-
/* Built-in method references that are verified to be native. */
|
|
329
|
-
var DataView = get._getNative(isSymbol._root, 'DataView');
|
|
330
|
-
|
|
331
|
-
var _DataView = DataView;
|
|
332
|
-
|
|
333
|
-
/* Built-in method references that are verified to be native. */
|
|
334
|
-
var Promise = get._getNative(isSymbol._root, 'Promise');
|
|
335
|
-
|
|
336
|
-
var _Promise = Promise;
|
|
337
|
-
|
|
338
|
-
/* Built-in method references that are verified to be native. */
|
|
339
|
-
var Set = get._getNative(isSymbol._root, 'Set');
|
|
340
|
-
|
|
341
|
-
var _Set = Set;
|
|
342
|
-
|
|
343
|
-
/* Built-in method references that are verified to be native. */
|
|
344
|
-
var WeakMap = get._getNative(isSymbol._root, 'WeakMap');
|
|
345
|
-
|
|
346
|
-
var _WeakMap = WeakMap;
|
|
347
|
-
|
|
348
|
-
/** `Object#toString` result references. */
|
|
349
|
-
var mapTag = '[object Map]',
|
|
350
|
-
objectTag = '[object Object]',
|
|
351
|
-
promiseTag = '[object Promise]',
|
|
352
|
-
setTag = '[object Set]',
|
|
353
|
-
weakMapTag = '[object WeakMap]';
|
|
354
|
-
|
|
355
|
-
var dataViewTag = '[object DataView]';
|
|
356
|
-
|
|
357
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
358
|
-
var dataViewCtorString = get._toSource(_DataView),
|
|
359
|
-
mapCtorString = get._toSource(get._Map),
|
|
360
|
-
promiseCtorString = get._toSource(_Promise),
|
|
361
|
-
setCtorString = get._toSource(_Set),
|
|
362
|
-
weakMapCtorString = get._toSource(_WeakMap);
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Gets the `toStringTag` of `value`.
|
|
366
|
-
*
|
|
367
|
-
* @private
|
|
368
|
-
* @param {*} value The value to query.
|
|
369
|
-
* @returns {string} Returns the `toStringTag`.
|
|
370
|
-
*/
|
|
371
|
-
var getTag = isSymbol._baseGetTag;
|
|
372
|
-
|
|
373
|
-
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
374
|
-
if ((_DataView && getTag(new _DataView(new ArrayBuffer(1))) != dataViewTag) ||
|
|
375
|
-
(get._Map && getTag(new get._Map) != mapTag) ||
|
|
376
|
-
(_Promise && getTag(_Promise.resolve()) != promiseTag) ||
|
|
377
|
-
(_Set && getTag(new _Set) != setTag) ||
|
|
378
|
-
(_WeakMap && getTag(new _WeakMap) != weakMapTag)) {
|
|
379
|
-
getTag = function(value) {
|
|
380
|
-
var result = isSymbol._baseGetTag(value),
|
|
381
|
-
Ctor = result == objectTag ? value.constructor : undefined,
|
|
382
|
-
ctorString = Ctor ? get._toSource(Ctor) : '';
|
|
383
|
-
|
|
384
|
-
if (ctorString) {
|
|
385
|
-
switch (ctorString) {
|
|
386
|
-
case dataViewCtorString: return dataViewTag;
|
|
387
|
-
case mapCtorString: return mapTag;
|
|
388
|
-
case promiseCtorString: return promiseTag;
|
|
389
|
-
case setCtorString: return setTag;
|
|
390
|
-
case weakMapCtorString: return weakMapTag;
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
return result;
|
|
394
|
-
};
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
var _this = undefined;
|
|
398
|
-
|
|
399
|
-
var blocksToText = function blocksToText(blocks) {
|
|
400
|
-
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
401
|
-
|
|
402
|
-
var defaults = { nonTextBehavior: 'remove' };
|
|
403
|
-
var options = _extends._Object$assign({}, defaults, opts);
|
|
404
|
-
return blocks.map(function (block) {
|
|
405
|
-
if (block._type !== 'block' || !block.children) {
|
|
406
|
-
return options.nonTextBehavior === 'remove' ? '' : '[' + block._type + ' block]';
|
|
407
|
-
}
|
|
408
|
-
return block.children.map(function (child) {
|
|
409
|
-
return child.text;
|
|
410
|
-
}).join('');
|
|
411
|
-
}).join('\n\n');
|
|
412
|
-
};
|
|
413
|
-
|
|
414
|
-
var MetaHead = React__default.memo(function (props) {
|
|
415
|
-
var data = props.data;
|
|
416
|
-
|
|
417
|
-
console.log('inside memo*&********************************************************');
|
|
418
|
-
return React__default.createElement(
|
|
419
|
-
Head,
|
|
420
|
-
null,
|
|
421
|
-
React__default.createElement('meta', { name: 'description', content: blocksToText(data) })
|
|
422
|
-
);
|
|
423
|
-
}, function (prevProps, nextProps) {
|
|
424
|
-
return true;
|
|
425
|
-
// return isEqual(prevProps.data, nextProps.data)
|
|
426
|
-
});
|
|
427
|
-
|
|
428
|
-
var TaxonomyDescription = function TaxonomyDescription(_ref) {
|
|
429
|
-
var data = _ref.data,
|
|
430
|
-
client = _ref.client;
|
|
431
|
-
|
|
432
|
-
var router = Router.useRouter();
|
|
433
|
-
|
|
434
|
-
React.useEffect(function () {
|
|
435
|
-
if (router && router.asPath && document.querySelector('meta[name="description"]')) {
|
|
436
|
-
console.log('updating');
|
|
437
|
-
document.querySelector('meta[name="description"]').setAttribute('content', router.asPath);
|
|
438
|
-
}
|
|
439
|
-
}, [router]);
|
|
440
|
-
|
|
441
|
-
// const prevPath = usePrevious(router && router.asPath ? router.asPath : null)
|
|
442
|
-
// const currentPath = router && router.asPath ? router.asPath : null
|
|
443
|
-
// useEffect(() => {
|
|
444
|
-
// if (router && router.asPath) {
|
|
445
|
-
// const queryParms = router.asPath.split('?')[1]
|
|
446
|
-
// if (queryParms) {
|
|
447
|
-
// const pageNumber = queryParms.split('&').reduce((acc, item) => {
|
|
448
|
-
// if (item.startsWith('page=')) {
|
|
449
|
-
// if (item.split('=')[1]) {
|
|
450
|
-
// acc = item.split('=')[1]
|
|
451
|
-
// return acc
|
|
452
|
-
// }
|
|
453
|
-
// }
|
|
454
|
-
// }, '')
|
|
455
|
-
// if (pageNumber !== '') {
|
|
456
|
-
// let metaDescription = blocksToText(data)
|
|
457
|
-
// metaDescription = `${metaDescription}| Page ${pageNumber}`
|
|
458
|
-
// console.log({ metaDescription, pageNumber })
|
|
459
|
-
// document.querySelector('meta[name="description"]').setAttribute('content', metaDescription)
|
|
460
|
-
// }
|
|
461
|
-
// }
|
|
462
|
-
// }
|
|
463
|
-
// }, [router])
|
|
464
|
-
|
|
465
|
-
return data && data.length > 0 && React__default.createElement(
|
|
466
|
-
'section',
|
|
467
|
-
{ className: 'taxonomy-description' },
|
|
468
|
-
React__default.createElement(MetaHead, { data: data }),
|
|
469
|
-
React__default.createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers.getSerializers(client), blocks: data, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
470
|
-
);
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
TaxonomyDescription.getDescription = function () {
|
|
474
|
-
var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee() {
|
|
475
|
-
var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
476
|
-
var client = arguments[1];
|
|
477
|
-
var query, summary;
|
|
478
|
-
return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
|
|
479
|
-
while (1) {
|
|
480
|
-
switch (_context.prev = _context.next) {
|
|
481
|
-
case 0:
|
|
482
|
-
query = '*[_type == \'taxonomy\' && identifier == \'' + url + '\'][0].summary';
|
|
483
|
-
summary = [];
|
|
484
|
-
_context.prev = 2;
|
|
485
|
-
_context.next = 5;
|
|
486
|
-
return client.fetch(query);
|
|
487
|
-
|
|
488
|
-
case 5:
|
|
489
|
-
summary = _context.sent;
|
|
490
|
-
_context.next = 11;
|
|
491
|
-
break;
|
|
492
|
-
|
|
493
|
-
case 8:
|
|
494
|
-
_context.prev = 8;
|
|
495
|
-
_context.t0 = _context['catch'](2);
|
|
496
|
-
|
|
497
|
-
console.error(_context.t0);
|
|
498
|
-
|
|
499
|
-
case 11:
|
|
500
|
-
return _context.abrupt('return', summary);
|
|
501
|
-
|
|
502
|
-
case 12:
|
|
503
|
-
case 'end':
|
|
504
|
-
return _context.stop();
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
}, _callee, _this, [[2, 8]]);
|
|
508
|
-
}));
|
|
509
178
|
|
|
510
|
-
return function () {
|
|
511
|
-
return _ref2.apply(this, arguments);
|
|
512
|
-
};
|
|
513
|
-
}();
|
|
514
179
|
|
|
515
180
|
exports.Segment = Segment;
|
|
516
181
|
exports.Beam = Beam;
|
|
@@ -597,4 +262,3 @@ exports.View = View;
|
|
|
597
262
|
exports.getKeywords = getKeywords;
|
|
598
263
|
exports.urlFor = urlFor;
|
|
599
264
|
exports.PartnerDetailListing = PartnerDetailListing;
|
|
600
|
-
exports.TaxonomyDescription = TaxonomyDescription;
|
|
@@ -204,8 +204,6 @@ var isSymbol_1 = isSymbol;
|
|
|
204
204
|
|
|
205
205
|
exports._Symbol = _Symbol;
|
|
206
206
|
exports._baseGetTag = _baseGetTag;
|
|
207
|
-
exports._freeGlobal = _freeGlobal;
|
|
208
207
|
exports._root = _root;
|
|
209
|
-
exports.isObjectLike_1 = isObjectLike_1;
|
|
210
208
|
exports.isObject_1 = isObject_1;
|
|
211
209
|
exports.isSymbol_1 = isSymbol_1;
|
package/dist/esm/AD.js
CHANGED
package/dist/esm/AD300x250.js
CHANGED
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
package/dist/esm/ADGutter.js
CHANGED
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
package/dist/esm/ADSkyscraper.js
CHANGED
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
package/dist/esm/ADWebcast.js
CHANGED
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
package/dist/esm/ADWelcome.js
CHANGED
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import './debounce-1a993acf.js';
|
|
13
13
|
import './main-5d1e4bd3.js';
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import './Segment.js';
|
|
19
19
|
import './Beam.js';
|
package/dist/esm/AdSlot.js
CHANGED
|
@@ -8,12 +8,12 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useState } from 'react';
|
|
9
9
|
import { a as lib_2 } from './index-0e45a0b2.js';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
12
|
-
import { d as debounce_1 } from './debounce-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
13
13
|
import { b as main_16 } from './main-5d1e4bd3.js';
|
|
14
14
|
import './stringify-008c8802.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
16
|
-
import './asyncToGenerator-
|
|
16
|
+
import './asyncToGenerator-7c654f36.js';
|
|
17
17
|
import './_set-species-cede29f8.js';
|
|
18
18
|
import Segment from './Segment.js';
|
|
19
19
|
import Beam from './Beam.js';
|
|
@@ -17,8 +17,8 @@ import 'prop-types';
|
|
|
17
17
|
import Container from 'react-bootstrap/Container';
|
|
18
18
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
19
19
|
import { withRouter } from 'next/router';
|
|
20
|
-
import './isSymbol-
|
|
21
|
-
import { d as debounce_1 } from './debounce-
|
|
20
|
+
import './isSymbol-807e927e.js';
|
|
21
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
22
22
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
package/dist/esm/Auth.js
CHANGED
|
@@ -11,7 +11,7 @@ import React__default, { useEffect, useState } from 'react';
|
|
|
11
11
|
import Router from 'next/router';
|
|
12
12
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
13
13
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-7021e5df.js';
|
|
14
|
-
import {
|
|
14
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
|
|
15
15
|
import './_set-species-cede29f8.js';
|
|
16
16
|
import { Col, Form, Button, Spinner } from 'react-bootstrap';
|
|
17
17
|
import { u as util } from './util-7700fc59.js';
|
package/dist/esm/Beam.js
CHANGED
|
@@ -6,7 +6,7 @@ import './_iter-detect-59409a32.js';
|
|
|
6
6
|
import './core.get-iterator-method-54d2e411.js';
|
|
7
7
|
import './web.dom.iterable-8956f9a5.js';
|
|
8
8
|
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
9
|
-
import {
|
|
9
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
|
|
10
10
|
import './_set-species-cede29f8.js';
|
|
11
11
|
import Segment from './Segment.js';
|
|
12
12
|
|
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -13,14 +13,14 @@ import { l as lib_3 } from './index-0e45a0b2.js';
|
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import './moment-e2f9b20c.js';
|
|
15
15
|
import { useRouter } from 'next/router';
|
|
16
|
-
import './isSymbol-
|
|
17
|
-
import { d as debounce_1 } from './debounce-
|
|
16
|
+
import './isSymbol-807e927e.js';
|
|
17
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
18
18
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
19
19
|
import 'react-dom';
|
|
20
20
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
21
21
|
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
22
22
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
23
|
-
import {
|
|
23
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
|
|
24
24
|
import './_set-species-cede29f8.js';
|
|
25
25
|
import { Spinner, Container, Row, Col } from 'react-bootstrap';
|
|
26
26
|
|