@mjhls/mjh-framework 1.0.974-test → 1.0.974-test3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
- package/dist/cjs/ContentCardPaginated.js +1 -1
- package/dist/cjs/DeckContent.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridContentPaginated.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/MasterDeck.js +2 -2
- package/dist/cjs/MasterDeckPaginated.js +2 -2
- package/dist/cjs/{MediaSeriesCard-94ff4d11.js → MediaSeriesCard-91982ed5.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +4 -4
- package/dist/cjs/MediaSeriesLandingPaginated.js +4 -4
- package/dist/cjs/PartnerDetailListing.js +3 -3
- package/dist/cjs/PartnerDetailListingPaginated.js +3 -3
- package/dist/cjs/PubSection.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/QueueDeckExpandedPaginated.js +2 -2
- package/dist/cjs/Segment.js +49 -0
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +2 -2
- package/dist/cjs/View.js +108 -49
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesLandingPage.js +2 -2
- package/dist/esm/ContentCardPaginated.js +1 -1
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/GridContent.js +2 -2
- package/dist/esm/GridContentPaginated.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/IssueLanding.js +3 -3
- package/dist/esm/MasterDeck.js +2 -2
- package/dist/esm/MasterDeckPaginated.js +2 -2
- package/dist/esm/{MediaSeriesCard-4f07fac6.js → MediaSeriesCard-da5c7499.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +4 -4
- package/dist/esm/MediaSeriesLandingPaginated.js +4 -4
- package/dist/esm/PartnerDetailListing.js +3 -3
- package/dist/esm/PartnerDetailListingPaginated.js +3 -3
- package/dist/esm/PubSection.js +2 -2
- package/dist/esm/QueueDeckExpanded.js +2 -2
- package/dist/esm/QueueDeckExpandedPaginated.js +2 -2
- package/dist/esm/Segment.js +50 -1
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +2 -2
- package/dist/esm/View.js +108 -49
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/index.js +3 -3
- package/package.json +1 -1
- /package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-e87afe8a.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-b5a3d436.js} +0 -0
- /package/dist/cjs/{index-eb1c583d.js → index-f064c482.js} +0 -0
- /package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-5e36f317.js} +0 -0
- /package/dist/esm/{index-264bbd3c.js → index-8f118089.js} +0 -0
package/dist/esm/Segment.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
1
|
+
import { a as _Promise, _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import './core.get-iterator-method-ea258bb1.js';
|
|
4
4
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -38,6 +38,55 @@ var Segment = {
|
|
|
38
38
|
email: email
|
|
39
39
|
});
|
|
40
40
|
},
|
|
41
|
+
identifyWithGroupAndEmail: function identifyWithGroupAndEmail(groupId, email, anonId) {
|
|
42
|
+
if (typeof analytics === 'undefined') {
|
|
43
|
+
console.error('Segment not initialized', analytics);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// let buff = Buffer.from(email, 'ascii')
|
|
48
|
+
// const eKey = buff.toString('base64')
|
|
49
|
+
|
|
50
|
+
analytics.identify(anonId, {
|
|
51
|
+
groupId: groupId,
|
|
52
|
+
email: email
|
|
53
|
+
});
|
|
54
|
+
},
|
|
55
|
+
createGroup: function createGroup(groupId, anonId, groupName) {
|
|
56
|
+
if (typeof analytics === 'undefined') {
|
|
57
|
+
console.error('Segment not initialized', analytics);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
var buff = Buffer.from(groupId, 'ascii');
|
|
62
|
+
console.log('buff', buff);
|
|
63
|
+
|
|
64
|
+
var eKey = buff.toString('base64');
|
|
65
|
+
console.log('eKey', eKey);
|
|
66
|
+
_Promise.resolve(analytics.group(groupId, {
|
|
67
|
+
anonymousId: anonId,
|
|
68
|
+
name: groupName
|
|
69
|
+
})).then(function (data) {
|
|
70
|
+
return console.log('data', data);
|
|
71
|
+
}).catch(function (e) {
|
|
72
|
+
return console.log('Error: ' + e);
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
identifyWithGroup: function identifyWithGroup(groupId, anonId) {
|
|
76
|
+
if (!groupId) {
|
|
77
|
+
throw new Error('Argument is not present');
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (typeof analytics === 'undefined') {
|
|
81
|
+
console.error('Segment not initialized', analytics);
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
_Promise.resolve(analytics.identify(anonId, {
|
|
85
|
+
groupId: groupId
|
|
86
|
+
})).then(function (res) {
|
|
87
|
+
return console.log('response', res);
|
|
88
|
+
});
|
|
89
|
+
},
|
|
41
90
|
getURL: function getURL(url) {
|
|
42
91
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
43
92
|
|
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import Head from 'next/head';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-8f118089.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-8f118089.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -36,13 +36,13 @@ import './index.es-a6137319.js';
|
|
|
36
36
|
import './visibility-sensor-72fd8f8b.js';
|
|
37
37
|
import 'react-dom';
|
|
38
38
|
import './index-3f5c03b2.js';
|
|
39
|
-
import './ADlgInfeed-
|
|
39
|
+
import './ADlgInfeed-5e36f317.js';
|
|
40
40
|
import './AdSlot.js';
|
|
41
41
|
import './Beam.js';
|
|
42
42
|
import './stringify-2b084bee.js';
|
|
43
43
|
import './Segment.js';
|
|
44
44
|
import './main-1894c974.js';
|
|
45
|
-
import './ADInfeed-
|
|
45
|
+
import './ADInfeed-5765a73a.js';
|
|
46
46
|
import './index-755f2cc2.js';
|
|
47
47
|
import './urlFor.js';
|
|
48
48
|
import './style-inject.es-1f59c1d0.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,7 +15,7 @@ import FormControl from 'react-bootstrap/FormControl';
|
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-8f118089.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-f771e20d.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-42f9b439.js';
|
|
@@ -30,6 +30,7 @@ import { DiscussionEmbed } from 'disqus-react';
|
|
|
30
30
|
import Schema from './Schema.js';
|
|
31
31
|
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
32
32
|
import { PixelTrackingArticle } from './PixelTracking.js';
|
|
33
|
+
import Segment from './Segment.js';
|
|
33
34
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
34
35
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
35
36
|
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
@@ -49,7 +50,6 @@ import 'react-bootstrap';
|
|
|
49
50
|
import './index-c7e2ac95.js';
|
|
50
51
|
import './util-8ed16d48.js';
|
|
51
52
|
import './Beam.js';
|
|
52
|
-
import './Segment.js';
|
|
53
53
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
54
54
|
import 'react-bootstrap/Modal';
|
|
55
55
|
import 'react-ga';
|
|
@@ -485,13 +485,17 @@ var Recommended = function Recommended(props) {
|
|
|
485
485
|
setLoaded = _useState6[1]; // loading, loaded, failed
|
|
486
486
|
|
|
487
487
|
|
|
488
|
+
var _useState7 = useState(''),
|
|
489
|
+
_useState8 = _slicedToArray(_useState7, 2);
|
|
490
|
+
_useState8[0];
|
|
491
|
+
_useState8[1];
|
|
492
|
+
|
|
488
493
|
var starting = index * 5;
|
|
489
494
|
var contentMapping = {
|
|
490
495
|
videos: 'video',
|
|
491
496
|
articles: 'article',
|
|
492
497
|
podcasts: 'podcast'
|
|
493
498
|
};
|
|
494
|
-
|
|
495
499
|
var mainCategories = article.content_placement.filter(function (cp) {
|
|
496
500
|
return cp.usedForRecommendations === true;
|
|
497
501
|
}).map(function (cp) {
|
|
@@ -504,7 +508,7 @@ var Recommended = function Recommended(props) {
|
|
|
504
508
|
return;
|
|
505
509
|
}
|
|
506
510
|
if (mainCategories.length > 0) {
|
|
507
|
-
|
|
511
|
+
console.log(mainCategories);
|
|
508
512
|
analytics.track('Article Category Viewed', {
|
|
509
513
|
categories: _JSON$stringify(mainCategories)
|
|
510
514
|
});
|
|
@@ -556,14 +560,42 @@ var Recommended = function Recommended(props) {
|
|
|
556
560
|
return _ref.apply(this, arguments);
|
|
557
561
|
};
|
|
558
562
|
}();
|
|
563
|
+
var docGroupRecs = function () {
|
|
564
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(docGroupRef) {
|
|
565
|
+
var articleRecs;
|
|
566
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
567
|
+
while (1) {
|
|
568
|
+
switch (_context2.prev = _context2.next) {
|
|
569
|
+
case 0:
|
|
570
|
+
_context2.next = 2;
|
|
571
|
+
return client.fetch('*[_type == \'article\' && documentGroup._ref == \'' + docGroupRef + '\']');
|
|
572
|
+
|
|
573
|
+
case 2:
|
|
574
|
+
articleRecs = _context2.sent;
|
|
575
|
+
|
|
576
|
+
console.log('articleRecs', articleRecs);
|
|
577
|
+
if (articleRecs) setArticles(articleRecs.slice(0, 5));
|
|
578
|
+
|
|
579
|
+
case 5:
|
|
580
|
+
case 'end':
|
|
581
|
+
return _context2.stop();
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}, _callee2, _this$2);
|
|
585
|
+
}));
|
|
586
|
+
|
|
587
|
+
return function docGroupRecs(_x3) {
|
|
588
|
+
return _ref2.apply(this, arguments);
|
|
589
|
+
};
|
|
590
|
+
}();
|
|
559
591
|
// get users traits
|
|
560
592
|
var getSegmentProfile = function () {
|
|
561
|
-
var
|
|
562
|
-
var storedUsers, anonymousId, response, data, addTaxonomyName, favoriteCategories, articlesCategory, videosCategory, podcastCategory, taxonomyCategories, taxonomies, articlesQuery, videosQuery, podcastQuery, params,
|
|
593
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3() {
|
|
594
|
+
var storedUsers, anonymousId, traits, traitData, response, data, addTaxonomyName, favoriteCategories, articlesCategory, videosCategory, podcastCategory, taxonomyCategories, taxonomies, articlesQuery, videosQuery, podcastQuery, params, _ref4, _ref5, _articles, videos, podcasts;
|
|
563
595
|
|
|
564
|
-
return regenerator.wrap(function
|
|
596
|
+
return regenerator.wrap(function _callee3$(_context3) {
|
|
565
597
|
while (1) {
|
|
566
|
-
switch (
|
|
598
|
+
switch (_context3.prev = _context3.next) {
|
|
567
599
|
case 0:
|
|
568
600
|
storedUsers = false;
|
|
569
601
|
// const emailData = await import('../../../emails')
|
|
@@ -571,30 +603,57 @@ var Recommended = function Recommended(props) {
|
|
|
571
603
|
anonymousId = analytics.user().anonymousId();
|
|
572
604
|
|
|
573
605
|
console.log('anonymousId', anonymousId);
|
|
606
|
+
// Segment.createGroup('9e4fb278-daa9-448a-bf46-d168085d9126', anonymousId, 'onclive_test3')
|
|
607
|
+
_context3.next = 5;
|
|
608
|
+
return Segment.identifyWithGroup('9e4fb278-daa9-448a-bf46-d168085d9126', anonymousId);
|
|
574
609
|
|
|
575
|
-
|
|
576
|
-
|
|
610
|
+
case 5:
|
|
611
|
+
_context3.next = 7;
|
|
612
|
+
return fetch('/api/getTraits', {
|
|
577
613
|
method: 'POST',
|
|
578
614
|
body: _JSON$stringify({ anonymousId: anonymousId })
|
|
579
615
|
});
|
|
580
616
|
|
|
581
|
-
case
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
return
|
|
617
|
+
case 7:
|
|
618
|
+
traits = _context3.sent;
|
|
619
|
+
_context3.next = 10;
|
|
620
|
+
return traits.json();
|
|
585
621
|
|
|
586
|
-
case
|
|
587
|
-
|
|
622
|
+
case 10:
|
|
623
|
+
traitData = _context3.sent;
|
|
624
|
+
|
|
625
|
+
console.log('persona result:', traitData);
|
|
626
|
+
|
|
627
|
+
if (!(traitData.traits && traitData.traits.groupId)) {
|
|
628
|
+
_context3.next = 16;
|
|
629
|
+
break;
|
|
630
|
+
}
|
|
588
631
|
|
|
589
|
-
// console.log('persona result:', data)
|
|
590
632
|
try {
|
|
591
|
-
|
|
633
|
+
docGroupRecs(traitData.traits.groupId);
|
|
592
634
|
} catch (e) {
|
|
593
635
|
if (e) console.log('Error: ' + e);
|
|
594
636
|
}
|
|
637
|
+
_context3.next = 57;
|
|
638
|
+
break;
|
|
639
|
+
|
|
640
|
+
case 16:
|
|
641
|
+
_context3.next = 18;
|
|
642
|
+
return fetch('/api/getSegmentProfile', {
|
|
643
|
+
method: 'POST',
|
|
644
|
+
body: _JSON$stringify({ anonymousId: anonymousId })
|
|
645
|
+
});
|
|
646
|
+
|
|
647
|
+
case 18:
|
|
648
|
+
response = _context3.sent;
|
|
649
|
+
_context3.next = 21;
|
|
650
|
+
return response.json();
|
|
651
|
+
|
|
652
|
+
case 21:
|
|
653
|
+
data = _context3.sent;
|
|
595
654
|
|
|
596
|
-
if (!(data && data.traits && data.traits.
|
|
597
|
-
|
|
655
|
+
if (!(data && data.traits && data.traits.most_frequent_category)) {
|
|
656
|
+
_context3.next = 56;
|
|
598
657
|
break;
|
|
599
658
|
}
|
|
600
659
|
|
|
@@ -616,30 +675,30 @@ var Recommended = function Recommended(props) {
|
|
|
616
675
|
|
|
617
676
|
// console.log('%csegment user profile', 'font-size:1.5rem;color:#000000;padding:1rem;background-color:yellow;', data.traits)
|
|
618
677
|
console.log('in data conditional');
|
|
619
|
-
favoriteCategories = JSON.parse(data.traits.
|
|
678
|
+
favoriteCategories = JSON.parse(data.traits.most_frequent_category);
|
|
620
679
|
|
|
621
680
|
// grab contentCategory ID
|
|
622
681
|
|
|
623
|
-
|
|
682
|
+
_context3.next = 28;
|
|
624
683
|
return client.fetch("*[_type == 'contentCategory' && name == 'Articles'][0]{_id}");
|
|
625
684
|
|
|
626
|
-
case
|
|
627
|
-
articlesCategory =
|
|
628
|
-
|
|
685
|
+
case 28:
|
|
686
|
+
articlesCategory = _context3.sent;
|
|
687
|
+
_context3.next = 31;
|
|
629
688
|
return client.fetch("*[_type == 'contentCategory' && name == 'Videos'][0]{_id}");
|
|
630
689
|
|
|
631
|
-
case
|
|
632
|
-
videosCategory =
|
|
633
|
-
|
|
690
|
+
case 31:
|
|
691
|
+
videosCategory = _context3.sent;
|
|
692
|
+
_context3.next = 34;
|
|
634
693
|
return client.fetch("*[_type == 'contentCategory' && name == 'Podcasts'][0]{_id}");
|
|
635
694
|
|
|
636
|
-
case
|
|
637
|
-
podcastCategory =
|
|
638
|
-
|
|
695
|
+
case 34:
|
|
696
|
+
podcastCategory = _context3.sent;
|
|
697
|
+
_context3.next = 37;
|
|
639
698
|
return client.fetch('*[_type == \'taxonomy\' ' + addTaxonomyName(favoriteCategories) + ']');
|
|
640
699
|
|
|
641
|
-
case
|
|
642
|
-
taxonomyCategories =
|
|
700
|
+
case 37:
|
|
701
|
+
taxonomyCategories = _context3.sent;
|
|
643
702
|
taxonomies = '';
|
|
644
703
|
|
|
645
704
|
taxonomyCategories.forEach(function (taxonomy, index) {
|
|
@@ -652,21 +711,21 @@ var Recommended = function Recommended(props) {
|
|
|
652
711
|
taxonomies = taxonomies + ' )';
|
|
653
712
|
|
|
654
713
|
// grab 3 articles from sanity different from the one currently being read
|
|
655
|
-
articlesQuery = '*[_type == \'article\'\n
|
|
656
|
-
videosQuery = '*[_type == \'article\'\n
|
|
657
|
-
podcastQuery = '*[_type == \'article\'\n
|
|
714
|
+
articlesQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + articlesCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 5) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
|
|
715
|
+
videosQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + videosCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 1) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
|
|
716
|
+
podcastQuery = '*[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true \n && passwordLock != true\n && references(\'' + podcastCategory._id + '\')\n ' + taxonomies + '\n && defined(published)\n && _id != $id\n && dateTime(published) <= dateTime(now())] | order(published desc) [' + starting + '...' + (starting + 2) + '] {\n ...,\n title,\n thumbnail,\n url,\n contentCategory->,\n published,\n }';
|
|
658
717
|
params = {
|
|
659
718
|
id: article._id
|
|
660
719
|
};
|
|
661
|
-
|
|
720
|
+
_context3.next = 47;
|
|
662
721
|
return _Promise.all([client.fetch(articlesQuery, params), client.fetch(videosQuery, params), client.fetch(podcastQuery, params)]);
|
|
663
722
|
|
|
664
|
-
case
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
_articles =
|
|
668
|
-
videos =
|
|
669
|
-
podcasts =
|
|
723
|
+
case 47:
|
|
724
|
+
_ref4 = _context3.sent;
|
|
725
|
+
_ref5 = _slicedToArray(_ref4, 3);
|
|
726
|
+
_articles = _ref5[0];
|
|
727
|
+
videos = _ref5[1];
|
|
728
|
+
podcasts = _ref5[2];
|
|
670
729
|
|
|
671
730
|
if (_articles.length === 0) {
|
|
672
731
|
setLoaded('failed');
|
|
@@ -683,22 +742,22 @@ var Recommended = function Recommended(props) {
|
|
|
683
742
|
}
|
|
684
743
|
setArticles(_articles);
|
|
685
744
|
}
|
|
686
|
-
|
|
745
|
+
_context3.next = 57;
|
|
687
746
|
break;
|
|
688
747
|
|
|
689
|
-
case
|
|
748
|
+
case 56:
|
|
690
749
|
setLoaded('failed');
|
|
691
750
|
|
|
692
|
-
case
|
|
751
|
+
case 57:
|
|
693
752
|
case 'end':
|
|
694
|
-
return
|
|
753
|
+
return _context3.stop();
|
|
695
754
|
}
|
|
696
755
|
}
|
|
697
|
-
},
|
|
756
|
+
}, _callee3, _this$2);
|
|
698
757
|
}));
|
|
699
758
|
|
|
700
759
|
return function getSegmentProfile() {
|
|
701
|
-
return
|
|
760
|
+
return _ref3.apply(this, arguments);
|
|
702
761
|
};
|
|
703
762
|
}();
|
|
704
763
|
getSegmentProfile();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './extends-6d8e3924.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { g as default } from './index-
|
|
3
|
+
export { g as default } from './index-8f118089.js';
|
|
4
4
|
import './BlockContent-1e73bd2c.js';
|
|
5
5
|
import './entities-6d9154b4.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
87
87
|
export { default as YahooHero } from './YahooHero.js';
|
|
88
88
|
export { default as GridHero } from './GridHero.js';
|
|
89
89
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
90
|
-
export { g as getSerializers } from './index-
|
|
90
|
+
export { g as getSerializers } from './index-8f118089.js';
|
|
91
91
|
export { default as Beam } from './Beam.js';
|
|
92
92
|
export { default as Segment } from './Segment.js';
|
|
93
93
|
export { default as KMTracker } from './KMTracker.js';
|
|
@@ -131,9 +131,9 @@ import './visibility-sensor-72fd8f8b.js';
|
|
|
131
131
|
import 'react-dom';
|
|
132
132
|
import './main-1894c974.js';
|
|
133
133
|
import './entities-6d9154b4.js';
|
|
134
|
-
import './ADInfeed-
|
|
134
|
+
import './ADInfeed-5765a73a.js';
|
|
135
135
|
import './lodash-f97fd99a.js';
|
|
136
|
-
import './ADlgInfeed-
|
|
136
|
+
import './ADlgInfeed-5e36f317.js';
|
|
137
137
|
import './getContentCategory-15dcc413.js';
|
|
138
138
|
import './get-3c308da4.js';
|
|
139
139
|
import './eq-bdcbf886.js';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|