@mjhls/mjh-framework 1.0.866 → 1.0.867
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/AD.js +1 -1
- package/dist/cjs/AD300x250.js +10 -11
- package/dist/cjs/AD300x250x600.js +10 -11
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +10 -11
- package/dist/cjs/ADFooter.js +3 -5
- package/dist/cjs/ADGutter.js +10 -11
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-7d13830e.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +10 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +10 -11
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-d9dbfadc.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -7
- package/dist/cjs/AdSlot.js +10 -11
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlgoliaSearch.js +14105 -24
- package/dist/cjs/AlphabeticList.js +6 -8
- package/dist/cjs/ArticleCarousel.js +5 -7
- package/dist/cjs/ArticleProgramLandingPage.js +20 -21
- package/dist/cjs/ArticleSeriesLandingPage.js +18 -19
- package/dist/cjs/ArticleSeriesListing.js +14 -15
- package/dist/cjs/Auth.js +7 -9
- package/dist/cjs/AuthWrapper.js +4 -6
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/Breadcrumbs.js +3 -5
- package/dist/cjs/CMEDeck.js +10 -11
- package/dist/cjs/Column2.js +6 -8
- package/dist/cjs/Column3.js +12 -13
- package/dist/cjs/ConferenceArticleCard.js +18 -15
- package/dist/cjs/DeckContent.js +25 -26
- package/dist/cjs/DeckQueue.js +14 -14
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-9be904d5.js} +5 -6
- package/dist/cjs/EventsDeck.js +30 -32
- package/dist/cjs/ExternalResources.js +20 -21
- package/dist/cjs/Feature.js +5 -2
- package/dist/cjs/ForbesHero.js +4 -6
- package/dist/cjs/GridContent.js +19 -20
- package/dist/cjs/GridHero.js +4 -6
- package/dist/cjs/GroupDeck.js +5 -7
- package/dist/cjs/HamMagazine.js +20 -22
- package/dist/cjs/Hero.js +4 -1
- package/dist/cjs/HorizontalArticleListing.js +20 -21
- package/dist/cjs/HorizontalHero.js +5 -2
- package/dist/cjs/IssueContentDeck.js +4 -6
- package/dist/cjs/IssueDeck.js +6 -8
- package/dist/cjs/IssueLanding.js +52 -53
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +10 -11
- package/dist/cjs/MasterDeck.js +26 -27
- package/dist/cjs/MediaSeriesLanding.js +320 -422
- package/dist/cjs/NavDvm.js +5 -7
- package/dist/cjs/NavMagazine.js +21 -23
- package/dist/cjs/NavNative.js +17 -19
- package/dist/cjs/OncliveHero.js +5 -2
- package/dist/cjs/OncliveLargeHero.js +4 -6
- package/dist/cjs/PageFilter.js +3 -5
- package/dist/cjs/PartnerDetailListing.js +23 -24
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +3 -5
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +5 -7
- package/dist/cjs/PublicationDeck.js +3 -0
- package/dist/cjs/PublicationLanding.js +61 -63
- package/dist/cjs/QueueDeckExpanded.js +14 -15
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +31 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +3 -5
- package/dist/cjs/Segment.js +4 -6
- package/dist/cjs/SeriesListingDeck.js +10 -11
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-ce3261cb.js} +6 -6
- package/dist/cjs/SideFooter.js +8 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-a4ae7b88.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +4 -2
- package/dist/cjs/TaxonomyDescription.js +20 -21
- package/dist/cjs/TemplateNormal.js +17 -18
- package/dist/cjs/ThumbnailCard.js +4 -1
- package/dist/cjs/Ustream.js +10 -12
- package/dist/cjs/VerticalHero.js +3 -0
- package/dist/cjs/VideoProgramLandingPage.js +20 -21
- package/dist/cjs/VideoSeriesCard.js +6 -6
- package/dist/cjs/VideoSeriesFilter.js +5 -7
- package/dist/cjs/VideoSeriesLandingPage.js +18 -19
- package/dist/cjs/VideoSeriesListing.js +14 -15
- package/dist/cjs/View.js +25 -26
- package/dist/cjs/YahooHero.js +4 -6
- package/dist/cjs/YoutubeGroup.js +8 -10
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-54228b29.js} +9 -9
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-b1df62f0.js} +6 -7
- package/dist/cjs/_object-sap-d1978572.js +16 -0
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-ce86cae7.js} +4 -4
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-77821af0.js} +65 -67
- package/dist/cjs/{_to-object-6de10e57.js → core.get-iterator-method-5643aa10.js} +248 -12
- package/dist/cjs/{define-property-c88be878.js → define-property-e8404b64.js} +3 -3
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-7c86182f.js} +8 -8
- package/dist/cjs/faundadb.js +4 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +4 -6
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +20 -21
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-9d509319.js} +11 -11
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-32097c80.js → index-ad4e6a69.js} +42 -21
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +32 -33
- package/dist/cjs/{inherits-c2065b95.js → inherits-de66ea16.js} +13 -14
- package/dist/cjs/{keys-7f2c2108.js → keys-e982b3fa.js} +4 -4
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-067dd3bc.js} +7 -9
- package/dist/cjs/{stringify-c9ac1214.js → stringify-f7a37a8d.js} +2 -2
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-d7797c2b.js} +8 -10
- package/dist/cjs/{typeof-88a668c5.js → typeof-567e31ff.js} +73 -74
- package/dist/cjs/urlFor.js +18 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-d98303e0.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -15
- package/dist/esm/AD300x250x600.js +14 -15
- package/dist/esm/AD728x90.js +15 -16
- package/dist/esm/ADFloatingFooter.js +17 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +17 -18
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-0cbd7bed.js} +6 -6
- package/dist/esm/ADSkyscraper.js +17 -18
- package/dist/esm/ADSponsoredResources.js +17 -18
- package/dist/esm/ADWebcast.js +17 -18
- package/dist/esm/ADWelcome.js +21 -22
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-2d1a52d9.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -23
- package/dist/esm/AdSlot.js +13 -14
- package/dist/esm/AdSlotsProvider.js +10 -11
- package/dist/esm/AlgoliaSearch.js +14127 -46
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +10 -12
- package/dist/esm/ArticleProgramLandingPage.js +32 -33
- package/dist/esm/ArticleSeriesLandingPage.js +26 -27
- package/dist/esm/ArticleSeriesListing.js +41 -42
- package/dist/esm/Auth.js +77 -79
- package/dist/esm/AuthWrapper.js +29 -31
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +69 -70
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -20
- package/dist/esm/Column3.js +33 -34
- package/dist/esm/ConferenceArticleCard.js +31 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +71 -72
- package/dist/esm/DeckQueue.js +54 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-4ca12f2e.js} +14 -15
- package/dist/esm/EventsDeck.js +91 -93
- package/dist/esm/ExternalResources.js +50 -51
- package/dist/esm/Feature.js +19 -16
- package/dist/esm/ForbesHero.js +29 -31
- package/dist/esm/GridContent.js +138 -139
- package/dist/esm/GridHero.js +30 -32
- package/dist/esm/GroupDeck.js +39 -41
- package/dist/esm/HamMagazine.js +100 -102
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +23 -20
- package/dist/esm/IssueContentDeck.js +42 -44
- package/dist/esm/IssueDeck.js +39 -41
- package/dist/esm/IssueLanding.js +66 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +24 -25
- package/dist/esm/MasterDeck.js +60 -61
- package/dist/esm/MediaSeriesLanding.js +347 -449
- package/dist/esm/NavDvm.js +48 -50
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -106
- package/dist/esm/NavNative.js +91 -93
- package/dist/esm/OncliveHero.js +17 -14
- package/dist/esm/OncliveLargeHero.js +53 -55
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +81 -82
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +23 -24
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +36 -33
- package/dist/esm/PublicationLanding.js +83 -85
- package/dist/esm/QueueDeckExpanded.js +255 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +46 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -10
- package/dist/esm/Segment.js +4 -6
- package/dist/esm/SeriesListingDeck.js +26 -27
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-485f514e.js} +24 -24
- package/dist/esm/SideFooter.js +27 -29
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-41b6b480.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +39 -37
- package/dist/esm/TaxonomyDescription.js +28 -29
- package/dist/esm/TemplateNormal.js +39 -40
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +14 -11
- package/dist/esm/VideoProgramLandingPage.js +39 -40
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +26 -27
- package/dist/esm/VideoSeriesListing.js +57 -58
- package/dist/esm/View.js +189 -190
- package/dist/esm/YahooHero.js +26 -28
- package/dist/esm/YoutubeGroup.js +35 -37
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-f089461c.js} +1 -2
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-b4dfe691.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{_to-object-b50e61c3.js → core.get-iterator-method-e903ff31.js} +239 -10
- package/dist/esm/{define-property-fe54dc9f.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -6
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +4 -6
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -24
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +5 -7
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-5e84f9cd.js → index-61397130.js} +452 -431
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +56 -57
- package/dist/esm/{inherits-a41fe93f.js → inherits-8a801a18.js} +4 -5
- package/dist/esm/{keys-7a3adabf.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-ca2c8b8d.js} +2 -4
- package/dist/esm/{stringify-59c8f690.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-7b1c0e23.js} +2 -4
- package/dist/esm/{typeof-a286cf0c.js → typeof-83d9eb10.js} +3 -4
- package/dist/esm/urlFor.js +18 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-fdf034f5.js} +1 -2
- package/package.json +111 -111
- package/dist/cjs/_object-sap-a175b4a9.js +0 -16
- package/dist/cjs/core.get-iterator-method-f474eacc.js +0 -39
- package/dist/cjs/es6.string.iterator-c2573ffd.js +0 -210
- package/dist/esm/core.get-iterator-method-133dfacd.js +0 -36
- package/dist/esm/es6.string.iterator-bc33758b.js +0 -201
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
var domain;
|
|
2
|
+
|
|
3
|
+
// This constructor is used to store event handlers. Instantiating this is
|
|
4
|
+
// faster than explicitly calling `Object.create(null)` to get a "clean" empty
|
|
5
|
+
// object (tested with v8 v4.9).
|
|
6
|
+
function EventHandlers() {}
|
|
7
|
+
EventHandlers.prototype = Object.create(null);
|
|
8
|
+
|
|
9
|
+
function EventEmitter() {
|
|
10
|
+
EventEmitter.init.call(this);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// nodejs oddity
|
|
14
|
+
// require('events') === require('events').EventEmitter
|
|
15
|
+
EventEmitter.EventEmitter = EventEmitter;
|
|
16
|
+
|
|
17
|
+
EventEmitter.usingDomains = false;
|
|
18
|
+
|
|
19
|
+
EventEmitter.prototype.domain = undefined;
|
|
20
|
+
EventEmitter.prototype._events = undefined;
|
|
21
|
+
EventEmitter.prototype._maxListeners = undefined;
|
|
22
|
+
|
|
23
|
+
// By default EventEmitters will print a warning if more than 10 listeners are
|
|
24
|
+
// added to it. This is a useful default which helps finding memory leaks.
|
|
25
|
+
EventEmitter.defaultMaxListeners = 10;
|
|
26
|
+
|
|
27
|
+
EventEmitter.init = function() {
|
|
28
|
+
this.domain = null;
|
|
29
|
+
if (EventEmitter.usingDomains) {
|
|
30
|
+
// if there is an active domain, then attach to it.
|
|
31
|
+
if (domain.active ) ;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (!this._events || this._events === Object.getPrototypeOf(this)._events) {
|
|
35
|
+
this._events = new EventHandlers();
|
|
36
|
+
this._eventsCount = 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
this._maxListeners = this._maxListeners || undefined;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// Obviously not all Emitters should be limited to 10. This function allows
|
|
43
|
+
// that to be increased. Set to zero for unlimited.
|
|
44
|
+
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
|
|
45
|
+
if (typeof n !== 'number' || n < 0 || isNaN(n))
|
|
46
|
+
throw new TypeError('"n" argument must be a positive number');
|
|
47
|
+
this._maxListeners = n;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
function $getMaxListeners(that) {
|
|
52
|
+
if (that._maxListeners === undefined)
|
|
53
|
+
return EventEmitter.defaultMaxListeners;
|
|
54
|
+
return that._maxListeners;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
|
|
58
|
+
return $getMaxListeners(this);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
// These standalone emit* functions are used to optimize calling of event
|
|
62
|
+
// handlers for fast cases because emit() itself often has a variable number of
|
|
63
|
+
// arguments and can be deoptimized because of that. These functions always have
|
|
64
|
+
// the same number of arguments and thus do not get deoptimized, so the code
|
|
65
|
+
// inside them can execute faster.
|
|
66
|
+
function emitNone(handler, isFn, self) {
|
|
67
|
+
if (isFn)
|
|
68
|
+
handler.call(self);
|
|
69
|
+
else {
|
|
70
|
+
var len = handler.length;
|
|
71
|
+
var listeners = arrayClone(handler, len);
|
|
72
|
+
for (var i = 0; i < len; ++i)
|
|
73
|
+
listeners[i].call(self);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function emitOne(handler, isFn, self, arg1) {
|
|
77
|
+
if (isFn)
|
|
78
|
+
handler.call(self, arg1);
|
|
79
|
+
else {
|
|
80
|
+
var len = handler.length;
|
|
81
|
+
var listeners = arrayClone(handler, len);
|
|
82
|
+
for (var i = 0; i < len; ++i)
|
|
83
|
+
listeners[i].call(self, arg1);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function emitTwo(handler, isFn, self, arg1, arg2) {
|
|
87
|
+
if (isFn)
|
|
88
|
+
handler.call(self, arg1, arg2);
|
|
89
|
+
else {
|
|
90
|
+
var len = handler.length;
|
|
91
|
+
var listeners = arrayClone(handler, len);
|
|
92
|
+
for (var i = 0; i < len; ++i)
|
|
93
|
+
listeners[i].call(self, arg1, arg2);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function emitThree(handler, isFn, self, arg1, arg2, arg3) {
|
|
97
|
+
if (isFn)
|
|
98
|
+
handler.call(self, arg1, arg2, arg3);
|
|
99
|
+
else {
|
|
100
|
+
var len = handler.length;
|
|
101
|
+
var listeners = arrayClone(handler, len);
|
|
102
|
+
for (var i = 0; i < len; ++i)
|
|
103
|
+
listeners[i].call(self, arg1, arg2, arg3);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function emitMany(handler, isFn, self, args) {
|
|
108
|
+
if (isFn)
|
|
109
|
+
handler.apply(self, args);
|
|
110
|
+
else {
|
|
111
|
+
var len = handler.length;
|
|
112
|
+
var listeners = arrayClone(handler, len);
|
|
113
|
+
for (var i = 0; i < len; ++i)
|
|
114
|
+
listeners[i].apply(self, args);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
EventEmitter.prototype.emit = function emit(type) {
|
|
119
|
+
var er, handler, len, args, i, events, domain;
|
|
120
|
+
var doError = (type === 'error');
|
|
121
|
+
|
|
122
|
+
events = this._events;
|
|
123
|
+
if (events)
|
|
124
|
+
doError = (doError && events.error == null);
|
|
125
|
+
else if (!doError)
|
|
126
|
+
return false;
|
|
127
|
+
|
|
128
|
+
domain = this.domain;
|
|
129
|
+
|
|
130
|
+
// If there is no 'error' event listener then throw.
|
|
131
|
+
if (doError) {
|
|
132
|
+
er = arguments[1];
|
|
133
|
+
if (domain) {
|
|
134
|
+
if (!er)
|
|
135
|
+
er = new Error('Uncaught, unspecified "error" event');
|
|
136
|
+
er.domainEmitter = this;
|
|
137
|
+
er.domain = domain;
|
|
138
|
+
er.domainThrown = false;
|
|
139
|
+
domain.emit('error', er);
|
|
140
|
+
} else if (er instanceof Error) {
|
|
141
|
+
throw er; // Unhandled 'error' event
|
|
142
|
+
} else {
|
|
143
|
+
// At least give some kind of context to the user
|
|
144
|
+
var err = new Error('Uncaught, unspecified "error" event. (' + er + ')');
|
|
145
|
+
err.context = er;
|
|
146
|
+
throw err;
|
|
147
|
+
}
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
handler = events[type];
|
|
152
|
+
|
|
153
|
+
if (!handler)
|
|
154
|
+
return false;
|
|
155
|
+
|
|
156
|
+
var isFn = typeof handler === 'function';
|
|
157
|
+
len = arguments.length;
|
|
158
|
+
switch (len) {
|
|
159
|
+
// fast cases
|
|
160
|
+
case 1:
|
|
161
|
+
emitNone(handler, isFn, this);
|
|
162
|
+
break;
|
|
163
|
+
case 2:
|
|
164
|
+
emitOne(handler, isFn, this, arguments[1]);
|
|
165
|
+
break;
|
|
166
|
+
case 3:
|
|
167
|
+
emitTwo(handler, isFn, this, arguments[1], arguments[2]);
|
|
168
|
+
break;
|
|
169
|
+
case 4:
|
|
170
|
+
emitThree(handler, isFn, this, arguments[1], arguments[2], arguments[3]);
|
|
171
|
+
break;
|
|
172
|
+
// slower
|
|
173
|
+
default:
|
|
174
|
+
args = new Array(len - 1);
|
|
175
|
+
for (i = 1; i < len; i++)
|
|
176
|
+
args[i - 1] = arguments[i];
|
|
177
|
+
emitMany(handler, isFn, this, args);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return true;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
function _addListener(target, type, listener, prepend) {
|
|
184
|
+
var m;
|
|
185
|
+
var events;
|
|
186
|
+
var existing;
|
|
187
|
+
|
|
188
|
+
if (typeof listener !== 'function')
|
|
189
|
+
throw new TypeError('"listener" argument must be a function');
|
|
190
|
+
|
|
191
|
+
events = target._events;
|
|
192
|
+
if (!events) {
|
|
193
|
+
events = target._events = new EventHandlers();
|
|
194
|
+
target._eventsCount = 0;
|
|
195
|
+
} else {
|
|
196
|
+
// To avoid recursion in the case that type === "newListener"! Before
|
|
197
|
+
// adding it to the listeners, first emit "newListener".
|
|
198
|
+
if (events.newListener) {
|
|
199
|
+
target.emit('newListener', type,
|
|
200
|
+
listener.listener ? listener.listener : listener);
|
|
201
|
+
|
|
202
|
+
// Re-assign `events` because a newListener handler could have caused the
|
|
203
|
+
// this._events to be assigned to a new object
|
|
204
|
+
events = target._events;
|
|
205
|
+
}
|
|
206
|
+
existing = events[type];
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (!existing) {
|
|
210
|
+
// Optimize the case of one listener. Don't need the extra array object.
|
|
211
|
+
existing = events[type] = listener;
|
|
212
|
+
++target._eventsCount;
|
|
213
|
+
} else {
|
|
214
|
+
if (typeof existing === 'function') {
|
|
215
|
+
// Adding the second element, need to change to array.
|
|
216
|
+
existing = events[type] = prepend ? [listener, existing] :
|
|
217
|
+
[existing, listener];
|
|
218
|
+
} else {
|
|
219
|
+
// If we've already got an array, just append.
|
|
220
|
+
if (prepend) {
|
|
221
|
+
existing.unshift(listener);
|
|
222
|
+
} else {
|
|
223
|
+
existing.push(listener);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// Check for listener leak
|
|
228
|
+
if (!existing.warned) {
|
|
229
|
+
m = $getMaxListeners(target);
|
|
230
|
+
if (m && m > 0 && existing.length > m) {
|
|
231
|
+
existing.warned = true;
|
|
232
|
+
var w = new Error('Possible EventEmitter memory leak detected. ' +
|
|
233
|
+
existing.length + ' ' + type + ' listeners added. ' +
|
|
234
|
+
'Use emitter.setMaxListeners() to increase limit');
|
|
235
|
+
w.name = 'MaxListenersExceededWarning';
|
|
236
|
+
w.emitter = target;
|
|
237
|
+
w.type = type;
|
|
238
|
+
w.count = existing.length;
|
|
239
|
+
emitWarning(w);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
return target;
|
|
245
|
+
}
|
|
246
|
+
function emitWarning(e) {
|
|
247
|
+
typeof console.warn === 'function' ? console.warn(e) : console.log(e);
|
|
248
|
+
}
|
|
249
|
+
EventEmitter.prototype.addListener = function addListener(type, listener) {
|
|
250
|
+
return _addListener(this, type, listener, false);
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
254
|
+
|
|
255
|
+
EventEmitter.prototype.prependListener =
|
|
256
|
+
function prependListener(type, listener) {
|
|
257
|
+
return _addListener(this, type, listener, true);
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
function _onceWrap(target, type, listener) {
|
|
261
|
+
var fired = false;
|
|
262
|
+
function g() {
|
|
263
|
+
target.removeListener(type, g);
|
|
264
|
+
if (!fired) {
|
|
265
|
+
fired = true;
|
|
266
|
+
listener.apply(target, arguments);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
g.listener = listener;
|
|
270
|
+
return g;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
EventEmitter.prototype.once = function once(type, listener) {
|
|
274
|
+
if (typeof listener !== 'function')
|
|
275
|
+
throw new TypeError('"listener" argument must be a function');
|
|
276
|
+
this.on(type, _onceWrap(this, type, listener));
|
|
277
|
+
return this;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
EventEmitter.prototype.prependOnceListener =
|
|
281
|
+
function prependOnceListener(type, listener) {
|
|
282
|
+
if (typeof listener !== 'function')
|
|
283
|
+
throw new TypeError('"listener" argument must be a function');
|
|
284
|
+
this.prependListener(type, _onceWrap(this, type, listener));
|
|
285
|
+
return this;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
// emits a 'removeListener' event iff the listener was removed
|
|
289
|
+
EventEmitter.prototype.removeListener =
|
|
290
|
+
function removeListener(type, listener) {
|
|
291
|
+
var list, events, position, i, originalListener;
|
|
292
|
+
|
|
293
|
+
if (typeof listener !== 'function')
|
|
294
|
+
throw new TypeError('"listener" argument must be a function');
|
|
295
|
+
|
|
296
|
+
events = this._events;
|
|
297
|
+
if (!events)
|
|
298
|
+
return this;
|
|
299
|
+
|
|
300
|
+
list = events[type];
|
|
301
|
+
if (!list)
|
|
302
|
+
return this;
|
|
303
|
+
|
|
304
|
+
if (list === listener || (list.listener && list.listener === listener)) {
|
|
305
|
+
if (--this._eventsCount === 0)
|
|
306
|
+
this._events = new EventHandlers();
|
|
307
|
+
else {
|
|
308
|
+
delete events[type];
|
|
309
|
+
if (events.removeListener)
|
|
310
|
+
this.emit('removeListener', type, list.listener || listener);
|
|
311
|
+
}
|
|
312
|
+
} else if (typeof list !== 'function') {
|
|
313
|
+
position = -1;
|
|
314
|
+
|
|
315
|
+
for (i = list.length; i-- > 0;) {
|
|
316
|
+
if (list[i] === listener ||
|
|
317
|
+
(list[i].listener && list[i].listener === listener)) {
|
|
318
|
+
originalListener = list[i].listener;
|
|
319
|
+
position = i;
|
|
320
|
+
break;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
if (position < 0)
|
|
325
|
+
return this;
|
|
326
|
+
|
|
327
|
+
if (list.length === 1) {
|
|
328
|
+
list[0] = undefined;
|
|
329
|
+
if (--this._eventsCount === 0) {
|
|
330
|
+
this._events = new EventHandlers();
|
|
331
|
+
return this;
|
|
332
|
+
} else {
|
|
333
|
+
delete events[type];
|
|
334
|
+
}
|
|
335
|
+
} else {
|
|
336
|
+
spliceOne(list, position);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (events.removeListener)
|
|
340
|
+
this.emit('removeListener', type, originalListener || listener);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
return this;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
EventEmitter.prototype.removeAllListeners =
|
|
347
|
+
function removeAllListeners(type) {
|
|
348
|
+
var listeners, events;
|
|
349
|
+
|
|
350
|
+
events = this._events;
|
|
351
|
+
if (!events)
|
|
352
|
+
return this;
|
|
353
|
+
|
|
354
|
+
// not listening for removeListener, no need to emit
|
|
355
|
+
if (!events.removeListener) {
|
|
356
|
+
if (arguments.length === 0) {
|
|
357
|
+
this._events = new EventHandlers();
|
|
358
|
+
this._eventsCount = 0;
|
|
359
|
+
} else if (events[type]) {
|
|
360
|
+
if (--this._eventsCount === 0)
|
|
361
|
+
this._events = new EventHandlers();
|
|
362
|
+
else
|
|
363
|
+
delete events[type];
|
|
364
|
+
}
|
|
365
|
+
return this;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// emit removeListener for all listeners on all events
|
|
369
|
+
if (arguments.length === 0) {
|
|
370
|
+
var keys = Object.keys(events);
|
|
371
|
+
for (var i = 0, key; i < keys.length; ++i) {
|
|
372
|
+
key = keys[i];
|
|
373
|
+
if (key === 'removeListener') continue;
|
|
374
|
+
this.removeAllListeners(key);
|
|
375
|
+
}
|
|
376
|
+
this.removeAllListeners('removeListener');
|
|
377
|
+
this._events = new EventHandlers();
|
|
378
|
+
this._eventsCount = 0;
|
|
379
|
+
return this;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
listeners = events[type];
|
|
383
|
+
|
|
384
|
+
if (typeof listeners === 'function') {
|
|
385
|
+
this.removeListener(type, listeners);
|
|
386
|
+
} else if (listeners) {
|
|
387
|
+
// LIFO order
|
|
388
|
+
do {
|
|
389
|
+
this.removeListener(type, listeners[listeners.length - 1]);
|
|
390
|
+
} while (listeners[0]);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
return this;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
EventEmitter.prototype.listeners = function listeners(type) {
|
|
397
|
+
var evlistener;
|
|
398
|
+
var ret;
|
|
399
|
+
var events = this._events;
|
|
400
|
+
|
|
401
|
+
if (!events)
|
|
402
|
+
ret = [];
|
|
403
|
+
else {
|
|
404
|
+
evlistener = events[type];
|
|
405
|
+
if (!evlistener)
|
|
406
|
+
ret = [];
|
|
407
|
+
else if (typeof evlistener === 'function')
|
|
408
|
+
ret = [evlistener.listener || evlistener];
|
|
409
|
+
else
|
|
410
|
+
ret = unwrapListeners(evlistener);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
return ret;
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
EventEmitter.listenerCount = function(emitter, type) {
|
|
417
|
+
if (typeof emitter.listenerCount === 'function') {
|
|
418
|
+
return emitter.listenerCount(type);
|
|
419
|
+
} else {
|
|
420
|
+
return listenerCount.call(emitter, type);
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
EventEmitter.prototype.listenerCount = listenerCount;
|
|
425
|
+
function listenerCount(type) {
|
|
426
|
+
var events = this._events;
|
|
427
|
+
|
|
428
|
+
if (events) {
|
|
429
|
+
var evlistener = events[type];
|
|
430
|
+
|
|
431
|
+
if (typeof evlistener === 'function') {
|
|
432
|
+
return 1;
|
|
433
|
+
} else if (evlistener) {
|
|
434
|
+
return evlistener.length;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
return 0;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
EventEmitter.prototype.eventNames = function eventNames() {
|
|
442
|
+
return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
// About 1.5x faster than the two-arg version of Array#splice().
|
|
446
|
+
function spliceOne(list, index) {
|
|
447
|
+
for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1)
|
|
448
|
+
list[i] = list[k];
|
|
449
|
+
list.pop();
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
function arrayClone(arr, i) {
|
|
453
|
+
var copy = new Array(i);
|
|
454
|
+
while (i--)
|
|
455
|
+
copy[i] = arr[i];
|
|
456
|
+
return copy;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
function unwrapListeners(arr) {
|
|
460
|
+
var ret = new Array(arr.length);
|
|
461
|
+
for (var i = 0; i < ret.length; ++i) {
|
|
462
|
+
ret[i] = arr[i].listener || arr[i];
|
|
463
|
+
}
|
|
464
|
+
return ret;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export { EventEmitter as E };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
2
|
+
import { m as _fails, i as _toObject, j as _iobject, t as _objectKeys, e as _descriptors, _ as _export, a as _core } from './core.get-iterator-method-e903ff31.js';
|
|
3
3
|
import { _ as _objectGops, a as _objectPie } from './_object-pie-133f504a.js';
|
|
4
4
|
|
|
5
5
|
// 19.1.2.1 Object.assign(target, source, ...)
|
package/dist/esm/faundadb.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
2
|
import { m as md5 } from './md5-4e42248e.js';
|
|
3
3
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './web.dom.iterable-4109ff68.js';
|
|
4
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
5
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
7
6
|
import './_library-528f1934.js';
|
|
8
|
-
import './
|
|
9
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
7
|
+
import './_iter-detect-f089461c.js';
|
|
10
8
|
|
|
11
9
|
var encrypt = function () {
|
|
12
10
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(password) {
|
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
|
|
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 asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\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
|
|
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 asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\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 poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \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':
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
2
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import { c as cookie } from './index-db3bb315.js';
|
|
4
4
|
import getQuery from './getQuery.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './web.dom.iterable-4109ff68.js';
|
|
5
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
6
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
8
7
|
import './_library-528f1934.js';
|
|
9
|
-
import './
|
|
10
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
8
|
+
import './_iter-detect-f089461c.js';
|
|
11
9
|
|
|
12
10
|
var defaultParseOptions = {
|
|
13
11
|
decodeValues: true,
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './web.dom.iterable-4109ff68.js';
|
|
3
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
4
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
6
5
|
import './_library-528f1934.js';
|
|
7
|
-
import './
|
|
8
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
6
|
+
import './_iter-detect-f089461c.js';
|
|
9
7
|
|
|
10
8
|
var _this = undefined;
|
|
11
9
|
|
|
@@ -1,43 +1,42 @@
|
|
|
1
|
-
import './extends-
|
|
1
|
+
import './extends-dc6a71fd.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { g as default } from './index-
|
|
4
|
-
import './BlockContent-
|
|
3
|
+
export { g as default } from './index-61397130.js';
|
|
4
|
+
import './BlockContent-52cf21c5.js';
|
|
5
5
|
import './entities-932b50cf.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
7
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
8
8
|
import './_object-pie-133f504a.js';
|
|
9
|
-
import './slicedToArray-
|
|
10
|
-
import './web.dom.iterable-
|
|
11
|
-
import './es6.string.iterator-bc33758b.js';
|
|
12
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
10
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
13
11
|
import 'react-bootstrap';
|
|
14
12
|
import './urlFor.js';
|
|
15
13
|
import './index-0dbff1d1.js';
|
|
16
|
-
import './index-
|
|
14
|
+
import './index-2446af28.js';
|
|
15
|
+
import './events-6c3a7a63.js';
|
|
17
16
|
import 'prop-types';
|
|
18
17
|
import 'next/router';
|
|
19
18
|
import './index-c7e2ac95.js';
|
|
20
19
|
import './util-3ab476bf.js';
|
|
21
20
|
import './Beam.js';
|
|
22
|
-
import './stringify-
|
|
23
|
-
import './asyncToGenerator-
|
|
21
|
+
import './stringify-c21932b3.js';
|
|
22
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
24
23
|
import './_library-528f1934.js';
|
|
25
|
-
import './_iter-detect-
|
|
24
|
+
import './_iter-detect-f089461c.js';
|
|
26
25
|
import './Segment.js';
|
|
27
|
-
import './main-
|
|
28
|
-
import './index-
|
|
26
|
+
import './main-b5c5aac1.js';
|
|
27
|
+
import './index-35bdcc81.js';
|
|
29
28
|
import 'react-dom';
|
|
30
|
-
import './typeof-
|
|
31
|
-
import './_is-array-
|
|
32
|
-
import './brightcove-react-player-loader.es-
|
|
29
|
+
import './typeof-83d9eb10.js';
|
|
30
|
+
import './_is-array-893ab020.js';
|
|
31
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
33
32
|
import './GroupDeck.js';
|
|
34
33
|
import './smoothscroll-fa4e3f8c.js';
|
|
35
34
|
import './moment-bc12cb97.js';
|
|
36
35
|
import './SocialShare.js';
|
|
37
36
|
import 'next/head';
|
|
38
37
|
import 'react-share';
|
|
39
|
-
import './_object-to-array-
|
|
40
|
-
import './toConsumableArray-
|
|
38
|
+
import './_object-to-array-50a6b9a3.js';
|
|
39
|
+
import './toConsumableArray-7b1c0e23.js';
|
|
41
40
|
import 'react-bootstrap/Pagination';
|
|
42
41
|
import 'react-bootstrap/Button';
|
|
43
42
|
import './AdSlot.js';
|
|
@@ -46,11 +45,11 @@ import './isSymbol-a7e9aafe.js';
|
|
|
46
45
|
import './toNumber-5aeba6e7.js';
|
|
47
46
|
import 'react-bootstrap/Row';
|
|
48
47
|
import 'react-bootstrap/Col';
|
|
49
|
-
import './inherits-
|
|
50
|
-
import './_object-sap-
|
|
51
|
-
import './define-property-
|
|
52
|
-
import './index.esm-
|
|
53
|
-
import './iconBase-
|
|
48
|
+
import './inherits-8a801a18.js';
|
|
49
|
+
import './_object-sap-169d6272.js';
|
|
50
|
+
import './define-property-99e66838.js';
|
|
51
|
+
import './index.esm-3fdda599.js';
|
|
52
|
+
import './iconBase-602d52fe.js';
|
|
54
53
|
import 'react-bootstrap/Figure';
|
|
55
54
|
import 'react-bootstrap/OverlayTrigger';
|
|
56
55
|
import 'react-bootstrap/Tooltip';
|