@mjhls/mjh-framework 1.0.817-image-crop-test-v4 → 1.0.818

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.
Files changed (98) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AlgoliaSearch.js +5 -6
  3. package/dist/cjs/ArticleCarousel.js +0 -1
  4. package/dist/cjs/ArticleProgramLandingPage.js +1 -2
  5. package/dist/cjs/ArticleSeriesListing.js +0 -1
  6. package/dist/cjs/ConferenceArticleCard.js +9 -4
  7. package/dist/cjs/DeckContent.js +15 -9
  8. package/dist/cjs/DeckQueue.js +16 -9
  9. package/dist/cjs/ExternalResources.js +1 -2
  10. package/dist/cjs/Feature.js +9 -5
  11. package/dist/cjs/ForbesHero.js +14 -12
  12. package/dist/cjs/GridContent.js +26 -20
  13. package/dist/cjs/GridHero.js +19 -10
  14. package/dist/cjs/GroupDeck.js +8 -4
  15. package/dist/cjs/HamMagazine.js +21 -11
  16. package/dist/cjs/Hero.js +14 -3
  17. package/dist/cjs/HorizontalArticleListing.js +1 -2
  18. package/dist/cjs/HorizontalHero.js +6 -5
  19. package/dist/cjs/IssueContentDeck.js +27 -10
  20. package/dist/cjs/IssueDeck.js +12 -10
  21. package/dist/cjs/IssueLanding.js +1 -2
  22. package/dist/cjs/MasterDeck.js +1 -1
  23. package/dist/cjs/MediaSeriesLanding.js +6 -6
  24. package/dist/cjs/OncliveHero.js +6 -5
  25. package/dist/cjs/OncliveLargeHero.js +22 -21
  26. package/dist/cjs/PartnerDetailListing.js +10 -6
  27. package/dist/cjs/PubSection.js +0 -1
  28. package/dist/cjs/PublicationDeck.js +12 -10
  29. package/dist/cjs/PublicationLanding.js +5 -2
  30. package/dist/cjs/QueueDeckExpanded.js +69 -70
  31. package/dist/cjs/RecentNews.js +6 -3
  32. package/dist/cjs/RelatedContent.js +10 -7
  33. package/dist/cjs/SeriesListingDeck.js +1 -2
  34. package/dist/cjs/{SeriesSlider-d54fa925.js → SeriesSlider-c022ce04.js} +7 -2
  35. package/dist/cjs/TaxonomyCard.js +14 -11
  36. package/dist/cjs/TaxonomyDescription.js +1 -2
  37. package/dist/cjs/ThumbnailCard.js +10 -6
  38. package/dist/cjs/VerticalHero.js +7 -3
  39. package/dist/cjs/VideoProgramLandingPage.js +1 -2
  40. package/dist/cjs/VideoSeriesCard.js +7 -8
  41. package/dist/cjs/VideoSeriesLandingPage.js +0 -1
  42. package/dist/cjs/VideoSeriesListing.js +1 -2
  43. package/dist/cjs/View.js +9 -9
  44. package/dist/cjs/YahooHero.js +13 -11
  45. package/dist/cjs/YoutubeGroup.js +8 -4
  46. package/dist/cjs/getSerializers.js +1 -2
  47. package/dist/cjs/{index-55c6de08.js → index-e5fd35c7.js} +91 -47
  48. package/dist/cjs/index.js +20 -6
  49. package/dist/cjs/urlFor.js +2 -34
  50. package/dist/esm/AlgoliaSearch.js +3 -4
  51. package/dist/esm/ArticleCarousel.js +0 -1
  52. package/dist/esm/ArticleProgramLandingPage.js +1 -2
  53. package/dist/esm/ArticleSeriesListing.js +0 -1
  54. package/dist/esm/ConferenceArticleCard.js +9 -4
  55. package/dist/esm/DeckContent.js +11 -5
  56. package/dist/esm/DeckQueue.js +12 -5
  57. package/dist/esm/ExternalResources.js +1 -2
  58. package/dist/esm/Feature.js +9 -5
  59. package/dist/esm/ForbesHero.js +8 -6
  60. package/dist/esm/GridContent.js +11 -5
  61. package/dist/esm/GridHero.js +13 -4
  62. package/dist/esm/GroupDeck.js +8 -4
  63. package/dist/esm/HamMagazine.js +21 -11
  64. package/dist/esm/Hero.js +14 -3
  65. package/dist/esm/HorizontalArticleListing.js +1 -2
  66. package/dist/esm/HorizontalHero.js +6 -5
  67. package/dist/esm/IssueContentDeck.js +27 -10
  68. package/dist/esm/IssueDeck.js +12 -10
  69. package/dist/esm/IssueLanding.js +1 -2
  70. package/dist/esm/MasterDeck.js +1 -1
  71. package/dist/esm/MediaSeriesLanding.js +4 -4
  72. package/dist/esm/OncliveHero.js +6 -5
  73. package/dist/esm/OncliveLargeHero.js +9 -8
  74. package/dist/esm/PartnerDetailListing.js +10 -6
  75. package/dist/esm/PubSection.js +0 -1
  76. package/dist/esm/PublicationDeck.js +12 -10
  77. package/dist/esm/PublicationLanding.js +5 -2
  78. package/dist/esm/QueueDeckExpanded.js +20 -21
  79. package/dist/esm/RecentNews.js +6 -3
  80. package/dist/esm/RelatedContent.js +6 -3
  81. package/dist/esm/SeriesListingDeck.js +1 -2
  82. package/dist/esm/{SeriesSlider-8f2aca58.js → SeriesSlider-8414085b.js} +7 -2
  83. package/dist/esm/TaxonomyCard.js +11 -8
  84. package/dist/esm/TaxonomyDescription.js +1 -2
  85. package/dist/esm/ThumbnailCard.js +7 -3
  86. package/dist/esm/VerticalHero.js +7 -3
  87. package/dist/esm/VideoProgramLandingPage.js +1 -2
  88. package/dist/esm/VideoSeriesCard.js +3 -4
  89. package/dist/esm/VideoSeriesLandingPage.js +0 -1
  90. package/dist/esm/VideoSeriesListing.js +1 -2
  91. package/dist/esm/View.js +9 -9
  92. package/dist/esm/YahooHero.js +8 -6
  93. package/dist/esm/YoutubeGroup.js +8 -4
  94. package/dist/esm/getSerializers.js +1 -2
  95. package/dist/esm/{index-e8c6a892.js → index-04c4d8d6.js} +67 -23
  96. package/dist/esm/index.js +19 -6
  97. package/dist/esm/urlFor.js +2 -34
  98. package/package.json +1 -1
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import QueueDeckExpanded from './QueueDeckExpanded.js';
4
4
  import Breadcrumbs from './Breadcrumbs.js';
