@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,9 +1,19 @@
1
- import React, { useContext, createContext } from 'react';
2
- import PropTypes, { PropTypes as PropTypes$1 } from 'prop-types';
3
- import { Link, ResponsiveHeroImage, ResponsiveImage, LinkBase, collectionToStories } from '@quintype/components';
4
- import Timeago from 'react-timeago';
5
- import { utcToZonedTime, format } from 'date-fns-tz';
6
- import { useSelector, connect, useDispatch } from 'react-redux';
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 components = require('@quintype/components');
8
+ var Timeago = require('react-timeago');
9
+ var dateFnsTz = require('date-fns-tz');
10
+ var reactRedux = require('react-redux');
11
+
12
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
+
14
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
15
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
16
+ var Timeago__default = /*#__PURE__*/_interopDefaultLegacy(Timeago);
7
17
 
8
18
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
19
 
@@ -156,21 +166,21 @@ exports["default"] = _default;
156
166
 
157
167
  var _getClassName = /*@__PURE__*/getDefaultExportFromCjs(getClassName);
158
168
 
159
- var StateContext = /*#__PURE__*/createContext(); // eslint-disable-next-line react/display-name
169
+ var StateContext = /*#__PURE__*/React.createContext(); // eslint-disable-next-line react/display-name
160
170
 
161
171
  var StateProvider = function StateProvider(RowComponent) {
162
172
  return function (props) {
163
173
  return (
164
174
  /*#__PURE__*/
165
175
  // eslint-disable-next-line react/prop-types
166
- React.createElement(StateContext.Provider, {
176
+ React__default["default"].createElement(StateContext.Provider, {
167
177
  value: props.config
168
- }, /*#__PURE__*/React.createElement(RowComponent, props))
178
+ }, /*#__PURE__*/React__default["default"].createElement(RowComponent, props))
169
179
  );
170
180
  };
171
181
  };
172
182
  var useStateValue = function useStateValue() {
173
- return useContext(StateContext);
183
+ return React.useContext(StateContext);
174
184
  };
175
185
 
