@quintype/arrow 3.15.1-perf.2 → 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 (92) 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-d0f6c865.js → index-3976fac4.js} +59 -51
  5. package/atoms/ExtendedLoadMore/{index-1e444d20.js → index-3c4ac692.js} +243 -208
  6. package/atoms/ExtendedLoadMore/index-4ddfe28d.js +93 -0
  7. package/atoms/ExtendedLoadMore/{index-c61a16dc.js → index-5c8eda4a.js} +88 -80
  8. package/atoms/ExtendedLoadMore/{index-1256e453.js → index-6e083738.js} +60 -52
  9. package/atoms/ExtendedLoadMore/{index-fd651f70.js → index-6ecceae4.js} +58 -50
  10. package/atoms/ExtendedLoadMore/{index-4356ce04.js → index-9e0d32b7.js} +76 -68
  11. package/atoms/ExtendedLoadMore/{index-beed3a68.js → index-a5c95f84.js} +70 -62
  12. package/atoms/ExtendedLoadMore/{index-0519e570.js → index-b22f1843.js} +70 -62
  13. package/atoms/ExtendedLoadMore/{index-e4cf9cb7.js → index-b5936059.js} +72 -64
  14. package/atoms/ExtendedLoadMore/{index-aba6b278.js → index-bc129cb8.js} +57 -49
  15. package/atoms/ExtendedLoadMore/{index-ad3c83c3.js → index-e7cde739.js} +74 -46
  16. package/atoms/ExtendedLoadMore/{index-c2f73d18.js → index-fee73a14.js} +62 -54
  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 +72 -61
  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 +345 -333
  34. package/rows/AsideCollection/index.js +340 -328
  35. package/rows/AstrologyCollection/index.js +321 -309
  36. package/rows/AuthorIntroductionCard/index.js +157 -148
  37. package/rows/AuthorsList/index.js +184 -174
  38. package/rows/CollectionFilter/index.js +361 -349
  39. package/rows/ElevenStories/index.js +357 -346
  40. package/rows/FourColFiveStories/index.js +304 -274
  41. package/rows/FourColGrid/index.js +351 -321
  42. package/rows/FourColPortraitStories/index.js +357 -327
  43. package/rows/FourColSixteenStories/index.js +288 -277
  44. package/rows/FourColTwelveStories/index.js +315 -304
  45. package/rows/FourStorySlider/index.js +358 -347
  46. package/rows/FourStorySliderPortrait/index.js +359 -348
  47. package/rows/FourTabbedBigStorySlider/index.js +322 -311
  48. package/rows/FullScreenSlider/index.js +336 -325
  49. package/rows/HalfScreenSlider/index.js +308 -297
  50. package/rows/ListComponent/index.js +322 -311
  51. package/rows/Listicles/index.js +150 -139
  52. package/rows/MagazineEditions/index.js +104 -93
  53. package/rows/MagazineHeaderCard/index.js +104 -93
  54. package/rows/MagazineWidget/index.js +326 -315
  55. package/rows/OneColStoryList/index.js +365 -335
  56. package/rows/OpinionCollection/index.js +250 -220
  57. package/rows/SixColSixStories/index.js +333 -303
  58. package/rows/StoryCollection/index.js +340 -328
  59. package/rows/TagIntroductionCard/index.js +30 -21
  60. package/rows/ThreeColFlexStories/index.js +348 -318
  61. package/rows/ThreeColFourteenStories/index.js +285 -274
  62. package/rows/ThreeColGrid/index.js +352 -322
  63. package/rows/ThreeColSevenStory/index.js +322 -311
  64. package/rows/ThreeColSixStories/index.js +323 -312
  65. package/rows/ThreeColTwelveStories/index.js +302 -291
  66. package/rows/TwoColFourStories/index.js +316 -305
  67. package/rows/TwoColFourStoryHighlight/index.js +317 -306
  68. package/rows/TwoColSevenStories/index.js +322 -311
  69. package/rows/TwoColSixStories/index.js +316 -305
  70. package/rows/TwoColTenStoriesSidebar/index.js +338 -327
  71. package/rows/TwoColThreeStories/index.js +316 -305
  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/story-templates/ListicleStoryTemplate/index.js +937 -908
  88. package/story-templates/LiveBlogStoryTemplate/index.js +942 -913
  89. package/story-templates/PhotoStoryTemplate/index.js +912 -883
  90. package/story-templates/TextStoryTemplate/index.js +931 -902
  91. package/story-templates/VideoStoryTemplate/index.js +897 -868
  92. package/atoms/ExtendedLoadMore/index-81eb3978.js +0 -86
@@ -1,10 +1,39 @@
1
- import { Link, ResponsiveImage, ResponsiveHeroImage, LinkBase, collectionToStories } from '@quintype/components';
2
- import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
3
- import React, { useState, useEffect, useRef, useContext, createContext } from 'react';
4
- import { connect, useSelector, useDispatch } from 'react-redux';
5
- import ReactDOM from 'react-dom';
6
- import Timeago from 'react-timeago';
7
- import { utcToZonedTime, format } from 'date-fns-tz';
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var components = require('@quintype/components');
6
+ var PropTypes = require('prop-types');
7
+ var React = require('react');
8
+ var reactRedux = require('react-redux');
9
+ var ReactDOM = require('react-dom');
10
+ var Timeago = require('react-timeago');
11
+ var dateFnsTz = require('date-fns-tz');
12
+
13
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
+
15
+ function _interopNamespace(e) {
16
+ if (e && e.__esModule) return e;
17
+ var n = Object.create(null);
18
+ if (e) {
19
+ Object.keys(e).forEach(function (k) {
20
+ if (k !== 'default') {
21
+ var d = Object.getOwnPropertyDescriptor(e, k);
22
+ Object.defineProperty(n, k, d.get ? d : {
23
+ enumerable: true,
24
+ get: function () { return e[k]; }
25
+ });
26
+ }
27
+ });
28
+ }
29
+ n["default"] = e;
30
+ return Object.freeze(n);
31
+ }
32
+
33
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
34
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
35
+ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
36
+ var Timeago__default = /*#__PURE__*/_interopDefaultLegacy(Timeago);
8
37
 
9
38
  /**
10
39
  * Checks if `value` is classified as an `Array` object.
@@ -1275,7 +1304,7 @@ var hasIntersectionObserverSupport = function hasIntersectionObserverSupport() {
1275
1304
 
1276
1305
 
1277
1306
  var getIntersectionObserver = function getIntersectionObserver() {
1278
- return Promise.resolve(isClient && !hasIntersectionObserverSupport() && import('intersection-observer'));
1307
+ return Promise.resolve(isClient && !hasIntersectionObserverSupport() && Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('intersection-observer')); }));
1279
1308
  }; // options for intersection observer in order to improve the effect
1280
1309
 
1281
1310
 
@@ -1308,12 +1337,12 @@ var getObserver = function getObserver() {
1308
1337
  var useNearScreen = (function (_ref) {
1309
1338
  var ref = _ref.ref;
1310
1339
 
1311
- var _useState = useState(false),
1340
+ var _useState = React.useState(false),
1312
1341
  _useState2 = _slicedToArray(_useState, 2),
1313
1342
  show = _useState2[0],
1314
1343
  setShow = _useState2[1];
1315
1344
 
1316
- useEffect(function () {
1345
+ React.useEffect(function () {
1317
1346
  var current = ref.current;
1318
1347
  if (!current) return; // get observer async and only when needed
1319
1348
 
@@ -1340,36 +1369,36 @@ var EMPTY_HTML = {
1340
1369
  var isServer = typeof window === "undefined";
1341
1370
  var ProgressiveHydration = function ProgressiveHydration(props) {
1342
1371
  var children = props.children;
1343
- var ref = useRef(null);
1372
+ var ref = React.useRef(null);
1344
1373
  var isNearScreen = useNearScreen({
1345
1374
  ref: ref
1346
1375
  });
1347
- useEffect(function () {
1376
+ React.useEffect(function () {
1348
1377
  var el = ref.current; // CLIENT:
1349
1378
  // If we want to force the hydration OR the element is near screen
1350
1379
  // then we hydrate the content to get the functionality ready
1351
1380
 
1352
1381
  if (isNearScreen) {
1353
1382
  var action = el.hasChildNodes() ? "hydrate" : "render";
1354
- ReactDOM[action](children, el);
1383
+ ReactDOM__default["default"][action](children, el);
1355
1384
  }
1356
1385
  }, [children, isNearScreen]); // SERVER: Just render the content as usual
1357
1386
 
1358
1387
  if (isServer) {
1359
- return /*#__PURE__*/React.createElement("div", {
1388
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1360
1389
  ref: ref
1361
1390
  }, children);
1362
1391
  } // CLIENT: Avoid hydration until we say so
1363
1392
 
1364
1393
 
1365
- return /*#__PURE__*/React.createElement("div", {
1394
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1366
1395
  ref: ref,
1367
1396
  suppressHydrationWarning: true,
1368
1397
  dangerouslySetInnerHTML: EMPTY_HTML
1369
1398
  });
1370
1399
  };
1371
1400
  ProgressiveHydration.propTypes = {
1372
- children: PropTypes.element
1401
+ children: PropTypes__default["default"].element
1373
1402
  };
1374
1403
 
