@mjhls/mjh-framework 1.0.994-invalidelement-v1 → 1.0.994-invalidelement-v3
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/AdSlotsProvider.js +5 -4
- package/dist/cjs/AlgoliaSearch.js +352 -253
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/Auth.js +26 -22830
- package/dist/cjs/ExternalResources.js +3 -3
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/{ImageSlider-ca708da8.js → ImageSlider-1ec0408b.js} +1 -1100
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/{MediaSeriesCard-f6db8f70.js → MediaSeriesCard-e93c0855.js} +29 -10
- package/dist/cjs/MediaSeriesLanding.js +4 -4
- package/dist/cjs/MediaSeriesLandingPaginated.js +4 -4
- package/dist/cjs/PartnerDetailListing.js +6 -6
- package/dist/cjs/PartnerDetailListingPaginated.js +6 -6
- package/dist/cjs/Schema.js +1 -2
- package/dist/cjs/TaxonomyDescription.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/View.js +3 -3
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{index-b10d6863.js → index-64fe6bc7.js} +14 -11
- package/dist/cjs/index.js +8 -5
- package/dist/{esm/empty-a8042e3c.js → cjs/util-93a37fd0.js} +3 -135
- package/dist/esm/AdSlotsProvider.js +2 -2
- package/dist/esm/AlgoliaSearch.js +100 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/Auth.js +18 -22825
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/{ImageSlider-fada4f0c.js → ImageSlider-83913c4c.js} +3 -1101
- package/dist/esm/IssueLanding.js +3 -3
- package/dist/esm/{MediaSeriesCard-96ac8ed4.js → MediaSeriesCard-9a4cc6ac.js} +29 -10
- package/dist/esm/MediaSeriesLanding.js +4 -4
- package/dist/esm/MediaSeriesLandingPaginated.js +4 -4
- package/dist/esm/PartnerDetailListing.js +5 -5
- package/dist/esm/PartnerDetailListingPaginated.js +5 -5
- package/dist/esm/Schema.js +1 -2
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/View.js +3 -3
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{index-076baa11.js → index-19ae7235.js} +6 -4
- package/dist/esm/index.js +8 -5
- package/dist/{cjs/empty-559717f3.js → esm/util-8ed16d48.js} +1 -146
- package/package.json +1 -1
- package/dist/cjs/defineProperty-ad65f5f0.js +0 -110
- package/dist/cjs/index-0cf4c9fc.js +0 -904
- package/dist/esm/defineProperty-50094484.js +0 -101
- package/dist/esm/index-e7075467.js +0 -897
|
@@ -1,136 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
|
|
3
|
-
|
|
4
|
-
function defaultSetTimout() {
|
|
5
|
-
throw new Error('setTimeout has not been defined');
|
|
6
|
-
}
|
|
7
|
-
function defaultClearTimeout () {
|
|
8
|
-
throw new Error('clearTimeout has not been defined');
|
|
9
|
-
}
|
|
10
|
-
var cachedSetTimeout = defaultSetTimout;
|
|
11
|
-
var cachedClearTimeout = defaultClearTimeout;
|
|
12
|
-
if (typeof global.setTimeout === 'function') {
|
|
13
|
-
cachedSetTimeout = setTimeout;
|
|
14
|
-
}
|
|
15
|
-
if (typeof global.clearTimeout === 'function') {
|
|
16
|
-
cachedClearTimeout = clearTimeout;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function runTimeout(fun) {
|
|
20
|
-
if (cachedSetTimeout === setTimeout) {
|
|
21
|
-
//normal enviroments in sane situations
|
|
22
|
-
return setTimeout(fun, 0);
|
|
23
|
-
}
|
|
24
|
-
// if setTimeout wasn't available but was latter defined
|
|
25
|
-
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
26
|
-
cachedSetTimeout = setTimeout;
|
|
27
|
-
return setTimeout(fun, 0);
|
|
28
|
-
}
|
|
29
|
-
try {
|
|
30
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
31
|
-
return cachedSetTimeout(fun, 0);
|
|
32
|
-
} catch(e){
|
|
33
|
-
try {
|
|
34
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
35
|
-
return cachedSetTimeout.call(null, fun, 0);
|
|
36
|
-
} catch(e){
|
|
37
|
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
|
38
|
-
return cachedSetTimeout.call(this, fun, 0);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
function runClearTimeout(marker) {
|
|
45
|
-
if (cachedClearTimeout === clearTimeout) {
|
|
46
|
-
//normal enviroments in sane situations
|
|
47
|
-
return clearTimeout(marker);
|
|
48
|
-
}
|
|
49
|
-
// if clearTimeout wasn't available but was latter defined
|
|
50
|
-
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
51
|
-
cachedClearTimeout = clearTimeout;
|
|
52
|
-
return clearTimeout(marker);
|
|
53
|
-
}
|
|
54
|
-
try {
|
|
55
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
56
|
-
return cachedClearTimeout(marker);
|
|
57
|
-
} catch (e){
|
|
58
|
-
try {
|
|
59
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
60
|
-
return cachedClearTimeout.call(null, marker);
|
|
61
|
-
} catch (e){
|
|
62
|
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
|
63
|
-
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
64
|
-
return cachedClearTimeout.call(this, marker);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
1
|
+
'use strict';
|
|
68
2
|
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
var queue = [];
|
|
72
|
-
var draining = false;
|
|
73
|
-
var currentQueue;
|
|
74
|
-
var queueIndex = -1;
|
|
75
|
-
|
|
76
|
-
function cleanUpNextTick() {
|
|
77
|
-
if (!draining || !currentQueue) {
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
draining = false;
|
|
81
|
-
if (currentQueue.length) {
|
|
82
|
-
queue = currentQueue.concat(queue);
|
|
83
|
-
} else {
|
|
84
|
-
queueIndex = -1;
|
|
85
|
-
}
|
|
86
|
-
if (queue.length) {
|
|
87
|
-
drainQueue();
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
function drainQueue() {
|
|
92
|
-
if (draining) {
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
var timeout = runTimeout(cleanUpNextTick);
|
|
96
|
-
draining = true;
|
|
97
|
-
|
|
98
|
-
var len = queue.length;
|
|
99
|
-
while(len) {
|
|
100
|
-
currentQueue = queue;
|
|
101
|
-
queue = [];
|
|
102
|
-
while (++queueIndex < len) {
|
|
103
|
-
if (currentQueue) {
|
|
104
|
-
currentQueue[queueIndex].run();
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
queueIndex = -1;
|
|
108
|
-
len = queue.length;
|
|
109
|
-
}
|
|
110
|
-
currentQueue = null;
|
|
111
|
-
draining = false;
|
|
112
|
-
runClearTimeout(timeout);
|
|
113
|
-
}
|
|
114
|
-
function nextTick(fun) {
|
|
115
|
-
var args = new Array(arguments.length - 1);
|
|
116
|
-
if (arguments.length > 1) {
|
|
117
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
118
|
-
args[i - 1] = arguments[i];
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
queue.push(new Item(fun, args));
|
|
122
|
-
if (queue.length === 1 && !draining) {
|
|
123
|
-
runTimeout(drainQueue);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
// v8 likes predictible objects
|
|
127
|
-
function Item(fun, array) {
|
|
128
|
-
this.fun = fun;
|
|
129
|
-
this.array = array;
|
|
130
|
-
}
|
|
131
|
-
Item.prototype.run = function () {
|
|
132
|
-
this.fun.apply(null, this.array);
|
|
133
|
-
};
|
|
3
|
+
// shim for using process in browser
|
|
134
4
|
|
|
135
5
|
// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
|
|
136
6
|
var performance = global.performance || {};
|
|
@@ -714,6 +584,4 @@ var util = {
|
|
|
714
584
|
debuglog: debuglog
|
|
715
585
|
};
|
|
716
586
|
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
export { isString as a, isNullOrUndefined as b, isNull as c, debuglog as d, inherits$1 as e, deprecate as f, isObject as i, nextTick as n, tls as t, util as u };
|
|
587
|
+
exports.util = util;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
3
3
|
import React__default, { useEffect } from 'react';
|
|
4
|
-
import
|
|
4
|
+
import ReactGA from 'react-ga';
|
|
5
5
|
import { l as lib_3, b as lib_1 } from './index-f0fc23eb.js';
|
|
6
6
|
import { d as main_24, m as main_43 } from './main-9f6806ea.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -9,8 +9,8 @@ import './core.get-iterator-method-ea258bb1.js';
|
|
|
9
9
|
import './web.dom.iterable-ab4dea5c.js';
|
|
10
10
|
import './_library-528f1934.js';
|
|
11
11
|
import './_iter-detect-98db3b07.js';
|
|
12
|
-
import 'prop-types';
|
|
13
12
|
import './events-6c3a7a63.js';
|
|
13
|
+
import 'prop-types';
|
|
14
14
|
|
|
15
15
|
var _this = undefined;
|
|
16
16
|
|
|
@@ -3,7 +3,6 @@ import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorRetu
|
|
|
3
3
|
import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
|
|
4
4
|
import React__default, { createContext, Component, Fragment, Children, version as version$2 } from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import { _ as _defineProperty, a as _typeof, b as _inherits, c as _getPrototypeOf, d as _possibleConstructorReturn, e as _classCallCheck, f as _assertThisInitialized, g as _createClass } from './defineProperty-50094484.js';
|
|
7
6
|
import { _ as _objectWithoutPropertiesLoose$1, a as _extends, c as classnames } from './index-0ce54f8a.js';
|
|
8
7
|
import { E as EventEmitter } from './events-6c3a7a63.js';
|
|
9
8
|
import { DropdownButton } from 'react-bootstrap';
|
|
@@ -41,6 +40,106 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
41
40
|
return target;
|
|
42
41
|
}
|
|
43
42
|
|
|
43
|
+
function _classCallCheck(instance, Constructor) {
|
|
44
|
+
if (!(instance instanceof Constructor)) {
|
|
45
|
+
throw new TypeError("Cannot call a class as a function");
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function _defineProperties(target, props) {
|
|
50
|
+
for (var i = 0; i < props.length; i++) {
|
|
51
|
+
var descriptor = props[i];
|
|
52
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
53
|
+
descriptor.configurable = true;
|
|
54
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
55
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
60
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
61
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
62
|
+
return Constructor;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function _assertThisInitialized(self) {
|
|
66
|
+
if (self === void 0) {
|
|
67
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return self;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function _setPrototypeOf(o, p) {
|
|
74
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
75
|
+
o.__proto__ = p;
|
|
76
|
+
return o;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
return _setPrototypeOf(o, p);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function _inherits(subClass, superClass) {
|
|
83
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
84
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
88
|
+
constructor: {
|
|
89
|
+
value: subClass,
|
|
90
|
+
writable: true,
|
|
91
|
+
configurable: true
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function _typeof(obj) {
|
|
98
|
+
"@babel/helpers - typeof";
|
|
99
|
+
|
|
100
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
101
|
+
_typeof = function _typeof(obj) {
|
|
102
|
+
return typeof obj;
|
|
103
|
+
};
|
|
104
|
+
} else {
|
|
105
|
+
_typeof = function _typeof(obj) {
|
|
106
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return _typeof(obj);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function _possibleConstructorReturn(self, call) {
|
|
114
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
115
|
+
return call;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
return _assertThisInitialized(self);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function _getPrototypeOf(o) {
|
|
122
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
123
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
124
|
+
};
|
|
125
|
+
return _getPrototypeOf(o);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function _defineProperty(obj, key, value) {
|
|
129
|
+
if (key in obj) {
|
|
130
|
+
Object.defineProperty(obj, key, {
|
|
131
|
+
value: value,
|
|
132
|
+
enumerable: true,
|
|
133
|
+
configurable: true,
|
|
134
|
+
writable: true
|
|
135
|
+
});
|
|
136
|
+
} else {
|
|
137
|
+
obj[key] = value;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
return obj;
|
|
141
|
+
}
|
|
142
|
+
|
|
44
143
|
/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
|
|
45
144
|
|
|
46
145
|
var hasElementType = typeof Element !== 'undefined';
|
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-19ae7235.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -19,7 +19,7 @@ import './index-f0fc23eb.js';
|
|
|
19
19
|
import './events-6c3a7a63.js';
|
|
20
20
|
import 'next/router';
|
|
21
21
|
import './index-c7e2ac95.js';
|
|
22
|
-
import './
|
|
22
|
+
import './util-8ed16d48.js';
|
|
23
23
|
import './Beam.js';
|
|
24
24
|
import './stringify-2b084bee.js';
|
|
25
25
|
import './Segment.js';
|
|
@@ -33,7 +33,7 @@ import './brightcove-react-player-loader.es-57a70a56.js';
|
|
|
33
33
|
import 'react-bootstrap/Modal';
|
|
34
34
|
import 'react-bootstrap/Button';
|
|
35
35
|
import 'react-bootstrap/Form';
|
|
36
|
-
import '
|
|
36
|
+
import 'react-ga';
|
|
37
37
|
import './GroupDeck.js';
|
|
38
38
|
import './smoothscroll-fa4e3f8c.js';
|
|
39
39
|
import './moment-bc12cb97.js';
|