@mjhls/mjh-framework 1.0.1035-segment → 1.0.1035
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/AlgoliaSearch.js +63 -91
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +17 -25
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/HamMagazine.js +11 -11
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/{ImageSlider-eb866353.js → ImageSlider-984a697b.js} +10 -5
- package/dist/cjs/IssueLanding.js +1 -1
- package/dist/cjs/LeftNav.js +3 -3
- package/dist/cjs/{MediaSeriesCard-3759e7fb.js → MediaSeriesCard-a879b1b4.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +3 -3
- package/dist/cjs/MediaSeriesLandingPaginated.js +3 -3
- package/dist/cjs/NavDvm.js +6 -6
- package/dist/cjs/NavMagazine.js +7 -7
- package/dist/cjs/NavNative.js +8 -8
- package/dist/cjs/PartnerDetailListing.js +3 -3
- package/dist/cjs/PartnerDetailListingPaginated.js +3 -3
- package/dist/cjs/PodcastsLanding.js +2 -2
- package/dist/cjs/SideFooter.js +3 -3
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/{Tooltip-8011d690.js → Tooltip-96fe6ef6.js} +9 -28
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/View.js +2 -2
- package/dist/cjs/{defineProperty-19580e93.js → defineProperty-e0fb52c5.js} +4 -2
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{index-4b2706b8.js → index-0b098ab2.js} +3 -3
- package/dist/cjs/{index-3cd60d26.js → index-bd6c9f56.js} +11 -11
- package/dist/cjs/index.js +5 -4
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/esm/AlgoliaSearch.js +63 -91
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +16 -24
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/{ImageSlider-fc25202e.js → ImageSlider-497e9c88.js} +10 -5
- package/dist/esm/IssueLanding.js +1 -1
- package/dist/esm/LeftNav.js +3 -3
- package/dist/esm/{MediaSeriesCard-f3db58fa.js → MediaSeriesCard-18035cc7.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +3 -3
- package/dist/esm/MediaSeriesLandingPaginated.js +3 -3
- package/dist/esm/NavDvm.js +6 -6
- package/dist/esm/NavMagazine.js +7 -7
- package/dist/esm/NavNative.js +8 -8
- package/dist/esm/PartnerDetailListing.js +3 -3
- package/dist/esm/PartnerDetailListingPaginated.js +3 -3
- package/dist/esm/PodcastsLanding.js +2 -2
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/{Tooltip-2cdd0895.js → Tooltip-bc98d17e.js} +9 -28
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/View.js +2 -2
- package/dist/esm/{defineProperty-e8022d1e.js → defineProperty-23a8f8cd.js} +4 -2
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-9d159a77.js → index-a3144311.js} +3 -3
- package/dist/esm/{index-0a63f9a3.js → index-db3bb315.js} +11 -11
- package/dist/esm/index.js +5 -4
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +1 -1
|
@@ -2992,21 +2992,13 @@ function mapToStyles(_ref2) {
|
|
|
2992
2992
|
adaptive = _ref2.adaptive,
|
|
2993
2993
|
roundOffsets = _ref2.roundOffsets,
|
|
2994
2994
|
isFixed = _ref2.isFixed;
|
|
2995
|
-
var _offsets$x = offsets.x,
|
|
2996
|
-
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
2997
|
-
_offsets$y = offsets.y,
|
|
2998
|
-
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
2999
2995
|
|
|
3000
|
-
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets(
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
y: y
|
|
3006
|
-
};
|
|
2996
|
+
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
2997
|
+
_ref3$x = _ref3.x,
|
|
2998
|
+
x = _ref3$x === void 0 ? 0 : _ref3$x,
|
|
2999
|
+
_ref3$y = _ref3.y,
|
|
3000
|
+
y = _ref3$y === void 0 ? 0 : _ref3$y;
|
|
3007
3001
|
|
|
3008
|
-
x = _ref3.x;
|
|
3009
|
-
y = _ref3.y;
|
|
3010
3002
|
var hasX = offsets.hasOwnProperty('x');
|
|
3011
3003
|
var hasY = offsets.hasOwnProperty('y');
|
|
3012
3004
|
var sideX = left;
|
|
@@ -3051,17 +3043,6 @@ function mapToStyles(_ref2) {
|
|
|
3051
3043
|
position: position
|
|
3052
3044
|
}, adaptive && unsetSides);
|
|
3053
3045
|
|
|
3054
|
-
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3055
|
-
x: x,
|
|
3056
|
-
y: y
|
|
3057
|
-
}) : {
|
|
3058
|
-
x: x,
|
|
3059
|
-
y: y
|
|
3060
|
-
};
|
|
3061
|
-
|
|
3062
|
-
x = _ref4.x;
|
|
3063
|
-
y = _ref4.y;
|
|
3064
|
-
|
|
3065
3046
|
if (gpuAcceleration) {
|
|
3066
3047
|
var _Object$assign;
|
|
3067
3048
|
|
|
@@ -3071,9 +3052,9 @@ function mapToStyles(_ref2) {
|
|
|
3071
3052
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3072
3053
|
}
|
|
3073
3054
|
|
|
3074
|
-
function computeStyles(
|
|
3075
|
-
var state =
|
|
3076
|
-
options =
|
|
3055
|
+
function computeStyles(_ref4) {
|
|
3056
|
+
var state = _ref4.state,
|
|
3057
|
+
options = _ref4.options;
|
|
3077
3058
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
3078
3059
|
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
3079
3060
|
_options$adaptive = options.adaptive,
|
|
@@ -3372,7 +3353,7 @@ function getClippingParents(element) {
|
|
|
3372
3353
|
|
|
3373
3354
|
|
|
3374
3355
|
return clippingParents.filter(function (clippingParent) {
|
|
3375
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3356
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
|
|
3376
3357
|
});
|
|
3377
3358
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3378
3359
|
// clipping parents
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-a3144311.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,7 +15,7 @@ import FormControl from 'react-bootstrap/FormControl';
|
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-a3144311.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-a6b1d617.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-5a281334.js';
|
|
@@ -74,7 +74,7 @@ import './checkSisterSite-a7218fda.js';
|
|
|
74
74
|
import './debounce-533d9748.js';
|
|
75
75
|
import './isSymbol-a7e9aafe.js';
|
|
76
76
|
import './toNumber-5aeba6e7.js';
|
|
77
|
-
import './index-
|
|
77
|
+
import './index-db3bb315.js';
|
|
78
78
|
|
|
79
79
|
var getArticleSummary = function getArticleSummary(article) {
|
|
80
80
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -37,7 +37,8 @@ function _asyncToGenerator(fn) {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
module.exports = _asyncToGenerator
|
|
40
|
+
module.exports = _asyncToGenerator;
|
|
41
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
41
42
|
});
|
|
42
43
|
|
|
43
44
|
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
@@ -58,7 +59,8 @@ function _defineProperty(obj, key, value) {
|
|
|
58
59
|
return obj;
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
module.exports = _defineProperty
|
|
62
|
+
module.exports = _defineProperty;
|
|
63
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
62
64
|
});
|
|
63
65
|
|
|
64
66
|
var _defineProperty = unwrapExports(defineProperty);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import { c as cookie } from './index-
|
|
3
|
+
import { c as cookie } from './index-db3bb315.js';
|
|
4
4
|
import getQuery from './getQuery.js';
|
|
5
5
|
import './core.get-iterator-method-ea258bb1.js';
|
|
6
6
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -2234,14 +2234,14 @@ var _Object$values = unwrapExports(values);
|
|
|
2234
2234
|
|
|
2235
2235
|
var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
2236
2236
|
var question = _ref.question,
|
|
2237
|
-
choices = _ref.choices
|
|
2238
|
-
|
|
2237
|
+
choices = _ref.choices;
|
|
2238
|
+
_ref.handlePollAnswer;
|
|
2239
2239
|
|
|
2240
2240
|
var choiceArray = choices.map(function (choice) {
|
|
2241
2241
|
return React__default.createElement(
|
|
2242
2242
|
'div',
|
|
2243
2243
|
{ className: 'radioButton form-check form-check-inline' },
|
|
2244
|
-
React__default.createElement('input', { name: question, value: choice.choiceText, id: choice.choiceText + ',' + question, type: 'radio'
|
|
2244
|
+
React__default.createElement('input', { name: question, value: choice.choiceText, id: choice.choiceText + ',' + question, type: 'radio' }),
|
|
2245
2245
|
React__default.createElement(
|
|
2246
2246
|
'label',
|
|
2247
2247
|
{ className: 'form-check-label', 'for': choice.choiceText + ',' + question, style: { cursor: 'pointer' } },
|
|
@@ -20,6 +20,7 @@ var serialize_1 = serialize;
|
|
|
20
20
|
|
|
21
21
|
var decode = decodeURIComponent;
|
|
22
22
|
var encode = encodeURIComponent;
|
|
23
|
+
var pairSplitRegExp = /; */;
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
26
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -50,29 +51,28 @@ function parse(str, options) {
|
|
|
50
51
|
|
|
51
52
|
var obj = {};
|
|
52
53
|
var opt = options || {};
|
|
53
|
-
var pairs = str.split(
|
|
54
|
+
var pairs = str.split(pairSplitRegExp);
|
|
54
55
|
var dec = opt.decode || decode;
|
|
55
56
|
|
|
56
57
|
for (var i = 0; i < pairs.length; i++) {
|
|
57
58
|
var pair = pairs[i];
|
|
58
|
-
var
|
|
59
|
+
var eq_idx = pair.indexOf('=');
|
|
59
60
|
|
|
60
61
|
// skip things that don't look like key=value
|
|
61
|
-
if (
|
|
62
|
+
if (eq_idx < 0) {
|
|
62
63
|
continue;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
var key = pair.
|
|
66
|
+
var key = pair.substr(0, eq_idx).trim();
|
|
67
|
+
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
68
|
+
|
|
69
|
+
// quoted values
|
|
70
|
+
if ('"' == val[0]) {
|
|
71
|
+
val = val.slice(1, -1);
|
|
72
|
+
}
|
|
66
73
|
|
|
67
74
|
// only assign once
|
|
68
75
|
if (undefined == obj[key]) {
|
|
69
|
-
var val = pair.substring(index + 1, pair.length).trim();
|
|
70
|
-
|
|
71
|
-
// quoted values
|
|
72
|
-
if (val[0] === '"') {
|
|
73
|
-
val = val.slice(1, -1);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
76
|
obj[key] = tryDecode(val, dec);
|
|
77
77
|
}
|
|
78
78
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
87
87
|
export { default as YahooHero } from './YahooHero.js';
|
|
88
88
|
export { default as GridHero } from './GridHero.js';
|
|
89
89
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
90
|
-
export { g as getSerializers } from './index-
|
|
90
|
+
export { g as getSerializers } from './index-a3144311.js';
|
|
91
91
|
export { default as Beam } from './Beam.js';
|
|
92
92
|
export { default as Segment } from './Segment.js';
|
|
93
93
|
export { default as KMTracker } from './KMTracker.js';
|
|
@@ -154,6 +154,7 @@ import './_object-to-array-b61d5965.js';
|
|
|
154
154
|
import 'react-bootstrap/Spinner';
|
|
155
155
|
import 'react-bootstrap/Form';
|
|
156
156
|
import './js.cookie-6874175c.js';
|
|
157
|
+
import './typeof-2f07d0e8.js';
|
|
157
158
|
import './index-98ca9cec.js';
|
|
158
159
|
import './ConferenceBanner-8792ebd2.js';
|
|
159
160
|
import 'next/head';
|
|
@@ -187,7 +188,7 @@ import 'react-bootstrap/Figure';
|
|
|
187
188
|
import 'react-bootstrap/OverlayTrigger';
|
|
188
189
|
import 'react-bootstrap/Tooltip';
|
|
189
190
|
import 'react-bootstrap/Popover';
|
|
190
|
-
import './index-
|
|
191
|
+
import './index-db3bb315.js';
|
|
191
192
|
import 'swr';
|
|
192
193
|
import 'passport-local';
|
|
193
194
|
import 'mysql';
|
|
@@ -196,8 +197,8 @@ import './SeriesSlider-a6b1d617.js';
|
|
|
196
197
|
import './style-inject.es-1f59c1d0.js';
|
|
197
198
|
import 'disqus-react';
|
|
198
199
|
import 'react-twitter-embed';
|
|
199
|
-
import './ImageSlider-
|
|
200
|
-
import './defineProperty-
|
|
200
|
+
import './ImageSlider-497e9c88.js';
|
|
201
|
+
import './defineProperty-23a8f8cd.js';
|
|
201
202
|
import './VideoSeriesCard.js';
|
|
202
203
|
|
|
203
204
|
//Feature query to be used
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
|
|
3
|
+
var _typeof_1 = createCommonjsModule(function (module) {
|
|
4
|
+
function _typeof(obj) {
|
|
5
|
+
"@babel/helpers - typeof";
|
|
6
|
+
|
|
7
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
8
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
9
|
+
return typeof obj;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
13
|
+
} else {
|
|
14
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
15
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return _typeof(obj);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
module.exports = _typeof;
|
|
25
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
var _typeof = unwrapExports(_typeof_1);
|
|
29
|
+
|
|
30
|
+
export { _typeof as _, _typeof_1 as a };
|