@mjhls/mjh-framework 1.0.626-iOS-chrome-fix-v2 → 1.0.626-search-css-fix
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/ArticleQueue.js +2 -2
- package/dist/cjs/Auth.js +6 -206
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/DeckContent.js +2 -2
- package/dist/cjs/DeckQueue.js +1 -1
- package/dist/cjs/EventsDeck.js +1 -1
- package/dist/cjs/ExternalResources.js +2 -2
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +3 -3
- package/dist/cjs/HamMagazine.js +2 -2
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +3 -3
- package/dist/cjs/NavMagazine.js +2 -2
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +4 -4
- package/dist/cjs/QueueDeckExpanded.js +3 -3
- package/dist/cjs/{SocialSearchComponent-7febe148.js → SocialSearchComponent-f4c2b3c6.js} +4 -6
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/View.js +4 -4
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +2 -2
- package/dist/cjs/{index-2cc1225c.js → index-9ea8efe8.js} +1 -1
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/{main-a4cb15bb.js → main-88348b15.js} +0 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/ArticleQueue.js +2 -2
- package/dist/esm/Auth.js +1 -201
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/DeckContent.js +2 -2
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/EventsDeck.js +1 -1
- package/dist/esm/ExternalResources.js +2 -2
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/IssueLanding.js +3 -3
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +3 -3
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/PartnerDetailListing.js +4 -4
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/{SocialSearchComponent-74c5add5.js → SocialSearchComponent-8b6fee19.js} +4 -6
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/View.js +4 -4
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +2 -2
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-1df8b68e.js → index-efc023e1.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{main-5d1e4bd3.js → main-d7ee6151.js} +1 -1
- package/package.json +1 -1
- /package/dist/cjs/{ADInfeed-cbdb3a85.js → ADInfeed-bee48ae4.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-abcaf930.js → ADlgInfeed-69156702.js} +0 -0
- /package/dist/esm/{ADInfeed-cab1e5a5.js → ADInfeed-6cf59c26.js} +0 -0
- /package/dist/esm/{ADlgInfeed-b65e5399.js → ADlgInfeed-1529b85b.js} +0 -0
|
@@ -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
|
@@ -32,7 +32,7 @@ require('react-dom');
|
|
|
32
32
|
require('./visibility-sensor-0c45a583.js');
|
|
33
33
|
require('./index-39beccb3.js');
|
|
34
34
|
require('./index-fa0fb52c.js');
|
|
35
|
-
require('./main-
|
|
35
|
+
require('./main-88348b15.js');
|
|
36
36
|
require('./entities-310b46ee.js');
|
|
37
37
|
require('./stringify-7c5aff47.js');
|
|
38
38
|
require('./slicedToArray-8063ee51.js');
|
|
@@ -40,10 +40,10 @@ require('./asyncToGenerator-8e707718.js');
|
|
|
40
40
|
require('./_set-species-4458e975.js');
|
|
41
41
|
var Segment = require('./beam-d22818d3.js');
|
|
42
42
|
var AdSlot = require('./AdSlot.js');
|
|
43
|
-
require('./ADInfeed-
|
|
43
|
+
require('./ADInfeed-bee48ae4.js');
|
|
44
44
|
var DeckContent = require('./DeckContent.js');
|
|
45
45
|
require('./lodash-7fd85bcf.js');
|
|
46
|
-
require('./ADlgInfeed-
|
|
46
|
+
require('./ADlgInfeed-69156702.js');
|
|
47
47
|
require('./_arrayMap-3b4a0f75.js');
|
|
48
48
|
require('./get-5dfcdc33.js');
|
|
49
49
|
var AD = require('./AD.js');
|
|
@@ -76,7 +76,7 @@ require('./index-3294d3bc.js');
|
|
|
76
76
|
require('./js.cookie-a511c430.js');
|
|
77
77
|
var EventsDeck = require('./EventsDeck.js');
|
|
78
78
|
var CMEDeck = require('./CMEDeck.js');
|
|
79
|
-
var getSerializers = require('./index-
|
|
79
|
+
var getSerializers = require('./index-9ea8efe8.js');
|
|
80
80
|
require('./util-f2c1b65b.js');
|
|
81
81
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
82
82
|
require('react-bootstrap/Pagination');
|
|
@@ -109,7 +109,7 @@ require('./index.esm-d1259b34.js');
|
|
|
109
109
|
var SocialIcons = require('./SocialIcons.js');
|
|
110
110
|
require('react-bootstrap/Form');
|
|
111
111
|
require('react-bootstrap/FormControl');
|
|
112
|
-
require('./SocialSearchComponent-
|
|
112
|
+
require('./SocialSearchComponent-f4c2b3c6.js');
|
|
113
113
|
var NavMagazine = require('./NavMagazine.js');
|
|
114
114
|
var NavNative = require('./NavNative.js');
|
|
115
115
|
var Search = require('./Search.js');
|
|
@@ -158,9 +158,9 @@ var ConferenceArticleCard = require('./ConferenceArticleCard.js');
|
|
|
158
158
|
var KMTracker = require('./KMTracker.js');
|
|
159
159
|
var getSeriesDetail = require('./getSeriesDetail.js');
|
|
160
160
|
var SetCookie = require('./SetCookie.js');
|
|
161
|
-
require('
|
|
162
|
-
var getQuery = require('./getQuery.js');
|
|
161
|
+
require('./index-bd6c9f56.js');
|
|
163
162
|
var getRelatedArticle = require('./getRelatedArticle.js');
|
|
163
|
+
var getQuery = require('./getQuery.js');
|
|
164
164
|
var Auth = require('./Auth.js');
|
|
165
165
|
require('swr');
|
|
166
166
|
require('passport-local');
|
|
@@ -249,8 +249,8 @@ exports.ConferenceArticleCard = ConferenceArticleCard;
|
|
|
249
249
|
exports.KMTracker = KMTracker;
|
|
250
250
|
exports.getSeriesDetail = getSeriesDetail;
|
|
251
251
|
exports.SetCookie = SetCookie;
|
|
252
|
-
exports.getQuery = getQuery;
|
|
253
252
|
exports.getRelatedArticle = getRelatedArticle;
|
|
253
|
+
exports.getQuery = getQuery;
|
|
254
254
|
exports.Auth = Auth.default;
|
|
255
255
|
exports.getTargeting = getTargeting.getTargeting;
|
|
256
256
|
exports.View = View;
|
package/dist/esm/AD300x250.js
CHANGED
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import { m as main_36 } from './main-
|
|
12
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import { m as main_36 } from './main-
|
|
12
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import { m as main_36 } from './main-
|
|
12
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/ADGutter.js
CHANGED
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/ADSkyscraper.js
CHANGED
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/ADWebcast.js
CHANGED
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/ADWelcome.js
CHANGED
|
@@ -9,7 +9,7 @@ import './index-3f4dd6f2.js';
|
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-d7ee6151.js';
|
|
13
13
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
14
14
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/AdSlot.js
CHANGED
|
@@ -9,7 +9,7 @@ import { a as lib_2 } from './index-3f4dd6f2.js';
|
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
12
|
-
import { b as main_16 } from './main-
|
|
12
|
+
import { b as main_16 } from './main-d7ee6151.js';
|
|
13
13
|
import './stringify-feadff37.js';
|
|
14
14
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/ArticleQueue.js
CHANGED
|
@@ -25,7 +25,7 @@ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
27
27
|
import './index-5f9f807a.js';
|
|
28
|
-
import { m as main_36 } from './main-
|
|
28
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
29
29
|
import './entities-7cc3bf45.js';
|
|
30
30
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
31
31
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-a58d7edf.js';
|
|
@@ -39,7 +39,7 @@ import './smoothscroll-4b699764.js';
|
|
|
39
39
|
import './GroupDeck.js';
|
|
40
40
|
import 'react-bootstrap';
|
|
41
41
|
import 'react-bootstrap/Button';
|
|
42
|
-
import { I as InscreenSensor, g as getSerializers } from './index-
|
|
42
|
+
import { I as InscreenSensor, g as getSerializers } from './index-efc023e1.js';
|
|
43
43
|
import './util-7700fc59.js';
|
|
44
44
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
45
45
|
import 'react-bootstrap/Pagination';
|
package/dist/esm/Auth.js
CHANGED
|
@@ -14,6 +14,7 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-d25
|
|
|
14
14
|
import './_set-species-75f77d40.js';
|
|
15
15
|
import { Col, Form, Button, Spinner } from 'react-bootstrap';
|
|
16
16
|
import { u as util } from './util-7700fc59.js';
|
|
17
|
+
import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
|
|
17
18
|
import useSWR from 'swr';
|
|
18
19
|
import Local from 'passport-local';
|
|
19
20
|
import mysql from 'mysql';
|
|
@@ -1201,207 +1202,6 @@ var SignupForm$1 = function SignupForm(props) {
|
|
|
1201
1202
|
);
|
|
1202
1203
|
};
|
|
1203
1204
|
|
|
1204
|
-
/*!
|
|
1205
|
-
* cookie
|
|
1206
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
1207
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
1208
|
-
* MIT Licensed
|
|
1209
|
-
*/
|
|
1210
|
-
|
|
1211
|
-
/**
|
|
1212
|
-
* Module exports.
|
|
1213
|
-
* @public
|
|
1214
|
-
*/
|
|
1215
|
-
|
|
1216
|
-
var parse_1 = parse;
|
|
1217
|
-
var serialize_1 = serialize;
|
|
1218
|
-
|
|
1219
|
-
/**
|
|
1220
|
-
* Module variables.
|
|
1221
|
-
* @private
|
|
1222
|
-
*/
|
|
1223
|
-
|
|
1224
|
-
var decode = decodeURIComponent;
|
|
1225
|
-
var encode = encodeURIComponent;
|
|
1226
|
-
var pairSplitRegExp = /; */;
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
1230
|
-
*
|
|
1231
|
-
* field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
|
|
1232
|
-
* field-vchar = VCHAR / obs-text
|
|
1233
|
-
* obs-text = %x80-FF
|
|
1234
|
-
*/
|
|
1235
|
-
|
|
1236
|
-
var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
1237
|
-
|
|
1238
|
-
/**
|
|
1239
|
-
* Parse a cookie header.
|
|
1240
|
-
*
|
|
1241
|
-
* Parse the given cookie header string into an object
|
|
1242
|
-
* The object has the various cookies as keys(names) => values
|
|
1243
|
-
*
|
|
1244
|
-
* @param {string} str
|
|
1245
|
-
* @param {object} [options]
|
|
1246
|
-
* @return {object}
|
|
1247
|
-
* @public
|
|
1248
|
-
*/
|
|
1249
|
-
|
|
1250
|
-
function parse(str, options) {
|
|
1251
|
-
if (typeof str !== 'string') {
|
|
1252
|
-
throw new TypeError('argument str must be a string');
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
var obj = {};
|
|
1256
|
-
var opt = options || {};
|
|
1257
|
-
var pairs = str.split(pairSplitRegExp);
|
|
1258
|
-
var dec = opt.decode || decode;
|
|
1259
|
-
|
|
1260
|
-
for (var i = 0; i < pairs.length; i++) {
|
|
1261
|
-
var pair = pairs[i];
|
|
1262
|
-
var eq_idx = pair.indexOf('=');
|
|
1263
|
-
|
|
1264
|
-
// skip things that don't look like key=value
|
|
1265
|
-
if (eq_idx < 0) {
|
|
1266
|
-
continue;
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
var key = pair.substr(0, eq_idx).trim();
|
|
1270
|
-
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
1271
|
-
|
|
1272
|
-
// quoted values
|
|
1273
|
-
if ('"' == val[0]) {
|
|
1274
|
-
val = val.slice(1, -1);
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
// only assign once
|
|
1278
|
-
if (undefined == obj[key]) {
|
|
1279
|
-
obj[key] = tryDecode(val, dec);
|
|
1280
|
-
}
|
|
1281
|
-
}
|
|
1282
|
-
|
|
1283
|
-
return obj;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
/**
|
|
1287
|
-
* Serialize data into a cookie header.
|
|
1288
|
-
*
|
|
1289
|
-
* Serialize the a name value pair into a cookie string suitable for
|
|
1290
|
-
* http headers. An optional options object specified cookie parameters.
|
|
1291
|
-
*
|
|
1292
|
-
* serialize('foo', 'bar', { httpOnly: true })
|
|
1293
|
-
* => "foo=bar; httpOnly"
|
|
1294
|
-
*
|
|
1295
|
-
* @param {string} name
|
|
1296
|
-
* @param {string} val
|
|
1297
|
-
* @param {object} [options]
|
|
1298
|
-
* @return {string}
|
|
1299
|
-
* @public
|
|
1300
|
-
*/
|
|
1301
|
-
|
|
1302
|
-
function serialize(name, val, options) {
|
|
1303
|
-
var opt = options || {};
|
|
1304
|
-
var enc = opt.encode || encode;
|
|
1305
|
-
|
|
1306
|
-
if (typeof enc !== 'function') {
|
|
1307
|
-
throw new TypeError('option encode is invalid');
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
if (!fieldContentRegExp.test(name)) {
|
|
1311
|
-
throw new TypeError('argument name is invalid');
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
var value = enc(val);
|
|
1315
|
-
|
|
1316
|
-
if (value && !fieldContentRegExp.test(value)) {
|
|
1317
|
-
throw new TypeError('argument val is invalid');
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
var str = name + '=' + value;
|
|
1321
|
-
|
|
1322
|
-
if (null != opt.maxAge) {
|
|
1323
|
-
var maxAge = opt.maxAge - 0;
|
|
1324
|
-
|
|
1325
|
-
if (isNaN(maxAge) || !isFinite(maxAge)) {
|
|
1326
|
-
throw new TypeError('option maxAge is invalid')
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
str += '; Max-Age=' + Math.floor(maxAge);
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
if (opt.domain) {
|
|
1333
|
-
if (!fieldContentRegExp.test(opt.domain)) {
|
|
1334
|
-
throw new TypeError('option domain is invalid');
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
str += '; Domain=' + opt.domain;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
if (opt.path) {
|
|
1341
|
-
if (!fieldContentRegExp.test(opt.path)) {
|
|
1342
|
-
throw new TypeError('option path is invalid');
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
str += '; Path=' + opt.path;
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
|
-
if (opt.expires) {
|
|
1349
|
-
if (typeof opt.expires.toUTCString !== 'function') {
|
|
1350
|
-
throw new TypeError('option expires is invalid');
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
str += '; Expires=' + opt.expires.toUTCString();
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
if (opt.httpOnly) {
|
|
1357
|
-
str += '; HttpOnly';
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
if (opt.secure) {
|
|
1361
|
-
str += '; Secure';
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
if (opt.sameSite) {
|
|
1365
|
-
var sameSite = typeof opt.sameSite === 'string'
|
|
1366
|
-
? opt.sameSite.toLowerCase() : opt.sameSite;
|
|
1367
|
-
|
|
1368
|
-
switch (sameSite) {
|
|
1369
|
-
case true:
|
|
1370
|
-
str += '; SameSite=Strict';
|
|
1371
|
-
break;
|
|
1372
|
-
case 'lax':
|
|
1373
|
-
str += '; SameSite=Lax';
|
|
1374
|
-
break;
|
|
1375
|
-
case 'strict':
|
|
1376
|
-
str += '; SameSite=Strict';
|
|
1377
|
-
break;
|
|
1378
|
-
case 'none':
|
|
1379
|
-
str += '; SameSite=None';
|
|
1380
|
-
break;
|
|
1381
|
-
default:
|
|
1382
|
-
throw new TypeError('option sameSite is invalid');
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
return str;
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1390
|
-
* Try decoding a string using a decoding function.
|
|
1391
|
-
*
|
|
1392
|
-
* @param {string} str
|
|
1393
|
-
* @param {function} decode
|
|
1394
|
-
* @private
|
|
1395
|
-
*/
|
|
1396
|
-
|
|
1397
|
-
function tryDecode(str, decode) {
|
|
1398
|
-
try {
|
|
1399
|
-
return decode(str);
|
|
1400
|
-
} catch (e) {
|
|
1401
|
-
return str;
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
1205
|
var TOKEN_NAME = 'token';
|
|
1406
1206
|
var MAX_AGE = 60 * 60 * 8; // 8 hours
|
|
1407
1207
|
|
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -17,7 +17,7 @@ import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
|
17
17
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
18
18
|
import 'react-dom';
|
|
19
19
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
20
|
-
import { m as main_36 } from './main-
|
|
20
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
21
21
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
22
22
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-d25aac66.js';
|
|
23
23
|
import './_set-species-75f77d40.js';
|
package/dist/esm/Column3.js
CHANGED
|
@@ -12,7 +12,7 @@ import Row from 'react-bootstrap/Row';
|
|
|
12
12
|
import Col from 'react-bootstrap/Col';
|
|
13
13
|
import './isSymbol-47f5ff3b.js';
|
|
14
14
|
import './debounce-a0d9abca.js';
|
|
15
|
-
import { m as main_36 } from './main-
|
|
15
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
16
16
|
import './stringify-feadff37.js';
|
|
17
17
|
import './slicedToArray-a58d7edf.js';
|
|
18
18
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -28,7 +28,7 @@ import 'react-dom';
|
|
|
28
28
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
29
29
|
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
30
30
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
31
|
-
import { m as main_36 } from './main-
|
|
31
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
32
32
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
33
33
|
import './stringify-feadff37.js';
|
|
34
34
|
import './slicedToArray-a58d7edf.js';
|
|
@@ -36,7 +36,7 @@ import './asyncToGenerator-d25aac66.js';
|
|
|
36
36
|
import './_set-species-75f77d40.js';
|
|
37
37
|
import './beam-c40d77ae.js';
|
|
38
38
|
import './AdSlot.js';
|
|
39
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
39
|
+
import { A as ADInfeed } from './ADInfeed-6cf59c26.js';
|
|
40
40
|
|
|
41
41
|
var DeckContent = function (_React$Component) {
|
|
42
42
|
_inherits(DeckContent, _React$Component);
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -28,7 +28,7 @@ import 'react-dom';
|
|
|
28
28
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
29
29
|
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
30
30
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
31
|
-
import { m as main_36 } from './main-
|
|
31
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
32
32
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
33
33
|
import './_arrayMap-818441dd.js';
|
|
34
34
|
import { g as get_1 } from './get-58d2f7cc.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -11,7 +11,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
11
11
|
import Card from 'react-bootstrap/Card';
|
|
12
12
|
import './moment-e2f9b20c.js';
|
|
13
13
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
14
|
-
import { m as main_36 } from './main-
|
|
14
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
15
15
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
16
16
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
17
17
|
import Button from 'react-bootstrap/Button';
|