@quintype/arrow 3.15.1-perf.0 → 3.15.1-perf.3

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 (97) hide show
  1. package/atoms/Author/index.js +38 -29
  2. package/atoms/AuthorWithTime/index.js +83 -73
  3. package/atoms/CollectionName/index.js +40 -30
  4. package/atoms/ExtendedLoadMore/{index-4577d5b9.js → index-3976fac4.js} +62 -55
  5. package/atoms/ExtendedLoadMore/{index-0edaa434.js → index-3c4ac692.js} +243 -208
  6. package/atoms/ExtendedLoadMore/index-4ddfe28d.js +93 -0
  7. package/atoms/ExtendedLoadMore/{index-70ce7471.js → index-5c8eda4a.js} +88 -80
  8. package/atoms/ExtendedLoadMore/{index-b3ef1488.js → index-6e083738.js} +63 -56
  9. package/atoms/ExtendedLoadMore/{index-48664b07.js → index-6ecceae4.js} +61 -54
  10. package/atoms/ExtendedLoadMore/{index-4c3c2b6f.js → index-9e0d32b7.js} +79 -72
  11. package/atoms/ExtendedLoadMore/{index-c47ff5bc.js → index-a5c95f84.js} +73 -66
  12. package/atoms/ExtendedLoadMore/{index-4b9207c4.js → index-b22f1843.js} +70 -62
  13. package/atoms/ExtendedLoadMore/{index-8f6483ba.js → index-b5936059.js} +75 -68
  14. package/atoms/ExtendedLoadMore/{index-b841407e.js → index-bc129cb8.js} +60 -53
  15. package/atoms/ExtendedLoadMore/{index-d08b6c2f.js → index-e7cde739.js} +74 -46
  16. package/atoms/ExtendedLoadMore/{index-867b9437.js → index-fee73a14.js} +67 -61
  17. package/atoms/ExtendedLoadMore/index.js +13 -5
  18. package/atoms/ExtendedLoadMore/styles.arrow.css +1 -1
  19. package/atoms/Headline/index.js +85 -76
  20. package/atoms/HeroImage/index.js +69 -60
  21. package/atoms/LoadmoreButton/index.js +32 -23
  22. package/atoms/ScrollSnap/index.js +72 -63
  23. package/atoms/SectionTag/index.js +34 -25
  24. package/atoms/Subheadline/index.js +31 -22
  25. package/atoms/TimeStamp/index.js +34 -24
  26. package/molecules/KeyEvents/index.js +75 -66
  27. package/molecules/PageIntroductionCard/index.js +43 -34
  28. package/molecules/SocialShareTemplate/index.js +97 -88
  29. package/molecules/StoryCard/index.js +242 -232
  30. package/molecules/StoryElementCard/index.js +512 -483
  31. package/molecules/StorycardContent/index.js +172 -162
  32. package/package.json +1 -1
  33. package/rows/AlternateCollectionFilter/index.js +349 -339
  34. package/rows/AsideCollection/index.js +346 -340
  35. package/rows/AstrologyCollection/index.js +325 -315
  36. package/rows/AuthorIntroductionCard/index.js +157 -150
  37. package/rows/AuthorsList/index.js +187 -180
  38. package/rows/CollectionFilter/index.js +365 -355
  39. package/rows/ElevenStories/index.js +360 -351
  40. package/rows/FourColFiveStories/index.js +308 -279
  41. package/rows/FourColGrid/index.js +355 -326
  42. package/rows/FourColPortraitStories/index.js +364 -336
  43. package/rows/FourColSixteenStories/index.js +291 -281
  44. package/rows/FourColTwelveStories/index.js +318 -308
  45. package/rows/FourStorySlider/index.js +362 -352
  46. package/rows/FourStorySliderPortrait/index.js +363 -353
  47. package/rows/FourTabbedBigStorySlider/index.js +325 -314
  48. package/rows/FullScreenSlider/index.js +339 -330
  49. package/rows/HalfScreenSlider/index.js +311 -302
  50. package/rows/ListComponent/index.js +325 -315
  51. package/rows/Listicles/index.js +154 -145
  52. package/rows/MagazineEditions/index.js +107 -98
  53. package/rows/MagazineHeaderCard/index.js +107 -98
  54. package/rows/MagazineWidget/index.js +329 -320
  55. package/rows/OneColStoryList/index.js +369 -340
  56. package/rows/OpinionCollection/index.js +254 -225
  57. package/rows/SixColSixStories/index.js +337 -308
  58. package/rows/StoryCollection/index.js +346 -340
  59. package/rows/TagIntroductionCard/index.js +30 -23
  60. package/rows/ThreeColFlexStories/index.js +352 -323
  61. package/rows/ThreeColFourteenStories/index.js +288 -278
  62. package/rows/ThreeColGrid/index.js +356 -327
  63. package/rows/ThreeColSevenStory/index.js +325 -316
  64. package/rows/ThreeColSixStories/index.js +326 -316
  65. package/rows/ThreeColTwelveStories/index.js +305 -295
  66. package/rows/TwoColFourStories/index.js +319 -308
  67. package/rows/TwoColFourStoryHighlight/index.js +320 -309
  68. package/rows/TwoColSevenStories/index.js +326 -315
  69. package/rows/TwoColSixStories/index.js +319 -310
  70. package/rows/TwoColTenStoriesSidebar/index.js +341 -330
  71. package/rows/TwoColThreeStories/index.js +319 -308
  72. package/story-elements/AlsoRead/index.js +70 -61
  73. package/story-elements/Attachment/index.js +40 -31
  74. package/story-elements/BigFact/index.js +35 -26
  75. package/story-elements/BlockQuote/index.js +61 -51
  76. package/story-elements/Blurb/index.js +36 -27
  77. package/story-elements/Image/index.js +113 -86
  78. package/story-elements/ImageGallery/index.js +98 -71
  79. package/story-elements/ImageSlideshow/index.js +147 -120
  80. package/story-elements/QuestionAnswer/index.js +55 -46
  81. package/story-elements/Quote/index.js +37 -28
  82. package/story-elements/Reference/index.js +40 -31
  83. package/story-elements/StoryElement/index.js +28 -19
  84. package/story-elements/Summary/index.js +40 -31
  85. package/story-elements/Text/index.js +34 -25
  86. package/story-elements/Video/index.js +29 -20
  87. package/{rows → story-templates}/ListicleStoryTemplate/index.js +947 -926
  88. package/{rows → story-templates}/ListicleStoryTemplate/styles.arrow.css +0 -0
  89. package/{rows → story-templates}/LiveBlogStoryTemplate/index.js +952 -931
  90. package/{rows → story-templates}/LiveBlogStoryTemplate/styles.arrow.css +0 -0
  91. package/{rows → story-templates}/PhotoStoryTemplate/index.js +922 -901
  92. package/{rows → story-templates}/PhotoStoryTemplate/styles.arrow.css +0 -0
  93. package/{rows → story-templates}/TextStoryTemplate/index.js +941 -920
  94. package/{rows → story-templates}/TextStoryTemplate/styles.arrow.css +0 -0
  95. package/{rows → story-templates}/VideoStoryTemplate/index.js +907 -886
  96. package/{rows → story-templates}/VideoStoryTemplate/styles.arrow.css +0 -0
  97. package/atoms/ExtendedLoadMore/index-96c36b0e.js +0 -86
@@ -1,9 +1,37 @@
1
- import React, { useState, useEffect, createContext, useContext, Suspense, lazy, useRef } from 'react';
2
- import PropTypes, { PropTypes as PropTypes$1, number, string, func, array, bool } from 'prop-types';
3
- import { connect, useSelector } from 'react-redux';
4
- import { Link, ResponsiveImage, ResponsiveHeroImage, LinkBase, LazyLoadImages, StoryElement as StoryElement$1, SocialShare } from '@quintype/components';
5
- import Timeago from 'react-timeago';
6
- import { utcToZonedTime, format } from 'date-fns-tz';
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var PropTypes = require('prop-types');
7
+ var reactRedux = require('react-redux');
8
+ var components = require('@quintype/components');
9
+ var Timeago = require('react-timeago');
10
+ var dateFnsTz = require('date-fns-tz');
11
+
12
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
+
14
+ function _interopNamespace(e) {
15
+ if (e && e.__esModule) return e;
16
+ var n = Object.create(null);
17
+ if (e) {
18
+ Object.keys(e).forEach(function (k) {
19
+ if (k !== 'default') {
20
+ var d = Object.getOwnPropertyDescriptor(e, k);
21
+ Object.defineProperty(n, k, d.get ? d : {
22
+ enumerable: true,
23
+ get: function () { return e[k]; }
24
+ });
25
+ }
26
+ });
27
+ }
28
+ n["default"] = e;
29
+ return Object.freeze(n);
30
+ }
31
+
32
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
33
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
34
+ var Timeago__default = /*#__PURE__*/_interopDefaultLegacy(Timeago);
7
35
 
8
36
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
37
 
