@mjhls/mjh-framework 1.0.720-beta.0 → 1.0.720-navigation-scroll-fix-v1
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/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +6 -6
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +2 -2
- package/dist/cjs/Auth.js +11 -211
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-80b15fac.js} +1 -1
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/DeckContent.js +2 -2
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/ExternalResources.js +4 -4
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +3 -3
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +8 -7
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -4
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +2 -2
- package/dist/cjs/MasterDeck.js +3 -3
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -7
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/RecentNews.js +1 -1
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +4 -4
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +6 -6
- package/dist/cjs/VideoSeriesCard.js +3 -3
- package/dist/cjs/VideoSeriesLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/View.js +32 -32
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +9 -11
- package/dist/cjs/getRelatedArticle.js +416 -5
- package/dist/cjs/getSerializers.js +4 -4
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-fee8c429.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-be0c82be.js → index-39beccb3.js} +2 -1
- package/dist/cjs/{index-792274b1.js → index-a2ecf598.js} +451 -439
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/{inherits-c9f99d47.js → inherits-513d81cd.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/urlFor.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +2 -2
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +3 -203
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c409aca5.js} +1 -1
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +2 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +8 -7
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +2 -2
- package/dist/esm/MasterDeck.js +2 -2
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +4 -4
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/QueueDeckExpanded.js +2 -2
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +2 -2
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +5 -5
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +9 -11
- package/dist/esm/getRelatedArticle.js +416 -5
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{index-c3a5ff39.js → index-2749e7d8.js} +450 -438
- package/dist/esm/{index-73819142.js → index-3849e3fe.js} +2 -1
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/index.js +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/urlFor.js +1 -1
- package/package.json +3 -3
|
@@ -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;
|
package/dist/cjs/index.js
CHANGED
|
@@ -12,7 +12,7 @@ require('./core.get-iterator-method-f62321d4.js');
|
|
|
12
12
|
require('./_object-pie-68c5bcbc.js');
|
|
13
13
|
require('./extends-60837c34.js');
|
|
14
14
|
require('./_object-sap-5e74ba08.js');
|
|
15
|
-
require('./inherits-
|
|
15
|
+
require('./inherits-513d81cd.js');
|
|
16
16
|
require('./define-property-f4d12f4e.js');
|
|
17
17
|
require('./web.dom.iterable-a0e279c1.js');
|
|
18
18
|
require('./typeof-725500bc.js');
|
|
@@ -31,7 +31,7 @@ require('./debounce-eb287781.js');
|
|
|
31
31
|
require('./index.es-9110add6.js');
|
|
32
32
|
require('react-dom');
|
|
33
33
|
require('./visibility-sensor-0c45a583.js');
|
|
34
|
-
require('./index-
|
|
34
|
+
require('./index-39beccb3.js');
|
|
35
35
|
require('./index-da796b8c.js');
|
|
36
36
|
require('./main-02daeefe.js');
|
|
37
37
|
require('./entities-310b46ee.js');
|
|
@@ -44,7 +44,7 @@ var Beam = require('./Beam.js');
|
|
|
44
44
|
var AdSlot = require('./AdSlot.js');
|
|
45
45
|
require('./ADInfeed-5a561d7c.js');
|
|
46
46
|
var DeckContent = require('./DeckContent.js');
|
|
47
|
-
require('./lodash-
|
|
47
|
+
require('./lodash-7fd85bcf.js');
|
|
48
48
|
require('./ADlgInfeed-c50f81d4.js');
|
|
49
49
|
require('./getContentCategory-f38a4c00.js');
|
|
50
50
|
require('./get-68c52cb1.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-
|
|
57
|
+
require('./BlockContent-80b15fac.js');
|
|
58
58
|
require('./react-social-icons-f7f48f71.js');
|
|
59
59
|
var TaxonomyCard = require('./TaxonomyCard.js');
|
|
60
60
|
var RolesDeck = require('./RolesDeck.js');
|
|
@@ -70,7 +70,7 @@ require('./index.esm-90433435.js');
|
|
|
70
70
|
var VideoSeriesListing = require('./VideoSeriesListing.js');
|
|
71
71
|
var ArticleSeriesListing = require('./ArticleSeriesListing.js');
|
|
72
72
|
var ArticleCarousel = require('./ArticleCarousel.js');
|
|
73
|
-
var getSerializers = require('./index-
|
|
73
|
+
var getSerializers = require('./index-a2ecf598.js');
|
|
74
74
|
require('./util-f2c1b65b.js');
|
|
75
75
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
76
76
|
require('./_object-to-array-5762f850.js');
|
|
@@ -165,14 +165,14 @@ var ConferenceArticleCard = require('./ConferenceArticleCard.js');
|
|
|
165
165
|
var KMTracker = require('./KMTracker.js');
|
|
166
166
|
var getSeriesDetail = require('./getSeriesDetail.js');
|
|
167
167
|
var SetCookie = require('./SetCookie.js');
|
|
168
|
-
require('
|
|
169
|
-
var getQuery = require('./getQuery.js');
|
|
168
|
+
require('./index-bd6c9f56.js');
|
|
170
169
|
var getRelatedArticle = require('./getRelatedArticle.js');
|
|
170
|
+
var getQuery = require('./getQuery.js');
|
|
171
171
|
var Auth = require('./Auth.js');
|
|
172
172
|
require('swr');
|
|
173
173
|
require('passport-local');
|
|
174
174
|
require('mysql');
|
|
175
|
-
var getTargeting = require('./getTargeting-
|
|
175
|
+
var getTargeting = require('./getTargeting-fee8c429.js');
|
|
176
176
|
var View = require('./View.js');
|
|
177
177
|
var getKeywords = require('./getKeywords.js');
|
|
178
178
|
var urlFor = require('./urlFor.js');
|
|
@@ -265,8 +265,8 @@ exports.ConferenceArticleCard = ConferenceArticleCard;
|
|
|
265
265
|
exports.KMTracker = KMTracker;
|
|
266
266
|
exports.getSeriesDetail = getSeriesDetail;
|
|
267
267
|
exports.SetCookie = SetCookie;
|
|
268
|
-
exports.getQuery = getQuery;
|
|
269
268
|
exports.getRelatedArticle = getRelatedArticle;
|
|
269
|
+
exports.getQuery = getQuery;
|
|
270
270
|
exports.Auth = Auth.default;
|
|
271
271
|
exports.getTargeting = getTargeting.getTargeting;
|
|
272
272
|
exports.View = View;
|
|
@@ -5,7 +5,7 @@ var _toObject = require('./_to-object-329a650b.js');
|
|
|
5
5
|
var es6_string_iterator = require('./es6.string.iterator-cc0bbaa4.js');
|
|
6
6
|
var _objectSap = require('./_object-sap-5e74ba08.js');
|
|
7
7
|
var defineProperty = require('./define-property-f4d12f4e.js');
|
|
8
|
-
var _typeof = require('./typeof-725500bc.js');
|
|
8
|
+
var _typeof$1 = require('./typeof-725500bc.js');
|
|
9
9
|
|
|
10
10
|
// 19.1.2.9 Object.getPrototypeOf(O)
|
|
11
11
|
|
|
@@ -75,7 +75,7 @@ exports.__esModule = true;
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
var _typeof3 = _interopRequireDefault(_typeof._typeof_1);
|
|
78
|
+
var _typeof3 = _interopRequireDefault(_typeof$1._typeof_1);
|
|
79
79
|
|
|
80
80
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
81
81
|
|
|
@@ -102,7 +102,7 @@ var _setProto = {
|
|
|
102
102
|
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
|
103
103
|
function (test, buggy, set) {
|
|
104
104
|
try {
|
|
105
|
-
set = _toObject._ctx(Function.call, _typeof._objectGopd.f(Object.prototype, '__proto__').set, 2);
|
|
105
|
+
set = _toObject._ctx(Function.call, _typeof$1._objectGopd.f(Object.prototype, '__proto__').set, 2);
|
|
106
106
|
set(test, []);
|
|
107
107
|
buggy = !(test instanceof Array);
|
|
108
108
|
} catch (e) { buggy = true; }
|
|
@@ -156,7 +156,7 @@ var _create2 = _interopRequireDefault(create$1);
|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
var _typeof3 = _interopRequireDefault(_typeof._typeof_1);
|
|
159
|
+
var _typeof3 = _interopRequireDefault(_typeof$1._typeof_1);
|
|
160
160
|
|
|
161
161
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
162
162
|
|
|
@@ -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.
|
|
12
|
+
var VERSION = '4.17.20';
|
|
13
13
|
|
|
14
14
|
/** Used as the size to enable large array optimizations. */
|
|
15
15
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -3716,8 +3716,21 @@ 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
|
+
|
|
3719
3732
|
var index = -1;
|
|
3720
|
-
iteratees = arrayMap(iteratees
|
|
3733
|
+
iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
|
|
3721
3734
|
|
|
3722
3735
|
var result = baseMap(collection, function(value, key, collection) {
|
|
3723
3736
|
var criteria = arrayMap(iteratees, function(iteratee) {
|
|
@@ -3974,6 +3987,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
3974
3987
|
var key = toKey(path[index]),
|
|
3975
3988
|
newValue = value;
|
|
3976
3989
|
|
|
3990
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
3991
|
+
return object;
|
|
3992
|
+
}
|
|
3993
|
+
|
|
3977
3994
|
if (index != lastIndex) {
|
|
3978
3995
|
var objValue = nested[key];
|
|
3979
3996
|
newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
|
|
@@ -4126,11 +4143,14 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
4126
4143
|
* into `array`.
|
|
4127
4144
|
*/
|
|
4128
4145
|
function baseSortedIndexBy(array, value, iteratee, retHighest) {
|
|
4129
|
-
value = iteratee(value);
|
|
4130
|
-
|
|
4131
4146
|
var low = 0,
|
|
4132
|
-
high = array == null ? 0 : array.length
|
|
4133
|
-
|
|
4147
|
+
high = array == null ? 0 : array.length;
|
|
4148
|
+
if (high === 0) {
|
|
4149
|
+
return 0;
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
value = iteratee(value);
|
|
4153
|
+
var valIsNaN = value !== value,
|
|
4134
4154
|
valIsNull = value === null,
|
|
4135
4155
|
valIsSymbol = isSymbol(value),
|
|
4136
4156
|
valIsUndefined = value === undefined$1;
|
|
@@ -5615,10 +5635,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
5615
5635
|
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
5616
5636
|
return false;
|
|
5617
5637
|
}
|
|
5618
|
-
//
|
|
5619
|
-
var
|
|
5620
|
-
|
|
5621
|
-
|
|
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;
|
|
5622
5643
|
}
|
|
5623
5644
|
var index = -1,
|
|
5624
5645
|
result = true,
|
|
@@ -5780,10 +5801,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
5780
5801
|
return false;
|
|
5781
5802
|
}
|
|
5782
5803
|
}
|
|
5783
|
-
//
|
|
5784
|
-
var
|
|
5785
|
-
|
|
5786
|
-
|
|
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;
|
|
5787
5809
|
}
|
|
5788
5810
|
var result = true;
|
|
5789
5811
|
stack.set(object, other);
|
|
@@ -9164,6 +9186,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
9164
9186
|
* // The `_.property` iteratee shorthand.
|
|
9165
9187
|
* _.filter(users, 'active');
|
|
9166
9188
|
* // => 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']
|
|
9167
9193
|
*/
|
|
9168
9194
|
function filter(collection, predicate) {
|
|
9169
9195
|
var func = isArray(collection) ? arrayFilter : baseFilter;
|
|
@@ -9913,15 +9939,15 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
9913
9939
|
* var users = [
|
|
9914
9940
|
* { 'user': 'fred', 'age': 48 },
|
|
9915
9941
|
* { 'user': 'barney', 'age': 36 },
|
|
9916
|
-
* { 'user': 'fred', 'age':
|
|
9942
|
+
* { 'user': 'fred', 'age': 30 },
|
|
9917
9943
|
* { 'user': 'barney', 'age': 34 }
|
|
9918
9944
|
* ];
|
|
9919
9945
|
*
|
|
9920
9946
|
* _.sortBy(users, [function(o) { return o.user; }]);
|
|
9921
|
-
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred',
|
|
9947
|
+
* // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
|
|
9922
9948
|
*
|
|
9923
9949
|
* _.sortBy(users, ['user', 'age']);
|
|
9924
|
-
* // => objects for [['barney', 34], ['barney', 36], ['fred',
|
|
9950
|
+
* // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
|
|
9925
9951
|
*/
|
|
9926
9952
|
var sortBy = baseRest(function(collection, iteratees) {
|
|
9927
9953
|
if (collection == null) {
|
|
@@ -14796,11 +14822,11 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
14796
14822
|
|
|
14797
14823
|
// Use a sourceURL for easier debugging.
|
|
14798
14824
|
// The sourceURL gets injected into the source that's eval-ed, so be careful
|
|
14799
|
-
//
|
|
14800
|
-
//
|
|
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.
|
|
14801
14827
|
var sourceURL = '//# sourceURL=' +
|
|
14802
14828
|
(hasOwnProperty.call(options, 'sourceURL')
|
|
14803
|
-
? (options.sourceURL + '').replace(/
|
|
14829
|
+
? (options.sourceURL + '').replace(/\s/g, ' ')
|
|
14804
14830
|
: ('lodash.templateSources[' + (++templateCounter) + ']')
|
|
14805
14831
|
) + '\n';
|
|
14806
14832
|
|
|
@@ -14833,8 +14859,6 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
14833
14859
|
|
|
14834
14860
|
// If `variable` is not specified wrap a with-statement around the generated
|
|
14835
14861
|
// 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.
|
|
14838
14862
|
var variable = hasOwnProperty.call(options, 'variable') && options.variable;
|
|
14839
14863
|
if (!variable) {
|
|
14840
14864
|
source = 'with (obj) {\n' + source + '\n}\n';
|
|
@@ -15541,6 +15565,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15541
15565
|
* values against any array or object value, respectively. See `_.isEqual`
|
|
15542
15566
|
* for a list of supported value comparisons.
|
|
15543
15567
|
*
|
|
15568
|
+
* **Note:** Multiple values can be checked by combining several matchers
|
|
15569
|
+
* using `_.overSome`
|
|
15570
|
+
*
|
|
15544
15571
|
* @static
|
|
15545
15572
|
* @memberOf _
|
|
15546
15573
|
* @since 3.0.0
|
|
@@ -15556,6 +15583,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15556
15583
|
*
|
|
15557
15584
|
* _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));
|
|
15558
15585
|
* // => [{ '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 }]
|
|
15559
15590
|
*/
|
|
15560
15591
|
function matches(source) {
|
|
15561
15592
|
return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
|
|
@@ -15570,6 +15601,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15570
15601
|
* `srcValue` values against any array or object value, respectively. See
|
|
15571
15602
|
* `_.isEqual` for a list of supported value comparisons.
|
|
15572
15603
|
*
|
|
15604
|
+
* **Note:** Multiple values can be checked by combining several matchers
|
|
15605
|
+
* using `_.overSome`
|
|
15606
|
+
*
|
|
15573
15607
|
* @static
|
|
15574
15608
|
* @memberOf _
|
|
15575
15609
|
* @since 3.2.0
|
|
@@ -15586,6 +15620,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15586
15620
|
*
|
|
15587
15621
|
* _.find(objects, _.matchesProperty('a', 4));
|
|
15588
15622
|
* // => { '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 }]
|
|
15589
15627
|
*/
|
|
15590
15628
|
function matchesProperty(path, srcValue) {
|
|
15591
15629
|
return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
|
|
@@ -15809,6 +15847,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15809
15847
|
* Creates a function that checks if **all** of the `predicates` return
|
|
15810
15848
|
* truthy when invoked with the arguments it receives.
|
|
15811
15849
|
*
|
|
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
|
+
*
|
|
15812
15854
|
* @static
|
|
15813
15855
|
* @memberOf _
|
|
15814
15856
|
* @since 4.0.0
|
|
@@ -15835,6 +15877,10 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15835
15877
|
* Creates a function that checks if **any** of the `predicates` return
|
|
15836
15878
|
* truthy when invoked with the arguments it receives.
|
|
15837
15879
|
*
|
|
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
|
+
*
|
|
15838
15884
|
* @static
|
|
15839
15885
|
* @memberOf _
|
|
15840
15886
|
* @since 4.0.0
|
|
@@ -15854,6 +15900,9 @@ var lodash = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
|
15854
15900
|
*
|
|
15855
15901
|
* func(NaN);
|
|
15856
15902
|
* // => false
|
|
15903
|
+
*
|
|
15904
|
+
* var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])
|
|
15905
|
+
* var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])
|
|
15857
15906
|
*/
|
|
15858
15907
|
var overSome = createOver(arraySome);
|
|
15859
15908
|
|
package/dist/cjs/urlFor.js
CHANGED
|
@@ -11,7 +11,7 @@ import './_is-array-58e95429.js';
|
|
|
11
11
|
import React__default from 'react';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import 'react-dom';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-3849e3fe.js';
|
|
15
15
|
import './index-5f9f807a.js';
|
|
16
16
|
import './main-e4a934b2.js';
|
|
17
17
|
import './slicedToArray-641f241f.js';
|
|
@@ -26,7 +26,7 @@ import './debounce-1a993acf.js';
|
|
|
26
26
|
import './index.es-29c1cef5.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import './visibility-sensor-0baa4eea.js';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-3849e3fe.js';
|
|
30
30
|
import './index-5f9f807a.js';
|
|
31
31
|
import './main-e4a934b2.js';
|
|
32
32
|
import './entities-7cc3bf45.js';
|
|
@@ -37,7 +37,7 @@ import './_set-species-3f8319f5.js';
|
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './Beam.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
|
-
import { B as BlockContent } from './BlockContent-
|
|
40
|
+
import { B as BlockContent } from './BlockContent-c409aca5.js';
|
|
41
41
|
import './index-c7e2ac95.js';
|
|
42
42
|
import './smoothscroll-0cd4c7a6.js';
|
|
43
43
|
import './GroupDeck.js';
|
|
@@ -46,7 +46,7 @@ import 'react-bootstrap';
|
|
|
46
46
|
import './iconBase-602d52fe.js';
|
|
47
47
|
import './index.esm-29e48d38.js';
|
|
48
48
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
49
|
-
import { g as getSerializers } from './index-
|
|
49
|
+
import { g as getSerializers } from './index-2749e7d8.js';
|
|
50
50
|
import './util-7700fc59.js';
|
|
51
51
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
52
52
|
import './_object-to-array-7e804fce.js';
|
|
@@ -27,7 +27,7 @@ import './debounce-1a993acf.js';
|
|
|
27
27
|
import './index.es-29c1cef5.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import './visibility-sensor-0baa4eea.js';
|
|
30
|
-
import './index-
|
|
30
|
+
import './index-3849e3fe.js';
|
|
31
31
|
import './main-e4a934b2.js';
|
|
32
32
|
import './stringify-4330ccdc.js';
|
|
33
33
|
import './slicedToArray-641f241f.js';
|
|
@@ -37,7 +37,7 @@ import './Segment.js';
|
|
|
37
37
|
import './Beam.js';
|
|
38
38
|
import './AdSlot.js';
|
|
39
39
|
import './ADInfeed-bb62ee44.js';
|
|
40
|
-
import './lodash-
|
|
40
|
+
import './lodash-ec8c6b48.js';
|
|
41
41
|
import './ADlgInfeed-ef0a892e.js';
|
|
42
42
|
import MasterDeck from './MasterDeck.js';
|
|
43
43
|
|
|
@@ -22,7 +22,7 @@ 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';
|
|
25
|
-
import './index-
|
|
25
|
+
import './index-3849e3fe.js';
|
|
26
26
|
import './index-5f9f807a.js';
|
|
27
27
|
import './main-e4a934b2.js';
|
|
28
28
|
import './slicedToArray-641f241f.js';
|