@mjhls/mjh-framework 1.0.966-testV7 → 1.0.967-socialicon-fix
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AlgoliaSearch.js +0 -2
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/IssueLanding.js +1 -1
- package/dist/cjs/{MediaSeriesCard-94ff4d11.js → MediaSeriesCard-200d270d.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +3 -3
- package/dist/cjs/MediaSeriesLandingPaginated.js +3 -3
- package/dist/cjs/PartnerDetailListing.js +3 -3
- package/dist/cjs/PartnerDetailListingPaginated.js +3 -3
- package/dist/cjs/TaxonomyDescription.js +2 -2
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/View.js +11 -26
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{index-eb1c583d.js → index-6bab3b25.js} +1 -11
- package/dist/cjs/index.js +1 -4
- package/dist/esm/AlgoliaSearch.js +0 -2
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/IssueLanding.js +1 -1
- package/dist/esm/{MediaSeriesCard-4f07fac6.js → MediaSeriesCard-0f93cf68.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +3 -3
- package/dist/esm/MediaSeriesLandingPaginated.js +3 -3
- package/dist/esm/PartnerDetailListing.js +3 -3
- package/dist/esm/PartnerDetailListingPaginated.js +3 -3
- package/dist/esm/TaxonomyDescription.js +2 -2
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/View.js +11 -26
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-264bbd3c.js → index-0074586c.js} +1 -11
- package/dist/esm/index.js +1 -2
- package/package.json +1 -1
- package/dist/cjs/PixelTracking.js +0 -165
- package/dist/esm/PixelTracking.js +0 -156
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mjh-framework v. 1.0.
|
|
1
|
+
# mjh-framework v. 1.0.967
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
4
4
|
|
|
@@ -115,8 +115,6 @@ function _assertThisInitialized(self) {
|
|
|
115
115
|
function _possibleConstructorReturn(self, call) {
|
|
116
116
|
if (call && (_typeof$1._typeof(call) === "object" || typeof call === "function")) {
|
|
117
117
|
return call;
|
|
118
|
-
} else if (call !== void 0) {
|
|
119
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
120
118
|
}
|
|
121
119
|
|
|
122
120
|
return _assertThisInitialized(self);
|
|
@@ -5,7 +5,7 @@ var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
|
5
5
|
var _extends = require('./extends-7c86182f.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
9
9
|
var ArticleSeriesListing = require('./ArticleSeriesListing.js');
|
|
10
10
|
require('./_commonjsHelpers-06173234.js');
|
|
11
11
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -4,7 +4,7 @@ var _extends = require('./extends-7c86182f.js');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
7
|
-
var getSerializers = require('./index-
|
|
7
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
8
8
|
var index = require('./index-f86bb269.js');
|
|
9
9
|
var Router = require('next/router');
|
|
10
10
|
var Button = require('react-bootstrap/Button');
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var ArticleCarousel = require('./ArticleCarousel.js');
|
|
6
6
|
var index_esm = require('./index.esm-d81454e7.js');
|
|
7
7
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
9
9
|
require('./_commonjsHelpers-06173234.js');
|
|
10
10
|
require('./core.get-iterator-method-5643aa10.js');
|
|
11
11
|
require('./_object-pie-083f2dd6.js');
|
package/dist/cjs/IssueLanding.js
CHANGED
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
6
6
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
7
7
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
9
9
|
require('./_commonjsHelpers-06173234.js');
|
|
10
10
|
require('./core.get-iterator-method-5643aa10.js');
|
|
11
11
|
require('./_object-pie-083f2dd6.js');
|
|
@@ -11,7 +11,7 @@ var urlFor = require('./urlFor.js');
|
|
|
11
11
|
var moment = require('./moment-aca40de1.js');
|
|
12
12
|
var styleInject_es = require('./style-inject.es-dcee06b6.js');
|
|
13
13
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
14
|
-
var getSerializers = require('./index-
|
|
14
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
17
|
|
|
@@ -5,13 +5,13 @@ var _typeof = require('./typeof-567e31ff.js');
|
|
|
5
5
|
var _extends = require('./extends-7c86182f.js');
|
|
6
6
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var MediaSeriesCard = require('./MediaSeriesCard-
|
|
8
|
+
var MediaSeriesCard = require('./MediaSeriesCard-200d270d.js');
|
|
9
9
|
require('./index-50be6759.js');
|
|
10
10
|
require('react-dom');
|
|
11
11
|
var Link = require('next/link');
|
|
12
12
|
var MasterDeck = require('./MasterDeck.js');
|
|
13
13
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
14
|
-
var getSerializers = require('./index-
|
|
14
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
15
15
|
require('./_commonjsHelpers-06173234.js');
|
|
16
16
|
require('./core.get-iterator-method-5643aa10.js');
|
|
17
17
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -403,7 +403,7 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
403
403
|
itemsPerPage: itemsPerPage
|
|
404
404
|
};
|
|
405
405
|
_context2.next = 9;
|
|
406
|
-
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description
|
|
406
|
+
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description\n }');
|
|
407
407
|
|
|
408
408
|
case 9:
|
|
409
409
|
docGroupID = _context2.sent;
|
|
@@ -5,13 +5,13 @@ var _typeof = require('./typeof-567e31ff.js');
|
|
|
5
5
|
var _extends = require('./extends-7c86182f.js');
|
|
6
6
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var MediaSeriesCard = require('./MediaSeriesCard-
|
|
8
|
+
var MediaSeriesCard = require('./MediaSeriesCard-200d270d.js');
|
|
9
9
|
require('./index-50be6759.js');
|
|
10
10
|
require('react-dom');
|
|
11
11
|
var Link = require('next/link');
|
|
12
12
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
13
13
|
var MasterDeckPaginated = require('./MasterDeckPaginated.js');
|
|
14
|
-
var getSerializers = require('./index-
|
|
14
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
15
15
|
require('./_commonjsHelpers-06173234.js');
|
|
16
16
|
require('./core.get-iterator-method-5643aa10.js');
|
|
17
17
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -423,7 +423,7 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
423
423
|
itemsPerPage: itemsPerPage
|
|
424
424
|
};
|
|
425
425
|
_context2.next = 9;
|
|
426
|
-
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description
|
|
426
|
+
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description\n }');
|
|
427
427
|
|
|
428
428
|
case 9:
|
|
429
429
|
docGroupID = _context2.sent;
|
|
@@ -13,7 +13,7 @@ var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
|
13
13
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
14
14
|
var Feature = require('./Feature.js');
|
|
15
15
|
var urlFor = require('./urlFor.js');
|
|
16
|
-
var getSerializers = require('./index-
|
|
16
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
17
17
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
18
18
|
require('./_commonjsHelpers-06173234.js');
|
|
19
19
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -269,14 +269,14 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
269
269
|
case 0:
|
|
270
270
|
today = moment.moment().utc().format();
|
|
271
271
|
featureQuery = '*[_type == \'feature\' && is_active == true && feature_url == \'/' + partnerPageUrl + '/' + (category ? category + '/' : null) + identifier + '\'] | order(_updatedAt asc)[0..5]{\n ...,\n \'feature_img\' : feature_img.asset->\n }';
|
|
272
|
-
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n
|
|
272
|
+
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n instagram,\n twitterIcon,\n youtube,\n youtubeIcon,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n }';
|
|
273
273
|
|
|
274
274
|
|
|
275
275
|
if (category) {
|
|
276
276
|
// if partners page has a sub category such as onclive
|
|
277
277
|
// e.g. /sap-partner/[category]/[partner]
|
|
278
278
|
|
|
279
|
-
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n
|
|
279
|
+
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n twitterIcon,\n youtube,\n youtubeIcon,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n \n }\n }';
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
taxonomyQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && isShow != false\n && identifier.current == \'' + identifier + '\'] [0] {\n \'id\': _id,\n \'title\': name\n }';
|
|
@@ -13,7 +13,7 @@ var QueueDeckExpandedPaginated = require('./QueueDeckExpandedPaginated.js');
|
|
|
13
13
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
14
14
|
var Feature = require('./Feature.js');
|
|
15
15
|
var urlFor = require('./urlFor.js');
|
|
16
|
-
var getSerializers = require('./index-
|
|
16
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
17
17
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
18
18
|
require('./_commonjsHelpers-06173234.js');
|
|
19
19
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -245,14 +245,14 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
245
245
|
switch (_context.prev = _context.next) {
|
|
246
246
|
case 0:
|
|
247
247
|
featureQuery = '*[_type == \'feature\' && is_active == true && feature_url == \'/' + partnerPageUrl + '/' + (category ? category + '/' : null) + identifier + '\'] | order(_updatedAt asc)[0..5]{\n ...,\n \'feature_img\' : feature_img.asset->\n }';
|
|
248
|
-
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n
|
|
248
|
+
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n }';
|
|
249
249
|
|
|
250
250
|
|
|
251
251
|
if (category) {
|
|
252
252
|
// if partners page has a sub category such as onclive
|
|
253
253
|
// e.g. /sap-partner/[category]/[partner]
|
|
254
254
|
|
|
255
|
-
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n
|
|
255
|
+
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n \n }\n }';
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
taxonomyQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && isShow != false\n && identifier.current == \'' + identifier + '\'] [0] {\n \'id\': _id,\n \'title\': name\n }';
|
|
@@ -7,7 +7,7 @@ var React = require('react');
|
|
|
7
7
|
var Router = require('next/router');
|
|
8
8
|
var Head = require('next/head');
|
|
9
9
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
10
|
-
var getSerializers = require('./index-
|
|
10
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
11
11
|
require('./_commonjsHelpers-06173234.js');
|
|
12
12
|
require('./core.get-iterator-method-5643aa10.js');
|
|
13
13
|
require('./_object-pie-083f2dd6.js');
|
|
@@ -167,7 +167,7 @@ TaxonomyDescription.getDescription = function () {
|
|
|
167
167
|
while (1) {
|
|
168
168
|
switch (_context2.prev = _context2.next) {
|
|
169
169
|
case 0:
|
|
170
|
-
query = '*[_type == \'taxonomy\' && identifier == \'' + url + '\'][0]
|
|
170
|
+
query = '*[_type == \'taxonomy\' && identifier == \'' + url + '\'][0].summary';
|
|
171
171
|
summary = [];
|
|
172
172
|
_context2.prev = 2;
|
|
173
173
|
_context2.next = 5;
|
|
@@ -7,7 +7,7 @@ var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
|
7
7
|
var Col = require('react-bootstrap/Col');
|
|
8
8
|
var Form = require('react-bootstrap/Form');
|
|
9
9
|
var Button = require('react-bootstrap/Button');
|
|
10
|
-
var getSerializers = require('./index-
|
|
10
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
11
11
|
var VideoSeriesListing = require('./VideoSeriesListing.js');
|
|
12
12
|
require('./_commonjsHelpers-06173234.js');
|
|
13
13
|
require('./core.get-iterator-method-5643aa10.js');
|
package/dist/cjs/View.js
CHANGED
|
@@ -17,7 +17,7 @@ var FormControl = require('react-bootstrap/FormControl');
|
|
|
17
17
|
var Button = require('react-bootstrap/Button');
|
|
18
18
|
var visibilitySensor = require('./visibility-sensor-eb2c5b69.js');
|
|
19
19
|
var SocialShare = require('./SocialShare.js');
|
|
20
|
-
var getSerializers = require('./index-
|
|
20
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
21
21
|
var AdSlot = require('./AdSlot.js');
|
|
22
22
|
var SeriesSlider = require('./SeriesSlider-594b19eb.js');
|
|
23
23
|
var getTargeting = require('./getTargeting-3c5754ac.js');
|
|
@@ -31,7 +31,6 @@ require('./index-eadd5035.js');
|
|
|
31
31
|
var disqusReact = require('disqus-react');
|
|
32
32
|
var Schema = require('./Schema.js');
|
|
33
33
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
34
|
-
var PixelTracking = require('./PixelTracking.js');
|
|
35
34
|
var keys = require('./keys-e982b3fa.js');
|
|
36
35
|
var index_es = require('./index.es-f3e47207.js');
|
|
37
36
|
var index = require('./index-fc2f1ca2.js');
|
|
@@ -677,7 +676,7 @@ var Recommended = function Recommended(props) {
|
|
|
677
676
|
|
|
678
677
|
return React__default['default'].createElement(
|
|
679
678
|
'div',
|
|
680
|
-
{ id: 'recommended'
|
|
679
|
+
{ id: 'recommended' },
|
|
681
680
|
loaded === 'loaded' && React__default['default'].createElement(
|
|
682
681
|
React__default['default'].Fragment,
|
|
683
682
|
null,
|
|
@@ -1210,7 +1209,7 @@ var Article = React__default['default'].memo(React.forwardRef(function (props, r
|
|
|
1210
1209
|
return null;
|
|
1211
1210
|
};
|
|
1212
1211
|
|
|
1213
|
-
var RelatedContent =
|
|
1212
|
+
var RelatedContent = function RelatedContent() {
|
|
1214
1213
|
return React__default['default'].createElement(
|
|
1215
1214
|
'div',
|
|
1216
1215
|
null,
|
|
@@ -1246,7 +1245,7 @@ var Article = React__default['default'].memo(React.forwardRef(function (props, r
|
|
|
1246
1245
|
)
|
|
1247
1246
|
)
|
|
1248
1247
|
);
|
|
1249
|
-
}
|
|
1248
|
+
};
|
|
1250
1249
|
|
|
1251
1250
|
var form = function form() {
|
|
1252
1251
|
return React__default['default'].createElement(
|
|
@@ -1586,8 +1585,7 @@ var Article = React__default['default'].memo(React.forwardRef(function (props, r
|
|
|
1586
1585
|
} },
|
|
1587
1586
|
React__default['default'].createElement(
|
|
1588
1587
|
'div',
|
|
1589
|
-
{ id: 'article__block',
|
|
1590
|
-
React__default['default'].createElement(PixelTracking.PixelTrackingArticle, { article: article, infiniteScroll: props.infiniteScroll }),
|
|
1588
|
+
{ id: 'article__block', ref: ref },
|
|
1591
1589
|
React__default['default'].createElement(
|
|
1592
1590
|
'div',
|
|
1593
1591
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
@@ -2130,10 +2128,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
2130
2128
|
changeMeta(meta);
|
|
2131
2129
|
}
|
|
2132
2130
|
if (props.setCustomDimensions) {
|
|
2133
|
-
props.setCustomDimensions(activeArticle, '200', prevUrl
|
|
2131
|
+
props.setCustomDimensions(activeArticle, '200', prevUrl);
|
|
2134
2132
|
}
|
|
2135
2133
|
if (props.pageview) props.pageview(newPath, null, pageviewProperties);
|
|
2136
|
-
if (props.gtagSetCustomDimensions) props.gtagSetCustomDimensions(activeArticle, '200', prevUrl, '', true);
|
|
2137
2134
|
refreshAD(path);
|
|
2138
2135
|
};
|
|
2139
2136
|
|
|
@@ -2175,7 +2172,6 @@ var View = function View(props) {
|
|
|
2175
2172
|
props.sponsoredTaxonomies;
|
|
2176
2173
|
var Ads = props.Ads,
|
|
2177
2174
|
setCustomDimensions = props.setCustomDimensions,
|
|
2178
|
-
gtagSetCustomDimensions = props.gtagSetCustomDimensions,
|
|
2179
2175
|
statusCode = props.statusCode,
|
|
2180
2176
|
prevUrl = props.prevUrl,
|
|
2181
2177
|
pageview = props.pageview,
|
|
@@ -2207,7 +2203,7 @@ var View = function View(props) {
|
|
|
2207
2203
|
});
|
|
2208
2204
|
var waitAndExicute = function waitAndExicute() {
|
|
2209
2205
|
if (typeof window.GA_INITIALIZED !== 'undefined') {
|
|
2210
|
-
setCustomDimensions(article, statusCode, prevUrl
|
|
2206
|
+
setCustomDimensions(article, statusCode, prevUrl);
|
|
2211
2207
|
pageview(router.asPath, null, pageviewProperties);
|
|
2212
2208
|
} else timer = setTimeout(waitAndExicute, 1000);
|
|
2213
2209
|
};
|
|
@@ -2215,22 +2211,11 @@ var View = function View(props) {
|
|
|
2215
2211
|
return function () {
|
|
2216
2212
|
clearTimeout(timer);
|
|
2217
2213
|
};
|
|
2218
|
-
} else if (gtagSetCustomDimensions) {
|
|
2219
|
-
var _timer = void 0;
|
|
2220
|
-
var _waitAndExicute = function _waitAndExicute() {
|
|
2221
|
-
if (typeof window.GA_INITIALIZED !== 'undefined') {
|
|
2222
|
-
gtagSetCustomDimensions(article, statusCode, prevUrl, '', false);
|
|
2223
|
-
} else _timer = setTimeout(_waitAndExicute, 1000);
|
|
2224
|
-
};
|
|
2225
|
-
_waitAndExicute();
|
|
2226
|
-
return function () {
|
|
2227
|
-
clearTimeout(_timer);
|
|
2228
|
-
};
|
|
2229
2214
|
}
|
|
2230
2215
|
}, []);
|
|
2231
2216
|
|
|
2232
2217
|
var isVideoSeries = false;
|
|
2233
|
-
//
|
|
2218
|
+
//check for certain serializers that need to disable infinite scroll
|
|
2234
2219
|
var checkBodyForDisableInfiniteScroll = function checkBodyForDisableInfiniteScroll(article) {
|
|
2235
2220
|
if (!article || !article.body) {
|
|
2236
2221
|
return false;
|
|
@@ -2367,7 +2352,7 @@ var View = function View(props) {
|
|
|
2367
2352
|
);
|
|
2368
2353
|
};
|
|
2369
2354
|
|
|
2370
|
-
//
|
|
2355
|
+
//This should be called in /view/[url] getInitialProps to fetch the article data and related articles. This will also set the sponsoredFlag to true if any taxonomies have disabled ads.
|
|
2371
2356
|
View.returnGetInitialProps = function () {
|
|
2372
2357
|
var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(url, prevUrl, seriesVid, client, sao) {
|
|
2373
2358
|
var context = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
|
|
@@ -2440,7 +2425,7 @@ View.returnGetInitialProps = function () {
|
|
|
2440
2425
|
});
|
|
2441
2426
|
}
|
|
2442
2427
|
sponsoredFlag = false;
|
|
2443
|
-
//
|
|
2428
|
+
//check for disableAds flag on each taxonomoy
|
|
2444
2429
|
|
|
2445
2430
|
if (article && article.content_placement) {
|
|
2446
2431
|
article.content_placement.forEach(function (x) {
|
|
@@ -2449,7 +2434,7 @@ View.returnGetInitialProps = function () {
|
|
|
2449
2434
|
}
|
|
2450
2435
|
});
|
|
2451
2436
|
}
|
|
2452
|
-
//
|
|
2437
|
+
//check for disableAds flag on content category
|
|
2453
2438
|
if (article.category && article.category.disableAds) {
|
|
2454
2439
|
sponsoredFlag = true;
|
|
2455
2440
|
}
|
package/dist/cjs/getQuery.js
CHANGED
|
@@ -11,9 +11,9 @@ var getQuery = function getQuery(type) {
|
|
|
11
11
|
switch (type) {
|
|
12
12
|
// quiz video series and slideshow
|
|
13
13
|
case 'related':
|
|
14
|
-
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 && isHealthcareProfessional != 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 && !defined(body[].quizzes)\n && !defined(body[].slides)\n && !defined(body[].articles)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\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 \'category\':contentCategory->{\n name,\n disableAds\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
|
|
14
|
+
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 && isHealthcareProfessional != 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 && !defined(body[].quizzes)\n && !defined(body[].slides)\n && !defined(body[].articles)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\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 \'category\':contentCategory->{\n name,\n disableAds\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 hideSeriesSlider\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n }';
|
|
15
15
|
case 'article':
|
|
16
|
-
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 fieldAbstract,\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
|
|
16
|
+
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 fieldAbstract,\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 disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider\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 year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
|
|
17
17
|
case 'publication':
|
|
18
18
|
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 thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
19
19
|
case 'issue':
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./extends-7c86182f.js');
|
|
4
4
|
require('react');
|
|
5
|
-
var getSerializers = require('./index-
|
|
5
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
6
6
|
require('./BlockContent-9ebd251f.js');
|
|
7
7
|
require('./entities-df1aed86.js');
|
|
8
8
|
require('./_commonjsHelpers-06173234.js');
|
|
@@ -7506,7 +7506,7 @@ var ReactPlayer = _commonjsHelpers.unwrapExports(ReactPlayer_1);
|
|
|
7506
7506
|
var Audio = function Audio(_ref) {
|
|
7507
7507
|
var node = _ref.node;
|
|
7508
7508
|
|
|
7509
|
-
var audioSource = node
|
|
7509
|
+
var audioSource = node.uploadAudio.asset.url;
|
|
7510
7510
|
var reportPlay = function reportPlay() {
|
|
7511
7511
|
console.log('Reporting audio playback play to GA');
|
|
7512
7512
|
ReactGA__default['default'].event({
|
|
@@ -10382,15 +10382,6 @@ var BlockTable = function BlockTable(props) {
|
|
|
10382
10382
|
);
|
|
10383
10383
|
};
|
|
10384
10384
|
|
|
10385
|
-
var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
10386
|
-
var _props$node = props.node,
|
|
10387
|
-
FormID = _props$node.FormID;
|
|
10388
|
-
_props$node.needSegmentSupport;
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
return React__default['default'].createElement('div', { id: FormID });
|
|
10392
|
-
};
|
|
10393
|
-
|
|
10394
10385
|
var ScrollToElement = function ScrollToElement(elementId) {
|
|
10395
10386
|
var element = document.getElementById(elementId);
|
|
10396
10387
|
if (element) {
|
|
@@ -10609,7 +10600,6 @@ var getSerializers = function getSerializers() {
|
|
|
10609
10600
|
return React__default['default'].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10610
10601
|
},
|
|
10611
10602
|
formassembly: FormAssembly,
|
|
10612
|
-
digiohSmartTag: DigiohSmartTag,
|
|
10613
10603
|
multimedia: function multimedia(_ref21) {
|
|
10614
10604
|
var node = _ref21.node;
|
|
10615
10605
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -81,7 +81,6 @@ var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
|
81
81
|
var PropTypes = require('prop-types');
|
|
82
82
|
var index$1 = require('./index-f86bb269.js');
|
|
83
83
|
var ProgressBar = require('react-bootstrap/ProgressBar');
|
|
84
|
-
var PixelTracking = require('./PixelTracking.js');
|
|
85
84
|
var ForbesHero = require('./ForbesHero.js');
|
|
86
85
|
var HorizontalHero = require('./HorizontalHero.js');
|
|
87
86
|
var OncliveHero = require('./OncliveHero.js');
|
|
@@ -90,7 +89,7 @@ var VerticalHero = require('./VerticalHero.js');
|
|
|
90
89
|
var YahooHero = require('./YahooHero.js');
|
|
91
90
|
var GridHero = require('./GridHero.js');
|
|
92
91
|
var ConferenceArticleCard = require('./ConferenceArticleCard.js');
|
|
93
|
-
var getSerializers = require('./index-
|
|
92
|
+
var getSerializers = require('./index-6bab3b25.js');
|
|
94
93
|
var Beam = require('./Beam.js');
|
|
95
94
|
var Segment = require('./Segment.js');
|
|
96
95
|
var KMTracker = require('./KMTracker.js');
|
|
@@ -612,8 +611,6 @@ exports.ArticleCarousel = ArticleCarousel;
|
|
|
612
611
|
exports.TaxonomyDescription = TaxonomyDescription;
|
|
613
612
|
exports.PubToc = PubToc;
|
|
614
613
|
exports.PubSection = PubSection;
|
|
615
|
-
exports.PixelTrackingArticle = PixelTracking.PixelTrackingArticle;
|
|
616
|
-
exports.PixelTrackingLandingPages = PixelTracking.PixelTrackingLandingPages;
|
|
617
614
|
exports.ForbesHero = ForbesHero;
|
|
618
615
|
exports.HorizontalHero = HorizontalHero;
|
|
619
616
|
exports.OncliveHero = OncliveHero;
|
|
@@ -108,8 +108,6 @@ function _assertThisInitialized(self) {
|
|
|
108
108
|
function _possibleConstructorReturn(self, call) {
|
|
109
109
|
if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
|
|
110
110
|
return call;
|
|
111
|
-
} else if (call !== void 0) {
|
|
112
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
return _assertThisInitialized(self);
|
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-0074586c.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-0074586c.js';
|
|
6
6
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-0074586c.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-0074586c.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -9,7 +9,7 @@ import urlFor from './urlFor.js';
|
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-0074586c.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-0f93cf68.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-0074586c.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -396,7 +396,7 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
396
396
|
itemsPerPage: itemsPerPage
|
|
397
397
|
};
|
|
398
398
|
_context2.next = 9;
|
|
399
|
-
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description
|
|
399
|
+
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description\n }');
|
|
400
400
|
|
|
401
401
|
case 9:
|
|
402
402
|
docGroupID = _context2.sent;
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-0f93cf68.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-0074586c.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -416,7 +416,7 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
416
416
|
itemsPerPage: itemsPerPage
|
|
417
417
|
};
|
|
418
418
|
_context2.next = 9;
|
|
419
|
-
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description
|
|
419
|
+
return client.fetch('*[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\'][0]{\n _id, \n isGated,\n name,\n description\n }');
|
|
420
420
|
|
|
421
421
|
case 9:
|
|
422
422
|
docGroupID = _context2.sent;
|