@@ -1426,105 +1454,105 @@ function _slicedToArray(arr, i) {
1426
1454
  var Twitter = function Twitter(_ref) {
1427
1455
  var _ref$color = _ref.color,
1428
1456
  color = _ref$color === void 0 ? "#1CB7EB" : _ref$color;
1429
- return /*#__PURE__*/React.createElement("svg", {
1457
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1430
1458
  xmlns: "http://www.w3.org/2000/svg",
1431
1459
  width: "24",
1432
1460
  height: "24",
1433
1461
  viewBox: "0 0 24 24"
1434
- }, /*#__PURE__*/React.createElement("path", {
1462
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1435
1463
  fill: color,
1436
1464
  d: "M19.137 8.594c.023.094.035.246.035.457 0 1.687-.41 3.316-1.23 4.887-.844 1.664-2.028 2.988-3.551 3.972-1.664 1.102-3.575 1.652-5.73 1.652-2.063 0-3.95-.55-5.661-1.652.258.024.55.035.879.035 1.71 0 3.246-.527 4.605-1.582-.82 0-1.54-.24-2.162-.72a3.673 3.673 0 01-1.283-1.811c.234.023.457.035.668.035.328 0 .656-.035.984-.105a3.724 3.724 0 01-2.109-1.301 3.542 3.542 0 01-.844-2.32v-.07a3.493 3.493 0 001.653.492 4.097 4.097 0 01-1.196-1.336 3.557 3.557 0 01-.457-1.776c0-.644.176-1.26.528-1.845a10.188 10.188 0 003.357 2.742 10.222 10.222 0 004.236 1.125 5.122 5.122 0 01-.07-.844c0-.656.164-1.272.492-1.846a3.615 3.615 0 011.336-1.353 3.568 3.568 0 011.828-.492c.54 0 1.037.105 1.494.316.457.21.862.492 1.213.844a7.479 7.479 0 002.356-.88c-.281.868-.82 1.548-1.617 2.04A7.926 7.926 0 0021 6.66a8.132 8.132 0 01-1.863 1.934z"
1437
1465
  }));
1438
1466
  };
1439
1467
  Twitter.propTypes = {
1440
- color: PropTypes.string
1468
+ color: PropTypes__default["default"].string
1441
1469
  };
1442
1470
 
1443
1471
  var Facebook = function Facebook(_ref) {
1444
1472
  var _ref$color = _ref.color,
1445
1473
  color = _ref$color === void 0 ? "#3B5998" : _ref$color;
1446
- return /*#__PURE__*/React.createElement("svg", {
1474
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1447
1475
  xmlns: "http://www.w3.org/2000/svg",
1448
1476
  width: "24",
1449
1477
  height: "24",
1450
1478
  viewBox: "0 0 24 24"
1451
- }, /*#__PURE__*/React.createElement("path", {
1479
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1452
1480
  fill: color,
1453
1481
  d: "M9.906 20v-7.156H7.5V10h2.406V7.75c0-1.187.334-2.11 1-2.766.667-.656 1.552-.984 2.656-.984.896 0 1.625.042 2.188.125v2.531h-1.5c-.563 0-.948.125-1.156.375-.167.209-.25.542-.25 1V10H15.5l-.375 2.844h-2.281V20H9.906z"
1454
1482
  }));
1455
1483
  };
1456
1484
  Facebook.propTypes = {
1457
- color: PropTypes.string
1485
+ color: PropTypes__default["default"].string
1458
1486
  };
1459
1487
 
1460
1488
  var LinkedIn = function LinkedIn(_ref) {
1461
1489
  var _ref$color = _ref.color,
1462
1490
  color = _ref$color === void 0 ? "#0077B5" : _ref$color;
1463
- return /*#__PURE__*/React.createElement("svg", {
1491
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1464
1492
  xmlns: "http://www.w3.org/2000/svg",
1465
1493
  width: "24",
1466
1494
  height: "24",
1467
1495
  viewBox: "0 0 24 24"
1468
- }, /*#__PURE__*/React.createElement("path", {
1496
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1469
1497
  fill: color,
1470
1498
  d: "M6.71 19H3.26V7.904h3.45V19zM5.005 6.383a1.926 1.926 0 01-1.41-.594A1.923 1.923 0 013 4.38c0-.544.198-1.014.594-1.41a1.926 1.926 0 011.41-.594c.544 0 1.014.198 1.41.594.396.396.594.866.594 1.41 0 .544-.198 1.014-.594 1.41a1.926 1.926 0 01-1.41.594zM19.625 19h-3.451v-5.418c0-.89-.074-1.534-.223-1.93-.272-.668-.804-1.002-1.596-1.002-.791 0-1.348.297-1.67.891-.247.445-.37 1.1-.37 1.967V19H8.9V7.904h3.303v1.522h.037c.248-.495.643-.903 1.188-1.225.593-.396 1.286-.594 2.078-.594 1.608 0 2.734.508 3.377 1.522.495.816.742 2.078.742 3.785V19z"
1471
1499
  }));
1472
1500
  };
1473
1501
  LinkedIn.propTypes = {
1474
- color: PropTypes.string
1502
+ color: PropTypes__default["default"].string
1475
1503
  };
1476
1504
 
1477
1505
  var WhatsApp = function WhatsApp(_ref) {
1478
1506
  var _ref$color = _ref.color,
1479
1507
  color = _ref$color === void 0 ? "#4AC959" : _ref$color;
1480
- return /*#__PURE__*/React.createElement("svg", {
1508
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1481
1509
  xmlns: "http://www.w3.org/2000/svg",
1482
1510
  width: "24",
1483
1511
  height: "24",
1484
1512
  viewBox: "0 0 24 24"
1485
- }, /*#__PURE__*/React.createElement("path", {
1513
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1486
1514
  fill: color,
1487
1515
  fillRule: "evenodd",
1488
1516
  d: "M18.404 5.505a9.457 9.457 0 012.02 2.96 8.587 8.587 0 01.715 3.449 8.665 8.665 0 01-1.245 4.53 9.282 9.282 0 01-3.347 3.307 8.894 8.894 0 01-4.552 1.225 8.835 8.835 0 01-4.327-1.102l-4.817 1.265 1.307-4.694a8.775 8.775 0 01-1.225-4.531 8.77 8.77 0 011.225-4.531 9.17 9.17 0 013.306-3.307 8.781 8.781 0 014.531-1.224c1.198 0 2.347.23 3.45.693a9.515 9.515 0 012.959 1.96zm-6.409 13.96c1.36 0 2.626-.34 3.797-1.02a7.75 7.75 0 002.796-2.756 7.202 7.202 0 001.04-3.775c0-.98-.203-1.933-.612-2.858a8.088 8.088 0 00-1.694-2.47 7.565 7.565 0 00-2.449-1.653 7.405 7.405 0 00-2.878-.571c-1.36 0-2.62.34-3.776 1.02a7.646 7.646 0 00-2.755 2.756 7.316 7.316 0 00-1.02 3.776c0 1.442.394 2.775 1.183 4l.164.286-.776 2.775 2.857-.734.286.163a7.275 7.275 0 003.837 1.061zm4.123-5.674l.123.082c.19.082.299.15.326.204.027.054.034.19.02.408a2.11 2.11 0 01-.163.674c-.095.231-.313.462-.653.694-.34.231-.633.36-.878.388-.38.054-.748.054-1.102 0-.408-.082-.952-.273-1.632-.572-1.388-.599-2.654-1.714-3.797-3.347l-.081-.082c-.6-.843-.898-1.62-.898-2.327 0-.707.244-1.32.734-1.837l.041-.04c.19-.19.395-.286.612-.286h.49c.11 0 .198.02.266.061.068.041.129.143.183.306l.694 1.674c.082.163.095.3.041.408a2.832 2.832 0 01-.53.735.917.917 0 00-.205.265c-.027.068 0 .143.082.225.38.707.83 1.265 1.347 1.673.381.3.952.64 1.714 1.02.218.11.381.096.49-.04.354-.408.599-.707.735-.898.054-.109.123-.163.204-.163.082 0 .177.013.286.04.218.082.735.327 1.551.735z"
1489
1517
  }));
1490
1518
  };
1491
1519
  WhatsApp.propTypes = {
1492
- color: PropTypes.string
1520
+ color: PropTypes__default["default"].string
1493
1521
  };
1494
1522
 
1495
1523
  var getSocialIcons = function getSocialIcons(color, iconType) {
1496
1524
  switch (iconType) {
1497
1525
  case "plain-color-svg":
1498
1526
  return {
1499
- facebook: /*#__PURE__*/React.createElement(Facebook, {
1527
+ facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
1500
1528
  key: iconType
1501
1529
  }),
1502
- twitter: /*#__PURE__*/React.createElement(Twitter, {
1530
+ twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
1503
1531
  key: iconType
1504
1532
  }),
1505
- linkedin: /*#__PURE__*/React.createElement(LinkedIn, {
1533
+ linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
1506
1534
  key: iconType
1507
1535
  }),
1508
- whatsapp: /*#__PURE__*/React.createElement(WhatsApp, {
1536
+ whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
1509
1537
  key: iconType
1510
1538
  })
1511
1539
  };
1512
1540
 
1513
1541
  default:
1514
1542
  return {
1515
- facebook: /*#__PURE__*/React.createElement(Facebook, {
1543
+ facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
1516
1544
  color: color,
1517
1545
  key: iconType
1518
1546
  }),
1519
- twitter: /*#__PURE__*/React.createElement(Twitter, {
1547
+ twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
1520
1548
  color: color,
1521
1549
  key: iconType
1522
1550
  }),
1523
- linkedin: /*#__PURE__*/React.createElement(LinkedIn, {
1551
+ linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
1524
1552
  color: color,
1525
1553
  key: iconType
1526
1554
  }),
1527
- whatsapp: /*#__PURE__*/React.createElement(WhatsApp, {
1555
+ whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
1528
1556
  color: color,
1529
1557
  key: iconType
1530
1558
  })
@@ -1580,22 +1608,22 @@ var socialShareData = function socialShareData(_ref) {
1580
1608
  var CloseIcon = function CloseIcon(_ref) {
1581
1609
  var _ref$color = _ref.color,
1582
1610
  color = _ref$color === void 0 ? "#333" : _ref$color;
1583
- return /*#__PURE__*/React.createElement("svg", {
1611
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1584
1612
  xmlns: "http://www.w3.org/2000/svg",
1585
1613
  width: "24",
1586
1614
  height: "24",
1587
1615
  viewBox: "0 0 24 24"
1588
- }, /*#__PURE__*/React.createElement("g", {
1616
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
1589
1617
  fill: "none",
1590
1618
  stroke: color,
1591
1619
  strokeLinecap: "square",
1592
1620
  strokeWidth: "2"
1593
- }, /*#__PURE__*/React.createElement("path", {
1621
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1594
1622
  d: "M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"
1595
1623
  })));
1596
1624
  };
1597
1625
  CloseIcon.propTypes = {
1598
- color: PropTypes.string
1626
+ color: PropTypes__default["default"].string
1599
1627
  };
1600
1628
 
1601
1629
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -2963,15 +2991,15 @@ var isEmpty = function isEmpty(value) {
2963
2991
  return value == null || // From standard.js: Always use === - but value == null is allowed to check null || undefined
2964
2992
  _typeof(value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
2965
2993
  };
2966
- var shapeConfig = PropTypes.shape({
2967
- "sketches-host": PropTypes.string,
2968
- "cdn-name": PropTypes.string,
2969
- "cdn-image": PropTypes.string
2994
+ var shapeConfig = PropTypes__default["default"].shape({
2995
+ "sketches-host": PropTypes__default["default"].string,
2996
+ "cdn-name": PropTypes__default["default"].string,
2997
+ "cdn-image": PropTypes__default["default"].string
2970
2998
  });
2971
- var shapeStory = PropTypes.shape({
2972
- headline: PropTypes.string,
2973
- "last-published-at": PropTypes.number,
2974
- subheadline: PropTypes.string
2999
+ var shapeStory = PropTypes__default["default"].shape({
3000
+ headline: PropTypes__default["default"].string,
3001
+ "last-published-at": PropTypes__default["default"].number,
3002
+ subheadline: PropTypes__default["default"].string
2975
3003
  });
2976
3004
  var getStoryUrl = function getStoryUrl(story) {
2977
3005
  var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
@@ -3064,17 +3092,17 @@ var getTimeStamp = function getTimeStamp(date, _formatter) {
3064
3092
  var timezone = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
3065
3093
 
3066
3094
  if (timezone && template === "story") {
3067
- var zonedTime = timezone && utcToZonedTime(date, timezone);
3068
- var formatZonedTime = zonedTime && format(zonedTime, "yyyy-MM-dd'T'HH:mm:ssXXX", {
3095
+ var zonedTime = timezone && dateFnsTz.utcToZonedTime(date, timezone);
3096
+ var formatZonedTime = zonedTime && dateFnsTz.format(zonedTime, "yyyy-MM-dd'T'HH:mm:ssXXX", {
3069
3097
  timeZone: timezone
3070
3098
  });
3071
3099
  var timeStamp = timestampToFormat("", "", "", date, config);
3072
- return /*#__PURE__*/React.createElement("time", {
3100
+ return /*#__PURE__*/React__default["default"].createElement("time", {
3073
3101
  dateTime: formatZonedTime
3074
3102
  }, timeStamp);
3075
3103
  }
3076
3104
 
3077
- return /*#__PURE__*/React.createElement(Timeago, {
3105
+ return /*#__PURE__*/React__default["default"].createElement(Timeago__default["default"], {
3078
3106
  date: date,
3079
3107
  formatter: function formatter(value, unit, suffix, date) {
3080
3108
  return _formatter(value, unit, suffix, date, config);
@@ -3100,17 +3128,17 @@ var _styleModuleImportMap$B = {
3100
3128
  };
3101
3129
 
3102
3130
  var popupSocialShareItem = function popupSocialShareItem(url, icon, text, index) {
3103
- return url ? /*#__PURE__*/React.createElement("li", {
3131
+ return url ? /*#__PURE__*/React__default["default"].createElement("li", {
3104
3132
  className: "social-share-popup-m_social-icon-wrapper__36jyV",
3105
3133
  "data-testid": text,
3106
3134
  key: "popup-item-".concat(index)
3107
- }, /*#__PURE__*/React.createElement("a", {
3135
+ }, /*#__PURE__*/React__default["default"].createElement("a", {
3108
3136
  href: url,
3109
3137
  target: "_blank",
3110
3138
  rel: "noopener noreferrer",
3111
3139
  className: "social-share-popup-m_social-wrapper__1lPzr",
3112
3140
  "aria-label": "social-icon"
3113
- }, icon, /*#__PURE__*/React.createElement("span", {
3141
+ }, icon, /*#__PURE__*/React__default["default"].createElement("span", {
3114
3142
  className: "social-share-popup-m_social-text__1QPXb"
3115
3143
  }, text))) : null;
3116
3144
  };
@@ -3140,20 +3168,20 @@ var SocialSharePopup = function SocialSharePopup(_ref) {
3140
3168
  iconType: iconType
3141
3169
  };
3142
3170
  var popupItemsList = socialShareData(options);
3143
- return /*#__PURE__*/React.createElement("div", {
3171
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3144
3172
  className: _getClassName("share-popup-wrapper ".concat(textColor), _styleModuleImportMap$B)
3145
- }, /*#__PURE__*/React.createElement("div", {
3173
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3146
3174
  className: "social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD"
3147
- }, /*#__PURE__*/React.createElement("div", {
3175
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3148
3176
  className: "social-share-popup-m_top-bar__174Um"
3149
- }, /*#__PURE__*/React.createElement("span", {
3177
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
3150
3178
  className: "social-share-popup-m_share-text__19E-F"
3151
- }, "Share via"), /*#__PURE__*/React.createElement("span", {
3179
+ }, "Share via"), /*#__PURE__*/React__default["default"].createElement("span", {
3152
3180
  className: "social-share-popup-m_close__3k-Hj",
3153
3181
  onClick: closePopup
3154
- }, /*#__PURE__*/React.createElement(CloseIcon, {
3182
+ }, /*#__PURE__*/React__default["default"].createElement(CloseIcon, {
3155
3183
  color: iconColor
3156
- }))), /*#__PURE__*/React.createElement("ul", {
3184
+ }))), /*#__PURE__*/React__default["default"].createElement("ul", {
3157
3185
  className: "social-share-popup-m_wrapper__3Ytce"
3158
3186
  }, popupItemsList.map(function (_ref2, index) {
3159
3187
  var url = _ref2.url,
@@ -3165,33 +3193,33 @@ var SocialSharePopup = function SocialSharePopup(_ref) {
3165
3193
  }))));
3166
3194
  };
3167
3195
  SocialSharePopup.propTypes = {
3168
- fbUrl: PropTypes.string,
3169
- twitterUrl: PropTypes.string,
3170
- linkedinUrl: PropTypes.string,
3171
- whatsappUrl: PropTypes.string,
3172
- grey: PropTypes.string,
3173
- primaryColor: PropTypes.string,
3174
- closePopup: PropTypes.bool,
3175
- theme: PropTypes.string,
3176
- iconType: PropTypes.string
3196
+ fbUrl: PropTypes__default["default"].string,
3197
+ twitterUrl: PropTypes__default["default"].string,
3198
+ linkedinUrl: PropTypes__default["default"].string,
3199
+ whatsappUrl: PropTypes__default["default"].string,
3200
+ grey: PropTypes__default["default"].string,
3201
+ primaryColor: PropTypes__default["default"].string,
3202
+ closePopup: PropTypes__default["default"].bool,
3203
+ theme: PropTypes__default["default"].string,
3204
+ iconType: PropTypes__default["default"].string
3177
3205
  };
3178
3206
 
3179
3207
  var ShareIcon = function ShareIcon(_ref) {
3180
3208
  var _ref$color = _ref.color,
3181
3209
  color = _ref$color === void 0 ? "#0D0D0D" : _ref$color;
3182
- return /*#__PURE__*/React.createElement("svg", {
3210
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3183
3211
  xmlns: "http://www.w3.org/2000/svg",
3184
3212
  width: "24",
3185
3213
  height: "24",
3186
3214
  viewBox: "0 0 24 24"
3187
- }, /*#__PURE__*/React.createElement("path", {
3215
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3188
3216
  fill: color,
3189
3217
  fillRule: "evenodd",
3190
3218
  d: "M15.843 3.189c-1.478 0-2.689 1.239-2.689 2.75 0 .293.046.58.13.846L8.844 9.31a2.638 2.638 0 00-1.687-.621c-1.477 0-2.688 1.238-2.688 2.75 0 1.51 1.21 2.75 2.688 2.75.638 0 1.224-.231 1.687-.615l4.446 2.525a2.778 2.778 0 00-.136.84c0 1.51 1.211 2.75 2.689 2.75 1.477 0 2.688-1.24 2.688-2.75 0-1.512-1.21-2.75-2.688-2.75-.742 0-1.419.317-1.907.82l-4.323-2.46a2.763 2.763 0 000-2.221l4.317-2.459c.488.506 1.168.82 1.913.82 1.477 0 2.688-1.239 2.688-2.75s-1.21-2.75-2.688-2.75z"
3191
3219
  }));
3192
3220
  };
3193
3221
  ShareIcon.propTypes = {
3194
- color: PropTypes.string
3222
+ color: PropTypes__default["default"].string
3195
3223
  };
3196
3224
 
3197
3225
  /**
@@ -3460,10 +3488,10 @@ var ShareItem = function ShareItem(_ref) {
3460
3488
  url = _ref.url,
3461
3489
  icon = _ref.icon,
3462
3490
  dataTestId = _ref.dataTestId;
3463
- return url ? /*#__PURE__*/React.createElement("li", {
3491
+ return url ? /*#__PURE__*/React__default["default"].createElement("li", {
3464
3492
  "data-testid": dataTestId,
3465
3493
  className: "social-share-template-m_icon__1Mnu5"
3466
- }, /*#__PURE__*/React.createElement("a", {
3494
+ }, /*#__PURE__*/React__default["default"].createElement("a", {
3467
3495
  href: url,
3468
3496
  target: "_blank",
3469
3497
  rel: "noopener noreferrer",
@@ -3473,17 +3501,17 @@ var ShareItem = function ShareItem(_ref) {
3473
3501
  };
3474
3502
 
3475
3503
  ShareItem.propTypes = {
3476
- name: PropTypes.string,
3477
- url: PropTypes.string,
3478
- icon: PropTypes.node,
3479
- dataTestId: PropTypes.string
3504
+ name: PropTypes__default["default"].string,
3505
+ url: PropTypes__default["default"].string,
3506
+ icon: PropTypes__default["default"].node,
3507
+ dataTestId: PropTypes__default["default"].string
3480
3508
  };
3481
3509
 
3482
3510
  function getActionIcon(open, color) {
3483
- if (!open) return /*#__PURE__*/React.createElement(ShareIcon, {
3511
+ if (!open) return /*#__PURE__*/React__default["default"].createElement(ShareIcon, {
3484
3512
  color: color
3485
3513
  });
3486
- return /*#__PURE__*/React.createElement(CloseIcon, {
3514
+ return /*#__PURE__*/React__default["default"].createElement(CloseIcon, {
3487
3515
  color: color
3488
3516
  });
3489
3517
  }
@@ -3517,21 +3545,21 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3517
3545
  };
3518
3546
  var iconsList = socialShareData(options);
3519
3547
 
3520
- var _useState = useState(open),
3548
+ var _useState = React.useState(open),
3521
3549
  _useState2 = _slicedToArray(_useState, 2),
3522
3550
  isOpen = _useState2[0],
3523
3551
  setIsOpen = _useState2[1];
3524
3552
 
3525
3553
  var verticalShare = vertical ? "vertical" : "horizontal";
3526
- useEffect(function () {
3554
+ React.useEffect(function () {
3527
3555
  return setIsOpen(open);
3528
3556
  }, [open]);
3529
3557
 
3530
3558
  var shareIcon = function shareIcon() {
3531
- return /*#__PURE__*/React.createElement("li", {
3559
+ return /*#__PURE__*/React__default["default"].createElement("li", {
3532
3560
  className: "social-share-template-m_icon__1Mnu5",
3533
3561
  key: "horizontal-0"
3534
- }, /*#__PURE__*/React.createElement("div", {
3562
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3535
3563
  onClick: clickHandler
3536
3564
  }, getActionIcon(isOpen, iconColor)));
3537
3565
  };
@@ -3541,16 +3569,16 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3541
3569
  };
3542
3570
 
3543
3571
  var popUpWrapper = function popUpWrapper() {
3544
- return /*#__PURE__*/React.createElement("div", {
3572
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3545
3573
  className: "social-share-template-m_tablet-view__kATzi"
3546
- }, !isOpen && /*#__PURE__*/React.createElement("ul", {
3574
+ }, !isOpen && /*#__PURE__*/React__default["default"].createElement("ul", {
3547
3575
  className: _getClassName("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$A)
3548
- }, shareIcon()), isOpen && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
3576
+ }, shareIcon()), isOpen && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3549
3577
  className: "social-share-template-m_overlay__1nBp-",
3550
3578
  onClick: clickHandler
3551
- }, /*#__PURE__*/React.createElement("div", {
3579
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3552
3580
  className: "arr--popup " + _getClassName("popup-wrapper ".concat(isOpen ? "popup-open" : ""), _styleModuleImportMap$A)
3553
- }, /*#__PURE__*/React.createElement(SocialSharePopup, {
3581
+ }, /*#__PURE__*/React__default["default"].createElement(SocialSharePopup, {
3554
3582
  fbUrl: fbUrl,
3555
3583
  twitterUrl: twitterUrl,
3556
3584
  linkedinUrl: linkedinUrl,
@@ -3564,47 +3592,47 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3564
3592
  };
3565
3593
 
3566
3594
  var popupStyle = !isOpen && vertical ? "tablet-view-popup" : "";
3567
- return /*#__PURE__*/React.createElement("div", {
3595
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3568
3596
  "data-test-id": verticalShare,
3569
3597
  className: "arr--share " + _getClassName("".concat(iconShade, " ").concat(verticalShare, " ").concat(popupStyle), _styleModuleImportMap$A)
3570
- }, /*#__PURE__*/React.createElement("div", {
3598
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3571
3599
  className: "social-share-template-m_desktop-view__3TmkO"
3572
- }, /*#__PURE__*/React.createElement("ul", {
3600
+ }, /*#__PURE__*/React__default["default"].createElement("ul", {
3573
3601
  "data-test-id": camelCase_1(iconType),
3574
3602
  className: "desktop-share-wrapper " + _getClassName("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$A)
3575
3603
  }, shareIcon(), iconsList.map(function (iconData, index) {
3576
- return /*#__PURE__*/React.createElement(ShareItem, _extends({}, iconData, {
3604
+ return /*#__PURE__*/React__default["default"].createElement(ShareItem, _extends({}, iconData, {
3577
3605
  key: iconData.name,
3578
3606
  dataTestId: "card-share-".concat(index)
3579
3607
  }));
3580
3608
  }))), popUpWrapper());
3581
3609
  };
3582
3610
  SocialShareTemplate.propTypes = {
3583
- fbUrl: PropTypes.string,
3584
- twitterUrl: PropTypes.string,
3585
- linkedinUrl: PropTypes.string,
3586
- whatsappUrl: PropTypes.string,
3587
- vertical: PropTypes.bool,
3588
- theme: PropTypes.string,
3589
- iconType: PropTypes.string,
3590
- open: PropTypes["boolean"]
3611
+ fbUrl: PropTypes__default["default"].string,
3612
+ twitterUrl: PropTypes__default["default"].string,
3613
+ linkedinUrl: PropTypes__default["default"].string,
3614
+ whatsappUrl: PropTypes__default["default"].string,
3615
+ vertical: PropTypes__default["default"].bool,
3616
+ theme: PropTypes__default["default"].string,
3617
+ iconType: PropTypes__default["default"].string,
3618
+ open: PropTypes__default["default"]["boolean"]
3591
3619
  };
3592
3620
 
3593
- var StateContext = /*#__PURE__*/createContext(); // eslint-disable-next-line react/display-name
3621
+ var StateContext = /*#__PURE__*/React.createContext(); // eslint-disable-next-line react/display-name
3594
3622
 
3595
3623
  var StateProvider = function StateProvider(RowComponent) {
3596
3624
  return function (props) {
3597
3625
  return (
3598
3626
  /*#__PURE__*/
3599
3627
  // eslint-disable-next-line react/prop-types
3600
- React.createElement(StateContext.Provider, {
3628
+ React__default["default"].createElement(StateContext.Provider, {
3601
3629
  value: props.config
3602
- }, /*#__PURE__*/React.createElement(RowComponent, props))
3630
+ }, /*#__PURE__*/React__default["default"].createElement(RowComponent, props))
3603
3631
  );
3604
3632
  };
3605
3633
  };
3606
3634
  var useStateValue = function useStateValue() {
3607
- return useContext(StateContext);
3635
+ return React.useContext(StateContext);
3608
3636
  };
3609
3637
 
3610
3638
  var _styleModuleImportMap$z = {
@@ -3642,22 +3670,22 @@ var SectionTag = function SectionTag(_ref) {
3642
3670
  }
3643
3671
 
3644
3672
  if (!isSection) return null;
3645
- return /*#__PURE__*/React.createElement(Link, {
3673
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
3646
3674
  href: getUrl,
3647
3675
  className: "arrow-component arr--section-name",
3648
3676
  "aria-label": "section-name"
3649
- }, /*#__PURE__*/React.createElement("div", {
3677
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3650
3678
  "data-test-id": "sectionTag",
3651
3679
  style: {
3652
3680
  backgroundColor: templateStyle.includes("section-solid") ? sectionTagBorderColor : ""
3653
3681
  },
3654
3682
  className: "section-tag arrow-component " + _getClassName("".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$z)
3655
- }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React.createElement("span", {
3683
+ }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
3656
3684
  className: "section-m_border-left__2oUyp",
3657
3685
  style: {
3658
3686
  color: sectionTagBorderColor
3659
3687
  }
3660
- }), section["display-name"] || section["name"], /*#__PURE__*/React.createElement("div", {
3688
+ }), section["display-name"] || section["name"], /*#__PURE__*/React__default["default"].createElement("div", {
3661
3689
  className: "section-m_border-bottom__3cRoD",
3662
3690
  style: {
3663
3691
  backgroundColor: "".concat(template === "solid" ? "" : sectionTagBorderColor)
@@ -3666,13 +3694,13 @@ var SectionTag = function SectionTag(_ref) {
3666
3694
  };
3667
3695
  SectionTag.propTypes = {
3668
3696
  /** The Story Object from the API response */
3669
- story: PropTypes.object.isRequired,
3697
+ story: PropTypes__default["default"].object.isRequired,
3670
3698
 
3671
3699
  /** The style template for section tag */
3672
- template: PropTypes.oneOf(["", "borderBottomSml", "borderLeft", "solid"]),
3673
- borderColor: PropTypes.string,
3674
- solidBorderColor: PropTypes.string,
3675
- isLightTheme: PropTypes.bool
3700
+ template: PropTypes__default["default"].oneOf(["", "borderBottomSml", "borderLeft", "solid"]),
3701
+ borderColor: PropTypes__default["default"].string,
3702
+ solidBorderColor: PropTypes__default["default"].string,
3703
+ isLightTheme: PropTypes__default["default"].bool
3676
3704
  };
3677
3705
  SectionTag.defaultProps = {
3678
3706
  template: "",
@@ -3699,7 +3727,7 @@ var Subheadline = function Subheadline(_ref) {
3699
3727
  var subheadline = forceShowAtom || get_1(config, ["showSubheadline"], true);
3700
3728
  if (!subheadline) return null;
3701
3729
  var textColor = getTextColor(config.theme);
3702
- return /*#__PURE__*/React.createElement("div", {
3730
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3703
3731
  style: {
3704
3732
  WebkitLineClamp: lineClamp
3705
3733
  },
@@ -3709,15 +3737,15 @@ var Subheadline = function Subheadline(_ref) {
3709
3737
  };
3710
3738
  Subheadline.propTypes = {
3711
3739
  /** The Story Object from the API response */
3712
- story: PropTypes.object.isRequired,
3740
+ story: PropTypes__default["default"].object.isRequired,
3713
3741
  // Restricts the number of lines for subheadline.
3714
- lineClamp: PropTypes.number,
3742
+ lineClamp: PropTypes__default["default"].number,
3715
3743
 
3716
3744
  /** Number of characters to truncate the subheadline */
3717
- truncateChars: PropTypes.number,
3718
- clazzName: PropTypes.string,
3719
- forceShowAtom: PropTypes.bool,
3720
- showFullContent: PropTypes.bool
3745
+ truncateChars: PropTypes__default["default"].number,
3746
+ clazzName: PropTypes__default["default"].string,
3747
+ forceShowAtom: PropTypes__default["default"].bool,
3748
+ showFullContent: PropTypes__default["default"].bool
3721
3749
  };
3722
3750
  Subheadline.defaultProps = {
3723
3751
  forceShowAtom: false,
@@ -3758,18 +3786,18 @@ var TimeStamp = function TimeStamp(_ref) {
3758
3786
  var time = story["last-published-at"] || story["first-published-at"];
3759
3787
  var isBottomClasses = isBottom ? "bottom-fix" : "";
3760
3788
  var textColor = getTextColor(configState.theme);
3761
- return /*#__PURE__*/React.createElement(React.Fragment, null, isTime && /*#__PURE__*/React.createElement("div", {
3789
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isTime && /*#__PURE__*/React__default["default"].createElement("div", {
3762
3790
  "data-test-id": "publish-time",
3763
3791
  className: "time arr--publish-time " + _getClassName("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$x)
3764
- }, /*#__PURE__*/React.createElement("div", {
3792
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3765
3793
  className: "timestamp-m_time-wrapper__3O2lM"
3766
3794
  }, getTimeStamp(time, formatter, config))));
3767
3795
  };
3768
3796
  TimeStamp.propTypes = {
3769
3797
  /** The Story Object from the API response */
3770
- story: PropTypes.object,
3771
- isBottom: PropTypes.bool,
3772
- config: PropTypes.object
3798
+ story: PropTypes__default["default"].object,
3799
+ isBottom: PropTypes__default["default"].bool,
3800
+ config: PropTypes__default["default"].object
3773
3801
  };
3774
3802
 
3775
3803
  var _styleModuleImportMap$w = {
@@ -3812,10 +3840,10 @@ var AuthorBase = function AuthorBase(_ref) {
3812
3840
  return null;
3813
3841
  }
3814
3842
 
3815
- return /*#__PURE__*/React.createElement("div", {
3843
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3816
3844
  "data-test-id": "author-image",
3817
3845
  className: _getClassName("author-image ".concat(dir, "-image"), _styleModuleImportMap$w)
3818
- }, /*#__PURE__*/React.createElement("figure", null, avatarS3Key ? /*#__PURE__*/React.createElement(ResponsiveImage, {
3846
+ }, /*#__PURE__*/React__default["default"].createElement("figure", null, avatarS3Key ? /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
3819
3847
  slug: avatarS3Key,
3820
3848
  "aspect-ratio": [1, 1],
3821
3849
  defaultWidth: 400,
@@ -3823,14 +3851,14 @@ var AuthorBase = function AuthorBase(_ref) {
3823
3851
  auto: ["format", "compress"]
3824
3852
  },
3825
3853
  alt: authorName
3826
- }) : /*#__PURE__*/React.createElement("img", {
3854
+ }) : /*#__PURE__*/React__default["default"].createElement("img", {
3827
3855
  src: avatarUrl
3828
3856
  })));
3829
3857
  };
3830
3858
 
3831
3859
  var isPrefix = function isPrefix(dir) {
3832
3860
  if (prefix) {
3833
- return /*#__PURE__*/React.createElement("div", {
3861
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3834
3862
  className: "arr-author-prefix " + _getClassName("prefix ".concat(textColor), _styleModuleImportMap$w)
3835
3863
  }, prefix);
3836
3864
  }
@@ -3838,11 +3866,11 @@ var AuthorBase = function AuthorBase(_ref) {
3838
3866
  return !hideAuthorImage && authorImage(dir);
3839
3867
  };
3840
3868
 
3841
- return /*#__PURE__*/React.createElement(React.Fragment, null, isAuthor && /*#__PURE__*/React.createElement(Link, {
3869
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement(components.Link, {
3842
3870
  href: "".concat(mountAt, "/author/") + slug,
3843
3871
  "aria-label": "author-name",
3844
3872
  className: "author-name arr-author-name arrow-component " + _getClassName("author ".concat(isBottomClasses), _styleModuleImportMap$w)
3845
- }, isPrefix("ltr"), /*#__PURE__*/React.createElement("div", {
3873
+ }, isPrefix("ltr"), /*#__PURE__*/React__default["default"].createElement("div", {
3846
3874
  "data-test-id": "author-name",
3847
3875
  className: "author-name " + _getClassName("author-name ".concat(textColor), _styleModuleImportMap$w)
3848
3876
  }, authorName || story["author-name"]), !prefix && isPrefix("rtl")));
@@ -3854,18 +3882,18 @@ function mapStateToProps$1(state) {
3854
3882
  };
3855
3883
  }
3856
3884
 
3857
- var Author = connect(mapStateToProps$1)(AuthorBase);
3885
+ var Author = reactRedux.connect(mapStateToProps$1)(AuthorBase);
3858
3886
  AuthorBase.propTypes = {
3859
3887
  /** The Story Object from the API response */
3860
- story: PropTypes.object.isRequired,
3888
+ story: PropTypes__default["default"].object.isRequired,
3861
3889
 
3862
3890
  /** Hide Author Avatar Image */
3863
- hideAuthorImage: PropTypes.bool,
3891
+ hideAuthorImage: PropTypes__default["default"].bool,
3864
3892
  // fix Author bottom of the storyCard
3865
- isBottom: PropTypes.bool,
3893
+ isBottom: PropTypes__default["default"].bool,
3866
3894
  // fix prefix before the author name
3867
- prefix: PropTypes.string,
3868
- config: PropTypes.object
3895
+ prefix: PropTypes__default["default"].string,
3896
+ config: PropTypes__default["default"].object
3869
3897
  };
3870
3898
  AuthorBase.defaultProps = {
3871
3899
  hideAuthorImage: false,
@@ -3886,14 +3914,14 @@ var Dot = function Dot(_ref) {
3886
3914
  height = _ref$height === void 0 ? "3px" : _ref$height,
3887
3915
  _ref$color = _ref.color,
3888
3916
  color = _ref$color === void 0 ? "light" : _ref$color;
3889
- return /*#__PURE__*/React.createElement("div", {
3917
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3890
3918
  className: _getClassName(color, _styleModuleImportMap$v)
3891
- }, /*#__PURE__*/React.createElement("svg", {
3919
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
3892
3920
  xmlns: "http://www.w3.org/2000/svg",
3893
3921
  width: width,
3894
3922
  height: height,
3895
3923
  viewBox: "0 0 3 3"
3896
- }, /*#__PURE__*/React.createElement("circle", {
3924
+ }, /*#__PURE__*/React__default["default"].createElement("circle", {
3897
3925
  cx: "87",
3898
3926
  cy: "9",
3899
3927
  r: "1",
@@ -3904,9 +3932,9 @@ var Dot = function Dot(_ref) {
3904
3932
  };
3905
3933
  Dot.propTypes = {
3906
3934
  /** height , width and color of the dot icon */
3907
- color: PropTypes.string,
3908
- width: PropTypes.string,
3909
- height: PropTypes.string
3935
+ color: PropTypes__default["default"].string,
3936
+ width: PropTypes__default["default"].string,
3937
+ height: PropTypes__default["default"].string
3910
3938
  };
3911
3939
 
3912
3940
  var _styleModuleImportMap$u = {
@@ -3922,22 +3950,22 @@ var Divider = function Divider(_ref) {
3922
3950
  height = _ref$height === void 0 ? "10" : _ref$height,
3923
3951
  _ref$color = _ref.color,
3924
3952
  color = _ref$color === void 0 ? "light" : _ref$color;
3925
- return /*#__PURE__*/React.createElement("div", {
3953
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3926
3954
  className: _getClassName(color, _styleModuleImportMap$u)
3927
- }, /*#__PURE__*/React.createElement("svg", {
3955
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
3928
3956
  xmlns: "http://www.w3.org/2000/svg",
3929
3957
  width: width,
3930
3958
  height: height
3931
- }, /*#__PURE__*/React.createElement("path", {
3959
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3932
3960
  fill: "inherit",
3933
3961
  d: "M0 0h1v10H0z"
3934
3962
  })));
3935
3963
  };
3936
3964
  Divider.propTypes = {
3937
3965
  /** height , width and color of the dot icon */
3938
- color: PropTypes.string,
3939
- width: PropTypes.string,
3940
- height: PropTypes.string
3966
+ color: PropTypes__default["default"].string,
3967
+ width: PropTypes__default["default"].string,
3968
+ height: PropTypes__default["default"].string
3941
3969
  };
3942
3970
 
3943
3971
  var _styleModuleImportMap$t = {
@@ -3960,23 +3988,23 @@ var ReadTime = function ReadTime(_ref) {
3960
3988
  var textColor = isLightTheme ? "light" : getTextColor(config.theme);
3961
3989
  if (!showReadTime || !readTime) return null;
3962
3990
  var timeToRead = get_1(opts, ["localizedTimeToRead"]) || "min read";
3963
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
3991
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3964
3992
  "data-test-id": "read-time",
3965
3993
  className: "arrow-component arr--read-time " + _getClassName("read-time-wrapper ".concat(textColor), _styleModuleImportMap$t)
3966
- }, /*#__PURE__*/React.createElement("span", {
3994
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
3967
3995
  className: "read-time-indicator read-time-m_dot-indicator__3Sqh2"
3968
- }, /*#__PURE__*/React.createElement(Dot, {
3996
+ }, /*#__PURE__*/React__default["default"].createElement(Dot, {
3969
3997
  color: textColor
3970
- })), /*#__PURE__*/React.createElement("span", null, readTime, " ", timeToRead)));
3998
+ })), /*#__PURE__*/React__default["default"].createElement("span", null, readTime, " ", timeToRead)));
3971
3999
  };
3972
4000
  ReadTime.propTypes = {
3973
- story: PropTypes.shape({
3974
- "read-time": PropTypes.number
4001
+ story: PropTypes__default["default"].shape({
4002
+ "read-time": PropTypes__default["default"].number
3975
4003
  }),
3976
- opts: PropTypes.shape({
3977
- showReadTime: PropTypes.bool
4004
+ opts: PropTypes__default["default"].shape({
4005
+ showReadTime: PropTypes__default["default"].bool
3978
4006
  }),
3979
- isLightTheme: PropTypes.bool
4007
+ isLightTheme: PropTypes__default["default"].bool
3980
4008
  };
3981
4009
 
3982
4010
  var _styleModuleImportMap$s = {
@@ -4007,33 +4035,33 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
4007
4035
 
4008
4036
  var getSeparator = function getSeparator() {
4009
4037
  if (separator === "divider") {
4010
- return /*#__PURE__*/React.createElement(Divider, {
4038
+ return /*#__PURE__*/React__default["default"].createElement(Divider, {
4011
4039
  color: textColor
4012
4040
  });
4013
4041
  }
4014
4042
 
4015
- return /*#__PURE__*/React.createElement(Dot, {
4043
+ return /*#__PURE__*/React__default["default"].createElement(Dot, {
4016
4044
  color: textColor
4017
4045
  });
4018
4046
  };
4019
4047
 
4020
4048
  var getTimeStamp = function getTimeStamp() {
4021
4049
  if (!isTime) return null;
4022
- return /*#__PURE__*/React.createElement(React.Fragment, null, isAuthor && /*#__PURE__*/React.createElement("span", {
4050
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement("span", {
4023
4051
  className: "arr-separator " + _getClassName("".concat(seperatorStyle), _styleModuleImportMap$s)
4024
- }, getSeparator()), /*#__PURE__*/React.createElement(TimeStamp, {
4052
+ }, getSeparator()), /*#__PURE__*/React__default["default"].createElement(TimeStamp, {
4025
4053
  story: story,
4026
4054
  config: config
4027
- }), isReadTime && /*#__PURE__*/React.createElement(ReadTime, {
4055
+ }), isReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
4028
4056
  story: story,
4029
4057
  opts: config,
4030
4058
  isLightTheme: isLightTheme
4031
4059
  }));
4032
4060
  };
4033
4061
 
4034
- return /*#__PURE__*/React.createElement("div", {
4062
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4035
4063
  className: "arr--author-time " + _getClassName("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$s)
4036
- }, isAuthor ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Author, {
4064
+ }, isAuthor ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Author, {
4037
4065
  story: story,
4038
4066
  isBottom: true,
4039
4067
  hideAuthorImage: hideAuthorImage,
@@ -4041,19 +4069,19 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
4041
4069
  }), getTimeStamp()) : getTimeStamp());
4042
4070
  };
4043
4071
  AuthorWithTime.propTypes = {
4044
- story: PropTypes.object,
4072
+ story: PropTypes__default["default"].object,
4045
4073
 
4046
4074
  /** Style of separator between the Author & Timestamp */
4047
- separator: PropTypes.oneOf(["dot", "divider"]),
4075
+ separator: PropTypes__default["default"].oneOf(["dot", "divider"]),
4048
4076
 
4049
4077
  /** hide the author image */
4050
- hideAuthorImage: PropTypes.bool,
4078
+ hideAuthorImage: PropTypes__default["default"].bool,
4051
4079
  // fix author and time at the end
4052
- isBottom: PropTypes.bool,
4080
+ isBottom: PropTypes__default["default"].bool,
4053
4081
  // fix prefix before the author name
4054
- prefix: PropTypes.string,
4055
- config: PropTypes.object,
4056
- isLightTheme: PropTypes.bool
4082
+ prefix: PropTypes__default["default"].string,
4083
+ config: PropTypes__default["default"].object,
4084
+ isLightTheme: PropTypes__default["default"].bool
4057
4085
  };
4058
4086
  AuthorWithTime.defaultProps = {
4059
4087
  separator: "dot",
@@ -4099,7 +4127,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
4099
4127
  var borderBottomFullStyle = templateStyle.includes("collection-borderBottomFull") ? "4px solid ".concat(CollectionNameBorderColor) : "";
4100
4128
 
4101
4129
  var borderBottomStyle = function borderBottomStyle() {
4102
- return templateStyle.includes("collection-borderBottom") && !templateStyle.includes("collection-borderBottomFull") ? /*#__PURE__*/React.createElement("div", {
4130
+ return templateStyle.includes("collection-borderBottom") && !templateStyle.includes("collection-borderBottomFull") ? /*#__PURE__*/React__default["default"].createElement("div", {
4103
4131
  className: "collection-name-m_border-bottom__1MnlV",
4104
4132
  style: {
4105
4133
  borderBottom: "4px solid ".concat(CollectionNameBorderColor)
@@ -4159,40 +4187,40 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
4159
4187
  }
4160
4188
  };
4161
4189
 
4162
- return /*#__PURE__*/React.createElement(React.Fragment, null, showRowTitle && collectionName && /*#__PURE__*/React.createElement("div", {
4190
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, showRowTitle && collectionName && /*#__PURE__*/React__default["default"].createElement("div", {
4163
4191
  style: {
4164
4192
  borderBottom: borderBottomFullStyle
4165
4193
  },
4166
4194
  "data-test-id": "collection-name",
4167
4195
  className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$r)
4168
- }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React.createElement("span", {
4196
+ }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
4169
4197
  className: "arr-collection-name-border-left collection-name-m_border-left__3_pYw",
4170
4198
  style: {
4171
4199
  color: CollectionNameBorderColor,
4172
4200
  fontSize: getBorderHeight()
4173
4201
  }
4174
- }), slug && !slug.includes(undefined) ? /*#__PURE__*/React.createElement(Link, {
4202
+ }), slug && !slug.includes(undefined) ? /*#__PURE__*/React__default["default"].createElement(components.Link, {
4175
4203
  href: slug,
4176
4204
  "aria-label": "collection-name"
4177
- }, /*#__PURE__*/React.createElement(HeaderTag, null, collectionName)) : /*#__PURE__*/React.createElement(HeaderTag, null, collectionName), borderBottomStyle()));
4205
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, null, collectionName)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, null, collectionName), borderBottomStyle()));
4178
4206
  };
4179
4207
  CollectionNameBase.propTypes = {
4180
4208
  /** Collection name border color */
4181
- collectionNameBorderColor: PropTypes$1.string,
4209
+ collectionNameBorderColor: PropTypes.PropTypes.string,
4182
4210
 
4183
4211
  /** The Collection Object from the API response */
4184
- collection: PropTypes$1.object,
4212
+ collection: PropTypes.PropTypes.object,
4185
4213
 
4186
4214
  /** The publisher config from the API response */
4187
- config: PropTypes$1.object,
4215
+ config: PropTypes.PropTypes.object,
4188
4216
 
4189
4217
  /** The style template for the component */
4190
- collectionNameTemplate: PropTypes$1.oneOf(["", "borderLeft", "borderBottom", "crossLine", "borderBottomFull"]),
4218
+ collectionNameTemplate: PropTypes.PropTypes.oneOf(["", "borderLeft", "borderBottom", "crossLine", "borderBottomFull"]),
4191
4219
 
4192
4220
  /** Header tags ranging h1-h6, where h[headerLevel] */
4193
- headerLevel: PropTypes$1.string,
4194
- customCollectionName: PropTypes$1.string,
4195
- navigate: PropTypes$1.bool
4221
+ headerLevel: PropTypes.PropTypes.string,
4222
+ customCollectionName: PropTypes.PropTypes.string,
4223
+ navigate: PropTypes.PropTypes.bool
4196
4224
  };
4197
4225
  CollectionNameBase.defaultProps = {
4198
4226
  collectionNameTemplate: "",
@@ -4205,7 +4233,7 @@ function mapStateToProps(state) {
4205
4233
  };
4206
4234
  }
4207
4235
 
4208
- var CollectionName = connect(mapStateToProps)(CollectionNameBase);
4236
+ var CollectionName = reactRedux.connect(mapStateToProps)(CollectionNameBase);
4209
4237
 
4210
4238
  var CrownIcon = function CrownIcon(_ref) {
4211
4239
  var height = _ref.height,
@@ -4213,7 +4241,7 @@ var CrownIcon = function CrownIcon(_ref) {
4213
4241
  _ref$color = _ref.color,
4214
4242
  color = _ref$color === void 0 ? "#D8D8D8" : _ref$color,
4215
4243
  positionTop = _ref.positionTop;
4216
- return /*#__PURE__*/React.createElement("svg", {
4244
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4217
4245
  xmlns: "http://www.w3.org/2000/svg",
4218
4246
  width: width,
4219
4247
  height: height,
@@ -4222,28 +4250,28 @@ var CrownIcon = function CrownIcon(_ref) {
4222
4250
  position: "relative",
4223
4251
  top: positionTop
4224
4252
  }
4225
- }, /*#__PURE__*/React.createElement("g", {
4253
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4226
4254
  fill: "none",
4227
4255
  fillRule: "evenodd",
4228
4256
  stroke: "none",
4229
4257
  strokeWidth: "1"
4230
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
4258
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
4231
4259
  transform: "translate(8 8)"
4232
- }, /*#__PURE__*/React.createElement("path", {
4260
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4233
4261
  d: "M0 0H24V24H0z"
4234
- }), /*#__PURE__*/React.createElement("g", {
4262
+ }), /*#__PURE__*/React__default["default"].createElement("g", {
4235
4263
  fill: color,
4236
4264
  fillRule: "nonzero",
4237
4265
  transform: "translate(0 2)"
4238
- }, /*#__PURE__*/React.createElement("path", {
4266
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4239
4267
  d: "M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"
4240
4268
  }))))));
4241
4269
  };
4242
4270
  CrownIcon.propTypes = {
4243
- height: PropTypes.string,
4244
- width: PropTypes.string,
4245
- color: PropTypes.string,
4246
- positionTop: PropTypes.string
4271
+ height: PropTypes__default["default"].string,
4272
+ width: PropTypes__default["default"].string,
4273
+ color: PropTypes__default["default"].string,
4274
+ positionTop: PropTypes__default["default"].string
4247
4275
  };
4248
4276
 
4249
4277
  var KeyIcon = function KeyIcon(_ref) {
@@ -4252,7 +4280,7 @@ var KeyIcon = function KeyIcon(_ref) {
4252
4280
  _ref$color = _ref.color,
4253
4281
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
4254
4282
  positionTop = _ref.positionTop;
4255
- return /*#__PURE__*/React.createElement("svg", {
4283
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4256
4284
  xmlns: "http://www.w3.org/2000/svg",
4257
4285
  width: width,
4258
4286
  height: height,
@@ -4261,16 +4289,16 @@ var KeyIcon = function KeyIcon(_ref) {
4261
4289
  position: "relative",
4262
4290
  top: positionTop
4263
4291
  }
4264
- }, /*#__PURE__*/React.createElement("g", {
4292
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4265
4293
  fill: "none",
4266
4294
  fillRule: "evenodd",
4267
4295
  stroke: "none",
4268
4296
  strokeWidth: "1"
4269
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
4297
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
4270
4298
  transform: "translate(8 8)"
4271
- }, /*#__PURE__*/React.createElement("path", {
4299
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4272
4300
  d: "M0 0H24V24H0z"
4273
- }), /*#__PURE__*/React.createElement("path", {
4301
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
4274
4302
  fill: color,
4275
4303
  fillRule: "nonzero",
4276
4304
  d: "M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",
@@ -4278,10 +4306,10 @@ var KeyIcon = function KeyIcon(_ref) {
4278
4306
  })))));
4279
4307
  };
4280
4308
  KeyIcon.propTypes = {
4281
- height: PropTypes.string,
4282
- width: PropTypes.string,
4283
- color: PropTypes.string,
4284
- positionTop: PropTypes.string
4309
+ height: PropTypes__default["default"].string,
4310
+ width: PropTypes__default["default"].string,
4311
+ color: PropTypes__default["default"].string,
4312
+ positionTop: PropTypes__default["default"].string
4285
4313
  };
4286
4314
 
4287
4315
  var LockIcon = function LockIcon(_ref) {
@@ -4290,7 +4318,7 @@ var LockIcon = function LockIcon(_ref) {
4290
4318
  _ref$color = _ref.color,
4291
4319
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
4292
4320
  positionTop = _ref.positionTop;
4293
- return /*#__PURE__*/React.createElement("svg", {
4321
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4294
4322
  xmlns: "http://www.w3.org/2000/svg",
4295
4323
  width: width,
4296
4324
  height: height,
@@ -4299,28 +4327,28 @@ var LockIcon = function LockIcon(_ref) {
4299
4327
  position: "relative",
4300
4328
  top: positionTop
4301
4329
  }
4302
- }, /*#__PURE__*/React.createElement("g", {
4330
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4303
4331
  fill: "none",
4304
4332
  fillRule: "evenodd",
4305
4333
  stroke: "none",
4306
4334
  strokeWidth: "1"
4307
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
4335
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
4308
4336
  transform: "translate(8 8)"
4309
- }, /*#__PURE__*/React.createElement("path", {
4337
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4310
4338
  d: "M0 0H24V24H0z"
4311
- }), /*#__PURE__*/React.createElement("g", {
4339
+ }), /*#__PURE__*/React__default["default"].createElement("g", {
4312
4340
  fill: color,
4313
4341
  fillRule: "nonzero",
4314
4342
  transform: "translate(3)"
4315
- }, /*#__PURE__*/React.createElement("path", {
4343
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4316
4344
  d: "M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"
4317
4345
  }))))));
4318
4346
  };
4319
4347
  LockIcon.propTypes = {
4320
- height: PropTypes.string,
4321
- width: PropTypes.string,
4322
- color: PropTypes.string,
4323
- positionTop: PropTypes.string
4348
+ height: PropTypes__default["default"].string,
4349
+ width: PropTypes__default["default"].string,
4350
+ color: PropTypes__default["default"].string,
4351
+ positionTop: PropTypes__default["default"].string
4324
4352
  };
4325
4353
 
4326
4354
  var StarIcon = function StarIcon(_ref) {
@@ -4330,7 +4358,7 @@ var StarIcon = function StarIcon(_ref) {
4330
4358
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
4331
4359
  _ref$positionTop = _ref.positionTop,
4332
4360
  positionTop = _ref$positionTop === void 0 ? "" : _ref$positionTop;
4333
- return /*#__PURE__*/React.createElement("svg", {
4361
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4334
4362
  xmlns: "http://www.w3.org/2000/svg",
4335
4363
  width: width,
4336
4364
  height: height,
@@ -4339,21 +4367,21 @@ var StarIcon = function StarIcon(_ref) {
4339
4367
  position: "relative",
4340
4368
  top: positionTop
4341
4369
  }
4342
- }, /*#__PURE__*/React.createElement("g", {
4370
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4343
4371
  fill: "none",
4344
4372
  fillRule: "evenodd",
4345
4373
  stroke: "none",
4346
4374
  strokeWidth: "1"
4347
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
4375
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("path", {
4348
4376
  fill: color,
4349
4377
  d: "M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"
4350
4378
  }))));
4351
4379
  };
4352
4380
  StarIcon.propTypes = {
4353
- height: PropTypes.string,
4354
- width: PropTypes.string,
4355
- color: PropTypes.string,
4356
- positionTop: PropTypes.string
4381
+ height: PropTypes__default["default"].string,
4382
+ width: PropTypes__default["default"].string,
4383
+ color: PropTypes__default["default"].string,
4384
+ positionTop: PropTypes__default["default"].string
4357
4385
  };
4358
4386
 
4359
4387
  var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
@@ -4365,7 +4393,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
4365
4393
 
4366
4394
  switch (iconType) {
4367
4395
  case "crown":
4368
- return /*#__PURE__*/React.createElement(CrownIcon, {
4396
+ return /*#__PURE__*/React__default["default"].createElement(CrownIcon, {
4369
4397
  width: width,
4370
4398
  height: height,
4371
4399
  color: color,
@@ -4373,7 +4401,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
4373
4401
  });
4374
4402
 
4375
4403
  case "lock":
4376
- return /*#__PURE__*/React.createElement(LockIcon, {
4404
+ return /*#__PURE__*/React__default["default"].createElement(LockIcon, {
4377
4405
  width: width,
4378
4406
  height: height,
4379
4407
  color: color,
@@ -4381,7 +4409,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
4381
4409
  });
4382
4410
 
4383
4411
  case "key":
4384
- return /*#__PURE__*/React.createElement(KeyIcon, {
4412
+ return /*#__PURE__*/React__default["default"].createElement(KeyIcon, {
4385
4413
  width: width,
4386
4414
  height: height,
4387
4415
  color: color,
@@ -4389,7 +4417,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
4389
4417
  });
4390
4418
 
4391
4419
  default:
4392
- return /*#__PURE__*/React.createElement(StarIcon, {
4420
+ return /*#__PURE__*/React__default["default"].createElement(StarIcon, {
4393
4421
  width: width,
4394
4422
  height: height,
4395
4423
  color: color,
@@ -4398,21 +4426,21 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
4398
4426
  }
4399
4427
  };
4400
4428
  PremiumStoryIcon.propTypes = {
4401
- width: PropTypes.string,
4402
- height: PropTypes.string,
4403
- color: PropTypes.string,
4404
- iconType: PropTypes.string,
4405
- positionTop: PropTypes.string
4429
+ width: PropTypes__default["default"].string,
4430
+ height: PropTypes__default["default"].string,
4431
+ color: PropTypes__default["default"].string,
4432
+ iconType: PropTypes__default["default"].string,
4433
+ positionTop: PropTypes__default["default"].string
4406
4434
  };
4407
4435
 
4408
4436
  function LiveIcon() {
4409
- return /*#__PURE__*/React.createElement("svg", {
4437
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4410
4438
  className: "live-icon",
4411
4439
  xmlns: "http://www.w3.org/2000/svg",
4412
4440
  width: "25",
4413
4441
  height: "24",
4414
4442
  viewBox: "0 0 25 24"
4415
- }, /*#__PURE__*/React.createElement("path", {
4443
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4416
4444
  fill: "#ff5858",
4417
4445
  d: "M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"
4418
4446
  }));
@@ -4469,37 +4497,37 @@ var Headline = function Headline(_ref) {
4469
4497
  var wrapperClass = premiumStory ? "wrapper" : "";
4470
4498
  var iconSize = "24px";
4471
4499
  var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !get_1(story, ["metadata", "is-closed"], false);
4472
- return /*#__PURE__*/React.createElement("div", {
4500
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4473
4501
  "data-test-id": "headline",
4474
4502
  className: "arrow-component arr--headline " + _getClassName(wrapperClass, _styleModuleImportMap$q)
4475
- }, premiumStory && /*#__PURE__*/React.createElement(PremiumStoryIcon, {
4503
+ }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
4476
4504
  width: iconSize,
4477
4505
  height: iconSize,
4478
4506
  color: iconColor,
4479
4507
  iconType: iconStyle,
4480
4508
  positionTop: positionHeadline()
4481
- }), isLink ? /*#__PURE__*/React.createElement(Link, {
4509
+ }), isLink ? /*#__PURE__*/React__default["default"].createElement(components.Link, {
4482
4510
  href: getStoryUrl(story, "/".concat(story.slug)),
4483
4511
  externalLink: isExternalStory(story),
4484
4512
  "aria-label": "headline"
4485
- }, /*#__PURE__*/React.createElement(HeaderTag, {
4513
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
4486
4514
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$q)
4487
- }, enableLiveIcon && /*#__PURE__*/React.createElement(LiveIcon, null), headline)) : /*#__PURE__*/React.createElement(HeaderTag, {
4515
+ }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
4488
4516
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$q)
4489
- }, enableLiveIcon && /*#__PURE__*/React.createElement(LiveIcon, null), headline));
4517
+ }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline));
4490
4518
  };
4491
4519
  Headline.propTypes = {
4492
4520
  /** The Story Object from the API response */
4493
- story: PropTypes.object.isRequired,
4521
+ story: PropTypes__default["default"].object.isRequired,
4494
4522
 
4495
4523
  /** Header tags ranging h1-h6, where h[headerLevel] */
4496
- headerLevel: PropTypes.string,
4497
- premiumStoryIconConfig: PropTypes.shape({
4498
- iconColor: PropTypes.string,
4499
- iconType: PropTypes.string,
4500
- enablePremiumStoryIcon: PropTypes.bool
4524
+ headerLevel: PropTypes__default["default"].string,
4525
+ premiumStoryIconConfig: PropTypes__default["default"].shape({
4526
+ iconColor: PropTypes__default["default"].string,
4527
+ iconType: PropTypes__default["default"].string,
4528
+ enablePremiumStoryIcon: PropTypes__default["default"].bool
4501
4529
  }),
4502
- isLink: PropTypes.bool
4530
+ isLink: PropTypes__default["default"].bool
4503
4531
  };
4504
4532
  Headline.defaultProps = {
4505
4533
  headerLevel: "6",
@@ -4513,27 +4541,27 @@ var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
4513
4541
  height = _ref$height === void 0 ? 30 : _ref$height,
4514
4542
  _ref$iconColor = _ref.iconColor,
4515
4543
  iconColor = _ref$iconColor === void 0 ? "#99B0CB" : _ref$iconColor;
4516
- return /*#__PURE__*/React.createElement("svg", {
4544
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4517
4545
  width: width,
4518
4546
  height: height,
4519
4547
  viewBox: "0 0 102 76",
4520
4548
  version: "1.1"
4521
- }, /*#__PURE__*/React.createElement("g", {
4549
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4522
4550
  id: "demo-home-copy",
4523
4551
  stroke: "none",
4524
4552
  strokeWidth: "1",
4525
4553
  fill: "none",
4526
4554
  fillRule: "evenodd",
4527
4555
  transform: "translate(-377.000000, -314.000000)"
4528
- }, /*#__PURE__*/React.createElement("g", {
4556
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4529
4557
  id: "Group-13",
4530
4558
  transform: "translate(377.000000, 314.000000)"
4531
- }, /*#__PURE__*/React.createElement("path", {
4559
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4532
4560
  d: "M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",
4533
4561
  id: "Combined-Shape",
4534
4562
  fill: iconColor,
4535
4563
  fillRule: "nonzero"
4536
- }), /*#__PURE__*/React.createElement("rect", {
4564
+ }), /*#__PURE__*/React__default["default"].createElement("rect", {
4537
4565
  id: "Rectangle-19",
4538
4566
  stroke: iconColor,
4539
4567
  strokeWidth: "3",
@@ -4545,24 +4573,24 @@ var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
4545
4573
  }))));
4546
4574
  };
4547
4575
  ImageFallbackIcon.propTypes = {
4548
- width: PropTypes.object,
4549
- height: PropTypes.object,
4550
- iconColor: PropTypes.object
4576
+ width: PropTypes__default["default"].object,
4577
+ height: PropTypes__default["default"].object,
4578
+ iconColor: PropTypes__default["default"].object
4551
4579
  };
4552
4580
 
4553
4581
  var imageFallback = function imageFallback() {
4554
- return /*#__PURE__*/React.createElement("div", {
4582
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4555
4583
  className: "arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"
4556
- }, /*#__PURE__*/React.createElement("figure", {
4584
+ }, /*#__PURE__*/React__default["default"].createElement("figure", {
4557
4585
  className: "arr--fallback-svg fallback-m_fallback-svg__tK9fL"
4558
- }, /*#__PURE__*/React.createElement(ImageFallbackIcon, null)));
4586
+ }, /*#__PURE__*/React__default["default"].createElement(ImageFallbackIcon, null)));
4559
4587
  };
4560
4588
 
4561
4589
  var FallbackImage = function FallbackImage(_ref) {
4562
4590
  var slug = _ref.slug;
4563
4591
 
4564
4592
  if (slug) {
4565
- return /*#__PURE__*/React.createElement(Link, {
4593
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
4566
4594
  href: slug,
4567
4595
  "aria-label": "image-fallback"
4568
4596
  }, imageFallback());
@@ -4571,23 +4599,23 @@ var FallbackImage = function FallbackImage(_ref) {
4571
4599
  }
4572
4600
  };
4573
4601
  FallbackImage.propTypes = {
4574
- slug: PropTypes.string
4602
+ slug: PropTypes__default["default"].string
4575
4603
  };
4576
4604
 
4577
4605
  var HyperLinkIcon = function HyperLinkIcon() {
4578
- return /*#__PURE__*/React.createElement("svg", {
4606
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4579
4607
  xmlns: "http://www.w3.org/2000/svg",
4580
4608
  width: "36",
4581
4609
  height: "28"
4582
- }, /*#__PURE__*/React.createElement("g", {
4610
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
4583
4611
  fill: "none",
4584
4612
  fillRule: "evenodd"
4585
- }, /*#__PURE__*/React.createElement("rect", {
4613
+ }, /*#__PURE__*/React__default["default"].createElement("rect", {
4586
4614
  width: "36",
4587
4615
  height: "28",
4588
4616
  fill: "#3D6FCF",
4589
4617
  rx: "4"
4590
- }), /*#__PURE__*/React.createElement("path", {
4618
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
4591
4619
  stroke: "#FFF",
4592
4620
  strokeLinecap: "round",
4593
4621
  strokeLinejoin: "round",
@@ -4600,16 +4628,16 @@ var HyperLink = function HyperLink(_ref) {
4600
4628
  var _ref$hyperLink = _ref.hyperLink,
4601
4629
  hyperLink = _ref$hyperLink === void 0 ? "" : _ref$hyperLink;
4602
4630
  if (!hyperLink) return null;
4603
- return /*#__PURE__*/React.createElement(Link, {
4631
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
4604
4632
  href: hyperLink,
4605
4633
  "aria-label": "hyperlink-button",
4606
4634
  className: "arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",
4607
4635
  target: "_blank",
4608
4636
  rel: "noopener noreferrer"
4609
- }, /*#__PURE__*/React.createElement(HyperLinkIcon, null));
4637
+ }, /*#__PURE__*/React__default["default"].createElement(HyperLinkIcon, null));
4610
4638
  };
4611
4639
  HyperLink.propTypes = {
4612
- hyperLink: PropTypes.string
4640
+ hyperLink: PropTypes__default["default"].string
4613
4641
  };
4614
4642
 
4615
4643
  var _styleModuleImportMap$p = {
@@ -4645,7 +4673,7 @@ var HeroImage = function HeroImage(_ref) {
4645
4673
  StoryTemplateIcon = _config$StoryTemplate === void 0 ? function () {
4646
4674
  return null;
4647
4675
  } : _config$StoryTemplate;
4648
- var showImagePlaceholder = useSelector(function (state) {
4676
+ var showImagePlaceholder = reactRedux.useSelector(function (state) {
4649
4677
  return get_1(state, ["qt", "config", "showPlaceholder"]);
4650
4678
  });
4651
4679
  var getPlaceholderStyleName = showImagePlaceholder ? "placeholder" : "";
@@ -4681,37 +4709,37 @@ var HeroImage = function HeroImage(_ref) {
4681
4709
  var fallbackImage = function fallbackImage() {
4682
4710
  if (!slug) {
4683
4711
  if (fallbackImageUrl && !isStoryPageImage) {
4684
- return /*#__PURE__*/React.createElement("figure", {
4712
+ return /*#__PURE__*/React__default["default"].createElement("figure", {
4685
4713
  style: {
4686
4714
  paddingTop: imagePadding + "%"
4687
4715
  },
4688
4716
  className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$p)
4689
- }, /*#__PURE__*/React.createElement("img", {
4717
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
4690
4718
  className: "qt-image",
4691
4719
  "data-src": "".concat(fallbackImageUrl),
4692
4720
  alt: "image-fallback"
4693
4721
  }));
4694
4722
  }
4695
4723
 
4696
- return /*#__PURE__*/React.createElement(React.Fragment, null, defaultFallback ? /*#__PURE__*/React.createElement("div", {
4724
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, defaultFallback ? /*#__PURE__*/React__default["default"].createElement("div", {
4697
4725
  "data-test-id": "arr--fallback-hero-image",
4698
4726
  style: {
4699
4727
  paddingTop: imagePadding + "%"
4700
4728
  },
4701
4729
  className: "arr--fallback-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$p)
4702
- }, /*#__PURE__*/React.createElement(StoryTemplateIcon, {
4730
+ }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
4703
4731
  storyTemplate: story["story-template"]
4704
- }), /*#__PURE__*/React.createElement(FallbackImage, null)) : null);
4732
+ }), /*#__PURE__*/React__default["default"].createElement(FallbackImage, null)) : null);
4705
4733
  }
4706
4734
 
4707
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("figure", {
4735
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("figure", {
4708
4736
  style: {
4709
4737
  paddingTop: imagePadding + "%"
4710
4738
  },
4711
4739
  className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$p)
4712
- }, /*#__PURE__*/React.createElement(StoryTemplateIcon, {
4740
+ }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
4713
4741
  storyTemplate: story["story-template"]
4714
- }), /*#__PURE__*/React.createElement(ResponsiveHeroImage, {
4742
+ }), /*#__PURE__*/React__default["default"].createElement(components.ResponsiveHeroImage, {
4715
4743
  story: story,
4716
4744
  aspectRatio: imageAspectRatio,
4717
4745
  defaultWidth: defaultWidth,
@@ -4720,15 +4748,15 @@ var HeroImage = function HeroImage(_ref) {
4720
4748
  auto: ["format", "compress"],
4721
4749
  fit: "max"
4722
4750
  }
4723
- })), isStoryPageImage && hyperLink && /*#__PURE__*/React.createElement(HyperLink, {
4751
+ })), isStoryPageImage && hyperLink && /*#__PURE__*/React__default["default"].createElement(HyperLink, {
4724
4752
  hyperLink: hyperLink
4725
4753
  }));
4726
4754
  };
4727
4755
 
4728
- return story && (isStoryPageImage ? /*#__PURE__*/React.createElement("div", {
4756
+ return story && (isStoryPageImage ? /*#__PURE__*/React__default["default"].createElement("div", {
4729
4757
  "data-test-id": "arr--hero-image",
4730
4758
  className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$p)
4731
- }, fallbackImage()) : /*#__PURE__*/React.createElement(Link, {
4759
+ }, fallbackImage()) : /*#__PURE__*/React__default["default"].createElement(components.Link, {
4732
4760
  "data-test-id": "arr--hero-image",
4733
4761
  href: getStoryUrl(story, "/".concat(story.slug)),
4734
4762
  externalLink: isExternalStory(story),
@@ -4738,30 +4766,30 @@ var HeroImage = function HeroImage(_ref) {
4738
4766
  };
4739
4767
  HeroImage.propTypes = {
4740
4768
  /** The Story Object from the API response */
4741
- story: PropTypes.object.isRequired,
4769
+ story: PropTypes__default["default"].object.isRequired,
4742
4770
 
4743
4771
  /** Removes the Hero Image padding for the image to bleed over the margin */
4744
- FullBleed: PropTypes.bool,
4772
+ FullBleed: PropTypes__default["default"].bool,
4745
4773
 
4746
4774
  /** The default width for the image, in case the browser does not support srcset */
4747
- defaultWidth: PropTypes.number,
4775
+ defaultWidth: PropTypes__default["default"].number,
4748
4776
 
4749
4777
  /** The list of available widths */
4750
- widths: PropTypes.array,
4778
+ widths: PropTypes__default["default"].array,
4751
4779
  // fatch the correct hero image
4752
- aspectRatio: PropTypes.array,
4780
+ aspectRatio: PropTypes__default["default"].array,
4753
4781
  // Hints for the browser to choose the best size
4754
4782
 
4755
4783
  /** This prop is responsible for adding padding-right of the image and remove padding bottom of the image */
4756
- isHorizontal: PropTypes.bool,
4784
+ isHorizontal: PropTypes__default["default"].bool,
4757
4785
 
4758
4786
  /** This prop is responsible for adding padding-bottom in desktop and padding-right in mobile */
4759
- isHorizontalMobile: PropTypes.bool,
4787
+ isHorizontalMobile: PropTypes__default["default"].bool,
4760
4788
  // this prop is responsive for rendering fallback image on story page
4761
- defaultFallback: PropTypes.bool,
4762
- isHorizontalWithImageLast: PropTypes.bool,
4763
- isStoryPageImage: PropTypes.bool,
4764
- config: PropTypes.object
4789
+ defaultFallback: PropTypes__default["default"].bool,
4790
+ isHorizontalWithImageLast: PropTypes__default["default"].bool,
4791
+ isStoryPageImage: PropTypes__default["default"].bool,
4792
+ config: PropTypes__default["default"].object
4765
4793
  };
4766
4794
  HeroImage.defaultProps = {
4767
4795
  FullBleed: true,
@@ -4818,7 +4846,7 @@ var StoryCard = function StoryCard(_ref) {
4818
4846
  prefix = _ref.prefix,
4819
4847
  config = _ref.config,
4820
4848
  isHorizontalWithImageLast = _ref.isHorizontalWithImageLast;
4821
- if (!story || isEmpty(story)) return /*#__PURE__*/React.createElement("div", null);
4849
+ if (!story || isEmpty(story)) return /*#__PURE__*/React__default["default"].createElement("div", null);
4822
4850
  var borderOptions = ["default", "full", "bottom", "boxShadow"];
4823
4851
  var borderTemplate = borderOptions.includes(border) ? "border-".concat(border) : ""; // TODO optimize conditions
4824
4852
 
@@ -4828,7 +4856,7 @@ var StoryCard = function StoryCard(_ref) {
4828
4856
  var bgImgContentOverlapClass = bgImgContentOverlap ? "content-overlap" : "";
4829
4857
  var textColor = getTextColor(theme);
4830
4858
  var horizontalMobileClasses = isHorizontalMobile ? "horizontal-mob" : "";
4831
- var defaultStorycard = /*#__PURE__*/React.createElement(DefaultStoryCard, {
4859
+ var defaultStorycard = /*#__PURE__*/React__default["default"].createElement(DefaultStoryCard, {
4832
4860
  story: story,
4833
4861
  aspectRatio: aspectRatio,
4834
4862
  border: border,
@@ -4842,7 +4870,7 @@ var StoryCard = function StoryCard(_ref) {
4842
4870
  config: config,
4843
4871
  isHorizontalWithImageLast: isHorizontalWithImageLast
4844
4872
  });
4845
- return /*#__PURE__*/React.createElement("div", {
4873
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4846
4874
  "data-test-id": "story-card",
4847
4875
  style: {
4848
4876
  backgroundColor: theme,
@@ -4871,91 +4899,91 @@ var DefaultStoryCard = function DefaultStoryCard(_ref2) {
4871
4899
  var SectionTagborderColor = rgbToHex(borderColor);
4872
4900
  var _config$localizationC = config.localizationConfig,
4873
4901
  localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC;
4874
- return /*#__PURE__*/React.createElement(React.Fragment, null, isHorizontal ? /*#__PURE__*/React.createElement(HeroImage, {
4902
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isHorizontal ? /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4875
4903
  config: config,
4876
4904
  story: story,
4877
4905
  isHorizontal: true,
4878
4906
  isHorizontalMobile: isHorizontalMobile,
4879
4907
  aspectRatio: aspectRatio
4880
- }) : isHorizontalWithImageLast ? /*#__PURE__*/React.createElement(HeroImage, {
4908
+ }) : isHorizontalWithImageLast ? /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4881
4909
  config: config,
4882
4910
  story: story,
4883
4911
  isHorizontalWithImageLast: true,
4884
4912
  isHorizontalMobile: isHorizontalMobile,
4885
4913
  aspectRatio: aspectRatio
4886
- }) : /*#__PURE__*/React.createElement(HeroImage, {
4914
+ }) : /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4887
4915
  story: story,
4888
4916
  config: config,
4889
4917
  isHorizontalMobile: isHorizontalMobile,
4890
4918
  aspectRatio: aspectRatio
4891
- }), /*#__PURE__*/React.createElement("div", {
4919
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4892
4920
  className: "arr--story-content " + _getClassName("content ".concat(alignment), _styleModuleImportMap$o)
4893
- }, /*#__PURE__*/React.createElement(SectionTag, {
4921
+ }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
4894
4922
  story: story,
4895
4923
  borderColor: SectionTagborderColor
4896
- }), /*#__PURE__*/React.createElement(Headline, {
4924
+ }), /*#__PURE__*/React__default["default"].createElement(Headline, {
4897
4925
  story: story,
4898
4926
  headerLevel: headerLevel,
4899
4927
  premiumStoryIconConfig: config
4900
- }), /*#__PURE__*/React.createElement(AuthorWithTime, {
4928
+ }), /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
4901
4929
  config: localizationConfig,
4902
4930
  story: story,
4903
4931
  isBottom: true,
4904
4932
  prefix: prefix,
4905
4933
  hideAuthorImage: hideAuthorImage
4906
- }), /*#__PURE__*/React.createElement(Subheadline, {
4934
+ }), /*#__PURE__*/React__default["default"].createElement(Subheadline, {
4907
4935
  story: story
4908
4936
  })));
4909
4937
  };
4910
4938
 
4911
4939
  DefaultStoryCard.propTypes = {
4912
- story: PropTypes.object.isRequired,
4913
- border: PropTypes.oneOfType([PropTypes.string]),
4914
- isBottom: PropTypes.bool,
4915
- isHorizontal: PropTypes.bool,
4916
- aspectRatio: PropTypes.oneOfType([PropTypes.array]),
4917
- isHorizontalMobile: PropTypes.bool,
4918
- centerAlign: PropTypes.bool,
4919
- headerLevel: PropTypes.string,
4920
- borderColor: PropTypes.string,
4921
- hideAuthorImage: PropTypes.bool,
4922
- prefix: PropTypes.string,
4923
- config: PropTypes.object,
4924
- isHorizontalWithImageLast: PropTypes.bool
4940
+ story: PropTypes__default["default"].object.isRequired,
4941
+ border: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string]),
4942
+ isBottom: PropTypes__default["default"].bool,
4943
+ isHorizontal: PropTypes__default["default"].bool,
4944
+ aspectRatio: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array]),
4945
+ isHorizontalMobile: PropTypes__default["default"].bool,
4946
+ centerAlign: PropTypes__default["default"].bool,
4947
+ headerLevel: PropTypes__default["default"].string,
4948
+ borderColor: PropTypes__default["default"].string,
4949
+ hideAuthorImage: PropTypes__default["default"].bool,
4950
+ prefix: PropTypes__default["default"].string,
4951
+ config: PropTypes__default["default"].object,
4952
+ isHorizontalWithImageLast: PropTypes__default["default"].bool
4925
4953
  };
4926
4954
  StoryCard.propTypes = {
4927
4955
  /** The Story Object from the API response */
4928
- story: PropTypes.object.isRequired,
4929
- children: PropTypes.node,
4956
+ story: PropTypes__default["default"].object.isRequired,
4957
+ children: PropTypes__default["default"].node,
4930
4958
 
4931
4959
  /** Flip the Story Card to Horizonal mode */
4932
- isHorizontal: PropTypes.bool,
4960
+ isHorizontal: PropTypes__default["default"].bool,
4933
4961
 
4934
4962
  /** Add border to the Story Card */
4935
- border: PropTypes.oneOfType([PropTypes.string]),
4963
+ border: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string]),
4936
4964
  // story card with background image
4937
- useImageAsBackground: PropTypes.bool,
4965
+ useImageAsBackground: PropTypes__default["default"].bool,
4938
4966
  // story card content overlap with image
4939
- bgImgContentOverlap: PropTypes.bool,
4967
+ bgImgContentOverlap: PropTypes__default["default"].bool,
4940
4968
 
4941
4969
  /** add aspect ratio for hero image */
4942
- aspectRatio: PropTypes.oneOfType([PropTypes.array]),
4970
+ aspectRatio: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array]),
4943
4971
 
4944
4972
  /** add theme(dark /light/custom color) for storycard */
4945
- theme: PropTypes.string,
4973
+ theme: PropTypes__default["default"].string,
4946
4974
 
4947
4975
  /** flip the story card mobile design horizontal */
4948
- isHorizontalMobile: PropTypes.bool,
4976
+ isHorizontalMobile: PropTypes__default["default"].bool,
4949
4977
  // make content center align in desktop and left align in mobile
4950
- centerAlign: PropTypes.bool,
4951
- headerLevel: PropTypes.string,
4952
- borderColor: PropTypes.string,
4978
+ centerAlign: PropTypes__default["default"].bool,
4979
+ headerLevel: PropTypes__default["default"].string,
4980
+ borderColor: PropTypes__default["default"].string,
4953
4981
  // handle author image through storycard
4954
- hideAuthorImage: PropTypes.bool,
4982
+ hideAuthorImage: PropTypes__default["default"].bool,
4955
4983
  // handle author prefix through storycard
4956
- prefix: PropTypes.string,
4957
- config: PropTypes.object,
4958
- isHorizontalWithImageLast: PropTypes.bool
4984
+ prefix: PropTypes__default["default"].string,
4985
+ config: PropTypes__default["default"].object,
4986
+ isHorizontalWithImageLast: PropTypes__default["default"].bool
4959
4987
  };
4960
4988
  StoryCard.defaultProps = {
4961
4989
  isHorizontal: false,
@@ -4970,19 +4998,19 @@ StoryCard.defaultProps = {
4970
4998
  var ClockIcon = function ClockIcon(_ref) {
4971
4999
  var _ref$color = _ref.color,
4972
5000
  color = _ref$color === void 0 ? "#333" : _ref$color;
4973
- return /*#__PURE__*/React.createElement("svg", {
5001
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
4974
5002
  xmlns: "http://www.w3.org/2000/svg",
4975
5003
  width: "24",
4976
5004
  height: "24",
4977
5005
  viewBox: "0 0 24 24"
4978
- }, /*#__PURE__*/React.createElement("path", {
5006
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
4979
5007
  fill: color,
4980
5008
  fillRule: "evenodd",
4981
5009
  d: "M12 19.75a7.513 7.513 0 003.875-1.047 7.832 7.832 0 002.828-2.828A7.513 7.513 0 0019.75 12a7.513 7.513 0 00-1.047-3.875c-.698-1.187-1.64-2.13-2.828-2.828S13.395 4.25 12 4.25a7.51 7.51 0 00-3.875 1.047c-1.188.698-2.13 1.64-2.828 2.828S4.25 10.605 4.25 12a7.51 7.51 0 001.047 3.875 7.824 7.824 0 002.828 2.828A7.513 7.513 0 0012 19.75zm.016-1a6.64 6.64 0 01-3.391-.906 6.716 6.716 0 01-2.469-2.453 6.563 6.563 0 01-.906-3.375c0-1.22.302-2.35.906-3.391A6.711 6.711 0 018.61 6.156a6.563 6.563 0 013.375-.906c1.22 0 2.35.302 3.391.906a6.716 6.716 0 012.469 2.453A6.592 6.592 0 0118.751 12a6.616 6.616 0 01-.906 3.375 6.716 6.716 0 01-2.453 2.469 6.563 6.563 0 01-3.375.906zm2.283-3.92l.076-.002a.343.343 0 00.25-.14l.25-.375a.365.365 0 00.078-.266.328.328 0 00-.14-.234l-2.22-1.625V7.625a.362.362 0 00-.109-.266.36.36 0 00-.265-.109h-.438a.357.357 0 00-.265.11.358.358 0 00-.11.265v5c0 .125.052.219.156.281l2.532 1.844a.383.383 0 00.281.078l-.076.001z"
4982
5010
  }));
4983
5011
  };
4984
5012
  ClockIcon.propTypes = {
4985
- color: PropTypes.string
5013
+ color: PropTypes__default["default"].string
4986
5014
  };
4987
5015
 
4988
5016
  var _styleModuleImportMap$n = {
@@ -5017,26 +5045,26 @@ var LoadmoreButton = function LoadmoreButton(_ref) {
5017
5045
  if (!showButton) return null;
5018
5046
  var textColor = getTextColor(theme);
5019
5047
  var slug = customUrlPath ? "/".concat(customUrlPath) : generateNavigateSlug(collection, _objectSpread$3(_objectSpread$3({}, qtConfig), config));
5020
- return template === "SubsequentLoadCount" ? /*#__PURE__*/React.createElement("div", {
5048
+ return template === "SubsequentLoadCount" ? /*#__PURE__*/React__default["default"].createElement("div", {
5021
5049
  onClick: onClick,
5022
5050
  "data-test-id": "load-more",
5023
5051
  className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$n)
5024
- }, buttonText) : /*#__PURE__*/React.createElement(LinkBase, {
5052
+ }, buttonText) : /*#__PURE__*/React__default["default"].createElement(components.LinkBase, {
5025
5053
  href: slug,
5026
5054
  navigateTo: navigate,
5027
5055
  "data-test-id": "load-more",
5028
5056
  "aria-label": "load-more"
5029
- }, /*#__PURE__*/React.createElement("div", {
5057
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5030
5058
  className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$n)
5031
5059
  }, buttonText));
5032
5060
  };
5033
5061
  LoadmoreButton.propTypes = {
5034
- collection: PropTypes.object,
5035
- template: PropTypes.string,
5036
- config: PropTypes.object,
5037
- onClick: PropTypes.func,
5038
- navigate: PropTypes.func,
5039
- qtConfig: PropTypes.object
5062
+ collection: PropTypes__default["default"].object,
5063
+ template: PropTypes__default["default"].string,
5064
+ config: PropTypes__default["default"].object,
5065
+ onClick: PropTypes__default["default"].func,
5066
+ navigate: PropTypes__default["default"].func,
5067
+ qtConfig: PropTypes__default["default"].object
5040
5068
  };
5041
5069
 
5042
5070
  var _styleModuleImportMap$m = {
@@ -5074,23 +5102,23 @@ var KeyEventCards = function KeyEventCards(props) {
5074
5102
  var updateColor = textColor === "dark" ? dark : light;
5075
5103
  var lastElement = index === cardLength - 1;
5076
5104
  var borderLeft = lastElement ? "borderNone" : "";
5077
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
5105
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
5078
5106
  className: _getClassName("time-wrapper ".concat(textColor), _styleModuleImportMap$m)
5079
- }, /*#__PURE__*/React.createElement(ClockIcon, {
5107
+ }, /*#__PURE__*/React__default["default"].createElement(ClockIcon, {
5080
5108
  color: updateColor
5081
5109
  }), getTimeStamp(cardAddedAt, timestampToFormat, {
5082
5110
  showTime: true,
5083
5111
  isTimeFirst: true
5084
- })), /*#__PURE__*/React.createElement("a", {
5112
+ })), /*#__PURE__*/React__default["default"].createElement("a", {
5085
5113
  href: "".concat(mountAt, "/").concat(slug, "#").concat(id),
5086
5114
  "aria-label": "event-title"
5087
- }, /*#__PURE__*/React.createElement("div", {
5115
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5088
5116
  className: _getClassName("event-title ".concat(textColor, " ").concat(borderLeft), _styleModuleImportMap$m)
5089
5117
  }, storyElements.map(function (element, index) {
5090
- return element.type === "title" && /*#__PURE__*/React.createElement("h3", {
5118
+ return element.type === "title" && /*#__PURE__*/React__default["default"].createElement("h3", {
5091
5119
  key: index
5092
5120
  }, element.text);
5093
- }), showLoadMore && lastElement && loadCards && /*#__PURE__*/React.createElement("div", {
5121
+ }), showLoadMore && lastElement && loadCards && /*#__PURE__*/React__default["default"].createElement("div", {
5094
5122
  className: "key-events-m_fade-out__11jv_",
5095
5123
  style: {
5096
5124
  backgroundImage: "linear-gradient(to bottom, transparent, ".concat(theme, ")")
@@ -5099,22 +5127,21 @@ var KeyEventCards = function KeyEventCards(props) {
5099
5127
  };
5100
5128
 
5101
5129
  KeyEventCards.propTypes = {
5102
- card: PropTypes.shape({
5103
- "card-added-at": PropTypes.number,
5104
- "story-elements": PropTypes.array,
5105
- id: PropTypes.string
5130
+ card: PropTypes__default["default"].shape({
5131
+ "card-added-at": PropTypes__default["default"].number,
5132
+ "story-elements": PropTypes__default["default"].array,
5133
+ id: PropTypes__default["default"].string
5106
5134
  }),
5107
- config: PropTypes.object,
5108
- slug: PropTypes.string,
5109
- story: PropTypes.object,
5110
- elements: PropTypes.array,
5111
- index: PropTypes.number,
5112
- cardLength: PropTypes.number,
5113
- loadCards: PropTypes.bool,
5114
- showLoadMore: PropTypes.bool
5115
- };
5116
-
5117
- var KeyEvents = function KeyEvents(_ref) {
5135
+ config: PropTypes__default["default"].object,
5136
+ slug: PropTypes__default["default"].string,
5137
+ story: PropTypes__default["default"].object,
5138
+ elements: PropTypes__default["default"].array,
5139
+ index: PropTypes__default["default"].number,
5140
+ cardLength: PropTypes__default["default"].number,
5141
+ loadCards: PropTypes__default["default"].bool,
5142
+ showLoadMore: PropTypes__default["default"].bool
5143
+ };
5144
+ var KeyEventsBase = function KeyEventsBase(_ref) {
5118
5145
  var _ref$story = _ref.story,
5119
5146
  story = _ref$story === void 0 ? {} : _ref$story,
5120
5147
  _ref$config = _ref.config,
@@ -5127,7 +5154,7 @@ var KeyEvents = function KeyEvents(_ref) {
5127
5154
  initialLoadCount = _config$initialLoadCo === void 0 ? 4 : _config$initialLoadCo;
5128
5155
  var textColor = getTextColor(theme);
5129
5156
 
5130
- var _useState = useState(initialLoadCount),
5157
+ var _useState = React.useState(initialLoadCount),
5131
5158
  _useState2 = _slicedToArray(_useState, 2),
5132
5159
  initialCount = _useState2[0],
5133
5160
  updatedCount = _useState2[1];
@@ -5136,7 +5163,7 @@ var KeyEvents = function KeyEvents(_ref) {
5136
5163
  return get_1(card.metadata, ["attributes", "key-event"]);
5137
5164
  });
5138
5165
  var lastElement = cardsWithKeyEvents.length > initialCount;
5139
- var qtConfig = useSelector(function (state) {
5166
+ var qtConfig = reactRedux.useSelector(function (state) {
5140
5167
  return get_1(state, ["qt", "config"], {});
5141
5168
  });
5142
5169
 
@@ -5150,7 +5177,7 @@ var KeyEvents = function KeyEvents(_ref) {
5150
5177
 
5151
5178
  var showAllCards = !showLoadMore ? cardsWithKeyEvents.slice(0, 4) : cardsWithKeyEvents.slice(0, initialCount);
5152
5179
  var keyEvents = showAllCards.map(function (card, index, source) {
5153
- return /*#__PURE__*/React.createElement(KeyEventCards, {
5180
+ return /*#__PURE__*/React__default["default"].createElement(KeyEventCards, {
5154
5181
  cardLength: source.length,
5155
5182
  card: card,
5156
5183
  key: card.id,
@@ -5161,27 +5188,26 @@ var KeyEvents = function KeyEvents(_ref) {
5161
5188
  showLoadMore: showLoadMore
5162
5189
  });
5163
5190
  });
5164
- return /*#__PURE__*/React.createElement("div", {
5191
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5165
5192
  style: {
5166
5193
  background: theme
5167
5194
  },
5168
5195
  className: "arrow-component " + _getClassName("container ".concat(textColor), _styleModuleImportMap$m)
5169
- }, /*#__PURE__*/React.createElement("h3", null, "Key Events"), /*#__PURE__*/React.createElement("div", {
5196
+ }, /*#__PURE__*/React__default["default"].createElement("h3", null, "Key Events"), /*#__PURE__*/React__default["default"].createElement("div", {
5170
5197
  className: "key-events-m_cards-wrapper__3f8aB"
5171
- }, keyEvents), showLoadMore && lastElement && /*#__PURE__*/React.createElement(LoadmoreButton, {
5198
+ }, keyEvents), showLoadMore && lastElement && /*#__PURE__*/React__default["default"].createElement(LoadmoreButton, {
5172
5199
  onClick: onClick,
5173
5200
  template: "SubsequentLoadCount",
5174
5201
  config: config,
5175
5202
  qtConfig: qtConfig
5176
5203
  }));
5177
5204
  };
5178
-
5179
- KeyEvents.propTypes = {
5180
- story: PropTypes.object,
5181
- config: PropTypes.object,
5182
- showLoadMore: PropTypes.bool
5205
+ KeyEventsBase.propTypes = {
5206
+ story: PropTypes__default["default"].object,
5207
+ config: PropTypes__default["default"].object,
5208
+ showLoadMore: PropTypes__default["default"].bool
5183
5209
  };
5184
- var KeyEvents$1 = StateProvider(KeyEvents);
5210
+ var KeyEvents = StateProvider(KeyEventsBase);
5185
5211
 
5186
5212
  function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5187
5213
 
@@ -5201,7 +5227,6 @@ var _styleModuleImportMap$l = {
5201
5227
  "sticky": "aside-collection-m_sticky__AZXBP"
5202
5228
  }
5203
5229
  };
5204
-
5205
5230
  var StoryCollection = function StoryCollection(_ref) {
5206
5231
  var data = _ref.data,
5207
5232
  slotData = _ref.slotData,
@@ -5221,12 +5246,12 @@ var StoryCollection = function StoryCollection(_ref) {
5221
5246
  var isHorizontal = horizontal ? "horizontal-wrapper" : "";
5222
5247
  var mountAt = get_1(config, ["mountAtPrefix"], "");
5223
5248
 
5224
- var _useState = useState([]),
5249
+ var _useState = React.useState([]),
5225
5250
  _useState2 = _slicedToArray(_useState, 2),
5226
5251
  storyList = _useState2[0],
5227
5252
  updateStoryList = _useState2[1];
5228
5253
 
5229
- var _useState3 = useState([]),
5254
+ var _useState3 = React.useState([]),
5230
5255
  _useState4 = _slicedToArray(_useState3, 2),
5231
5256
  collectionData = _useState4[0],
5232
5257
  updateCollectionData = _useState4[1];
@@ -5260,63 +5285,61 @@ var StoryCollection = function StoryCollection(_ref) {
5260
5285
  };
5261
5286
  }();
5262
5287
 
5263
- useEffect(function () {
5288
+ React.useEffect(function () {
5264
5289
  if (collectionSlug) {
5265
5290
  updateStoryListItems(collectionSlug);
5266
5291
  }
5267
5292
  }, [collectionSlug]);
5268
- useEffect(function () {
5293
+ React.useEffect(function () {
5269
5294
  if (!collectionSlug && data) {
5270
5295
  var storyItems = data.items || data;
5271
5296
  updateStoryList(storyItems);
5272
5297
  }
5273
5298
  }, [data, collectionSlug]);
5274
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CollectionName, {
5299
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(CollectionName, {
5275
5300
  customCollectionName: heading,
5276
5301
  textColor: true,
5277
5302
  collection: collectionData
5278
- }), /*#__PURE__*/React.createElement("div", {
5303
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
5279
5304
  className: "aside-collection-m_stories__9wfUs"
5280
5305
  }, storyList && storyList.length > 0 ? storyList.slice(0, 4).map(function (item) {
5281
5306
  var story = item.story || item;
5282
- return /*#__PURE__*/React.createElement("div", {
5307
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5283
5308
  className: "aside-collection-m_story__17Jdm",
5284
5309
  key: story.id
5285
- }, /*#__PURE__*/React.createElement(StoryCard, {
5310
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCard, {
5286
5311
  story: story,
5287
5312
  isHorizontal: true,
5288
5313
  theme: theme,
5289
5314
  config: config
5290
- }, /*#__PURE__*/React.createElement("div", {
5315
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5291
5316
  className: "aside-collection-m_story-hero-image__13nFY"
5292
- }, /*#__PURE__*/React.createElement(HeroImage, {
5317
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
5293
5318
  story: story,
5294
5319
  aspectRatio: [[4, 3]]
5295
- })), /*#__PURE__*/React.createElement("div", null, isHorizontal && /*#__PURE__*/React.createElement(SectionTag, {
5320
+ })), /*#__PURE__*/React__default["default"].createElement("div", null, isHorizontal && /*#__PURE__*/React__default["default"].createElement(SectionTag, {
5296
5321
  story: story
5297
- }), /*#__PURE__*/React.createElement(Headline, {
5322
+ }), /*#__PURE__*/React__default["default"].createElement(Headline, {
5298
5323
  story: story
5299
- }), /*#__PURE__*/React.createElement("div", {
5324
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
5300
5325
  className: "aside-collection-m_story-byline__37KRG"
5301
- }, /*#__PURE__*/React.createElement(AuthorWithTime, {
5326
+ }, /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
5302
5327
  config: opts,
5303
5328
  story: story
5304
5329
  })))));
5305
- }) : /*#__PURE__*/React.createElement("div", {
5330
+ }) : /*#__PURE__*/React__default["default"].createElement("div", {
5306
5331
  "data-test-id": "no-stories",
5307
5332
  className: "aside-collection-m_info__3p4zt"
5308
5333
  }, "No stories found.")));
5309
5334
  };
5310
-
5311
5335
  StoryCollection.propTypes = {
5312
- data: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
5313
- config: PropTypes.object,
5314
- horizontal: PropTypes.bool,
5315
- slotData: PropTypes.object,
5316
- opts: PropTypes.object
5336
+ data: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].array]),
5337
+ config: PropTypes__default["default"].object,
5338
+ horizontal: PropTypes__default["default"].bool,
5339
+ slotData: PropTypes__default["default"].object,
5340
+ opts: PropTypes__default["default"].object
5317
5341
  };
5318
-
5319
- var AsideCollection = function AsideCollection(_ref4) {
5342
+ var AsideCollectionBase = function AsideCollectionBase(_ref4) {
5320
5343
  var _ref4$data = _ref4.data,
5321
5344
  data = _ref4$data === void 0 ? {} : _ref4$data,
5322
5345
  _ref4$config = _ref4.config,
@@ -5341,14 +5364,14 @@ var AsideCollection = function AsideCollection(_ref4) {
5341
5364
  var isHorizontal = horizontal ? "horizontal-wrapper" : "";
5342
5365
 
5343
5366
  if (horizontal) {
5344
- return /*#__PURE__*/React.createElement("div", {
5367
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5345
5368
  style: {
5346
5369
  backgroundColor: theme
5347
5370
  },
5348
5371
  "data-test-id": "aside-collection",
5349
5372
  id: "aside-collection-".concat(storyId),
5350
5373
  className: "arrow-component arr--aside-collection " + _getClassName("wrapper ".concat(isHorizontal), _styleModuleImportMap$l)
5351
- }, /*#__PURE__*/React.createElement(StoryCollection, {
5374
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCollection, {
5352
5375
  data: data,
5353
5376
  horizontal: horizontal,
5354
5377
  config: config,
@@ -5361,23 +5384,23 @@ var AsideCollection = function AsideCollection(_ref4) {
5361
5384
  var asideSlot = function asideSlot(type, slot, index) {
5362
5385
  switch (type) {
5363
5386
  case "ad":
5364
- return /*#__PURE__*/React.createElement("div", {
5387
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5365
5388
  className: "aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"
5366
5389
  }, adComponent(_objectSpread$2(_objectSpread$2({}, slot), {}, {
5367
5390
  id: "ad-".concat(index, "_").concat(storyId)
5368
5391
  })));
5369
5392
 
5370
5393
  case "widget":
5371
- return /*#__PURE__*/React.createElement("div", {
5394
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5372
5395
  className: "aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"
5373
5396
  }, widgetComp(_objectSpread$2(_objectSpread$2({}, slot), {}, {
5374
5397
  id: "widget-".concat(index, "_").concat(storyId)
5375
5398
  })));
5376
5399
 
5377
5400
  case "collection":
5378
- return /*#__PURE__*/React.createElement("div", {
5401
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5379
5402
  id: "aside-collection-".concat(index, "_").concat(storyId)
5380
- }, /*#__PURE__*/React.createElement(StoryCollection, {
5403
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCollection, {
5381
5404
  slotData: slot,
5382
5405
  data: data,
5383
5406
  horizontal: horizontal,
@@ -5387,13 +5410,13 @@ var AsideCollection = function AsideCollection(_ref4) {
5387
5410
  }
5388
5411
  };
5389
5412
 
5390
- return /*#__PURE__*/React.createElement("div", {
5413
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5391
5414
  style: {
5392
5415
  backgroundColor: theme
5393
5416
  },
5394
5417
  "data-test-id": "aside-collection",
5395
5418
  className: "arrow-component arr--aside-collection " + _getClassName(["wrapper", isHorizontal, isSticky].join(" "), _styleModuleImportMap$l)
5396
- }, enableKeyEvents && /*#__PURE__*/React.createElement(KeyEvents$1, {
5419
+ }, enableKeyEvents && /*#__PURE__*/React__default["default"].createElement(KeyEvents, {
5397
5420
  story: keyEventsData.story,
5398
5421
  showLoadMore: keyEventsData.showLoadMore,
5399
5422
  config: keyEventsData.config
@@ -5401,25 +5424,24 @@ var AsideCollection = function AsideCollection(_ref4) {
5401
5424
  return asideSlot(slot.type, slot, index);
5402
5425
  }));
5403
5426
  };
5404
-
5405
- AsideCollection.propTypes = {
5406
- data: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
5407
- config: PropTypes.object,
5408
- opts: PropTypes.object,
5409
- horizontal: PropTypes.bool,
5410
- slots: PropTypes.array,
5411
- adComponent: PropTypes.func,
5412
- widgetComp: PropTypes.func,
5413
- sticky: PropTypes.bool,
5414
- keyEventsData: PropTypes.shape({
5415
- story: PropTypes.object,
5416
- config: PropTypes.object,
5417
- showLoadMore: PropTypes["boolean"]
5427
+ AsideCollectionBase.propTypes = {
5428
+ data: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].array]),
5429
+ config: PropTypes__default["default"].object,
5430
+ opts: PropTypes__default["default"].object,
5431
+ horizontal: PropTypes__default["default"].bool,
5432
+ slots: PropTypes__default["default"].array,
5433
+ adComponent: PropTypes__default["default"].func,
5434
+ widgetComp: PropTypes__default["default"].func,
5435
+ sticky: PropTypes__default["default"].bool,
5436
+ keyEventsData: PropTypes__default["default"].shape({
5437
+ story: PropTypes__default["default"].object,
5438
+ config: PropTypes__default["default"].object,
5439
+ showLoadMore: PropTypes__default["default"]["boolean"]
5418
5440
  }),
5419
- enableKeyEvents: PropTypes["boolean"],
5420
- storyId: PropTypes.string
5441
+ enableKeyEvents: PropTypes__default["default"]["boolean"],
5442
+ storyId: PropTypes__default["default"].string
5421
5443
  };
5422
- var AsideCollection$1 = StateProvider(AsideCollection);
5444
+ var AsideCollection = StateProvider(AsideCollectionBase);
5423
5445
 
5424
5446
  /**
5425
5447
  * Converts `string` to
@@ -5479,9 +5501,9 @@ var authorImage = function authorImage(author) {
5479
5501
  return null;
5480
5502
  }
5481
5503
 
5482
- return /*#__PURE__*/React.createElement("figure", {
5504
+ return /*#__PURE__*/React__default["default"].createElement("figure", {
5483
5505
  "data-test-id": "author-image"
5484
- }, avatarS3Key ? /*#__PURE__*/React.createElement(ResponsiveImage, {
5506
+ }, avatarS3Key ? /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
5485
5507
  slug: avatarS3Key,
5486
5508
  "aspect-ratio": [1, 1],
5487
5509
  defaultWidth: 48,
@@ -5489,7 +5511,7 @@ var authorImage = function authorImage(author) {
5489
5511
  auto: ["format", "compress"]
5490
5512
  },
5491
5513
  alt: authorName
5492
- }) : /*#__PURE__*/React.createElement("img", {
5514
+ }) : /*#__PURE__*/React__default["default"].createElement("img", {
5493
5515
  src: avatarUrl
5494
5516
  }));
5495
5517
  };
@@ -5516,60 +5538,60 @@ var AuthorCard = function AuthorCard(_ref) {
5516
5538
  _opts$showName = opts.showName,
5517
5539
  showName = _opts$showName === void 0 ? true : _opts$showName;
5518
5540
  var textColor = getTextColor(configData.theme);
5519
- return /*#__PURE__*/React.createElement("div", {
5541
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5520
5542
  "data-test-id": "author-card-".concat(kebabCase_1(template)),
5521
5543
  className: (clazzName ? clazzName + " " : "") + _getClassName("author-card-wrapper ".concat(template), _styleModuleImportMap$k)
5522
5544
  }, authors.map(function (author, index) {
5523
- return /*#__PURE__*/React.createElement(React.Fragment, {
5545
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
5524
5546
  key: author.id
5525
- }, showImage && (author["avatar-url"] || author["avatar-s3-key"]) && /*#__PURE__*/React.createElement("div", {
5547
+ }, showImage && (author["avatar-url"] || author["avatar-s3-key"]) && /*#__PURE__*/React__default["default"].createElement("div", {
5526
5548
  "data-test-id": "author-image",
5527
5549
  className: "author-card-m_author-image-wrapper__1at-z"
5528
- }, /*#__PURE__*/React.createElement(Link, {
5550
+ }, /*#__PURE__*/React__default["default"].createElement(components.Link, {
5529
5551
  href: "".concat(mountAt, "/author/") + author.slug,
5530
5552
  key: "author-image-".concat(index),
5531
5553
  "aria-label": "author-image"
5532
- }, /*#__PURE__*/React.createElement("div", {
5554
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5533
5555
  className: _getClassName("author-image ".concat(!index ? "first-author-image" : "", " ").concat(!isSingleAuthor ? "multi-author-image" : ""), _styleModuleImportMap$k)
5534
5556
  }, authorImage(author)))));
5535
- }), showName && /*#__PURE__*/React.createElement("div", {
5557
+ }), showName && /*#__PURE__*/React__default["default"].createElement("div", {
5536
5558
  "data-test-id": "author-name",
5537
5559
  className: "author-card-m_author-name-share__3vb9q"
5538
5560
  }, authors.map(function (author, index) {
5539
5561
  var spaceHolder = ",\xA0";
5540
- return /*#__PURE__*/React.createElement(React.Fragment, null, index !== 0 && (authors.length > 1 ? spaceHolder : ""), /*#__PURE__*/React.createElement(Link, {
5562
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, index !== 0 && (authors.length > 1 ? spaceHolder : ""), /*#__PURE__*/React__default["default"].createElement(components.Link, {
5541
5563
  href: "".concat(mountAt, "/author/") + author.slug,
5542
5564
  "aria-label": "author-name"
5543
- }, /*#__PURE__*/React.createElement("h5", {
5565
+ }, /*#__PURE__*/React__default["default"].createElement("h5", {
5544
5566
  className: _getClassName("multiple-author-style ".concat(textColor), _styleModuleImportMap$k)
5545
5567
  }, author.name)));
5546
- }), isSingleAuthor && template !== "centerAligned" && /*#__PURE__*/React.createElement(React.Fragment, null, authors[0]["twitter-handle"] && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
5568
+ }), isSingleAuthor && template !== "centerAligned" && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, authors[0]["twitter-handle"] && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
5547
5569
  className: "author-card-m_dot-wrapper__2soc1"
5548
- }, /*#__PURE__*/React.createElement(Dot, {
5570
+ }, /*#__PURE__*/React__default["default"].createElement(Dot, {
5549
5571
  color: textColor
5550
- })), /*#__PURE__*/React.createElement("a", {
5572
+ })), /*#__PURE__*/React__default["default"].createElement("a", {
5551
5573
  href: "http://twitter.com/" + authors[0]["twitter-handle"],
5552
5574
  target: "_blank",
5553
5575
  rel: "noopener noreferrer"
5554
- }, /*#__PURE__*/React.createElement(Twitter, null))))), /*#__PURE__*/React.createElement("div", {
5576
+ }, /*#__PURE__*/React__default["default"].createElement(Twitter, null))))), /*#__PURE__*/React__default["default"].createElement("div", {
5555
5577
  "data-test-id": "author-info",
5556
5578
  className: "author-card-m_author-details-wrapper__1c2uc"
5557
- }, showBio && isSingleAuthor && template !== "default" && /*#__PURE__*/React.createElement("p", {
5579
+ }, showBio && isSingleAuthor && template !== "default" && /*#__PURE__*/React__default["default"].createElement("p", {
5558
5580
  className: _getClassName("author-bio ".concat(textColor), _styleModuleImportMap$k)
5559
5581
  }, authors[0].bio)));
5560
5582
  };
5561
5583
  AuthorCard.propTypes = {
5562
- story: PropTypes.shape({
5563
- authors: PropTypes.array
5584
+ story: PropTypes__default["default"].shape({
5585
+ authors: PropTypes__default["default"].array
5564
5586
  }),
5565
- template: PropTypes.string,
5566
- opts: PropTypes.shape({
5567
- showImage: PropTypes.bool,
5568
- showBio: PropTypes.bool,
5569
- showName: PropTypes.bool
5587
+ template: PropTypes__default["default"].string,
5588
+ opts: PropTypes__default["default"].shape({
5589
+ showImage: PropTypes__default["default"].bool,
5590
+ showBio: PropTypes__default["default"].bool,
5591
+ showName: PropTypes__default["default"].bool
5570
5592
  }),
5571
- mountAt: PropTypes.string,
5572
- clazzName: PropTypes.string
5593
+ mountAt: PropTypes__default["default"].string,
5594
+ clazzName: PropTypes__default["default"].string
5573
5595
  };
5574
5596
 
5575
5597
  function _objectWithoutPropertiesLoose(source, excluded) {
@@ -5615,13 +5637,13 @@ var withElementWrapper = function withElementWrapper(StoryElement) {
5615
5637
 
5616
5638
  if (!element) return null;
5617
5639
  if (render && typeof render === "function") return render(props);
5618
- return /*#__PURE__*/React.createElement(StoryElement, _extends({}, restProps, {
5640
+ return /*#__PURE__*/React__default["default"].createElement(StoryElement, _extends({}, restProps, {
5619
5641
  element: element
5620
5642
  }));
5621
5643
  };
5622
5644
  };
5623
5645
  withElementWrapper.propTypes = {
5624
- StoryElement: PropTypes.element
5646
+ StoryElement: PropTypes__default["default"].element
5625
5647
  };
5626
5648
 
5627
5649
  var _excluded$d = ["element", "opts", "css", "story", "config"];
@@ -5657,7 +5679,7 @@ var TextBase = function TextBase(_ref) {
5657
5679
  var text = isExternalLink && updateContentLinks(content) || content;
5658
5680
  var isPromotionalMessage = get_1(element, ["metadata", "promotional-message"], false);
5659
5681
  var updatedStyle = isPromotionalMessage ? "promotionalMessage" : "textElement";
5660
- return /*#__PURE__*/React.createElement("div", _extends({
5682
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
5661
5683
  style: !isPromotionalMessage ? {
5662
5684
  color: textColor
5663
5685
  } : {},
@@ -5672,15 +5694,15 @@ var TextBase = function TextBase(_ref) {
5672
5694
  };
5673
5695
 
5674
5696
  TextBase.propTypes = {
5675
- element: PropTypes.shape({
5676
- text: PropTypes.string
5697
+ element: PropTypes__default["default"].shape({
5698
+ text: PropTypes__default["default"].string
5677
5699
  }),
5678
- opts: PropTypes.shape({
5679
- isExternalLink: PropTypes.bool
5700
+ opts: PropTypes__default["default"].shape({
5701
+ isExternalLink: PropTypes__default["default"].bool
5680
5702
  }),
5681
- css: PropTypes.shape({
5682
- hyperlinkColor: PropTypes.string,
5683
- textColor: PropTypes.string
5703
+ css: PropTypes__default["default"].shape({
5704
+ hyperlinkColor: PropTypes__default["default"].string,
5705
+ textColor: PropTypes__default["default"].string
5684
5706
  }),
5685
5707
  story: shapeStory,
5686
5708
  config: shapeConfig
@@ -5721,13 +5743,13 @@ var BlurbBase = function BlurbBase(_ref) {
5721
5743
  borderLeft: "solid 2px ".concat(borderColor)
5722
5744
  };
5723
5745
 
5724
- var _useState = useState(initBorderDirection),
5746
+ var _useState = React.useState(initBorderDirection),
5725
5747
  _useState2 = _slicedToArray(_useState, 2),
5726
5748
  borderDirection = _useState2[0],
5727
5749
  setBorderDirection = _useState2[1];
5728
5750
 
5729
5751
  if (!content) return null;
5730
- useEffect(function () {
5752
+ React.useEffect(function () {
5731
5753
  var htmlElement = document.getElementsByTagName("HTML");
5732
5754
 
5733
5755
  if (htmlElement && htmlElement.length) {
@@ -5744,7 +5766,7 @@ var BlurbBase = function BlurbBase(_ref) {
5744
5766
  var templateStyle = template ? "blurb-".concat(template) : "blurb";
5745
5767
  var configData = useStateValue() || {};
5746
5768
  var textInvertColor = getTextColor(configData.theme);
5747
- return /*#__PURE__*/React.createElement("div", _extends({
5769
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
5748
5770
  "data-test-id": "blurb",
5749
5771
  style: borderColor && borderDirection,
5750
5772
  dangerouslySetInnerHTML: {
@@ -5756,19 +5778,19 @@ var BlurbBase = function BlurbBase(_ref) {
5756
5778
  };
5757
5779
 
5758
5780
  BlurbBase.propTypes = {
5759
- element: PropTypes.shape({
5760
- text: PropTypes.string
5781
+ element: PropTypes__default["default"].shape({
5782
+ text: PropTypes__default["default"].string
5761
5783
  }),
5762
5784
 
5763
5785
  /** templates can be either default or withBorder */
5764
- template: PropTypes.string,
5765
- opts: PropTypes.shape({
5766
- isExternalLink: PropTypes.bool
5786
+ template: PropTypes__default["default"].string,
5787
+ opts: PropTypes__default["default"].shape({
5788
+ isExternalLink: PropTypes__default["default"].bool
5767
5789
  }),
5768
5790
  story: shapeStory,
5769
5791
  config: shapeConfig,
5770
- render: PropTypes.func,
5771
- css: PropTypes.object
5792
+ render: PropTypes__default["default"].func,
5793
+ css: PropTypes__default["default"].object
5772
5794
  };
5773
5795
  var Blurb = withElementWrapper(BlurbBase);
5774
5796
 
@@ -5821,19 +5843,19 @@ var SummaryBase = function SummaryBase(_ref) {
5821
5843
  var updateHeaderColor = renderTemplate ? "".concat(headerBgColor) : "";
5822
5844
  var textColor = renderTemplate ? getTextColor(headerBgColor) : "";
5823
5845
  var updateContentColor = template === "header" ? "" : textInvertColor;
5824
- return /*#__PURE__*/React.createElement("div", _extends({
5846
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
5825
5847
  "data-test-id": "summary"
5826
5848
  }, restProps, {
5827
5849
  className: "arrow-component arr--summary-element arr-custom-style " + _getClassName(templateStyle, _styleModuleImportMap$h) + (" " + (restProps ? restProps.className || "" : ""))
5828
- }), !hideHeadline && /*#__PURE__*/React.createElement("div", {
5850
+ }), !hideHeadline && /*#__PURE__*/React__default["default"].createElement("div", {
5829
5851
  "data-test-id": "summary-headline",
5830
5852
  className: _getClassName("heading-wrapper ".concat(textInvertColor), _styleModuleImportMap$h)
5831
- }, /*#__PURE__*/React.createElement("div", {
5853
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
5832
5854
  style: {
5833
5855
  backgroundColor: updateHeaderColor
5834
5856
  },
5835
5857
  className: _getClassName("headline ".concat(textColor, " ").concat(textInvertColor), _styleModuleImportMap$h)
5836
- }, headline)), /*#__PURE__*/React.createElement("div", {
5858
+ }, headline)), /*#__PURE__*/React__default["default"].createElement("div", {
5837
5859
  dangerouslySetInnerHTML: {
5838
5860
  __html: text
5839
5861
  },
@@ -5842,20 +5864,20 @@ var SummaryBase = function SummaryBase(_ref) {
5842
5864
  };
5843
5865
 
5844
5866
  SummaryBase.propTypes = {
5845
- element: PropTypes.shape({
5846
- text: PropTypes.string
5867
+ element: PropTypes__default["default"].shape({
5868
+ text: PropTypes__default["default"].string
5847
5869
  }),
5848
- template: PropTypes.string,
5849
- opts: PropTypes.shape({
5850
- isExternalLink: PropTypes.bool,
5851
- headline: PropTypes.string,
5852
- hideHeadline: PropTypes.bool
5870
+ template: PropTypes__default["default"].string,
5871
+ opts: PropTypes__default["default"].shape({
5872
+ isExternalLink: PropTypes__default["default"].bool,
5873
+ headline: PropTypes__default["default"].string,
5874
+ hideHeadline: PropTypes__default["default"].bool
5853
5875
  }),
5854
5876
  story: shapeStory,
5855
5877
  config: shapeConfig,
5856
- render: PropTypes.func,
5857
- css: PropTypes.shape({
5858
- headerBgColor: PropTypes.string
5878
+ render: PropTypes__default["default"].func,
5879
+ css: PropTypes__default["default"].shape({
5880
+ headerBgColor: PropTypes__default["default"].string
5859
5881
  })
5860
5882
  };
5861
5883
  var Summary = withElementWrapper(SummaryBase);
@@ -5867,27 +5889,27 @@ var CurveIcon = function CurveIcon(_ref) {
5867
5889
  opacity = _ref.opacity;
5868
5890
  var lightColor = color === "light" && "#ffffff";
5869
5891
  var darkColor = color === "dark" && "#0d0d0d";
5870
- return /*#__PURE__*/React.createElement("div", {
5892
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5871
5893
  className: "icon-m_curve-wrapper__3-sLV",
5872
5894
  style: {
5873
5895
  fill: "".concat(lightColor || darkColor || color)
5874
5896
  }
5875
- }, /*#__PURE__*/React.createElement("svg", {
5897
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
5876
5898
  xmlns: "http://www.w3.org/2000/svg",
5877
5899
  width: width,
5878
5900
  height: height,
5879
5901
  viewBox: "0 0 64 64"
5880
- }, /*#__PURE__*/React.createElement("path", {
5902
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
5881
5903
  fill: "inherit",
5882
5904
  opacity: opacity,
5883
5905
  d: "M61 44.702c0 3.465-1.13 6.214-3.39 8.248-2.261 2.033-5.125 3.05-8.59 3.05-4.07 0-7.423-1.356-10.06-4.067-2.638-2.712-3.956-6.704-3.956-11.976 0-4.971.716-9.227 2.147-12.767 1.432-3.54 3.165-6.553 5.2-9.039 2.034-2.485 4.144-4.481 6.33-5.988 2.184-1.506 4.106-2.56 5.763-3.163l5.652 7.909c-3.316 1.657-5.99 3.879-8.025 6.666-2.035 2.786-3.052 6.289-3.052 10.507.603-.15 1.432-.226 2.487-.226 3.014 0 5.35 1.054 7.007 3.163C60.171 39.13 61 41.69 61 44.702zm-33.004 0c0 3.465-1.13 6.214-3.39 8.248-2.261 2.033-5.125 3.05-8.59 3.05-4.07 0-7.423-1.356-10.06-4.067C3.319 49.22 2 45.229 2 39.957c0-4.971.716-9.227 2.148-12.767 1.431-3.54 3.164-6.553 5.199-9.039 2.034-2.485 4.144-4.481 6.33-5.988C17.86 10.657 19.782 9.603 21.44 9l5.651 7.909c-3.316 1.657-5.99 3.879-8.025 6.666-2.034 2.786-3.052 6.289-3.052 10.507.603-.15 1.432-.226 2.487-.226 3.014 0 5.35 1.054 7.008 3.163 1.657 2.11 2.486 4.67 2.486 7.683z"
5884
5906
  })));
5885
5907
  };
5886
5908
  CurveIcon.propTypes = {
5887
- width: PropTypes.string,
5888
- height: PropTypes.string,
5889
- color: PropTypes.string,
5890
- opacity: PropTypes.string
5909
+ width: PropTypes__default["default"].string,
5910
+ height: PropTypes__default["default"].string,
5911
+ color: PropTypes__default["default"].string,
5912
+ opacity: PropTypes__default["default"].string
5891
5913
  };
5892
5914
 
5893
5915
  var EdgeIcon = function EdgeIcon(_ref) {
@@ -5897,27 +5919,27 @@ var EdgeIcon = function EdgeIcon(_ref) {
5897
5919
  opacity = _ref.opacity;
5898
5920
  var lightColor = color === "light" && "#ffffff";
5899
5921
  var darkColor = color === "dark" && "#0d0d0d";
5900
- return /*#__PURE__*/React.createElement("div", {
5922
+ return /*#__PURE__*/React__default["default"].createElement("div", {
5901
5923
  className: "icon-m_edge-wrapper__xUOdp",
5902
5924
  style: {
5903
5925
  fill: "".concat(lightColor || darkColor || color)
5904
5926
  }
5905
- }, /*#__PURE__*/React.createElement("svg", {
5927
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
5906
5928
  xmlns: "http://www.w3.org/2000/svg",
5907
5929
  width: width,
5908
5930
  height: height,
5909
5931
  viewBox: "0 0 64 64"
5910
- }, /*#__PURE__*/React.createElement("path", {
5932
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
5911
5933
  fill: "inherit",
5912
5934
  opacity: opacity,
5913
5935
  d: "M16.858 29.836v4.727H28V60H4V29.836c0-9.6 2.606-16.727 7.746-21.187C15.3 5.564 19.8 4 25.122 4v13.627c-2.888 0-8.264 0-8.264 12.209zm40.264-12.21V4c-5.32 0-9.82 1.564-13.376 4.65C38.606 13.108 36 20.236 36 29.835V60h24V34.563H48.857v-4.727c0-12.21 5.377-12.21 8.265-12.21z"
5914
5936
  })));
5915
5937
  };
5916
5938
  EdgeIcon.propTypes = {
5917
- width: PropTypes.string,
5918
- height: PropTypes.string,
5919
- color: PropTypes.string,
5920
- opacity: PropTypes.string
5939
+ width: PropTypes__default["default"].string,
5940
+ height: PropTypes__default["default"].string,
5941
+ color: PropTypes__default["default"].string,
5942
+ opacity: PropTypes__default["default"].string
5921
5943
  };
5922
5944
 
5923
5945
  var _excluded$a = ["element", "template", "css", "story", "config", "render"];
@@ -5947,7 +5969,7 @@ var SelectionOfIcon = function SelectionOfIcon(iconType, template, blockQuoteCol
5947
5969
 
5948
5970
  if (template === "withBackground") {
5949
5971
  if (iconType === "edgeIcon") {
5950
- return /*#__PURE__*/React.createElement(EdgeIcon, {
5972
+ return /*#__PURE__*/React__default["default"].createElement(EdgeIcon, {
5951
5973
  width: dimension,
5952
5974
  height: dimension,
5953
5975
  color: quoteColor,
@@ -5955,7 +5977,7 @@ var SelectionOfIcon = function SelectionOfIcon(iconType, template, blockQuoteCol
5955
5977
  });
5956
5978
  }
5957
5979
 
5958
- return /*#__PURE__*/React.createElement(CurveIcon, {
5980
+ return /*#__PURE__*/React__default["default"].createElement(CurveIcon, {
5959
5981
  width: dimension,
5960
5982
  height: dimension,
5961
5983
  color: quoteColor,
@@ -5965,14 +5987,14 @@ var SelectionOfIcon = function SelectionOfIcon(iconType, template, blockQuoteCol
5965
5987
 
5966
5988
  if (template !== "withBackground") {
5967
5989
  if (iconType === "edgeIcon") {
5968
- return /*#__PURE__*/React.createElement(EdgeIcon, {
5990
+ return /*#__PURE__*/React__default["default"].createElement(EdgeIcon, {
5969
5991
  width: dimension,
5970
5992
  height: dimension,
5971
5993
  color: blockQuoteColor
5972
5994
  });
5973
5995
  }
5974
5996
 
5975
- return /*#__PURE__*/React.createElement(CurveIcon, {
5997
+ return /*#__PURE__*/React__default["default"].createElement(CurveIcon, {
5976
5998
  width: dimension,
5977
5999
  height: dimension,
5978
6000
  color: blockQuoteColor
@@ -6008,38 +6030,38 @@ var BlockQuoteBase = function BlockQuoteBase(_ref) {
6008
6030
  var textInvertColor = getTextColor(isBackground ? theme.backgroundColor : configData.theme);
6009
6031
 
6010
6032
  var updateStructure = function updateStructure() {
6011
- return template === "withBorder" ? /*#__PURE__*/React.createElement("div", {
6033
+ return template === "withBorder" ? /*#__PURE__*/React__default["default"].createElement("div", {
6012
6034
  className: "block-quote-m_icon-border__2xQQY"
6013
- }, /*#__PURE__*/React.createElement("div", {
6035
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
6014
6036
  className: "block-quote-m_icon__m-EIZ"
6015
- }, SelectionOfIcon(iconType, template, blockQuoteColor, textColor)), /*#__PURE__*/React.createElement("div", {
6037
+ }, SelectionOfIcon(iconType, template, blockQuoteColor, textColor)), /*#__PURE__*/React__default["default"].createElement("div", {
6016
6038
  className: "block-quote-m_border__1ZTPR",
6017
6039
  style: blockQuoteColor && {
6018
6040
  backgroundColor: blockQuoteColor
6019
6041
  }
6020
- })) : /*#__PURE__*/React.createElement("div", {
6042
+ })) : /*#__PURE__*/React__default["default"].createElement("div", {
6021
6043
  className: "block-quote-m_icon__m-EIZ"
6022
6044
  }, SelectionOfIcon(iconType, template, blockQuoteColor, textColor));
6023
6045
  };
6024
6046
 
6025
- return /*#__PURE__*/React.createElement("div", _extends({
6047
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
6026
6048
  "data-test-id": "blockquote",
6027
6049
  style: theme
6028
6050
  }, restProps, {
6029
6051
  className: "arrow-component arr--block-quote " + _getClassName("".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$g) + (" " + (restProps ? restProps.className || "" : ""))
6030
- }), /*#__PURE__*/React.createElement("div", {
6052
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
6031
6053
  className: "block-quote-m_quote-wrapper__83bEy"
6032
- }, updateStructure(), /*#__PURE__*/React.createElement("div", {
6054
+ }, updateStructure(), /*#__PURE__*/React__default["default"].createElement("div", {
6033
6055
  className: "block-quote-m_wrapper__2KEhw",
6034
6056
  style: blockQuoteColor && {
6035
6057
  borderColor: blockQuoteColor
6036
6058
  }
6037
- }, /*#__PURE__*/React.createElement("div", {
6059
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
6038
6060
  dangerouslySetInnerHTML: {
6039
6061
  __html: content
6040
6062
  },
6041
6063
  className: _getClassName("content ".concat(textInvertColor), _styleModuleImportMap$g)
6042
- }), /*#__PURE__*/React.createElement("div", {
6064
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
6043
6065
  dangerouslySetInnerHTML: {
6044
6066
  __html: attribution
6045
6067
  },
@@ -6047,17 +6069,17 @@ var BlockQuoteBase = function BlockQuoteBase(_ref) {
6047
6069
  }))));
6048
6070
  };
6049
6071
  BlockQuoteBase.propTypes = {
6050
- element: PropTypes.shape({
6051
- metadata: PropTypes.shape({
6052
- content: PropTypes.string,
6053
- attribution: PropTypes.string
6072
+ element: PropTypes__default["default"].shape({
6073
+ metadata: PropTypes__default["default"].shape({
6074
+ content: PropTypes__default["default"].string,
6075
+ attribution: PropTypes__default["default"].string
6054
6076
  })
6055
6077
  }),
6056
- template: PropTypes.string,
6078
+ template: PropTypes__default["default"].string,
6057
6079
  story: shapeStory,
6058
6080
  config: shapeConfig,
6059
- render: PropTypes.func,
6060
- css: PropTypes.object
6081
+ render: PropTypes__default["default"].func,
6082
+ css: PropTypes__default["default"].object
6061
6083
  };
6062
6084
  var BlockQuote = withElementWrapper(BlockQuoteBase);
6063
6085
 
@@ -6085,27 +6107,27 @@ var BigFactBase = function BigFactBase(_ref) {
6085
6107
  var _element$metadata = element.metadata,
6086
6108
  content = _element$metadata.content,
6087
6109
  attribution = _element$metadata.attribution;
6088
- return /*#__PURE__*/React.createElement("div", _extends({
6110
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
6089
6111
  "data-test-id": "bigfact"
6090
6112
  }, restProps, {
6091
6113
  className: "arrow-component arr--bigfact-element " + _getClassName("bigfact-element ".concat(textInvertColor), _styleModuleImportMap$f) + (" " + (restProps ? restProps.className || "" : ""))
6092
- }), /*#__PURE__*/React.createElement("div", {
6114
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
6093
6115
  className: "big-fact-m_content__1u2Ul"
6094
- }, content), /*#__PURE__*/React.createElement("div", {
6116
+ }, content), /*#__PURE__*/React__default["default"].createElement("div", {
6095
6117
  "data-test-id": "attribution",
6096
6118
  className: _getClassName("attribution ".concat(textInvertColor), _styleModuleImportMap$f)
6097
6119
  }, attribution));
6098
6120
  };
6099
6121
 
6100
6122
  BigFactBase.propTypes = {
6101
- element: PropTypes.shape({
6102
- metadata: PropTypes.shape({
6103
- content: PropTypes.string,
6104
- attribution: PropTypes.string
6123
+ element: PropTypes__default["default"].shape({
6124
+ metadata: PropTypes__default["default"].shape({
6125
+ content: PropTypes__default["default"].string,
6126
+ attribution: PropTypes__default["default"].string
6105
6127
  })
6106
6128
  }),
6107
- story: PropTypes.object,
6108
- config: PropTypes.object
6129
+ story: PropTypes__default["default"].object,
6130
+ config: PropTypes__default["default"].object
6109
6131
  };
6110
6132
  var BigFact = withElementWrapper(BigFactBase);
6111
6133
 
@@ -6139,11 +6161,11 @@ var DisplayImage = function DisplayImage(_ref) {
6139
6161
  var rightAlignAspectRatio = isRightAlign && isMobile ? [4, 3] : [16, 9];
6140
6162
  var imageAspectRatio = isLeftAlign ? [16, 9] : rightAlignAspectRatio;
6141
6163
  var alternateText = story["hero-image-caption"] || story["headline"];
6142
- return /*#__PURE__*/React.createElement("div", {
6164
+ return /*#__PURE__*/React__default["default"].createElement("div", {
6143
6165
  className: "also-read-m_card-image-wrapper__3GFzu"
6144
- }, !isEmpty(linkedImage) ? /*#__PURE__*/React.createElement("figure", {
6166
+ }, !isEmpty(linkedImage) ? /*#__PURE__*/React__default["default"].createElement("figure", {
6145
6167
  className: "also-read-m_card-image__3CwAv"
6146
- }, /*#__PURE__*/React.createElement(LazyLoadImages, null, /*#__PURE__*/React.createElement(ResponsiveImage, {
6168
+ }, /*#__PURE__*/React__default["default"].createElement(components.LazyLoadImages, null, /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
6147
6169
  slug: linkedImage,
6148
6170
  "aspect-ratio": imageAspectRatio,
6149
6171
  defaultWidth: 480,
@@ -6152,19 +6174,19 @@ var DisplayImage = function DisplayImage(_ref) {
6152
6174
  auto: ["format", "compress"]
6153
6175
  },
6154
6176
  alt: alternateText
6155
- }))) : /*#__PURE__*/React.createElement("div", {
6177
+ }))) : /*#__PURE__*/React__default["default"].createElement("div", {
6156
6178
  className: "arr--fallback-also-read also-read-m_image__2jdRP"
6157
- }, /*#__PURE__*/React.createElement(FallbackImage, null)));
6179
+ }, /*#__PURE__*/React__default["default"].createElement(FallbackImage, null)));
6158
6180
  };
6159
6181
 
6160
6182
  DisplayImage.propTypes = {
6161
- story: PropTypes.shape({
6162
- "hero-image-caption": PropTypes.string,
6163
- headline: PropTypes.string
6183
+ story: PropTypes__default["default"].shape({
6184
+ "hero-image-caption": PropTypes__default["default"].string,
6185
+ headline: PropTypes__default["default"].string
6164
6186
  }),
6165
- linkedImage: PropTypes.string,
6166
- template: PropTypes.string,
6167
- isRightAlign: PropTypes.bool
6187
+ linkedImage: PropTypes__default["default"].string,
6188
+ template: PropTypes__default["default"].string,
6189
+ isRightAlign: PropTypes__default["default"].bool
6168
6190
  };
6169
6191
 
6170
6192
  var AlsoReadBase = function AlsoReadBase(_ref2) {
@@ -6197,22 +6219,22 @@ var AlsoReadBase = function AlsoReadBase(_ref2) {
6197
6219
  var isDefault = template === "" || template === "default";
6198
6220
  var isRightAlign = template === "imageRightAlign";
6199
6221
  var templateStyle = template ? "alsoread-".concat(template) : "alsoread-default";
6200
- return /*#__PURE__*/React.createElement(Link, _extends({
6222
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, _extends({
6201
6223
  "data-test-id": "also-read",
6202
6224
  href: storyUrl,
6203
6225
  "aria-label": "also-read"
6204
6226
  }, restProps, {
6205
6227
  className: "arrow-component arr--also-read-element " + _getClassName(templateStyle, _styleModuleImportMap$e) + (" " + (restProps ? restProps.className || "" : ""))
6206
- }), !isDefault && /*#__PURE__*/React.createElement("div", {
6228
+ }), !isDefault && /*#__PURE__*/React__default["default"].createElement("div", {
6207
6229
  className: _getClassName("default-text ".concat(textInvertColor), _styleModuleImportMap$e)
6208
- }, displayTitle), isDefault && /*#__PURE__*/React.createElement(DisplayImage, {
6230
+ }, displayTitle), isDefault && /*#__PURE__*/React__default["default"].createElement(DisplayImage, {
6209
6231
  story: story,
6210
6232
  linkedImage: linkedImage,
6211
6233
  template: template,
6212
6234
  isRightAlign: isRightAlign
6213
- }), /*#__PURE__*/React.createElement("div", {
6235
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
6214
6236
  className: "also-read-m_content-wrapper__26AZX"
6215
- }, /*#__PURE__*/React.createElement("div", {
6237
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
6216
6238
  className: "also-read-m_headline__VzF-c",
6217
6239
  style: textColor ? {
6218
6240
  color: textColor
@@ -6222,7 +6244,7 @@ var AlsoReadBase = function AlsoReadBase(_ref2) {
6222
6244
  dangerouslySetInnerHTML: {
6223
6245
  __html: content
6224
6246
  }
6225
- }), isRightAlign && /*#__PURE__*/React.createElement(DisplayImage, {
6247
+ }), isRightAlign && /*#__PURE__*/React__default["default"].createElement(DisplayImage, {
6226
6248
  story: story,
6227
6249
  linkedImage: linkedImage,
6228
6250
  template: template
@@ -6231,25 +6253,25 @@ var AlsoReadBase = function AlsoReadBase(_ref2) {
6231
6253
 
6232
6254
  AlsoReadBase.propTypes = {
6233
6255
  /** template can be default, textLeftAlign or imageRightAlign */
6234
- template: PropTypes.string,
6235
- story: PropTypes.shape({
6236
- "linked-stories": PropTypes.object
6256
+ template: PropTypes__default["default"].string,
6257
+ story: PropTypes__default["default"].shape({
6258
+ "linked-stories": PropTypes__default["default"].object
6237
6259
  }),
6238
- element: PropTypes.shape({
6239
- text: PropTypes.string,
6240
- metadata: PropTypes.shape({
6241
- linkedStoryId: PropTypes.shape({
6242
- url: PropTypes.string,
6243
- "hero-image-s3-key": PropTypes.string
6260
+ element: PropTypes__default["default"].shape({
6261
+ text: PropTypes__default["default"].string,
6262
+ metadata: PropTypes__default["default"].shape({
6263
+ linkedStoryId: PropTypes__default["default"].shape({
6264
+ url: PropTypes__default["default"].string,
6265
+ "hero-image-s3-key": PropTypes__default["default"].string
6244
6266
  })
6245
6267
  })
6246
6268
  }),
6247
- opts: PropTypes.shape({
6248
- title: PropTypes.string
6269
+ opts: PropTypes__default["default"].shape({
6270
+ title: PropTypes__default["default"].string
6249
6271
  }),
6250
6272
  config: shapeConfig,
6251
- render: PropTypes.func,
6252
- css: PropTypes.object
6273
+ render: PropTypes__default["default"].func,
6274
+ css: PropTypes__default["default"].object
6253
6275
  };
6254
6276
  var AlsoRead = withElementWrapper(AlsoReadBase);
6255
6277
 
@@ -6257,20 +6279,20 @@ var Loading = function Loading(_ref) {
6257
6279
  _ref.width;
6258
6280
  _ref.height;
6259
6281
  _ref.iconColor;
6260
- return /*#__PURE__*/React.createElement("div", {
6282
+ return /*#__PURE__*/React__default["default"].createElement("div", {
6261
6283
  className: "loading-m_loading-indicator__2Dlst"
6262
- }, /*#__PURE__*/React.createElement("svg", {
6284
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
6263
6285
  width: "40",
6264
6286
  height: "40",
6265
6287
  xmlns: "http://www.w3.org/2000/svg",
6266
6288
  viewBox: "0 0 100 100",
6267
6289
  preserveAspectRatio: "xMidYMid"
6268
- }, /*#__PURE__*/React.createElement("circle", {
6290
+ }, /*#__PURE__*/React__default["default"].createElement("circle", {
6269
6291
  cx: "84",
6270
6292
  cy: "50",
6271
6293
  r: "0",
6272
6294
  fill: "currentColor"
6273
- }, /*#__PURE__*/React.createElement("animate", {
6295
+ }, /*#__PURE__*/React__default["default"].createElement("animate", {
6274
6296
  attributeName: "r",
6275
6297
  values: "10;0;0;0;0",
6276
6298
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6279,7 +6301,7 @@ var Loading = function Loading(_ref) {
6279
6301
  dur: "2s",
6280
6302
  repeatCount: "indefinite",
6281
6303
  begin: "0s"
6282
- }), /*#__PURE__*/React.createElement("animate", {
6304
+ }), /*#__PURE__*/React__default["default"].createElement("animate", {
6283
6305
  attributeName: "cx",
6284
6306
  values: "84;84;84;84;84",
6285
6307
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6288,12 +6310,12 @@ var Loading = function Loading(_ref) {
6288
6310
  dur: "2s",
6289
6311
  repeatCount: "indefinite",
6290
6312
  begin: "0s"
6291
- })), /*#__PURE__*/React.createElement("circle", {
6313
+ })), /*#__PURE__*/React__default["default"].createElement("circle", {
6292
6314
  cx: "84",
6293
6315
  cy: "50",
6294
6316
  r: ".709",
6295
6317
  fill: "currentColor"
6296
- }, /*#__PURE__*/React.createElement("animate", {
6318
+ }, /*#__PURE__*/React__default["default"].createElement("animate", {
6297
6319
  attributeName: "r",
6298
6320
  values: "0;10;10;10;0",
6299
6321
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6302,7 +6324,7 @@ var Loading = function Loading(_ref) {
6302
6324
  dur: "2s",
6303
6325
  repeatCount: "indefinite",
6304
6326
  begin: "-1s"
6305
- }), /*#__PURE__*/React.createElement("animate", {
6327
+ }), /*#__PURE__*/React__default["default"].createElement("animate", {
6306
6328
  attributeName: "cx",
6307
6329
  values: "16;16;50;84;84",
6308
6330
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6311,12 +6333,12 @@ var Loading = function Loading(_ref) {
6311
6333
  dur: "2s",
6312
6334
  repeatCount: "indefinite",
6313
6335
  begin: "-1s"
6314
- })), /*#__PURE__*/React.createElement("circle", {
6336
+ })), /*#__PURE__*/React__default["default"].createElement("circle", {
6315
6337
  cx: "81.59",
6316
6338
  cy: "50",
6317
6339
  r: "10",
6318
6340
  fill: "currentColor"
6319
- }, /*#__PURE__*/React.createElement("animate", {
6341
+ }, /*#__PURE__*/React__default["default"].createElement("animate", {
6320
6342
  attributeName: "r",
6321
6343
  values: "0;10;10;10;0",
6322
6344
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6325,7 +6347,7 @@ var Loading = function Loading(_ref) {
6325
6347
  dur: "2s",
6326
6348
  repeatCount: "indefinite",
6327
6349
  begin: "-0.5s"
6328
- }), /*#__PURE__*/React.createElement("animate", {
6350
+ }), /*#__PURE__*/React__default["default"].createElement("animate", {
6329
6351
  attributeName: "cx",
6330
6352
  values: "16;16;50;84;84",
6331
6353
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6334,12 +6356,12 @@ var Loading = function Loading(_ref) {
6334
6356
  dur: "2s",
6335
6357
  repeatCount: "indefinite",
6336
6358
  begin: "-0.5s"
6337
- })), /*#__PURE__*/React.createElement("circle", {
6359
+ })), /*#__PURE__*/React__default["default"].createElement("circle", {
6338
6360
  cx: "47.59",
6339
6361
  cy: "50",
6340
6362
  r: "10",
6341
6363
  fill: "currentColor"
6342
- }, /*#__PURE__*/React.createElement("animate", {
6364
+ }, /*#__PURE__*/React__default["default"].createElement("animate", {
6343
6365
  attributeName: "r",
6344
6366
  values: "0;10;10;10;0",
6345
6367
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6348,7 +6370,7 @@ var Loading = function Loading(_ref) {
6348
6370
  dur: "2s",
6349
6371
  repeatCount: "indefinite",
6350
6372
  begin: "0s"
6351
- }), /*#__PURE__*/React.createElement("animate", {
6373
+ }), /*#__PURE__*/React__default["default"].createElement("animate", {
6352
6374
  attributeName: "cx",
6353
6375
  values: "16;16;50;84;84",
6354
6376
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6357,12 +6379,12 @@ var Loading = function Loading(_ref) {
6357
6379
  dur: "2s",
6358
6380
  repeatCount: "indefinite",
6359
6381
  begin: "0s"
6360
- })), /*#__PURE__*/React.createElement("circle", {
6382
+ })), /*#__PURE__*/React__default["default"].createElement("circle", {
6361
6383
  cx: "16",
6362
6384
  cy: "50",
6363
6385
  r: "9.291",
6364
6386
  fill: "currentColor"
6365
- }, /*#__PURE__*/React.createElement("animate", {
6387
+ }, /*#__PURE__*/React__default["default"].createElement("animate", {
6366
6388
  attributeName: "r",
6367
6389
  values: "0;0;10;10;10",
6368
6390
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6371,7 +6393,7 @@ var Loading = function Loading(_ref) {
6371
6393
  dur: "2s",
6372
6394
  repeatCount: "indefinite",
6373
6395
  begin: "0s"
6374
- }), /*#__PURE__*/React.createElement("animate", {
6396
+ }), /*#__PURE__*/React__default["default"].createElement("animate", {
6375
6397
  attributeName: "cx",
6376
6398
  values: "16;16;16;50;84",
6377
6399
  keyTimes: "0;0.25;0.5;0.75;1",
@@ -6383,16 +6405,16 @@ var Loading = function Loading(_ref) {
6383
6405
  }))));
6384
6406
  };
6385
6407
  Loading.propTypes = {
6386
- width: PropTypes.object,
6387
- height: PropTypes.object,
6388
- iconColor: PropTypes.object
6408
+ width: PropTypes__default["default"].object,
6409
+ height: PropTypes__default["default"].object,
6410
+ iconColor: PropTypes__default["default"].object
6389
6411
  };
6390
6412
 
6391
6413
  function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6392
6414
 
6393
6415
  function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6394
- var Lightbox = /*#__PURE__*/lazy(function () {
6395
- return import('react-image-lightbox');
6416
+ var Lightbox = /*#__PURE__*/React.lazy(function () {
6417
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-image-lightbox')); });
6396
6418
  });
6397
6419
  var FullScreenImages = function FullScreenImages(_ref) {
6398
6420
  var _ref$imageSlug = _ref.imageSlug,
@@ -6401,16 +6423,16 @@ var FullScreenImages = function FullScreenImages(_ref) {
6401
6423
  _ref$element = _ref.element,
6402
6424
  element = _ref$element === void 0 ? {} : _ref$element,
6403
6425
  props = _ref.props;
6404
- var cdnImage = useSelector(function (state) {
6426
+ var cdnImage = reactRedux.useSelector(function (state) {
6405
6427
  return get_1(state, ["qt", "config", "cdn-image"]);
6406
6428
  });
6407
6429
 
6408
- var _useState = useState(0),
6430
+ var _useState = React.useState(0),
6409
6431
  _useState2 = _slicedToArray(_useState, 2),
6410
6432
  photoIndex = _useState2[0],
6411
6433
  handleImage = _useState2[1];
6412
6434
 
6413
- var _useState3 = useState(false),
6435
+ var _useState3 = React.useState(false),
6414
6436
  _useState4 = _slicedToArray(_useState3, 2),
6415
6437
  isOpen = _useState4[0],
6416
6438
  handleOpen = _useState4[1];
@@ -6452,7 +6474,7 @@ var FullScreenImages = function FullScreenImages(_ref) {
6452
6474
 
6453
6475
  var getHyperLink = function getHyperLink() {
6454
6476
  if (element.hyperlink || hyperlinks[photoIndex]) {
6455
- return /*#__PURE__*/React.createElement(HyperLink, {
6477
+ return /*#__PURE__*/React__default["default"].createElement(HyperLink, {
6456
6478
  hyperLink: element.hyperlink || hyperlinks[photoIndex]
6457
6479
  });
6458
6480
  }
@@ -6477,23 +6499,23 @@ var FullScreenImages = function FullScreenImages(_ref) {
6477
6499
  };
6478
6500
 
6479
6501
  var LoadingScreen = function LoadingScreen() {
6480
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Loading, null));
6502
+ return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Loading, null));
6481
6503
  };
6482
6504
 
6483
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(template, _objectSpread$1(_defineProperty({}, onClickKey, onClickHandler), props)), isOpen ? /*#__PURE__*/React.createElement(Suspense, {
6484
- fallback: /*#__PURE__*/React.createElement(LoadingScreen, null)
6485
- }, /*#__PURE__*/React.createElement(Lightbox, _extends({
6505
+ return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(template, _objectSpread$1(_defineProperty({}, onClickKey, onClickHandler), props)), isOpen ? /*#__PURE__*/React__default["default"].createElement(React.Suspense, {
6506
+ fallback: /*#__PURE__*/React__default["default"].createElement(LoadingScreen, null)
6507
+ }, /*#__PURE__*/React__default["default"].createElement(Lightbox, _extends({
6486
6508
  wrapperClassName: "arr--image-lightbox",
6487
6509
  onCloseRequest: onClose
6488
6510
  }, lightboxProps))) : null);
6489
6511
  };
6490
6512
  FullScreenImages.propTypes = {
6491
- imageSlug: PropTypes.string,
6492
- template: PropTypes.func,
6493
- element: PropTypes.shape({
6494
- "story-elements": PropTypes.array
6513
+ imageSlug: PropTypes__default["default"].string,
6514
+ template: PropTypes__default["default"].func,
6515
+ element: PropTypes__default["default"].shape({
6516
+ "story-elements": PropTypes__default["default"].array
6495
6517
  }),
6496
- props: PropTypes.object
6518
+ props: PropTypes__default["default"].object
6497
6519
  };
6498
6520
 
6499
6521
  var _styleModuleImportMap$d = {
@@ -6530,14 +6552,14 @@ var CaptionAttribution = function CaptionAttribution(_ref) {
6530
6552
  var caption = heroImageCaption || title;
6531
6553
  var attribution = heroImageAttribution || imageAttribution;
6532
6554
  var updateStyle = caption ? "wrapper" : "";
6533
- return /*#__PURE__*/React.createElement("div", {
6555
+ return /*#__PURE__*/React__default["default"].createElement("div", {
6534
6556
  "data-test-id": "caption",
6535
6557
  className: "arr--caption-attribution " + _getClassName("caption ".concat(textColor), _styleModuleImportMap$d)
6536
- }, /*#__PURE__*/React.createElement("span", {
6558
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
6537
6559
  dangerouslySetInnerHTML: {
6538
6560
  __html: caption
6539
6561
  }
6540
- }), attribution && /*#__PURE__*/React.createElement("span", {
6562
+ }), attribution && /*#__PURE__*/React__default["default"].createElement("span", {
6541
6563
  "data-test-id": "attribution",
6542
6564
  dangerouslySetInnerHTML: {
6543
6565
  __html: attribution
@@ -6546,13 +6568,13 @@ var CaptionAttribution = function CaptionAttribution(_ref) {
6546
6568
  }));
6547
6569
  };
6548
6570
  CaptionAttribution.propTypes = {
6549
- config: PropTypes.shape({
6550
- theme: PropTypes.string
6571
+ config: PropTypes__default["default"].shape({
6572
+ theme: PropTypes__default["default"].string
6551
6573
  }),
6552
6574
  story: shapeStory,
6553
- element: PropTypes.shape({
6554
- "image-attribution": PropTypes.string,
6555
- title: PropTypes.string
6575
+ element: PropTypes__default["default"].shape({
6576
+ "image-attribution": PropTypes__default["default"].string,
6577
+ title: PropTypes__default["default"].string
6556
6578
  })
6557
6579
  };
6558
6580
 
@@ -6574,14 +6596,14 @@ var ImageBase = function ImageBase(_ref) {
6574
6596
 
6575
6597
  var ImageTemplate = function ImageTemplate(_ref2) {
6576
6598
  var _onClick = _ref2.onClick;
6577
- return /*#__PURE__*/React.createElement("div", {
6599
+ return /*#__PURE__*/React__default["default"].createElement("div", {
6578
6600
  className: "image-m_image-template__3s9OA"
6579
- }, /*#__PURE__*/React.createElement("figure", {
6601
+ }, /*#__PURE__*/React__default["default"].createElement("figure", {
6580
6602
  className: "image-m_element__KVuzX",
6581
6603
  onClick: function onClick() {
6582
6604
  return _onClick();
6583
6605
  }
6584
- }, /*#__PURE__*/React.createElement(ResponsiveImage, {
6606
+ }, /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
6585
6607
  slug: element["image-s3-key"],
6586
6608
  metadata: element["image-metadata"],
6587
6609
  alt: element["title"],
@@ -6591,40 +6613,40 @@ var ImageBase = function ImageBase(_ref) {
6591
6613
  imgParams: {
6592
6614
  auto: ["format", "compress"]
6593
6615
  }
6594
- })), element["hyperlink"] && /*#__PURE__*/React.createElement(HyperLink, {
6616
+ })), element["hyperlink"] && /*#__PURE__*/React__default["default"].createElement(HyperLink, {
6595
6617
  hyperLink: element["hyperlink"]
6596
6618
  }));
6597
6619
  };
6598
6620
 
6599
6621
  ImageTemplate.propTypes = {
6600
- onClick: PropTypes.func
6622
+ onClick: PropTypes__default["default"].func
6601
6623
  };
6602
- return /*#__PURE__*/React.createElement("div", _extends({
6624
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
6603
6625
  className: "arrow-component arr--image-element"
6604
6626
  }, restProps, {
6605
6627
  "data-test-id": "image-element"
6606
- }), /*#__PURE__*/React.createElement(FullScreenImages, {
6628
+ }), /*#__PURE__*/React__default["default"].createElement(FullScreenImages, {
6607
6629
  template: ImageTemplate,
6608
6630
  element: element,
6609
6631
  imageSlug: element["image-s3-key"],
6610
6632
  story: story
6611
- }), caption && /*#__PURE__*/React.createElement(CaptionAttribution, {
6633
+ }), caption && /*#__PURE__*/React__default["default"].createElement(CaptionAttribution, {
6612
6634
  element: element,
6613
6635
  config: configData
6614
6636
  }));
6615
6637
  };
6616
6638
 
6617
6639
  ImageBase.propTypes = {
6618
- element: PropTypes.shape({
6619
- "image-s3-key": PropTypes.string,
6620
- "image-metadata": PropTypes.object,
6621
- "image-attribution": PropTypes.string,
6622
- title: PropTypes.string,
6623
- hyperlink: PropTypes.string
6640
+ element: PropTypes__default["default"].shape({
6641
+ "image-s3-key": PropTypes__default["default"].string,
6642
+ "image-metadata": PropTypes__default["default"].object,
6643
+ "image-attribution": PropTypes__default["default"].string,
6644
+ title: PropTypes__default["default"].string,
6645
+ hyperlink: PropTypes__default["default"].string
6624
6646
  }),
6625
- caption: PropTypes.bool,
6626
- opts: PropTypes.shape({
6627
- imageWidths: PropTypes.array
6647
+ caption: PropTypes__default["default"].bool,
6648
+ opts: PropTypes__default["default"].shape({
6649
+ imageWidths: PropTypes__default["default"].array
6628
6650
  }),
6629
6651
  story: shapeStory,
6630
6652
  config: shapeConfig
@@ -6717,14 +6739,14 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6717
6739
  var isAuthorImageTemplate = template === "withAuthorImage";
6718
6740
  var templateStyle = isAuthorImageTemplate ? "qa-withAuthorImage" : "qa-default";
6719
6741
  var iconType = defaultIconType === "curve" ? "curveIcon" : "edgeIcon";
6720
- var supportQuestionElement = isAuthorImageTemplate ? questionAttribution && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
6742
+ var supportQuestionElement = isAuthorImageTemplate ? questionAttribution && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
6721
6743
  className: "question-answer-m_labelAttribution__Rq-v3"
6722
- }, /*#__PURE__*/React.createElement("img", {
6744
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
6723
6745
  src: questionAttribution,
6724
6746
  loading: "lazy"
6725
- })), /*#__PURE__*/React.createElement("span", {
6747
+ })), /*#__PURE__*/React__default["default"].createElement("span", {
6726
6748
  className: "question-answer-m_hidden__K0n4n"
6727
- })) : /*#__PURE__*/React.createElement("div", {
6749
+ })) : /*#__PURE__*/React__default["default"].createElement("div", {
6728
6750
  "data-test-id": iconType,
6729
6751
  style: {
6730
6752
  backgroundColor: iconColor
@@ -6732,36 +6754,36 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6732
6754
  className: _getClassName("".concat(iconType, " ").concat(theme), _styleModuleImportMap$c)
6733
6755
  }, "Q"); // EMPTY SPAN FOR EXTRA SPACE
6734
6756
 
6735
- var supportAnswerElement = isAuthorImageTemplate ? answerAttribution && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
6757
+ var supportAnswerElement = isAuthorImageTemplate ? answerAttribution && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
6736
6758
  className: "question-answer-m_labelAttribution__Rq-v3"
6737
- }, /*#__PURE__*/React.createElement("img", {
6759
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
6738
6760
  src: answerAttribution,
6739
6761
  loading: "lazy"
6740
- })), /*#__PURE__*/React.createElement("span", {
6762
+ })), /*#__PURE__*/React__default["default"].createElement("span", {
6741
6763
  className: "question-answer-m_hidden__K0n4n"
6742
- })) : /*#__PURE__*/React.createElement("div", {
6764
+ })) : /*#__PURE__*/React__default["default"].createElement("div", {
6743
6765
  "data-test-id": iconType,
6744
6766
  style: {
6745
6767
  backgroundColor: iconColor
6746
6768
  },
6747
6769
  className: _getClassName("".concat(iconType, " ").concat(theme), _styleModuleImportMap$c)
6748
6770
  }, "A");
6749
- return /*#__PURE__*/React.createElement("div", _extends({
6771
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
6750
6772
  "data-test-id": "question-answer"
6751
6773
  }, restProps, {
6752
6774
  className: "arrow-component arr-custom-style arr--qa-element " + _getClassName(templateStyle, _styleModuleImportMap$c) + (" " + (restProps ? restProps.className || "" : ""))
6753
- }), type !== "answer" && /*#__PURE__*/React.createElement("div", {
6775
+ }), type !== "answer" && /*#__PURE__*/React__default["default"].createElement("div", {
6754
6776
  className: "question-answer-m_q-element__1ZA5d",
6755
6777
  "data-test-id": "question"
6756
- }, supportQuestionElement, /*#__PURE__*/React.createElement("div", {
6778
+ }, supportQuestionElement, /*#__PURE__*/React__default["default"].createElement("div", {
6757
6779
  dangerouslySetInnerHTML: {
6758
6780
  __html: questionData
6759
6781
  },
6760
6782
  className: _getClassName("content ".concat(textInvertColor), _styleModuleImportMap$c)
6761
- })), type !== "question" && /*#__PURE__*/React.createElement("div", {
6783
+ })), type !== "question" && /*#__PURE__*/React__default["default"].createElement("div", {
6762
6784
  className: "question-answer-m_a-element__BTxfl",
6763
6785
  "data-test-id": "answer"
6764
- }, supportAnswerElement, /*#__PURE__*/React.createElement("div", {
6786
+ }, supportAnswerElement, /*#__PURE__*/React__default["default"].createElement("div", {
6765
6787
  dangerouslySetInnerHTML: {
6766
6788
  __html: answerData
6767
6789
  },
@@ -6770,29 +6792,29 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6770
6792
  };
6771
6793
 
6772
6794
  QuestionAnswerBase.propTypes = {
6773
- element: PropTypes.shape({
6774
- metadata: PropTypes.shape({
6775
- interviewer: PropTypes.shape({
6776
- "avatar-url": PropTypes.string
6795
+ element: PropTypes__default["default"].shape({
6796
+ metadata: PropTypes__default["default"].shape({
6797
+ interviewer: PropTypes__default["default"].shape({
6798
+ "avatar-url": PropTypes__default["default"].string
6777
6799
  }),
6778
- interviewee: PropTypes.shape({
6779
- "avatar-url": PropTypes.string
6800
+ interviewee: PropTypes__default["default"].shape({
6801
+ "avatar-url": PropTypes__default["default"].string
6780
6802
  }),
6781
- question: PropTypes.string,
6782
- answer: PropTypes.string
6803
+ question: PropTypes__default["default"].string,
6804
+ answer: PropTypes__default["default"].string
6783
6805
  }),
6784
- text: PropTypes.string
6806
+ text: PropTypes__default["default"].string
6785
6807
  }),
6786
- opts: PropTypes.shape({
6787
- type: PropTypes.string,
6788
- defaultIconType: PropTypes.string,
6789
- isExternalLink: PropTypes.bool
6808
+ opts: PropTypes__default["default"].shape({
6809
+ type: PropTypes__default["default"].string,
6810
+ defaultIconType: PropTypes__default["default"].string,
6811
+ isExternalLink: PropTypes__default["default"].bool
6790
6812
  }),
6791
- template: PropTypes.string,
6792
- css: PropTypes.object,
6813
+ template: PropTypes__default["default"].string,
6814
+ css: PropTypes__default["default"].object,
6793
6815
  config: shapeConfig,
6794
6816
  story: shapeStory,
6795
- render: PropTypes.func
6817
+ render: PropTypes__default["default"].func
6796
6818
  };
6797
6819
  var QuestionAnswer = withElementWrapper(QuestionAnswerBase);
6798
6820
 
@@ -6834,17 +6856,17 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
6834
6856
  var ImageGalleryImagesTemplate = function ImageGalleryImagesTemplate(_ref2) {
6835
6857
  var onClickHandler = _ref2.onClickHandler;
6836
6858
  var images = renderImage.map(function (image, index) {
6837
- return /*#__PURE__*/React.createElement("div", {
6859
+ return /*#__PURE__*/React__default["default"].createElement("div", {
6838
6860
  key: index,
6839
6861
  className: _getClassName(hyperlinkClass(image["hyperlink"]), _styleModuleImportMap$b)
6840
- }, /*#__PURE__*/React.createElement("figure", {
6862
+ }, /*#__PURE__*/React__default["default"].createElement("figure", {
6841
6863
  key: index,
6842
6864
  "data-text-id": "image-".concat(index),
6843
6865
  onClick: function onClick() {
6844
6866
  return onClickHandler && onClickHandler(index);
6845
6867
  },
6846
6868
  className: _getClassName("image ".concat(classes), _styleModuleImportMap$b)
6847
- }, /*#__PURE__*/React.createElement(ResponsiveImage, {
6869
+ }, /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
6848
6870
  slug: image["image-s3-key"],
6849
6871
  metadata: image["image-metadata"],
6850
6872
  alt: image["title"],
@@ -6853,11 +6875,11 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
6853
6875
  imgParams: {
6854
6876
  auto: ["format", "compress"]
6855
6877
  }
6856
- })), image["hyperlink"] && /*#__PURE__*/React.createElement(HyperLink, {
6878
+ })), image["hyperlink"] && /*#__PURE__*/React__default["default"].createElement(HyperLink, {
6857
6879
  hyperLink: image["hyperlink"]
6858
6880
  }));
6859
6881
  });
6860
- return /*#__PURE__*/React.createElement("div", _extends({
6882
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
6861
6883
  className: " arrow-component arr--image-element image-gallery-m_image-gallery__1Q7if" + (" " + (restProps ? restProps.className || "" : ""))
6862
6884
  }, restProps, {
6863
6885
  "data-test-id": "image-gallery"
@@ -6865,24 +6887,24 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
6865
6887
  };
6866
6888
 
6867
6889
  ImageGalleryImagesTemplate.propTypes = {
6868
- onClickHandler: PropTypes.func
6890
+ onClickHandler: PropTypes__default["default"].func
6869
6891
  };
6870
- return /*#__PURE__*/React.createElement(FullScreenImages, {
6892
+ return /*#__PURE__*/React__default["default"].createElement(FullScreenImages, {
6871
6893
  template: ImageGalleryImagesTemplate,
6872
6894
  element: element
6873
6895
  });
6874
6896
  };
6875
6897
 
6876
6898
  ImageGalleryBase.propTypes = {
6877
- element: PropTypes.shape({
6878
- "story-elements": PropTypes.array
6899
+ element: PropTypes__default["default"].shape({
6900
+ "story-elements": PropTypes__default["default"].array
6879
6901
  }),
6880
- opts: PropTypes.shape({
6881
- imageWidths: PropTypes.array
6902
+ opts: PropTypes__default["default"].shape({
6903
+ imageWidths: PropTypes__default["default"].array
6882
6904
  }),
6883
6905
  story: shapeStory,
6884
6906
  config: shapeConfig,
6885
- template: PropTypes.string
6907
+ template: PropTypes__default["default"].string
6886
6908
  };
6887
6909
  var ImageGallery = withElementWrapper(ImageGalleryBase);
6888
6910
 
@@ -6894,16 +6916,16 @@ var StoryElementBase = function StoryElementBase(_ref) {
6894
6916
  _ref.config;
6895
6917
  var restProps = _objectWithoutProperties(_ref, _excluded$4);
6896
6918
 
6897
- return /*#__PURE__*/React.createElement("div", _extends({}, restProps, {
6919
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({}, restProps, {
6898
6920
  "data-test-id": "story-elements"
6899
- }), /*#__PURE__*/React.createElement(StoryElement$1, {
6921
+ }), /*#__PURE__*/React__default["default"].createElement(components.StoryElement, {
6900
6922
  element: element
6901
6923
  }));
6902
6924
  };
6903
6925
 
6904
6926
  var StoryElement = withElementWrapper(StoryElementBase);
6905
6927
  StoryElementBase.propTypes = {
6906
- element: PropTypes.object,
6928
+ element: PropTypes__default["default"].object,
6907
6929
  story: shapeStory,
6908
6930
  config: shapeConfig
6909
6931
  };
@@ -6918,21 +6940,21 @@ var Videobase = function Videobase(_ref) {
6918
6940
  loadIframeOnClick = _ref$loadIframeOnClic === void 0 ? false : _ref$loadIframeOnClic,
6919
6941
  restProps = _objectWithoutProperties(_ref, _excluded$3);
6920
6942
 
6921
- return /*#__PURE__*/React.createElement("div", _extends({
6943
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
6922
6944
  className: "video-m_container__MYuWI" + (" " + (restProps ? restProps.className || "" : ""))
6923
6945
  }, restProps, {
6924
6946
  "data-test-id": "video"
6925
- }), /*#__PURE__*/React.createElement(StoryElement$1, {
6947
+ }), /*#__PURE__*/React__default["default"].createElement(components.StoryElement, {
6926
6948
  element: element,
6927
6949
  loadIframeOnClick: loadIframeOnClick
6928
6950
  }));
6929
6951
  };
6930
6952
 
6931
6953
  Videobase.propTypes = {
6932
- element: PropTypes.object,
6954
+ element: PropTypes__default["default"].object,
6933
6955
  story: shapeStory,
6934
6956
  config: shapeConfig,
6935
- loadIframeOnClick: PropTypes.bool
6957
+ loadIframeOnClick: PropTypes__default["default"].bool
6936
6958
  };
6937
6959
  var Video = withElementWrapper(Videobase);
6938
6960
 
@@ -6973,16 +6995,16 @@ var QuoteBase = function QuoteBase(_ref) {
6973
6995
  var borderColor = css.borderColor;
6974
6996
  var updateBorderColor = template === "borderLeft" && "4px solid ".concat(borderColor);
6975
6997
  var templateStyle = template ? "quote-".concat(template) : "quote";
6976
- return /*#__PURE__*/React.createElement("div", _extends({
6998
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
6977
6999
  "data-test-id": "quote"
6978
7000
  }, restProps, {
6979
7001
  className: "arrow-component arr--quote-element " + _getClassName(templateStyle, _styleModuleImportMap$a) + (" " + (restProps ? restProps.className || "" : ""))
6980
- }), template === "borderTopSmall" && /*#__PURE__*/React.createElement("div", {
7002
+ }), template === "borderTopSmall" && /*#__PURE__*/React__default["default"].createElement("div", {
6981
7003
  className: "quote-m_line__3gtoE",
6982
7004
  style: borderColor && {
6983
7005
  backgroundColor: borderColor
6984
7006
  }
6985
- }), /*#__PURE__*/React.createElement("p", {
7007
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
6986
7008
  style: borderColor && {
6987
7009
  borderLeft: updateBorderColor
6988
7010
  },
@@ -6990,26 +7012,26 @@ var QuoteBase = function QuoteBase(_ref) {
6990
7012
  __html: content
6991
7013
  },
6992
7014
  className: _getClassName("text ".concat(textInvertColor), _styleModuleImportMap$a)
6993
- }), /*#__PURE__*/React.createElement("p", {
7015
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
6994
7016
  "data-test-id": "quote-attribution",
6995
7017
  className: _getClassName("attribution ".concat(textInvertColor), _styleModuleImportMap$a)
6996
7018
  }, attribution));
6997
7019
  };
6998
7020
 
6999
7021
  QuoteBase.propTypes = {
7000
- element: PropTypes.shape({
7001
- metadata: PropTypes.shape({
7002
- content: PropTypes.string,
7003
- attribution: PropTypes.string
7022
+ element: PropTypes__default["default"].shape({
7023
+ metadata: PropTypes__default["default"].shape({
7024
+ content: PropTypes__default["default"].string,
7025
+ attribution: PropTypes__default["default"].string
7004
7026
  })
7005
7027
  }),
7006
7028
 
7007
7029
  /** template can be default, borderTopSmall and borderLeft */
7008
- template: PropTypes.string,
7030
+ template: PropTypes__default["default"].string,
7009
7031
  story: shapeStory,
7010
7032
  config: shapeConfig,
7011
- render: PropTypes.func,
7012
- css: PropTypes.object
7033
+ render: PropTypes__default["default"].func,
7034
+ css: PropTypes__default["default"].object
7013
7035
  };
7014
7036
  var Quote = withElementWrapper(QuoteBase);
7015
7037
 
@@ -7043,7 +7065,7 @@ var ReferenceBase = function ReferenceBase(_ref) {
7043
7065
  var _opts$showHeadline = opts.showHeadline,
7044
7066
  showHeadline = _opts$showHeadline === void 0 ? true : _opts$showHeadline,
7045
7067
  headlineText = opts.headlineText;
7046
- return /*#__PURE__*/React.createElement("div", _extends({
7068
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
7047
7069
  className: "arrow-component arr--reference-element"
7048
7070
  }, restProps), eleArr && eleArr.map(function (metadata, index) {
7049
7071
  var _metadata$name = metadata.name,
@@ -7051,33 +7073,33 @@ var ReferenceBase = function ReferenceBase(_ref) {
7051
7073
  _metadata$description = metadata.description,
7052
7074
  description = _metadata$description === void 0 ? "" : _metadata$description,
7053
7075
  url = metadata.url;
7054
- return /*#__PURE__*/React.createElement("div", {
7076
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7055
7077
  key: index,
7056
7078
  className: _getClassName("wrapper ".concat(textInvertColor), _styleModuleImportMap$9)
7057
- }, /*#__PURE__*/React.createElement(Link, {
7079
+ }, /*#__PURE__*/React__default["default"].createElement(components.Link, {
7058
7080
  href: url,
7059
7081
  "aria-label": "reference-headline"
7060
- }, showHeadline && /*#__PURE__*/React.createElement("div", {
7082
+ }, showHeadline && /*#__PURE__*/React__default["default"].createElement("div", {
7061
7083
  className: "reference-m_name__24IwG",
7062
7084
  "data-test-id": "ref-headline"
7063
- }, headlineText || name), /*#__PURE__*/React.createElement("div", {
7085
+ }, headlineText || name), /*#__PURE__*/React__default["default"].createElement("div", {
7064
7086
  className: "reference-m_description__2x3Io"
7065
7087
  }, description)));
7066
7088
  }));
7067
7089
  };
7068
7090
 
7069
7091
  ReferenceBase.propTypes = {
7070
- element: PropTypes.shape({
7071
- "story-elements": PropTypes.arrayOf(PropTypes.shape({
7072
- metadata: PropTypes.shape({
7073
- name: PropTypes.string,
7074
- description: PropTypes.string,
7075
- url: PropTypes.string
7092
+ element: PropTypes__default["default"].shape({
7093
+ "story-elements": PropTypes__default["default"].arrayOf(PropTypes__default["default"].shape({
7094
+ metadata: PropTypes__default["default"].shape({
7095
+ name: PropTypes__default["default"].string,
7096
+ description: PropTypes__default["default"].string,
7097
+ url: PropTypes__default["default"].string
7076
7098
  })
7077
7099
  }))
7078
7100
  }),
7079
- opts: PropTypes.shape({
7080
- hideHeadline: PropTypes.bool
7101
+ opts: PropTypes__default["default"].shape({
7102
+ hideHeadline: PropTypes__default["default"].bool
7081
7103
  }),
7082
7104
  config: shapeConfig
7083
7105
  };
@@ -7119,28 +7141,28 @@ var AttachmentBase = function AttachmentBase(_ref) {
7119
7141
  var textColor = getTextColor(configData.theme);
7120
7142
  var defaultName = isPdf ? "Attached PDF" : "Attached DOC";
7121
7143
  var defaultFileName = fileName || defaultName;
7122
- return /*#__PURE__*/React.createElement("div", _extends({
7144
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends({
7123
7145
  "data-test-id": "attachment"
7124
7146
  }, restProps, {
7125
7147
  className: "arrow-component arr--attachment-element " + _getClassName(textColor, _styleModuleImportMap$8) + (" " + (restProps ? restProps.className || "" : ""))
7126
- }), /*#__PURE__*/React.createElement("div", {
7148
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
7127
7149
  className: "attachment-m_headline__kP7Hs"
7128
- }, "Attachment"), /*#__PURE__*/React.createElement("div", {
7150
+ }, "Attachment"), /*#__PURE__*/React__default["default"].createElement("div", {
7129
7151
  className: "attachment-m_wrapper__3gMwN"
7130
- }, isPdf ? /*#__PURE__*/React.createElement("div", {
7152
+ }, isPdf ? /*#__PURE__*/React__default["default"].createElement("div", {
7131
7153
  "data-test-id": "pdf",
7132
7154
  className: "attachment-m_pdf__3i_bR"
7133
- }, "PDF") : /*#__PURE__*/React.createElement("div", {
7155
+ }, "PDF") : /*#__PURE__*/React__default["default"].createElement("div", {
7134
7156
  "data-test-id": "doc",
7135
7157
  className: "attachment-m_doc__6vUVo attachment-m_pdf__3i_bR"
7136
- }, "DOC"), /*#__PURE__*/React.createElement("div", {
7158
+ }, "DOC"), /*#__PURE__*/React__default["default"].createElement("div", {
7137
7159
  className: "attachment-m_content-wrapper__3Yu0B"
7138
- }, /*#__PURE__*/React.createElement("div", {
7160
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7139
7161
  className: "attachment-m_file-name__1LU9q",
7140
7162
  dangerouslySetInnerHTML: {
7141
7163
  __html: defaultFileName
7142
7164
  }
7143
- }), /*#__PURE__*/React.createElement(Link, {
7165
+ }), /*#__PURE__*/React__default["default"].createElement(components.Link, {
7144
7166
  className: "attachment-m_button-wrapper__2fajK",
7145
7167
  href: url,
7146
7168
  target: "_blank",
@@ -7151,59 +7173,59 @@ var AttachmentBase = function AttachmentBase(_ref) {
7151
7173
  };
7152
7174
 
7153
7175
  AttachmentBase.propTypes = {
7154
- element: PropTypes.shape({
7155
- url: PropTypes.string,
7156
- fileName: PropTypes.string,
7157
- contentType: PropTypes.string
7176
+ element: PropTypes__default["default"].shape({
7177
+ url: PropTypes__default["default"].string,
7178
+ fileName: PropTypes__default["default"].string,
7179
+ contentType: PropTypes__default["default"].string
7158
7180
  }),
7159
- render: PropTypes.func
7181
+ render: PropTypes__default["default"].func
7160
7182
  };
7161
7183
  var Attachment = withElementWrapper(AttachmentBase);
7162
7184
 
7163
7185
  var LeftArrow = function LeftArrow(_ref) {
7164
7186
  var _ref$color = _ref.color,
7165
7187
  color = _ref$color === void 0 ? "#333" : _ref$color;
7166
- return /*#__PURE__*/React.createElement("svg", {
7188
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
7167
7189
  xmlns: "http://www.w3.org/2000/svg",
7168
7190
  width: "16",
7169
7191
  height: "16",
7170
7192
  viewBox: "0 0 10 16"
7171
- }, /*#__PURE__*/React.createElement("g", {
7193
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
7172
7194
  fill: "none",
7173
7195
  fillRule: "nonzero"
7174
- }, /*#__PURE__*/React.createElement("path", {
7196
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
7175
7197
  d: "M17 20H-7V-4h24z",
7176
7198
  opacity: ".384"
7177
- }), /*#__PURE__*/React.createElement("path", {
7199
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
7178
7200
  stroke: color,
7179
7201
  d: "M9 16L1 8l8-8"
7180
7202
  })));
7181
7203
  };
7182
7204
  LeftArrow.propTypes = {
7183
- color: PropTypes.string
7205
+ color: PropTypes__default["default"].string
7184
7206
  };
7185
7207
 
7186
7208
  var RightArrow = function RightArrow(_ref) {
7187
7209
  var _ref$color = _ref.color,
7188
7210
  color = _ref$color === void 0 ? "#333" : _ref$color;
7189
- return /*#__PURE__*/React.createElement("svg", {
7211
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
7190
7212
  xmlns: "http://www.w3.org/2000/svg",
7191
7213
  width: "16",
7192
7214
  height: "16",
7193
7215
  viewBox: "0 0 10 16"
7194
- }, /*#__PURE__*/React.createElement("g", {
7216
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
7195
7217
  fill: "none",
7196
7218
  fillRule: "nonzero"
7197
- }, /*#__PURE__*/React.createElement("path", {
7219
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
7198
7220
  d: "M-7-4h24v24H-7z",
7199
7221
  opacity: ".384"
7200
- }), /*#__PURE__*/React.createElement("path", {
7222
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
7201
7223
  stroke: color,
7202
7224
  d: "M1 0l8 8-8 8"
7203
7225
  })));
7204
7226
  };
7205
7227
  RightArrow.propTypes = {
7206
- color: PropTypes.string
7228
+ color: PropTypes__default["default"].string
7207
7229
  };
7208
7230
 
7209
7231
  var _styleModuleImportMap$7 = {
@@ -7241,26 +7263,26 @@ var SliderArrow = function SliderArrow(_ref) {
7241
7263
 
7242
7264
  var getLeftArrowClassName = languageDirection === "rtl" ? "left-arrow-rtl" : "left-arrow-ltr";
7243
7265
  var getRightArrowClassName = languageDirection === "rtl" ? "right-arrow-rtl" : "right-arrow-ltr";
7244
- return /*#__PURE__*/React.createElement(React.Fragment, null, selectedIndex !== 0 ? /*#__PURE__*/React.createElement("button", {
7266
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, selectedIndex !== 0 ? /*#__PURE__*/React__default["default"].createElement("button", {
7245
7267
  onClick: previousClick,
7246
7268
  className: ("left-arrow ".concat(getLeftArrowClassName) ? "left-arrow ".concat(getLeftArrowClassName) + " " : "") + _getClassName("arrow left-arrow-".concat(textColor, " ").concat(getLeftArrowClassName), _styleModuleImportMap$7)
7247
- }, /*#__PURE__*/React.createElement(LeftArrow, {
7269
+ }, /*#__PURE__*/React__default["default"].createElement(LeftArrow, {
7248
7270
  color: textColor === "dark" ? "#fff" : "#333"
7249
- })) : null, selectedIndex < noOfItems - 1 && rightArrowView() ? /*#__PURE__*/React.createElement("button", {
7271
+ })) : null, selectedIndex < noOfItems - 1 && rightArrowView() ? /*#__PURE__*/React__default["default"].createElement("button", {
7250
7272
  onClick: nextClick,
7251
7273
  className: ("right-arrow ".concat(getRightArrowClassName) ? "right-arrow ".concat(getRightArrowClassName) + " " : "") + _getClassName("arrow right-arrow-".concat(textColor, " ").concat(getRightArrowClassName), _styleModuleImportMap$7)
7252
- }, /*#__PURE__*/React.createElement(RightArrow, {
7274
+ }, /*#__PURE__*/React__default["default"].createElement(RightArrow, {
7253
7275
  color: textColor === "dark" ? "#fff" : "#333"
7254
7276
  })) : null);
7255
7277
  };
7256
7278
  SliderArrow.propTypes = {
7257
- noOfItems: number,
7258
- perView: number,
7259
- slideIndicator: string,
7260
- previousClick: func,
7261
- nextClick: func,
7262
- selectedIndex: number,
7263
- languageDirection: string
7279
+ noOfItems: PropTypes.number,
7280
+ perView: PropTypes.number,
7281
+ slideIndicator: PropTypes.string,
7282
+ previousClick: PropTypes.func,
7283
+ nextClick: PropTypes.func,
7284
+ selectedIndex: PropTypes.number,
7285
+ languageDirection: PropTypes.string
7264
7286
  };
7265
7287
 
7266
7288
  var _styleModuleImportMap$6 = {
@@ -7288,27 +7310,27 @@ var SliderIndicator = function SliderIndicator(_ref) {
7288
7310
 
7289
7311
  var config = useStateValue() || {};
7290
7312
  var textColor = getTextColor(config.theme);
7291
- return /*#__PURE__*/React.createElement("ul", {
7313
+ return /*#__PURE__*/React__default["default"].createElement("ul", {
7292
7314
  className: "slider-indicators slider-indicator-m_indicators__3MNXc"
7293
7315
  }, indicatorItems.map(function (_, index) {
7294
- return /*#__PURE__*/React.createElement("li", {
7316
+ return /*#__PURE__*/React__default["default"].createElement("li", {
7295
7317
  key: "slider-".concat(index),
7296
7318
  className: "indicator slider-indicator-m_indicator__gTv3x",
7297
7319
  onClick: function onClick(e) {
7298
7320
  return indicatorClick(e, index);
7299
7321
  }
7300
- }, /*#__PURE__*/React.createElement("button", {
7322
+ }, /*#__PURE__*/React__default["default"].createElement("button", {
7301
7323
  "aria-pressed": selectedIndex === index ? "true" : "false",
7302
7324
  className: ("indicator-button indicator-".concat(indicatorType) ? "indicator-button indicator-".concat(indicatorType) + " " : "") + _getClassName("indicator-button indicator-".concat(indicatorType, " indicator-").concat(indicatorType, "-").concat(textColor), _styleModuleImportMap$6)
7303
7325
  }));
7304
7326
  }));
7305
7327
  };
7306
7328
  SliderIndicator.propTypes = {
7307
- indicatorItems: array,
7308
- perView: number,
7309
- indicatorType: string,
7310
- indicatorClick: func,
7311
- selectedIndex: number
7329
+ indicatorItems: PropTypes.array,
7330
+ perView: PropTypes.number,
7331
+ indicatorType: PropTypes.string,
7332
+ indicatorClick: PropTypes.func,
7333
+ selectedIndex: PropTypes.number
7312
7334
  };
7313
7335
 
7314
7336
  var smoothScroll = function smoothScroll(node, topOrLeft, horizontal) {
@@ -7343,24 +7365,24 @@ var ScrollSnap = function ScrollSnap(_ref) {
7343
7365
  perView = _ref.perView,
7344
7366
  slideIndicator = _ref.slideIndicator;
7345
7367
 
7346
- var _useState = useState(0),
7368
+ var _useState = React.useState(0),
7347
7369
  _useState2 = _slicedToArray(_useState, 2),
7348
7370
  selectedIndex = _useState2[0],
7349
7371
  setSelectedIndex = _useState2[1];
7350
7372
 
7351
- var _useState3 = useState(false),
7373
+ var _useState3 = React.useState(false),
7352
7374
  _useState4 = _slicedToArray(_useState3, 2),
7353
7375
  autoScroll = _useState4[0],
7354
7376
  setAutoScroll = _useState4[1];
7355
7377
 
7356
- var languageDirection = useSelector(function (state) {
7378
+ var languageDirection = reactRedux.useSelector(function (state) {
7357
7379
  return get_1(state, ["qt", "config", "language", "direction"], "ltr");
7358
7380
  });
7359
7381
  var noOfItems = children ? children.length : 0;
7360
- var scroller = useRef(null);
7382
+ var scroller = React.useRef(null);
7361
7383
  var numberOfIndicatorsToShow = children.length - (perView - 1);
7362
7384
  var indicatorItems = children.slice(0, numberOfIndicatorsToShow);
7363
- useEffect(function () {
7385
+ React.useEffect(function () {
7364
7386
  if (scroller.current) {
7365
7387
  scroller.current.addEventListener("scroll", setIndicatorValue(function () {
7366
7388
  var value = Math.round(scroller.current.scrollLeft / scroller.current.scrollWidth * noOfItems);
@@ -7377,7 +7399,7 @@ var ScrollSnap = function ScrollSnap(_ref) {
7377
7399
  };
7378
7400
  }, []); // Infinite scroll
7379
7401
 
7380
- useEffect(function () {
7402
+ React.useEffect(function () {
7381
7403
  if (isInfinite && !autoScroll) {
7382
7404
  var timer = setInterval(function () {
7383
7405
  infiniteScroll();
@@ -7426,23 +7448,23 @@ var ScrollSnap = function ScrollSnap(_ref) {
7426
7448
  updateItemSelection(newIndex, languageDirection, scroller, noOfItems);
7427
7449
  };
7428
7450
 
7429
- return /*#__PURE__*/React.createElement("div", {
7451
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7430
7452
  className: "scroll-snap-container"
7431
- }, /*#__PURE__*/React.createElement("div", {
7453
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7432
7454
  className: "scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",
7433
7455
  onMouseEnter: pauseAutoPlay,
7434
7456
  onMouseLeave: pauseAutoPlay
7435
- }, /*#__PURE__*/React.createElement("div", {
7457
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7436
7458
  ref: scroller,
7437
7459
  className: "scroll-snap-carousel scroll-snap-m_carousel__2m3cg"
7438
- }, children), isArrow && /*#__PURE__*/React.createElement(SliderArrow, {
7460
+ }, children), isArrow && /*#__PURE__*/React__default["default"].createElement(SliderArrow, {
7439
7461
  noOfItems: noOfItems,
7440
7462
  perView: perView,
7441
7463
  previousClick: previousClick,
7442
7464
  nextClick: nextClick,
7443
7465
  selectedIndex: selectedIndex,
7444
7466
  languageDirection: languageDirection
7445
- })), children.length > perView && slideIndicator !== "none" && /*#__PURE__*/React.createElement(SliderIndicator, {
7467
+ })), children.length > perView && slideIndicator !== "none" && /*#__PURE__*/React__default["default"].createElement(SliderIndicator, {
7446
7468
  indicatorItems: indicatorItems,
7447
7469
  indicatorClick: indicatorClick,
7448
7470
  selectedIndex: selectedIndex,
@@ -7458,13 +7480,13 @@ ScrollSnap.defaultProps = {
7458
7480
  slideIndicator: "dots"
7459
7481
  };
7460
7482
  ScrollSnap.propTypes = {
7461
- children: array.isRequired,
7462
- isArrow: bool,
7463
- isInfinite: bool,
7464
- interval: number,
7465
- pauseOnHover: bool,
7466
- perView: number,
7467
- slideIndicator: string
7483
+ children: PropTypes.array.isRequired,
7484
+ isArrow: PropTypes.bool,
7485
+ isInfinite: PropTypes.bool,
7486
+ interval: PropTypes.number,
7487
+ pauseOnHover: PropTypes.bool,
7488
+ perView: PropTypes.number,
7489
+ slideIndicator: PropTypes.string
7468
7490
  };
7469
7491
 
7470
7492
  var ImageSlideshowBase = function ImageSlideshowBase(props) {
@@ -7477,18 +7499,18 @@ var ImageSlideshowBase = function ImageSlideshowBase(props) {
7477
7499
  title = image.title,
7478
7500
  _image$hyperlink = image.hyperlink,
7479
7501
  hyperlink = _image$hyperlink === void 0 ? "" : _image$hyperlink;
7480
- return /*#__PURE__*/React.createElement("div", {
7502
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7481
7503
  className: "image-slideshow-m_slide__3URCC",
7482
7504
  key: id
7483
- }, /*#__PURE__*/React.createElement("figure", {
7505
+ }, /*#__PURE__*/React__default["default"].createElement("figure", {
7484
7506
  key: id,
7485
7507
  className: "image-slideshow-m_image-container__2VTEK",
7486
7508
  onClick: function onClick() {
7487
7509
  return onClickHandler(index);
7488
7510
  }
7489
- }, /*#__PURE__*/React.createElement(LazyLoadImages, {
7511
+ }, /*#__PURE__*/React__default["default"].createElement(components.LazyLoadImages, {
7490
7512
  margin: "0px"
7491
- }, /*#__PURE__*/React.createElement(ResponsiveImage, {
7513
+ }, /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
7492
7514
  slug: imageS3Key,
7493
7515
  metadata: metadata,
7494
7516
  "aspect-ratio": [16, 9],
@@ -7499,9 +7521,9 @@ var ImageSlideshowBase = function ImageSlideshowBase(props) {
7499
7521
  },
7500
7522
  className: "image-slideshow-m_image__1p1fO",
7501
7523
  alt: title
7502
- }))), hyperlink && /*#__PURE__*/React.createElement(HyperLink, {
7524
+ }))), hyperlink && /*#__PURE__*/React__default["default"].createElement(HyperLink, {
7503
7525
  hyperLink: hyperlink
7504
- }), /*#__PURE__*/React.createElement("p", {
7526
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
7505
7527
  className: "image-slideshow-m_caption__mWpmc",
7506
7528
  dangerouslySetInnerHTML: {
7507
7529
  __html: title
@@ -7512,10 +7534,10 @@ var ImageSlideshowBase = function ImageSlideshowBase(props) {
7512
7534
  var ImageSlideshowTemplate = function ImageSlideshowTemplate(_ref) {
7513
7535
  var onClickHandler = _ref.onClickHandler;
7514
7536
  var storyElements = get_1(props, ["element", "story-elements"], []);
7515
- return /*#__PURE__*/React.createElement("div", {
7537
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7516
7538
  className: "arr--image-slideshow-element image-slideshow-m_slideshow__3jRFX",
7517
7539
  "data-test-id": "image-slideshow"
7518
- }, /*#__PURE__*/React.createElement(ScrollSnap, {
7540
+ }, /*#__PURE__*/React__default["default"].createElement(ScrollSnap, {
7519
7541
  slideIndicator: "none"
7520
7542
  }, storyElements.map(function (image, index) {
7521
7543
  return Slide(image, index, onClickHandler);
@@ -7523,17 +7545,17 @@ var ImageSlideshowBase = function ImageSlideshowBase(props) {
7523
7545
  };
7524
7546
 
7525
7547
  ImageSlideshowTemplate.propTypes = {
7526
- onClickHandler: PropTypes.func
7548
+ onClickHandler: PropTypes__default["default"].func
7527
7549
  };
7528
- return /*#__PURE__*/React.createElement(FullScreenImages, {
7550
+ return /*#__PURE__*/React__default["default"].createElement(FullScreenImages, {
7529
7551
  template: ImageSlideshowTemplate,
7530
7552
  element: props.element
7531
7553
  });
7532
7554
  };
7533
7555
 
7534
7556
  ImageSlideshowBase.propTypes = {
7535
- element: PropTypes.shape({
7536
- "story-elements": PropTypes.array
7557
+ element: PropTypes__default["default"].shape({
7558
+ "story-elements": PropTypes__default["default"].array
7537
7559
  }),
7538
7560
  story: shapeStory
7539
7561
  };
@@ -7591,12 +7613,12 @@ var getElement = function getElement(story, element) {
7591
7613
 
7592
7614
  switch (elementType) {
7593
7615
  case "ad":
7594
- return /*#__PURE__*/React.createElement(AdComponent, _extends({}, element, {
7616
+ return /*#__PURE__*/React__default["default"].createElement(AdComponent, _extends({}, element, {
7595
7617
  id: "ad-".concat(index, "_").concat(cardId)
7596
7618
  }));
7597
7619
 
7598
7620
  case "widget":
7599
- return /*#__PURE__*/React.createElement(WidgetComp, {
7621
+ return /*#__PURE__*/React__default["default"].createElement(WidgetComp, {
7600
7622
  widgetCode: element.config.customCode,
7601
7623
  id: "widget-".concat(index, "_").concat(cardId)
7602
7624
  });
@@ -7609,7 +7631,7 @@ var getElement = function getElement(story, element) {
7609
7631
  textElementColor = _text$css$textColor === void 0 ? "#000" : _text$css$textColor,
7610
7632
  _text$css$hyperlinkCo = _text$css.hyperlinkColor,
7611
7633
  hyperlinkColor = _text$css$hyperlinkCo === void 0 ? "#2f81cd" : _text$css$hyperlinkCo;
7612
- return /*#__PURE__*/React.createElement(Text, {
7634
+ return /*#__PURE__*/React__default["default"].createElement(Text, {
7613
7635
  element: element,
7614
7636
  css: {
7615
7637
  textColor: textElementColor,
@@ -7630,7 +7652,7 @@ var getElement = function getElement(story, element) {
7630
7652
  headline = _summary$opts$headlin === void 0 ? "" : _summary$opts$headlin,
7631
7653
  _summary$opts$hideHea = _summary$opts.hideHeadline,
7632
7654
  hideHeadline = _summary$opts$hideHea === void 0 ? false : _summary$opts$hideHea;
7633
- return /*#__PURE__*/React.createElement(Summary, {
7655
+ return /*#__PURE__*/React__default["default"].createElement(Summary, {
7634
7656
  element: element,
7635
7657
  template: summaryTemplate,
7636
7658
  opts: {
@@ -7649,7 +7671,7 @@ var getElement = function getElement(story, element) {
7649
7671
  _blurb$css = _blurb$css === void 0 ? {} : _blurb$css;
7650
7672
  var _blurb$css$borderColo = _blurb$css.borderColor,
7651
7673
  borderColor = _blurb$css$borderColo === void 0 ? "#2f81cd" : _blurb$css$borderColo;
7652
- return /*#__PURE__*/React.createElement(Blurb, {
7674
+ return /*#__PURE__*/React__default["default"].createElement(Blurb, {
7653
7675
  element: element,
7654
7676
  template: blurbTemplate,
7655
7677
  css: {
@@ -7668,7 +7690,7 @@ var getElement = function getElement(story, element) {
7668
7690
  blockQuoteColor = _blockquote$css$block === void 0 ? "#2f81cd" : _blockquote$css$block,
7669
7691
  _blockquote$css$backg = _blockquote$css.backgroundShade,
7670
7692
  backgroundShade = _blockquote$css$backg === void 0 ? "" : _blockquote$css$backg;
7671
- return /*#__PURE__*/React.createElement(BlockQuote, {
7693
+ return /*#__PURE__*/React__default["default"].createElement(BlockQuote, {
7672
7694
  element: element,
7673
7695
  template: blockQuoteTemplate,
7674
7696
  css: {
@@ -7685,7 +7707,7 @@ var getElement = function getElement(story, element) {
7685
7707
  _quote$css = _quote$css === void 0 ? {} : _quote$css;
7686
7708
  var _quote$css$borderColo = _quote$css.borderColor,
7687
7709
  quoteBorderColor = _quote$css$borderColo === void 0 ? "#2f81cd" : _quote$css$borderColo;
7688
- return /*#__PURE__*/React.createElement(Quote, {
7710
+ return /*#__PURE__*/React__default["default"].createElement(Quote, {
7689
7711
  element: element,
7690
7712
  template: quoteTemplate,
7691
7713
  css: {
@@ -7694,7 +7716,7 @@ var getElement = function getElement(story, element) {
7694
7716
  });
7695
7717
 
7696
7718
  case "bigfact":
7697
- return /*#__PURE__*/React.createElement(BigFact, {
7719
+ return /*#__PURE__*/React__default["default"].createElement(BigFact, {
7698
7720
  element: element
7699
7721
  });
7700
7722
 
@@ -7709,7 +7731,7 @@ var getElement = function getElement(story, element) {
7709
7731
  _alsoRead$opts = _alsoRead$opts === void 0 ? {} : _alsoRead$opts;
7710
7732
  var _alsoRead$opts$title = _alsoRead$opts.title,
7711
7733
  title = _alsoRead$opts$title === void 0 ? "" : _alsoRead$opts$title;
7712
- return /*#__PURE__*/React.createElement(AlsoRead, {
7734
+ return /*#__PURE__*/React__default["default"].createElement(AlsoRead, {
7713
7735
  story: story,
7714
7736
  element: element,
7715
7737
  template: alsoReadTemplate,
@@ -7722,7 +7744,7 @@ var getElement = function getElement(story, element) {
7722
7744
  });
7723
7745
 
7724
7746
  case "image":
7725
- return /*#__PURE__*/React.createElement(Image, {
7747
+ return /*#__PURE__*/React__default["default"].createElement(Image, {
7726
7748
  element: element
7727
7749
  });
7728
7750
 
@@ -7737,7 +7759,7 @@ var getElement = function getElement(story, element) {
7737
7759
  _qaElement$opts = _qaElement$opts === void 0 ? {} : _qaElement$opts;
7738
7760
  var _qaElement$opts$defau = _qaElement$opts.defaultIconType,
7739
7761
  defaultIconType = _qaElement$opts$defau === void 0 ? "edge" : _qaElement$opts$defau;
7740
- return /*#__PURE__*/React.createElement(QuestionAnswer, {
7762
+ return /*#__PURE__*/React__default["default"].createElement(QuestionAnswer, {
7741
7763
  element: element,
7742
7764
  opts: {
7743
7765
  type: "q-and-a",
@@ -7760,7 +7782,7 @@ var getElement = function getElement(story, element) {
7760
7782
  _questionElement$opts = _questionElement$opts === void 0 ? {} : _questionElement$opts;
7761
7783
  var _questionElement$opts2 = _questionElement$opts.defaultQuestionIconType,
7762
7784
  defaultQuestionIconType = _questionElement$opts2 === void 0 ? "edge" : _questionElement$opts2;
7763
- return /*#__PURE__*/React.createElement(QuestionAnswer, {
7785
+ return /*#__PURE__*/React__default["default"].createElement(QuestionAnswer, {
7764
7786
  element: element,
7765
7787
  opts: {
7766
7788
  type: "question",
@@ -7783,7 +7805,7 @@ var getElement = function getElement(story, element) {
7783
7805
  _answerElement$opts = _answerElement$opts === void 0 ? {} : _answerElement$opts;
7784
7806
  var _answerElement$opts$d = _answerElement$opts.defaultAnswerIconType,
7785
7807
  defaultAnswerIconType = _answerElement$opts$d === void 0 ? "edge" : _answerElement$opts$d;
7786
- return /*#__PURE__*/React.createElement(QuestionAnswer, {
7808
+ return /*#__PURE__*/React__default["default"].createElement(QuestionAnswer, {
7787
7809
  element: element,
7788
7810
  opts: {
7789
7811
  type: "answer",
@@ -7796,43 +7818,43 @@ var getElement = function getElement(story, element) {
7796
7818
  });
7797
7819
 
7798
7820
  case "gallery":
7799
- return /*#__PURE__*/React.createElement("div", {
7821
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7800
7822
  className: "content-style",
7801
7823
  id: "image-gallery-".concat(storyElementId)
7802
- }, /*#__PURE__*/React.createElement(ImageGallery, {
7824
+ }, /*#__PURE__*/React__default["default"].createElement(ImageGallery, {
7803
7825
  element: element
7804
7826
  }));
7805
7827
 
7806
7828
  case "slideshow":
7807
- return /*#__PURE__*/React.createElement("div", {
7829
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7808
7830
  className: "content-style",
7809
7831
  id: "image-slideshow-".concat(storyElementId)
7810
- }, /*#__PURE__*/React.createElement(ImageSlideshow, {
7832
+ }, /*#__PURE__*/React__default["default"].createElement(ImageSlideshow, {
7811
7833
  element: element
7812
7834
  }));
7813
7835
 
7814
7836
  case "youtube-video":
7815
7837
  case "dailymotion-video":
7816
- return /*#__PURE__*/React.createElement("div", {
7838
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7817
7839
  className: "content-style",
7818
7840
  id: "video-".concat(storyElementId)
7819
- }, /*#__PURE__*/React.createElement(Video, {
7841
+ }, /*#__PURE__*/React__default["default"].createElement(Video, {
7820
7842
  element: element,
7821
7843
  story: story,
7822
7844
  loadIframeOnClick: true
7823
7845
  }));
7824
7846
 
7825
7847
  case "attachment":
7826
- return /*#__PURE__*/React.createElement(Attachment, {
7848
+ return /*#__PURE__*/React__default["default"].createElement(Attachment, {
7827
7849
  element: element
7828
7850
  });
7829
7851
 
7830
7852
  case "tweet":
7831
7853
  case "jsembed":
7832
- return /*#__PURE__*/React.createElement("div", {
7854
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7833
7855
  className: "content-style",
7834
7856
  id: "jsembed-".concat(storyElementId)
7835
- }, /*#__PURE__*/React.createElement(StoryElement, {
7857
+ }, /*#__PURE__*/React__default["default"].createElement(StoryElement, {
7836
7858
  element: element
7837
7859
  }));
7838
7860
 
@@ -7843,7 +7865,7 @@ var getElement = function getElement(story, element) {
7843
7865
  showHeadline = _references$opts$show === void 0 ? true : _references$opts$show,
7844
7866
  _references$opts$head = _references$opts.headlineText,
7845
7867
  headlineText = _references$opts$head === void 0 ? "" : _references$opts$head;
7846
- return /*#__PURE__*/React.createElement(Reference, {
7868
+ return /*#__PURE__*/React__default["default"].createElement(Reference, {
7847
7869
  element: element,
7848
7870
  opts: {
7849
7871
  showHeadline: showHeadline,
@@ -7852,10 +7874,10 @@ var getElement = function getElement(story, element) {
7852
7874
  });
7853
7875
 
7854
7876
  default:
7855
- return /*#__PURE__*/React.createElement("div", {
7877
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7856
7878
  className: "content-style",
7857
7879
  id: "element-".concat(storyElementId)
7858
- }, /*#__PURE__*/React.createElement(StoryElement, {
7880
+ }, /*#__PURE__*/React__default["default"].createElement(StoryElement, {
7859
7881
  element: element,
7860
7882
  story: story
7861
7883
  }));
@@ -7863,12 +7885,12 @@ var getElement = function getElement(story, element) {
7863
7885
  };
7864
7886
 
7865
7887
  ({
7866
- story: PropTypes.object,
7867
- imageElement: PropTypes.object,
7868
- config: PropTypes.object,
7869
- children: PropTypes.node,
7870
- card: PropTypes.shape({
7871
- id: PropTypes.string
7888
+ story: PropTypes__default["default"].object,
7889
+ imageElement: PropTypes__default["default"].object,
7890
+ config: PropTypes__default["default"].object,
7891
+ children: PropTypes__default["default"].node,
7892
+ card: PropTypes__default["default"].shape({
7893
+ id: PropTypes__default["default"].string
7872
7894
  })
7873
7895
  });
7874
7896
  var StoryElementCard = function StoryElementCard(_ref2) {
@@ -7884,7 +7906,7 @@ var StoryElementCard = function StoryElementCard(_ref2) {
7884
7906
  var textColor = getTextColor(theme);
7885
7907
  var isLiveBlog = isLive ? "live-blog" : "";
7886
7908
  var shouldRunFBMobileVideoFix = true;
7887
- return /*#__PURE__*/React.createElement("div", {
7909
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7888
7910
  className: "arr--story-page-card-wrapper"
7889
7911
  }, get_1(card, ["story-elements"], []).map(function (element, index) {
7890
7912
  if (element.id === heroVideoElementId) return false;
@@ -7896,28 +7918,28 @@ var StoryElementCard = function StoryElementCard(_ref2) {
7896
7918
 
7897
7919
  var tableStyle = element && element.subtype === "table" ? "table" : "";
7898
7920
  var cardId = get_1(card, ["id"], "");
7899
- return /*#__PURE__*/React.createElement("div", {
7921
+ return /*#__PURE__*/React__default["default"].createElement("div", {
7900
7922
  key: element.id,
7901
7923
  className: "arr--element-container " + _getClassName("element-container ".concat(isLiveBlog, " ").concat(tableStyle, " ").concat(textColor), _styleModuleImportMap$5)
7902
7924
  }, getElement(story, element, config, adComponent, widgetComp, index, cardId));
7903
7925
  }));
7904
7926
  };
7905
7927
  StoryElementCard.propTypes = {
7906
- story: PropTypes.object,
7907
- card: PropTypes.array,
7908
- heroVideoElementId: PropTypes.number,
7909
- config: PropTypes.object,
7910
- isLive: PropTypes.bool,
7911
- theme: PropTypes.string,
7912
- adComponent: PropTypes.func,
7913
- widgetComp: PropTypes.func
7928
+ story: PropTypes__default["default"].object,
7929
+ card: PropTypes__default["default"].array,
7930
+ heroVideoElementId: PropTypes__default["default"].number,
7931
+ config: PropTypes__default["default"].object,
7932
+ isLive: PropTypes__default["default"].bool,
7933
+ theme: PropTypes__default["default"].string,
7934
+ adComponent: PropTypes__default["default"].func,
7935
+ widgetComp: PropTypes__default["default"].func
7914
7936
  };
7915
7937
  ({
7916
- story: PropTypes.object,
7917
- card: PropTypes.object,
7918
- config: PropTypes.object,
7919
- adComponent: PropTypes.func,
7920
- widgetComp: PropTypes.func
7938
+ story: PropTypes__default["default"].object,
7939
+ card: PropTypes__default["default"].object,
7940
+ config: PropTypes__default["default"].object,
7941
+ adComponent: PropTypes__default["default"].func,
7942
+ widgetComp: PropTypes__default["default"].func
7921
7943
  });
7922
7944
  var SlotAfterStory = function SlotAfterStory(_ref4) {
7923
7945
  var _ref4$id = _ref4.id,
@@ -7929,12 +7951,12 @@ var SlotAfterStory = function SlotAfterStory(_ref4) {
7929
7951
 
7930
7952
  switch (element.type) {
7931
7953
  case "ad":
7932
- return /*#__PURE__*/React.createElement(AdComponent, _extends({}, element, {
7954
+ return /*#__PURE__*/React__default["default"].createElement(AdComponent, _extends({}, element, {
7933
7955
  id: "ad-after-story-".concat(id)
7934
7956
  }));
7935
7957
 
7936
7958
  case "widget":
7937
- return /*#__PURE__*/React.createElement(WidgetComp, {
7959
+ return /*#__PURE__*/React__default["default"].createElement(WidgetComp, {
7938
7960
  widgetCode: element.config.customCode,
7939
7961
  id: "widget-after-story-".concat(id)
7940
7962
  });
@@ -7944,10 +7966,10 @@ var SlotAfterStory = function SlotAfterStory(_ref4) {
7944
7966
  }
7945
7967
  };
7946
7968
  SlotAfterStory.propTypes = {
7947
- id: PropTypes.string,
7948
- element: PropTypes.object,
7949
- AdComponent: PropTypes.func,
7950
- WidgetComp: PropTypes.func
7969
+ id: PropTypes__default["default"].string,
7970
+ element: PropTypes__default["default"].object,
7971
+ AdComponent: PropTypes__default["default"].func,
7972
+ WidgetComp: PropTypes__default["default"].func
7951
7973
  };
7952
7974
 
7953
7975
  var _styleModuleImportMap$4 = {
@@ -7976,12 +7998,12 @@ var PublishDetails = function PublishDetails(_ref) {
7976
7998
  _ref$timezone = _ref.timezone,
7977
7999
  timezone = _ref$timezone === void 0 ? null : _ref$timezone;
7978
8000
 
7979
- var _useState = useState("ltr"),
8001
+ var _useState = React.useState("ltr"),
7980
8002
  _useState2 = _slicedToArray(_useState, 2),
7981
8003
  direction = _useState2[0],
7982
8004
  setDirection = _useState2[1];
7983
8005
 
7984
- useEffect(function () {
8006
+ React.useEffect(function () {
7985
8007
  var htmlElement = document.getElementsByTagName("HTML");
7986
8008
 
7987
8009
  if (htmlElement && htmlElement.length > 0 && htmlElement[0].dir.toLocaleLowerCase() === "rtl") {
@@ -8007,41 +8029,41 @@ var PublishDetails = function PublishDetails(_ref) {
8007
8029
  direction: direction,
8008
8030
  showTime: true
8009
8031
  });
8010
- return /*#__PURE__*/React.createElement("div", {
8032
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8011
8033
  "data-test-id": "timeStamp",
8012
8034
  className: "arrow-component arr-publish-details " + _getClassName("timeStamp ".concat(textColor), _styleModuleImportMap$4)
8013
- }, /*#__PURE__*/React.createElement("div", {
8035
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8014
8036
  "data-test-id": "publishDetails",
8015
8037
  className: _getClassName("publish-details ".concat(textColor), _styleModuleImportMap$4)
8016
- }, enablePublishedTime && /*#__PURE__*/React.createElement(React.Fragment, null, localizedPublishedOn || "Published on", " :\xA0", /*#__PURE__*/React.createElement("div", {
8038
+ }, enablePublishedTime && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, localizedPublishedOn || "Published on", " :\xA0", /*#__PURE__*/React__default["default"].createElement("div", {
8017
8039
  className: "publish-details-m_date__3ZIQN"
8018
- }, getTimeStamp(time, timestampToFormat, timeStampProps, template, timezone)), showReadTime && /*#__PURE__*/React.createElement(ReadTime, {
8040
+ }, getTimeStamp(time, timestampToFormat, timeStampProps, template, timezone)), showReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
8019
8041
  story: story,
8020
8042
  opts: opts
8021
- }))), enableUpdatedTime && /*#__PURE__*/React.createElement("div", {
8043
+ }))), enableUpdatedTime && /*#__PURE__*/React__default["default"].createElement("div", {
8022
8044
  "data-test-id": "updateDetails",
8023
8045
  className: _getClassName("update-details ".concat(textColor), _styleModuleImportMap$4)
8024
- }, localizedUpdatedOn || "Updated on", " :\xA0", /*#__PURE__*/React.createElement("div", {
8046
+ }, localizedUpdatedOn || "Updated on", " :\xA0", /*#__PURE__*/React__default["default"].createElement("div", {
8025
8047
  className: "publish-details-m_date__3ZIQN"
8026
- }, getTimeStamp(updatedAt, timestampToFormat, timeStampProps, template, timezone)), showReadTime && /*#__PURE__*/React.createElement(ReadTime, {
8048
+ }, getTimeStamp(updatedAt, timestampToFormat, timeStampProps, template, timezone)), showReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
8027
8049
  story: story,
8028
8050
  opts: opts
8029
8051
  })));
8030
8052
  };
8031
8053
  PublishDetails.propTypes = {
8032
8054
  /** The Story Object from the API response */
8033
- story: PropTypes.shape({
8034
- "first-published-at": PropTypes.number,
8035
- "last-published-at": PropTypes.number,
8036
- "read-time": PropTypes.number,
8037
- "updated-at": PropTypes.number
8055
+ story: PropTypes__default["default"].shape({
8056
+ "first-published-at": PropTypes__default["default"].number,
8057
+ "last-published-at": PropTypes__default["default"].number,
8058
+ "read-time": PropTypes__default["default"].number,
8059
+ "updated-at": PropTypes__default["default"].number
8038
8060
  }),
8039
- timezone: PropTypes.string,
8040
- template: PropTypes.string,
8041
- opts: PropTypes.shape({
8042
- showReadTime: PropTypes.bool,
8043
- enableUpdatedTime: PropTypes.bool,
8044
- enablePublishedTime: PropTypes.bool
8061
+ timezone: PropTypes__default["default"].string,
8062
+ template: PropTypes__default["default"].string,
8063
+ opts: PropTypes__default["default"].shape({
8064
+ showReadTime: PropTypes__default["default"].bool,
8065
+ enableUpdatedTime: PropTypes__default["default"].bool,
8066
+ enablePublishedTime: PropTypes__default["default"].bool
8045
8067
  })
8046
8068
  };
8047
8069
 
@@ -8064,24 +8086,24 @@ var StoryTags = function StoryTags(_ref) {
8064
8086
  var textColor = getTextColor(configData.theme);
8065
8087
  var mountAt = get_1(config, ["mountAt"], "");
8066
8088
  var templateStyle = template === "roundCorners" ? "roundCorners" : "";
8067
- return /*#__PURE__*/React.createElement("div", {
8089
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8068
8090
  className: "arrow-component arr--story-tags"
8069
8091
  }, tags.length > 0 && tags.map(function (tag, index) {
8070
- return /*#__PURE__*/React.createElement("div", {
8092
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8071
8093
  key: index,
8072
8094
  "data-test-id": "story-tag",
8073
8095
  className: _getClassName("tags ".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$3)
8074
- }, /*#__PURE__*/React.createElement(Link, {
8096
+ }, /*#__PURE__*/React__default["default"].createElement(components.Link, {
8075
8097
  href: "".concat(mountAt, "/topic/") + tag.slug,
8076
8098
  "aria-label": "story-tag-name"
8077
8099
  }, tag.name));
8078
8100
  }));
8079
8101
  };
8080
8102
  StoryTags.propTypes = {
8081
- tags: PropTypes.array,
8082
- borderColor: PropTypes.string,
8083
- config: PropTypes.object,
8084
- template: string
8103
+ tags: PropTypes__default["default"].array,
8104
+ borderColor: PropTypes__default["default"].string,
8105
+ config: PropTypes__default["default"].object,
8106
+ template: PropTypes.string
8085
8107
  };
8086
8108
 
8087
8109
  var _styleModuleImportMap$2 = {
@@ -8108,29 +8130,29 @@ var StoryHeadline = function StoryHeadline(_ref) {
8108
8130
  var premiumStory = enablePremiumStoryIcon && get_1(story, ["access"]) === "subscription";
8109
8131
  var wrapperClass = premiumStory ? "premium-wrapper" : "wrapper";
8110
8132
  var iconSize = "40px";
8111
- return /*#__PURE__*/React.createElement("div", {
8133
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8112
8134
  className: "arrow-component arr--story-headline " + _getClassName(wrapperClass, _styleModuleImportMap$2)
8113
- }, premiumStory && /*#__PURE__*/React.createElement(PremiumStoryIcon, {
8135
+ }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
8114
8136
  width: iconSize,
8115
8137
  height: iconSize,
8116
8138
  color: iconColor,
8117
8139
  iconType: iconStyle,
8118
8140
  positionTop: "6px"
8119
- }), /*#__PURE__*/React.createElement("h1", {
8141
+ }), /*#__PURE__*/React__default["default"].createElement("h1", {
8120
8142
  "data-testid": "story-headline",
8121
8143
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$2)
8122
- }, /*#__PURE__*/React.createElement("bdi", {
8144
+ }, /*#__PURE__*/React__default["default"].createElement("bdi", {
8123
8145
  dangerouslySetInnerHTML: {
8124
8146
  __html: story.headline
8125
8147
  }
8126
8148
  })));
8127
8149
  };
8128
8150
  StoryHeadline.propTypes = {
8129
- story: PropTypes.object.isRequired,
8130
- premiumStoryIconConfig: PropTypes.shape({
8131
- iconColor: PropTypes.string,
8132
- iconType: PropTypes.string,
8133
- enablePremiumStoryIcon: PropTypes.bool
8151
+ story: PropTypes__default["default"].object.isRequired,
8152
+ premiumStoryIconConfig: PropTypes__default["default"].shape({
8153
+ iconColor: PropTypes__default["default"].string,
8154
+ iconType: PropTypes__default["default"].string,
8155
+ enablePremiumStoryIcon: PropTypes__default["default"].bool
8134
8156
  })
8135
8157
  };
8136
8158
 
@@ -8213,18 +8235,18 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8213
8235
 
8214
8236
  var HeaderCard = function HeaderCard() {
8215
8237
  var isBlogClosed = get_1(story, ["metadata", "is-closed"]);
8216
- return /*#__PURE__*/React.createElement("div", {
8238
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8217
8239
  className: "live-blog-m_header-wrapper__3rFRU live-blog-m_header-details__1VbwD"
8218
- }, /*#__PURE__*/React.createElement(SectionTag, {
8240
+ }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
8219
8241
  story: story
8220
- }), /*#__PURE__*/React.createElement("div", {
8242
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
8221
8243
  className: "live-blog-m_live-headline__1Y1iT"
8222
- }, !isBlogClosed && /*#__PURE__*/React.createElement("div", {
8244
+ }, !isBlogClosed && /*#__PURE__*/React__default["default"].createElement("div", {
8223
8245
  className: "live-blog-m_live-icon__zzBV_"
8224
- }, /*#__PURE__*/React.createElement(LiveIcon, null)), /*#__PURE__*/React.createElement(StoryHeadline, {
8246
+ }, /*#__PURE__*/React__default["default"].createElement(LiveIcon, null)), /*#__PURE__*/React__default["default"].createElement(StoryHeadline, {
8225
8247
  story: story,
8226
8248
  premiumStoryIconConfig: premiumStoryIconConfig
8227
- })), /*#__PURE__*/React.createElement(Subheadline, {
8249
+ })), /*#__PURE__*/React__default["default"].createElement(Subheadline, {
8228
8250
  story: story,
8229
8251
  showFullContent: true
8230
8252
  }));
@@ -8237,27 +8259,27 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8237
8259
  var borderBottom = index === visibleCards.length - 1 ? "" : "share-cards ".concat(textColor);
8238
8260
  var cardId = get_1(card, ["id"], "");
8239
8261
  var cardAddedAt = card["card-added-at"];
8240
- return /*#__PURE__*/React.createElement("div", {
8262
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8241
8263
  key: index,
8242
8264
  className: _getClassName(borderBottom, _styleModuleImportMap$1)
8243
- }, /*#__PURE__*/React.createElement("div", {
8265
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8244
8266
  className: "live-blog-m_card-share__nvSEx"
8245
- }, /*#__PURE__*/React.createElement("div", {
8267
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
8246
8268
  className: _getClassName("time-wrapper ".concat(textColor), _styleModuleImportMap$1)
8247
- }, /*#__PURE__*/React.createElement(ClockIcon, {
8269
+ }, /*#__PURE__*/React__default["default"].createElement(ClockIcon, {
8248
8270
  color: updateColor
8249
8271
  }), getTimeStamp(cardAddedAt, timestampToFormat, {
8250
8272
  isTimeFirst: true
8251
- })), /*#__PURE__*/React.createElement("div", {
8273
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8252
8274
  id: "card-share-".concat(cardId, "_").concat(storyId),
8253
8275
  className: "content-style"
8254
- }, /*#__PURE__*/React.createElement(SocialShare, {
8276
+ }, /*#__PURE__*/React__default["default"].createElement(components.SocialShare, {
8255
8277
  template: SocialShareTemplate,
8256
8278
  fullUrl: encodeURI(story.url),
8257
8279
  title: story.headline,
8258
8280
  theme: theme,
8259
8281
  iconType: shareIconType
8260
- }))), /*#__PURE__*/React.createElement(StoryElementCard, {
8282
+ }))), /*#__PURE__*/React__default["default"].createElement(StoryElementCard, {
8261
8283
  story: story,
8262
8284
  card: card,
8263
8285
  key: cardId,
@@ -8271,10 +8293,10 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8271
8293
  };
8272
8294
 
8273
8295
  var keyEvents = function keyEvents() {
8274
- return /*#__PURE__*/React.createElement("div", {
8296
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8275
8297
  className: "live-blog-m_key-events__2YDJ3",
8276
8298
  id: "key-events-".concat(storyId)
8277
- }, /*#__PURE__*/React.createElement(KeyEvents$1, {
8299
+ }, /*#__PURE__*/React__default["default"].createElement(KeyEvents, {
8278
8300
  story: story,
8279
8301
  showLoadMore: true,
8280
8302
  config: config
@@ -8282,10 +8304,10 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8282
8304
  };
8283
8305
 
8284
8306
  var SocialShareComponent = function SocialShareComponent() {
8285
- return /*#__PURE__*/React.createElement("div", {
8307
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8286
8308
  id: "story-share-".concat(storyId),
8287
8309
  className: "content-style"
8288
- }, /*#__PURE__*/React.createElement(SocialShare, {
8310
+ }, /*#__PURE__*/React__default["default"].createElement(components.SocialShare, {
8289
8311
  template: SocialShareTemplate,
8290
8312
  fullUrl: encodeURI(story.url),
8291
8313
  title: story.headline,
@@ -8305,23 +8327,23 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8305
8327
  };
8306
8328
 
8307
8329
  var StoryData = function StoryData() {
8308
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AuthorCard, {
8330
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(AuthorCard, {
8309
8331
  clazzName: "gap-32",
8310
8332
  story: story,
8311
8333
  template: authorDetails.template,
8312
8334
  opts: authorDetails.opts
8313
- }), /*#__PURE__*/React.createElement("div", {
8335
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
8314
8336
  className: "live-blog-m_timestamp-social-share__2siNN"
8315
- }, /*#__PURE__*/React.createElement(PublishDetails, {
8337
+ }, /*#__PURE__*/React__default["default"].createElement(PublishDetails, {
8316
8338
  story: story,
8317
8339
  opts: publishedDetails,
8318
8340
  template: "story",
8319
8341
  timezone: timezone
8320
- }), !verticalShare && /*#__PURE__*/React.createElement(SocialShareComponent, null)), showKeyEvents(), /*#__PURE__*/React.createElement(StoryCards, null), /*#__PURE__*/React.createElement("div", {
8342
+ }), !verticalShare && /*#__PURE__*/React__default["default"].createElement(SocialShareComponent, null)), showKeyEvents(), /*#__PURE__*/React__default["default"].createElement(StoryCards, null), /*#__PURE__*/React__default["default"].createElement("div", {
8321
8343
  className: "live-blog-m_space-32__3J4JJ"
8322
- }, firstChild, /*#__PURE__*/React.createElement(StoryTags, {
8344
+ }, firstChild, /*#__PURE__*/React__default["default"].createElement(StoryTags, {
8323
8345
  tags: story.tags
8324
- }), /*#__PURE__*/React.createElement(SlotAfterStory, {
8346
+ }), /*#__PURE__*/React__default["default"].createElement(SlotAfterStory, {
8325
8347
  id: story.id,
8326
8348
  element: story.customSlotAfterStory,
8327
8349
  AdComponent: adComponent,
@@ -8330,21 +8352,21 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8330
8352
  };
8331
8353
 
8332
8354
  var DefaultTemplate = function DefaultTemplate(story) {
8333
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
8355
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
8334
8356
  "data-test-id": "hero-image",
8335
8357
  className: "live-blog-m_grid-col-full__3iWHn live-blog-m_index-2__2f0tW"
8336
- }, /*#__PURE__*/React.createElement(HeroImage, {
8358
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
8337
8359
  story: story,
8338
8360
  aspectRatio: [[16, 9], [8, 3]],
8339
8361
  isStoryPageImage: true
8340
- })), /*#__PURE__*/React.createElement("div", {
8362
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8341
8363
  className: "live-blog-m_header-wrapper__3rFRU"
8342
- }, /*#__PURE__*/React.createElement(CaptionAttribution, {
8364
+ }, /*#__PURE__*/React__default["default"].createElement(CaptionAttribution, {
8343
8365
  story: story,
8344
8366
  config: config
8345
- }), /*#__PURE__*/React.createElement(HeaderCard, null), /*#__PURE__*/React.createElement(StoryData, null)), verticalShare && /*#__PURE__*/React.createElement(SocialShareComponent, null), /*#__PURE__*/React.createElement("div", {
8367
+ }), /*#__PURE__*/React__default["default"].createElement(HeaderCard, null), /*#__PURE__*/React__default["default"].createElement(StoryData, null)), verticalShare && /*#__PURE__*/React__default["default"].createElement(SocialShareComponent, null), /*#__PURE__*/React__default["default"].createElement("div", {
8346
8368
  className: "live-blog-m_side-column__Ss2sl"
8347
- }, asideCollection && /*#__PURE__*/React.createElement(AsideCollection$1, _extends({}, asideCollection, {
8369
+ }, asideCollection && /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({}, asideCollection, {
8348
8370
  adComponent: adComponent,
8349
8371
  widgetComp: widgetComp,
8350
8372
  sticky: true,
@@ -8360,22 +8382,22 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8360
8382
  };
8361
8383
 
8362
8384
  var HeroOverlay = function HeroOverlay(story) {
8363
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
8385
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
8364
8386
  className: "live-blog-m_overlay-hero__30Yoo live-blog-m_index-2__2f0tW"
8365
- }, /*#__PURE__*/React.createElement(HeroImage, {
8387
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
8366
8388
  story: story,
8367
8389
  aspectRatio: [[1, 2], [16, 9]],
8368
8390
  isStoryPageImage: true
8369
- })), /*#__PURE__*/React.createElement("div", {
8391
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8370
8392
  className: "live-blog-m_overlay-grid__1-XBm"
8371
- }, /*#__PURE__*/React.createElement(HeaderCard, null)), /*#__PURE__*/React.createElement("div", {
8393
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderCard, null)), /*#__PURE__*/React__default["default"].createElement("div", {
8372
8394
  className: "live-blog-m_grid-col-4-12__XeqdX"
8373
- }, /*#__PURE__*/React.createElement(CaptionAttribution, {
8395
+ }, /*#__PURE__*/React__default["default"].createElement(CaptionAttribution, {
8374
8396
  story: story,
8375
8397
  config: config
8376
- }), /*#__PURE__*/React.createElement(StoryData, null)), verticalShare && /*#__PURE__*/React.createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React.createElement("div", {
8398
+ }), /*#__PURE__*/React__default["default"].createElement(StoryData, null)), verticalShare && /*#__PURE__*/React__default["default"].createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React__default["default"].createElement("div", {
8377
8399
  className: "live-blog-m_grid-container__1b98H live-blog-m_tablet-index-2__2WqZJ"
8378
- }, /*#__PURE__*/React.createElement(AsideCollection$1, _extends({
8400
+ }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({
8379
8401
  horizontal: true
8380
8402
  }, asideCollection, {
8381
8403
  adComponent: adComponent,
@@ -8386,22 +8408,22 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8386
8408
  };
8387
8409
 
8388
8410
  var HeadlineSideway = function HeadlineSideway(story) {
8389
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
8411
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
8390
8412
  className: "live-blog-m_grid-col-2-9__IJ4Ok live-blog-m_sideway__1j2fD"
8391
- }, /*#__PURE__*/React.createElement(HeaderCard, null)), /*#__PURE__*/React.createElement("div", {
8413
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderCard, null)), /*#__PURE__*/React__default["default"].createElement("div", {
8392
8414
  className: "live-blog-m_grid-col-9-15__MwtUq live-blog-m_index-2__2f0tW"
8393
- }, /*#__PURE__*/React.createElement(HeroImage, {
8415
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
8394
8416
  story: story,
8395
8417
  aspectRatio: [[4, 3]],
8396
8418
  isStoryPageImage: true
8397
- }), /*#__PURE__*/React.createElement(CaptionAttribution, {
8419
+ }), /*#__PURE__*/React__default["default"].createElement(CaptionAttribution, {
8398
8420
  story: story,
8399
8421
  config: config
8400
- })), /*#__PURE__*/React.createElement("div", {
8422
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8401
8423
  className: "live-blog-m_grid-col-4-12__XeqdX"
8402
- }, /*#__PURE__*/React.createElement(StoryData, null)), verticalShare && /*#__PURE__*/React.createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React.createElement("div", {
8424
+ }, /*#__PURE__*/React__default["default"].createElement(StoryData, null)), verticalShare && /*#__PURE__*/React__default["default"].createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React__default["default"].createElement("div", {
8403
8425
  className: "live-blog-m_grid-container__1b98H live-blog-m_tablet-index-2__2WqZJ"
8404
- }, /*#__PURE__*/React.createElement(AsideCollection$1, _extends({
8426
+ }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({
8405
8427
  horizontal: true
8406
8428
  }, asideCollection, {
8407
8429
  adComponent: adComponent,
@@ -8412,22 +8434,22 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8412
8434
  };
8413
8435
 
8414
8436
  var HeadlinePriority = function HeadlinePriority(story) {
8415
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
8437
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
8416
8438
  className: "live-blog-m_grid-col-2-9__IJ4Ok live-blog-m_grid-row-1-2__2t7wA live-blog-m_headline-space__2Dhkq"
8417
- }, /*#__PURE__*/React.createElement(HeaderCard, null)), /*#__PURE__*/React.createElement("div", {
8439
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderCard, null)), /*#__PURE__*/React__default["default"].createElement("div", {
8418
8440
  className: "live-blog-m_grid-col-2-9__IJ4Ok live-blog-m_grid-row-2-3__32fm_ live-blog-m_index-2__2f0tW"
8419
- }, /*#__PURE__*/React.createElement(HeroImage, {
8441
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
8420
8442
  story: story,
8421
8443
  aspectRatio: [[16, 9]],
8422
8444
  isStoryPageImage: true
8423
- })), /*#__PURE__*/React.createElement("div", {
8445
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8424
8446
  className: "live-blog-m_grid-col-2-9__IJ4Ok live-blog-m_grid-row-3-4__2LIEm"
8425
- }, /*#__PURE__*/React.createElement(CaptionAttribution, {
8447
+ }, /*#__PURE__*/React__default["default"].createElement(CaptionAttribution, {
8426
8448
  story: story,
8427
8449
  config: config
8428
- }), /*#__PURE__*/React.createElement(StoryData, null)), verticalShare && /*#__PURE__*/React.createElement(SocialShareComponent, null), /*#__PURE__*/React.createElement("div", {
8450
+ }), /*#__PURE__*/React__default["default"].createElement(StoryData, null)), verticalShare && /*#__PURE__*/React__default["default"].createElement(SocialShareComponent, null), /*#__PURE__*/React__default["default"].createElement("div", {
8429
8451
  className: "live-blog-m_grid-col-9-14__2oCwT live-blog-m_grid-row-1-6__3CH8o"
8430
- }, asideCollection && /*#__PURE__*/React.createElement(AsideCollection$1, _extends({}, asideCollection, {
8452
+ }, asideCollection && /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({}, asideCollection, {
8431
8453
  adComponent: adComponent,
8432
8454
  widgetComp: widgetComp,
8433
8455
  sticky: true,
@@ -8443,20 +8465,20 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8443
8465
  };
8444
8466
 
8445
8467
  var HeroPriority = function HeroPriority(story) {
8446
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
8468
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
8447
8469
  className: "live-blog-m_grid-container__1b98H live-blog-m_index-2__2f0tW"
8448
- }, /*#__PURE__*/React.createElement(HeroImage, {
8470
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
8449
8471
  story: story,
8450
8472
  aspectRatio: [[16, 9]],
8451
8473
  isStoryPageImage: true
8452
- })), /*#__PURE__*/React.createElement("div", {
8474
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8453
8475
  className: "live-blog-m_grid-col-4-12__XeqdX"
8454
- }, /*#__PURE__*/React.createElement(CaptionAttribution, {
8476
+ }, /*#__PURE__*/React__default["default"].createElement(CaptionAttribution, {
8455
8477
  story: story,
8456
8478
  config: config
8457
- }), /*#__PURE__*/React.createElement(HeaderCard, null), /*#__PURE__*/React.createElement(StoryData, null)), verticalShare && /*#__PURE__*/React.createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React.createElement("div", {
8479
+ }), /*#__PURE__*/React__default["default"].createElement(HeaderCard, null), /*#__PURE__*/React__default["default"].createElement(StoryData, null)), verticalShare && /*#__PURE__*/React__default["default"].createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React__default["default"].createElement("div", {
8458
8480
  className: "live-blog-m_grid-container__1b98H live-blog-m_tablet-index-2__2WqZJ"
8459
- }, /*#__PURE__*/React.createElement(AsideCollection$1, _extends({
8481
+ }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({
8460
8482
  horizontal: true
8461
8483
  }, asideCollection, {
8462
8484
  adComponent: adComponent,
@@ -8467,22 +8489,22 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8467
8489
  };
8468
8490
 
8469
8491
  var HeadlineHeroPriority = function HeadlineHeroPriority(story) {
8470
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
8492
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
8471
8493
  className: "live-blog-m_grid-col-4-12__XeqdX live-blog-m_headline-space__2Dhkq"
8472
- }, /*#__PURE__*/React.createElement(HeaderCard, null)), /*#__PURE__*/React.createElement("div", {
8494
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderCard, null)), /*#__PURE__*/React__default["default"].createElement("div", {
8473
8495
  className: "live-blog-m_grid-container__1b98H live-blog-m_index-2__2f0tW"
8474
- }, /*#__PURE__*/React.createElement(HeroImage, {
8496
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
8475
8497
  story: story,
8476
8498
  aspectRatio: [[16, 9]],
8477
8499
  isStoryPageImage: true
8478
- })), /*#__PURE__*/React.createElement("div", {
8500
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
8479
8501
  className: "live-blog-m_grid-col-4-12__XeqdX"
8480
- }, /*#__PURE__*/React.createElement(CaptionAttribution, {
8502
+ }, /*#__PURE__*/React__default["default"].createElement(CaptionAttribution, {
8481
8503
  story: story,
8482
8504
  config: config
8483
- }), /*#__PURE__*/React.createElement(StoryData, null)), verticalShare && /*#__PURE__*/React.createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React.createElement("div", {
8505
+ }), /*#__PURE__*/React__default["default"].createElement(StoryData, null)), verticalShare && /*#__PURE__*/React__default["default"].createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React__default["default"].createElement("div", {
8484
8506
  className: "live-blog-m_grid-container__1b98H live-blog-m_tablet-index-2__2WqZJ"
8485
- }, /*#__PURE__*/React.createElement(AsideCollection$1, _extends({
8507
+ }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({
8486
8508
  horizontal: true
8487
8509
  }, asideCollection, {
8488
8510
  adComponent: adComponent,
@@ -8514,21 +8536,21 @@ var LiveBlogStoryTemplates = function LiveBlogStoryTemplates(_ref) {
8514
8536
  }
8515
8537
  };
8516
8538
 
8517
- return /*#__PURE__*/React.createElement(React.Fragment, null, getLiveBlogStoryTemplates(templateType));
8539
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, getLiveBlogStoryTemplates(templateType));
8518
8540
  };
8519
8541
  LiveBlogStoryTemplates.propTypes = {
8520
- story: PropTypes.object,
8521
- config: PropTypes.shape({
8522
- templateType: PropTypes.string,
8523
- authorCard: PropTypes.object,
8524
- asideCollection: PropTypes.object
8542
+ story: PropTypes__default["default"].object,
8543
+ config: PropTypes__default["default"].shape({
8544
+ templateType: PropTypes__default["default"].string,
8545
+ authorCard: PropTypes__default["default"].object,
8546
+ asideCollection: PropTypes__default["default"].object
8525
8547
  }),
8526
- timezone: PropTypes.string,
8527
- firstChild: PropTypes.node,
8528
- secondChild: PropTypes.node,
8529
- storyElementsConfig: PropTypes.object,
8530
- adComponent: PropTypes.func,
8531
- widgetComp: PropTypes.func
8548
+ timezone: PropTypes__default["default"].string,
8549
+ firstChild: PropTypes__default["default"].node,
8550
+ secondChild: PropTypes__default["default"].node,
8551
+ storyElementsConfig: PropTypes__default["default"].object,
8552
+ adComponent: PropTypes__default["default"].func,
8553
+ widgetComp: PropTypes__default["default"].func
8532
8554
  };
8533
8555
 
8534
8556
  var _styleModuleImportMap = {
@@ -8570,8 +8592,7 @@ var _styleModuleImportMap = {
8570
8592
  "tablet-index-2": "live-blog-m_tablet-index-2__2WqZJ"
8571
8593
  }
8572
8594
  };
8573
-
8574
- var LiveBlogStoryTemplate = function LiveBlogStoryTemplate(_ref) {
8595
+ var LiveBlogStoryTemplateBase = function LiveBlogStoryTemplateBase(_ref) {
8575
8596
  var _ref$story = _ref.story,
8576
8597
  story = _ref$story === void 0 ? {} : _ref$story,
8577
8598
  _ref$config = _ref.config,
@@ -8588,16 +8609,16 @@ var LiveBlogStoryTemplate = function LiveBlogStoryTemplate(_ref) {
8588
8609
  _config$verticalShare = config.verticalShare,
8589
8610
  verticalShare = _config$verticalShare === void 0 ? "" : _config$verticalShare;
8590
8611
  var containerClass = templateType !== "hero-overlay" ? "container" : "";
8591
- var timezone = useSelector(function (state) {
8612
+ var timezone = reactRedux.useSelector(function (state) {
8592
8613
  return get_1(state, ["qt", "data", "timezone"], null);
8593
8614
  });
8594
- return /*#__PURE__*/React.createElement("div", {
8615
+ return /*#__PURE__*/React__default["default"].createElement("div", {
8595
8616
  "data-test-id": "live-blog-".concat(templateType),
8596
8617
  style: {
8597
8618
  backgroundColor: theme
8598
8619
  },
8599
8620
  className: ("arrow-component arr--content-wrapper arr-story-grid arr--live-blog-story-template-wrapper ".concat(templateType) ? "arrow-component arr--content-wrapper arr-story-grid arr--live-blog-story-template-wrapper ".concat(templateType) + " " : "") + _getClassName("".concat(containerClass, " ").concat(verticalShare, " wrapper"), _styleModuleImportMap)
8600
- }, /*#__PURE__*/React.createElement(LiveBlogStoryTemplates, {
8621
+ }, /*#__PURE__*/React__default["default"].createElement(LiveBlogStoryTemplates, {
8601
8622
  templateType: templateType,
8602
8623
  story: story,
8603
8624
  storyElementsConfig: storyElementsConfig,
@@ -8609,18 +8630,18 @@ var LiveBlogStoryTemplate = function LiveBlogStoryTemplate(_ref) {
8609
8630
  timezone: timezone
8610
8631
  }));
8611
8632
  };
8612
-
8613
- LiveBlogStoryTemplate.propTypes = {
8614
- story: PropTypes.object,
8615
- config: PropTypes.shape({
8616
- templateType: PropTypes.string
8633
+ LiveBlogStoryTemplateBase.propTypes = {
8634
+ story: PropTypes__default["default"].object,
8635
+ config: PropTypes__default["default"].shape({
8636
+ templateType: PropTypes__default["default"].string
8617
8637
  }),
8618
- firstChild: PropTypes.node,
8619
- secondChild: PropTypes.node,
8620
- storyElementsConfig: PropTypes.object,
8621
- adComponent: PropTypes.func,
8622
- widgetComp: PropTypes.func
8638
+ firstChild: PropTypes__default["default"].node,
8639
+ secondChild: PropTypes__default["default"].node,
8640
+ storyElementsConfig: PropTypes__default["default"].object,
8641
+ adComponent: PropTypes__default["default"].func,
8642
+ widgetComp: PropTypes__default["default"].func
8623
8643
  };
8624
- var index = StateProvider(LiveBlogStoryTemplate);
8644
+ var LiveBlogStoryTemplate = StateProvider(LiveBlogStoryTemplateBase);
8625
8645
 
8626
- export { index as default };
8646
+ exports.LiveBlogStoryTemplate = LiveBlogStoryTemplate;
8647
+ exports.LiveBlogStoryTemplateBase = LiveBlogStoryTemplateBase;