176
186
  function _typeof(obj) {
@@ -2687,15 +2697,15 @@ var isEmpty = function isEmpty(value) {
2687
2697
  return value == null || // From standard.js: Always use === - but value == null is allowed to check null || undefined
2688
2698
  _typeof(value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
2689
2699
  };
2690
- PropTypes.shape({
2691
- "sketches-host": PropTypes.string,
2692
- "cdn-name": PropTypes.string,
2693
- "cdn-image": PropTypes.string
2700
+ PropTypes__default["default"].shape({
2701
+ "sketches-host": PropTypes__default["default"].string,
2702
+ "cdn-name": PropTypes__default["default"].string,
2703
+ "cdn-image": PropTypes__default["default"].string
2694
2704
  });
2695
- PropTypes.shape({
2696
- headline: PropTypes.string,
2697
- "last-published-at": PropTypes.number,
2698
- subheadline: PropTypes.string
2705
+ PropTypes__default["default"].shape({
2706
+ headline: PropTypes__default["default"].string,
2707
+ "last-published-at": PropTypes__default["default"].number,
2708
+ subheadline: PropTypes__default["default"].string
2699
2709
  });
2700
2710
  var getStoryUrl = function getStoryUrl(story) {
2701
2711
  var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
@@ -2739,17 +2749,17 @@ var getTimeStamp = function getTimeStamp(date, _formatter) {
2739
2749
  var timezone = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
2740
2750
 
2741
2751
  if (timezone && template === "story") {
2742
- var zonedTime = timezone && utcToZonedTime(date, timezone);
2743
- var formatZonedTime = zonedTime && format(zonedTime, "yyyy-MM-dd'T'HH:mm:ssXXX", {
2752
+ var zonedTime = timezone && dateFnsTz.utcToZonedTime(date, timezone);
2753
+ var formatZonedTime = zonedTime && dateFnsTz.format(zonedTime, "yyyy-MM-dd'T'HH:mm:ssXXX", {
2744
2754
  timeZone: timezone
2745
2755
  });
2746
2756
  var timeStamp = timestampToFormat("", "", "", date, config);
2747
- return /*#__PURE__*/React.createElement("time", {
2757
+ return /*#__PURE__*/React__default["default"].createElement("time", {
2748
2758
  dateTime: formatZonedTime
2749
2759
  }, timeStamp);
2750
2760
  }
2751
2761
 
2752
- return /*#__PURE__*/React.createElement(Timeago, {
2762
+ return /*#__PURE__*/React__default["default"].createElement(Timeago__default["default"], {
2753
2763
  date: date,
2754
2764
  formatter: function formatter(value, unit, suffix, date) {
2755
2765
  return _formatter(value, unit, suffix, date, config);
@@ -2825,27 +2835,27 @@ var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
2825
2835
  height = _ref$height === void 0 ? 30 : _ref$height,
2826
2836
  _ref$iconColor = _ref.iconColor,
2827
2837
  iconColor = _ref$iconColor === void 0 ? "#99B0CB" : _ref$iconColor;
2828
- return /*#__PURE__*/React.createElement("svg", {
2838
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
2829
2839
  width: width,
2830
2840
  height: height,
2831
2841
  viewBox: "0 0 102 76",
2832
2842
  version: "1.1"
2833
- }, /*#__PURE__*/React.createElement("g", {
2843
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
2834
2844
  id: "demo-home-copy",
2835
2845
  stroke: "none",
2836
2846
  strokeWidth: "1",
2837
2847
  fill: "none",
2838
2848
  fillRule: "evenodd",
2839
2849
  transform: "translate(-377.000000, -314.000000)"
2840
- }, /*#__PURE__*/React.createElement("g", {
2850
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
2841
2851
  id: "Group-13",
2842
2852
  transform: "translate(377.000000, 314.000000)"
2843
- }, /*#__PURE__*/React.createElement("path", {
2853
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
2844
2854
  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",
2845
2855
  id: "Combined-Shape",
2846
2856
  fill: iconColor,
2847
2857
  fillRule: "nonzero"
2848
- }), /*#__PURE__*/React.createElement("rect", {
2858
+ }), /*#__PURE__*/React__default["default"].createElement("rect", {
2849
2859
  id: "Rectangle-19",
2850
2860
  stroke: iconColor,
2851
2861
  strokeWidth: "3",
@@ -2857,24 +2867,24 @@ var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
2857
2867
  }))));
2858
2868
  };
2859
2869
  ImageFallbackIcon.propTypes = {
2860
- width: PropTypes.object,
2861
- height: PropTypes.object,
2862
- iconColor: PropTypes.object
2870
+ width: PropTypes__default["default"].object,
2871
+ height: PropTypes__default["default"].object,
2872
+ iconColor: PropTypes__default["default"].object
2863
2873
  };
2864
2874
 
2865
2875
  var imageFallback = function imageFallback() {
2866
- return /*#__PURE__*/React.createElement("div", {
2876
+ return /*#__PURE__*/React__default["default"].createElement("div", {
2867
2877
  className: "arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"
2868
- }, /*#__PURE__*/React.createElement("figure", {
2878
+ }, /*#__PURE__*/React__default["default"].createElement("figure", {
2869
2879
  className: "arr--fallback-svg fallback-m_fallback-svg__tK9fL"
2870
- }, /*#__PURE__*/React.createElement(ImageFallbackIcon, null)));
2880
+ }, /*#__PURE__*/React__default["default"].createElement(ImageFallbackIcon, null)));
2871
2881
  };
2872
2882
 
2873
2883
  var FallbackImage = function FallbackImage(_ref) {
2874
2884
  var slug = _ref.slug;
2875
2885
 
2876
2886
  if (slug) {
2877
- return /*#__PURE__*/React.createElement(Link, {
2887
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
2878
2888
  href: slug,
2879
2889
  "aria-label": "image-fallback"
2880
2890
  }, imageFallback());
@@ -2883,23 +2893,23 @@ var FallbackImage = function FallbackImage(_ref) {
2883
2893
  }
2884
2894
  };
2885
2895
  FallbackImage.propTypes = {
2886
- slug: PropTypes.string
2896
+ slug: PropTypes__default["default"].string
2887
2897
  };
2888
2898
 
2889
2899
  var HyperLinkIcon = function HyperLinkIcon() {
2890
- return /*#__PURE__*/React.createElement("svg", {
2900
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
2891
2901
  xmlns: "http://www.w3.org/2000/svg",
2892
2902
  width: "36",
2893
2903
  height: "28"
2894
- }, /*#__PURE__*/React.createElement("g", {
2904
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
2895
2905
  fill: "none",
2896
2906
  fillRule: "evenodd"
2897
- }, /*#__PURE__*/React.createElement("rect", {
2907
+ }, /*#__PURE__*/React__default["default"].createElement("rect", {
2898
2908
  width: "36",
2899
2909
  height: "28",
2900
2910
  fill: "#3D6FCF",
2901
2911
  rx: "4"
2902
- }), /*#__PURE__*/React.createElement("path", {
2912
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
2903
2913
  stroke: "#FFF",
2904
2914
  strokeLinecap: "round",
2905
2915
  strokeLinejoin: "round",
@@ -2912,16 +2922,16 @@ var HyperLink = function HyperLink(_ref) {
2912
2922
  var _ref$hyperLink = _ref.hyperLink,
2913
2923
  hyperLink = _ref$hyperLink === void 0 ? "" : _ref$hyperLink;
2914
2924
  if (!hyperLink) return null;
2915
- return /*#__PURE__*/React.createElement(Link, {
2925
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
2916
2926
  href: hyperLink,
2917
2927
  "aria-label": "hyperlink-button",
2918
2928
  className: "arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",
2919
2929
  target: "_blank",
2920
2930
  rel: "noopener noreferrer"
2921
- }, /*#__PURE__*/React.createElement(HyperLinkIcon, null));
2931
+ }, /*#__PURE__*/React__default["default"].createElement(HyperLinkIcon, null));
2922
2932
  };
2923
2933
  HyperLink.propTypes = {
2924
- hyperLink: PropTypes.string
2934
+ hyperLink: PropTypes__default["default"].string
2925
2935
  };
2926
2936
 
2927
2937
  var _styleModuleImportMap$f = {
@@ -2957,7 +2967,7 @@ var HeroImage = function HeroImage(_ref) {
2957
2967
  StoryTemplateIcon = _config$StoryTemplate === void 0 ? function () {
2958
2968
  return null;
2959
2969
  } : _config$StoryTemplate;
2960
- var showImagePlaceholder = useSelector(function (state) {
2970
+ var showImagePlaceholder = reactRedux.useSelector(function (state) {
2961
2971
  return get_1(state, ["qt", "config", "showPlaceholder"]);
2962
2972
  });
2963
2973
  var getPlaceholderStyleName = showImagePlaceholder ? "placeholder" : "";
@@ -2993,37 +3003,37 @@ var HeroImage = function HeroImage(_ref) {
2993
3003
  var fallbackImage = function fallbackImage() {
2994
3004
  if (!slug) {
2995
3005
  if (fallbackImageUrl && !isStoryPageImage) {
2996
- return /*#__PURE__*/React.createElement("figure", {
3006
+ return /*#__PURE__*/React__default["default"].createElement("figure", {
2997
3007
  style: {
2998
3008
  paddingTop: imagePadding + "%"
2999
3009
  },
3000
3010
  className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$f)
3001
- }, /*#__PURE__*/React.createElement("img", {
3011
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
3002
3012
  className: "qt-image",
3003
3013
  "data-src": "".concat(fallbackImageUrl),
3004
3014
  alt: "image-fallback"
3005
3015
  }));
3006
3016
  }
3007
3017
 
3008
- return /*#__PURE__*/React.createElement(React.Fragment, null, defaultFallback ? /*#__PURE__*/React.createElement("div", {
3018
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, defaultFallback ? /*#__PURE__*/React__default["default"].createElement("div", {
3009
3019
  "data-test-id": "arr--fallback-hero-image",
3010
3020
  style: {
3011
3021
  paddingTop: imagePadding + "%"
3012
3022
  },
3013
3023
  className: "arr--fallback-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$f)
3014
- }, /*#__PURE__*/React.createElement(StoryTemplateIcon, {
3024
+ }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
3015
3025
  storyTemplate: story["story-template"]
3016
- }), /*#__PURE__*/React.createElement(FallbackImage, null)) : null);
3026
+ }), /*#__PURE__*/React__default["default"].createElement(FallbackImage, null)) : null);
3017
3027
  }
3018
3028
 
3019
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("figure", {
3029
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("figure", {
3020
3030
  style: {
3021
3031
  paddingTop: imagePadding + "%"
3022
3032
  },
3023
3033
  className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$f)
3024
- }, /*#__PURE__*/React.createElement(StoryTemplateIcon, {
3034
+ }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
3025
3035
  storyTemplate: story["story-template"]
3026
- }), /*#__PURE__*/React.createElement(ResponsiveHeroImage, {
3036
+ }), /*#__PURE__*/React__default["default"].createElement(components.ResponsiveHeroImage, {
3027
3037
  story: story,
3028
3038
  aspectRatio: imageAspectRatio,
3029
3039
  defaultWidth: defaultWidth,
@@ -3032,15 +3042,15 @@ var HeroImage = function HeroImage(_ref) {
3032
3042
  auto: ["format", "compress"],
3033
3043
  fit: "max"
3034
3044
  }
3035
- })), isStoryPageImage && hyperLink && /*#__PURE__*/React.createElement(HyperLink, {
3045
+ })), isStoryPageImage && hyperLink && /*#__PURE__*/React__default["default"].createElement(HyperLink, {
3036
3046
  hyperLink: hyperLink
3037
3047
  }));
3038
3048
  };
3039
3049
 
3040
- return story && (isStoryPageImage ? /*#__PURE__*/React.createElement("div", {
3050
+ return story && (isStoryPageImage ? /*#__PURE__*/React__default["default"].createElement("div", {
3041
3051
  "data-test-id": "arr--hero-image",
3042
3052
  className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$f)
3043
- }, fallbackImage()) : /*#__PURE__*/React.createElement(Link, {
3053
+ }, fallbackImage()) : /*#__PURE__*/React__default["default"].createElement(components.Link, {
3044
3054
  "data-test-id": "arr--hero-image",
3045
3055
  href: getStoryUrl(story, "/".concat(story.slug)),
3046
3056
  externalLink: isExternalStory(story),
@@ -3050,30 +3060,30 @@ var HeroImage = function HeroImage(_ref) {
3050
3060
  };
3051
3061
  HeroImage.propTypes = {
3052
3062
  /** The Story Object from the API response */
3053
- story: PropTypes.object.isRequired,
3063
+ story: PropTypes__default["default"].object.isRequired,
3054
3064
 
3055
3065
  /** Removes the Hero Image padding for the image to bleed over the margin */
3056
- FullBleed: PropTypes.bool,
3066
+ FullBleed: PropTypes__default["default"].bool,
3057
3067
 
3058
3068
  /** The default width for the image, in case the browser does not support srcset */
3059
- defaultWidth: PropTypes.number,
3069
+ defaultWidth: PropTypes__default["default"].number,
3060
3070
 
3061
3071
  /** The list of available widths */
3062
- widths: PropTypes.array,
3072
+ widths: PropTypes__default["default"].array,
3063
3073
  // fatch the correct hero image
3064
- aspectRatio: PropTypes.array,
3074
+ aspectRatio: PropTypes__default["default"].array,
3065
3075
  // Hints for the browser to choose the best size
3066
3076
 
3067
3077
  /** This prop is responsible for adding padding-right of the image and remove padding bottom of the image */
3068
- isHorizontal: PropTypes.bool,
3078
+ isHorizontal: PropTypes__default["default"].bool,
3069
3079
 
3070
3080
  /** This prop is responsible for adding padding-bottom in desktop and padding-right in mobile */
3071
- isHorizontalMobile: PropTypes.bool,
3081
+ isHorizontalMobile: PropTypes__default["default"].bool,
3072
3082
  // this prop is responsive for rendering fallback image on story page
3073
- defaultFallback: PropTypes.bool,
3074
- isHorizontalWithImageLast: PropTypes.bool,
3075
- isStoryPageImage: PropTypes.bool,
3076
- config: PropTypes.object
3083
+ defaultFallback: PropTypes__default["default"].bool,
3084
+ isHorizontalWithImageLast: PropTypes__default["default"].bool,
3085
+ isStoryPageImage: PropTypes__default["default"].bool,
3086
+ config: PropTypes__default["default"].object
3077
3087
  };
3078
3088
  HeroImage.defaultProps = {
3079
3089
  FullBleed: true,
@@ -3124,7 +3134,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
3124
3134
  var borderBottomFullStyle = templateStyle.includes("collection-borderBottomFull") ? "4px solid ".concat(CollectionNameBorderColor) : "";
3125
3135
 
3126
3136
  var borderBottomStyle = function borderBottomStyle() {
3127
- return templateStyle.includes("collection-borderBottom") && !templateStyle.includes("collection-borderBottomFull") ? /*#__PURE__*/React.createElement("div", {
3137
+ return templateStyle.includes("collection-borderBottom") && !templateStyle.includes("collection-borderBottomFull") ? /*#__PURE__*/React__default["default"].createElement("div", {
3128
3138
  className: "collection-name-m_border-bottom__1MnlV",
3129
3139
  style: {
3130
3140
  borderBottom: "4px solid ".concat(CollectionNameBorderColor)
@@ -3184,40 +3194,40 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
3184
3194
  }
3185
3195
  };
3186
3196
 
3187
- return /*#__PURE__*/React.createElement(React.Fragment, null, showRowTitle && collectionName && /*#__PURE__*/React.createElement("div", {
3197
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, showRowTitle && collectionName && /*#__PURE__*/React__default["default"].createElement("div", {
3188
3198
  style: {
3189
3199
  borderBottom: borderBottomFullStyle
3190
3200
  },
3191
3201
  "data-test-id": "collection-name",
3192
3202
  className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$e)
3193
- }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React.createElement("span", {
3203
+ }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
3194
3204
  className: "arr-collection-name-border-left collection-name-m_border-left__3_pYw",
3195
3205
  style: {
3196
3206
  color: CollectionNameBorderColor,
3197
3207
  fontSize: getBorderHeight()
3198
3208
  }
3199
- }), slug && !slug.includes(undefined) ? /*#__PURE__*/React.createElement(Link, {
3209
+ }), slug && !slug.includes(undefined) ? /*#__PURE__*/React__default["default"].createElement(components.Link, {
3200
3210
  href: slug,
3201
3211
  "aria-label": "collection-name"
3202
- }, /*#__PURE__*/React.createElement(HeaderTag, null, collectionName)) : /*#__PURE__*/React.createElement(HeaderTag, null, collectionName), borderBottomStyle()));
3212
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, null, collectionName)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, null, collectionName), borderBottomStyle()));
3203
3213
  };
3204
3214
  CollectionNameBase.propTypes = {
3205
3215
  /** Collection name border color */
3206
- collectionNameBorderColor: PropTypes$1.string,
3216
+ collectionNameBorderColor: PropTypes.PropTypes.string,
3207
3217
 
3208
3218
  /** The Collection Object from the API response */
3209
- collection: PropTypes$1.object,
3219
+ collection: PropTypes.PropTypes.object,
3210
3220
 
3211
3221
  /** The publisher config from the API response */
3212
- config: PropTypes$1.object,
3222
+ config: PropTypes.PropTypes.object,
3213
3223
 
3214
3224
  /** The style template for the component */
3215
- collectionNameTemplate: PropTypes$1.oneOf(["", "borderLeft", "borderBottom", "crossLine", "borderBottomFull"]),
3225
+ collectionNameTemplate: PropTypes.PropTypes.oneOf(["", "borderLeft", "borderBottom", "crossLine", "borderBottomFull"]),
3216
3226
 
3217
3227
  /** Header tags ranging h1-h6, where h[headerLevel] */
3218
- headerLevel: PropTypes$1.string,
3219
- customCollectionName: PropTypes$1.string,
3220
- navigate: PropTypes$1.bool
3228
+ headerLevel: PropTypes.PropTypes.string,
3229
+ customCollectionName: PropTypes.PropTypes.string,
3230
+ navigate: PropTypes.PropTypes.bool
3221
3231
  };
3222
3232
  CollectionNameBase.defaultProps = {
3223
3233
  collectionNameTemplate: "",
@@ -3230,7 +3240,7 @@ function mapStateToProps$1(state) {
3230
3240
  };
3231
3241
  }
3232
3242
 
3233
- var CollectionName = connect(mapStateToProps$1)(CollectionNameBase);
3243
+ var CollectionName = reactRedux.connect(mapStateToProps$1)(CollectionNameBase);
3234
3244
 
3235
3245
  var CrownIcon = function CrownIcon(_ref) {
3236
3246
  var height = _ref.height,
@@ -3238,7 +3248,7 @@ var CrownIcon = function CrownIcon(_ref) {
3238
3248
  _ref$color = _ref.color,
3239
3249
  color = _ref$color === void 0 ? "#D8D8D8" : _ref$color,
3240
3250
  positionTop = _ref.positionTop;
3241
- return /*#__PURE__*/React.createElement("svg", {
3251
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3242
3252
  xmlns: "http://www.w3.org/2000/svg",
3243
3253
  width: width,
3244
3254
  height: height,
@@ -3247,28 +3257,28 @@ var CrownIcon = function CrownIcon(_ref) {
3247
3257
  position: "relative",
3248
3258
  top: positionTop
3249
3259
  }
3250
- }, /*#__PURE__*/React.createElement("g", {
3260
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3251
3261
  fill: "none",
3252
3262
  fillRule: "evenodd",
3253
3263
  stroke: "none",
3254
3264
  strokeWidth: "1"
3255
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
3265
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
3256
3266
  transform: "translate(8 8)"
3257
- }, /*#__PURE__*/React.createElement("path", {
3267
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3258
3268
  d: "M0 0H24V24H0z"
3259
- }), /*#__PURE__*/React.createElement("g", {
3269
+ }), /*#__PURE__*/React__default["default"].createElement("g", {
3260
3270
  fill: color,
3261
3271
  fillRule: "nonzero",
3262
3272
  transform: "translate(0 2)"
3263
- }, /*#__PURE__*/React.createElement("path", {
3273
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3264
3274
  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"
3265
3275
  }))))));
3266
3276
  };
3267
3277
  CrownIcon.propTypes = {
3268
- height: PropTypes.string,
3269
- width: PropTypes.string,
3270
- color: PropTypes.string,
3271
- positionTop: PropTypes.string
3278
+ height: PropTypes__default["default"].string,
3279
+ width: PropTypes__default["default"].string,
3280
+ color: PropTypes__default["default"].string,
3281
+ positionTop: PropTypes__default["default"].string
3272
3282
  };
3273
3283
 
3274
3284
  var KeyIcon = function KeyIcon(_ref) {
@@ -3277,7 +3287,7 @@ var KeyIcon = function KeyIcon(_ref) {
3277
3287
  _ref$color = _ref.color,
3278
3288
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3279
3289
  positionTop = _ref.positionTop;
3280
- return /*#__PURE__*/React.createElement("svg", {
3290
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3281
3291
  xmlns: "http://www.w3.org/2000/svg",
3282
3292
  width: width,
3283
3293
  height: height,
@@ -3286,16 +3296,16 @@ var KeyIcon = function KeyIcon(_ref) {
3286
3296
  position: "relative",
3287
3297
  top: positionTop
3288
3298
  }
3289
- }, /*#__PURE__*/React.createElement("g", {
3299
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3290
3300
  fill: "none",
3291
3301
  fillRule: "evenodd",
3292
3302
  stroke: "none",
3293
3303
  strokeWidth: "1"
3294
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
3304
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
3295
3305
  transform: "translate(8 8)"
3296
- }, /*#__PURE__*/React.createElement("path", {
3306
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3297
3307
  d: "M0 0H24V24H0z"
3298
- }), /*#__PURE__*/React.createElement("path", {
3308
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
3299
3309
  fill: color,
3300
3310
  fillRule: "nonzero",
3301
3311
  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",
@@ -3303,10 +3313,10 @@ var KeyIcon = function KeyIcon(_ref) {
3303
3313
  })))));
3304
3314
  };
3305
3315
  KeyIcon.propTypes = {
3306
- height: PropTypes.string,
3307
- width: PropTypes.string,
3308
- color: PropTypes.string,
3309
- positionTop: PropTypes.string
3316
+ height: PropTypes__default["default"].string,
3317
+ width: PropTypes__default["default"].string,
3318
+ color: PropTypes__default["default"].string,
3319
+ positionTop: PropTypes__default["default"].string
3310
3320
  };
3311
3321
 
3312
3322
  var LockIcon = function LockIcon(_ref) {
@@ -3315,7 +3325,7 @@ var LockIcon = function LockIcon(_ref) {
3315
3325
  _ref$color = _ref.color,
3316
3326
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3317
3327
  positionTop = _ref.positionTop;
3318
- return /*#__PURE__*/React.createElement("svg", {
3328
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3319
3329
  xmlns: "http://www.w3.org/2000/svg",
3320
3330
  width: width,
3321
3331
  height: height,
@@ -3324,28 +3334,28 @@ var LockIcon = function LockIcon(_ref) {
3324
3334
  position: "relative",
3325
3335
  top: positionTop
3326
3336
  }
3327
- }, /*#__PURE__*/React.createElement("g", {
3337
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3328
3338
  fill: "none",
3329
3339
  fillRule: "evenodd",
3330
3340
  stroke: "none",
3331
3341
  strokeWidth: "1"
3332
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("g", {
3342
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("g", {
3333
3343
  transform: "translate(8 8)"
3334
- }, /*#__PURE__*/React.createElement("path", {
3344
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3335
3345
  d: "M0 0H24V24H0z"
3336
- }), /*#__PURE__*/React.createElement("g", {
3346
+ }), /*#__PURE__*/React__default["default"].createElement("g", {
3337
3347
  fill: color,
3338
3348
  fillRule: "nonzero",
3339
3349
  transform: "translate(3)"
3340
- }, /*#__PURE__*/React.createElement("path", {
3350
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3341
3351
  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"
3342
3352
  }))))));
3343
3353
  };
3344
3354
  LockIcon.propTypes = {
3345
- height: PropTypes.string,
3346
- width: PropTypes.string,
3347
- color: PropTypes.string,
3348
- positionTop: PropTypes.string
3355
+ height: PropTypes__default["default"].string,
3356
+ width: PropTypes__default["default"].string,
3357
+ color: PropTypes__default["default"].string,
3358
+ positionTop: PropTypes__default["default"].string
3349
3359
  };
3350
3360
 
3351
3361
  var StarIcon = function StarIcon(_ref) {
@@ -3355,7 +3365,7 @@ var StarIcon = function StarIcon(_ref) {
3355
3365
  color = _ref$color === void 0 ? "#D5D5D5" : _ref$color,
3356
3366
  _ref$positionTop = _ref.positionTop,
3357
3367
  positionTop = _ref$positionTop === void 0 ? "" : _ref$positionTop;
3358
- return /*#__PURE__*/React.createElement("svg", {
3368
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3359
3369
  xmlns: "http://www.w3.org/2000/svg",
3360
3370
  width: width,
3361
3371
  height: height,
@@ -3364,21 +3374,21 @@ var StarIcon = function StarIcon(_ref) {
3364
3374
  position: "relative",
3365
3375
  top: positionTop
3366
3376
  }
3367
- }, /*#__PURE__*/React.createElement("g", {
3377
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
3368
3378
  fill: "none",
3369
3379
  fillRule: "evenodd",
3370
3380
  stroke: "none",
3371
3381
  strokeWidth: "1"
3372
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
3382
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("path", {
3373
3383
  fill: color,
3374
3384
  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"
3375
3385
  }))));
3376
3386
  };
3377
3387
  StarIcon.propTypes = {
3378
- height: PropTypes.string,
3379
- width: PropTypes.string,
3380
- color: PropTypes.string,
3381
- positionTop: PropTypes.string
3388
+ height: PropTypes__default["default"].string,
3389
+ width: PropTypes__default["default"].string,
3390
+ color: PropTypes__default["default"].string,
3391
+ positionTop: PropTypes__default["default"].string
3382
3392
  };
3383
3393
 
3384
3394
  var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
@@ -3390,7 +3400,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3390
3400
 
3391
3401
  switch (iconType) {
3392
3402
  case "crown":
3393
- return /*#__PURE__*/React.createElement(CrownIcon, {
3403
+ return /*#__PURE__*/React__default["default"].createElement(CrownIcon, {
3394
3404
  width: width,
3395
3405
  height: height,
3396
3406
  color: color,
@@ -3398,7 +3408,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3398
3408
  });
3399
3409
 
3400
3410
  case "lock":
3401
- return /*#__PURE__*/React.createElement(LockIcon, {
3411
+ return /*#__PURE__*/React__default["default"].createElement(LockIcon, {
3402
3412
  width: width,
3403
3413
  height: height,
3404
3414
  color: color,
@@ -3406,7 +3416,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3406
3416
  });
3407
3417
 
3408
3418
  case "key":
3409
- return /*#__PURE__*/React.createElement(KeyIcon, {
3419
+ return /*#__PURE__*/React__default["default"].createElement(KeyIcon, {
3410
3420
  width: width,
3411
3421
  height: height,
3412
3422
  color: color,
@@ -3414,7 +3424,7 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3414
3424
  });
3415
3425
 
3416
3426
  default:
3417
- return /*#__PURE__*/React.createElement(StarIcon, {
3427
+ return /*#__PURE__*/React__default["default"].createElement(StarIcon, {
3418
3428
  width: width,
3419
3429
  height: height,
3420
3430
  color: color,
@@ -3423,21 +3433,21 @@ var PremiumStoryIcon = function PremiumStoryIcon(_ref) {
3423
3433
  }
3424
3434
  };
3425
3435
  PremiumStoryIcon.propTypes = {
3426
- width: PropTypes.string,
3427
- height: PropTypes.string,
3428
- color: PropTypes.string,
3429
- iconType: PropTypes.string,
3430
- positionTop: PropTypes.string
3436
+ width: PropTypes__default["default"].string,
3437
+ height: PropTypes__default["default"].string,
3438
+ color: PropTypes__default["default"].string,
3439
+ iconType: PropTypes__default["default"].string,
3440
+ positionTop: PropTypes__default["default"].string
3431
3441
  };
3432
3442
 
3433
3443
  function LiveIcon() {
3434
- return /*#__PURE__*/React.createElement("svg", {
3444
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
3435
3445
  className: "live-icon",
3436
3446
  xmlns: "http://www.w3.org/2000/svg",
3437
3447
  width: "25",
3438
3448
  height: "24",
3439
3449
  viewBox: "0 0 25 24"
3440
- }, /*#__PURE__*/React.createElement("path", {
3450
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3441
3451
  fill: "#ff5858",
3442
3452
  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"
3443
3453
  }));
@@ -3494,37 +3504,37 @@ var Headline = function Headline(_ref) {
3494
3504
  var wrapperClass = premiumStory ? "wrapper" : "";
3495
3505
  var iconSize = "24px";
3496
3506
  var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !get_1(story, ["metadata", "is-closed"], false);
3497
- return /*#__PURE__*/React.createElement("div", {
3507
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3498
3508
  "data-test-id": "headline",
3499
3509
  className: "arrow-component arr--headline " + _getClassName(wrapperClass, _styleModuleImportMap$d)
3500
- }, premiumStory && /*#__PURE__*/React.createElement(PremiumStoryIcon, {
3510
+ }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
3501
3511
  width: iconSize,
3502
3512
  height: iconSize,
3503
3513
  color: iconColor,
3504
3514
  iconType: iconStyle,
3505
3515
  positionTop: positionHeadline()
3506
- }), isLink ? /*#__PURE__*/React.createElement(Link, {
3516
+ }), isLink ? /*#__PURE__*/React__default["default"].createElement(components.Link, {
3507
3517
  href: getStoryUrl(story, "/".concat(story.slug)),
3508
3518
  externalLink: isExternalStory(story),
3509
3519
  "aria-label": "headline"
3510
- }, /*#__PURE__*/React.createElement(HeaderTag, {
3520
+ }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
3511
3521
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$d)
3512
- }, enableLiveIcon && /*#__PURE__*/React.createElement(LiveIcon, null), headline)) : /*#__PURE__*/React.createElement(HeaderTag, {
3522
+ }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
3513
3523
  className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$d)
3514
- }, enableLiveIcon && /*#__PURE__*/React.createElement(LiveIcon, null), headline));
3524
+ }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline));
3515
3525
  };
3516
3526
  Headline.propTypes = {
3517
3527
  /** The Story Object from the API response */
3518
- story: PropTypes.object.isRequired,
3528
+ story: PropTypes__default["default"].object.isRequired,
3519
3529
 
3520
3530
  /** Header tags ranging h1-h6, where h[headerLevel] */
3521
- headerLevel: PropTypes.string,
3522
- premiumStoryIconConfig: PropTypes.shape({
3523
- iconColor: PropTypes.string,
3524
- iconType: PropTypes.string,
3525
- enablePremiumStoryIcon: PropTypes.bool
3531
+ headerLevel: PropTypes__default["default"].string,
3532
+ premiumStoryIconConfig: PropTypes__default["default"].shape({
3533
+ iconColor: PropTypes__default["default"].string,
3534
+ iconType: PropTypes__default["default"].string,
3535
+ enablePremiumStoryIcon: PropTypes__default["default"].bool
3526
3536
  }),
3527
- isLink: PropTypes.bool
3537
+ isLink: PropTypes__default["default"].bool
3528
3538
  };
3529
3539
  Headline.defaultProps = {
3530
3540
  headerLevel: "6",
@@ -3566,22 +3576,22 @@ var SectionTag = function SectionTag(_ref) {
3566
3576
  }
3567
3577
 
3568
3578
  if (!isSection) return null;
3569
- return /*#__PURE__*/React.createElement(Link, {
3579
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, {
3570
3580
  href: getUrl,
3571
3581
  className: "arrow-component arr--section-name",
3572
3582
  "aria-label": "section-name"
3573
- }, /*#__PURE__*/React.createElement("div", {
3583
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3574
3584
  "data-test-id": "sectionTag",
3575
3585
  style: {
3576
3586
  backgroundColor: templateStyle.includes("section-solid") ? sectionTagBorderColor : ""
3577
3587
  },
3578
3588
  className: "section-tag arrow-component " + _getClassName("".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$c)
3579
- }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React.createElement("span", {
3589
+ }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
3580
3590
  className: "section-m_border-left__2oUyp",
3581
3591
  style: {
3582
3592
  color: sectionTagBorderColor
3583
3593
  }
3584
- }), section["display-name"] || section["name"], /*#__PURE__*/React.createElement("div", {
3594
+ }), section["display-name"] || section["name"], /*#__PURE__*/React__default["default"].createElement("div", {
3585
3595
  className: "section-m_border-bottom__3cRoD",
3586
3596
  style: {
3587
3597
  backgroundColor: "".concat(template === "solid" ? "" : sectionTagBorderColor)
@@ -3590,13 +3600,13 @@ var SectionTag = function SectionTag(_ref) {
3590
3600
  };
3591
3601
  SectionTag.propTypes = {
3592
3602
  /** The Story Object from the API response */
3593
- story: PropTypes.object.isRequired,
3603
+ story: PropTypes__default["default"].object.isRequired,
3594
3604
 
3595
3605
  /** The style template for section tag */
3596
- template: PropTypes.oneOf(["", "borderBottomSml", "borderLeft", "solid"]),
3597
- borderColor: PropTypes.string,
3598
- solidBorderColor: PropTypes.string,
3599
- isLightTheme: PropTypes.bool
3606
+ template: PropTypes__default["default"].oneOf(["", "borderBottomSml", "borderLeft", "solid"]),
3607
+ borderColor: PropTypes__default["default"].string,
3608
+ solidBorderColor: PropTypes__default["default"].string,
3609
+ isLightTheme: PropTypes__default["default"].bool
3600
3610
  };
3601
3611
  SectionTag.defaultProps = {
3602
3612
  template: "",
@@ -3622,18 +3632,18 @@ var TimeStamp = function TimeStamp(_ref) {
3622
3632
  var time = story["last-published-at"] || story["first-published-at"];
3623
3633
  var isBottomClasses = isBottom ? "bottom-fix" : "";
3624
3634
  var textColor = getTextColor(configState.theme);
3625
- return /*#__PURE__*/React.createElement(React.Fragment, null, isTime && /*#__PURE__*/React.createElement("div", {
3635
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isTime && /*#__PURE__*/React__default["default"].createElement("div", {
3626
3636
  "data-test-id": "publish-time",
3627
3637
  className: "time arr--publish-time " + _getClassName("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$b)
3628
- }, /*#__PURE__*/React.createElement("div", {
3638
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3629
3639
  className: "timestamp-m_time-wrapper__3O2lM"
3630
3640
  }, getTimeStamp(time, formatter, config))));
3631
3641
  };
3632
3642
  TimeStamp.propTypes = {
3633
3643
  /** The Story Object from the API response */
3634
- story: PropTypes.object,
3635
- isBottom: PropTypes.bool,
3636
- config: PropTypes.object
3644
+ story: PropTypes__default["default"].object,
3645
+ isBottom: PropTypes__default["default"].bool,
3646
+ config: PropTypes__default["default"].object
3637
3647
  };
3638
3648
 
3639
3649
  var _styleModuleImportMap$a = {
@@ -3676,10 +3686,10 @@ var AuthorBase = function AuthorBase(_ref) {
3676
3686
  return null;
3677
3687
  }
3678
3688
 
3679
- return /*#__PURE__*/React.createElement("div", {
3689
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3680
3690
  "data-test-id": "author-image",
3681
3691
  className: _getClassName("author-image ".concat(dir, "-image"), _styleModuleImportMap$a)
3682
- }, /*#__PURE__*/React.createElement("figure", null, avatarS3Key ? /*#__PURE__*/React.createElement(ResponsiveImage, {
3692
+ }, /*#__PURE__*/React__default["default"].createElement("figure", null, avatarS3Key ? /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
3683
3693
  slug: avatarS3Key,
3684
3694
  "aspect-ratio": [1, 1],
3685
3695
  defaultWidth: 400,
@@ -3687,14 +3697,14 @@ var AuthorBase = function AuthorBase(_ref) {
3687
3697
  auto: ["format", "compress"]
3688
3698
  },
3689
3699
  alt: authorName
3690
- }) : /*#__PURE__*/React.createElement("img", {
3700
+ }) : /*#__PURE__*/React__default["default"].createElement("img", {
3691
3701
  src: avatarUrl
3692
3702
  })));
3693
3703
  };
3694
3704
 
3695
3705
  var isPrefix = function isPrefix(dir) {
3696
3706
  if (prefix) {
3697
- return /*#__PURE__*/React.createElement("div", {
3707
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3698
3708
  className: "arr-author-prefix " + _getClassName("prefix ".concat(textColor), _styleModuleImportMap$a)
3699
3709
  }, prefix);
3700
3710
  }
@@ -3702,11 +3712,11 @@ var AuthorBase = function AuthorBase(_ref) {
3702
3712
  return !hideAuthorImage && authorImage(dir);
3703
3713
  };
3704
3714
 
3705
- return /*#__PURE__*/React.createElement(React.Fragment, null, isAuthor && /*#__PURE__*/React.createElement(Link, {
3715
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement(components.Link, {
3706
3716
  href: "".concat(mountAt, "/author/") + slug,
3707
3717
  "aria-label": "author-name",
3708
3718
  className: "author-name arr-author-name arrow-component " + _getClassName("author ".concat(isBottomClasses), _styleModuleImportMap$a)
3709
- }, isPrefix("ltr"), /*#__PURE__*/React.createElement("div", {
3719
+ }, isPrefix("ltr"), /*#__PURE__*/React__default["default"].createElement("div", {
3710
3720
  "data-test-id": "author-name",
3711
3721
  className: "author-name " + _getClassName("author-name ".concat(textColor), _styleModuleImportMap$a)
3712
3722
  }, authorName || story["author-name"]), !prefix && isPrefix("rtl")));
@@ -3718,18 +3728,18 @@ function mapStateToProps(state) {
3718
3728
  };
3719
3729
  }
3720
3730
 
3721
- var Author = connect(mapStateToProps)(AuthorBase);
3731
+ var Author = reactRedux.connect(mapStateToProps)(AuthorBase);
3722
3732
  AuthorBase.propTypes = {
3723
3733
  /** The Story Object from the API response */
3724
- story: PropTypes.object.isRequired,
3734
+ story: PropTypes__default["default"].object.isRequired,
3725
3735
 
3726
3736
  /** Hide Author Avatar Image */
3727
- hideAuthorImage: PropTypes.bool,
3737
+ hideAuthorImage: PropTypes__default["default"].bool,
3728
3738
  // fix Author bottom of the storyCard
3729
- isBottom: PropTypes.bool,
3739
+ isBottom: PropTypes__default["default"].bool,
3730
3740
  // fix prefix before the author name
3731
- prefix: PropTypes.string,
3732
- config: PropTypes.object
3741
+ prefix: PropTypes__default["default"].string,
3742
+ config: PropTypes__default["default"].object
3733
3743
  };
3734
3744
  AuthorBase.defaultProps = {
3735
3745
  hideAuthorImage: false,
@@ -3750,14 +3760,14 @@ var Dot = function Dot(_ref) {
3750
3760
  height = _ref$height === void 0 ? "3px" : _ref$height,
3751
3761
  _ref$color = _ref.color,
3752
3762
  color = _ref$color === void 0 ? "light" : _ref$color;
3753
- return /*#__PURE__*/React.createElement("div", {
3763
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3754
3764
  className: _getClassName(color, _styleModuleImportMap$9)
3755
- }, /*#__PURE__*/React.createElement("svg", {
3765
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
3756
3766
  xmlns: "http://www.w3.org/2000/svg",
3757
3767
  width: width,
3758
3768
  height: height,
3759
3769
  viewBox: "0 0 3 3"
3760
- }, /*#__PURE__*/React.createElement("circle", {
3770
+ }, /*#__PURE__*/React__default["default"].createElement("circle", {
3761
3771
  cx: "87",
3762
3772
  cy: "9",
3763
3773
  r: "1",
@@ -3768,9 +3778,9 @@ var Dot = function Dot(_ref) {
3768
3778
  };
3769
3779
  Dot.propTypes = {
3770
3780
  /** height , width and color of the dot icon */
3771
- color: PropTypes.string,
3772
- width: PropTypes.string,
3773
- height: PropTypes.string
3781
+ color: PropTypes__default["default"].string,
3782
+ width: PropTypes__default["default"].string,
3783
+ height: PropTypes__default["default"].string
3774
3784
  };
3775
3785
 
3776
3786
  var _styleModuleImportMap$8 = {
@@ -3786,22 +3796,22 @@ var Divider = function Divider(_ref) {
3786
3796
  height = _ref$height === void 0 ? "10" : _ref$height,
3787
3797
  _ref$color = _ref.color,
3788
3798
  color = _ref$color === void 0 ? "light" : _ref$color;
3789
- return /*#__PURE__*/React.createElement("div", {
3799
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3790
3800
  className: _getClassName(color, _styleModuleImportMap$8)
3791
- }, /*#__PURE__*/React.createElement("svg", {
3801
+ }, /*#__PURE__*/React__default["default"].createElement("svg", {
3792
3802
  xmlns: "http://www.w3.org/2000/svg",
3793
3803
  width: width,
3794
3804
  height: height
3795
- }, /*#__PURE__*/React.createElement("path", {
3805
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
3796
3806
  fill: "inherit",
3797
3807
  d: "M0 0h1v10H0z"
3798
3808
  })));
3799
3809
  };
3800
3810
  Divider.propTypes = {
3801
3811
  /** height , width and color of the dot icon */
3802
- color: PropTypes.string,
3803
- width: PropTypes.string,
3804
- height: PropTypes.string
3812
+ color: PropTypes__default["default"].string,
3813
+ width: PropTypes__default["default"].string,
3814
+ height: PropTypes__default["default"].string
3805
3815
  };
3806
3816
 
3807
3817
  var _styleModuleImportMap$7 = {
@@ -3824,23 +3834,23 @@ var ReadTime = function ReadTime(_ref) {
3824
3834
  var textColor = isLightTheme ? "light" : getTextColor(config.theme);
3825
3835
  if (!showReadTime || !readTime) return null;
3826
3836
  var timeToRead = get_1(opts, ["localizedTimeToRead"]) || "min read";
3827
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
3837
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3828
3838
  "data-test-id": "read-time",
3829
3839
  className: "arrow-component arr--read-time " + _getClassName("read-time-wrapper ".concat(textColor), _styleModuleImportMap$7)
3830
- }, /*#__PURE__*/React.createElement("span", {
3840
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
3831
3841
  className: "read-time-indicator read-time-m_dot-indicator__3Sqh2"
3832
- }, /*#__PURE__*/React.createElement(Dot, {
3842
+ }, /*#__PURE__*/React__default["default"].createElement(Dot, {
3833
3843
  color: textColor
3834
- })), /*#__PURE__*/React.createElement("span", null, readTime, " ", timeToRead)));
3844
+ })), /*#__PURE__*/React__default["default"].createElement("span", null, readTime, " ", timeToRead)));
3835
3845
  };
3836
3846
  ReadTime.propTypes = {
3837
- story: PropTypes.shape({
3838
- "read-time": PropTypes.number
3847
+ story: PropTypes__default["default"].shape({
3848
+ "read-time": PropTypes__default["default"].number
3839
3849
  }),
3840
- opts: PropTypes.shape({
3841
- showReadTime: PropTypes.bool
3850
+ opts: PropTypes__default["default"].shape({
3851
+ showReadTime: PropTypes__default["default"].bool
3842
3852
  }),
3843
- isLightTheme: PropTypes.bool
3853
+ isLightTheme: PropTypes__default["default"].bool
3844
3854
  };
3845
3855
 
3846
3856
  var _styleModuleImportMap$6 = {
@@ -3871,33 +3881,33 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3871
3881
 
3872
3882
  var getSeparator = function getSeparator() {
3873
3883
  if (separator === "divider") {
3874
- return /*#__PURE__*/React.createElement(Divider, {
3884
+ return /*#__PURE__*/React__default["default"].createElement(Divider, {
3875
3885
  color: textColor
3876
3886
  });
3877
3887
  }
3878
3888
 
3879
- return /*#__PURE__*/React.createElement(Dot, {
3889
+ return /*#__PURE__*/React__default["default"].createElement(Dot, {
3880
3890
  color: textColor
3881
3891
  });
3882
3892
  };
3883
3893
 
3884
3894
  var getTimeStamp = function getTimeStamp() {
3885
3895
  if (!isTime) return null;
3886
- return /*#__PURE__*/React.createElement(React.Fragment, null, isAuthor && /*#__PURE__*/React.createElement("span", {
3896
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement("span", {
3887
3897
  className: "arr-separator " + _getClassName("".concat(seperatorStyle), _styleModuleImportMap$6)
3888
- }, getSeparator()), /*#__PURE__*/React.createElement(TimeStamp, {
3898
+ }, getSeparator()), /*#__PURE__*/React__default["default"].createElement(TimeStamp, {
3889
3899
  story: story,
3890
3900
  config: config
3891
- }), isReadTime && /*#__PURE__*/React.createElement(ReadTime, {
3901
+ }), isReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
3892
3902
  story: story,
3893
3903
  opts: config,
3894
3904
  isLightTheme: isLightTheme
3895
3905
  }));
3896
3906
  };
3897
3907
 
3898
- return /*#__PURE__*/React.createElement("div", {
3908
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3899
3909
  className: "arr--author-time " + _getClassName("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$6)
3900
- }, isAuthor ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Author, {
3910
+ }, isAuthor ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Author, {
3901
3911
  story: story,
3902
3912
  isBottom: true,
3903
3913
  hideAuthorImage: hideAuthorImage,
@@ -3905,19 +3915,19 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3905
3915
  }), getTimeStamp()) : getTimeStamp());
3906
3916
  };
3907
3917
  AuthorWithTime.propTypes = {
3908
- story: PropTypes.object,
3918
+ story: PropTypes__default["default"].object,
3909
3919
 
3910
3920
  /** Style of separator between the Author & Timestamp */
3911
- separator: PropTypes.oneOf(["dot", "divider"]),
3921
+ separator: PropTypes__default["default"].oneOf(["dot", "divider"]),
3912
3922
 
3913
3923
  /** hide the author image */
3914
- hideAuthorImage: PropTypes.bool,
3924
+ hideAuthorImage: PropTypes__default["default"].bool,
3915
3925
  // fix author and time at the end
3916
- isBottom: PropTypes.bool,
3926
+ isBottom: PropTypes__default["default"].bool,
3917
3927
  // fix prefix before the author name
3918
- prefix: PropTypes.string,
3919
- config: PropTypes.object,
3920
- isLightTheme: PropTypes.bool
3928
+ prefix: PropTypes__default["default"].string,
3929
+ config: PropTypes__default["default"].object,
3930
+ isLightTheme: PropTypes__default["default"].bool
3921
3931
  };
3922
3932
  AuthorWithTime.defaultProps = {
3923
3933
  separator: "dot",
@@ -3948,14 +3958,14 @@ var StorycardContent = function StorycardContent(_ref) {
3948
3958
  var SectionTagborderColor = rgbToHex(borderColor);
3949
3959
  var borderTemplate = borderOptions.includes(border) ? "border-".concat(border) : "";
3950
3960
  var horizontalCard = isHorizontalMobile ? "horizontal-content-wrapper" : "";
3951
- return /*#__PURE__*/React.createElement("div", {
3961
+ return /*#__PURE__*/React__default["default"].createElement("div", {
3952
3962
  "data-test-id": "story-card-content",
3953
3963
  style: {
3954
3964
  backgroundColor: theme,
3955
3965
  color: textColor
3956
3966
  },
3957
3967
  className: "arr--content-wrapper " + _getClassName("wrapper ".concat(borderTemplate, " ").concat(horizontalCard), _styleModuleImportMap$5)
3958
- }, children || /*#__PURE__*/React.createElement(DefaultStoryCardContent, {
3968
+ }, children || /*#__PURE__*/React__default["default"].createElement(DefaultStoryCardContent, {
3959
3969
  story: story,
3960
3970
  headerLevel: headerLevel,
3961
3971
  isHorizontalMobile: isHorizontalMobile,
@@ -3973,37 +3983,37 @@ var DefaultStoryCardContent = function DefaultStoryCardContent(_ref2) {
3973
3983
  var SectionTagborderColor = rgbToHex(borderColor);
3974
3984
  var _config$localizationC = config.localizationConfig,
3975
3985
  localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC;
3976
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTag, {
3986
+ return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
3977
3987
  story: story,
3978
3988
  borderColor: SectionTagborderColor
3979
- }), /*#__PURE__*/React.createElement(Headline, {
3989
+ }), /*#__PURE__*/React__default["default"].createElement(Headline, {
3980
3990
  story: story,
3981
3991
  headerLevel: headerLevel,
3982
3992
  premiumStoryIconConfig: config
3983
- }), /*#__PURE__*/React.createElement(AuthorWithTime, {
3993
+ }), /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
3984
3994
  config: localizationConfig,
3985
3995
  story: story
3986
3996
  }));
3987
3997
  };
3988
3998
 
3989
3999
  DefaultStoryCardContent.propTypes = {
3990
- story: PropTypes.object.isRequired,
3991
- border: PropTypes.string,
3992
- theme: PropTypes.string,
3993
- isHorizontalMobile: PropTypes.bool,
3994
- headerLevel: PropTypes.string,
3995
- borderColor: PropTypes.string,
3996
- config: PropTypes.object
4000
+ story: PropTypes__default["default"].object.isRequired,
4001
+ border: PropTypes__default["default"].string,
4002
+ theme: PropTypes__default["default"].string,
4003
+ isHorizontalMobile: PropTypes__default["default"].bool,
4004
+ headerLevel: PropTypes__default["default"].string,
4005
+ borderColor: PropTypes__default["default"].string,
4006
+ config: PropTypes__default["default"].object
3997
4007
  };
3998
4008
  StorycardContent.propTypes = {
3999
- story: PropTypes.object.isRequired,
4000
- children: PropTypes.node,
4001
- theme: PropTypes.string,
4002
- border: PropTypes.string,
4003
- isHorizontalMobile: PropTypes.bool,
4004
- headerLevel: PropTypes.string,
4005
- borderColor: PropTypes.string,
4006
- config: PropTypes.object
4009
+ story: PropTypes__default["default"].object.isRequired,
4010
+ children: PropTypes__default["default"].node,
4011
+ theme: PropTypes__default["default"].string,
4012
+ border: PropTypes__default["default"].string,
4013
+ isHorizontalMobile: PropTypes__default["default"].bool,
4014
+ headerLevel: PropTypes__default["default"].string,
4015
+ borderColor: PropTypes__default["default"].string,
4016
+ config: PropTypes__default["default"].object
4007
4017
  };
4008
4018
 
4009
4019
  var _styleModuleImportMap$4 = {
@@ -4026,7 +4036,7 @@ var Subheadline = function Subheadline(_ref) {
4026
4036
  var subheadline = forceShowAtom || get_1(config, ["showSubheadline"], true);
4027
4037
  if (!subheadline) return null;
4028
4038
  var textColor = getTextColor(config.theme);
4029
- return /*#__PURE__*/React.createElement("div", {
4039
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4030
4040
  style: {
4031
4041
  WebkitLineClamp: lineClamp
4032
4042
  },
@@ -4036,15 +4046,15 @@ var Subheadline = function Subheadline(_ref) {
4036
4046
  };
4037
4047
  Subheadline.propTypes = {
4038
4048
  /** The Story Object from the API response */
4039
- story: PropTypes.object.isRequired,
4049
+ story: PropTypes__default["default"].object.isRequired,
4040
4050
  // Restricts the number of lines for subheadline.
4041
- lineClamp: PropTypes.number,
4051
+ lineClamp: PropTypes__default["default"].number,
4042
4052
 
4043
4053
  /** Number of characters to truncate the subheadline */
4044
- truncateChars: PropTypes.number,
4045
- clazzName: PropTypes.string,
4046
- forceShowAtom: PropTypes.bool,
4047
- showFullContent: PropTypes.bool
4054
+ truncateChars: PropTypes__default["default"].number,
4055
+ clazzName: PropTypes__default["default"].string,
4056
+ forceShowAtom: PropTypes__default["default"].bool,
4057
+ showFullContent: PropTypes__default["default"].bool
4048
4058
  };
4049
4059
  Subheadline.defaultProps = {
4050
4060
  forceShowAtom: false,
@@ -4093,7 +4103,7 @@ var StoryCard = function StoryCard(_ref) {
4093
4103
  prefix = _ref.prefix,
4094
4104
  config = _ref.config,
4095
4105
  isHorizontalWithImageLast = _ref.isHorizontalWithImageLast;
4096
- if (!story || isEmpty(story)) return /*#__PURE__*/React.createElement("div", null);
4106
+ if (!story || isEmpty(story)) return /*#__PURE__*/React__default["default"].createElement("div", null);
4097
4107
  var borderOptions = ["default", "full", "bottom", "boxShadow"];
4098
4108
  var borderTemplate = borderOptions.includes(border) ? "border-".concat(border) : ""; // TODO optimize conditions
4099
4109
 
@@ -4103,7 +4113,7 @@ var StoryCard = function StoryCard(_ref) {
4103
4113
  var bgImgContentOverlapClass = bgImgContentOverlap ? "content-overlap" : "";
4104
4114
  var textColor = getTextColor(theme);
4105
4115
  var horizontalMobileClasses = isHorizontalMobile ? "horizontal-mob" : "";
4106
- var defaultStorycard = /*#__PURE__*/React.createElement(DefaultStoryCard, {
4116
+ var defaultStorycard = /*#__PURE__*/React__default["default"].createElement(DefaultStoryCard, {
4107
4117
  story: story,
4108
4118
  aspectRatio: aspectRatio,
4109
4119
  border: border,
@@ -4117,7 +4127,7 @@ var StoryCard = function StoryCard(_ref) {
4117
4127
  config: config,
4118
4128
  isHorizontalWithImageLast: isHorizontalWithImageLast
4119
4129
  });
4120
- return /*#__PURE__*/React.createElement("div", {
4130
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4121
4131
  "data-test-id": "story-card",
4122
4132
  style: {
4123
4133
  backgroundColor: theme,
@@ -4146,91 +4156,91 @@ var DefaultStoryCard = function DefaultStoryCard(_ref2) {
4146
4156
  var SectionTagborderColor = rgbToHex(borderColor);
4147
4157
  var _config$localizationC = config.localizationConfig,
4148
4158
  localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC;
4149
- return /*#__PURE__*/React.createElement(React.Fragment, null, isHorizontal ? /*#__PURE__*/React.createElement(HeroImage, {
4159
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isHorizontal ? /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4150
4160
  config: config,
4151
4161
  story: story,
4152
4162
  isHorizontal: true,
4153
4163
  isHorizontalMobile: isHorizontalMobile,
4154
4164
  aspectRatio: aspectRatio
4155
- }) : isHorizontalWithImageLast ? /*#__PURE__*/React.createElement(HeroImage, {
4165
+ }) : isHorizontalWithImageLast ? /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4156
4166
  config: config,
4157
4167
  story: story,
4158
4168
  isHorizontalWithImageLast: true,
4159
4169
  isHorizontalMobile: isHorizontalMobile,
4160
4170
  aspectRatio: aspectRatio
4161
- }) : /*#__PURE__*/React.createElement(HeroImage, {
4171
+ }) : /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4162
4172
  story: story,
4163
4173
  config: config,
4164
4174
  isHorizontalMobile: isHorizontalMobile,
4165
4175
  aspectRatio: aspectRatio
4166
- }), /*#__PURE__*/React.createElement("div", {
4176
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4167
4177
  className: "arr--story-content " + _getClassName("content ".concat(alignment), _styleModuleImportMap$3)
4168
- }, /*#__PURE__*/React.createElement(SectionTag, {
4178
+ }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
4169
4179
  story: story,
4170
4180
  borderColor: SectionTagborderColor
4171
- }), /*#__PURE__*/React.createElement(Headline, {
4181
+ }), /*#__PURE__*/React__default["default"].createElement(Headline, {
4172
4182
  story: story,
4173
4183
  headerLevel: headerLevel,
4174
4184
  premiumStoryIconConfig: config
4175
- }), /*#__PURE__*/React.createElement(AuthorWithTime, {
4185
+ }), /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
4176
4186
  config: localizationConfig,
4177
4187
  story: story,
4178
4188
  isBottom: true,
4179
4189
  prefix: prefix,
4180
4190
  hideAuthorImage: hideAuthorImage
4181
- }), /*#__PURE__*/React.createElement(Subheadline, {
4191
+ }), /*#__PURE__*/React__default["default"].createElement(Subheadline, {
4182
4192
  story: story
4183
4193
  })));
4184
4194
  };
4185
4195
 
4186
4196
  DefaultStoryCard.propTypes = {
4187
- story: PropTypes.object.isRequired,
4188
- border: PropTypes.oneOfType([PropTypes.string]),
4189
- isBottom: PropTypes.bool,
4190
- isHorizontal: PropTypes.bool,
4191
- aspectRatio: PropTypes.oneOfType([PropTypes.array]),
4192
- isHorizontalMobile: PropTypes.bool,
4193
- centerAlign: PropTypes.bool,
4194
- headerLevel: PropTypes.string,
4195
- borderColor: PropTypes.string,
4196
- hideAuthorImage: PropTypes.bool,
4197
- prefix: PropTypes.string,
4198
- config: PropTypes.object,
4199
- isHorizontalWithImageLast: PropTypes.bool
4197
+ story: PropTypes__default["default"].object.isRequired,
4198
+ border: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string]),
4199
+ isBottom: PropTypes__default["default"].bool,
4200
+ isHorizontal: PropTypes__default["default"].bool,
4201
+ aspectRatio: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array]),
4202
+ isHorizontalMobile: PropTypes__default["default"].bool,
4203
+ centerAlign: PropTypes__default["default"].bool,
4204
+ headerLevel: PropTypes__default["default"].string,
4205
+ borderColor: PropTypes__default["default"].string,
4206
+ hideAuthorImage: PropTypes__default["default"].bool,
4207
+ prefix: PropTypes__default["default"].string,
4208
+ config: PropTypes__default["default"].object,
4209
+ isHorizontalWithImageLast: PropTypes__default["default"].bool
4200
4210
  };
4201
4211
  StoryCard.propTypes = {
4202
4212
  /** The Story Object from the API response */
4203
- story: PropTypes.object.isRequired,
4204
- children: PropTypes.node,
4213
+ story: PropTypes__default["default"].object.isRequired,
4214
+ children: PropTypes__default["default"].node,
4205
4215
 
4206
4216
  /** Flip the Story Card to Horizonal mode */
4207
- isHorizontal: PropTypes.bool,
4217
+ isHorizontal: PropTypes__default["default"].bool,
4208
4218
 
4209
4219
  /** Add border to the Story Card */
4210
- border: PropTypes.oneOfType([PropTypes.string]),
4220
+ border: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string]),
4211
4221
  // story card with background image
4212
- useImageAsBackground: PropTypes.bool,
4222
+ useImageAsBackground: PropTypes__default["default"].bool,
4213
4223
  // story card content overlap with image
4214
- bgImgContentOverlap: PropTypes.bool,
4224
+ bgImgContentOverlap: PropTypes__default["default"].bool,
4215
4225
 
4216
4226
  /** add aspect ratio for hero image */
4217
- aspectRatio: PropTypes.oneOfType([PropTypes.array]),
4227
+ aspectRatio: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array]),
4218
4228
 
4219
4229
  /** add theme(dark /light/custom color) for storycard */
4220
- theme: PropTypes.string,
4230
+ theme: PropTypes__default["default"].string,
4221
4231
 
4222
4232
  /** flip the story card mobile design horizontal */
4223
- isHorizontalMobile: PropTypes.bool,
4233
+ isHorizontalMobile: PropTypes__default["default"].bool,
4224
4234
  // make content center align in desktop and left align in mobile
4225
- centerAlign: PropTypes.bool,
4226
- headerLevel: PropTypes.string,
4227
- borderColor: PropTypes.string,
4235
+ centerAlign: PropTypes__default["default"].bool,
4236
+ headerLevel: PropTypes__default["default"].string,
4237
+ borderColor: PropTypes__default["default"].string,
4228
4238
  // handle author image through storycard
4229
- hideAuthorImage: PropTypes.bool,
4239
+ hideAuthorImage: PropTypes__default["default"].bool,
4230
4240
  // handle author prefix through storycard
4231
- prefix: PropTypes.string,
4232
- config: PropTypes.object,
4233
- isHorizontalWithImageLast: PropTypes.bool
4241
+ prefix: PropTypes__default["default"].string,
4242
+ config: PropTypes__default["default"].object,
4243
+ isHorizontalWithImageLast: PropTypes__default["default"].bool
4234
4244
  };
4235
4245
  StoryCard.defaultProps = {
4236
4246
  isHorizontal: false,
@@ -4254,14 +4264,14 @@ var BulletPoint = function BulletPoint(_ref) {
4254
4264
  bulletValue = _ref$bulletValue === void 0 ? "" : _ref$bulletValue;
4255
4265
  var configData = useStateValue() || {};
4256
4266
  var textColor = getTextColor(configData.theme);
4257
- return /*#__PURE__*/React.createElement("div", {
4267
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4258
4268
  className: "arrow-component arr--bullet-point"
4259
- }, /*#__PURE__*/React.createElement("span", {
4269
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
4260
4270
  className: _getClassName("bullet ".concat(textColor), _styleModuleImportMap$2)
4261
4271
  }, bulletValue));
4262
4272
  };
4263
4273
  BulletPoint.propTypes = {
4264
- bulletValue: PropTypes.string
4274
+ bulletValue: PropTypes__default["default"].string
4265
4275
  };
4266
4276
 
4267
4277
  var StoryCardWithBulletPoint = function StoryCardWithBulletPoint(_ref) {
@@ -4272,32 +4282,32 @@ var StoryCardWithBulletPoint = function StoryCardWithBulletPoint(_ref) {
4272
4282
  theme = _config$theme === void 0 ? "" : _config$theme,
4273
4283
  _config$localizationC = config.localizationConfig,
4274
4284
  localizationConfig = _config$localizationC === void 0 ? {} : _config$localizationC;
4275
- return /*#__PURE__*/React.createElement("div", {
4285
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4276
4286
  className: "story-card-with-bullet-point-m_card-with-bullet-wrapper__qTviw"
4277
- }, /*#__PURE__*/React.createElement(BulletPoint, {
4287
+ }, /*#__PURE__*/React__default["default"].createElement(BulletPoint, {
4278
4288
  bulletValue: bulletValue
4279
- }), /*#__PURE__*/React.createElement(StoryCard, {
4289
+ }), /*#__PURE__*/React__default["default"].createElement(StoryCard, {
4280
4290
  story: story,
4281
4291
  bgImgContentOverlap: true,
4282
4292
  config: config,
4283
4293
  theme: theme
4284
- }, /*#__PURE__*/React.createElement(StorycardContent, null, /*#__PURE__*/React.createElement(Headline, {
4294
+ }, /*#__PURE__*/React__default["default"].createElement(StorycardContent, null, /*#__PURE__*/React__default["default"].createElement(Headline, {
4285
4295
  story: story,
4286
4296
  headerLevel: "6",
4287
4297
  premiumStoryIconConfig: config
4288
- }), /*#__PURE__*/React.createElement(AuthorWithTime, {
4298
+ }), /*#__PURE__*/React__default["default"].createElement(AuthorWithTime, {
4289
4299
  config: localizationConfig,
4290
4300
  story: story,
4291
4301
  prefix: "By"
4292
4302
  }))));
4293
4303
  };
4294
4304
  StoryCardWithBulletPoint.propTypes = {
4295
- story: PropTypes.object.isRequired,
4296
- config: PropTypes.shape({
4297
- theme: PropTypes.string,
4298
- localizationConfig: PropTypes.object
4305
+ story: PropTypes__default["default"].object.isRequired,
4306
+ config: PropTypes__default["default"].shape({
4307
+ theme: PropTypes__default["default"].string,
4308
+ localizationConfig: PropTypes__default["default"].object
4299
4309
  }),
4300
- bulletValue: PropTypes.string
4310
+ bulletValue: PropTypes__default["default"].string
4301
4311
  };
4302
4312
 
4303
4313
  function _defineProperty(obj, key, value) {
@@ -4347,26 +4357,26 @@ var LoadmoreButton = function LoadmoreButton(_ref) {
4347
4357
  if (!showButton) return null;
4348
4358
  var textColor = getTextColor(theme);
4349
4359
  var slug = customUrlPath ? "/".concat(customUrlPath) : generateNavigateSlug(collection, _objectSpread(_objectSpread({}, qtConfig), config));
4350
- return template === "SubsequentLoadCount" ? /*#__PURE__*/React.createElement("div", {
4360
+ return template === "SubsequentLoadCount" ? /*#__PURE__*/React__default["default"].createElement("div", {
4351
4361
  onClick: onClick,
4352
4362
  "data-test-id": "load-more",
4353
4363
  className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$1)
4354
- }, buttonText) : /*#__PURE__*/React.createElement(LinkBase, {
4364
+ }, buttonText) : /*#__PURE__*/React__default["default"].createElement(components.LinkBase, {
4355
4365
  href: slug,
4356
4366
  navigateTo: navigate,
4357
4367
  "data-test-id": "load-more",
4358
4368
  "aria-label": "load-more"
4359
- }, /*#__PURE__*/React.createElement("div", {
4369
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4360
4370
  className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$1)
4361
4371
  }, buttonText));
4362
4372
  };
4363
4373
  LoadmoreButton.propTypes = {
4364
- collection: PropTypes.object,
4365
- template: PropTypes.string,
4366
- config: PropTypes.object,
4367
- onClick: PropTypes.func,
4368
- navigate: PropTypes.func,
4369
- qtConfig: PropTypes.object
4374
+ collection: PropTypes__default["default"].object,
4375
+ template: PropTypes__default["default"].string,
4376
+ config: PropTypes__default["default"].object,
4377
+ onClick: PropTypes__default["default"].func,
4378
+ navigate: PropTypes__default["default"].func,
4379
+ qtConfig: PropTypes__default["default"].object
4370
4380
  };
4371
4381
 
4372
4382
  var _styleModuleImportMap = {
@@ -4392,8 +4402,8 @@ var TwoColTenStoriesSidebarBase = function TwoColTenStoriesSidebarBase(_ref) {
4392
4402
  });
4393
4403
  if (childCollections.length < 2) return null; // if number of collection is less than 2 return null
4394
4404
 
4395
- var firstCollectionStories = collectionToStories(childCollections[0]);
4396
- var sidebarCollectionStories = collectionToStories(childCollections[1]);
4405
+ var firstCollectionStories = components.collectionToStories(childCollections[0]);
4406
+ var sidebarCollectionStories = components.collectionToStories(childCollections[1]);
4397
4407
  if (!firstCollectionStories.length && !sidebarCollectionStories.length) return null;
4398
4408
  var _config$border = config.border,
4399
4409
  border = _config$border === void 0 ? "" : _config$border,
@@ -4408,8 +4418,8 @@ var TwoColTenStoriesSidebarBase = function TwoColTenStoriesSidebarBase(_ref) {
4408
4418
  _config$collectionNam2 = config.collectionNameTemplate,
4409
4419
  collectionNameTemplate = _config$collectionNam2 === void 0 ? "" : _config$collectionNam2;
4410
4420
  var textColor = getTextColor(theme);
4411
- var dispatch = useDispatch();
4412
- var qtConfig = useSelector(function (state) {
4421
+ var dispatch = reactRedux.useDispatch();
4422
+ var qtConfig = reactRedux.useSelector(function (state) {
4413
4423
  return get_1(state, ["qt", "config"], {});
4414
4424
  });
4415
4425
  var firstCardBorderStyle = border === "bottom" ? "first-card-border-box" : "";
@@ -4422,35 +4432,35 @@ var TwoColTenStoriesSidebarBase = function TwoColTenStoriesSidebarBase(_ref) {
4422
4432
  var isAdWidgetEnabled = type === "ad" || type === "widget";
4423
4433
  var adWidgetSlot = isAdWidgetEnabled ? getSlot(type, component) : null;
4424
4434
  var storyCounter = 0;
4425
- return /*#__PURE__*/React.createElement("div", {
4435
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4426
4436
  className: "full-width-with-padding arrow-component two-col-ten-stories-sidebar-m_component-wrapper__2R--T",
4427
4437
  "data-test-id": "two-col-ten-stories-sidebar",
4428
4438
  style: {
4429
4439
  backgroundColor: theme,
4430
4440
  color: textColor
4431
4441
  }
4432
- }, /*#__PURE__*/React.createElement("div", {
4442
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4433
4443
  className: "two-col-ten-stories-sidebar-m_collection-wrapper__3U_EX"
4434
- }, /*#__PURE__*/React.createElement(CollectionName, {
4444
+ }, /*#__PURE__*/React__default["default"].createElement(CollectionName, {
4435
4445
  collection: childCollections[0],
4436
4446
  collectionNameTemplate: collectionNameTemplate,
4437
4447
  collectionNameBorderColor: collectionNameBorderColor,
4438
4448
  headerLevel: "2"
4439
- }), /*#__PURE__*/React.createElement("div", {
4449
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4440
4450
  className: "two-col-ten-stories-sidebar-m_story-cards__3bhIo"
4441
- }, /*#__PURE__*/React.createElement("div", {
4451
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4442
4452
  className: "two-col-ten-stories-sidebar-m_first-card__3HJ3k"
4443
- }, /*#__PURE__*/React.createElement(StoryCard, {
4453
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCard, {
4444
4454
  story: firstCollectionStories[0],
4445
4455
  theme: theme,
4446
4456
  headerLevel: "3",
4447
4457
  bgImgContentOverlap: true,
4448
4458
  aspectRatio: [[16, 9], [16, 9]],
4449
4459
  config: config
4450
- }, /*#__PURE__*/React.createElement(HeroImage, {
4460
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4451
4461
  story: firstCollectionStories[0],
4452
4462
  aspectRatio: [[16, 9], [16, 9]]
4453
- }), /*#__PURE__*/React.createElement(StorycardContent, {
4463
+ }), /*#__PURE__*/React__default["default"].createElement(StorycardContent, {
4454
4464
  story: firstCollectionStories[0],
4455
4465
  headerLevel: "3",
4456
4466
  theme: theme,
@@ -4459,10 +4469,10 @@ var TwoColTenStoriesSidebarBase = function TwoColTenStoriesSidebarBase(_ref) {
4459
4469
  config: config,
4460
4470
  className: _getClassName(firstCardBorderStyle, _styleModuleImportMap)
4461
4471
  }))), firstCollectionStories.slice(1, 5).map(function (story, index) {
4462
- return /*#__PURE__*/React.createElement("div", {
4472
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4463
4473
  className: "two-col-ten-stories-sidebar-m_card__kR47U",
4464
4474
  key: index
4465
- }, /*#__PURE__*/React.createElement(StoryCard, {
4475
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCard, {
4466
4476
  story: story,
4467
4477
  theme: theme,
4468
4478
  headerLevel: "4",
@@ -4470,18 +4480,18 @@ var TwoColTenStoriesSidebarBase = function TwoColTenStoriesSidebarBase(_ref) {
4470
4480
  border: border,
4471
4481
  aspectRatio: [[16, 9], [16, 9]],
4472
4482
  config: config
4473
- }, /*#__PURE__*/React.createElement(HeroImage, {
4483
+ }, /*#__PURE__*/React__default["default"].createElement(HeroImage, {
4474
4484
  story: story,
4475
4485
  isHorizontal: true,
4476
4486
  aspectRatio: [[16, 9], [16, 9]]
4477
- }), /*#__PURE__*/React.createElement(StorycardContent, {
4487
+ }), /*#__PURE__*/React__default["default"].createElement(StorycardContent, {
4478
4488
  theme: theme,
4479
4489
  story: story,
4480
4490
  isHorizontal: true,
4481
4491
  borderColor: borderColor,
4482
4492
  config: config
4483
4493
  })));
4484
- })), /*#__PURE__*/React.createElement(LoadmoreButton, {
4494
+ })), /*#__PURE__*/React__default["default"].createElement(LoadmoreButton, {
4485
4495
  template: "NavigateToPage",
4486
4496
  collection: childCollections[0],
4487
4497
  config: config,
@@ -4489,40 +4499,40 @@ var TwoColTenStoriesSidebarBase = function TwoColTenStoriesSidebarBase(_ref) {
4489
4499
  return navigateTo(dispatch, generateNavigateSlug(childCollections[0], qtConfig));
4490
4500
  },
4491
4501
  qtConfig: qtConfig
4492
- })), /*#__PURE__*/React.createElement("div", {
4502
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4493
4503
  className: "two-col-ten-stories-sidebar-m_sidebar-collection-wrapper__1gOyr"
4494
- }, /*#__PURE__*/React.createElement(CollectionName, {
4504
+ }, /*#__PURE__*/React__default["default"].createElement(CollectionName, {
4495
4505
  collection: childCollections[1],
4496
4506
  collectionNameTemplate: collectionNameTemplate,
4497
4507
  collectionNameBorderColor: collectionNameBorderColor,
4498
4508
  headerLevel: "2"
4499
- }), /*#__PURE__*/React.createElement("div", {
4509
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
4500
4510
  className: "two-col-ten-stories-sidebar-m_sidebar-cards-container__32zii"
4501
- }, /*#__PURE__*/React.createElement("div", null, sidebarCollectionStories.slice(0, 4).map(function (story) {
4502
- return /*#__PURE__*/React.createElement("div", {
4511
+ }, /*#__PURE__*/React__default["default"].createElement("div", null, sidebarCollectionStories.slice(0, 4).map(function (story) {
4512
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4503
4513
  className: "two-col-ten-stories-sidebar-m_card__kR47U",
4504
4514
  key: story.id
4505
- }, /*#__PURE__*/React.createElement(StoryCardWithBulletPoint, {
4515
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCardWithBulletPoint, {
4506
4516
  story: story,
4507
4517
  bulletValue: "".concat(++storyCounter),
4508
4518
  config: config
4509
4519
  }));
4510
- })), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
4520
+ })), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
4511
4521
  className: "two-col-ten-stories-sidebar-m_card__kR47U"
4512
- }, /*#__PURE__*/React.createElement(StoryCardWithBulletPoint, {
4522
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCardWithBulletPoint, {
4513
4523
  story: sidebarCollectionStories[4],
4514
4524
  bulletValue: "".concat(++storyCounter),
4515
4525
  config: config
4516
- })), adWidgetSlot ? /*#__PURE__*/React.createElement("div", null, adWidgetSlot) : sidebarCollectionStories.slice(5, 8).map(function (story) {
4517
- return /*#__PURE__*/React.createElement("div", {
4526
+ })), adWidgetSlot ? /*#__PURE__*/React__default["default"].createElement("div", null, adWidgetSlot) : sidebarCollectionStories.slice(5, 8).map(function (story) {
4527
+ return /*#__PURE__*/React__default["default"].createElement("div", {
4518
4528
  className: "two-col-ten-stories-sidebar-m_card__kR47U",
4519
4529
  key: story.id
4520
- }, /*#__PURE__*/React.createElement(StoryCardWithBulletPoint, {
4530
+ }, /*#__PURE__*/React__default["default"].createElement(StoryCardWithBulletPoint, {
4521
4531
  story: story,
4522
4532
  bulletValue: "".concat(++storyCounter),
4523
4533
  config: config
4524
4534
  }));
4525
- }))), /*#__PURE__*/React.createElement(LoadmoreButton, {
4535
+ }))), /*#__PURE__*/React__default["default"].createElement(LoadmoreButton, {
4526
4536
  template: "NavigateToPage",
4527
4537
  collection: childCollections[1],
4528
4538
  config: config,
@@ -4533,17 +4543,18 @@ var TwoColTenStoriesSidebarBase = function TwoColTenStoriesSidebarBase(_ref) {
4533
4543
  })));
4534
4544
  };
4535
4545
  TwoColTenStoriesSidebarBase.propTypes = {
4536
- collection: PropTypes.object.isRequired,
4537
- config: PropTypes.shape({
4538
- theme: PropTypes.string,
4539
- showBorder: PropTypes.bool,
4540
- collectionNameTemplate: PropTypes.string,
4541
- slotConfig: PropTypes.array,
4542
- collectionNameBorderColor: PropTypes.string,
4543
- borderColor: PropTypes.string,
4544
- localizationConfig: PropTypes.object
4546
+ collection: PropTypes__default["default"].object.isRequired,
4547
+ config: PropTypes__default["default"].shape({
4548
+ theme: PropTypes__default["default"].string,
4549
+ showBorder: PropTypes__default["default"].bool,
4550
+ collectionNameTemplate: PropTypes__default["default"].string,
4551
+ slotConfig: PropTypes__default["default"].array,
4552
+ collectionNameBorderColor: PropTypes__default["default"].string,
4553
+ borderColor: PropTypes__default["default"].string,
4554
+ localizationConfig: PropTypes__default["default"].object
4545
4555
  })
4546
4556
  };
4547
4557
  var TwoColTenStoriesSidebar = StateProvider(TwoColTenStoriesSidebarBase);
4548
4558
 
4549
- export { TwoColTenStoriesSidebar, TwoColTenStoriesSidebarBase };
4559
+ exports.TwoColTenStoriesSidebar = TwoColTenStoriesSidebar;
4560
+ exports.TwoColTenStoriesSidebarBase = TwoColTenStoriesSidebarBase;