@mjhls/mjh-framework 1.0.594 → 1.0.597
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/README.md +172 -172
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +3 -3
- package/dist/cjs/AD300x250x600.js +3 -3
- package/dist/cjs/AD728x90.js +4 -4
- package/dist/cjs/ADFloatingFooter.js +5 -5
- 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/AdSlotsProvider.js +1 -1
- package/dist/cjs/ArticleQueue.js +298 -28
- package/dist/cjs/Auth.js +256 -507
- package/dist/cjs/{AuthorComponent-cb8b8128.js → AuthorComponent-3c79e1ab.js} +2 -2
- package/dist/cjs/{BlockContent-f942392e.js → BlockContent-77f81ffc.js} +1 -1
- package/dist/cjs/CMEDeck.js +5 -5
- package/dist/cjs/Column3.js +4 -4
- package/dist/cjs/ConferenceArticleCard.js +17 -17
- package/dist/cjs/DeckContent.js +16 -16
- package/dist/cjs/DeckQueue.js +7 -7
- package/dist/cjs/{Dfp-fbe32b96.js → Dfp-fcdeabc4.js} +1 -1
- package/dist/cjs/EventsDeck.js +22 -22
- package/dist/cjs/ExternalResources.js +7 -7
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +3 -3
- package/dist/cjs/GridContent.js +12 -12
- package/dist/cjs/GridHero.js +3 -3
- package/dist/cjs/GroupDeck.js +5 -5
- package/dist/cjs/HamMagazine.js +11 -11
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/InscreenSensor-22a96661.js +85 -0
- package/dist/cjs/IssueContentDeck.js +3 -3
- package/dist/cjs/IssueDeck.js +2 -2
- package/dist/cjs/IssueLanding.js +37 -37
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +17 -17
- package/dist/cjs/NavMagazine.js +12 -12
- package/dist/cjs/NavNative.js +11 -11
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +3 -3
- package/dist/cjs/PartnerDetailListing.js +1307 -30
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +33 -33
- package/dist/cjs/QueueDeckExpanded.js +10 -10
- package/dist/cjs/RecentNews.js +93 -0
- package/dist/cjs/RelatedContent.js +30 -30
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +2 -2
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesFilter.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +5 -5
- package/dist/cjs/View.js +259 -88
- package/dist/cjs/YahooHero.js +3 -3
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getQuery.js +2 -4
- package/dist/cjs/getRelatedArticle.js +358 -11
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{getTargeting-b15993cb.js → getTargeting-3d208b98.js} +11 -11
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index-e7f86168.js → index-c4972b44.js} +441 -453
- package/dist/cjs/{index-f7ee1612.js → index-fa3cec70.js} +6 -4
- package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
- package/dist/cjs/index.js +17 -18
- package/dist/cjs/{inherits-93684212.js → inherits-14962339.js} +4 -4
- package/dist/cjs/{main-bc4db521.js → main-88348b15.js} +35 -66
- package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +6 -6
- package/dist/esm/ADFloatingFooter.js +7 -7
- package/dist/esm/ADGutter.js +4 -4
- package/dist/esm/ADSkyscraper.js +4 -4
- package/dist/esm/ADSponsoredResources.js +4 -4
- package/dist/esm/ADWebcast.js +4 -4
- package/dist/esm/ADWelcome.js +4 -4
- package/dist/esm/AdSlot.js +4 -4
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/ArticleQueue.js +296 -26
- package/dist/esm/Auth.js +248 -499
- package/dist/esm/{AuthorComponent-158226c9.js → AuthorComponent-357dbee9.js} +2 -2
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-e9b4ddcf.js} +1 -1
- package/dist/esm/CMEDeck.js +7 -7
- package/dist/esm/Column2.js +3 -3
- package/dist/esm/Column3.js +8 -8
- package/dist/esm/ConferenceArticleCard.js +17 -17
- package/dist/esm/DeckContent.js +17 -17
- package/dist/esm/DeckQueue.js +10 -10
- package/dist/esm/{Dfp-ae9336e2.js → Dfp-a36ad202.js} +3 -3
- package/dist/esm/EventsDeck.js +22 -22
- package/dist/esm/ExternalResources.js +9 -9
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +3 -3
- package/dist/esm/GridContent.js +15 -15
- package/dist/esm/GridHero.js +3 -3
- package/dist/esm/GroupDeck.js +5 -5
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalHero.js +2 -2
- package/dist/esm/InscreenSensor-beb2ec79.js +80 -0
- package/dist/esm/IssueContentDeck.js +3 -3
- package/dist/esm/IssueDeck.js +2 -2
- package/dist/esm/IssueLanding.js +39 -39
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +4 -4
- package/dist/esm/MasterDeck.js +18 -18
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +11 -11
- package/dist/esm/OncliveHero.js +2 -2
- package/dist/esm/OncliveLargeHero.js +3 -3
- package/dist/esm/PartnerDetailListing.js +1307 -30
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +33 -33
- package/dist/esm/QueueDeckExpanded.js +12 -12
- package/dist/esm/RecentNews.js +88 -0
- package/dist/esm/RelatedContent.js +30 -30
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SideFooter.js +5 -5
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +6 -6
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesListing.js +6 -6
- package/dist/esm/View.js +237 -66
- package/dist/esm/YahooHero.js +3 -3
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/{_arrayMap-64cbe0e4.js → _arrayMap-818441dd.js} +1 -1
- package/dist/esm/{debounce-048d9cb6.js → debounce-a0d9abca.js} +1 -1
- package/dist/esm/{get-0eb56363.js → get-58d2f7cc.js} +2 -2
- package/dist/esm/getQuery.js +2 -4
- package/dist/esm/getRelatedArticle.js +358 -11
- package/dist/esm/getSerializers.js +8 -8
- package/dist/esm/{getTargeting-1a0bd08d.js → getTargeting-1f2c61e3.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-93ec3c59.js → index-3f4dd6f2.js} +6 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-80cb5ee6.js → index-7ca90052.js} +441 -453
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
- package/dist/esm/index.js +19 -20
- package/dist/esm/{isSymbol-b7b7434f.js → isSymbol-47f5ff3b.js} +1 -1
- package/dist/esm/{main-7255814e.js → main-d7ee6151.js} +34 -65
- package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- package/package.json +107 -107
- package/dist/cjs/InscreenSensor-e7f3579f.js +0 -361
- package/dist/esm/InscreenSensor-280b2b10.js +0 -352
- /package/dist/cjs/{ADInfeed-17a378db.js → ADInfeed-df340285.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-070d911c.js → ADlgInfeed-2110d08c.js} +0 -0
- /package/dist/esm/{ADInfeed-c7dba95f.js → ADInfeed-a5a1f81f.js} +0 -0
- /package/dist/esm/{ADlgInfeed-8bfd6d58.js → ADlgInfeed-99f14909.js} +0 -0
package/dist/esm/ArticleQueue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
1
|
+
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './_library-528f1934.js';
|
|
@@ -13,19 +13,19 @@ import './web.dom.iterable-46c95e52.js';
|
|
|
13
13
|
import { _ as _typeof } from './typeof-5f046efd.js';
|
|
14
14
|
import './_is-array-dd5523d6.js';
|
|
15
15
|
import React__default, { useState, useEffect } from 'react';
|
|
16
|
-
import { l as lib_3 } from './index-
|
|
16
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import 'react-bootstrap/Row';
|
|
19
19
|
import 'react-bootstrap/Col';
|
|
20
|
-
import { m as moment } from './moment-
|
|
20
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
21
21
|
import 'next/router';
|
|
22
|
-
import { i as isObjectLike_1, _ as _baseGetTag } from './isSymbol-
|
|
23
|
-
import { t as toNumber_1 } from './debounce-
|
|
24
|
-
import { I as InfiniteScroll } from './index.es-
|
|
22
|
+
import { i as isObjectLike_1, _ as _baseGetTag, a as _root, b as _freeGlobal } from './isSymbol-47f5ff3b.js';
|
|
23
|
+
import { t as toNumber_1 } from './debounce-a0d9abca.js';
|
|
24
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
25
25
|
import 'react-dom';
|
|
26
|
-
import { i as imageUrlBuilder } from './index-
|
|
26
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
27
27
|
import './index-5f9f807a.js';
|
|
28
|
-
import { m as
|
|
28
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
29
29
|
import './entities-7cc3bf45.js';
|
|
30
30
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-f1e40361.js';
|
|
31
31
|
import { _ as _JSON$stringify } from './stringify-e30bc114.js';
|
|
@@ -34,13 +34,13 @@ import './_set-species-6f64f1c1.js';
|
|
|
34
34
|
import './beam-a25bd8fd.js';
|
|
35
35
|
import DFPAdSlot from './AdSlot.js';
|
|
36
36
|
import './lodash-17fdfebb.js';
|
|
37
|
-
import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './_arrayMap-
|
|
38
|
-
import { B as BlockContent } from './BlockContent-
|
|
37
|
+
import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './_arrayMap-818441dd.js';
|
|
38
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
39
39
|
import './smoothscroll-4b699764.js';
|
|
40
40
|
import './GroupDeck.js';
|
|
41
41
|
import 'react-bootstrap';
|
|
42
42
|
import 'react-bootstrap/Button';
|
|
43
|
-
import { g as getSerializers } from './index-
|
|
43
|
+
import { g as getSerializers } from './index-7ca90052.js';
|
|
44
44
|
import './util-7700fc59.js';
|
|
45
45
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
46
46
|
import 'react-bootstrap/Pagination';
|
|
@@ -49,7 +49,7 @@ import 'react-share';
|
|
|
49
49
|
import SocialShare from './SocialShare.js';
|
|
50
50
|
import { _ as _Object$keys } from './keys-04cdec91.js';
|
|
51
51
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
52
|
-
import {
|
|
52
|
+
import { I as InscreenSensor } from './InscreenSensor-beb2ec79.js';
|
|
53
53
|
import getKeywords from './getKeywords.js';
|
|
54
54
|
|
|
55
55
|
/**
|
|
@@ -131,6 +131,42 @@ function baseIndexOf(array, value, fromIndex) {
|
|
|
131
131
|
|
|
132
132
|
var _baseIndexOf = baseIndexOf;
|
|
133
133
|
|
|
134
|
+
/** Used as references for various `Number` constants. */
|
|
135
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Checks if `value` is a valid array-like length.
|
|
139
|
+
*
|
|
140
|
+
* **Note:** This method is loosely based on
|
|
141
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
142
|
+
*
|
|
143
|
+
* @static
|
|
144
|
+
* @memberOf _
|
|
145
|
+
* @since 4.0.0
|
|
146
|
+
* @category Lang
|
|
147
|
+
* @param {*} value The value to check.
|
|
148
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
149
|
+
* @example
|
|
150
|
+
*
|
|
151
|
+
* _.isLength(3);
|
|
152
|
+
* // => true
|
|
153
|
+
*
|
|
154
|
+
* _.isLength(Number.MIN_VALUE);
|
|
155
|
+
* // => false
|
|
156
|
+
*
|
|
157
|
+
* _.isLength(Infinity);
|
|
158
|
+
* // => false
|
|
159
|
+
*
|
|
160
|
+
* _.isLength('3');
|
|
161
|
+
* // => false
|
|
162
|
+
*/
|
|
163
|
+
function isLength(value) {
|
|
164
|
+
return typeof value == 'number' &&
|
|
165
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
var isLength_1 = isLength;
|
|
169
|
+
|
|
134
170
|
/**
|
|
135
171
|
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
136
172
|
* not a function and has a `value.length` that's an integer greater than or
|
|
@@ -304,8 +340,115 @@ function baseTimes(n, iteratee) {
|
|
|
304
340
|
|
|
305
341
|
var _baseTimes = baseTimes;
|
|
306
342
|
|
|
343
|
+
/** `Object#toString` result references. */
|
|
344
|
+
var argsTag = '[object Arguments]';
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* The base implementation of `_.isArguments`.
|
|
348
|
+
*
|
|
349
|
+
* @private
|
|
350
|
+
* @param {*} value The value to check.
|
|
351
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
352
|
+
*/
|
|
353
|
+
function baseIsArguments(value) {
|
|
354
|
+
return isObjectLike_1(value) && _baseGetTag(value) == argsTag;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
var _baseIsArguments = baseIsArguments;
|
|
358
|
+
|
|
359
|
+
/** Used for built-in method references. */
|
|
360
|
+
var objectProto = Object.prototype;
|
|
361
|
+
|
|
362
|
+
/** Used to check objects for own properties. */
|
|
363
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
364
|
+
|
|
365
|
+
/** Built-in value references. */
|
|
366
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Checks if `value` is likely an `arguments` object.
|
|
370
|
+
*
|
|
371
|
+
* @static
|
|
372
|
+
* @memberOf _
|
|
373
|
+
* @since 0.1.0
|
|
374
|
+
* @category Lang
|
|
375
|
+
* @param {*} value The value to check.
|
|
376
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
377
|
+
* else `false`.
|
|
378
|
+
* @example
|
|
379
|
+
*
|
|
380
|
+
* _.isArguments(function() { return arguments; }());
|
|
381
|
+
* // => true
|
|
382
|
+
*
|
|
383
|
+
* _.isArguments([1, 2, 3]);
|
|
384
|
+
* // => false
|
|
385
|
+
*/
|
|
386
|
+
var isArguments = _baseIsArguments(function() { return arguments; }()) ? _baseIsArguments : function(value) {
|
|
387
|
+
return isObjectLike_1(value) && hasOwnProperty.call(value, 'callee') &&
|
|
388
|
+
!propertyIsEnumerable.call(value, 'callee');
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
var isArguments_1 = isArguments;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* This method returns `false`.
|
|
395
|
+
*
|
|
396
|
+
* @static
|
|
397
|
+
* @memberOf _
|
|
398
|
+
* @since 4.13.0
|
|
399
|
+
* @category Util
|
|
400
|
+
* @returns {boolean} Returns `false`.
|
|
401
|
+
* @example
|
|
402
|
+
*
|
|
403
|
+
* _.times(2, _.stubFalse);
|
|
404
|
+
* // => [false, false]
|
|
405
|
+
*/
|
|
406
|
+
function stubFalse() {
|
|
407
|
+
return false;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
var stubFalse_1 = stubFalse;
|
|
411
|
+
|
|
412
|
+
var isBuffer_1 = createCommonjsModule(function (module, exports) {
|
|
413
|
+
/** Detect free variable `exports`. */
|
|
414
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
415
|
+
|
|
416
|
+
/** Detect free variable `module`. */
|
|
417
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
418
|
+
|
|
419
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
420
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
421
|
+
|
|
422
|
+
/** Built-in value references. */
|
|
423
|
+
var Buffer = moduleExports ? _root.Buffer : undefined;
|
|
424
|
+
|
|
425
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
426
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Checks if `value` is a buffer.
|
|
430
|
+
*
|
|
431
|
+
* @static
|
|
432
|
+
* @memberOf _
|
|
433
|
+
* @since 4.3.0
|
|
434
|
+
* @category Lang
|
|
435
|
+
* @param {*} value The value to check.
|
|
436
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
437
|
+
* @example
|
|
438
|
+
*
|
|
439
|
+
* _.isBuffer(new Buffer(2));
|
|
440
|
+
* // => true
|
|
441
|
+
*
|
|
442
|
+
* _.isBuffer(new Uint8Array(2));
|
|
443
|
+
* // => false
|
|
444
|
+
*/
|
|
445
|
+
var isBuffer = nativeIsBuffer || stubFalse_1;
|
|
446
|
+
|
|
447
|
+
module.exports = isBuffer;
|
|
448
|
+
});
|
|
449
|
+
|
|
307
450
|
/** Used as references for various `Number` constants. */
|
|
308
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
451
|
+
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
309
452
|
|
|
310
453
|
/** Used to detect unsigned integer values. */
|
|
311
454
|
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
@@ -320,7 +463,7 @@ var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
|
320
463
|
*/
|
|
321
464
|
function isIndex(value, length) {
|
|
322
465
|
var type = typeof value;
|
|
323
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
466
|
+
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
324
467
|
|
|
325
468
|
return !!length &&
|
|
326
469
|
(type == 'number' ||
|
|
@@ -330,11 +473,138 @@ function isIndex(value, length) {
|
|
|
330
473
|
|
|
331
474
|
var _isIndex = isIndex;
|
|
332
475
|
|
|
476
|
+
/** `Object#toString` result references. */
|
|
477
|
+
var argsTag$1 = '[object Arguments]',
|
|
478
|
+
arrayTag = '[object Array]',
|
|
479
|
+
boolTag = '[object Boolean]',
|
|
480
|
+
dateTag = '[object Date]',
|
|
481
|
+
errorTag = '[object Error]',
|
|
482
|
+
funcTag = '[object Function]',
|
|
483
|
+
mapTag = '[object Map]',
|
|
484
|
+
numberTag = '[object Number]',
|
|
485
|
+
objectTag = '[object Object]',
|
|
486
|
+
regexpTag = '[object RegExp]',
|
|
487
|
+
setTag = '[object Set]',
|
|
488
|
+
stringTag$1 = '[object String]',
|
|
489
|
+
weakMapTag = '[object WeakMap]';
|
|
490
|
+
|
|
491
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
492
|
+
dataViewTag = '[object DataView]',
|
|
493
|
+
float32Tag = '[object Float32Array]',
|
|
494
|
+
float64Tag = '[object Float64Array]',
|
|
495
|
+
int8Tag = '[object Int8Array]',
|
|
496
|
+
int16Tag = '[object Int16Array]',
|
|
497
|
+
int32Tag = '[object Int32Array]',
|
|
498
|
+
uint8Tag = '[object Uint8Array]',
|
|
499
|
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
500
|
+
uint16Tag = '[object Uint16Array]',
|
|
501
|
+
uint32Tag = '[object Uint32Array]';
|
|
502
|
+
|
|
503
|
+
/** Used to identify `toStringTag` values of typed arrays. */
|
|
504
|
+
var typedArrayTags = {};
|
|
505
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
506
|
+
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
507
|
+
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
508
|
+
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
509
|
+
typedArrayTags[uint32Tag] = true;
|
|
510
|
+
typedArrayTags[argsTag$1] = typedArrayTags[arrayTag] =
|
|
511
|
+
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
|
512
|
+
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
|
|
513
|
+
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
|
514
|
+
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
|
|
515
|
+
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
|
|
516
|
+
typedArrayTags[setTag] = typedArrayTags[stringTag$1] =
|
|
517
|
+
typedArrayTags[weakMapTag] = false;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
521
|
+
*
|
|
522
|
+
* @private
|
|
523
|
+
* @param {*} value The value to check.
|
|
524
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
525
|
+
*/
|
|
526
|
+
function baseIsTypedArray(value) {
|
|
527
|
+
return isObjectLike_1(value) &&
|
|
528
|
+
isLength_1(value.length) && !!typedArrayTags[_baseGetTag(value)];
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
var _baseIsTypedArray = baseIsTypedArray;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
535
|
+
*
|
|
536
|
+
* @private
|
|
537
|
+
* @param {Function} func The function to cap arguments for.
|
|
538
|
+
* @returns {Function} Returns the new capped function.
|
|
539
|
+
*/
|
|
540
|
+
function baseUnary(func) {
|
|
541
|
+
return function(value) {
|
|
542
|
+
return func(value);
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
var _baseUnary = baseUnary;
|
|
547
|
+
|
|
548
|
+
var _nodeUtil = createCommonjsModule(function (module, exports) {
|
|
549
|
+
/** Detect free variable `exports`. */
|
|
550
|
+
var freeExports = exports && !exports.nodeType && exports;
|
|
551
|
+
|
|
552
|
+
/** Detect free variable `module`. */
|
|
553
|
+
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
554
|
+
|
|
555
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
556
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
557
|
+
|
|
558
|
+
/** Detect free variable `process` from Node.js. */
|
|
559
|
+
var freeProcess = moduleExports && _freeGlobal.process;
|
|
560
|
+
|
|
561
|
+
/** Used to access faster Node.js helpers. */
|
|
562
|
+
var nodeUtil = (function() {
|
|
563
|
+
try {
|
|
564
|
+
// Use `util.types` for Node.js 10+.
|
|
565
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
566
|
+
|
|
567
|
+
if (types) {
|
|
568
|
+
return types;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
572
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
573
|
+
} catch (e) {}
|
|
574
|
+
}());
|
|
575
|
+
|
|
576
|
+
module.exports = nodeUtil;
|
|
577
|
+
});
|
|
578
|
+
|
|
579
|
+
/* Node.js helper references. */
|
|
580
|
+
var nodeIsTypedArray = _nodeUtil && _nodeUtil.isTypedArray;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Checks if `value` is classified as a typed array.
|
|
584
|
+
*
|
|
585
|
+
* @static
|
|
586
|
+
* @memberOf _
|
|
587
|
+
* @since 3.0.0
|
|
588
|
+
* @category Lang
|
|
589
|
+
* @param {*} value The value to check.
|
|
590
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
591
|
+
* @example
|
|
592
|
+
*
|
|
593
|
+
* _.isTypedArray(new Uint8Array);
|
|
594
|
+
* // => true
|
|
595
|
+
*
|
|
596
|
+
* _.isTypedArray([]);
|
|
597
|
+
* // => false
|
|
598
|
+
*/
|
|
599
|
+
var isTypedArray = nodeIsTypedArray ? _baseUnary(nodeIsTypedArray) : _baseIsTypedArray;
|
|
600
|
+
|
|
601
|
+
var isTypedArray_1 = isTypedArray;
|
|
602
|
+
|
|
333
603
|
/** Used for built-in method references. */
|
|
334
|
-
var objectProto = Object.prototype;
|
|
604
|
+
var objectProto$1 = Object.prototype;
|
|
335
605
|
|
|
336
606
|
/** Used to check objects for own properties. */
|
|
337
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
607
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
338
608
|
|
|
339
609
|
/**
|
|
340
610
|
* Creates an array of the enumerable property names of the array-like `value`.
|
|
@@ -354,7 +624,7 @@ function arrayLikeKeys(value, inherited) {
|
|
|
354
624
|
length = result.length;
|
|
355
625
|
|
|
356
626
|
for (var key in value) {
|
|
357
|
-
if ((inherited || hasOwnProperty.call(value, key)) &&
|
|
627
|
+
if ((inherited || hasOwnProperty$1.call(value, key)) &&
|
|
358
628
|
!(skipIndexes && (
|
|
359
629
|
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
360
630
|
key == 'length' ||
|
|
@@ -374,7 +644,7 @@ function arrayLikeKeys(value, inherited) {
|
|
|
374
644
|
var _arrayLikeKeys = arrayLikeKeys;
|
|
375
645
|
|
|
376
646
|
/** Used for built-in method references. */
|
|
377
|
-
var objectProto$
|
|
647
|
+
var objectProto$2 = Object.prototype;
|
|
378
648
|
|
|
379
649
|
/**
|
|
380
650
|
* Checks if `value` is likely a prototype object.
|
|
@@ -385,7 +655,7 @@ var objectProto$1 = Object.prototype;
|
|
|
385
655
|
*/
|
|
386
656
|
function isPrototype(value) {
|
|
387
657
|
var Ctor = value && value.constructor,
|
|
388
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$
|
|
658
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$2;
|
|
389
659
|
|
|
390
660
|
return value === proto;
|
|
391
661
|
}
|
|
@@ -414,10 +684,10 @@ var nativeKeys = _overArg(Object.keys, Object);
|
|
|
414
684
|
var _nativeKeys = nativeKeys;
|
|
415
685
|
|
|
416
686
|
/** Used for built-in method references. */
|
|
417
|
-
var objectProto$
|
|
687
|
+
var objectProto$3 = Object.prototype;
|
|
418
688
|
|
|
419
689
|
/** Used to check objects for own properties. */
|
|
420
|
-
var hasOwnProperty$
|
|
690
|
+
var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
|
|
421
691
|
|
|
422
692
|
/**
|
|
423
693
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
@@ -432,7 +702,7 @@ function baseKeys(object) {
|
|
|
432
702
|
}
|
|
433
703
|
var result = [];
|
|
434
704
|
for (var key in Object(object)) {
|
|
435
|
-
if (hasOwnProperty$
|
|
705
|
+
if (hasOwnProperty$2.call(object, key) && key != 'constructor') {
|
|
436
706
|
result.push(key);
|
|
437
707
|
}
|
|
438
708
|
}
|
|
@@ -1069,7 +1339,7 @@ var Article = function Article(props) {
|
|
|
1069
1339
|
summary
|
|
1070
1340
|
)
|
|
1071
1341
|
),
|
|
1072
|
-
|
|
1342
|
+
main_36 && props.article.Ads.map(function (ad, index) {
|
|
1073
1343
|
if (index === 0) {
|
|
1074
1344
|
return React__default.createElement(
|
|
1075
1345
|
'div',
|
|
@@ -1094,7 +1364,7 @@ var Article = function Article(props) {
|
|
|
1094
1364
|
renderIsiContent(props.article)
|
|
1095
1365
|
)
|
|
1096
1366
|
),
|
|
1097
|
-
|
|
1367
|
+
main_36 && props.article.Ads.map(function (ad, index) {
|
|
1098
1368
|
if (index > 0) {
|
|
1099
1369
|
return React__default.createElement(
|
|
1100
1370
|
'div',
|
|
@@ -1234,7 +1504,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1234
1504
|
});
|
|
1235
1505
|
var targeting = getTargeting(activeArticle);
|
|
1236
1506
|
|
|
1237
|
-
if (!
|
|
1507
|
+
if (!main_36) {
|
|
1238
1508
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1239
1509
|
if (window.googletag && googletag.pubadsReady) {
|
|
1240
1510
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1251,7 +1521,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1251
1521
|
});
|
|
1252
1522
|
}
|
|
1253
1523
|
//Refresh leaderboard ad on mobile
|
|
1254
|
-
if (
|
|
1524
|
+
if (main_36) {
|
|
1255
1525
|
var leaderboardSlotId = '';
|
|
1256
1526
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1257
1527
|
if (window.googletag && googletag.pubadsReady) {
|