@mjhls/mjh-framework 1.0.974-test → 1.0.974-test2
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 +107 -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 +107 -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,56 @@ var Recommended = function Recommended(props) {
|
|
|
571
603
|
anonymousId = analytics.user().anonymousId();
|
|
572
604
|
|
|
573
605
|
console.log('anonymousId', anonymousId);
|
|
606
|
+
// Segment.createGroup('test_group_2', anonymousId, 'onclive_test2')
|
|
607
|
+
// Segment.createGroup('9e4fb278-daa9-448a-bf46-d168085d9126', anonymousId, 'onclive_test3')
|
|
608
|
+
Segment.identifyWithGroup('9e4fb278-daa9-448a-bf46-d168085d9126', anonymousId);
|
|
574
609
|
|
|
575
|
-
|
|
576
|
-
return fetch('/api/
|
|
610
|
+
_context3.next = 6;
|
|
611
|
+
return fetch('/api/getTraits', {
|
|
577
612
|
method: 'POST',
|
|
578
613
|
body: _JSON$stringify({ anonymousId: anonymousId })
|
|
579
614
|
});
|
|
580
615
|
|
|
581
|
-
case
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
return
|
|
616
|
+
case 6:
|
|
617
|
+
traits = _context3.sent;
|
|
618
|
+
_context3.next = 9;
|
|
619
|
+
return traits.json();
|
|
585
620
|
|
|
586
|
-
case
|
|
587
|
-
|
|
621
|
+
case 9:
|
|
622
|
+
traitData = _context3.sent;
|
|
623
|
+
|
|
624
|
+
console.log('persona result:', traitData);
|
|
625
|
+
|
|
626
|
+
if (!(traitData.traits && traitData.traits.groupId)) {
|
|
627
|
+
_context3.next = 15;
|
|
628
|
+
break;
|
|
629
|
+
}
|
|
588
630
|
|
|
589
|
-
// console.log('persona result:', data)
|
|
590
631
|
try {
|
|
591
|
-
|
|
632
|
+
docGroupRecs(traitData.traits.groupId);
|
|
592
633
|
} catch (e) {
|
|
593
634
|
if (e) console.log('Error: ' + e);
|
|
594
635
|
}
|
|
636
|
+
_context3.next = 56;
|
|
637
|
+
break;
|
|
595
638
|
|
|
596
|
-
|
|
597
|
-
|
|
639
|
+
case 15:
|
|
640
|
+
_context3.next = 17;
|
|
641
|
+
return fetch('/api/getSegmentProfile', {
|
|
642
|
+
method: 'POST',
|
|
643
|
+
body: _JSON$stringify({ anonymousId: anonymousId })
|
|
644
|
+
});
|
|
645
|
+
|
|
646
|
+
case 17:
|
|
647
|
+
response = _context3.sent;
|
|
648
|
+
_context3.next = 20;
|
|
649
|
+
return response.json();
|
|
650
|
+
|
|
651
|
+
case 20:
|
|
652
|
+
data = _context3.sent;
|
|
653
|
+
|
|
654
|
+
if (!(data && data.traits && data.traits.most_frequent_category)) {
|
|
655
|
+
_context3.next = 55;
|
|
598
656
|
break;
|
|
599
657
|
}
|
|
600
658
|
|
|
@@ -616,30 +674,30 @@ var Recommended = function Recommended(props) {
|
|
|
616
674
|
|
|
617
675
|
// console.log('%csegment user profile', 'font-size:1.5rem;color:#000000;padding:1rem;background-color:yellow;', data.traits)
|
|
618
676
|
console.log('in data conditional');
|
|
619
|
-
favoriteCategories = JSON.parse(data.traits.
|
|
677
|
+
favoriteCategories = JSON.parse(data.traits.most_frequent_category);
|
|
620
678
|
|
|
621
679
|
// grab contentCategory ID
|
|
622
680
|
|
|
623
|
-
|
|
681
|
+
_context3.next = 27;
|
|
624
682
|
return client.fetch("*[_type == 'contentCategory' && name == 'Articles'][0]{_id}");
|
|
625
683
|
|
|
626
|
-
case
|
|
627
|
-
articlesCategory =
|
|
628
|
-
|
|
684
|
+
case 27:
|
|
685
|
+
articlesCategory = _context3.sent;
|
|
686
|
+
_context3.next = 30;
|
|
629
687
|
return client.fetch("*[_type == 'contentCategory' && name == 'Videos'][0]{_id}");
|
|
630
688
|
|
|
631
|
-
case
|
|
632
|
-
videosCategory =
|
|
633
|
-
|
|
689
|
+
case 30:
|
|
690
|
+
videosCategory = _context3.sent;
|
|
691
|
+
_context3.next = 33;
|
|
634
692
|
return client.fetch("*[_type == 'contentCategory' && name == 'Podcasts'][0]{_id}");
|
|
635
693
|
|
|
636
|
-
case
|
|
637
|
-
podcastCategory =
|
|
638
|
-
|
|
694
|
+
case 33:
|
|
695
|
+
podcastCategory = _context3.sent;
|
|
696
|
+
_context3.next = 36;
|
|
639
697
|
return client.fetch('*[_type == \'taxonomy\' ' + addTaxonomyName(favoriteCategories) + ']');
|
|
640
698
|
|
|
641
|
-
case
|
|
642
|
-
taxonomyCategories =
|
|
699
|
+
case 36:
|
|
700
|
+
taxonomyCategories = _context3.sent;
|
|
643
701
|
taxonomies = '';
|
|
644
702
|
|
|
645
703
|
taxonomyCategories.forEach(function (taxonomy, index) {
|
|
@@ -652,21 +710,21 @@ var Recommended = function Recommended(props) {
|
|
|
652
710
|
taxonomies = taxonomies + ' )';
|
|
653
711
|
|
|
654
712
|
// 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
|
|
713
|
+
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 }';
|
|
714
|
+
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 }';
|
|
715
|
+
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
716
|
params = {
|
|
659
717
|
id: article._id
|
|
660
718
|
};
|
|
661
|
-
|
|
719
|
+
_context3.next = 46;
|
|
662
720
|
return _Promise.all([client.fetch(articlesQuery, params), client.fetch(videosQuery, params), client.fetch(podcastQuery, params)]);
|
|
663
721
|
|
|
664
|
-
case
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
_articles =
|
|
668
|
-
videos =
|
|
669
|
-
podcasts =
|
|
722
|
+
case 46:
|
|
723
|
+
_ref4 = _context3.sent;
|
|
724
|
+
_ref5 = _slicedToArray(_ref4, 3);
|
|
725
|
+
_articles = _ref5[0];
|
|
726
|
+
videos = _ref5[1];
|
|
727
|
+
podcasts = _ref5[2];
|
|
670
728
|
|
|
671
729
|
if (_articles.length === 0) {
|
|
672
730
|
setLoaded('failed');
|
|
@@ -683,22 +741,22 @@ var Recommended = function Recommended(props) {
|
|
|
683
741
|
}
|
|
684
742
|
setArticles(_articles);
|
|
685
743
|
}
|
|
686
|
-
|
|
744
|
+
_context3.next = 56;
|
|
687
745
|
break;
|
|
688
746
|
|
|
689
|
-
case
|
|
747
|
+
case 55:
|
|
690
748
|
setLoaded('failed');
|
|
691
749
|
|
|
692
|
-
case
|
|
750
|
+
case 56:
|
|
693
751
|
case 'end':
|
|
694
|
-
return
|
|
752
|
+
return _context3.stop();
|
|
695
753
|
}
|
|
696
754
|
}
|
|
697
|
-
},
|
|
755
|
+
}, _callee3, _this$2);
|
|
698
756
|
}));
|
|
699
757
|
|
|
700
758
|
return function getSegmentProfile() {
|
|
701
|
-
return
|
|
759
|
+
return _ref3.apply(this, arguments);
|
|
702
760
|
};
|
|
703
761
|
}();
|
|
704
762
|
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
|