@mjhls/mjh-framework 1.0.520 → 1.0.522
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/ArticleQueue.js +1 -1
- package/dist/cjs/Beam.js +1 -1
- package/dist/cjs/Column2.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/DeckContent.js +2 -2
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/GridContent.js +3 -3
- package/dist/cjs/HamMagazine.js +1 -1
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +3 -3
- package/dist/cjs/NavDvm.js +1 -1
- package/dist/cjs/NavMagazine.js +1 -1
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/NavNormal.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +3 -3
- package/dist/cjs/QueueDeckExpanded.js +334 -9
- package/dist/cjs/Segment.js +1 -1
- package/dist/cjs/SideFooter.js +1 -1
- package/dist/cjs/TemplateNormal.js +1 -1
- package/dist/cjs/View.js +1 -1
- package/dist/cjs/{beam-2745329b.js → beam-d22818d3.js} +2 -1
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/ArticleQueue.js +1 -1
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Column2.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/DeckContent.js +2 -2
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/HamMagazine.js +1 -1
- package/dist/esm/IssueLanding.js +3 -3
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +3 -3
- package/dist/esm/NavDvm.js +1 -1
- package/dist/esm/NavMagazine.js +1 -1
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/NavNormal.js +1 -1
- package/dist/esm/PartnerDetailListing.js +3 -3
- package/dist/esm/QueueDeckExpanded.js +334 -9
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SideFooter.js +1 -1
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/View.js +1 -1
- package/dist/esm/{beam-dd2b10c0.js → beam-a25bd8fd.js} +2 -1
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/index.js +3 -3
- package/package.json +1 -1
- /package/dist/cjs/{ADInfeed-be4cdcbe.js → ADInfeed-e7f56dcd.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-fc008889.js → ADlgInfeed-ad4798a4.js} +0 -0
- /package/dist/esm/{ADInfeed-cb0d3a09.js → ADInfeed-e7767d6d.js} +0 -0
- /package/dist/esm/{ADlgInfeed-353fb56a.js → ADlgInfeed-528c51c8.js} +0 -0
|
@@ -33,11 +33,11 @@ var slicedToArray = require('./slicedToArray-8063ee51.js');
|
|
|
33
33
|
require('./stringify-7c5aff47.js');
|
|
34
34
|
require('./asyncToGenerator-8e707718.js');
|
|
35
35
|
require('./_set-species-4458e975.js');
|
|
36
|
-
require('./beam-
|
|
36
|
+
require('./beam-d22818d3.js');
|
|
37
37
|
require('./AdSlot.js');
|
|
38
|
-
var ADInfeed = require('./ADInfeed-
|
|
38
|
+
var ADInfeed = require('./ADInfeed-e7f56dcd.js');
|
|
39
39
|
var lodash = require('./lodash-fc2922d0.js');
|
|
40
|
-
var ADlgInfeed = require('./ADlgInfeed-
|
|
40
|
+
var ADlgInfeed = require('./ADlgInfeed-ad4798a4.js');
|
|
41
41
|
var AuthorComponent = require('./AuthorComponent-cb8b8128.js');
|
|
42
42
|
var reactBootstrap = require('react-bootstrap');
|
|
43
43
|
|
|
@@ -253,11 +253,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
253
253
|
return React__default.createElement(
|
|
254
254
|
'div',
|
|
255
255
|
null,
|
|
256
|
-
data &&
|
|
257
|
-
'noscript',
|
|
258
|
-
null,
|
|
259
|
-
true
|
|
260
|
-
)) && data.length > 0 ? // noscript is used so that when javascript is disabled, queuedeck will list all articles
|
|
256
|
+
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
261
257
|
data.map(function (article, index) {
|
|
262
258
|
var pageNumber = article.pageNumber || values.page;
|
|
263
259
|
var contentCategoryName = article.contentCategory ? article.contentCategory.name : 'Articles';
|
|
@@ -581,7 +577,336 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
581
577
|
)
|
|
582
578
|
);
|
|
583
579
|
} else return null;
|
|
584
|
-
}) :
|
|
580
|
+
}) :
|
|
581
|
+
// For Javascript Disabled Cases
|
|
582
|
+
React__default.createElement(
|
|
583
|
+
'noscript',
|
|
584
|
+
null,
|
|
585
|
+
data.map(function (article, index) {
|
|
586
|
+
var pageNumber = article.pageNumber || values.page;
|
|
587
|
+
var contentCategoryName = article.contentCategory ? article.contentCategory.name : 'Articles';
|
|
588
|
+
|
|
589
|
+
if (article._type === 'feature') {
|
|
590
|
+
featureCount++;
|
|
591
|
+
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
592
|
+
return React__default.createElement(
|
|
593
|
+
visibilitySensor.VisibilitySensor,
|
|
594
|
+
{
|
|
595
|
+
key: article._id ? article._id : index,
|
|
596
|
+
partialVisibility: true,
|
|
597
|
+
onChange: function onChange(isVisible) {
|
|
598
|
+
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
599
|
+
} },
|
|
600
|
+
React__default.createElement(
|
|
601
|
+
React__default.Fragment,
|
|
602
|
+
null,
|
|
603
|
+
React__default.createElement(
|
|
604
|
+
reactBootstrap.Media,
|
|
605
|
+
{
|
|
606
|
+
key: article._id ? article._id : index,
|
|
607
|
+
className: 'feature-media',
|
|
608
|
+
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
609
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default.createElement(
|
|
610
|
+
'a',
|
|
611
|
+
{ href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
612
|
+
React__default.createElement(
|
|
613
|
+
index$2.LazyLoad,
|
|
614
|
+
{ height: imageHeight, placeholder: React__default.createElement(ImagePlaceholder, null) },
|
|
615
|
+
article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
616
|
+
),
|
|
617
|
+
article.source && React__default.createElement(
|
|
618
|
+
'div',
|
|
619
|
+
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
620
|
+
article.source
|
|
621
|
+
)
|
|
622
|
+
),
|
|
623
|
+
React__default.createElement(
|
|
624
|
+
reactBootstrap.Media.Body,
|
|
625
|
+
null,
|
|
626
|
+
React__default.createElement(
|
|
627
|
+
'a',
|
|
628
|
+
{ href: article.url.current, target: '_blank' },
|
|
629
|
+
article.title && React__default.createElement(
|
|
630
|
+
'h4',
|
|
631
|
+
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
632
|
+
article.title
|
|
633
|
+
)
|
|
634
|
+
),
|
|
635
|
+
showPublished && article.published && React__default.createElement(
|
|
636
|
+
'p',
|
|
637
|
+
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
638
|
+
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
639
|
+
),
|
|
640
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default.createElement(
|
|
641
|
+
index$2.LazyLoad,
|
|
642
|
+
{ height: 50 },
|
|
643
|
+
React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
644
|
+
),
|
|
645
|
+
!article.thumbnail && !defaultImage && article.source && React__default.createElement(
|
|
646
|
+
'div',
|
|
647
|
+
{ className: 'mb-1 sanityDisplayLabel' },
|
|
648
|
+
article.source
|
|
649
|
+
),
|
|
650
|
+
React__default.createElement(
|
|
651
|
+
'div',
|
|
652
|
+
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
653
|
+
showCategory && article.contentCategory && React__default.createElement(
|
|
654
|
+
'p',
|
|
655
|
+
{
|
|
656
|
+
className: 'article-category',
|
|
657
|
+
style: {
|
|
658
|
+
background: '#3FB618',
|
|
659
|
+
color: '#ffffff',
|
|
660
|
+
marginBottom: '.25rem',
|
|
661
|
+
display: 'inline-block',
|
|
662
|
+
padding: '0 .25rem',
|
|
663
|
+
fontSize: '.8rem'
|
|
664
|
+
} },
|
|
665
|
+
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
666
|
+
),
|
|
667
|
+
article.issueSection && article.issueSection.name && React__default.createElement(
|
|
668
|
+
'p',
|
|
669
|
+
{
|
|
670
|
+
className: 'issueSection',
|
|
671
|
+
style: {
|
|
672
|
+
background: '#000000',
|
|
673
|
+
color: '#ffffff',
|
|
674
|
+
marginBottom: '.25rem',
|
|
675
|
+
marginLeft: '.25rem',
|
|
676
|
+
display: 'inline-block',
|
|
677
|
+
padding: '0 .25rem',
|
|
678
|
+
fontSize: '.8rem'
|
|
679
|
+
} },
|
|
680
|
+
article.issueSection.name
|
|
681
|
+
)
|
|
682
|
+
),
|
|
683
|
+
article.summary && React__default.createElement(
|
|
684
|
+
'p',
|
|
685
|
+
{ className: 'pt-2 card-text' },
|
|
686
|
+
entities.clean_html_1(article.summary)
|
|
687
|
+
)
|
|
688
|
+
)
|
|
689
|
+
)
|
|
690
|
+
)
|
|
691
|
+
);
|
|
692
|
+
} else {
|
|
693
|
+
return React__default.createElement(
|
|
694
|
+
visibilitySensor.VisibilitySensor,
|
|
695
|
+
{
|
|
696
|
+
key: article._id ? article._id : index,
|
|
697
|
+
partialVisibility: true,
|
|
698
|
+
onChange: function onChange(isVisible) {
|
|
699
|
+
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
700
|
+
} },
|
|
701
|
+
React__default.createElement(
|
|
702
|
+
React__default.Fragment,
|
|
703
|
+
null,
|
|
704
|
+
React__default.createElement(
|
|
705
|
+
reactBootstrap.Media,
|
|
706
|
+
{
|
|
707
|
+
key: article._id ? article._id : index,
|
|
708
|
+
className: 'feature-media',
|
|
709
|
+
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
710
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default.createElement(
|
|
711
|
+
'a',
|
|
712
|
+
{ href: article.url.current, className: 'feature-wrapper' },
|
|
713
|
+
React__default.createElement(
|
|
714
|
+
index$2.LazyLoad,
|
|
715
|
+
{ height: imageHeight, placeholder: React__default.createElement(ImagePlaceholder, null) },
|
|
716
|
+
article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
717
|
+
),
|
|
718
|
+
article.source && React__default.createElement(
|
|
719
|
+
'div',
|
|
720
|
+
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
721
|
+
article.source
|
|
722
|
+
)
|
|
723
|
+
),
|
|
724
|
+
React__default.createElement(
|
|
725
|
+
reactBootstrap.Media.Body,
|
|
726
|
+
null,
|
|
727
|
+
React__default.createElement(
|
|
728
|
+
'a',
|
|
729
|
+
{ href: article.url.current },
|
|
730
|
+
article.title && React__default.createElement(
|
|
731
|
+
'h4',
|
|
732
|
+
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
733
|
+
article.title
|
|
734
|
+
)
|
|
735
|
+
),
|
|
736
|
+
showPublished && article.published && React__default.createElement(
|
|
737
|
+
'p',
|
|
738
|
+
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
739
|
+
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
740
|
+
),
|
|
741
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default.createElement(
|
|
742
|
+
index$2.LazyLoad,
|
|
743
|
+
{ height: 50 },
|
|
744
|
+
React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
745
|
+
),
|
|
746
|
+
!article.thumbnail && !defaultImage && article.source && React__default.createElement(
|
|
747
|
+
'div',
|
|
748
|
+
{ className: 'mb-1 sanityDisplayLabel' },
|
|
749
|
+
article.source
|
|
750
|
+
),
|
|
751
|
+
React__default.createElement(
|
|
752
|
+
'div',
|
|
753
|
+
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
754
|
+
showCategory && article.contentCategory && React__default.createElement(
|
|
755
|
+
'p',
|
|
756
|
+
{
|
|
757
|
+
className: 'article-category',
|
|
758
|
+
style: {
|
|
759
|
+
background: '#3FB618',
|
|
760
|
+
color: '#ffffff',
|
|
761
|
+
marginBottom: '.25rem',
|
|
762
|
+
display: 'inline-block',
|
|
763
|
+
padding: '0 .25rem',
|
|
764
|
+
fontSize: '.8rem'
|
|
765
|
+
} },
|
|
766
|
+
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
767
|
+
),
|
|
768
|
+
article.issueSection && article.issueSection.name && React__default.createElement(
|
|
769
|
+
'p',
|
|
770
|
+
{
|
|
771
|
+
className: 'issueSection',
|
|
772
|
+
style: {
|
|
773
|
+
background: '#000000',
|
|
774
|
+
color: '#ffffff',
|
|
775
|
+
marginBottom: '.25rem',
|
|
776
|
+
marginLeft: '.25rem',
|
|
777
|
+
display: 'inline-block',
|
|
778
|
+
padding: '0 .25rem',
|
|
779
|
+
fontSize: '.8rem'
|
|
780
|
+
} },
|
|
781
|
+
article.issueSection.name
|
|
782
|
+
)
|
|
783
|
+
),
|
|
784
|
+
article.summary && React__default.createElement(
|
|
785
|
+
'p',
|
|
786
|
+
{ className: 'pt-2 card-text' },
|
|
787
|
+
entities.clean_html_1(article.summary)
|
|
788
|
+
)
|
|
789
|
+
)
|
|
790
|
+
)
|
|
791
|
+
)
|
|
792
|
+
);
|
|
793
|
+
}
|
|
794
|
+
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
795
|
+
return React__default.createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ index: index }, article));
|
|
796
|
+
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
797
|
+
return React__default.createElement(ADInfeed.ADInfeed, { index: index, infeedAd: article });
|
|
798
|
+
}
|
|
799
|
+
if (main.main_36 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0) {
|
|
800
|
+
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
804
|
+
return React__default.createElement(
|
|
805
|
+
visibilitySensor.VisibilitySensor,
|
|
806
|
+
{
|
|
807
|
+
key: article._id ? article._id : index,
|
|
808
|
+
onChange: function onChange(isVisible) {
|
|
809
|
+
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
810
|
+
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
811
|
+
} },
|
|
812
|
+
React__default.createElement(
|
|
813
|
+
React__default.Fragment,
|
|
814
|
+
null,
|
|
815
|
+
React__default.createElement(
|
|
816
|
+
reactBootstrap.Media,
|
|
817
|
+
{
|
|
818
|
+
key: article._id ? article._id : index,
|
|
819
|
+
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
820
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default.createElement(
|
|
821
|
+
'a',
|
|
822
|
+
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
823
|
+
React__default.createElement(
|
|
824
|
+
index$2.LazyLoad,
|
|
825
|
+
{ height: imageHeight, placeholder: React__default.createElement(ImagePlaceholder, null) },
|
|
826
|
+
article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
827
|
+
),
|
|
828
|
+
article.source && React__default.createElement(
|
|
829
|
+
'div',
|
|
830
|
+
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
831
|
+
article.source
|
|
832
|
+
)
|
|
833
|
+
),
|
|
834
|
+
React__default.createElement(
|
|
835
|
+
reactBootstrap.Media.Body,
|
|
836
|
+
null,
|
|
837
|
+
React__default.createElement(
|
|
838
|
+
'a',
|
|
839
|
+
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
840
|
+
article.title && React__default.createElement(
|
|
841
|
+
'h4',
|
|
842
|
+
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
843
|
+
article.title
|
|
844
|
+
)
|
|
845
|
+
),
|
|
846
|
+
showPublished && article.published && React__default.createElement(
|
|
847
|
+
'p',
|
|
848
|
+
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
849
|
+
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
850
|
+
),
|
|
851
|
+
React__default.createElement(
|
|
852
|
+
'div',
|
|
853
|
+
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
854
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default.createElement(
|
|
855
|
+
index$2.LazyLoad,
|
|
856
|
+
{ height: 50 },
|
|
857
|
+
React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
858
|
+
)
|
|
859
|
+
),
|
|
860
|
+
!article.thumbnail && !defaultImage && article.source && React__default.createElement(
|
|
861
|
+
'div',
|
|
862
|
+
{ className: 'mb-1 sanityDisplayLabel' },
|
|
863
|
+
article.source
|
|
864
|
+
),
|
|
865
|
+
React__default.createElement(
|
|
866
|
+
'div',
|
|
867
|
+
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
868
|
+
showCategory && article.contentCategory && React__default.createElement(
|
|
869
|
+
'p',
|
|
870
|
+
{
|
|
871
|
+
className: 'article-category',
|
|
872
|
+
style: {
|
|
873
|
+
background: '#3FB618',
|
|
874
|
+
color: '#ffffff',
|
|
875
|
+
marginBottom: '.25rem',
|
|
876
|
+
display: 'inline-block',
|
|
877
|
+
padding: '0 .25rem',
|
|
878
|
+
fontSize: '.8rem'
|
|
879
|
+
} },
|
|
880
|
+
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
881
|
+
),
|
|
882
|
+
article.issueSection && article.issueSection.name && React__default.createElement(
|
|
883
|
+
'p',
|
|
884
|
+
{
|
|
885
|
+
className: 'issueSection',
|
|
886
|
+
style: {
|
|
887
|
+
background: '#000000',
|
|
888
|
+
color: '#ffffff',
|
|
889
|
+
marginBottom: '.25rem',
|
|
890
|
+
marginLeft: '.25rem',
|
|
891
|
+
display: 'inline-block',
|
|
892
|
+
padding: '0 .25rem',
|
|
893
|
+
fontSize: '.8rem'
|
|
894
|
+
} },
|
|
895
|
+
article.issueSection.name
|
|
896
|
+
)
|
|
897
|
+
),
|
|
898
|
+
article.summary && React__default.createElement(
|
|
899
|
+
'p',
|
|
900
|
+
{ className: 'pt-2 card-text' },
|
|
901
|
+
entities.clean_html_1(article.summary)
|
|
902
|
+
)
|
|
903
|
+
)
|
|
904
|
+
)
|
|
905
|
+
)
|
|
906
|
+
);
|
|
907
|
+
} else return null;
|
|
908
|
+
})
|
|
909
|
+
) : React__default.createElement(
|
|
585
910
|
'div',
|
|
586
911
|
null,
|
|
587
912
|
React__default.createElement(
|
package/dist/cjs/Segment.js
CHANGED
|
@@ -9,7 +9,7 @@ require('./web.dom.iterable-43c3e277.js');
|
|
|
9
9
|
require('./stringify-7c5aff47.js');
|
|
10
10
|
require('./asyncToGenerator-8e707718.js');
|
|
11
11
|
require('./_set-species-4458e975.js');
|
|
12
|
-
var Segment = require('./beam-
|
|
12
|
+
var Segment = require('./beam-d22818d3.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
package/dist/cjs/SideFooter.js
CHANGED
|
@@ -15,7 +15,7 @@ require('./isSymbol-488934a7.js');
|
|
|
15
15
|
require('./stringify-7c5aff47.js');
|
|
16
16
|
require('./asyncToGenerator-8e707718.js');
|
|
17
17
|
require('./_set-species-4458e975.js');
|
|
18
|
-
var Segment = require('./beam-
|
|
18
|
+
var Segment = require('./beam-d22818d3.js');
|
|
19
19
|
require('./_arrayMap-3b4a0f75.js');
|
|
20
20
|
var get = require('./get-5dfcdc33.js');
|
|
21
21
|
var reactSocialIcons = require('./react-social-icons-cd0d9d3b.js');
|
|
@@ -24,7 +24,7 @@ var slicedToArray = require('./slicedToArray-8063ee51.js');
|
|
|
24
24
|
require('./stringify-7c5aff47.js');
|
|
25
25
|
require('./asyncToGenerator-8e707718.js');
|
|
26
26
|
require('./_set-species-4458e975.js');
|
|
27
|
-
require('./beam-
|
|
27
|
+
require('./beam-d22818d3.js');
|
|
28
28
|
require('./AdSlot.js');
|
|
29
29
|
require('./_arrayMap-3b4a0f75.js');
|
|
30
30
|
require('./get-5dfcdc33.js');
|
package/dist/cjs/View.js
CHANGED
|
@@ -34,7 +34,7 @@ var slicedToArray = require('./slicedToArray-8063ee51.js');
|
|
|
34
34
|
var stringify = require('./stringify-7c5aff47.js');
|
|
35
35
|
var asyncToGenerator = require('./asyncToGenerator-8e707718.js');
|
|
36
36
|
require('./_set-species-4458e975.js');
|
|
37
|
-
require('./beam-
|
|
37
|
+
require('./beam-d22818d3.js');
|
|
38
38
|
var AdSlot = require('./AdSlot.js');
|
|
39
39
|
var BlockContent = require('./BlockContent-f942392e.js');
|
|
40
40
|
require('./smoothscroll-95231a70.js');
|
|
@@ -11,7 +11,8 @@ var Segment = {
|
|
|
11
11
|
var apiKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'BBbKMoOjmhsxPnbd2nO6osz3zq67DzuN';
|
|
12
12
|
|
|
13
13
|
if (typeof window === 'undefined') {
|
|
14
|
-
|
|
14
|
+
console.error('window object is not defined');
|
|
15
|
+
return;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
if (window.$segment) {
|
|
@@ -30,7 +30,7 @@ var slicedToArray = require('./slicedToArray-8063ee51.js');
|
|
|
30
30
|
require('./stringify-7c5aff47.js');
|
|
31
31
|
require('./asyncToGenerator-8e707718.js');
|
|
32
32
|
require('./_set-species-4458e975.js');
|
|
33
|
-
var Segment = require('./beam-
|
|
33
|
+
var Segment = require('./beam-d22818d3.js');
|
|
34
34
|
var AdSlot = require('./AdSlot.js');
|
|
35
35
|
var BlockContent = require('./BlockContent-f942392e.js');
|
|
36
36
|
var smoothscroll = require('./smoothscroll-95231a70.js');
|
package/dist/cjs/index.js
CHANGED
|
@@ -38,12 +38,12 @@ require('./slicedToArray-8063ee51.js');
|
|
|
38
38
|
require('./stringify-7c5aff47.js');
|
|
39
39
|
require('./asyncToGenerator-8e707718.js');
|
|
40
40
|
require('./_set-species-4458e975.js');
|
|
41
|
-
var Segment = require('./beam-
|
|
41
|
+
var Segment = require('./beam-d22818d3.js');
|
|
42
42
|
var AdSlot = require('./AdSlot.js');
|
|
43
|
-
require('./ADInfeed-
|
|
43
|
+
require('./ADInfeed-e7f56dcd.js');
|
|
44
44
|
var DeckContent = require('./DeckContent.js');
|
|
45
45
|
require('./lodash-fc2922d0.js');
|
|
46
|
-
require('./ADlgInfeed-
|
|
46
|
+
require('./ADlgInfeed-ad4798a4.js');
|
|
47
47
|
require('./_arrayMap-3b4a0f75.js');
|
|
48
48
|
require('./get-5dfcdc33.js');
|
|
49
49
|
var AD = require('./AD.js');
|
package/dist/esm/AD300x250.js
CHANGED
|
@@ -14,7 +14,7 @@ import './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './beam-
|
|
17
|
+
import './beam-a25bd8fd.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
|
|
20
20
|
var AD300x250 = function AD300x250(_ref) {
|
|
@@ -14,7 +14,7 @@ import './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './beam-
|
|
17
|
+
import './beam-a25bd8fd.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
|
|
20
20
|
var AD300x250x600 = function AD300x250x600(_ref) {
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -14,7 +14,7 @@ import './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './beam-
|
|
17
|
+
import './beam-a25bd8fd.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
|
|
20
20
|
var AD728x90 = function AD728x90(_ref) {
|
|
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import { _ as _JSON$stringify } from './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './beam-
|
|
17
|
+
import './beam-a25bd8fd.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
|
|
20
20
|
var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
package/dist/esm/ADGutter.js
CHANGED
|
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './beam-
|
|
17
|
+
import './beam-a25bd8fd.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
|
|
20
20
|
var ADGutter = function ADGutter(_ref) {
|
|
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './beam-
|
|
17
|
+
import './beam-a25bd8fd.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
|
|
20
20
|
var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
package/dist/esm/ADWebcast.js
CHANGED
|
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './beam-
|
|
17
|
+
import './beam-a25bd8fd.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
|
|
20
20
|
// Webcast AD : New AD with size [200,100] that is to be renderedin the LeftNav between the spotlight and subnavigation.
|
package/dist/esm/ADWelcome.js
CHANGED
|
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import './beam-
|
|
17
|
+
import './beam-a25bd8fd.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
|
|
20
20
|
var ADWelcome = function ADWelcome(_ref) {
|
package/dist/esm/AdSlot.js
CHANGED
|
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
16
16
|
import './_set-species-6f64f1c1.js';
|
|
17
|
-
import { B as Beam, S as Segment } from './beam-
|
|
17
|
+
import { B as Beam, S as Segment } from './beam-a25bd8fd.js';
|
|
18
18
|
|
|
19
19
|
var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
20
20
|
var adUnit = _ref.adUnit,
|
package/dist/esm/ArticleQueue.js
CHANGED
|
@@ -29,7 +29,7 @@ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-f1e40361
|
|
|
29
29
|
import { _ as _JSON$stringify } from './stringify-e30bc114.js';
|
|
30
30
|
import './asyncToGenerator-0379e924.js';
|
|
31
31
|
import './_set-species-6f64f1c1.js';
|
|
32
|
-
import './beam-
|
|
32
|
+
import './beam-a25bd8fd.js';
|
|
33
33
|
import DFPAdSlot from './AdSlot.js';
|
|
34
34
|
import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './_arrayMap-64cbe0e4.js';
|
|
35
35
|
import { B as BlockContent } from './BlockContent-a614acdf.js';
|
package/dist/esm/Beam.js
CHANGED
package/dist/esm/Column2.js
CHANGED
|
@@ -12,7 +12,7 @@ import './isSymbol-b7b7434f.js';
|
|
|
12
12
|
import './stringify-e30bc114.js';
|
|
13
13
|
import './asyncToGenerator-0379e924.js';
|
|
14
14
|
import './_set-species-6f64f1c1.js';
|
|
15
|
-
import './beam-
|
|
15
|
+
import './beam-a25bd8fd.js';
|
|
16
16
|
import './_arrayMap-64cbe0e4.js';
|
|
17
17
|
import './get-0eb56363.js';
|
|
18
18
|
import './react-social-icons-a7d5c5c7.js';
|
package/dist/esm/Column3.js
CHANGED
|
@@ -16,7 +16,7 @@ import './slicedToArray-f1e40361.js';
|
|
|
16
16
|
import './stringify-e30bc114.js';
|
|
17
17
|
import './asyncToGenerator-0379e924.js';
|
|
18
18
|
import './_set-species-6f64f1c1.js';
|
|
19
|
-
import './beam-
|
|
19
|
+
import './beam-a25bd8fd.js';
|
|
20
20
|
import './AdSlot.js';
|
|
21
21
|
import './_arrayMap-64cbe0e4.js';
|
|
22
22
|
import './get-0eb56363.js';
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -34,9 +34,9 @@ import './slicedToArray-f1e40361.js';
|
|
|
34
34
|
import './stringify-e30bc114.js';
|
|
35
35
|
import './asyncToGenerator-0379e924.js';
|
|
36
36
|
import './_set-species-6f64f1c1.js';
|
|
37
|
-
import './beam-
|
|
37
|
+
import './beam-a25bd8fd.js';
|
|
38
38
|
import './AdSlot.js';
|
|
39
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
39
|
+
import { A as ADInfeed } from './ADInfeed-e7767d6d.js';
|
|
40
40
|
|
|
41
41
|
var DeckContent = function (_React$Component) {
|
|
42
42
|
_inherits(DeckContent, _React$Component);
|
|
@@ -25,7 +25,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
25
25
|
import './stringify-e30bc114.js';
|
|
26
26
|
import './asyncToGenerator-0379e924.js';
|
|
27
27
|
import './_set-species-6f64f1c1.js';
|
|
28
|
-
import './beam-
|
|
28
|
+
import './beam-a25bd8fd.js';
|
|
29
29
|
import './AdSlot.js';
|
|
30
30
|
import { B as BlockContent } from './BlockContent-a614acdf.js';
|
|
31
31
|
import './smoothscroll-4b699764.js';
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -34,11 +34,11 @@ import './slicedToArray-f1e40361.js';
|
|
|
34
34
|
import './stringify-e30bc114.js';
|
|
35
35
|
import './asyncToGenerator-0379e924.js';
|
|
36
36
|
import './_set-species-6f64f1c1.js';
|
|
37
|
-
import './beam-
|
|
37
|
+
import './beam-a25bd8fd.js';
|
|
38
38
|
import './AdSlot.js';
|
|
39
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
39
|
+
import { A as ADInfeed } from './ADInfeed-e7767d6d.js';
|
|
40
40
|
import { l as lodash } from './lodash-17fdfebb.js';
|
|
41
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
41
|
+
import { A as ADlgInfeed } from './ADlgInfeed-528c51c8.js';
|
|
42
42
|
import './_arrayMap-64cbe0e4.js';
|
|
43
43
|
import { g as get_1 } from './get-0eb56363.js';
|
|
44
44
|
import './AD.js';
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -12,7 +12,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
|
12
12
|
import './stringify-e30bc114.js';
|
|
13
13
|
import './asyncToGenerator-0379e924.js';
|
|
14
14
|
import './_set-species-6f64f1c1.js';
|
|
15
|
-
import { S as Segment } from './beam-
|
|
15
|
+
import { S as Segment } from './beam-a25bd8fd.js';
|
|
16
16
|
import './react-social-icons-a7d5c5c7.js';
|
|
17
17
|
import './iconBase-6ee2f2fb.js';
|
|
18
18
|
import { b as IoMdLogIn, c as IoIosHome } from './index.esm-b97cf389.js';
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -27,11 +27,11 @@ import './slicedToArray-f1e40361.js';
|
|
|
27
27
|
import './stringify-e30bc114.js';
|
|
28
28
|
import './asyncToGenerator-0379e924.js';
|
|
29
29
|
import './_set-species-6f64f1c1.js';
|
|
30
|
-
import './beam-
|
|
30
|
+
import './beam-a25bd8fd.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import './ADInfeed-
|
|
32
|
+
import './ADInfeed-e7767d6d.js';
|
|
33
33
|
import './lodash-17fdfebb.js';
|
|
34
|
-
import './ADlgInfeed-
|
|
34
|
+
import './ADlgInfeed-528c51c8.js';
|
|
35
35
|
import './AuthorComponent-158226c9.js';
|
|
36
36
|
import 'react-bootstrap';
|
|
37
37
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|