@mjhls/mjh-framework 1.0.832-scroll-fix-v2 → 1.0.833-d4d-52
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 +168 -168
- package/dist/cjs/AD300x250.js +2 -2
- package/dist/cjs/AD300x250x600.js +2 -2
- package/dist/cjs/AD728x90.js +3 -3
- 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/AdSlotsProvider.js +2 -2
- package/dist/cjs/AlgoliaSearch.js +36 -18
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -5
- package/dist/cjs/ArticleSeriesListing.js +3 -3
- package/dist/cjs/Auth.js +6 -41
- package/dist/cjs/AuthWrapper.js +189 -228
- package/dist/cjs/CMEDeck.js +3 -3
- package/dist/cjs/Column3.js +3 -3
- package/dist/cjs/ConferenceArticleCard.js +16 -16
- package/dist/cjs/DeckContent.js +13 -13
- package/dist/cjs/DeckQueue.js +4 -4
- package/dist/cjs/EventsDeck.js +21 -21
- package/dist/cjs/ExternalResources.js +5 -5
- package/dist/cjs/Feature.js +2 -2
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +8 -8
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HighlightenVideo.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 +36 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +13 -13
- package/dist/cjs/MediaSeriesLanding.js +193 -149
- package/dist/cjs/NavMagazine.js +14 -14
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -7
- package/dist/cjs/PubSection.js +5 -5
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +7 -7
- package/dist/cjs/RelatedContent.js +29 -29
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -3
- package/dist/cjs/{SeriesSlider-7d308aac.js → SeriesSlider-10bc3826.js} +10 -10
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-42b9d251.js → SocialSearchComponent-560a666e.js} +3 -3
- package/dist/cjs/TaxonomyDescription.js +4 -4
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/Ustream.js +2 -2
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesCard.js +2 -2
- package/dist/cjs/VideoSeriesLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/View.js +18 -15
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +10 -10
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-4ba0d3d5.js} +3 -4
- package/dist/cjs/getRelatedArticle.js +126 -62
- package/dist/cjs/getSerializers.js +4 -4
- package/dist/cjs/{getTargeting-15ad167c.js → getTargeting-ea2ea5e7.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-6367b7bf.js → index-5be2866f.js} +17 -16
- package/dist/cjs/{index-5d106b44.js → index-b10010e9.js} +12 -12
- package/dist/cjs/{index-e2e62963.js → index-f0677b9d.js} +10 -0
- package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
- package/dist/cjs/index.js +12 -12
- package/dist/cjs/{main-7b5e57b0.js → main-11ec04d2.js} +28 -32
- package/dist/cjs/{moment-ca3bd9fb.js → moment-66a6a284.js} +8 -10
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/esm/AD300x250.js +2 -2
- package/dist/esm/AD300x250x600.js +2 -2
- package/dist/esm/AD728x90.js +3 -3
- 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/AdSlotsProvider.js +2 -2
- package/dist/esm/AlgoliaSearch.js +35 -17
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +5 -5
- package/dist/esm/ArticleSeriesLandingPage.js +5 -5
- package/dist/esm/ArticleSeriesListing.js +3 -3
- package/dist/esm/Auth.js +7 -42
- package/dist/esm/AuthWrapper.js +189 -228
- package/dist/esm/CMEDeck.js +3 -3
- package/dist/esm/Column3.js +3 -3
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/DeckContent.js +13 -13
- package/dist/esm/DeckQueue.js +4 -4
- package/dist/esm/EventsDeck.js +21 -21
- package/dist/esm/ExternalResources.js +5 -5
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +8 -8
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +15 -15
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -4
- 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 +36 -36
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +13 -13
- package/dist/esm/MediaSeriesLanding.js +193 -149
- package/dist/esm/NavMagazine.js +14 -14
- package/dist/esm/NavNative.js +12 -12
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +7 -7
- package/dist/esm/PubSection.js +5 -5
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +7 -7
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +3 -3
- package/dist/esm/{SeriesSlider-3c4bfe38.js → SeriesSlider-31dcb72b.js} +10 -10
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-94f6554c.js → SocialSearchComponent-82ac7d6d.js} +3 -3
- package/dist/esm/TaxonomyDescription.js +4 -4
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +5 -5
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesLandingPage.js +5 -5
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/View.js +18 -15
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +10 -10
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-e1c6b0f2.js} +3 -4
- package/dist/esm/getRelatedArticle.js +126 -62
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-831bc794.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-04d3dda1.js → index-b3bd543b.js} +12 -12
- package/dist/esm/{index-aaa2dae0.js → index-b68072f5.js} +10 -1
- package/dist/esm/{index-c00b0bbb.js → index-d2f90501.js} +17 -16
- package/dist/esm/{index.es-c6222053.js → index.es-7dda2f0a.js} +4 -20
- package/dist/esm/index.js +12 -12
- package/dist/esm/{main-747e7d25.js → main-aef58dbc.js} +28 -32
- package/dist/esm/{moment-b6f49411.js → moment-12415288.js} +8 -10
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/package.json +110 -110
- /package/dist/cjs/{ADInfeed-0158bee3.js → ADInfeed-912f52c2.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-3583144f.js → ADlgInfeed-98acbab8.js} +0 -0
- /package/dist/esm/{ADInfeed-427022e9.js → ADInfeed-813279c7.js} +0 -0
- /package/dist/esm/{ADlgInfeed-28d3f944.js → ADlgInfeed-8ba1523a.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-a4107da3.js';
|
|
3
3
|
import './es6.string.iterator-c990c18c.js';
|
|
4
4
|
import './_library-528f1934.js';
|
|
@@ -8,18 +8,18 @@ import './_object-sap-964b6feb.js';
|
|
|
8
8
|
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-75d45541.js';
|
|
9
9
|
import './define-property-8af5f002.js';
|
|
10
10
|
import './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import { _ as _typeof$
|
|
11
|
+
import { _ as _typeof$2 } from './typeof-af9c50d8.js';
|
|
12
12
|
import './_is-array-58e95429.js';
|
|
13
13
|
import React, { createContext, Component, Children, version as version$2 } from 'react';
|
|
14
14
|
import { E as EventEmitter } from './events-6c3a7a63.js';
|
|
15
15
|
import PropTypes from 'prop-types';
|
|
16
|
-
import { m as moment } from './moment-
|
|
16
|
+
import { m as moment } from './moment-12415288.js';
|
|
17
17
|
import 'react-dom';
|
|
18
18
|
import './index-51a80699.js';
|
|
19
19
|
import urlFor from './urlFor.js';
|
|
20
20
|
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
21
21
|
import { DropdownButton } from 'react-bootstrap';
|
|
22
|
-
import { _ as _objectWithoutPropertiesLoose$1, a as _extends, c as classnames } from './index-
|
|
22
|
+
import { _ as _objectWithoutPropertiesLoose$1, a as _setPrototypeOf, b as _extends, c as classnames } from './index-b68072f5.js';
|
|
23
23
|
|
|
24
24
|
function _objectWithoutProperties(source, excluded) {
|
|
25
25
|
if (source == null) return {};
|
|
@@ -96,22 +96,33 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
96
96
|
return Constructor;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
var _typeof_1 = createCommonjsModule(function (module) {
|
|
99
100
|
function _typeof(obj) {
|
|
100
101
|
"@babel/helpers - typeof";
|
|
101
102
|
|
|
102
103
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
103
|
-
_typeof = function _typeof(obj) {
|
|
104
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
104
105
|
return typeof obj;
|
|
105
106
|
};
|
|
107
|
+
|
|
108
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
106
109
|
} else {
|
|
107
|
-
_typeof = function _typeof(obj) {
|
|
110
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
108
111
|
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
109
112
|
};
|
|
113
|
+
|
|
114
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
110
115
|
}
|
|
111
116
|
|
|
112
117
|
return _typeof(obj);
|
|
113
118
|
}
|
|
114
119
|
|
|
120
|
+
module.exports = _typeof;
|
|
121
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
var _typeof = unwrapExports(_typeof_1);
|
|
125
|
+
|
|
115
126
|
function _assertThisInitialized(self) {
|
|
116
127
|
if (self === void 0) {
|
|
117
128
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -135,15 +146,6 @@ function _getPrototypeOf(o) {
|
|
|
135
146
|
return _getPrototypeOf(o);
|
|
136
147
|
}
|
|
137
148
|
|
|
138
|
-
function _setPrototypeOf(o, p) {
|
|
139
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
140
|
-
o.__proto__ = p;
|
|
141
|
-
return o;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
return _setPrototypeOf(o, p);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
149
|
function _inherits(subClass, superClass) {
|
|
148
150
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
149
151
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -294,6 +296,22 @@ var reactFastCompare = function isEqual(a, b) {
|
|
|
294
296
|
}
|
|
295
297
|
};
|
|
296
298
|
|
|
299
|
+
function _typeof$1(obj) {
|
|
300
|
+
"@babel/helpers - typeof";
|
|
301
|
+
|
|
302
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
303
|
+
_typeof$1 = function _typeof(obj) {
|
|
304
|
+
return typeof obj;
|
|
305
|
+
};
|
|
306
|
+
} else {
|
|
307
|
+
_typeof$1 = function _typeof(obj) {
|
|
308
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
return _typeof$1(obj);
|
|
313
|
+
}
|
|
314
|
+
|
|
297
315
|
// From https://github.com/reactjs/react-redux/blob/master/src/utils/shallowEqual.js
|
|
298
316
|
var shallowEqual = function shallowEqual(objA, objB) {
|
|
299
317
|
if (objA === objB) {
|
|
@@ -327,7 +345,7 @@ var defer = function defer(f) {
|
|
|
327
345
|
};
|
|
328
346
|
|
|
329
347
|
var isPlainObject = function isPlainObject(value) {
|
|
330
|
-
return _typeof(value) === 'object' && value !== null && !Array.isArray(value);
|
|
348
|
+
return _typeof$1(value) === 'object' && value !== null && !Array.isArray(value);
|
|
331
349
|
};
|
|
332
350
|
|
|
333
351
|
var removeEmptyKey = function removeEmptyKey(obj) {
|
|
@@ -14128,7 +14146,7 @@ var AlgoliaSearch = function (_React$Component) {
|
|
|
14128
14146
|
LazyLoad,
|
|
14129
14147
|
null,
|
|
14130
14148
|
React.createElement('img', {
|
|
14131
|
-
src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$
|
|
14149
|
+
src: hit.thumbnail && hit.thumbnail.asset ? urlFor({ client: client, source: hit.thumbnail }) : hit.thumbnail && _typeof$2(hit.thumbnail === 'string') ? hit.thumbnail : this.props.defaultImage
|
|
14132
14150
|
})
|
|
14133
14151
|
)
|
|
14134
14152
|
)
|
|
@@ -14,7 +14,7 @@ import 'react-dom';
|
|
|
14
14
|
import './index-51a80699.js';
|
|
15
15
|
import './urlFor.js';
|
|
16
16
|
import './index-6c12bdd5.js';
|
|
17
|
-
import './main-
|
|
17
|
+
import './main-aef58dbc.js';
|
|
18
18
|
import './slicedToArray-641f241f.js';
|
|
19
19
|
import './index-c7e2ac95.js';
|
|
20
20
|
import './smoothscroll-0cd4c7a6.js';
|
|
@@ -20,18 +20,18 @@ import 'prop-types';
|
|
|
20
20
|
import 'react-bootstrap/Container';
|
|
21
21
|
import 'react-bootstrap/Row';
|
|
22
22
|
import 'react-bootstrap/Col';
|
|
23
|
-
import './moment-
|
|
23
|
+
import './moment-12415288.js';
|
|
24
24
|
import 'next/router';
|
|
25
25
|
import './isSymbol-1981418f.js';
|
|
26
26
|
import './debounce-9207d8ee.js';
|
|
27
27
|
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import './index.es-
|
|
28
|
+
import './index.es-7dda2f0a.js';
|
|
29
29
|
import 'react-dom';
|
|
30
30
|
import './visibility-sensor-f40c2564.js';
|
|
31
31
|
import './index-51a80699.js';
|
|
32
32
|
import './urlFor.js';
|
|
33
33
|
import './index-6c12bdd5.js';
|
|
34
|
-
import './main-
|
|
34
|
+
import './main-aef58dbc.js';
|
|
35
35
|
import './entities-7cc3bf45.js';
|
|
36
36
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
37
37
|
import './stringify-4330ccdc.js';
|
|
@@ -48,9 +48,9 @@ import 'react-bootstrap';
|
|
|
48
48
|
import './iconBase-602d52fe.js';
|
|
49
49
|
import './index.esm-3fdda599.js';
|
|
50
50
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
51
|
-
import { g as getSerializers } from './index-
|
|
51
|
+
import { g as getSerializers } from './index-b3bd543b.js';
|
|
52
52
|
import './util-7700fc59.js';
|
|
53
|
-
import './brightcove-react-player-loader.es-
|
|
53
|
+
import './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
54
54
|
import 'next/head';
|
|
55
55
|
import 'react-share';
|
|
56
56
|
import './SocialShare.js';
|
|
@@ -21,25 +21,25 @@ import 'react-bootstrap/Container';
|
|
|
21
21
|
import 'react-bootstrap/Row';
|
|
22
22
|
import 'react-bootstrap/Col';
|
|
23
23
|
import 'react-bootstrap/Card';
|
|
24
|
-
import './moment-
|
|
24
|
+
import './moment-12415288.js';
|
|
25
25
|
import 'next/router';
|
|
26
26
|
import './isSymbol-1981418f.js';
|
|
27
27
|
import './debounce-9207d8ee.js';
|
|
28
28
|
import './toNumber-2f7a84cd.js';
|
|
29
|
-
import './index.es-
|
|
29
|
+
import './index.es-7dda2f0a.js';
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import './visibility-sensor-f40c2564.js';
|
|
32
32
|
import './index-51a80699.js';
|
|
33
|
-
import './main-
|
|
33
|
+
import './main-aef58dbc.js';
|
|
34
34
|
import './slicedToArray-641f241f.js';
|
|
35
35
|
import './stringify-4330ccdc.js';
|
|
36
36
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './Beam.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
|
-
import './ADInfeed-
|
|
40
|
+
import './ADInfeed-813279c7.js';
|
|
41
41
|
import './lodash-ec8c6b48.js';
|
|
42
|
-
import './ADlgInfeed-
|
|
42
|
+
import './ADlgInfeed-8ba1523a.js';
|
|
43
43
|
import MasterDeck from './MasterDeck.js';
|
|
44
44
|
|
|
45
45
|
var _this = undefined;
|
|
@@ -16,18 +16,18 @@ import './events-6c3a7a63.js';
|
|
|
16
16
|
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import Container from 'react-bootstrap/Container';
|
|
19
|
-
import { m as moment } from './moment-
|
|
19
|
+
import { m as moment } from './moment-12415288.js';
|
|
20
20
|
import { withRouter } from 'next/router';
|
|
21
21
|
import './isSymbol-1981418f.js';
|
|
22
22
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
23
23
|
import './toNumber-2f7a84cd.js';
|
|
24
|
-
import { I as InfiniteScroll } from './index.es-
|
|
24
|
+
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
27
27
|
import './index-51a80699.js';
|
|
28
28
|
import './urlFor.js';
|
|
29
29
|
import './index-6c12bdd5.js';
|
|
30
|
-
import './main-
|
|
30
|
+
import './main-aef58dbc.js';
|
|
31
31
|
import './slicedToArray-641f241f.js';
|
|
32
32
|
import './index-c7e2ac95.js';
|
|
33
33
|
import './smoothscroll-0cd4c7a6.js';
|
package/dist/esm/Auth.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as commonjsGlobal
|
|
1
|
+
import { a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './_to-object-a4107da3.js';
|
|
3
3
|
import './es6.string.iterator-c990c18c.js';
|
|
4
4
|
import './_library-528f1934.js';
|
|
@@ -1846,14 +1846,7 @@ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
|
1846
1846
|
if (!allowMissing && !(parts[i] in value)) {
|
|
1847
1847
|
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
1848
1848
|
}
|
|
1849
|
-
|
|
1850
|
-
// property to emulate a data property that does not suffer from
|
|
1851
|
-
// the override mistake, that accessor's getter is marked with
|
|
1852
|
-
// an `originalValue` property. Here, when we detect this, we
|
|
1853
|
-
// uphold the illusion by pretending to see that original data
|
|
1854
|
-
// property, i.e., returning the value rather than the getter
|
|
1855
|
-
// itself.
|
|
1856
|
-
value = desc && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[parts[i]];
|
|
1849
|
+
value = desc ? (desc.get || desc.value) : value[parts[i]];
|
|
1857
1850
|
} else {
|
|
1858
1851
|
value = value[parts[i]];
|
|
1859
1852
|
}
|
|
@@ -1862,42 +1855,18 @@ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
|
1862
1855
|
return value;
|
|
1863
1856
|
};
|
|
1864
1857
|
|
|
1865
|
-
var callBind = createCommonjsModule(function (module) {
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
1858
|
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
1872
1859
|
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
1873
1860
|
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
|
|
1874
1861
|
|
|
1875
|
-
var
|
|
1876
|
-
|
|
1877
|
-
if ($defineProperty) {
|
|
1878
|
-
try {
|
|
1879
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
1880
|
-
} catch (e) {
|
|
1881
|
-
// IE 8 has a broken defineProperty
|
|
1882
|
-
$defineProperty = null;
|
|
1883
|
-
}
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
module.exports = function callBind() {
|
|
1862
|
+
var callBind = function callBind() {
|
|
1887
1863
|
return $reflectApply(functionBind, $call, arguments);
|
|
1888
1864
|
};
|
|
1889
1865
|
|
|
1890
|
-
var
|
|
1866
|
+
var apply = function applyBind() {
|
|
1891
1867
|
return $reflectApply(functionBind, $apply, arguments);
|
|
1892
1868
|
};
|
|
1893
|
-
|
|
1894
|
-
if ($defineProperty) {
|
|
1895
|
-
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
1896
|
-
} else {
|
|
1897
|
-
module.exports.apply = applyBind;
|
|
1898
|
-
}
|
|
1899
|
-
});
|
|
1900
|
-
var callBind_1 = callBind.apply;
|
|
1869
|
+
callBind.apply = apply;
|
|
1901
1870
|
|
|
1902
1871
|
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
1903
1872
|
|
|
@@ -2184,12 +2153,8 @@ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'func
|
|
|
2184
2153
|
}
|
|
2185
2154
|
});
|
|
2186
2155
|
isCallableMarker = {};
|
|
2187
|
-
// eslint-disable-next-line no-throw-literal
|
|
2188
|
-
reflectApply(function () { throw 42; }, null, badArrayLike);
|
|
2189
2156
|
} catch (_) {
|
|
2190
|
-
|
|
2191
|
-
reflectApply = null;
|
|
2192
|
-
}
|
|
2157
|
+
reflectApply = null;
|
|
2193
2158
|
}
|
|
2194
2159
|
} else {
|
|
2195
2160
|
reflectApply = null;
|
|
@@ -2274,7 +2239,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
|
|
|
2274
2239
|
if (src(Obj, 'get')) {
|
|
2275
2240
|
var getter = Obj.get;
|
|
2276
2241
|
if (typeof getter !== 'undefined' && !IsCallable(getter)) {
|
|
2277
|
-
throw new
|
|
2242
|
+
throw new TypeError('getter must be a function');
|
|
2278
2243
|
}
|
|
2279
2244
|
desc['[[Get]]'] = getter;
|
|
2280
2245
|
}
|