@mjhls/mjh-framework 1.0.860-beta.0 → 1.0.861-beta.0
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/AD.js +1 -1
- package/dist/cjs/AD300x250.js +9 -7
- package/dist/cjs/AD300x250x600.js +9 -7
- package/dist/cjs/AD728x90.js +9 -7
- package/dist/cjs/ADFloatingFooter.js +9 -7
- package/dist/cjs/ADFooter.js +5 -3
- package/dist/cjs/ADGutter.js +9 -7
- package/dist/cjs/{ADInfeed-7c09edba.js → ADInfeed-98c71bcd.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +9 -7
- package/dist/cjs/ADSponsoredResources.js +9 -7
- package/dist/cjs/ADWebcast.js +9 -7
- package/dist/cjs/ADWelcome.js +9 -7
- package/dist/cjs/{ADlgInfeed-2e7effc7.js → ADlgInfeed-9de32585.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -3
- package/dist/cjs/AdSlot.js +9 -7
- package/dist/cjs/AdSlotsProvider.js +7 -5
- package/dist/cjs/AlgoliaSearch.js +9 -9
- package/dist/cjs/AlphabeticList.js +8 -6
- package/dist/cjs/ArticleCarousel.js +8 -6
- package/dist/cjs/ArticleProgramLandingPage.js +17 -15
- package/dist/cjs/ArticleSeriesLandingPage.js +17 -15
- package/dist/cjs/ArticleSeriesListing.js +11 -9
- package/dist/cjs/Auth.js +9 -7
- package/dist/cjs/AuthWrapper.js +5 -3
- package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-bb831b74.js} +1 -1
- package/dist/cjs/Beam.js +7 -5
- package/dist/cjs/Breadcrumbs.js +5 -3
- package/dist/cjs/CMEDeck.js +9 -7
- package/dist/cjs/Column2.js +8 -6
- package/dist/cjs/Column3.js +11 -9
- package/dist/cjs/ConferenceArticleCard.js +0 -3
- package/dist/cjs/DeckContent.js +16 -14
- package/dist/cjs/DeckQueue.js +12 -11
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-26baccf1.js} +5 -3
- package/dist/cjs/EventsDeck.js +14 -12
- package/dist/cjs/ExternalResources.js +17 -15
- package/dist/cjs/Feature.js +0 -3
- package/dist/cjs/ForbesHero.js +6 -4
- package/dist/cjs/GridContent.js +18 -16
- package/dist/cjs/GridHero.js +6 -4
- package/dist/cjs/GroupDeck.js +7 -5
- package/dist/cjs/HamMagazine.js +8 -6
- package/dist/cjs/Hero.js +0 -3
- package/dist/cjs/HorizontalArticleListing.js +17 -15
- package/dist/cjs/HorizontalHero.js +0 -3
- package/dist/cjs/IssueContentDeck.js +6 -4
- package/dist/cjs/IssueDeck.js +8 -6
- package/dist/cjs/IssueLanding.js +20 -18
- package/dist/cjs/LeftNav.js +9 -7
- package/dist/cjs/MasterDeck.js +17 -15
- package/dist/cjs/MediaSeriesLanding.js +20 -18
- package/dist/cjs/NavDvm.js +7 -5
- package/dist/cjs/NavMagazine.js +8 -6
- package/dist/cjs/NavNative.js +7 -5
- package/dist/cjs/OncliveHero.js +0 -3
- package/dist/cjs/OncliveLargeHero.js +6 -4
- package/dist/cjs/PageFilter.js +5 -3
- package/dist/cjs/PartnerDetailListing.js +20 -18
- package/dist/cjs/PopUpModal.js +5 -3
- package/dist/cjs/PubSection.js +13 -11
- package/dist/cjs/PubToc.js +7 -5
- package/dist/cjs/PublicationDeck.js +0 -3
- package/dist/cjs/PublicationLanding.js +37 -35
- package/dist/cjs/QueueDeckExpanded.js +13 -11
- package/dist/cjs/RelatedContent.js +0 -3
- package/dist/cjs/Search.js +5 -3
- package/dist/cjs/Segment.js +6 -4
- package/dist/cjs/SeriesListingDeck.js +9 -7
- package/dist/cjs/{SeriesSlider-94af9fcb.js → SeriesSlider-8bbc989f.js} +1 -1
- package/dist/cjs/SideFooter.js +8 -6
- package/dist/cjs/{SocialSearchComponent-650f6101.js → SocialSearchComponent-cea213aa.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -4
- package/dist/cjs/TaxonomyDescription.js +17 -15
- package/dist/cjs/TemplateNormal.js +12 -10
- package/dist/cjs/ThumbnailCard.js +0 -3
- package/dist/cjs/Ustream.js +8 -6
- package/dist/cjs/VerticalHero.js +0 -3
- package/dist/cjs/VideoProgramLandingPage.js +17 -15
- package/dist/cjs/VideoSeriesCard.js +5 -5
- package/dist/cjs/VideoSeriesFilter.js +7 -5
- package/dist/cjs/VideoSeriesLandingPage.js +17 -15
- package/dist/cjs/VideoSeriesListing.js +11 -9
- package/dist/cjs/View.js +20 -18
- package/dist/cjs/YahooHero.js +6 -4
- package/dist/cjs/YoutubeGroup.js +7 -5
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-754e012d.js} +9 -9
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-60b2f026.js} +7 -6
- package/dist/cjs/_object-sap-5e74ba08.js +16 -0
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-5762f850.js} +4 -4
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → _to-object-329a650b.js} +3 -239
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-140e5f89.js} +67 -65
- package/dist/cjs/core.get-iterator-method-f62321d4.js +39 -0
- package/dist/cjs/{define-property-21887c62.js → define-property-f4d12f4e.js} +3 -3
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/es6.string.iterator-cc0bbaa4.js +210 -0
- package/dist/cjs/{extends-eed4f016.js → extends-0a918631.js} +8 -8
- package/dist/cjs/faundadb.js +6 -4
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +6 -4
- package/dist/cjs/getRootDocGroup.js +6 -4
- package/dist/cjs/getSerializers.js +17 -15
- package/dist/cjs/{getTargeting-8874437b.js → getTargeting-f1821260.js} +2 -2
- package/dist/cjs/getTargeting.js +7 -5
- package/dist/cjs/{index-cdcc0b5e.js → index-edb47fba.js} +17 -34
- package/dist/cjs/index.js +25 -23
- package/dist/cjs/{inherits-12d44cca.js → inherits-452ff02c.js} +14 -13
- package/dist/cjs/{keys-d207942e.js → keys-a586b7a0.js} +4 -4
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-8f385299.js} +9 -7
- package/dist/cjs/{stringify-bbc68047.js → stringify-7c5aff47.js} +2 -2
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-9a3476fe.js} +10 -8
- package/dist/cjs/{typeof-5f52cf64.js → typeof-725500bc.js} +74 -73
- package/dist/cjs/urlFor.js +1 -18
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-a0e279c1.js} +9 -8
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +9 -7
- package/dist/esm/AD300x250x600.js +9 -7
- package/dist/esm/AD728x90.js +9 -7
- package/dist/esm/ADFloatingFooter.js +9 -7
- package/dist/esm/ADFooter.js +5 -3
- package/dist/esm/ADGutter.js +9 -7
- package/dist/esm/{ADInfeed-bfd129d9.js → ADInfeed-1cc9d817.js} +1 -1
- package/dist/esm/ADSkyscraper.js +9 -7
- package/dist/esm/ADSponsoredResources.js +9 -7
- package/dist/esm/ADWebcast.js +9 -7
- package/dist/esm/ADWelcome.js +9 -7
- package/dist/esm/{ADlgInfeed-0489335b.js → ADlgInfeed-8c4f129e.js} +1 -1
- package/dist/esm/AccordionPanel.js +5 -3
- package/dist/esm/AdSlot.js +9 -7
- package/dist/esm/AdSlotsProvider.js +7 -5
- package/dist/esm/AlgoliaSearch.js +9 -9
- package/dist/esm/AlphabeticList.js +8 -6
- package/dist/esm/ArticleCarousel.js +8 -6
- package/dist/esm/ArticleProgramLandingPage.js +17 -15
- package/dist/esm/ArticleSeriesLandingPage.js +17 -15
- package/dist/esm/ArticleSeriesListing.js +11 -9
- package/dist/esm/Auth.js +9 -7
- package/dist/esm/AuthWrapper.js +5 -3
- package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-34b16174.js} +1 -1
- package/dist/esm/Beam.js +7 -5
- package/dist/esm/Breadcrumbs.js +5 -3
- package/dist/esm/CMEDeck.js +9 -7
- package/dist/esm/Column2.js +8 -6
- package/dist/esm/Column3.js +11 -9
- package/dist/esm/ConferenceArticleCard.js +0 -3
- package/dist/esm/DeckContent.js +16 -14
- package/dist/esm/DeckQueue.js +12 -11
- package/dist/esm/{Dfp-f867d061.js → Dfp-b7236041.js} +5 -3
- package/dist/esm/EventsDeck.js +12 -10
- package/dist/esm/ExternalResources.js +17 -15
- package/dist/esm/Feature.js +0 -3
- package/dist/esm/ForbesHero.js +6 -4
- package/dist/esm/GridContent.js +18 -16
- package/dist/esm/GridHero.js +6 -4
- package/dist/esm/GroupDeck.js +7 -5
- package/dist/esm/HamMagazine.js +8 -6
- package/dist/esm/Hero.js +0 -3
- package/dist/esm/HorizontalArticleListing.js +17 -15
- package/dist/esm/HorizontalHero.js +0 -3
- package/dist/esm/IssueContentDeck.js +6 -4
- package/dist/esm/IssueDeck.js +8 -6
- package/dist/esm/IssueLanding.js +20 -18
- package/dist/esm/LeftNav.js +9 -7
- package/dist/esm/MasterDeck.js +17 -15
- package/dist/esm/MediaSeriesLanding.js +20 -18
- package/dist/esm/NavDvm.js +7 -5
- package/dist/esm/NavMagazine.js +8 -6
- package/dist/esm/NavNative.js +7 -5
- package/dist/esm/OncliveHero.js +0 -3
- package/dist/esm/OncliveLargeHero.js +6 -4
- package/dist/esm/PageFilter.js +5 -3
- package/dist/esm/PartnerDetailListing.js +20 -18
- package/dist/esm/PopUpModal.js +5 -3
- package/dist/esm/PubSection.js +13 -11
- package/dist/esm/PubToc.js +7 -5
- package/dist/esm/PublicationDeck.js +0 -3
- package/dist/esm/PublicationLanding.js +10 -8
- package/dist/esm/QueueDeckExpanded.js +13 -11
- package/dist/esm/RelatedContent.js +0 -3
- package/dist/esm/Search.js +5 -3
- package/dist/esm/Segment.js +6 -4
- package/dist/esm/SeriesListingDeck.js +9 -7
- package/dist/esm/{SeriesSlider-0371fc11.js → SeriesSlider-a866bb21.js} +1 -1
- package/dist/esm/SideFooter.js +8 -6
- package/dist/esm/{SocialSearchComponent-d7dec0c2.js → SocialSearchComponent-03c3e869.js} +1 -1
- package/dist/esm/TaxonomyCard.js +2 -4
- package/dist/esm/TaxonomyDescription.js +17 -15
- package/dist/esm/TemplateNormal.js +12 -10
- package/dist/esm/ThumbnailCard.js +0 -3
- package/dist/esm/Ustream.js +8 -6
- package/dist/esm/VerticalHero.js +0 -3
- package/dist/esm/VideoProgramLandingPage.js +17 -15
- package/dist/esm/VideoSeriesCard.js +5 -5
- package/dist/esm/VideoSeriesFilter.js +7 -5
- package/dist/esm/VideoSeriesLandingPage.js +17 -15
- package/dist/esm/VideoSeriesListing.js +11 -9
- package/dist/esm/View.js +20 -18
- package/dist/esm/YahooHero.js +6 -4
- package/dist/esm/YoutubeGroup.js +7 -5
- package/dist/esm/{_is-array-4df618a6.js → _is-array-58e95429.js} +1 -1
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-5d49a330.js} +2 -1
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{core.get-iterator-method-86d4db69.js → _to-object-a4107da3.js} +1 -230
- package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-fc1c2e29.js} +5 -3
- package/dist/esm/core.get-iterator-method-e1de7503.js +36 -0
- package/dist/esm/{define-property-6d26cb48.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/es6.string.iterator-c990c18c.js +201 -0
- package/dist/esm/{extends-5b1796d4.js → extends-6f2fcc99.js} +1 -1
- package/dist/esm/faundadb.js +6 -4
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +6 -4
- package/dist/esm/getRootDocGroup.js +6 -4
- package/dist/esm/getSerializers.js +17 -15
- package/dist/esm/{getTargeting-277c801e.js → getTargeting-bd800589.js} +2 -2
- package/dist/esm/getTargeting.js +7 -5
- package/dist/esm/{index-fe008ffe.js → index-3dcc1323.js} +15 -32
- package/dist/esm/index.js +25 -23
- package/dist/esm/{inherits-2409637d.js → inherits-cf8dde54.js} +5 -4
- package/dist/esm/{keys-69989821.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-641f241f.js} +4 -2
- package/dist/esm/{stringify-70b72959.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-43aa614d.js} +4 -2
- package/dist/esm/{typeof-c05a82ba.js → typeof-6435ba1c.js} +4 -3
- package/dist/esm/urlFor.js +1 -18
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-4439f05a.js} +2 -1
- package/package.json +1 -1
- package/dist/cjs/_object-sap-171b9ea5.js +0 -16
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
3
4
|
import './_library-528f1934.js';
|
|
5
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
4
6
|
import './_object-pie-33c40e79.js';
|
|
5
|
-
import './web.dom.iterable-
|
|
6
|
-
import { _ as _typeof } from './typeof-
|
|
7
|
-
import './_is-array-
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
9
|
+
import './_is-array-58e95429.js';
|
|
8
10
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
9
11
|
import 'prop-types';
|
|
10
12
|
import 'react-dom';
|
|
11
|
-
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
12
13
|
import './index-73819142.js';
|
|
13
14
|
import urlFor from './urlFor.js';
|
|
14
15
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
15
16
|
import { m as main_36, a as main_41, b as main_35 } from './main-e4a934b2.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
16
18
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
17
19
|
import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
|
|
18
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
2
|
+
import { w as _uid, j as _fails, b as _isObject, u as _has, e as _objectDp, x as _cof } from './_to-object-a4107da3.js';
|
|
3
3
|
|
|
4
4
|
var _meta = createCommonjsModule(function (module) {
|
|
5
5
|
var META = _uid('meta');
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as _anObject } from './_to-object-a4107da3.js';
|
|
2
|
+
import { b as _wks, e as _iterators } from './es6.string.iterator-c990c18c.js';
|
|
2
3
|
|
|
3
4
|
// call something on iterator step with safe closing on error
|
|
4
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as _toIobject, n as _objectKeys, d as _descriptors } from './_to-object-a4107da3.js';
|
|
2
2
|
import { a as _objectPie } from './_object-pie-33c40e79.js';
|
|
3
3
|
|
|
4
4
|
var isEnum = _objectPie.f;
|
|
@@ -13,22 +13,6 @@ var _defined = function (it) {
|
|
|
13
13
|
return it;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
// true -> String#at
|
|
17
|
-
// false -> String#codePointAt
|
|
18
|
-
var _stringAt = function (TO_STRING) {
|
|
19
|
-
return function (that, pos) {
|
|
20
|
-
var s = String(_defined(that));
|
|
21
|
-
var i = _toInteger(pos);
|
|
22
|
-
var l = s.length;
|
|
23
|
-
var a, b;
|
|
24
|
-
if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
|
|
25
|
-
a = s.charCodeAt(i);
|
|
26
|
-
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
|
27
|
-
? TO_STRING ? s.charAt(i) : a
|
|
28
|
-
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
|
|
32
16
|
var _global = createCommonjsModule(function (module) {
|
|
33
17
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
34
18
|
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
@@ -213,10 +197,6 @@ $export.U = 64; // safe
|
|
|
213
197
|
$export.R = 128; // real proto method for `library`
|
|
214
198
|
var _export = $export;
|
|
215
199
|
|
|
216
|
-
var _redefine = _hide;
|
|
217
|
-
|
|
218
|
-
var _iterators = {};
|
|
219
|
-
|
|
220
200
|
var toString = {}.toString;
|
|
221
201
|
|
|
222
202
|
var _cof = function (it) {
|
|
@@ -329,219 +309,10 @@ var _objectKeys = Object.keys || function keys(O) {
|
|
|
329
309
|
return _objectKeysInternal(O, _enumBugKeys);
|
|
330
310
|
};
|
|
331
311
|
|
|
332
|
-
var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
333
|
-
_anObject(O);
|
|
334
|
-
var keys = _objectKeys(Properties);
|
|
335
|
-
var length = keys.length;
|
|
336
|
-
var i = 0;
|
|
337
|
-
var P;
|
|
338
|
-
while (length > i) _objectDp.f(O, P = keys[i++], Properties[P]);
|
|
339
|
-
return O;
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
var document$1 = _global.document;
|
|
343
|
-
var _html = document$1 && document$1.documentElement;
|
|
344
|
-
|
|
345
|
-
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
var IE_PROTO$1 = _sharedKey('IE_PROTO');
|
|
350
|
-
var Empty = function () { /* empty */ };
|
|
351
|
-
var PROTOTYPE$1 = 'prototype';
|
|
352
|
-
|
|
353
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
354
|
-
var createDict = function () {
|
|
355
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
356
|
-
var iframe = _domCreate('iframe');
|
|
357
|
-
var i = _enumBugKeys.length;
|
|
358
|
-
var lt = '<';
|
|
359
|
-
var gt = '>';
|
|
360
|
-
var iframeDocument;
|
|
361
|
-
iframe.style.display = 'none';
|
|
362
|
-
_html.appendChild(iframe);
|
|
363
|
-
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
|
364
|
-
// createDict = iframe.contentWindow.Object;
|
|
365
|
-
// html.removeChild(iframe);
|
|
366
|
-
iframeDocument = iframe.contentWindow.document;
|
|
367
|
-
iframeDocument.open();
|
|
368
|
-
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
|
369
|
-
iframeDocument.close();
|
|
370
|
-
createDict = iframeDocument.F;
|
|
371
|
-
while (i--) delete createDict[PROTOTYPE$1][_enumBugKeys[i]];
|
|
372
|
-
return createDict();
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
var _objectCreate = Object.create || function create(O, Properties) {
|
|
376
|
-
var result;
|
|
377
|
-
if (O !== null) {
|
|
378
|
-
Empty[PROTOTYPE$1] = _anObject(O);
|
|
379
|
-
result = new Empty();
|
|
380
|
-
Empty[PROTOTYPE$1] = null;
|
|
381
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
382
|
-
result[IE_PROTO$1] = O;
|
|
383
|
-
} else result = createDict();
|
|
384
|
-
return Properties === undefined ? result : _objectDps(result, Properties);
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
var _wks = createCommonjsModule(function (module) {
|
|
388
|
-
var store = _shared('wks');
|
|
389
|
-
|
|
390
|
-
var Symbol = _global.Symbol;
|
|
391
|
-
var USE_SYMBOL = typeof Symbol == 'function';
|
|
392
|
-
|
|
393
|
-
var $exports = module.exports = function (name) {
|
|
394
|
-
return store[name] || (store[name] =
|
|
395
|
-
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : _uid)('Symbol.' + name));
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
$exports.store = store;
|
|
399
|
-
});
|
|
400
|
-
|
|
401
|
-
var def = _objectDp.f;
|
|
402
|
-
|
|
403
|
-
var TAG = _wks('toStringTag');
|
|
404
|
-
|
|
405
|
-
var _setToStringTag = function (it, tag, stat) {
|
|
406
|
-
if (it && !_has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
|
407
|
-
};
|
|
408
|
-
|
|
409
|
-
var IteratorPrototype = {};
|
|
410
|
-
|
|
411
|
-
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
|
412
|
-
_hide(IteratorPrototype, _wks('iterator'), function () { return this; });
|
|
413
|
-
|
|
414
|
-
var _iterCreate = function (Constructor, NAME, next) {
|
|
415
|
-
Constructor.prototype = _objectCreate(IteratorPrototype, { next: _propertyDesc(1, next) });
|
|
416
|
-
_setToStringTag(Constructor, NAME + ' Iterator');
|
|
417
|
-
};
|
|
418
|
-
|
|
419
312
|
// 7.1.13 ToObject(argument)
|
|
420
313
|
|
|
421
314
|
var _toObject = function (it) {
|
|
422
315
|
return Object(_defined(it));
|
|
423
316
|
};
|
|
424
317
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
var IE_PROTO$2 = _sharedKey('IE_PROTO');
|
|
429
|
-
var ObjectProto = Object.prototype;
|
|
430
|
-
|
|
431
|
-
var _objectGpo = Object.getPrototypeOf || function (O) {
|
|
432
|
-
O = _toObject(O);
|
|
433
|
-
if (_has(O, IE_PROTO$2)) return O[IE_PROTO$2];
|
|
434
|
-
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
|
435
|
-
return O.constructor.prototype;
|
|
436
|
-
} return O instanceof Object ? ObjectProto : null;
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
var ITERATOR = _wks('iterator');
|
|
440
|
-
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
|
441
|
-
var FF_ITERATOR = '@@iterator';
|
|
442
|
-
var KEYS = 'keys';
|
|
443
|
-
var VALUES = 'values';
|
|
444
|
-
|
|
445
|
-
var returnThis = function () { return this; };
|
|
446
|
-
|
|
447
|
-
var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
|
|
448
|
-
_iterCreate(Constructor, NAME, next);
|
|
449
|
-
var getMethod = function (kind) {
|
|
450
|
-
if (!BUGGY && kind in proto) return proto[kind];
|
|
451
|
-
switch (kind) {
|
|
452
|
-
case KEYS: return function keys() { return new Constructor(this, kind); };
|
|
453
|
-
case VALUES: return function values() { return new Constructor(this, kind); };
|
|
454
|
-
} return function entries() { return new Constructor(this, kind); };
|
|
455
|
-
};
|
|
456
|
-
var TAG = NAME + ' Iterator';
|
|
457
|
-
var DEF_VALUES = DEFAULT == VALUES;
|
|
458
|
-
var VALUES_BUG = false;
|
|
459
|
-
var proto = Base.prototype;
|
|
460
|
-
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
|
|
461
|
-
var $default = $native || getMethod(DEFAULT);
|
|
462
|
-
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
|
|
463
|
-
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
|
|
464
|
-
var methods, key, IteratorPrototype;
|
|
465
|
-
// Fix native
|
|
466
|
-
if ($anyNative) {
|
|
467
|
-
IteratorPrototype = _objectGpo($anyNative.call(new Base()));
|
|
468
|
-
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
|
|
469
|
-
// Set @@toStringTag to native iterators
|
|
470
|
-
_setToStringTag(IteratorPrototype, TAG, true);
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
// fix Array#{values, @@iterator}.name in V8 / FF
|
|
474
|
-
if (DEF_VALUES && $native && $native.name !== VALUES) {
|
|
475
|
-
VALUES_BUG = true;
|
|
476
|
-
$default = function values() { return $native.call(this); };
|
|
477
|
-
}
|
|
478
|
-
// Define iterator
|
|
479
|
-
if (( FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
|
|
480
|
-
_hide(proto, ITERATOR, $default);
|
|
481
|
-
}
|
|
482
|
-
// Plug for library
|
|
483
|
-
_iterators[NAME] = $default;
|
|
484
|
-
_iterators[TAG] = returnThis;
|
|
485
|
-
if (DEFAULT) {
|
|
486
|
-
methods = {
|
|
487
|
-
values: DEF_VALUES ? $default : getMethod(VALUES),
|
|
488
|
-
keys: IS_SET ? $default : getMethod(KEYS),
|
|
489
|
-
entries: $entries
|
|
490
|
-
};
|
|
491
|
-
if (FORCED) for (key in methods) {
|
|
492
|
-
if (!(key in proto)) _redefine(proto, key, methods[key]);
|
|
493
|
-
} else _export(_export.P + _export.F * (BUGGY || VALUES_BUG), NAME, methods);
|
|
494
|
-
}
|
|
495
|
-
return methods;
|
|
496
|
-
};
|
|
497
|
-
|
|
498
|
-
var $at = _stringAt(true);
|
|
499
|
-
|
|
500
|
-
// 21.1.3.27 String.prototype[@@iterator]()
|
|
501
|
-
_iterDefine(String, 'String', function (iterated) {
|
|
502
|
-
this._t = String(iterated); // target
|
|
503
|
-
this._i = 0; // next index
|
|
504
|
-
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
|
505
|
-
}, function () {
|
|
506
|
-
var O = this._t;
|
|
507
|
-
var index = this._i;
|
|
508
|
-
var point;
|
|
509
|
-
if (index >= O.length) return { value: undefined, done: true };
|
|
510
|
-
point = $at(O, index);
|
|
511
|
-
this._i += point.length;
|
|
512
|
-
return { value: point, done: false };
|
|
513
|
-
});
|
|
514
|
-
|
|
515
|
-
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
516
|
-
|
|
517
|
-
var TAG$1 = _wks('toStringTag');
|
|
518
|
-
// ES3 wrong here
|
|
519
|
-
var ARG = _cof(function () { return arguments; }()) == 'Arguments';
|
|
520
|
-
|
|
521
|
-
// fallback for IE11 Script Access Denied error
|
|
522
|
-
var tryGet = function (it, key) {
|
|
523
|
-
try {
|
|
524
|
-
return it[key];
|
|
525
|
-
} catch (e) { /* empty */ }
|
|
526
|
-
};
|
|
527
|
-
|
|
528
|
-
var _classof = function (it) {
|
|
529
|
-
var O, T, B;
|
|
530
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
531
|
-
// @@toStringTag case
|
|
532
|
-
: typeof (T = tryGet(O = Object(it), TAG$1)) == 'string' ? T
|
|
533
|
-
// builtinTag case
|
|
534
|
-
: ARG ? _cof(O)
|
|
535
|
-
// ES3 arguments fallback
|
|
536
|
-
: (B = _cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
var ITERATOR$1 = _wks('iterator');
|
|
540
|
-
|
|
541
|
-
var core_getIteratorMethod = _core.getIteratorMethod = function (it) {
|
|
542
|
-
if (it != undefined) return it[ITERATOR$1]
|
|
543
|
-
|| it['@@iterator']
|
|
544
|
-
|| _iterators[_classof(it)];
|
|
545
|
-
};
|
|
546
|
-
|
|
547
|
-
export { _toPrimitive as A, _ie8DomDefine as B, _has as C, _shared as D, _uid as E, _redefine as F, _cof as G, _domCreate as H, _html as I, _export as _, _core as a, _isObject as b, _objectCreate as c, _ctx as d, _descriptors as e, _iterDefine as f, _objectDp as g, _wks as h, _toObject as i, _iobject as j, _toLength as k, _global as l, _fails as m, _hide as n, _setToStringTag as o, _classof as p, _aFunction as q, _objectGpo as r, _anObject as s, _objectKeys as t, _propertyDesc as u, core_getIteratorMethod as v, _iterators as w, _objectKeysInternal as x, _enumBugKeys as y, _toIobject as z };
|
|
318
|
+
export { _toInteger as A, _sharedKey as B, _export as _, _core as a, _isObject as b, _ctx as c, _descriptors as d, _objectDp as e, _toObject as f, _iobject as g, _toLength as h, _global as i, _fails as j, _hide as k, _aFunction as l, _anObject as m, _objectKeys as n, _propertyDesc as o, _objectKeysInternal as p, _enumBugKeys as q, _toIobject as r, _toPrimitive as s, _ie8DomDefine as t, _has as u, _shared as v, _uid as w, _cof as x, _domCreate as y, _defined as z };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
2
|
+
import { c as _ctx, h as _toLength, m as _anObject, l as _aFunction, i as _global, x as _cof, y as _domCreate, b as _isObject, k as _hide, a as _core, d as _descriptors, e as _objectDp, _ as _export } from './_to-object-a4107da3.js';
|
|
3
|
+
import { b as _wks, g as _html, c as _setToStringTag } from './es6.string.iterator-c990c18c.js';
|
|
3
4
|
import { _ as _library } from './_library-528f1934.js';
|
|
4
|
-
import { a as _isArrayIter, b as _iterCall, _ as _iterDetect } from './_iter-detect-
|
|
5
|
-
import './
|
|
5
|
+
import { a as _isArrayIter, b as _iterCall, _ as _iterDetect } from './_iter-detect-5d49a330.js';
|
|
6
|
+
import { c as core_getIteratorMethod, _ as _classof } from './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
6
8
|
|
|
7
9
|
var runtime = createCommonjsModule(function (module) {
|
|
8
10
|
/**
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { x as _cof, a as _core } from './_to-object-a4107da3.js';
|
|
2
|
+
import { b as _wks, e as _iterators } from './es6.string.iterator-c990c18c.js';
|
|
3
|
+
|
|
4
|
+
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
5
|
+
|
|
6
|
+
var TAG = _wks('toStringTag');
|
|
7
|
+
// ES3 wrong here
|
|
8
|
+
var ARG = _cof(function () { return arguments; }()) == 'Arguments';
|
|
9
|
+
|
|
10
|
+
// fallback for IE11 Script Access Denied error
|
|
11
|
+
var tryGet = function (it, key) {
|
|
12
|
+
try {
|
|
13
|
+
return it[key];
|
|
14
|
+
} catch (e) { /* empty */ }
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
var _classof = function (it) {
|
|
18
|
+
var O, T, B;
|
|
19
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
20
|
+
// @@toStringTag case
|
|
21
|
+
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
|
22
|
+
// builtinTag case
|
|
23
|
+
: ARG ? _cof(O)
|
|
24
|
+
// ES3 arguments fallback
|
|
25
|
+
: (B = _cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
var ITERATOR = _wks('iterator');
|
|
29
|
+
|
|
30
|
+
var core_getIteratorMethod = _core.getIteratorMethod = function (it) {
|
|
31
|
+
if (it != undefined) return it[ITERATOR]
|
|
32
|
+
|| it['@@iterator']
|
|
33
|
+
|| _iterators[_classof(it)];
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export { _classof as _, core_getIteratorMethod as c };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { _ as _export,
|
|
2
|
+
import { _ as _export, e as _objectDp, d as _descriptors, a as _core } from './_to-object-a4107da3.js';
|
|
3
3
|
|
|
4
4
|
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
5
5
|
_export(_export.S + _export.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { d as defineProperty$1 } from './define-property-
|
|
2
|
+
import { d as defineProperty$1 } from './define-property-8af5f002.js';
|
|
3
3
|
|
|
4
4
|
var defineProperty = createCommonjsModule(function (module, exports) {
|
|
5
5
|
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { z as _defined, A as _toInteger, k as _hide, d as _descriptors, m as _anObject, n as _objectKeys, e as _objectDp, i as _global, B as _sharedKey, y as _domCreate, q as _enumBugKeys, v as _shared, w as _uid, u as _has, o as _propertyDesc, f as _toObject, _ as _export } from './_to-object-a4107da3.js';
|
|
3
|
+
|
|
4
|
+
// true -> String#at
|
|
5
|
+
// false -> String#codePointAt
|
|
6
|
+
var _stringAt = function (TO_STRING) {
|
|
7
|
+
return function (that, pos) {
|
|
8
|
+
var s = String(_defined(that));
|
|
9
|
+
var i = _toInteger(pos);
|
|
10
|
+
var l = s.length;
|
|
11
|
+
var a, b;
|
|
12
|
+
if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
|
|
13
|
+
a = s.charCodeAt(i);
|
|
14
|
+
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
|
15
|
+
? TO_STRING ? s.charAt(i) : a
|
|
16
|
+
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var _redefine = _hide;
|
|
21
|
+
|
|
22
|
+
var _iterators = {};
|
|
23
|
+
|
|
24
|
+
var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
25
|
+
_anObject(O);
|
|
26
|
+
var keys = _objectKeys(Properties);
|
|
27
|
+
var length = keys.length;
|
|
28
|
+
var i = 0;
|
|
29
|
+
var P;
|
|
30
|
+
while (length > i) _objectDp.f(O, P = keys[i++], Properties[P]);
|
|
31
|
+
return O;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
var document = _global.document;
|
|
35
|
+
var _html = document && document.documentElement;
|
|
36
|
+
|
|
37
|
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
42
|
+
var Empty = function () { /* empty */ };
|
|
43
|
+
var PROTOTYPE = 'prototype';
|
|
44
|
+
|
|
45
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
46
|
+
var createDict = function () {
|
|
47
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
48
|
+
var iframe = _domCreate('iframe');
|
|
49
|
+
var i = _enumBugKeys.length;
|
|
50
|
+
var lt = '<';
|
|
51
|
+
var gt = '>';
|
|
52
|
+
var iframeDocument;
|
|
53
|
+
iframe.style.display = 'none';
|
|
54
|
+
_html.appendChild(iframe);
|
|
55
|
+
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
|
56
|
+
// createDict = iframe.contentWindow.Object;
|
|
57
|
+
// html.removeChild(iframe);
|
|
58
|
+
iframeDocument = iframe.contentWindow.document;
|
|
59
|
+
iframeDocument.open();
|
|
60
|
+
iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
|
|
61
|
+
iframeDocument.close();
|
|
62
|
+
createDict = iframeDocument.F;
|
|
63
|
+
while (i--) delete createDict[PROTOTYPE][_enumBugKeys[i]];
|
|
64
|
+
return createDict();
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
var _objectCreate = Object.create || function create(O, Properties) {
|
|
68
|
+
var result;
|
|
69
|
+
if (O !== null) {
|
|
70
|
+
Empty[PROTOTYPE] = _anObject(O);
|
|
71
|
+
result = new Empty();
|
|
72
|
+
Empty[PROTOTYPE] = null;
|
|
73
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
74
|
+
result[IE_PROTO] = O;
|
|
75
|
+
} else result = createDict();
|
|
76
|
+
return Properties === undefined ? result : _objectDps(result, Properties);
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
var _wks = createCommonjsModule(function (module) {
|
|
80
|
+
var store = _shared('wks');
|
|
81
|
+
|
|
82
|
+
var Symbol = _global.Symbol;
|
|
83
|
+
var USE_SYMBOL = typeof Symbol == 'function';
|
|
84
|
+
|
|
85
|
+
var $exports = module.exports = function (name) {
|
|
86
|
+
return store[name] || (store[name] =
|
|
87
|
+
USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : _uid)('Symbol.' + name));
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
$exports.store = store;
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
var def = _objectDp.f;
|
|
94
|
+
|
|
95
|
+
var TAG = _wks('toStringTag');
|
|
96
|
+
|
|
97
|
+
var _setToStringTag = function (it, tag, stat) {
|
|
98
|
+
if (it && !_has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
var IteratorPrototype = {};
|
|
102
|
+
|
|
103
|
+
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
|
104
|
+
_hide(IteratorPrototype, _wks('iterator'), function () { return this; });
|
|
105
|
+
|
|
106
|
+
var _iterCreate = function (Constructor, NAME, next) {
|
|
107
|
+
Constructor.prototype = _objectCreate(IteratorPrototype, { next: _propertyDesc(1, next) });
|
|
108
|
+
_setToStringTag(Constructor, NAME + ' Iterator');
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
var IE_PROTO$1 = _sharedKey('IE_PROTO');
|
|
115
|
+
var ObjectProto = Object.prototype;
|
|
116
|
+
|
|
117
|
+
var _objectGpo = Object.getPrototypeOf || function (O) {
|
|
118
|
+
O = _toObject(O);
|
|
119
|
+
if (_has(O, IE_PROTO$1)) return O[IE_PROTO$1];
|
|
120
|
+
if (typeof O.constructor == 'function' && O instanceof O.constructor) {
|
|
121
|
+
return O.constructor.prototype;
|
|
122
|
+
} return O instanceof Object ? ObjectProto : null;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
var ITERATOR = _wks('iterator');
|
|
126
|
+
var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
|
|
127
|
+
var FF_ITERATOR = '@@iterator';
|
|
128
|
+
var KEYS = 'keys';
|
|
129
|
+
var VALUES = 'values';
|
|
130
|
+
|
|
131
|
+
var returnThis = function () { return this; };
|
|
132
|
+
|
|
133
|
+
var _iterDefine = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
|
|
134
|
+
_iterCreate(Constructor, NAME, next);
|
|
135
|
+
var getMethod = function (kind) {
|
|
136
|
+
if (!BUGGY && kind in proto) return proto[kind];
|
|
137
|
+
switch (kind) {
|
|
138
|
+
case KEYS: return function keys() { return new Constructor(this, kind); };
|
|
139
|
+
case VALUES: return function values() { return new Constructor(this, kind); };
|
|
140
|
+
} return function entries() { return new Constructor(this, kind); };
|
|
141
|
+
};
|
|
142
|
+
var TAG = NAME + ' Iterator';
|
|
143
|
+
var DEF_VALUES = DEFAULT == VALUES;
|
|
144
|
+
var VALUES_BUG = false;
|
|
145
|
+
var proto = Base.prototype;
|
|
146
|
+
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
|
|
147
|
+
var $default = $native || getMethod(DEFAULT);
|
|
148
|
+
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
|
|
149
|
+
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
|
|
150
|
+
var methods, key, IteratorPrototype;
|
|
151
|
+
// Fix native
|
|
152
|
+
if ($anyNative) {
|
|
153
|
+
IteratorPrototype = _objectGpo($anyNative.call(new Base()));
|
|
154
|
+
if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
|
|
155
|
+
// Set @@toStringTag to native iterators
|
|
156
|
+
_setToStringTag(IteratorPrototype, TAG, true);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
// fix Array#{values, @@iterator}.name in V8 / FF
|
|
160
|
+
if (DEF_VALUES && $native && $native.name !== VALUES) {
|
|
161
|
+
VALUES_BUG = true;
|
|
162
|
+
$default = function values() { return $native.call(this); };
|
|
163
|
+
}
|
|
164
|
+
// Define iterator
|
|
165
|
+
if (( FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
|
|
166
|
+
_hide(proto, ITERATOR, $default);
|
|
167
|
+
}
|
|
168
|
+
// Plug for library
|
|
169
|
+
_iterators[NAME] = $default;
|
|
170
|
+
_iterators[TAG] = returnThis;
|
|
171
|
+
if (DEFAULT) {
|
|
172
|
+
methods = {
|
|
173
|
+
values: DEF_VALUES ? $default : getMethod(VALUES),
|
|
174
|
+
keys: IS_SET ? $default : getMethod(KEYS),
|
|
175
|
+
entries: $entries
|
|
176
|
+
};
|
|
177
|
+
if (FORCED) for (key in methods) {
|
|
178
|
+
if (!(key in proto)) _redefine(proto, key, methods[key]);
|
|
179
|
+
} else _export(_export.P + _export.F * (BUGGY || VALUES_BUG), NAME, methods);
|
|
180
|
+
}
|
|
181
|
+
return methods;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
var $at = _stringAt(true);
|
|
185
|
+
|
|
186
|
+
// 21.1.3.27 String.prototype[@@iterator]()
|
|
187
|
+
_iterDefine(String, 'String', function (iterated) {
|
|
188
|
+
this._t = String(iterated); // target
|
|
189
|
+
this._i = 0; // next index
|
|
190
|
+
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
|
191
|
+
}, function () {
|
|
192
|
+
var O = this._t;
|
|
193
|
+
var index = this._i;
|
|
194
|
+
var point;
|
|
195
|
+
if (index >= O.length) return { value: undefined, done: true };
|
|
196
|
+
point = $at(O, index);
|
|
197
|
+
this._i += point.length;
|
|
198
|
+
return { value: point, done: false };
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
export { _objectCreate as _, _iterDefine as a, _wks as b, _setToStringTag as c, _objectGpo as d, _iterators as e, _redefine as f, _html as g };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
2
|
+
import { j as _fails, f as _toObject, g as _iobject, n as _objectKeys, d as _descriptors, _ as _export, a as _core } from './_to-object-a4107da3.js';
|
|
3
3
|
import { _ as _objectGops, a as _objectPie } from './_object-pie-33c40e79.js';
|
|
4
4
|
|
|
5
5
|
// 19.1.2.1 Object.assign(target, source, ...)
|
package/dist/esm/faundadb.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
3
4
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
7
9
|
import { m as md5 } from './md5-9be0e905.js';
|
|
8
10
|
|
|
9
11
|
var encrypt = function () {
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -8,9 +8,9 @@ var getQuery = function getQuery(type) {
|
|
|
8
8
|
|
|
9
9
|
switch (type) {
|
|
10
10
|
case 'related':
|
|
11
|
-
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n
|
|
11
|
+
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
|
|
12
12
|
case 'article':
|
|
13
|
-
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n
|
|
13
|
+
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n slides[]{\n ...,\n slideshowImage{\n ...,\n "width": asset->.metadata.dimensions.width,\n "height": asset->.metadata.dimensions.height,\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n } \n },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
|
|
14
14
|
case 'publication':
|
|
15
15
|
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
16
16
|
case 'issue':
|