1375
1404
  function _typeof(obj) {
@@ -2698,15 +2727,15 @@ var isEmpty = function isEmpty(value) {
2698
2727
  return value == null || // From standard.js: Always use === - but value == null is allowed to check null || undefined
2699
2728
  _typeof(value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
2700
2729
  };
2701
- PropTypes.shape({
2702
- "sketches-host": PropTypes.string,
2703
- "cdn-name": PropTypes.string,
2704
- "cdn-image": PropTypes.string
2730
+ PropTypes__default["default"].shape({
2731
+ "sketches-host": PropTypes__default["default"].string,
2732
+ "cdn-name": PropTypes__default["default"].string,
2733
+ "cdn-image": PropTypes__default["default"].string
2705
2734
  });
2706
- PropTypes.shape({
2707
- headline: PropTypes.string,
2708
- "last-published-at": PropTypes.number,
2709
- subheadline: PropTypes.string
2735
+ PropTypes__default["default"].shape({
2736
+ headline: PropTypes__default["default"].string,
2737
+ "last-published-at": PropTypes__default["default"].number,
2738
+ subheadline: PropTypes__default["default"].string
2710
2739
  });
2711
2740
  var getStoryUrl = function getStoryUrl(story) {
2712
2741
  var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
@@ -2750,17 +2779,17 @@ var getTimeStamp = function getTimeStamp(date, _formatter) {
2750
2779
  var timezone = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
2751
2780
 
2752
2781
  if (timezone && template === "story") {
2753
- var zonedTime = timezone && utcToZonedTime(date, timezone);
2754
- var formatZonedTime = zonedTime && format(zonedTime, "yyyy-MM-dd'T'HH:mm:ssXXX", {
2782
+ var zonedTime = timezone && dateFnsTz.utcToZonedTime(date, timezone);
2783
+ var formatZonedTime = zonedTime && dateFnsTz.format(zonedTime, "yyyy-MM-dd'T'HH:mm:ssXXX", {
2755
2784
  timeZone: timezone
2756
2785
  });
2757
2786
  var timeStamp = timestampToFormat("", "", "", date, config);
2758
- return /*#__PURE__*/React.createElement("time", {
2787
+ return /*#__PURE__*/React__default["default"].createElement("time", {
2759
2788
  dateTime: formatZonedTime
2760
2789
  }, timeStamp);
2761
2790
  }
2762
2791
 
2763
- return /*#__PURE__*/React.createElement(Timeago, {
2792
+ return /*#__PURE__*/React__default["default"].createElement(Timeago__default["default"], {
2764
2793
  date: date,
2765
2794
  formatter: function formatter(value, unit, suffix, date) {
2766
2795
  return _formatter(value, unit, suffix, date, config);
@@ -2908,21 +2937,21 @@ exports["default"] = _default;
2908
2937
 
2909
2938
  var _getClassName = /*@__PURE__*/getDefaultExportFromCjs(getClassName);
2910
2939
 
2911
- var StateContext = /*#__PURE__*/createContext(); // eslint-disable-next-line react/display-name
2940
+ var StateContext = /*#__PURE__*/React.createContext(); // eslint-disable-next-line react/display-name
2912
2941
 
2913
2942
  var StateProvider = function StateProvider(RowComponent) {
2914
2943
  return function (props) {
2915
2944
  return (
2916
2945
  /*#__PURE__*/
2917
2946
  // eslint-disable-next-line react/prop-types
2918
- React.createElement(StateContext.Provider, {
2947
+ React__default["default"].createElement(StateContext.Provider, {
2919
2948
  value: props.config
2920
- }, /*#__PURE__*/React.createElement(RowComponent, props))
2949
+ }, /*#__PURE__*/React__default["default"].createElement(RowComponent, props))
2921
2950
  );
2922
2951
  };
2923
2952
  };
2924
2953
  var useStateValue = function useStateValue() {
2925
- return useContext(StateContext);
2954
+ return React.useContext(StateContext);
2926
2955
  };
2927
2956
 
2928
2957
  var _styleModuleImportMap$d = {
@@ -2944,18 +2973,18 @@ var TimeStamp = function TimeStamp(_ref) {
2944
2973
  var time = story["last-published-at"] || story["first-published-at"];
2945
2974
  var isBottomClasses = isBottom ? "bottom-fix" : "";
2946
2975
  var textColor = getTextColor(configState.theme);
2947
- return /*#__PURE__*/React.createElement(React.Fragment, null, isTime && /*#__PURE__*/React.createElement("div", {
2976
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isTime && /*#__PURE__*/React__default["default"].createElement("div", {
2948
2977
  "data-test-id": "publish-time",
2949
2978
  className: "time arr--publish-time " + _getClassName("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$d)
2950
- }, /*#__PURE__*/React.createElement("div", {
2979
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2951
2980
  className: "timestamp-m_time-wrapper__3O2lM"
2952
2981
  }, getTimeStamp(time, formatter, config))));
2953
2982
  };
2954
2983
  TimeStamp.propTypes = {
2955
2984
  /** The Story Object from the API response */
2956
- story: PropTypes.object,
2957
- isBottom: PropTypes.bool,
2958
- config: PropTypes.object
2985
+ story: PropTypes__default["default"].object,
2986
+ isBottom: PropTypes__default["default"].bool,
2987
+ config: PropTypes__default["default"].object
2959
2988
  };
2960
2989
 
2961
2990
  var _styleModuleImportMap$c = {
@@ -2998,10 +3027,10 @@ var AuthorBase = function AuthorBase(_ref) {
2998
3027
  return null;
2999
3028
  }
3000
3029
 
3001
- return /*#__PURE__*/React.createElement("div", {
3030
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3002
3031
  "data-test-id": "author-image",
3003
3032
  className: _getClassName("author-image ".concat(dir, "-image"), _styleModuleImportMap$c)
3004
- }, /*#__PURE__*/React.createElement("figure", null, avatarS3Key ? /*#__PURE__*/React.createElement(ResponsiveImage, {
3033
+ }, /*#__PURE__*/React__default["default"].createElement("figure", null, avatarS3Key ? /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
3005
3034
  slug: avatarS3Key,
3006
3035
  "aspect-ratio": [1, 1],
3007
3036
  defaultWidth: 400,
@@ -3009,14 +3038,14 @@ var AuthorBase = function AuthorBase(_ref) {
3009
3038
  auto: ["format", "compress"]
3010
3039
  },
3011
3040
  alt: authorName
3012
- }) : /*#__PURE__*/React.createElement("img", {
3041
+ }) : /*#__PURE__*/React__default["default"].createElement("img", {
3013
3042
  src: avatarUrl
3014
3043
  })));
3015
3044
  };
3016
3045
 
3017
3046
  var isPrefix = function isPrefix(dir) {
3018
3047
  if (prefix) {
3019
- return /*#__PURE__*/React.createElement("div", {
3048
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3020
3049
  className: "arr-author-prefix " + _getClassName("prefix ".concat(textColor), _styleModuleImportMap$c)
3021
3050
  }, prefix);
3022
3051
  }
@@ -3024,11 +3053,11 @@ var AuthorBase = function AuthorBase(_ref) {
3024
3053
  return !hideAuthorImage && authorImage(dir);
3025
3054
  };
3026
3055
 
3027
- return /*#__PURE__*/React.createElement(React.Fragment, null, isAuthor && /*#__PURE__*/React.createElement(Link, {
3056
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement(components.Link, {
3028
3057
  href: "".concat(mountAt, "/author/") + slug,
3029
3058
  "aria-label": "author-name",
3030
3059
  className: "author-name arr-author-name arrow-component " + _getClassName("author ".concat(isBottomClasses), _styleModuleImportMap$c)
3031
- }, isPrefix("ltr"), /*#__PURE__*/React.createElement("div", {
3060
+ }, isPrefix("ltr"), /*#__PURE__*/React__default["default"].createElement("div", {
3032
3061
  "data-test-id": "author-name",
3033
3062
  className: "author-name " + _getClassName("author-name ".concat(textColor), _styleModuleImportMap$c)
3034
3063
  }, authorName || story["author-name"]), !prefix && isPrefix("rtl")));
@@ -3040,18 +3069,18 @@ function mapStateToProps$1(state) {
3040
3069
  };
3041
3070
  }
3042
3071
 
3043
- var Author = connect(mapStateToProps$1)(AuthorBase);
3072
+ var Author = reactRedux.connect(mapStateToProps$1)(AuthorBase);
3044
3073
  AuthorBase.propTypes = {
3045
3074
  /** The Story Object from the API response */
3046
- story: PropTypes.object.isRequired,
3075
+ story: PropTypes__default["default"].object.isRequired,
3047
3076
 
3048
3077
  /** Hide Author Avatar Image */
3049
- hideAuthorImage: PropTypes.bool,
3078
+ hideAuthorImage: PropTypes__default["default"].bool,
3050
3079
  // fix Author bottom of the storyCard
3051
- isBottom: PropTypes.bool,
3080
+ isBottom: PropTypes__default["default"].bool,
3052
3081
  // fix prefix before the author name
3053
- prefix: PropTypes.string,
3054
- config: PropTypes.object
3082
+ prefix: PropTypes__default["default"].string,
3083
+ config: PropTypes__default["default"].object
3055
3084
  };
3056
3085
  AuthorBase.defaultProps = {
3057
3086
  hideAuthorImage: false,
@@ -3072,14 +3101,14 @@ var Dot = function Dot(_ref) {
3072
3101
  height = _ref$height === void 0 ? "3px" : _ref$height,
3073
3102
  _ref$color = _ref.color,
3074
3103
  color = _ref$color === void 0 ? "light" : _ref$color;
3075
- return /*#__PURE__*/React.createElement("div", {
3104
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3076
3105
  className: _getClassName(color, _styleModuleImportMap$b)
3077
- }, /*#__PURE__*/React.createElement("svg", {
3106
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
3078
3107
  xmlns: "http://www.w3.org/2000/svg",
3079
3108
  width: width,
3080
3109
  height: height,
3081
3110
  viewBox: "0 0 3 3"
3082
- }, /*#__PURE__*/React.createElement("circle", {
3111
+ }, /*#__PURE__*/React__default["default"].createElement("circle", {
3083
3112
  cx: "87",
3084
3113
  cy: "9",
3085
3114
  r: "1",
@@ -3090,9 +3119,9 @@ var Dot = function Dot(_ref) {
3090
3119
  };
3091
3120
  Dot.propTypes = {
3092
3121
  /** height , width and color of the dot icon */
3093
- color: PropTypes.string,
3094
- width: PropTypes.string,
3095
- height: PropTypes.string
3122
+ color: PropTypes__default["default"].string,
3123
+ width: PropTypes__default["default"].string,
3124
+ height: PropTypes__default["default"].string
3096
3125
  };
3097
3126
 
3098
3127
  var _styleModuleImportMap$a = {
@@ -3108,22 +3137,22 @@ var Divider = function Divider(_ref) {
3108
3137
  height = _ref$height === void 0 ? "10" : _ref$height,
3109
3138
  _ref$color = _ref.color,
3110
3139
  color = _ref$color === void 0 ? "light" : _ref$color;
3111
- return /*#__PURE__*/React.createElement("div", {
3140
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3112
3141
  className: _getClassName(color, _styleModuleImportMap$a)
3113
- }, /*#__PURE__*/React.createElement("svg", {
3142
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
3114
3143
  xmlns: "http://www.w3.org/2000/svg",
3115
3144
  width: width,
3116
3145
  height: height
3117
- }, /*#__PURE__*/React.createElement("path", {
3146
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3118
3147
  fill: "inherit",
3119
3148
  d: "M0 0h1v10H0z"
3120
3149
  })));
3121
3150
  };
3122
3151
  Divider.propTypes = {
3123
3152
  /** height , width and color of the dot icon */
3124
- color: PropTypes.string,
3125
- width: PropTypes.string,
3126
- height: PropTypes.string
3153
+ color: PropTypes__default["default"].string,
3154
+ width: PropTypes__default["default"].string,
3155
+ height: PropTypes__default["default"].string
3127
3156
  };
3128
3157
 
3129
3158
  var _styleModuleImportMap$9 = {
@@ -3146,23 +3175,23 @@ var ReadTime = function ReadTime(_ref) {
3146
3175
  var textColor = isLightTheme ? "light" : getTextColor(config.theme);
3147
3176
  if (!showReadTime || !readTime) return null;
3148
3177
  var timeToRead = get_1(opts, ["localizedTimeToRead"]) || "min read";
3149
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
3178
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3150
3179
  "data-test-id": "read-time",
3151
3180
  className: "arrow-component arr--read-time " + _getClassName("read-time-wrapper ".concat(textColor), _styleModuleImportMap$9)
3152
- }, /*#__PURE__*/React.createElement("span", {
3181
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
3153
3182
  className: "read-time-indicator read-time-m_dot-indicator__3Sqh2"
3154
- }, /*#__PURE__*/React.createElement(Dot, {
3183
+ }, /*#__PURE__*/React__default["default"].createElement(Dot, {
3155
3184
  color: textColor
3156
- })), /*#__PURE__*/React.createElement("span", null, readTime, " ", timeToRead)));
3185
+ })), /*#__PURE__*/React__default["default"].createElement("span", null, readTime, " ", timeToRead)));
3157
3186
  };
3158
3187
  ReadTime.propTypes = {
3159
- story: PropTypes.shape({
3160
- "read-time": PropTypes.number
3188
+ story: PropTypes__default["default"].shape({
3189
+ "read-time": PropTypes__default["default"].number
3161
3190
  }),
3162
- opts: PropTypes.shape({
3163
- showReadTime: PropTypes.bool
3191
+ opts: PropTypes__default["default"].shape({
3192
+ showReadTime: PropTypes__default["default"].bool
3164
3193
  }),
3165
- isLightTheme: PropTypes.bool
3194
+ isLightTheme: PropTypes__default["default"].bool
3166
3195
  };
3167
3196
 
3168
3197
  var _styleModuleImportMap$8 = {
@@ -3193,33 +3222,33 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3193
3222
 
3194
3223
  var getSeparator = function getSeparator() {
3195
3224
  if (separator === "divider") {
3196
- return /*#__PURE__*/React.createElement(Divider, {
3225
+ return /*#__PURE__*/React__default["default"].createElement(Divider, {
3197
3226
  color: textColor
3198
3227
  });
3199
3228
  }
3200
3229
 
3201
- return /*#__PURE__*/React.createElement(Dot, {
3230
+ return /*#__PURE__*/React__default["default"].createElement(Dot, {
3202
3231
  color: textColor
3203
3232
  });
3204
3233
  };
3205
3234
 
3206
3235
  var getTimeStamp = function getTimeStamp() {
3207
3236
  if (!isTime) return null;
3208
- return /*#__PURE__*/React.createElement(React.Fragment, null, isAuthor && /*#__PURE__*/React.createElement("span", {
3237
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement("span", {
3209
3238
  className: "arr-separator " + _getClassName("".concat(seperatorStyle), _styleModuleImportMap$8)
3210
- }, getSeparator()), /*#__PURE__*/React.createElement(TimeStamp, {
3239
+ }, getSeparator()), /*#__PURE__*/React__default["default"].createElement(TimeStamp, {
3211
3240
  story: story,
3212
3241
  config: config
3213
- }), isReadTime && /*#__PURE__*/React.createElement(ReadTime, {
3242
+ }), isReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
3214
3243
  story: story,
3215
3244
  opts: config,
3216
3245
  isLightTheme: isLightTheme
3217
3246
  }));
3218
3247
  };
3219
3248
 
3220
- return /*#__PURE__*/React.createElement("div", {
3249
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3221
3250
  className: "arr--author-time " + _getClassName("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$8)
3222
- }, isAuthor ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Author, {
3251
+ }, isAuthor ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Author, {
3223
3252
  story: story,
3224
3253
  isBottom: true,
3225
3254
  hideAuthorImage: hideAuthorImage,
@@ -3227,19 +3256,19 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3227
3256
  }), getTimeStamp()) : getTimeStamp());
3228
3257
  };
3229
3258
  AuthorWithTime.propTypes = {
3230
- story: PropTypes.object,
3259
+ story: PropTypes__default["default"].object,
3231
3260
 
3232
3261
  /** Style of separator between the Author & Timestamp */
3233
- separator: PropTypes.oneOf(["dot", "divider"]),
3262
+ separator: PropTypes__default["default"].oneOf(["dot", "divider"]),
3234
3263
 
3235
3264
  /** hide the author image */
3236
- hideAuthorImage: PropTypes.bool,
3265
+ hideAuthorImage: PropTypes__default["default"].bool,
3237
3266
  // fix author and time at the end
3238
- isBottom: PropTypes.bool,
3267
+ isBottom: PropTypes__default["default"].bool,
3239
3268
  // fix prefix before the author name
3240
- prefix: PropTypes.string,
3241
- config: PropTypes.object,
3242
- isLightTheme: PropTypes.bool
3269
+ prefix: PropTypes__default["default"].string,
3270
+ config: PropTypes__default["default"].object,
3271
+ isLightTheme: PropTypes__default["default"].bool
3243
3272
  };
3244
3273
  AuthorWithTime.defaultProps = {
3245
3274
  separator: "dot",
@@ -3285,7 +3314,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
3285
3314
  var borderBottomFullStyle = templateStyle.includes("collection-borderBottomFull") ? "4px solid ".concat(CollectionNameBorderColor) : "";
3286
3315
 
3287
3316
  var borderBottomStyle = function borderBottomStyle() {
3288
- return templateStyle.includes("collection-borderBottom") && !templateStyle.includes("collection-borderBottomFull") ? /*#__PURE__*/React.createElement("div", {
3317
+ return templateStyle.includes("collection-borderBottom") && !templateStyle.includes("collection-borderBottomFull") ? /*#__PURE__*/React__default["default"].createElement("div", {
3289
3318
  className: "collection-name-m_border-bottom__1MnlV",
3290
3319
  style: {
3291
3320
  borderBottom: "4px solid ".concat(CollectionNameBorderColor)
@@ -3345,40 +3374,40 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
3345
3374
  }
3346
3375
  };
3347
3376
 
3348
- return /*#__PURE__*/React.createElement(React.Fragment, null, showRowTitle && collectionName && /*#__PURE__*/React.createElement("div", {
3377
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, showRowTitle && collectionName && /*#__PURE__*/React__default["default"].createElement("div", {
3349
3378
  style: {
3350
3379
  borderBottom: borderBottomFullStyle
3351
3380
  },
3352
3381
  "data-test-id": "collection-name",
3353
3382
  className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$7)
3354
- }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React.createElement("span", {
3383
+ }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
3355
3384
  className: "arr-collection-name-border-left collection-name-m_border-left__3_pYw",
3356
3385
  style: {
3357
3386
  color: CollectionNameBorderColor,
3358
3387
  fontSize: getBorderHeight()
3359
3388
  }
3360
- }), slug && !slug.includes(undefined) ? /*#__PURE__*/React.createElement(Link, {
3389
+ }), slug && !slug.includes(undefined) ? /*#__PURE__*/React__default["default"].createElement(components.Link, {
3361
3390
  href: slug,
3362
3391
  "aria-label": "collection-name"
3363
- }, /*#__PURE__*/React.createElement(HeaderTag, null, collectionName)) : /*#__PURE__*/React.createElement(HeaderTag, null, collectionName), borderBottomStyle()));
3392
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, null, collectionName)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, null, collectionName), borderBottomStyle()));
3364
3393
  };
3365
3394
  CollectionNameBase.propTypes = {
3366
3395
  /** Collection name border color */
3367
- collectionNameBorderColor: PropTypes$1.string,
3396
+ collectionNameBorderColor: PropTypes.PropTypes.string,
3368
3397
 
3369
3398
  /** The Collection Object from the API response */
3370
- collection: PropTypes$1.object,
3399
+ collection: PropTypes.PropTypes.object,
3371
3400
 
3372
3401
  /** The publisher config from the API response */
3373
- config: PropTypes$1.object,
3402
+ config: PropTypes.PropTypes.object,
3374
3403
 
3375
3404
  /** The style template for the component */
3376
- collectionNameTemplate: PropTypes$1.oneOf(["", "borderLeft", "borderBottom", "crossLine", "borderBottomFull"]),
3405
+ collectionNameTemplate: PropTypes.PropTypes.oneOf(["", "borderLeft", "borderBottom", "crossLine", "borderBottomFull"]),
3377
3406
 
3378
3407
  /** Header tags ranging h1-h6, where h[headerLevel] */
3379
- headerLevel: PropTypes$1.string,
3380
- customCollectionName: PropTypes$1.string,
3381
- navigate: PropTypes$1.bool
3408
+ headerLevel: PropTypes.PropTypes.string,
3409
+ customCollectionName: PropTypes.PropTypes.string,
3410
+ navigate: PropTypes.PropTypes.bool
3382
3411
  };
3383
3412
  CollectionNameBase.defaultProps = {
3384
3413
  collectionNameTemplate: "",
@@ -3391,7 +3420,7 @@ function mapStateToProps(state) {
3391
3420
  };
3392
3421
  }
3393
3422
 
3394
- var CollectionName = connect(mapStateToProps)(CollectionNameBase);
3423
+ var CollectionName = reactRedux.connect(mapStateToProps)(CollectionNameBase);
3395
3424
 
3396
3425
  var CrownIcon = function CrownIcon(_ref) {
3397
3426
  var height = _ref.height,
@@ -3399,7 +3428,7 @@ var CrownIcon = function CrownIcon(_ref) {
3399
3428
  _ref$color = _ref.color,
3400
3429
  color = _ref$color === void 0 ? "#D8D8D8" : _ref$color,
3401
3430
  positionTop = _ref.positionTop;
3402
- return /*#__PURE__*/React.createElement("svg", {
3431
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3403
3432
  xmlns: "http://www.w3.org/2000/svg",
3404
3433
  width: width,
3405
3434
  height: height,
@@ -3408,28 +3437,28 @@ var CrownIcon = function CrownIcon(_ref) {
3408
3437
  position: "relative",
3409
3438
  top: positionTop
3410
3439
  }
3411
- }, /*#__PURE__*/React.createElement("g", {
3440
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3412
3441
  fill: "none",
3413
3442
  fillRule: "evenodd",
3414
3443
  stroke: "none",
3415
3444
  strokeWidth: "1"
3416
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
3445
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
3417
3446
  transform: "translate(8 8)"
3418
- }, /*#__PURE__*/React.createElement("path", {
3447
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3419
3448
  d: "M0 0H24V24H0z"
3420
- }), /*#__PURE__*/React.createElement("g", {
3449
+ }), /*#__PURE__*/React__default["default"].createElement("g", {
3421
3450
  fill: color,
3422
3451
  fillRule: "nonzero",
3423
3452
  transform: "translate(0 2)"
3424
- }, /*#__PURE__*/React.createElement("path", {
3453
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3425
3454
  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"
3426
3455
  }))))));
3427
3456
  };
3428
3457
  CrownIcon.propTypes = {
3429
- height: PropTypes.string,
3430
- width: PropTypes.string,
3431
- color: PropTypes.string,
3432
- positionTop: PropTypes.string
3458
+ height: PropTypes__default["default"].string,
3459
+ width: PropTypes__default["default"].string,
3460
+ color: PropTypes__default["default"].string,
3461
+ positionTop: PropTypes__default["default"].string
3433
3462
  };
3434
3463
 
3435
3464
  var KeyIcon = function KeyIcon(_ref) {
@@ -3438,7 +3467,7 @@ var KeyIcon = function KeyIcon(_ref) {
3438
3467
  _ref$color = _ref.color,
3439
3468
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3440
3469
  positionTop = _ref.positionTop;
3441
- return /*#__PURE__*/React.createElement("svg", {
3470
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3442
3471
  xmlns: "http://www.w3.org/2000/svg",
3443
3472
  width: width,
3444
3473
  height: height,
@@ -3447,16 +3476,16 @@ var KeyIcon = function KeyIcon(_ref) {
3447
3476
  position: "relative",
3448
3477
  top: positionTop
3449
3478
  }
3450
- }, /*#__PURE__*/React.createElement("g", {
3479
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3451
3480
  fill: "none",
3452
3481
  fillRule: "evenodd",
3453
3482
  stroke: "none",
3454
3483
  strokeWidth: "1"
3455
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
3484
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
3456
3485
  transform: "translate(8 8)"
3457
- }, /*#__PURE__*/React.createElement("path", {
3486
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3458
3487
  d: "M0 0H24V24H0z"
3459
- }), /*#__PURE__*/React.createElement("path", {
3488
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
3460
3489
  fill: color,
3461
3490
  fillRule: "nonzero",
3462
3491
  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",
@@ -3464,10 +3493,10 @@ var KeyIcon = function KeyIcon(_ref) {
3464
3493
  })))));
3465
3494
  };
3466
3495
  KeyIcon.propTypes = {
3467
- height: PropTypes.string,
3468
- width: PropTypes.string,
3469
- color: PropTypes.string,
3470
- positionTop: PropTypes.string
3496
+ height: PropTypes__default["default"].string,
3497
+ width: PropTypes__default["default"].string,
3498
+ color: PropTypes__default["default"].string,
3499
+ positionTop: PropTypes__default["default"].string
3471
3500
  };
3472
3501
 
3473
3502
  var LockIcon = function LockIcon(_ref) {
@@ -3476,7 +3505,7 @@ var LockIcon = function LockIcon(_ref) {
3476
3505
  _ref$color = _ref.color,
3477
3506
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3478
3507
  positionTop = _ref.positionTop;
3479
- return /*#__PURE__*/React.createElement("svg", {
3508
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3480
3509
  xmlns: "http://www.w3.org/2000/svg",
3481
3510
  width: width,
3482
3511
  height: height,
@@ -3485,28 +3514,28 @@ var LockIcon = function LockIcon(_ref) {
3485
3514
  position: "relative",
3486
3515
  top: positionTop
3487
3516
  }
3488
- }, /*#__PURE__*/React.createElement("g", {
3517
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3489
3518
  fill: "none",
3490
3519
  fillRule: "evenodd",
3491
3520
  stroke: "none",
3492
3521
  strokeWidth: "1"
3493
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
3522
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
3494
3523
  transform: "translate(8 8)"
3495
- }, /*#__PURE__*/React.createElement("path", {
3524
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3496
3525
  d: "M0 0H24V24H0z"
3497
- }), /*#__PURE__*/React.createElement("g", {
3526
+ }), /*#__PURE__*/React__default["default"].createElement("g", {
3498
3527
  fill: color,
3499
3528
  fillRule: "nonzero",
3500
3529
  transform: "translate(3)"
3501
- }, /*#__PURE__*/React.createElement("path", {
3530
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3502
3531
  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"
3503
3532
  }))))));
3504
3533
  };
3505
3534
  LockIcon.propTypes = {
3506
- height: PropTypes.string,
3507
- width: PropTypes.string,
3508
- color: PropTypes.string,
3509
- positionTop: PropTypes.string
3535
+ height: PropTypes__default["default"].string,
3536
+ width: PropTypes__default["default"].string,
3537
+ color: PropTypes__default["default"].string,
3538
+ positionTop: PropTypes__default["default"].string
3510
3539
  };
3511
3540
 
3512
3541
  var StarIcon = function StarIcon(_ref) {
@@ -3516,7 +3545,7 @@ var StarIcon = function StarIcon(_ref) {
3516
3545
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3517
3546
  _ref$positionTop = _ref.positionTop,
3518
3547
  positionTop = _ref$positionTop === void 0 ? "" : _ref$positionTop;
3519
- return /*#__PURE__*/React.createElement("svg", {
3548
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3520
3549
  xmlns: "http://www.w3.org/2000/svg",
3521
3550
  width: width,
3522
3551
  height: height,
@@ -3525,21 +3554,21 @@ var StarIcon = function StarIcon(_ref) {
3525
3554
  position: "relative",
3526
3555
  top: positionTop
3527
3556
  }
3528
- }, /*#__PURE__*/React.createElement("g", {
3557
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3529
3558
  fill: "none",
3530
3559
  fillRule: "evenodd",
3531
3560
  stroke: "none",
3532
3561
  strokeWidth: "1"
3533
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
3562
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("path", {
3534
3563
  fill: color,
3535
3564
  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"
3536
3565
  }))));
3537
3566
  };
3538
3567
  StarIcon.propTypes = {
3539
- height: PropTypes.string,
3540
- width: PropTypes.string,
3541
- color: PropTypes.string,
3542
- positionTop: PropTypes.string
3568
+ height: PropTypes__default["default"].string,
3569
+ width: PropTypes__default["default"].string,
3570
+ color: PropTypes__default["default"].string,
3571
+ positionTop: PropTypes__default["default"].string
3543
3572
  };
3544
3573
 
3545
3574
  var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
@@ -3551,7 +3580,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3551
3580
 
3552
3581
  switch (iconType) {
3553
3582
  case "crown":
3554
- return /*#__PURE__*/React.createElement(CrownIcon, {
3583
+ return /*#__PURE__*/React__default["default"].createElement(CrownIcon, {
3555
3584
  width: width,
3556
3585
  height: height,
3557
3586
  color: color,
@@ -3559,7 +3588,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3559
3588
  });
3560
3589
 
3561
3590
  case "lock":
3562
- return /*#__PURE__*/React.createElement(LockIcon, {
3591
+ return /*#__PURE__*/React__default["default"].createElement(LockIcon, {
3563
3592
  width: width,
3564
3593
  height: height,
3565
3594
  color: color,
@@ -3567,7 +3596,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3567
3596
  });
3568
3597
 
3569
3598
  case "key":
3570
- return /*#__PURE__*/React.createElement(KeyIcon, {
3599
+ return /*#__PURE__*/React__default["default"].createElement(KeyIcon, {
3571
3600
  width: width,
3572
3601
  height: height,
3573
3602
  color: color,
@@ -3575,7 +3604,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3575
3604
  });
3576
3605
 
3577
3606
  default:
3578
- return /*#__PURE__*/React.createElement(StarIcon, {
3607
+ return /*#__PURE__*/React__default["default"].createElement(StarIcon, {
3579
3608
  width: width,
3580
3609
  height: height,
3581
3610
  color: color,
@@ -3584,21 +3613,21 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3584
3613
  }
3585
3614
  };
3586
3615
  PremiumStoryIcon.propTypes = {
3587
- width: PropTypes.string,
3588
- height: PropTypes.string,
3589
- color: PropTypes.string,
3590
- iconType: PropTypes.string,
3591
- positionTop: PropTypes.string
3616
+ width: PropTypes__default["default"].string,
3617
+ height: PropTypes__default["default"].string,
3618
+ color: PropTypes__default["default"].string,
3619
+ iconType: PropTypes__default["default"].string,
3620
+ positionTop: PropTypes__default["default"].string
3592
3621
  };
3593
3622
 
3594
3623
  function LiveIcon() {
3595
- return /*#__PURE__*/React.createElement("svg", {
3624
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3596
3625
  className: "live-icon",
3597
3626
  xmlns: "http://www.w3.org/2000/svg",
3598
3627
  width: "25",
3599
3628
  height: "24",
3600
3629
  viewBox: "0 0 25 24"
3601
- }, /*#__PURE__*/React.createElement("path", {
3630
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3602
3631
  fill: "#ff5858",
3603
3632
  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"
3604
3633
  }));
@@ -3655,37 +3684,37 @@ var Headline = function Headline(_ref) {
3655
3684
  var wrapperClass = premiumStory ? "wrapper" : "";
3656
3685
  var iconSize = "24px";
3657
3686
  var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !get_1(story, ["metadata", "is-closed"], false);
3658
- return /*#__PURE__*/React.createElement("div", {
3687
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3659
3688
  "data-test-id": "headline",
3660
3689
  className: "arrow-component arr--headline " + _getClassName(wrapperClass, _styleModuleImportMap$6)
3661
- }, premiumStory && /*#__PURE__*/React.createElement(PremiumStoryIcon, {
3690
+ }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
3662
3691
  width: iconSize,
3663
3692
  height: iconSize,
3664
3693
  color: iconColor,
3665
3694
  iconType: iconStyle,
3666
3695
  positionTop: positionHeadline()
3667
- }), isLink ? /*#__PURE__*/React.createElement(Link, {
3696
+ }), isLink ? /*#__PURE__*/React__default["default"].createElement(components.Link, {
3668
3697
  href: getStoryUrl(story, "/".concat(story.slug)),
3669
3698
  externalLink: isExternalStory(story),
3670
3699
  "aria-label": "headline"
3671
- }, /*#__PURE__*/React.createElement(HeaderTag, {
3700
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
3672
3701
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$6)
3673
- }, enableLiveIcon && /*#__PURE__*/React.createElement(LiveIcon, null), headline)) : /*#__PURE__*/React.createElement(HeaderTag, {
3702
+ }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
3674
3703
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$6)
3675
- }, enableLiveIcon && /*#__PURE__*/React.createElement(LiveIcon, null), headline));
3704
+ }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline));
3676
3705
  };
3677
3706
  Headline.propTypes = {
3678
3707
  /** The Story Object from the API response */
3679
- story: PropTypes.object.isRequired,
3708
+ story: PropTypes__default["default"].object.isRequired,
3680
3709
 
3681
3710
  /** Header tags ranging h1-h6, where h[headerLevel] */
3682
- headerLevel: PropTypes.string,
3683
- premiumStoryIconConfig: PropTypes.shape({
3684
- iconColor: PropTypes.string,
3685
- iconType: PropTypes.string,
3686
- enablePremiumStoryIcon: PropTypes.bool
3711
+ headerLevel: PropTypes__default["default"].string,
3712
+ premiumStoryIconConfig: PropTypes__default["default"].shape({
3713
+ iconColor: PropTypes__default["default"].string,
3714
+ iconType: PropTypes__default["default"].string,
3715
+ enablePremiumStoryIcon: PropTypes__default["default"].bool
3687
3716
  }),
3688
- isLink: PropTypes.bool
3717
+ isLink: PropTypes__default["default"].bool
3689
3718
  };
3690
3719
  Headline.defaultProps = {
3691
3720
  headerLevel: "6",
@@ -3699,27 +3728,27 @@ var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
3699
3728
  height = _ref$height === void 0 ? 30 : _ref$height,
3700
3729
  _ref$iconColor = _ref.iconColor,
3701
3730
  iconColor = _ref$iconColor === void 0 ? "#99B0CB" : _ref$iconColor;
3702
- return /*#__PURE__*/React.createElement("svg", {
3731
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3703
3732
  width: width,
3704
3733
  height: height,
3705
3734
  viewBox: "0 0 102 76",
3706
3735
  version: "1.1"
3707
- }, /*#__PURE__*/React.createElement("g", {
3736
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3708
3737
  id: "demo-home-copy",
3709
3738
  stroke: "none",
3710
3739
  strokeWidth: "1",
3711
3740
  fill: "none",
3712
3741
  fillRule: "evenodd",
3713
3742
  transform: "translate(-377.000000, -314.000000)"
3714
- }, /*#__PURE__*/React.createElement("g", {
3743
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3715
3744
  id: "Group-13",
3716
3745
  transform: "translate(377.000000, 314.000000)"
3717
- }, /*#__PURE__*/React.createElement("path", {
3746
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3718
3747
  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",
3719
3748
  id: "Combined-Shape",
3720
3749
  fill: iconColor,
3721
3750
  fillRule: "nonzero"
3722
- }), /*#__PURE__*/React.createElement("rect", {
3751
+ }), /*#__PURE__*/React__default["default"].createElement("rect", {
3723
3752
  id: "Rectangle-19",
3724
3753
  stroke: iconColor,
3725
3754
  strokeWidth: "3",
@@ -3731,24 +3760,24 @@ var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
3731
3760
  }))));
3732
3761
  };
3733
3762
  ImageFallbackIcon.propTypes = {
3734
- width: PropTypes.object,
3735
- height: PropTypes.object,
3736
- iconColor: PropTypes.object
3763
+ width: PropTypes__default["default"].object,
3764
+ height: PropTypes__default["default"].object,
3765
+ iconColor: PropTypes__default["default"].object
3737
3766
  };
3738
3767
 
3739
3768
  var imageFallback = function imageFallback() {
3740
- return /*#__PURE__*/React.createElement("div", {
3769
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3741
3770
  className: "arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"
3742
- }, /*#__PURE__*/React.createElement("figure", {
3771
+ }, /*#__PURE__*/React__default["default"].createElement("figure", {
3743
3772
  className: "arr--fallback-svg fallback-m_fallback-svg__tK9fL"
3744
- }, /*#__PURE__*/React.createElement(ImageFallbackIcon, null)));
3773
+ }, /*#__PURE__*/React__default["default"].createElement(ImageFallbackIcon, null)));
3745
3774
  };
3746
3775
 
3747
3776
  var FallbackImage = function FallbackImage(_ref) {
3748
3777
  var slug = _ref.slug;
3749
3778
 
3750
3779
  if (slug) {
3751
- return /*#__PURE__*/React.createElement(Link, {
3780
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
3752
3781
  href: slug,
3753
3782
  "aria-label": "image-fallback"
3754
3783
  }, imageFallback());
@@ -3757,23 +3786,23 @@ var FallbackImage = function FallbackImage(_ref) {
3757
3786
  }
3758
3787
  };
3759
3788
  FallbackImage.propTypes = {
3760
- slug: PropTypes.string
3789
+ slug: PropTypes__default["default"].string
3761
3790
  };
3762
3791
 
3763
3792
  var HyperLinkIcon = function HyperLinkIcon() {
3764
- return /*#__PURE__*/React.createElement("svg", {
3793
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3765
3794
  xmlns: "http://www.w3.org/2000/svg",
3766
3795
  width: "36",
3767
3796
  height: "28"
3768
- }, /*#__PURE__*/React.createElement("g", {
3797
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3769
3798
  fill: "none",
3770
3799
  fillRule: "evenodd"
3771
- }, /*#__PURE__*/React.createElement("rect", {
3800
+ }, /*#__PURE__*/React__default["default"].createElement("rect", {
3772
3801
  width: "36",
3773
3802
  height: "28",
3774
3803
  fill: "#3D6FCF",
3775
3804
  rx: "4"
3776
- }), /*#__PURE__*/React.createElement("path", {
3805
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
3777
3806
  stroke: "#FFF",
3778
3807
  strokeLinecap: "round",
3779
3808
  strokeLinejoin: "round",
@@ -3786,16 +3815,16 @@ var HyperLink = function HyperLink(_ref) {
3786
3815
  var _ref$hyperLink = _ref.hyperLink,
3787
3816
  hyperLink = _ref$hyperLink === void 0 ? "" : _ref$hyperLink;
3788
3817
  if (!hyperLink) return null;
3789
- return /*#__PURE__*/React.createElement(Link, {
3818
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
3790
3819
  href: hyperLink,
3791
3820
  "aria-label": "hyperlink-button",
3792
3821
  className: "arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",
3793
3822
  target: "_blank",
3794
3823
  rel: "noopener noreferrer"
3795
- }, /*#__PURE__*/React.createElement(HyperLinkIcon, null));
3824
+ }, /*#__PURE__*/React__default["default"].createElement(HyperLinkIcon, null));
3796
3825
  };
3797
3826
  HyperLink.propTypes = {
3798
- hyperLink: PropTypes.string
3827
+ hyperLink: PropTypes__default["default"].string
3799
3828
  };
3800
3829
 
3801
3830
  var _styleModuleImportMap$5 = {
@@ -3831,7 +3860,7 @@ var HeroImage = function HeroImage(_ref) {
3831
3860
  StoryTemplateIcon = _config$StoryTemplate === void 0 ? function () {
3832
3861
  return null;
3833
3862
  } : _config$StoryTemplate;
3834
- var showImagePlaceholder = useSelector(function (state) {
3863
+ var showImagePlaceholder = reactRedux.useSelector(function (state) {
3835
3864
  return get_1(state, ["qt", "config", "showPlaceholder"]);
3836
3865
  });
3837
3866
  var getPlaceholderStyleName = showImagePlaceholder ? "placeholder" : "";
@@ -3867,37 +3896,37 @@ var HeroImage = function HeroImage(_ref) {
3867
3896
  var fallbackImage = function fallbackImage() {
3868
3897
  if (!slug) {
3869
3898
  if (fallbackImageUrl && !isStoryPageImage) {
3870
- return /*#__PURE__*/React.createElement("figure", {
3899
+ return /*#__PURE__*/React__default["default"].createElement("figure", {
3871
3900
  style: {
3872
3901
  paddingTop: imagePadding + "%"
3873
3902
  },
3874
3903
  className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$5)
3875
- }, /*#__PURE__*/React.createElement("img", {
3904
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
3876
3905
  className: "qt-image",
3877
3906
  "data-src": "".concat(fallbackImageUrl),
3878
3907
  alt: "image-fallback"
3879
3908
  }));
3880
3909
  }
3881
3910
 
3882
- return /*#__PURE__*/React.createElement(React.Fragment, null, defaultFallback ? /*#__PURE__*/React.createElement("div", {
3911
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, defaultFallback ? /*#__PURE__*/React__default["default"].createElement("div", {
3883
3912
  "data-test-id": "arr--fallback-hero-image",
3884
3913
  style: {
3885
3914
  paddingTop: imagePadding + "%"
3886
3915
  },
3887
3916
  className: "arr--fallback-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$5)
3888
- }, /*#__PURE__*/React.createElement(StoryTemplateIcon, {
3917
+ }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
3889
3918
  storyTemplate: story["story-template"]
3890
- }), /*#__PURE__*/React.createElement(FallbackImage, null)) : null);
3919
+ }), /*#__PURE__*/React__default["default"].createElement(FallbackImage, null)) : null);
3891
3920
  }
3892
3921
 
3893
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("figure", {
3922
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("figure", {
3894
3923
  style: {
3895
3924
  paddingTop: imagePadding + "%"
3896
3925
  },
3897
3926
  className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$5)
3898
- }, /*#__PURE__*/React.createElement(StoryTemplateIcon, {
3927
+ }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
3899
3928
  storyTemplate: story["story-template"]
3900
- }), /*#__PURE__*/React.createElement(ResponsiveHeroImage, {
3929
+ }), /*#__PURE__*/React__default["default"].createElement(components.ResponsiveHeroImage, {
3901
3930
  story: story,
3902
3931
  aspectRatio: imageAspectRatio,
3903
3932
  defaultWidth: defaultWidth,
@@ -3906,15 +3935,15 @@ var HeroImage = function HeroImage(_ref) {
3906
3935
  auto: ["format", "compress"],
3907
3936
  fit: "max"
3908
3937
  }
3909
- })), isStoryPageImage && hyperLink && /*#__PURE__*/React.createElement(HyperLink, {
3938
+ })), isStoryPageImage && hyperLink && /*#__PURE__*/React__default["default"].createElement(HyperLink, {
3910
3939
  hyperLink: hyperLink
3911
3940
  }));
3912
3941
  };
3913
3942
 
3914
- return story && (isStoryPageImage ? /*#__PURE__*/React.createElement("div", {
3943
+ return story && (isStoryPageImage ? /*#__PURE__*/React__default["default"].createElement("div", {
3915
3944
  "data-test-id": "arr--hero-image",
3916
3945
  className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$5)
3917
- }, fallbackImage()) : /*#__PURE__*/React.createElement(Link, {
3946
+ }, fallbackImage()) : /*#__PURE__*/React__default["default"].createElement(components.Link, {
3918
3947
  "data-test-id": "arr--hero-image",
3919
3948
  href: getStoryUrl(story, "/".concat(story.slug)),
3920
3949
  externalLink: isExternalStory(story),
@@ -3924,30 +3953,30 @@ var HeroImage = function HeroImage(_ref) {
3924
3953
  };
3925
3954
  HeroImage.propTypes = {
3926
3955
  /** The Story Object from the API response */
3927
- story: PropTypes.object.isRequired,
3956
+ story: PropTypes__default["default"].object.isRequired,
3928
3957
 
3929
3958
  /** Removes the Hero Image padding for the image to bleed over the margin */
3930
- FullBleed: PropTypes.bool,
3959
+ FullBleed: PropTypes__default["default"].bool,
3931
3960
 
3932
3961
  /** The default width for the image, in case the browser does not support srcset */
3933
- defaultWidth: PropTypes.number,
3962
+ defaultWidth: PropTypes__default["default"].number,
3934
3963
 
3935
3964
  /** The list of available widths */
3936
- widths: PropTypes.array,
3965
+ widths: PropTypes__default["default"].array,
3937
3966
  // fatch the correct hero image
3938
- aspectRatio: PropTypes.array,
3967
+ aspectRatio: PropTypes__default["default"].array,
3939
3968
  // Hints for the browser to choose the best size
3940
3969
 
3941
3970
  /** This prop is responsible for adding padding-right of the image and remove padding bottom of the image */
3942
- isHorizontal: PropTypes.bool,
3971
+ isHorizontal: PropTypes__default["default"].bool,
3943
3972
 
3944
3973
  /** This prop is responsible for adding padding-bottom in desktop and padding-right in mobile */
3945
- isHorizontalMobile: PropTypes.bool,
3974
+ isHorizontalMobile: PropTypes__default["default"].bool,
3946
3975
  // this prop is responsive for rendering fallback image on story page
3947
- defaultFallback: PropTypes.bool,
3948
- isHorizontalWithImageLast: PropTypes.bool,
3949
- isStoryPageImage: PropTypes.bool,
3950
- config: PropTypes.object
3976
+ defaultFallback: PropTypes__default["default"].bool,
3977
+ isHorizontalWithImageLast: PropTypes__default["default"].bool,
3978
+ isStoryPageImage: PropTypes__default["default"].bool,
3979
+ config: PropTypes__default["default"].object
3951
3980
  };
3952
3981
  HeroImage.defaultProps = {
3953
3982
  FullBleed: true,
@@ -4009,26 +4038,26 @@ var LoadmoreButton = function LoadmoreButton(_ref) {
4009
4038
  if (!showButton) return null;
4010
4039
  var textColor = getTextColor(theme);
4011
4040
  var slug = customUrlPath ? "/".concat(customUrlPath) : generateNavigateSlug(collection, _objectSpread(_objectSpread({}, qtConfig), config));
4012
- return template === "SubsequentLoadCount" ? /*#__PURE__*/React.createElement("div", {
4041
+ return template === "SubsequentLoadCount" ? /*#__PURE__*/React__default["default"].createElement("div", {
4013
4042
  onClick: onClick,
4014
4043
  "data-test-id": "load-more",
4015
4044
  className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$4)
4016
- }, buttonText) : /*#__PURE__*/React.createElement(LinkBase, {
4045
+ }, buttonText) : /*#__PURE__*/React__default["default"].createElement(components.LinkBase, {
4017
4046
  href: slug,
4018
4047
  navigateTo: navigate,
4019
4048
  "data-test-id": "load-more",
4020
4049
  "aria-label": "load-more"
4021
- }, /*#__PURE__*/React.createElement("div", {
4050
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4022
4051
  className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$4)
4023
4052
  }, buttonText));
4024
4053
  };
4025
4054
  LoadmoreButton.propTypes = {
4026
- collection: PropTypes.object,
4027
- template: PropTypes.string,
4028
- config: PropTypes.object,
4029
- onClick: PropTypes.func,
4030
- navigate: PropTypes.func,
4031
- qtConfig: PropTypes.object
4055
+ collection: PropTypes__default["default"].object,
4056
+ template: PropTypes__default["default"].string,
4057
+ config: PropTypes__default["default"].object,
4058
+ onClick: PropTypes__default["default"].func,
4059
+ navigate: PropTypes__default["default"].func,
4060
+ qtConfig: PropTypes__default["default"].object
4032
4061
  };
4033
4062
 
4034
4063
  var _styleModuleImportMap$3 = {
@@ -4066,22 +4095,22 @@ var SectionTag = function SectionTag(_ref) {
4066
4095
  }
4067
4096
 
4068
4097
  if (!isSection) return null;
4069
- return /*#__PURE__*/React.createElement(Link, {
4098
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
4070
4099
  href: getUrl,
4071
4100
  className: "arrow-component arr--section-name",
4072
4101
  "aria-label": "section-name"
4073
- }, /*#__PURE__*/React.createElement("div", {
4102
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4074
4103
  "data-test-id": "sectionTag",
4075
4104
  style: {
4076
4105
  backgroundColor: templateStyle.includes("section-solid") ? sectionTagBorderColor : ""
4077
4106
  },
4078
4107
  className: "section-tag arrow-component " + _getClassName("".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$3)
4079
- }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React.createElement("span", {
4108
+ }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
4080
4109
  className: "section-m_border-left__2oUyp",
4081
4110
  style: {
4082
4111
  color: sectionTagBorderColor
4083
4112
  }
4084
- }), section["display-name"] || section["name"], /*#__PURE__*/React.createElement("div", {
4113
+ }), section["display-name"] || section["name"], /*#__PURE__*/React__default["default"].createElement("div", {
4085
4114
  className: "section-m_border-bottom__3cRoD",
4086
4115
  style: {
4087
4116
  backgroundColor: "".concat(template === "solid" ? "" : sectionTagBorderColor)
@@ -4090,13 +4119,13 @@ var SectionTag = function SectionTag(_ref) {
4090
4119
  };
4091
4120
  SectionTag.propTypes = {
4092
4121
  /** The Story Object from the API response */
4093
- story: PropTypes.object.isRequired,
4122
+ story: PropTypes__default["default"].object.isRequired,
4094
4123
 
4095
4124
  /** The style template for section tag */
4096
- template: PropTypes.oneOf(["", "borderBottomSml", "borderLeft", "solid"]),
4097
- borderColor: PropTypes.string,
4098
- solidBorderColor: PropTypes.string,
4099
- isLightTheme: PropTypes.bool
4125
+ template: PropTypes__default["default"].oneOf(["", "borderBottomSml", "borderLeft", "solid"]),
4126
+ borderColor: PropTypes__default["default"].string,
4127
+ solidBorderColor: PropTypes__default["default"].string,
4128
+ isLightTheme: PropTypes__default["default"].bool
4100
4129
  };
4101
4130
  SectionTag.defaultProps = {
4102
4131
  template: "",
@@ -4123,7 +4152,7 @@ var Subheadline = function Subheadline(_ref) {
4123
4152
  var subheadline = forceShowAtom || get_1(config, ["showSubheadline"], true);
4124
4153
  if (!subheadline) return null;
4125
4154
  var textColor = getTextColor(config.theme);
4126
- return /*#__PURE__*/React.createElement("div", {
4155
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4127
4156
  style: {
4128
4157
  WebkitLineClamp: lineClamp
4129
4158
  },
@@ -4133,15 +4162,15 @@ var Subheadline = function Subheadline(_ref) {
4133
4162
  };
4134
4163
  Subheadline.propTypes = {
4135
4164
  /** The Story Object from the API response */
4136
- story: PropTypes.object.isRequired,
4165
+ story: PropTypes__default["default"].object.isRequired,
4137
4166
  // Restricts the number of lines for subheadline.
4138
- lineClamp: PropTypes.number,
4167
+ lineClamp: PropTypes__default["default"].number,
4139
4168
 
4140
4169
  /** Number of characters to truncate the subheadline */
4141
- truncateChars: PropTypes.number,
4142
- clazzName: PropTypes.string,
4143
- forceShowAtom: PropTypes.bool,
4144
- showFullContent: PropTypes.bool
4170
+ truncateChars: PropTypes__default["default"].number,
4171
+ clazzName: PropTypes__default["default"].string,
4172
+ forceShowAtom: PropTypes__default["default"].bool,
4173
+ showFullContent: PropTypes__default["default"].bool
4145
4174
  };
4146
4175
  Subheadline.defaultProps = {
4147
4176
  forceShowAtom: false,
@@ -4190,7 +4219,7 @@ var StoryCard = function StoryCard(_ref) {
4190
4219
  prefix = _ref.prefix,
4191
4220
  config = _ref.config,
4192
4221
  isHorizontalWithImageLast = _ref.isHorizontalWithImageLast;
4193
- if (!story || isEmpty(story)) return /*#__PURE__*/React.createElement("div", null);
4222
+ if (!story || isEmpty(story)) return /*#__PURE__*/React__default["default"].createElement("div", null);
4194
4223
  var borderOptions = ["default", "full", "bottom", "boxShadow"];
4195
4224
  var borderTemplate = borderOptions.includes(border) ? "border-".concat(border) : ""; // TODO optimize conditions
4196
4225
 
@@ -4200,7 +4229,7 @@ var StoryCard = function StoryCard(_ref) {
4200
4229
  var bgImgContentOverlapClass = bgImgContentOverlap ? "content-overlap" : "";
4201
4230
  var textColor = getTextColor(theme);
4202
4231
  var horizontalMobileClasses = isHorizontalMobile ? "horizontal-mob" : "";
4203
- var defaultStorycard = /*#__PURE__*/React.createElement(DefaultStoryCard, {
4232
+ var defaultStorycard = /*#__PURE__*/React__default["default"].createElement(DefaultStoryCard, {
4204
4233
  story: story,
4205
4234
  aspectRatio: aspectRatio,
4206
4235
  border: border,
@@ -4214,7 +4243,7 @@ var StoryCard = function StoryCard(_ref) {
4214
4243
  config: config,
4215
4244
  isHorizontalWithImageLast: isHorizontalWithImageLast
4216
4245
  });
4217
- return /*#__PURE__*/React.createElement("div", {
4246
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4218
4247
  "data-test-id": "story-card",
4219
4248
  style: {
4220
4249
  backgroundColor: theme,
@@ -4243,91 +4272,91 @@ var DefaultStoryCard = function DefaultStoryCard(_ref2) {
4243
4272
  var SectionTagborderColor = rgbToHex(borderColor);
4244
4273
  var _config$localizationC = config.localizationConfig,
4245
4274
  localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC;
4246
- return /*#__PURE__*/React.createElement(React.Fragment, null, isHorizontal ? /*#__PURE__*/React.createElement(HeroImage, {
4275
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isHorizontal ? /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4247
4276
  config: config,
4248
4277
  story: story,
4249
4278
  isHorizontal: true,
4250
4279
  isHorizontalMobile: isHorizontalMobile,
4251
4280
  aspectRatio: aspectRatio
4252
- }) : isHorizontalWithImageLast ? /*#__PURE__*/React.createElement(HeroImage, {
4281
+ }) : isHorizontalWithImageLast ? /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4253
4282
  config: config,
4254
4283
  story: story,
4255
4284
  isHorizontalWithImageLast: true,
4256
4285
  isHorizontalMobile: isHorizontalMobile,
4257
4286
  aspectRatio: aspectRatio
4258
- }) : /*#__PURE__*/React.createElement(HeroImage, {
4287
+ }) : /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4259
4288
  story: story,
4260
4289
  config: config,
4261
4290
  isHorizontalMobile: isHorizontalMobile,
4262
4291
  aspectRatio: aspectRatio
4263
- }), /*#__PURE__*/React.createElement("div", {
4292
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4264
4293
  className: "arr--story-content " + _getClassName("content ".concat(alignment), _styleModuleImportMap$1)
4265
- }, /*#__PURE__*/React.createElement(SectionTag, {
4294
+ }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
4266
4295
  story: story,
4267
4296
  borderColor: SectionTagborderColor
4268
- }), /*#__PURE__*/React.createElement(Headline, {
4297
+ }), /*#__PURE__*/React__default["default"].createElement(Headline, {
4269
4298
  story: story,
4270
4299
  headerLevel: headerLevel,
4271
4300
  premiumStoryIconConfig: config
4272
- }), /*#__PURE__*/React.createElement(AuthorWithTime, {
4301
+ }), /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
4273
4302
  config: localizationConfig,
4274
4303
  story: story,
4275
4304
  isBottom: true,
4276
4305
  prefix: prefix,
4277
4306
  hideAuthorImage: hideAuthorImage
4278
- }), /*#__PURE__*/React.createElement(Subheadline, {
4307
+ }), /*#__PURE__*/React__default["default"].createElement(Subheadline, {
4279
4308
  story: story
4280
4309
  })));
4281
4310
  };
4282
4311
 
4283
4312
  DefaultStoryCard.propTypes = {
4284
- story: PropTypes.object.isRequired,
4285
- border: PropTypes.oneOfType([PropTypes.string]),
4286
- isBottom: PropTypes.bool,
4287
- isHorizontal: PropTypes.bool,
4288
- aspectRatio: PropTypes.oneOfType([PropTypes.array]),
4289
- isHorizontalMobile: PropTypes.bool,
4290
- centerAlign: PropTypes.bool,
4291
- headerLevel: PropTypes.string,
4292
- borderColor: PropTypes.string,
4293
- hideAuthorImage: PropTypes.bool,
4294
- prefix: PropTypes.string,
4295
- config: PropTypes.object,
4296
- isHorizontalWithImageLast: PropTypes.bool
4313
+ story: PropTypes__default["default"].object.isRequired,
4314
+ border: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string]),
4315
+ isBottom: PropTypes__default["default"].bool,
4316
+ isHorizontal: PropTypes__default["default"].bool,
4317
+ aspectRatio: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array]),
4318
+ isHorizontalMobile: PropTypes__default["default"].bool,
4319
+ centerAlign: PropTypes__default["default"].bool,
4320
+ headerLevel: PropTypes__default["default"].string,
4321
+ borderColor: PropTypes__default["default"].string,
4322
+ hideAuthorImage: PropTypes__default["default"].bool,
4323
+ prefix: PropTypes__default["default"].string,
4324
+ config: PropTypes__default["default"].object,
4325
+ isHorizontalWithImageLast: PropTypes__default["default"].bool
4297
4326
  };
4298
4327
  StoryCard.propTypes = {
4299
4328
  /** The Story Object from the API response */
4300
- story: PropTypes.object.isRequired,
4301
- children: PropTypes.node,
4329
+ story: PropTypes__default["default"].object.isRequired,
4330
+ children: PropTypes__default["default"].node,
4302
4331
 
4303
4332
  /** Flip the Story Card to Horizonal mode */
4304
- isHorizontal: PropTypes.bool,
4333
+ isHorizontal: PropTypes__default["default"].bool,
4305
4334
 
4306
4335
  /** Add border to the Story Card */
4307
- border: PropTypes.oneOfType([PropTypes.string]),
4336
+ border: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string]),
4308
4337
  // story card with background image
4309
- useImageAsBackground: PropTypes.bool,
4338
+ useImageAsBackground: PropTypes__default["default"].bool,
4310
4339
  // story card content overlap with image
4311
- bgImgContentOverlap: PropTypes.bool,
4340
+ bgImgContentOverlap: PropTypes__default["default"].bool,
4312
4341
 
4313
4342
  /** add aspect ratio for hero image */
4314
- aspectRatio: PropTypes.oneOfType([PropTypes.array]),
4343
+ aspectRatio: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array]),
4315
4344
 
4316
4345
  /** add theme(dark /light/custom color) for storycard */
4317
- theme: PropTypes.string,
4346
+ theme: PropTypes__default["default"].string,
4318
4347
 
4319
4348
  /** flip the story card mobile design horizontal */
4320
- isHorizontalMobile: PropTypes.bool,
4349
+ isHorizontalMobile: PropTypes__default["default"].bool,
4321
4350
  // make content center align in desktop and left align in mobile
4322
- centerAlign: PropTypes.bool,
4323
- headerLevel: PropTypes.string,
4324
- borderColor: PropTypes.string,
4351
+ centerAlign: PropTypes__default["default"].bool,
4352
+ headerLevel: PropTypes__default["default"].string,
4353
+ borderColor: PropTypes__default["default"].string,
4325
4354
  // handle author image through storycard
4326
- hideAuthorImage: PropTypes.bool,
4355
+ hideAuthorImage: PropTypes__default["default"].bool,
4327
4356
  // handle author prefix through storycard
4328
- prefix: PropTypes.string,
4329
- config: PropTypes.object,
4330
- isHorizontalWithImageLast: PropTypes.bool
4357
+ prefix: PropTypes__default["default"].string,
4358
+ config: PropTypes__default["default"].object,
4359
+ isHorizontalWithImageLast: PropTypes__default["default"].bool
4331
4360
  };
4332
4361
  StoryCard.defaultProps = {
4333
4362
  isHorizontal: false,
@@ -4360,14 +4389,14 @@ var StorycardContent = function StorycardContent(_ref) {
4360
4389
  var SectionTagborderColor = rgbToHex(borderColor);
4361
4390
  var borderTemplate = borderOptions.includes(border) ? "border-".concat(border) : "";
4362
4391
  var horizontalCard = isHorizontalMobile ? "horizontal-content-wrapper" : "";
4363
- return /*#__PURE__*/React.createElement("div", {
4392
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4364
4393
  "data-test-id": "story-card-content",
4365
4394
  style: {
4366
4395
  backgroundColor: theme,
4367
4396
  color: textColor
4368
4397
  },
4369
4398
  className: "arr--content-wrapper " + _getClassName("wrapper ".concat(borderTemplate, " ").concat(horizontalCard), _styleModuleImportMap)
4370
- }, children || /*#__PURE__*/React.createElement(DefaultStoryCardContent, {
4399
+ }, children || /*#__PURE__*/React__default["default"].createElement(DefaultStoryCardContent, {
4371
4400
  story: story,
4372
4401
  headerLevel: headerLevel,
4373
4402
  isHorizontalMobile: isHorizontalMobile,
@@ -4385,37 +4414,37 @@ var DefaultStoryCardContent = function DefaultStoryCardContent(_ref2) {
4385
4414
  var SectionTagborderColor = rgbToHex(borderColor);
4386
4415
  var _config$localizationC = config.localizationConfig,
4387
4416
  localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC;
4388
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTag, {
4417
+ return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
4389
4418
  story: story,
4390
4419
  borderColor: SectionTagborderColor
4391
- }), /*#__PURE__*/React.createElement(Headline, {
4420
+ }), /*#__PURE__*/React__default["default"].createElement(Headline, {
4392
4421
  story: story,
4393
4422
  headerLevel: headerLevel,
4394
4423
  premiumStoryIconConfig: config
4395
- }), /*#__PURE__*/React.createElement(AuthorWithTime, {
4424
+ }), /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
4396
4425
  config: localizationConfig,
4397
4426
  story: story
4398
4427
  }));
4399
4428
  };
4400
4429
 
4401
4430
  DefaultStoryCardContent.propTypes = {
4402
- story: PropTypes.object.isRequired,
4403
- border: PropTypes.string,
4404
- theme: PropTypes.string,
4405
- isHorizontalMobile: PropTypes.bool,
4406
- headerLevel: PropTypes.string,
4407
- borderColor: PropTypes.string,
4408
- config: PropTypes.object
4431
+ story: PropTypes__default["default"].object.isRequired,
4432
+ border: PropTypes__default["default"].string,
4433
+ theme: PropTypes__default["default"].string,
4434
+ isHorizontalMobile: PropTypes__default["default"].bool,
4435
+ headerLevel: PropTypes__default["default"].string,
4436
+ borderColor: PropTypes__default["default"].string,
4437
+ config: PropTypes__default["default"].object
4409
4438
  };
4410
4439
  StorycardContent.propTypes = {
4411
- story: PropTypes.object.isRequired,
4412
- children: PropTypes.node,
4413
- theme: PropTypes.string,
4414
- border: PropTypes.string,
4415
- isHorizontalMobile: PropTypes.bool,
4416
- headerLevel: PropTypes.string,
4417
- borderColor: PropTypes.string,
4418
- config: PropTypes.object
4440
+ story: PropTypes__default["default"].object.isRequired,
4441
+ children: PropTypes__default["default"].node,
4442
+ theme: PropTypes__default["default"].string,
4443
+ border: PropTypes__default["default"].string,
4444
+ isHorizontalMobile: PropTypes__default["default"].bool,
4445
+ headerLevel: PropTypes__default["default"].string,
4446
+ borderColor: PropTypes__default["default"].string,
4447
+ config: PropTypes__default["default"].object
4419
4448
  };
4420
4449
 
4421
4450
  var LoadMoreTarget = function LoadMoreTarget(_ref) {
@@ -4423,7 +4452,7 @@ var LoadMoreTarget = function LoadMoreTarget(_ref) {
4423
4452
  componentName = _ref.componentName,
4424
4453
  offset = _ref.offset,
4425
4454
  limit = _ref.limit;
4426
- return /*#__PURE__*/React.createElement("div", {
4455
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4427
4456
  id: "ELM-".concat(collection.id),
4428
4457
  "data-collection-slug": collection["slug"],
4429
4458
  "data-component-name": componentName,
@@ -4432,13 +4461,13 @@ var LoadMoreTarget = function LoadMoreTarget(_ref) {
4432
4461
  });
4433
4462
  };
4434
4463
  LoadMoreTarget.propTypes = {
4435
- collection: PropTypes.shape({
4436
- id: PropTypes.string,
4437
- slug: PropTypes.string
4464
+ collection: PropTypes__default["default"].shape({
4465
+ id: PropTypes__default["default"].string,
4466
+ slug: PropTypes__default["default"].string
4438
4467
  }),
4439
- componentName: PropTypes.string,
4440
- offset: PropTypes.number,
4441
- limit: PropTypes.number
4468
+ componentName: PropTypes__default["default"].string,
4469
+ offset: PropTypes__default["default"].number,
4470
+ limit: PropTypes__default["default"].number
4442
4471
  };
4443
4472
 
4444
4473
  var loadMore = function loadMore(_ref) {
@@ -4461,7 +4490,7 @@ var OneColStoryListBase = function OneColStoryListBase(_ref2) {
4461
4490
  isLoadMoreVisible = _ref2.isLoadMoreVisible,
4462
4491
  isLoading = _ref2.isLoading,
4463
4492
  isolatedLoadMore = _ref2.isolatedLoadMore;
4464
- var storyItems = collectionToStories(collection);
4493
+ var storyItems = components.collectionToStories(collection);
4465
4494
  if (!storyItems.length) return null;
4466
4495
  var _config$collectionNam = config.collectionNameBorderColor,
4467
4496
  collectionNameBorderColor = _config$collectionNam === void 0 ? "" : _config$collectionNam,
@@ -4489,8 +4518,8 @@ var OneColStoryListBase = function OneColStoryListBase(_ref2) {
4489
4518
  type = _get.type,
4490
4519
  component = _get.component;
4491
4520
 
4492
- var dispatch = useDispatch();
4493
- var qtConfig = useSelector(function (state) {
4521
+ var dispatch = reactRedux.useDispatch();
4522
+ var qtConfig = reactRedux.useSelector(function (state) {
4494
4523
  return get_1(state, ["qt", "config"], {});
4495
4524
  });
4496
4525
 
@@ -4498,7 +4527,7 @@ var OneColStoryListBase = function OneColStoryListBase(_ref2) {
4498
4527
  if (!isLoadMoreVisible) return null;
4499
4528
 
4500
4529
  if (isolatedLoadMore) {
4501
- return /*#__PURE__*/React.createElement(LoadMoreTarget, {
4530
+ return /*#__PURE__*/React__default["default"].createElement(LoadMoreTarget, {
4502
4531
  collection: collection,
4503
4532
  componentName: "OneColStoryList",
4504
4533
  offset: storyItems.length,
@@ -4507,7 +4536,7 @@ var OneColStoryListBase = function OneColStoryListBase(_ref2) {
4507
4536
  }
4508
4537
 
4509
4538
  var url = generateNavigateSlug(collection, qtConfig);
4510
- return /*#__PURE__*/React.createElement(ProgressiveHydration, null, /*#__PURE__*/React.createElement(LoadmoreButton, {
4539
+ return /*#__PURE__*/React__default["default"].createElement(ProgressiveHydration, null, /*#__PURE__*/React__default["default"].createElement(LoadmoreButton, {
4511
4540
  config: config,
4512
4541
  collection: collection,
4513
4542
  template: footerButton,
@@ -4526,9 +4555,9 @@ var OneColStoryListBase = function OneColStoryListBase(_ref2) {
4526
4555
  var borderHandler = function borderHandler(story) {
4527
4556
  switch (border) {
4528
4557
  case "bottom":
4529
- return /*#__PURE__*/React.createElement("div", {
4558
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4530
4559
  className: "one-col-story-list-m_one-col-border-bottom__13nPb"
4531
- }, /*#__PURE__*/React.createElement(StoryCard, {
4560
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCard, {
4532
4561
  story: story,
4533
4562
  theme: theme,
4534
4563
  headerLevel: "4",
@@ -4541,42 +4570,42 @@ var OneColStoryListBase = function OneColStoryListBase(_ref2) {
4541
4570
  }));
4542
4571
 
4543
4572
  case "full":
4544
- return /*#__PURE__*/React.createElement("div", {
4573
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4545
4574
  className: "one-col-story-list-m_one-col-border-full__3PSl0"
4546
- }, /*#__PURE__*/React.createElement(StoryCard, {
4575
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCard, {
4547
4576
  story: story,
4548
4577
  border: border,
4549
4578
  theme: theme,
4550
4579
  isHorizontal: true,
4551
4580
  borderColor: borderColor
4552
- }, /*#__PURE__*/React.createElement(HeroImage, {
4581
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4553
4582
  story: story,
4554
4583
  isHorizontal: true,
4555
4584
  aspectRatio: [[1, 1], [4, 3]]
4556
- }), /*#__PURE__*/React.createElement("div", {
4585
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4557
4586
  className: "one-col-story-list-m_story-card-content-wrapper__1baqS"
4558
- }, /*#__PURE__*/React.createElement(StorycardContent, {
4587
+ }, /*#__PURE__*/React__default["default"].createElement(StorycardContent, {
4559
4588
  story: story,
4560
4589
  borderColor: borderColor,
4561
4590
  config: config
4562
- }, /*#__PURE__*/React.createElement(SectionTag, {
4591
+ }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
4563
4592
  story: story
4564
- }), /*#__PURE__*/React.createElement(Headline, {
4593
+ }), /*#__PURE__*/React__default["default"].createElement(Headline, {
4565
4594
  story: story,
4566
4595
  headerLevel: "4",
4567
4596
  premiumStoryIconConfig: config
4568
- }), /*#__PURE__*/React.createElement(Subheadline, {
4597
+ }), /*#__PURE__*/React__default["default"].createElement(Subheadline, {
4569
4598
  story: story
4570
- }), /*#__PURE__*/React.createElement(AuthorWithTime, {
4599
+ }), /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
4571
4600
  config: localizationConfig,
4572
4601
  story: story,
4573
4602
  prefix: "By"
4574
4603
  })))));
4575
4604
 
4576
4605
  default:
4577
- return /*#__PURE__*/React.createElement("div", {
4606
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4578
4607
  className: "one-col-story-list-m_one-col-border-default__2BDg7"
4579
- }, /*#__PURE__*/React.createElement(StoryCard, {
4608
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCard, {
4580
4609
  story: story,
4581
4610
  theme: theme,
4582
4611
  headerLevel: "4",
@@ -4591,74 +4620,74 @@ var OneColStoryListBase = function OneColStoryListBase(_ref2) {
4591
4620
  };
4592
4621
 
4593
4622
  var textColor = getTextColor(theme);
4594
- return /*#__PURE__*/React.createElement("div", {
4623
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4595
4624
  className: "full-width-with-padding arrow-component",
4596
4625
  "data-test-id": "one-col-story-list",
4597
4626
  style: {
4598
4627
  backgroundColor: theme,
4599
4628
  color: textColor
4600
4629
  }
4601
- }, /*#__PURE__*/React.createElement("div", {
4630
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4602
4631
  className: "one-col-story-list-m_one-col-story-list-wrapper__ICvTq"
4603
- }, /*#__PURE__*/React.createElement(CollectionName, {
4632
+ }, /*#__PURE__*/React__default["default"].createElement(CollectionName, {
4604
4633
  collection: collection,
4605
4634
  collectionNameTemplate: collectionNameTemplate,
4606
4635
  collectionNameBorderColor: collectionNameBorderColor
4607
- }), /*#__PURE__*/React.createElement("div", {
4636
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4608
4637
  className: "one-col-story-list-m_wrapper__38qTp",
4609
4638
  style: {
4610
4639
  backgroundColor: theme,
4611
4640
  color: textColor
4612
4641
  }
4613
- }, /*#__PURE__*/React.createElement("div", {
4642
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4614
4643
  className: "one-col-story-list-m_one-col-first-story__1aC6i"
4615
4644
  }, storyItems.slice(0, 1).map(function (story, index) {
4616
- return /*#__PURE__*/React.createElement("div", {
4645
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4617
4646
  key: "default-".concat(index)
4618
4647
  }, borderHandler(story));
4619
- })), /*#__PURE__*/React.createElement("div", {
4648
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4620
4649
  className: "one-col-story-list-m_one-col-story-list__3d6Bp"
4621
4650
  }, storyItems.slice(1).map(function (story, index) {
4622
- return /*#__PURE__*/React.createElement("div", {
4651
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4623
4652
  key: "default-".concat(index)
4624
4653
  }, borderHandler(story));
4625
- })), /*#__PURE__*/React.createElement("div", {
4654
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4626
4655
  className: "one-col-story-list-m_one-col-ads__UN_hF"
4627
4656
  }, getSlot(type, component, function () {
4628
4657
  return null;
4629
4658
  }, function () {
4630
4659
  return null;
4631
- }))), /*#__PURE__*/React.createElement("div", {
4660
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
4632
4661
  className: "one-col-story-list-m_footer-ad-wrapper__NGgvp"
4633
4662
  }, getLoadMore({
4634
4663
  isLoading: isLoading,
4635
4664
  storyItems: storyItems,
4636
4665
  getMoreStories: getMoreStories,
4637
4666
  subsequentLoadCount: subsequentLoadCount
4638
- }), /*#__PURE__*/React.createElement("div", {
4667
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4639
4668
  className: "one-col-story-list-m_ad-wrapper__3_cNc"
4640
4669
  }, footerSlotComp))));
4641
4670
  };
4642
4671
  OneColStoryListBase.propTypes = {
4643
4672
  /** collection is the array of objects which is returning by API */
4644
- collection: PropTypes.object.isRequired,
4673
+ collection: PropTypes__default["default"].object.isRequired,
4645
4674
 
4646
4675
  /** The config for the Row */
4647
- config: PropTypes.shape({
4648
- borderColor: PropTypes.string,
4649
- theme: PropTypes.string,
4650
- border: PropTypes.string,
4651
- footerButton: PropTypes.string,
4676
+ config: PropTypes__default["default"].shape({
4677
+ borderColor: PropTypes__default["default"].string,
4678
+ theme: PropTypes__default["default"].string,
4679
+ border: PropTypes__default["default"].string,
4680
+ footerButton: PropTypes__default["default"].string,
4652
4681
  // row title style
4653
- collectionNameTemplate: PropTypes.string,
4682
+ collectionNameTemplate: PropTypes__default["default"].string,
4654
4683
  // row title style colour
4655
- collectionNameBorderColor: PropTypes.string,
4656
- subsequentLoadCount: PropTypes.number
4684
+ collectionNameBorderColor: PropTypes__default["default"].string,
4685
+ subsequentLoadCount: PropTypes__default["default"].number
4657
4686
  }),
4658
- getMoreStories: PropTypes.func,
4659
- isLoadMoreVisible: PropTypes.bool,
4660
- isLoading: PropTypes.bool,
4661
- isolatedLoadMore: PropTypes.bool
4687
+ getMoreStories: PropTypes__default["default"].func,
4688
+ isLoadMoreVisible: PropTypes__default["default"].bool,
4689
+ isLoading: PropTypes__default["default"].bool,
4690
+ isolatedLoadMore: PropTypes__default["default"].bool
4662
4691
  };
4663
4692
  OneColStoryListBase.defaultProps = {
4664
4693
  getMoreStories: function getMoreStories() {},
@@ -4667,4 +4696,5 @@ OneColStoryListBase.defaultProps = {
4667
4696
  };
4668
4697
  var OneColStoryList = StateProvider(OneColStoryListBase);
4669
4698
 
4670
- export { OneColStoryList, OneColStoryListBase };
4699
+ exports.OneColStoryList = OneColStoryList;
4700
+ exports.OneColStoryListBase = OneColStoryListBase;