@mjhls/mjh-framework 1.0.1034 → 1.0.1035-segment
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 +1 -1
- package/dist/cjs/AlgoliaSearch.js +91 -63
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +25 -17
- 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-984a697b.js → ImageSlider-eb866353.js} +5 -10
- package/dist/cjs/IssueLanding.js +1 -1
- package/dist/cjs/LeftNav.js +3 -3
- package/dist/cjs/{MediaSeriesCard-df8ea0d1.js → MediaSeriesCard-3759e7fb.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-96fe6ef6.js → Tooltip-8011d690.js} +28 -9
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/View.js +2 -2
- package/dist/cjs/{defineProperty-e0fb52c5.js → defineProperty-19580e93.js} +2 -4
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
- package/dist/cjs/{index-cb6fa8f2.js → index-4b2706b8.js} +12 -11
- package/dist/cjs/index.js +4 -5
- package/dist/esm/AlgoliaSearch.js +91 -63
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +24 -16
- 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-497e9c88.js → ImageSlider-fc25202e.js} +5 -10
- package/dist/esm/IssueLanding.js +1 -1
- package/dist/esm/LeftNav.js +3 -3
- package/dist/esm/{MediaSeriesCard-e509e94d.js → MediaSeriesCard-f3db58fa.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-bc98d17e.js → Tooltip-2cdd0895.js} +28 -9
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/View.js +2 -2
- package/dist/esm/{defineProperty-23a8f8cd.js → defineProperty-e8022d1e.js} +2 -4
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
- package/dist/esm/{index-56c9814b.js → index-9d159a77.js} +12 -11
- package/dist/esm/index.js +4 -5
- package/package.json +1 -1
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/typeof-2f07d0e8.js +0 -30
|
@@ -2992,13 +2992,21 @@ 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;
|
|
2995
2999
|
|
|
2996
|
-
var _ref3 =
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3000
|
+
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
3001
|
+
x: x,
|
|
3002
|
+
y: y
|
|
3003
|
+
}) : {
|
|
3004
|
+
x: x,
|
|
3005
|
+
y: y
|
|
3006
|
+
};
|
|
3001
3007
|
|
|
3008
|
+
x = _ref3.x;
|
|
3009
|
+
y = _ref3.y;
|
|
3002
3010
|
var hasX = offsets.hasOwnProperty('x');
|
|
3003
3011
|
var hasY = offsets.hasOwnProperty('y');
|
|
3004
3012
|
var sideX = left;
|
|
@@ -3043,6 +3051,17 @@ function mapToStyles(_ref2) {
|
|
|
3043
3051
|
position: position
|
|
3044
3052
|
}, adaptive && unsetSides);
|
|
3045
3053
|
|
|
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
|
+
|
|
3046
3065
|
if (gpuAcceleration) {
|
|
3047
3066
|
var _Object$assign;
|
|
3048
3067
|
|
|
@@ -3052,9 +3071,9 @@ function mapToStyles(_ref2) {
|
|
|
3052
3071
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3053
3072
|
}
|
|
3054
3073
|
|
|
3055
|
-
function computeStyles(
|
|
3056
|
-
var state =
|
|
3057
|
-
options =
|
|
3074
|
+
function computeStyles(_ref5) {
|
|
3075
|
+
var state = _ref5.state,
|
|
3076
|
+
options = _ref5.options;
|
|
3058
3077
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
3059
3078
|
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
3060
3079
|
_options$adaptive = options.adaptive,
|
|
@@ -3353,7 +3372,7 @@ function getClippingParents(element) {
|
|
|
3353
3372
|
|
|
3354
3373
|
|
|
3355
3374
|
return clippingParents.filter(function (clippingParent) {
|
|
3356
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'
|
|
3375
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3357
3376
|
});
|
|
3358
3377
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3359
3378
|
// 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-9d159a77.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-9d159a77.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-0a63f9a3.js';
|
|
78
78
|
|
|
79
79
|
var getArticleSummary = function getArticleSummary(article) {
|
|
80
80
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -37,8 +37,7 @@ function _asyncToGenerator(fn) {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
module.exports = _asyncToGenerator;
|
|
41
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
40
|
+
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
42
41
|
});
|
|
43
42
|
|
|
44
43
|
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
@@ -59,8 +58,7 @@ function _defineProperty(obj, key, value) {
|
|
|
59
58
|
return obj;
|
|
60
59
|
}
|
|
61
60
|
|
|
62
|
-
module.exports = _defineProperty;
|
|
63
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
61
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
64
62
|
});
|
|
65
63
|
|
|
66
64
|
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-0a63f9a3.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';
|
|
@@ -20,7 +20,6 @@ var serialize_1 = serialize;
|
|
|
20
20
|
|
|
21
21
|
var decode = decodeURIComponent;
|
|
22
22
|
var encode = encodeURIComponent;
|
|
23
|
-
var pairSplitRegExp = /; */;
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -51,28 +50,29 @@ function parse(str, options) {
|
|
|
51
50
|
|
|
52
51
|
var obj = {};
|
|
53
52
|
var opt = options || {};
|
|
54
|
-
var pairs = str.split(
|
|
53
|
+
var pairs = str.split(';');
|
|
55
54
|
var dec = opt.decode || decode;
|
|
56
55
|
|
|
57
56
|
for (var i = 0; i < pairs.length; i++) {
|
|
58
57
|
var pair = pairs[i];
|
|
59
|
-
var
|
|
58
|
+
var index = pair.indexOf('=');
|
|
60
59
|
|
|
61
60
|
// skip things that don't look like key=value
|
|
62
|
-
if (
|
|
61
|
+
if (index < 0) {
|
|
63
62
|
continue;
|
|
64
63
|
}
|
|
65
64
|
|
|
66
|
-
var key = pair.
|
|
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
|
-
}
|
|
65
|
+
var key = pair.substring(0, index).trim();
|
|
73
66
|
|
|
74
67
|
// only assign once
|
|
75
68
|
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
|
}
|
|
@@ -2238,15 +2238,16 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2238
2238
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2239
2239
|
|
|
2240
2240
|
var choiceArray = choices.map(function (choice) {
|
|
2241
|
-
return React__default.createElement(
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
value: choice.choiceText,
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2241
|
+
return React__default.createElement(
|
|
2242
|
+
'div',
|
|
2243
|
+
{ className: 'radioButton form-check form-check-inline' },
|
|
2244
|
+
React__default.createElement('input', { name: question, value: choice.choiceText, id: choice.choiceText + ',' + question, type: 'radio', onClick: handlePollAnswer }),
|
|
2245
|
+
React__default.createElement(
|
|
2246
|
+
'label',
|
|
2247
|
+
{ className: 'form-check-label', 'for': choice.choiceText + ',' + question, style: { cursor: 'pointer' } },
|
|
2248
|
+
choice.choiceText
|
|
2249
|
+
)
|
|
2250
|
+
);
|
|
2250
2251
|
});
|
|
2251
2252
|
return React__default.createElement(
|
|
2252
2253
|
'div',
|
|
@@ -2404,7 +2405,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2404
2405
|
return _ref.apply(this, arguments);
|
|
2405
2406
|
};
|
|
2406
2407
|
}();
|
|
2407
|
-
//
|
|
2408
|
+
//console.log('formData', formData)
|
|
2408
2409
|
insertData();
|
|
2409
2410
|
restartPlayer();
|
|
2410
2411
|
e.preventDefault();
|
|
@@ -2732,7 +2733,7 @@ var Video = function Video(_ref) {
|
|
|
2732
2733
|
});
|
|
2733
2734
|
if (nonInitPolls.length > 0) polls = nonInitPolls;
|
|
2734
2735
|
}
|
|
2735
|
-
|
|
2736
|
+
if (initPolls.length > 0) autoplay = false;
|
|
2736
2737
|
var restartPlayer = function restartPlayer() {
|
|
2737
2738
|
setIsPollingTime(false);
|
|
2738
2739
|
videoPlayer.play();
|
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-9d159a77.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,7 +154,6 @@ 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';
|
|
158
157
|
import './index-98ca9cec.js';
|
|
159
158
|
import './ConferenceBanner-8792ebd2.js';
|
|
160
159
|
import 'next/head';
|
|
@@ -188,7 +187,7 @@ import 'react-bootstrap/Figure';
|
|
|
188
187
|
import 'react-bootstrap/OverlayTrigger';
|
|
189
188
|
import 'react-bootstrap/Tooltip';
|
|
190
189
|
import 'react-bootstrap/Popover';
|
|
191
|
-
import './index-
|
|
190
|
+
import './index-0a63f9a3.js';
|
|
192
191
|
import 'swr';
|
|
193
192
|
import 'passport-local';
|
|
194
193
|
import 'mysql';
|
|
@@ -197,8 +196,8 @@ import './SeriesSlider-a6b1d617.js';
|
|
|
197
196
|
import './style-inject.es-1f59c1d0.js';
|
|
198
197
|
import 'disqus-react';
|
|
199
198
|
import 'react-twitter-embed';
|
|
200
|
-
import './ImageSlider-
|
|
201
|
-
import './defineProperty-
|
|
199
|
+
import './ImageSlider-fc25202e.js';
|
|
200
|
+
import './defineProperty-e8022d1e.js';
|
|
202
201
|
import './VideoSeriesCard.js';
|
|
203
202
|
|
|
204
203
|
//Feature query to be used
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
var _typeof_1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
6
|
-
function _typeof(obj) {
|
|
7
|
-
"@babel/helpers - typeof";
|
|
8
|
-
|
|
9
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
10
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
11
|
-
return typeof obj;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
15
|
-
} else {
|
|
16
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
17
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return _typeof(obj);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
module.exports = _typeof;
|
|
27
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
var _typeof = _commonjsHelpers.unwrapExports(_typeof_1);
|
|
31
|
-
|
|
32
|
-
exports._typeof = _typeof;
|
|
33
|
-
exports._typeof_1 = _typeof_1;
|
|
@@ -1,30 +0,0 @@
|
|
|
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 };
|