5
5
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
6
- import { g as getSerializers } from './index-e8c6a892.js';
6
+ import { g as getSerializers } from './index-04c4d8d6.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './_to-object-b50e61c3.js';
9
9
  import './_object-pie-133f504a.js';
@@ -14,7 +14,6 @@ import './core.get-iterator-method-133dfacd.js';
14
14
  import './toConsumableArray-6d9a4616.js';
15
15
  import './_iter-detect-7e5e5ce2.js';
16
16
  import 'react-bootstrap';
17
- import './urlFor.js';
18
17
  import './index-0dbff1d1.js';
19
18
  import './index.es-c6222053.js';
20
19
  import './moment-bc12cb97.js';
@@ -56,7 +56,7 @@ var MasterDeck = function (_React$Component) {
56
56
  args[_key] = arguments[_key];
57
57
  }
58
58
 
59
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = MasterDeck.__proto__ || _Object$getPrototypeOf(MasterDeck)).call.apply(_ref, [this].concat(args))), _this), _this.Deck = _this.props.deck, _this.variant = _this.props.variant, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord || [], _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.rightItems = _this.props.rightItems ? _this.props.rightItems : false, _this.isSeriesLanding = _this.props.isSeriesLanding ? _this.props.isSeriesLanding : false, _this.client = _this.props.client, _this.state = {
59
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = MasterDeck.__proto__ || _Object$getPrototypeOf(MasterDeck)).call.apply(_ref, [this].concat(args))), _this), _this.Deck = _this.props.deck, _this.variant = _this.props.variant, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord || [], _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.rightItems = _this.props.rightItems ? _this.props.rightItems : false, _this.isSeriesLanding = _this.props.isSeriesLanding ? _this.props.isSeriesLanding : false, _this.state = {
60
60
  data: _this.data,
61
61
  dataKeptToCompareNewDatarecord: _this.data,
62
62
  per: _this.params ? _this.params.to : 2,
@@ -11,11 +11,11 @@ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelper
11
11
  import Link from 'next/link';
12
12
  import MasterDeck from './MasterDeck.js';
13
13
  import { L as LazyLoad } from './index-35bdcc81.js';
14
- import urlFor from './urlFor.js';
14
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
15
15
  import { m as moment } from './moment-bc12cb97.js';
16
16
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
17
17
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
18
- import { g as getSerializers } from './index-e8c6a892.js';
18
+ import { g as getSerializers } from './index-04c4d8d6.js';
19
19
  import './define-property-fe54dc9f.js';
20
20
  import './_to-object-b50e61c3.js';
21
21
  import './es6.string.iterator-bc33758b.js';
@@ -41,7 +41,6 @@ import './isSymbol-a7e9aafe.js';
41
41
  import './toNumber-5aeba6e7.js';
42
42
  import './index.es-c6222053.js';
43
43
  import './visibility-sensor-f40c2564.js';
44
- import './index-0dbff1d1.js';
45
44
  import './ADlgInfeed-78f95e78.js';
46
45
  import './AdSlot.js';
47
46
  import './Beam.js';
@@ -9388,6 +9387,7 @@ var MediaSeriesCard = function MediaSeriesCard(props) {
9388
9387
  defaultImage = props.defaultImage,
9389
9388
  client = props.client;
9390
9389
 
9390
+ var builder = imageUrlBuilder(client);
9391
9391
 
9392
9392
  return React.createElement(
9393
9393
  'div',
@@ -9405,7 +9405,7 @@ var MediaSeriesCard = function MediaSeriesCard(props) {
9405
9405
  LazyLoad,
9406
9406
  null,
9407
9407
  React.createElement('img', {
9408
- src: data.thumbnail && data.thumbnail.asset ? urlFor({ client: client, source: data.thumbnail }) : data.thumbnail && _typeof(data.thumbnail == 'string') ? data.thumbnail : defaultImage
9408
+ src: data.thumbnail && data.thumbnail.asset ? builder.image(data.thumbnail).url() : data.thumbnail && _typeof(data.thumbnail == 'string') ? data.thumbnail : defaultImage
9409
9409
  })
9410
9410
  )
9411
9411
  )
@@ -1,15 +1,17 @@
1
1
  import React from 'react';
2
- import urlFor from './urlFor.js';
2
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
3
3
  import 'react-bootstrap/Badge';
4
4
  import './iconBase-602d52fe.js';
5
5
  import { m as moment } from './moment-bc12cb97.js';
6
- import './index-0dbff1d1.js';
7
6
  import './_commonjsHelpers-0c4b6f40.js';
8
7
 
9
8
  var OncliveHero = function OncliveHero(props) {
10
9
  var client = props.client;
11
10
 
12
-
11
+ var builder = imageUrlBuilder(client);
12
+ function urlFor(source) {
13
+ return builder.image(source).auto('format');
14
+ }
13
15
  return React.createElement(
14
16
  'div',
15
17
  { className: 'article-group--container' },
@@ -17,8 +19,7 @@ var OncliveHero = function OncliveHero(props) {
17
19
  var articleThumbnail = '';
18
20
  var articleAltText = article.title;
19
21
  if (article.thumbnail && article.thumbnail.asset) {
20
- articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 });
21
-
22
+ articleThumbnail = urlFor(article.thumbnail.asset).width(250).url();
22
23
  articleAltText = article.thumbnail.asset.originalFileName;
23
24
  } else if (props.thumbnail) {
24
25
  articleThumbnail = props.thumbnail;
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
- import urlFor from './urlFor.js';
3
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
4
4
  import { c as clean_html_1 } from './entities-932b50cf.js';
5
5
  import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
6
6
  import { L as LazyLoad } from './index-35bdcc81.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
- import './index-0dbff1d1.js';
9
8
  import './slicedToArray-be2f7a22.js';
10
9
  import './web.dom.iterable-4109ff68.js';
11
10
  import './es6.string.iterator-bc33758b.js';
@@ -22,12 +21,15 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
22
21
  var subArticles = props.dataRecord.slice(3, props.dataRecord.length);
23
22
  var client = props.client;
24
23
 
24
+ var builder = imageUrlBuilder(client);
25
+ function urlFor(source) {
26
+ return builder.image(source).auto('format');
27
+ }
25
28
 
26
29
  var topArticleThumbnail = '';
27
30
  var topArticleAltText = topArticle.title;
28
31
  if (topArticle.thumbnail && topArticle.thumbnail.asset) {
29
- topArticleThumbnail = urlFor({ client: client, source: topArticle.thumbnail.asset, imageWidth: 550 });
30
-
32
+ topArticleThumbnail = urlFor(topArticle.thumbnail.asset).width(550).url();
31
33
  topArticleAltText = topArticle.thumbnail.asset.originalFileName;
32
34
  } else if (props.thumbnail) {
33
35
  topArticleThumbnail = props.thumbnail;
@@ -74,7 +76,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
74
76
  var articleThumbnail = '';
75
77
  var articleAltText = article.title;
76
78
  if (article.thumbnail && article.thumbnail.asset) {
77
- articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 });
79
+ articleThumbnail = urlFor(article.thumbnail.asset).width(250).url();
78
80
  articleAltText = article.thumbnail.asset.originalFileName;
79
81
  } else if (props.thumbnail) {
80
82
  articleThumbnail = props.thumbnail;
@@ -129,8 +131,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
129
131
  var articleThumbnail = '';
130
132
  var articleAltText = article.title;
131
133
  if (article.thumbnail && article.thumbnail.asset) {
132
- articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 });
133
-
134
+ articleThumbnail = urlFor(article.thumbnail.asset).width(250).url();
134
135
  articleAltText = article.thumbnail.asset.originalFileName;
135
136
  } else if (props.thumbnail) {
136
137
  articleThumbnail = props.thumbnail;
@@ -181,7 +182,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
181
182
  var articleThumbnail = '';
182
183
  var articleAltText = article.title;
183
184
  if (article.thumbnail && article.thumbnail.asset) {
184
- articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 });
185
+ articleThumbnail = urlFor(article.thumbnail.asset).width(250).url();
185
186
  articleAltText = article.thumbnail.asset.originalFileName;
186
187
  } else if (props.thumbnail) {
187
188
  articleThumbnail = props.thumbnail;
@@ -3,13 +3,14 @@ import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
3
3
  import { _ as _extends } from './extends-60e0e1c6.js';
4
4
  import React, { useRef, useState, useEffect } from 'react';
5
5
  import { TwitterTimelineEmbed } from 'react-twitter-embed';
6
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
6
7
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
7
- import urlFor from './urlFor.js';
8
8
  import { m as moment } from './moment-bc12cb97.js';
9
9
  import QueueDeckExpanded from './QueueDeckExpanded.js';
10
10
  import Breadcrumbs from './Breadcrumbs.js';
11
11
  import Feature from './Feature.js';
12
- import { g as getSerializers } from './index-e8c6a892.js';
12
+ import urlFor from './urlFor.js';
13
+ import { g as getSerializers } from './index-04c4d8d6.js';
13
14
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
14
15
  import './_commonjsHelpers-0c4b6f40.js';
15
16
  import './es6.string.iterator-bc33758b.js';
@@ -19,7 +20,6 @@ import './_library-528f1934.js';
19
20
  import './core.get-iterator-method-133dfacd.js';
20
21
  import './_iter-detect-7e5e5ce2.js';
21
22
  import './_object-pie-133f504a.js';
22
- import './index-0dbff1d1.js';
23
23
  import './toConsumableArray-6d9a4616.js';
24
24
  import 'react-bootstrap';
25
25
  import './index.es-c6222053.js';
@@ -89,6 +89,10 @@ var ImageSlider = function ImageSlider(props) {
89
89
  scrollPosition = _useState6[0],
90
90
  setScrollPosition = _useState6[1];
91
91
 
92
+ var builder = imageUrlBuilder(props.client);
93
+ function urlFor(source) {
94
+ return builder.image(source);
95
+ }
92
96
  function scrollSlider(e, direction) {
93
97
  var slide = e.target.parentElement;
94
98
  var scrollOffset = scrollPosition;
@@ -196,7 +200,7 @@ var ImageSlider = function ImageSlider(props) {
196
200
  'div',
197
201
  { ref: innerSlider, className: 'row__inner' },
198
202
  props.data.slides.map(function (img, index) {
199
- var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
203
+ var thumbnail = urlFor(img.slideshowImage).width(250);
200
204
  if (!img.slideshowImage.link) {
201
205
  return React.createElement(
202
206
  'div',
@@ -265,7 +269,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
265
269
  React.createElement('img', {
266
270
  alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
267
271
  style: { maxWidth: '100%' },
268
- src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
272
+ src: partnerDetails.thumbnail ? urlFor(client, partnerDetails.thumbnail.asset) : '' }),
269
273
  partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
270
274
  'figcaption',
271
275
  null,
@@ -278,7 +282,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
278
282
  React.createElement('img', {
279
283
  alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
280
284
  style: { maxWidth: '100%' },
281
- src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
285
+ src: partnerDetails.thumbnail ? urlFor(client, partnerDetails.thumbnail.asset) : '' }),
282
286
  partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
283
287
  'figcaption',
284
288
  null,
@@ -13,7 +13,6 @@ import './_iter-detect-7e5e5ce2.js';
13
13
  import './_object-pie-133f504a.js';
14
14
  import './toConsumableArray-6d9a4616.js';
15
15
  import 'react-bootstrap';
16
- import './urlFor.js';
17
16
  import './index-0dbff1d1.js';
18
17
  import './index.es-c6222053.js';
19
18
  import './moment-bc12cb97.js';
@@ -4,21 +4,16 @@ import Col from 'react-bootstrap/Col';
4
4
  import Button from 'react-bootstrap/Button';
5
5
  import Card from 'react-bootstrap/Card';
6
6
  import { L as LazyLoad } from './index-35bdcc81.js';
7
- import urlFor from './urlFor.js';
7
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
8
8
  import { l as lodash } from './lodash-f97fd99a.js';
9
9
  import './_commonjsHelpers-0c4b6f40.js';
10
10
  import 'react-dom';
11
11
  import 'prop-types';
12
- import './index-0dbff1d1.js';
13
12
 
14
13
  var PublicationDeck = function PublicationDeck(props) {
15
14
  var data = props.data,
16
- _props$imageHeight = props.imageHeight,
17
- imageHeight = _props$imageHeight === undefined ? null : _props$imageHeight,
18
- _props$imageWidth = props.imageWidth,
19
- imageWidth = _props$imageWidth === undefined ? null : _props$imageWidth,
20
- _props$imageFit = props.imageFit,
21
- imageFit = _props$imageFit === undefined ? null : _props$imageFit,
15
+ imageHeight = props.imageHeight,
16
+ imageWidth = props.imageWidth,
22
17
  href = props.href,
23
18
  website = props.website,
24
19
  client = props.client;
@@ -38,10 +33,17 @@ var PublicationDeck = function PublicationDeck(props) {
38
33
  return o.childIssue && o.childIssue.year ? o.childIssue.year : null;
39
34
  }]);
40
35
 
36
+ var urlFor = function urlFor(source) {
37
+ var builder = imageUrlBuilder(client);
38
+ return builder.image(source).auto('format');
39
+ };
40
+
41
41
  var renderCardImage = function renderCardImage(thumbnail) {
42
42
  if (thumbnail && thumbnail.asset) {
43
- var url = urlFor({ client: client, source: thumbnail, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit });
44
- return url;
43
+ var url = urlFor(thumbnail);
44
+ if (imageHeight) url = url.height(imageHeight);
45
+ if (imageWidth) url = url.width(imageWidth);
46
+ return url.url();
45
47
  } else {
46
48
  return website.logo;
47
49
  }
@@ -392,9 +392,12 @@ Publication.getInitialProps = async (ctx) => {
392
392
  query: { year },
393
393
  } = ctx
394
394
  const pub = await client.fetch(getQuery('publication'), query)
395
- **import urlFor from framework**
395
+ const builder = imageUrlBuilder(client)
396
+ const urlFor = (source) => {
397
+ return builder.image(source)
398
+ }
396
399
  pub.issues.map((issue) => {
397
- issue.thumbnail = urlFor({client, source: issue.thumbnail})
400
+ issue.thumbnail = urlFor(issue.thumbnail).url()
398
401
  })
399
402
  return { pub, year }
400
403
  }
@@ -3,7 +3,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
3
3
  import { _ as _extends } from './extends-60e0e1c6.js';
4
4
  import React, { useEffect, useState, useRef } from 'react';
5
5
  import { Container, Media } from 'react-bootstrap';
6
- import urlFor from './urlFor.js';
6
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
7
7
  import { I as InfiniteScroll } from './index.es-c6222053.js';
8
8
  import { m as moment } from './moment-bc12cb97.js';
9
9
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
@@ -25,7 +25,6 @@ import './_to-object-b50e61c3.js';
25
25
  import './core.get-iterator-method-133dfacd.js';
26
26
  import './_iter-detect-7e5e5ce2.js';
27
27
  import './_object-pie-133f504a.js';
28
- import './index-0dbff1d1.js';
29
28
  import 'react-dom';
30
29
  import './events-6c3a7a63.js';
31
30
  import 'prop-types';
@@ -40,15 +39,15 @@ import './asyncToGenerator-7f8f9219.js';
40
39
  import './_library-528f1934.js';
41
40
  import './Segment.js';
42
41
 
43
- var renderCardImage = function renderCardImage(row, client) {
44
- var imageHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
45
- var imageWidth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
46
- var imageMaxHeight = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
47
- var imageFit = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
48
-
49
- var url = urlFor({ client: client, source: row.thumbnail, imageHeight: imageHeight, imageWidth: imageWidth, imageMaxHeight: imageMaxHeight, imageFit: imageFit });
42
+ var urlFor = function urlFor(source, builder) {
43
+ return builder.image(source).auto('format');
44
+ };
50
45
 
51
- return url;
46
+ var renderCardImage = function renderCardImage(row, builder, imageHeight, imageWidth) {
47
+ var url = urlFor(row.thumbnail, builder);
48
+ if (imageHeight) url = url.height(imageHeight);
49
+ if (imageWidth) url = url.width(imageWidth);
50
+ return url.url();
52
51
  };
53
52
 
54
53
  var loadMore = function loadMore(values, setValues, per) {
@@ -153,7 +152,7 @@ var checkExternalUrl = function checkExternalUrl(url) {
153
152
  return new RegExp(['http', 'https'].join('|')).test(url);
154
153
  };
155
154
 
156
- var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro) {
155
+ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro) {
157
156
  var numberOfItemsBeforeAd = 6;
158
157
  var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
159
158
  return [].concat(_toConsumableArray(arr.slice(0, index)), [newElement], _toConsumableArray(arr.slice(index)));
@@ -288,7 +287,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
288
287
  React.createElement(
289
288
  LazyLoad,
290
289
  { height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
291
- article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
290
+ article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
292
291
  ),
293
292
  article.source && React.createElement(
294
293
  'div',
@@ -448,7 +447,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
448
447
  React.createElement(
449
448
  LazyLoad,
450
449
  { height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
451
- article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
450
+ article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
452
451
  ),
453
452
  article.source && React.createElement(
454
453
  'div',
@@ -624,7 +623,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
624
623
  React.createElement(
625
624
  LazyLoad,
626
625
  { height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
627
- article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
626
+ article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
628
627
  ),
629
628
  article.source && React.createElement(
630
629
  'div',
@@ -805,7 +804,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
805
804
  React.createElement(
806
805
  LazyLoad,
807
806
  { height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
808
- article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
807
+ article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
809
808
  ),
810
809
  article.source && React.createElement(
811
810
  'div',
@@ -965,7 +964,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
965
964
  React.createElement(
966
965
  LazyLoad,
967
966
  { height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
968
- article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
967
+ article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
969
968
  ),
970
969
  article.source && React.createElement(
971
970
  'div',
@@ -1130,7 +1129,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
1130
1129
  React.createElement(
1131
1130
  LazyLoad,
1132
1131
  { height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
1133
- article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
1132
+ article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
1134
1133
  ),
1135
1134
  article.source && React.createElement(
1136
1135
  'div',
@@ -1357,8 +1356,6 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1357
1356
  showCategory = props.showCategory,
1358
1357
  imageHeight = props.imageHeight,
1359
1358
  imageWidth = props.imageWidth,
1360
- imageMaxHeight = props.imageMaxHeight,
1361
- imageFit = props.imageFit,
1362
1359
  rightItems = props.rightItems,
1363
1360
  brandInsightAd = props.brandInsightAd,
1364
1361
  _props$showBI = props.showBI,
@@ -1380,6 +1377,8 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1380
1377
  var initialCurrentPage = props.currentPage,
1381
1378
  showPublished = props.showPublished;
1382
1379
 
1380
+ var builder = imageUrlBuilder(client);
1381
+
1383
1382
  var _useState3 = useState(initialData),
1384
1383
  _useState4 = _slicedToArray(_useState3, 2),
1385
1384
  data = _useState4[0],
@@ -1491,7 +1490,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1491
1490
  React.createElement(
1492
1491
  Container,
1493
1492
  null,
1494
- cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
1493
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
1495
1494
  )
1496
1495
  ),
1497
1496
  React.createElement(
@@ -1505,7 +1504,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1505
1504
  React.createElement(
1506
1505
  Container,
1507
1506
  null,
1508
- cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
1507
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
1509
1508
  ),
1510
1509
  React.createElement(
1511
1510
  'div',
@@ -1,10 +1,13 @@
1
1
  import React from 'react';
2
+ import './moment-bc12cb97.js';
3
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
2
4
  import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
5
+ import './_commonjsHelpers-0c4b6f40.js';
3
6
  import './iconBase-602d52fe.js';
4
7
 
5
8
  var RecentNews = function RecentNews(_ref) {
6
- _ref.client;
7
- var _ref$dataRecord = _ref.dataRecord,
9
+ var client = _ref.client,
10
+ _ref$dataRecord = _ref.dataRecord,
8
11
  dataRecord = _ref$dataRecord === undefined ? [] : _ref$dataRecord,
9
12
  _ref$linkTo = _ref.linkTo,
10
13
  linkTo = _ref$linkTo === undefined ? '/news' : _ref$linkTo,
@@ -15,7 +18,7 @@ var RecentNews = function RecentNews(_ref) {
15
18
  _ref$linkTitle = _ref.linkTitle,
16
19
  linkTitle = _ref$linkTitle === undefined ? 'View More ' : _ref$linkTitle;
17
20
 
18
-
21
+ imageUrlBuilder(client);
19
22
  var topArticle = dataRecord[0];
20
23
  var subArticles = dataRecord.slice(1, dataRecord.length);
21
24
 
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
3
  import 'react-bootstrap/Media';
4
- import urlFor from './urlFor.js';
4
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
5
5
  import { L as LazyLoad } from './index-35bdcc81.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
- import './index-0dbff1d1.js';
8
7
  import 'react-dom';
9
8
  import 'prop-types';
10
9
 
@@ -43,6 +42,10 @@ var RelatedContent = function RelatedContent(props) {
43
42
  _props$defaultImage = props.defaultImage,
44
43
  defaultImage = _props$defaultImage === undefined ? '' : _props$defaultImage;
45
44
 
45
+ var builder = imageUrlBuilder(client);
46
+ function urlFor(source) {
47
+ return builder.image(source);
48
+ }
46
49
 
47
50
  return React.createElement(
48
51
  'div',
@@ -66,7 +69,7 @@ var RelatedContent = function RelatedContent(props) {
66
69
  LazyLoad,
67
70
  { once: true },
68
71
  React.createElement('img', {
69
- src: article.thumbnail ? urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 500 }) : defaultImage,
72
+ src: article.thumbnail ? urlFor(article.thumbnail.asset).width(500).url() : defaultImage,
70
73
  alt: article.title
71
74
  })
72
75
  )
@@ -5,7 +5,7 @@ import React, { useState, useEffect, useRef } from 'react';
5
5
  import { useRouter } from 'next/router';
6
6
  import { l as lib_3 } from './index-2446af28.js';
7
7
  import { I as InfiniteScroll } from './index.es-c6222053.js';
8
- import { S as SeriesSlider } from './SeriesSlider-8f2aca58.js';
8
+ import { S as SeriesSlider } from './SeriesSlider-8414085b.js';
9
9
  import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './es6.string.iterator-bc33758b.js';
@@ -20,7 +20,6 @@ import './index-c7e2ac95.js';
20
20
  import './index-35bdcc81.js';
21
21
  import 'react-dom';
22
22
  import './smoothscroll-fa4e3f8c.js';
23
- import './urlFor.js';
24
23
  import './index-0dbff1d1.js';
25
24
  import './main-b5c5aac1.js';
26
25
 
@@ -3,7 +3,7 @@ import React, { useRef, useState, useEffect } from 'react';
3
3
  import { g as getYoutubeId } from './index-c7e2ac95.js';
4
4
  import { L as LazyLoad } from './index-35bdcc81.js';
5
5
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
- import urlFor from './urlFor.js';
6
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
7
7
  import { m as main_43, a as main_49, b as main_42 } from './main-b5c5aac1.js';
8
8
 
9
9
  /*
@@ -52,6 +52,11 @@ var SeriesSlider = function SeriesSlider(_ref) {
52
52
  tileHeight = _useState8[0],
53
53
  setTileHeight = _useState8[1];
54
54
 
55
+ var urlFor = function urlFor(source, client) {
56
+ var builder = imageUrlBuilder(client);
57
+ return builder.image(source).auto('format');
58
+ };
59
+
55
60
  useEffect(function () {
56
61
  //IE11 Polyfill
57
62
  smoothscroll.polyfill();
@@ -246,7 +251,7 @@ var SeriesSlider = function SeriesSlider(_ref) {
246
251
  var url = '/view/' + article.url.current;
247
252
  var thumbnail = void 0;
248
253
  if (article.thumbnail && article.thumbnail.asset) {
249
- thumbnail = urlFor({ source: article.thumbnail, client: client });
254
+ thumbnail = urlFor(article.thumbnail, client);
250
255
  } else {
251
256
  thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(article.url) + '/hqdefault.jpg';
252
257
  }
@@ -5,14 +5,13 @@ import Container from 'react-bootstrap/Container';
5
5
  import Row from 'react-bootstrap/Row';
6
6
  import Col from 'react-bootstrap/Col';
7
7
  import Card from 'react-bootstrap/Card';
8
- import urlFor from './urlFor.js';
8
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
9
9
  import { L as LazyLoad } from './index-35bdcc81.js';
10
10
  import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
11
11
  import './_commonjsHelpers-0c4b6f40.js';
12
12
  import './_to-object-b50e61c3.js';
13
13
  import './_object-pie-133f504a.js';
14
14
  import 'prop-types';
15
- import './index-0dbff1d1.js';
16
15
  import 'react-dom';
17
16
 
18
17
  var TaxonomyCard = function TaxonomyCard(props) {
@@ -26,16 +25,20 @@ var TaxonomyCard = function TaxonomyCard(props) {
26
25
  client = props.client,
27
26
  _props$imageHeight = props.imageHeight,
28
27
  imageHeight = _props$imageHeight === undefined ? 270 : _props$imageHeight,
29
- _props$imageWidth = props.imageWidth,
30
- imageWidth = _props$imageWidth === undefined ? null : _props$imageWidth,
31
- _props$imageFit = props.imageFit,
32
- imageFit = _props$imageFit === undefined ? null : _props$imageFit,
28
+ imageWidth = props.imageWidth,
33
29
  getSerializers = props.getSerializers;
34
30
 
31
+ var builder = imageUrlBuilder(client);
32
+
33
+ var urlFor = function urlFor(source) {
34
+ return builder.image(source).auto('format');
35
+ };
35
36
 
36
37
  var renderCardImage = function renderCardImage(row) {
37
- var url = urlFor({ client: client, source: row.thumbnail, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit });
38
- return url;
38
+ var url = urlFor(row.thumbnail);
39
+ if (imageHeight) url = url.height(imageHeight);
40
+ if (imageWidth) url = url.width(imageWidth);
41
+ return url.url();
39
42
  };
40
43
 
41
44
  var mode = variant && variant === 'bottom' ? 'column-reverse' : 'column';
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import { useRouter } from 'next/router';
5
5
  import Head from 'next/head';
6
6
  import { B as BlockContent } from './BlockContent-52cf21c5.js';
7
- import { g as getSerializers } from './index-e8c6a892.js';
7
+ import { g as getSerializers } from './index-04c4d8d6.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './es6.string.iterator-bc33758b.js';
10
10
  import './_to-object-b50e61c3.js';
@@ -17,7 +17,6 @@ import 'prop-types';
17
17
  import './index-0dbff1d1.js';
18
18
  import './slicedToArray-be2f7a22.js';
19
19
  import 'react-bootstrap';
20
- import './urlFor.js';
21
20
  import './index-2446af28.js';
22
21
  import './events-6c3a7a63.js';
23
22
  import './index-c7e2ac95.js';
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
2
  import Media from 'react-bootstrap/Media';
3
- import urlFor from './urlFor.js';
3
+ import { i as imageUrlBuilder } from './index-0dbff1d1.js';
4
4
  import { L as LazyLoad } from './index-35bdcc81.js';
5
5
  import { c as clean_html_1 } from './entities-932b50cf.js';
6
- import './index-0dbff1d1.js';
7
6
  import './_commonjsHelpers-0c4b6f40.js';
8
7
  import 'react-dom';
9
8
  import 'prop-types';
@@ -14,6 +13,11 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
14
13
  client = _ref.client,
15
14
  defaultImage = _ref.defaultImage;
16
15
 
16
+ var builder = imageUrlBuilder(client);
17
+
18
+ var urlFor = function urlFor(source) {
19
+ return builder.image(source).auto('format');
20
+ };
17
21
 
18
22
  return React.createElement(
19
23
  'div',
@@ -25,7 +29,7 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
25
29
  React.createElement(
26
30
  LazyLoad,
27
31
  { height: size },
28
- React.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor({ client: client, source: item.thumbnail }) : defaultImage, alt: 'Generic placeholder' })
32
+ React.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor(item.thumbnail).url() : defaultImage, alt: 'Generic placeholder' })
29
33
  ),
30
34
  React.createElement(
31
35
  Media.Body,