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

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 (166) hide show
  1. package/atoms/Author/index.js +14 -2103
  2. package/atoms/Author/styles.arrow.css +1 -1
  3. package/atoms/AuthorWithTime/index.js +32 -2482
  4. package/atoms/AuthorWithTime/styles.arrow.css +1 -1
  5. package/atoms/CollectionName/index.js +12 -2101
  6. package/atoms/CollectionName/styles.arrow.css +1 -1
  7. package/atoms/ExtendedLoadMore/{index-b22f1843.js → index-0f809dd9.js} +10 -7
  8. package/atoms/ExtendedLoadMore/index-142f015c.js +476 -0
  9. package/atoms/ExtendedLoadMore/{index-bc129cb8.js → index-37a9ccff.js} +18 -10
  10. package/atoms/ExtendedLoadMore/{index-6e083738.js → index-446679c8.js} +20 -12
  11. package/atoms/ExtendedLoadMore/{index-9e0d32b7.js → index-44f97338.js} +19 -9
  12. package/atoms/ExtendedLoadMore/{index-b5936059.js → index-57dd4870.js} +15 -7
  13. package/atoms/ExtendedLoadMore/{index-fee73a14.js → index-66dd4dbd.js} +15 -7
  14. package/atoms/ExtendedLoadMore/{index-5c8eda4a.js → index-8462c597.js} +21 -16
  15. package/atoms/ExtendedLoadMore/{index-3c4ac692.js → index-93cb06d1.js} +42 -51
  16. package/atoms/ExtendedLoadMore/{index-4ddfe28d.js → index-afd44863.js} +6 -4
  17. package/atoms/ExtendedLoadMore/{index-3976fac4.js → index-b5754c5d.js} +20 -14
  18. package/atoms/ExtendedLoadMore/{index-a5c95f84.js → index-bbaf526e.js} +16 -8
  19. package/atoms/ExtendedLoadMore/{index-6ecceae4.js → index-cfb262ef.js} +18 -9
  20. package/atoms/ExtendedLoadMore/index.js +8 -1
  21. package/atoms/ExtendedLoadMore/styles.arrow.css +1 -1
  22. package/atoms/Headline/index.js +14 -2103
  23. package/atoms/Headline/styles.arrow.css +1 -1
  24. package/atoms/HeroImage/index.js +22 -2170
  25. package/atoms/HeroImage/styles.arrow.css +1 -1
  26. package/atoms/LoadmoreButton/index.js +12 -2114
  27. package/atoms/LoadmoreButton/styles.arrow.css +1 -1
  28. package/atoms/ScrollSnap/index.js +17 -2178
  29. package/atoms/ScrollSnap/styles.arrow.css +1 -1
  30. package/atoms/SectionTag/index.js +10 -2099
  31. package/atoms/SectionTag/styles.arrow.css +1 -1
  32. package/atoms/Subheadline/index.js +8 -2097
  33. package/atoms/Subheadline/styles.arrow.css +1 -1
  34. package/atoms/TimeStamp/index.js +13 -2463
  35. package/atoms/TimeStamp/styles.arrow.css +1 -1
  36. package/molecules/KeyEvents/index.js +23 -2545
  37. package/molecules/KeyEvents/styles.arrow.css +1 -1
  38. package/molecules/PageIntroductionCard/index.js +17 -2454
  39. package/molecules/PageIntroductionCard/styles.arrow.css +1 -1
  40. package/molecules/SocialShareTemplate/index.js +144 -2740
  41. package/molecules/SocialShareTemplate/styles.arrow.css +1 -1
  42. package/molecules/StoryCard/index.js +64 -2582
  43. package/molecules/StoryCard/styles.arrow.css +1 -1
  44. package/molecules/StoryElementCard/index.js +123 -2893
  45. package/molecules/StoryElementCard/styles.arrow.css +1 -1
  46. package/molecules/StorycardContent/index.js +45 -2495
  47. package/molecules/StorycardContent/styles.arrow.css +1 -1
  48. package/package.json +1 -1
  49. package/rows/AlternateCollectionFilter/index.js +92 -2659
  50. package/rows/AlternateCollectionFilter/styles.arrow.css +1 -1
  51. package/rows/AsideCollection/index.js +92 -2659
  52. package/rows/AsideCollection/styles.arrow.css +1 -1
  53. package/rows/AstrologyCollection/index.js +89 -2656
  54. package/rows/AstrologyCollection/styles.arrow.css +1 -1
  55. package/rows/AuthorIntroductionCard/index.js +27 -2743
  56. package/rows/AuthorIntroductionCard/styles.arrow.css +1 -1
  57. package/rows/AuthorsList/index.js +34 -2763
  58. package/rows/AuthorsList/styles.arrow.css +1 -1
  59. package/rows/CollectionFilter/index.js +91 -2658
  60. package/rows/CollectionFilter/styles.arrow.css +1 -1
  61. package/rows/ElevenStories/index.js +81 -2612
  62. package/rows/ElevenStories/styles.arrow.css +1 -1
  63. package/rows/FourColFiveStories/index.js +75 -2603
  64. package/rows/FourColFiveStories/styles.arrow.css +1 -1
  65. package/rows/FourColGrid/index.js +92 -2623
  66. package/rows/FourColGrid/styles.arrow.css +1 -1
  67. package/rows/FourColPortraitStories/index.js +91 -2622
  68. package/rows/FourColPortraitStories/styles.arrow.css +1 -1
  69. package/rows/FourColSixteenStories/index.js +80 -2617
  70. package/rows/FourColSixteenStories/styles.arrow.css +1 -1
  71. package/rows/FourColTwelveStories/index.js +72 -2596
  72. package/rows/FourColTwelveStories/styles.arrow.css +1 -1
  73. package/rows/FourStorySlider/index.js +84 -2615
  74. package/rows/FourStorySlider/styles.arrow.css +1 -1
  75. package/rows/FourStorySliderPortrait/index.js +84 -2615
  76. package/rows/FourStorySliderPortrait/styles.arrow.css +1 -1
  77. package/rows/FourTabbedBigStorySlider/index.js +80 -2611
  78. package/rows/FourTabbedBigStorySlider/styles.arrow.css +1 -1
  79. package/rows/FullScreenSlider/index.js +85 -2616
  80. package/rows/FullScreenSlider/styles.arrow.css +1 -1
  81. package/rows/HalfScreenSlider/index.js +81 -2612
  82. package/rows/HalfScreenSlider/styles.arrow.css +1 -1
  83. package/rows/ListComponent/index.js +75 -2606
  84. package/rows/ListComponent/styles.arrow.css +1 -1
  85. package/rows/Listicles/index.js +38 -2235
  86. package/rows/Listicles/styles.arrow.css +1 -1
  87. package/rows/MagazineEditions/index.js +24 -2487
  88. package/rows/MagazineEditions/styles.arrow.css +1 -1
  89. package/rows/MagazineHeaderCard/index.js +26 -2489
  90. package/rows/MagazineHeaderCard/styles.arrow.css +1 -1
  91. package/rows/MagazineWidget/index.js +81 -2612
  92. package/rows/MagazineWidget/styles.arrow.css +1 -1
  93. package/rows/OneColStoryList/index.js +92 -2623
  94. package/rows/OneColStoryList/styles.arrow.css +1 -1
  95. package/rows/OpinionCollection/index.js +61 -2583
  96. package/rows/OpinionCollection/styles.arrow.css +1 -1
  97. package/rows/SixColSixStories/index.js +91 -2622
  98. package/rows/SixColSixStories/styles.arrow.css +1 -1
  99. package/rows/StoryCollection/index.js +92 -2659
  100. package/rows/StoryCollection/styles.arrow.css +1 -1
  101. package/rows/TagIntroductionCard/index.js +9 -1816
  102. package/rows/TagIntroductionCard/styles.arrow.css +1 -1
  103. package/rows/ThreeColFlexStories/index.js +91 -2622
  104. package/rows/ThreeColFlexStories/styles.arrow.css +1 -1
  105. package/rows/ThreeColFourteenStories/index.js +72 -2596
  106. package/rows/ThreeColFourteenStories/styles.arrow.css +1 -1
  107. package/rows/ThreeColGrid/index.js +94 -2625
  108. package/rows/ThreeColGrid/styles.arrow.css +1 -1
  109. package/rows/ThreeColSevenStory/index.js +84 -2615
  110. package/rows/ThreeColSevenStory/styles.arrow.css +1 -1
  111. package/rows/ThreeColSixStories/index.js +76 -2607
  112. package/rows/ThreeColSixStories/styles.arrow.css +1 -1
  113. package/rows/ThreeColTwelveStories/index.js +80 -2617
  114. package/rows/ThreeColTwelveStories/styles.arrow.css +1 -1
  115. package/rows/TwoColFourStories/index.js +78 -2609
  116. package/rows/TwoColFourStories/styles.arrow.css +1 -1
  117. package/rows/TwoColFourStoryHighlight/index.js +80 -2617
  118. package/rows/TwoColFourStoryHighlight/styles.arrow.css +1 -1
  119. package/rows/TwoColSevenStories/index.js +77 -2608
  120. package/rows/TwoColSevenStories/styles.arrow.css +1 -1
  121. package/rows/TwoColSixStories/index.js +82 -2619
  122. package/rows/TwoColSixStories/styles.arrow.css +1 -1
  123. package/rows/TwoColTenStoriesSidebar/index.js +79 -2610
  124. package/rows/TwoColTenStoriesSidebar/styles.arrow.css +1 -1
  125. package/rows/TwoColThreeStories/index.js +75 -2606
  126. package/rows/TwoColThreeStories/styles.arrow.css +1 -1
  127. package/story-elements/AlsoRead/index.js +24 -2170
  128. package/story-elements/AlsoRead/styles.arrow.css +1 -1
  129. package/story-elements/Attachment/index.js +15 -1870
  130. package/story-elements/Attachment/styles.arrow.css +1 -1
  131. package/story-elements/BigFact/index.js +16 -1871
  132. package/story-elements/BigFact/styles.arrow.css +1 -1
  133. package/story-elements/BlockQuote/index.js +20 -2157
  134. package/story-elements/BlockQuote/styles.arrow.css +1 -1
  135. package/story-elements/Blurb/index.js +18 -1932
  136. package/story-elements/Blurb/styles.arrow.css +1 -1
  137. package/story-elements/Image/index.js +42 -2251
  138. package/story-elements/Image/styles.arrow.css +1 -1
  139. package/story-elements/ImageGallery/index.js +45 -2254
  140. package/story-elements/ImageGallery/styles.arrow.css +1 -1
  141. package/story-elements/ImageSlideshow/index.js +48 -2257
  142. package/story-elements/ImageSlideshow/styles.arrow.css +1 -1
  143. package/story-elements/QuestionAnswer/index.js +26 -2163
  144. package/story-elements/QuestionAnswer/styles.arrow.css +1 -1
  145. package/story-elements/Quote/index.js +17 -1872
  146. package/story-elements/Quote/styles.arrow.css +1 -1
  147. package/story-elements/Reference/index.js +15 -1870
  148. package/story-elements/Reference/styles.arrow.css +1 -1
  149. package/story-elements/StoryElement/index.js +12 -1725
  150. package/story-elements/Summary/index.js +18 -1873
  151. package/story-elements/Summary/styles.arrow.css +1 -1
  152. package/story-elements/Text/index.js +16 -2153
  153. package/story-elements/Text/styles.arrow.css +1 -1
  154. package/story-elements/Video/index.js +12 -1725
  155. package/story-elements/Video/styles.arrow.css +1 -1
  156. package/story-templates/ListicleStoryTemplate/index.js +282 -3167
  157. package/story-templates/ListicleStoryTemplate/styles.arrow.css +1 -1
  158. package/story-templates/LiveBlogStoryTemplate/index.js +504 -3389
  159. package/story-templates/LiveBlogStoryTemplate/styles.arrow.css +1 -1
  160. package/story-templates/PhotoStoryTemplate/index.js +287 -3172
  161. package/story-templates/PhotoStoryTemplate/styles.arrow.css +1 -1
  162. package/story-templates/TextStoryTemplate/index.js +416 -3301
  163. package/story-templates/TextStoryTemplate/styles.arrow.css +1 -1
  164. package/story-templates/VideoStoryTemplate/index.js +382 -3267
  165. package/story-templates/VideoStoryTemplate/styles.arrow.css +1 -1
  166. package/atoms/ExtendedLoadMore/index-e7cde739.js +0 -3051
@@ -2,12 +2,21 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var _extends = require('@babel/runtime/helpers/extends');
6
+ var _getClassName = require('babel-plugin-react-css-modules/dist/browser/getClassName');
5
7
  var components = require('@quintype/components');
6
8
  var PropTypes = require('prop-types');
7
9
  var React = require('react');
8
10
  var reactRedux = require('react-redux');
11
+ var lodash = require('lodash');
12
+ var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
13
+ var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
14
+ var _typeof = require('@babel/runtime/helpers/typeof');
15
+ var _regeneratorRuntime = require('@babel/runtime/regenerator');
9
16
  var Timeago = require('react-timeago');
10
17
  var dateFnsTz = require('date-fns-tz');
18
+ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
19
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
11
20
 
12
21
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
22
 
@@ -29,2767 +38,192 @@ function _interopNamespace(e) {
29
38
  return Object.freeze(n);
30
39
  }
31
40
 
41
+ var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
42
+ var _getClassName__default = /*#__PURE__*/_interopDefaultLegacy(_getClassName);
32
43
  var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
33
44
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
45
+ var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
46
+ var _asyncToGenerator__default = /*#__PURE__*/_interopDefaultLegacy(_asyncToGenerator);
47
+ var _typeof__default = /*#__PURE__*/_interopDefaultLegacy(_typeof);
48
+ var _regeneratorRuntime__default = /*#__PURE__*/_interopDefaultLegacy(_regeneratorRuntime);
34
49
  var Timeago__default = /*#__PURE__*/_interopDefaultLegacy(Timeago);
50
+ var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
51
+ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
35
52
 
36
- function _extends() {
37
- _extends = Object.assign || function (target) {
38
- for (var i = 1; i < arguments.length; i++) {
39
- var source = arguments[i];
40
-
41
- for (var key in source) {
42
- if (Object.prototype.hasOwnProperty.call(source, key)) {
43
- target[key] = source[key];
44
- }
45
- }
46
- }
47
-
48
- return target;
49
- };
50
-
51
- return _extends.apply(this, arguments);
52
- }
53
-
54
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
55
-
56
- function getDefaultExportFromCjs (x) {
57
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
58
- }
59
-
60
- function createCommonjsModule(fn) {
61
- var module = { exports: {} };
62
- return fn(module, module.exports), module.exports;
63
- }
64
-
65
- var optionsDefaults_1 = createCommonjsModule(function (module, exports) {
66
-
67
- Object.defineProperty(exports, "__esModule", {
68
- value: true
69
- });
70
- exports["default"] = void 0;
71
- var optionsDefaults = {
72
- attributeNames: {
73
- styleName: 'className'
74
- },
75
- generateScopedName: '[path]___[name]__[local]___[hash:base64:5]',
76
- handleMissingStyleName: 'throw'
77
- };
78
- var _default = optionsDefaults;
79
- exports["default"] = _default;
80
-
81
-
82
- });
83
-
84
- var getClassName = createCommonjsModule(function (module, exports) {
85
-
86
- Object.defineProperty(exports, "__esModule", {
87
- value: true
88
- });
89
- exports["default"] = void 0;
90
-
91
- var _optionsDefaults = _interopRequireDefault(optionsDefaults_1);
92
-
93
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
94
-
95
- var isNamespacedStyleName = function isNamespacedStyleName(styleName) {
96
- return styleName.indexOf('.') !== -1;
97
- };
98
-
99
- var handleError = function handleError(message, handleMissingStyleName) {
100
- if (handleMissingStyleName === 'throw') {
101
- throw new Error(message);
102
- } else if (handleMissingStyleName === 'warn') {
103
- // eslint-disable-next-line no-console
104
- console.warn(message);
105
- }
106
-
107
- return null;
108
- };
109
-
110
- var getClassNameForNamespacedStyleName = function getClassNameForNamespacedStyleName(styleName, styleModuleImportMap, handleMissingStyleNameOption) {
111
- // Note:
112
- // Do not use the desctructing syntax with Babel.
113
- // Desctructing adds _slicedToArray helper.
114
- var styleNameParts = styleName.split('.');
115
- var importName = styleNameParts[0];
116
- var moduleName = styleNameParts[1];
117
- var handleMissingStyleName = handleMissingStyleNameOption || _optionsDefaults["default"].handleMissingStyleName;
118
-
119
- if (!moduleName) {
120
- return handleError('Invalid style name: ' + styleName, handleMissingStyleName);
121
- }
122
-
123
- if (!styleModuleImportMap[importName]) {
124
- return handleError('CSS module import does not exist: ' + importName, handleMissingStyleName);
125
- }
126
-
127
- if (!styleModuleImportMap[importName][moduleName]) {
128
- return handleError('CSS module does not exist: ' + moduleName, handleMissingStyleName);
129
- }
130
-
131
- return styleModuleImportMap[importName][moduleName];
132
- };
133
-
134
- var getClassNameFromMultipleImports = function getClassNameFromMultipleImports(styleName, styleModuleImportMap, handleMissingStyleNameOption) {
135
- var handleMissingStyleName = handleMissingStyleNameOption || _optionsDefaults["default"].handleMissingStyleName;
136
- var importKeysWithMatches = Object.keys(styleModuleImportMap).map(function (importKey) {
137
- return styleModuleImportMap[importKey][styleName] && importKey;
138
- }).filter(function (importKey) {
139
- return importKey;
140
- });
141
-
142
- if (importKeysWithMatches.length > 1) {
143
- throw new Error('Cannot resolve styleName "' + styleName + '" because it is present in multiple imports:' + '\n\n\t' + importKeysWithMatches.join('\n\t') + '\n\nYou can resolve this by using a named import, e.g:' + '\n\n\timport foo from "' + importKeysWithMatches[0] + '";' + '\n\t<div styleName="foo.' + styleName + '" />' + '\n\n');
144
- }
145
-
146
- if (importKeysWithMatches.length === 0) {
147
- return handleError('Could not resolve the styleName \'' + styleName + '\'.', handleMissingStyleName);
148
- }
149
-
150
- return styleModuleImportMap[importKeysWithMatches[0]][styleName];
151
- };
152
-
153
- var _default = function _default(styleNameValue, styleModuleImportMap, options) {
154
- var styleModuleImportMapKeys = Object.keys(styleModuleImportMap);
155
-
156
- var _ref = options || {},
157
- _ref$handleMissingSty = _ref.handleMissingStyleName,
158
- handleMissingStyleName = _ref$handleMissingSty === void 0 ? _optionsDefaults["default"].handleMissingStyleName : _ref$handleMissingSty,
159
- _ref$autoResolveMulti = _ref.autoResolveMultipleImports,
160
- autoResolveMultipleImports = _ref$autoResolveMulti === void 0 ? _optionsDefaults["default"].autoResolveMultipleImports : _ref$autoResolveMulti;
161
-
162
- if (!styleNameValue) {
163
- return '';
164
- }
165
-
166
- return styleNameValue.split(' ').filter(function (styleName) {
167
- return styleName;
168
- }).map(function (styleName) {
169
- if (isNamespacedStyleName(styleName)) {
170
- return getClassNameForNamespacedStyleName(styleName, styleModuleImportMap, handleMissingStyleName);
171
- }
172
-
173
- if (styleModuleImportMapKeys.length === 0) {
174
- throw new Error('Cannot use styleName attribute for style name \'' + styleName + '\' without importing at least one stylesheet.');
175
- }
176
-
177
- if (styleModuleImportMapKeys.length > 1) {
178
- if (!autoResolveMultipleImports) {
179
- throw new Error('Cannot use anonymous style name \'' + styleName + '\' with more than one stylesheet import without setting \'autoResolveMultipleImports\' to true.');
180
- }
181
-
182
- return getClassNameFromMultipleImports(styleName, styleModuleImportMap, handleMissingStyleName);
183
- }
184
-
185
- var styleModuleMap = styleModuleImportMap[styleModuleImportMapKeys[0]];
186
-
187
- if (!styleModuleMap[styleName]) {
188
- return handleError('Could not resolve the styleName \'' + styleName + '\'.', handleMissingStyleName);
189
- }
190
-
191
- return styleModuleMap[styleName];
192
- }).filter(function (className) {
193
- // Remove any styles which could not be found (if handleMissingStyleName === 'ignore')
194
- return className;
195
- }).join(' ');
196
- };
197
-
198
- exports["default"] = _default;
199
-
200
-
201
- });
202
-
203
- var _getClassName = /*@__PURE__*/getDefaultExportFromCjs(getClassName);
204
-
205
- /**
206
- * Checks if `value` is classified as an `Array` object.
207
- *
208
- * @static
209
- * @memberOf _
210
- * @since 0.1.0
211
- * @category Lang
212
- * @param {*} value The value to check.
213
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
214
- * @example
215
- *
216
- * _.isArray([1, 2, 3]);
217
- * // => true
218
- *
219
- * _.isArray(document.body.children);
220
- * // => false
221
- *
222
- * _.isArray('abc');
223
- * // => false
224
- *
225
- * _.isArray(_.noop);
226
- * // => false
227
- */
228
- var isArray = Array.isArray;
229
-
230
- var isArray_1 = isArray;
231
-
232
- /** Detect free variable `global` from Node.js. */
233
-
234
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
235
-
236
- var _freeGlobal = freeGlobal;
237
-
238
- /** Detect free variable `self`. */
239
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
240
-
241
- /** Used as a reference to the global object. */
242
- var root = _freeGlobal || freeSelf || Function('return this')();
243
-
244
- var _root = root;
245
-
246
- /** Built-in value references. */
247
- var Symbol$1 = _root.Symbol;
248
-
249
- var _Symbol = Symbol$1;
250
-
251
- /** Used for built-in method references. */
252
- var objectProto$4 = Object.prototype;
253
-
254
- /** Used to check objects for own properties. */
255
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
256
-
257
- /**
258
- * Used to resolve the
259
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
260
- * of values.
261
- */
262
- var nativeObjectToString$1 = objectProto$4.toString;
263
-
264
- /** Built-in value references. */
265
- var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
266
-
267
- /**
268
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
269
- *
270
- * @private
271
- * @param {*} value The value to query.
272
- * @returns {string} Returns the raw `toStringTag`.
273
- */
274
- function getRawTag(value) {
275
- var isOwn = hasOwnProperty$3.call(value, symToStringTag$1),
276
- tag = value[symToStringTag$1];
277
-
278
- try {
279
- value[symToStringTag$1] = undefined;
280
- var unmasked = true;
281
- } catch (e) {}
282
-
283
- var result = nativeObjectToString$1.call(value);
284
- if (unmasked) {
285
- if (isOwn) {
286
- value[symToStringTag$1] = tag;
287
- } else {
288
- delete value[symToStringTag$1];
289
- }
290
- }
291
- return result;
292
- }
293
-
294
- var _getRawTag = getRawTag;
295
-
296
- /** Used for built-in method references. */
297
- var objectProto$3 = Object.prototype;
298
-
299
- /**
300
- * Used to resolve the
301
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
302
- * of values.
303
- */
304
- var nativeObjectToString = objectProto$3.toString;
305
-
306
- /**
307
- * Converts `value` to a string using `Object.prototype.toString`.
308
- *
309
- * @private
310
- * @param {*} value The value to convert.
311
- * @returns {string} Returns the converted string.
312
- */
313
- function objectToString(value) {
314
- return nativeObjectToString.call(value);
315
- }
316
-
317
- var _objectToString = objectToString;
318
-
319
- /** `Object#toString` result references. */
320
- var nullTag = '[object Null]',
321
- undefinedTag = '[object Undefined]';
322
-
323
- /** Built-in value references. */
324
- var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
325
-
326
- /**
327
- * The base implementation of `getTag` without fallbacks for buggy environments.
328
- *
329
- * @private
330
- * @param {*} value The value to query.
331
- * @returns {string} Returns the `toStringTag`.
332
- */
333
- function baseGetTag(value) {
334
- if (value == null) {
335
- return value === undefined ? undefinedTag : nullTag;
336
- }
337
- return (symToStringTag && symToStringTag in Object(value))
338
- ? _getRawTag(value)
339
- : _objectToString(value);
340
- }
341
-
342
- var _baseGetTag = baseGetTag;
343
-
344
- /**
345
- * Checks if `value` is object-like. A value is object-like if it's not `null`
346
- * and has a `typeof` result of "object".
347
- *
348
- * @static
349
- * @memberOf _
350
- * @since 4.0.0
351
- * @category Lang
352
- * @param {*} value The value to check.
353
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
354
- * @example
355
- *
356
- * _.isObjectLike({});
357
- * // => true
358
- *
359
- * _.isObjectLike([1, 2, 3]);
360
- * // => true
361
- *
362
- * _.isObjectLike(_.noop);
363
- * // => false
364
- *
365
- * _.isObjectLike(null);
366
- * // => false
367
- */
368
- function isObjectLike(value) {
369
- return value != null && typeof value == 'object';
370
- }
371
-
372
- var isObjectLike_1 = isObjectLike;
373
-
374
- /** `Object#toString` result references. */
375
- var symbolTag = '[object Symbol]';
376
-
377
- /**
378
- * Checks if `value` is classified as a `Symbol` primitive or object.
379
- *
380
- * @static
381
- * @memberOf _
382
- * @since 4.0.0
383
- * @category Lang
384
- * @param {*} value The value to check.
385
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
386
- * @example
387
- *
388
- * _.isSymbol(Symbol.iterator);
389
- * // => true
390
- *
391
- * _.isSymbol('abc');
392
- * // => false
393
- */
394
- function isSymbol(value) {
395
- return typeof value == 'symbol' ||
396
- (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
397
- }
398
-
399
- var isSymbol_1 = isSymbol;
400
-
401
- /** Used to match property names within property paths. */
402
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
403
- reIsPlainProp = /^\w*$/;
404
-
405
- /**
406
- * Checks if `value` is a property name and not a property path.
407
- *
408
- * @private
409
- * @param {*} value The value to check.
410
- * @param {Object} [object] The object to query keys on.
411
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
412
- */
413
- function isKey(value, object) {
414
- if (isArray_1(value)) {
415
- return false;
416
- }
417
- var type = typeof value;
418
- if (type == 'number' || type == 'symbol' || type == 'boolean' ||
419
- value == null || isSymbol_1(value)) {
420
- return true;
421
- }
422
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
423
- (object != null && value in Object(object));
424
- }
425
-
426
- var _isKey = isKey;
427
-
428
- /**
429
- * Checks if `value` is the
430
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
431
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
432
- *
433
- * @static
434
- * @memberOf _
435
- * @since 0.1.0
436
- * @category Lang
437
- * @param {*} value The value to check.
438
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
439
- * @example
440
- *
441
- * _.isObject({});
442
- * // => true
443
- *
444
- * _.isObject([1, 2, 3]);
445
- * // => true
446
- *
447
- * _.isObject(_.noop);
448
- * // => true
449
- *
450
- * _.isObject(null);
451
- * // => false
452
- */
453
- function isObject(value) {
454
- var type = typeof value;
455
- return value != null && (type == 'object' || type == 'function');
456
- }
457
-
458
- var isObject_1 = isObject;
459
-
460
- /** `Object#toString` result references. */
461
- var asyncTag = '[object AsyncFunction]',
462
- funcTag = '[object Function]',
463
- genTag = '[object GeneratorFunction]',
464
- proxyTag = '[object Proxy]';
465
-
466
- /**
467
- * Checks if `value` is classified as a `Function` object.
468
- *
469
- * @static
470
- * @memberOf _
471
- * @since 0.1.0
472
- * @category Lang
473
- * @param {*} value The value to check.
474
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
475
- * @example
476
- *
477
- * _.isFunction(_);
478
- * // => true
479
- *
480
- * _.isFunction(/abc/);
481
- * // => false
482
- */
483
- function isFunction(value) {
484
- if (!isObject_1(value)) {
485
- return false;
486
- }
487
- // The use of `Object#toString` avoids issues with the `typeof` operator
488
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
489
- var tag = _baseGetTag(value);
490
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
491
- }
492
-
493
- var isFunction_1 = isFunction;
494
-
495
- /** Used to detect overreaching core-js shims. */
496
- var coreJsData = _root['__core-js_shared__'];
497
-
498
- var _coreJsData = coreJsData;
499
-
500
- /** Used to detect methods masquerading as native. */
501
- var maskSrcKey = (function() {
502
- var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
503
- return uid ? ('Symbol(src)_1.' + uid) : '';
504
- }());
505
-
506
- /**
507
- * Checks if `func` has its source masked.
508
- *
509
- * @private
510
- * @param {Function} func The function to check.
511
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
512
- */
513
- function isMasked(func) {
514
- return !!maskSrcKey && (maskSrcKey in func);
515
- }
516
-
517
- var _isMasked = isMasked;
518
-
519
- /** Used for built-in method references. */
520
- var funcProto$1 = Function.prototype;
521
-
522
- /** Used to resolve the decompiled source of functions. */
523
- var funcToString$1 = funcProto$1.toString;
524
-
525
- /**
526
- * Converts `func` to its source code.
527
- *
528
- * @private
529
- * @param {Function} func The function to convert.
530
- * @returns {string} Returns the source code.
531
- */
532
- function toSource(func) {
533
- if (func != null) {
534
- try {
535
- return funcToString$1.call(func);
536
- } catch (e) {}
537
- try {
538
- return (func + '');
539
- } catch (e) {}
540
- }
541
- return '';
542
- }
543
-
544
- var _toSource = toSource;
545
-
546
- /**
547
- * Used to match `RegExp`
548
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
549
- */
550
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
551
-
552
- /** Used to detect host constructors (Safari). */
553
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
554
-
555
- /** Used for built-in method references. */
556
- var funcProto = Function.prototype,
557
- objectProto$2 = Object.prototype;
558
-
559
- /** Used to resolve the decompiled source of functions. */
560
- var funcToString = funcProto.toString;
561
-
562
- /** Used to check objects for own properties. */
563
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
564
-
565
- /** Used to detect if a method is native. */
566
- var reIsNative = RegExp('^' +
567
- funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
568
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
569
- );
570
-
571
- /**
572
- * The base implementation of `_.isNative` without bad shim checks.
573
- *
574
- * @private
575
- * @param {*} value The value to check.
576
- * @returns {boolean} Returns `true` if `value` is a native function,
577
- * else `false`.
578
- */
579
- function baseIsNative(value) {
580
- if (!isObject_1(value) || _isMasked(value)) {
581
- return false;
582
- }
583
- var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
584
- return pattern.test(_toSource(value));
585
- }
586
-
587
- var _baseIsNative = baseIsNative;
588
-
589
- /**
590
- * Gets the value at `key` of `object`.
591
- *
592
- * @private
593
- * @param {Object} [object] The object to query.
594
- * @param {string} key The key of the property to get.
595
- * @returns {*} Returns the property value.
596
- */
597
- function getValue(object, key) {
598
- return object == null ? undefined : object[key];
599
- }
600
-
601
- var _getValue = getValue;
602
-
603
- /**
604
- * Gets the native function at `key` of `object`.
605
- *
606
- * @private
607
- * @param {Object} object The object to query.
608
- * @param {string} key The key of the method to get.
609
- * @returns {*} Returns the function if it's native, else `undefined`.
610
- */
611
- function getNative(object, key) {
612
- var value = _getValue(object, key);
613
- return _baseIsNative(value) ? value : undefined;
614
- }
615
-
616
- var _getNative = getNative;
617
-
618
- /* Built-in method references that are verified to be native. */
619
- var nativeCreate = _getNative(Object, 'create');
620
-
621
- var _nativeCreate = nativeCreate;
622
-
623
- /**
624
- * Removes all key-value entries from the hash.
625
- *
626
- * @private
627
- * @name clear
628
- * @memberOf Hash
629
- */
630
- function hashClear() {
631
- this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
632
- this.size = 0;
633
- }
634
-
635
- var _hashClear = hashClear;
636
-
637
- /**
638
- * Removes `key` and its value from the hash.
639
- *
640
- * @private
641
- * @name delete
642
- * @memberOf Hash
643
- * @param {Object} hash The hash to modify.
644
- * @param {string} key The key of the value to remove.
645
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
646
- */
647
- function hashDelete(key) {
648
- var result = this.has(key) && delete this.__data__[key];
649
- this.size -= result ? 1 : 0;
650
- return result;
651
- }
652
-
653
- var _hashDelete = hashDelete;
654
-
655
- /** Used to stand-in for `undefined` hash values. */
656
- var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
657
-
658
- /** Used for built-in method references. */
659
- var objectProto$1 = Object.prototype;
660
-
661
- /** Used to check objects for own properties. */
662
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
663
-
664
- /**
665
- * Gets the hash value for `key`.
666
- *
667
- * @private
668
- * @name get
669
- * @memberOf Hash
670
- * @param {string} key The key of the value to get.
671
- * @returns {*} Returns the entry value.
672
- */
673
- function hashGet(key) {
674
- var data = this.__data__;
675
- if (_nativeCreate) {
676
- var result = data[key];
677
- return result === HASH_UNDEFINED$1 ? undefined : result;
678
- }
679
- return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
680
- }
681
-
682
- var _hashGet = hashGet;
683
-
684
- /** Used for built-in method references. */
685
- var objectProto = Object.prototype;
686
-
687
- /** Used to check objects for own properties. */
688
- var hasOwnProperty = objectProto.hasOwnProperty;
689
-
690
- /**
691
- * Checks if a hash value for `key` exists.
692
- *
693
- * @private
694
- * @name has
695
- * @memberOf Hash
696
- * @param {string} key The key of the entry to check.
697
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
698
- */
699
- function hashHas(key) {
700
- var data = this.__data__;
701
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
702
- }
703
-
704
- var _hashHas = hashHas;
705
-
706
- /** Used to stand-in for `undefined` hash values. */
707
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
708
-
709
- /**
710
- * Sets the hash `key` to `value`.
711
- *
712
- * @private
713
- * @name set
714
- * @memberOf Hash
715
- * @param {string} key The key of the value to set.
716
- * @param {*} value The value to set.
717
- * @returns {Object} Returns the hash instance.
718
- */
719
- function hashSet(key, value) {
720
- var data = this.__data__;
721
- this.size += this.has(key) ? 0 : 1;
722
- data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
723
- return this;
724
- }
725
-
726
- var _hashSet = hashSet;
727
-
728
- /**
729
- * Creates a hash object.
730
- *
731
- * @private
732
- * @constructor
733
- * @param {Array} [entries] The key-value pairs to cache.
734
- */
735
- function Hash(entries) {
736
- var index = -1,
737
- length = entries == null ? 0 : entries.length;
738
-
739
- this.clear();
740
- while (++index < length) {
741
- var entry = entries[index];
742
- this.set(entry[0], entry[1]);
743
- }
744
- }
745
-
746
- // Add methods to `Hash`.
747
- Hash.prototype.clear = _hashClear;
748
- Hash.prototype['delete'] = _hashDelete;
749
- Hash.prototype.get = _hashGet;
750
- Hash.prototype.has = _hashHas;
751
- Hash.prototype.set = _hashSet;
752
-
753
- var _Hash = Hash;
754
-
755
- /**
756
- * Removes all key-value entries from the list cache.
757
- *
758
- * @private
759
- * @name clear
760
- * @memberOf ListCache
761
- */
762
- function listCacheClear() {
763
- this.__data__ = [];
764
- this.size = 0;
765
- }
766
-
767
- var _listCacheClear = listCacheClear;
768
-
769
- /**
770
- * Performs a
771
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
772
- * comparison between two values to determine if they are equivalent.
773
- *
774
- * @static
775
- * @memberOf _
776
- * @since 4.0.0
777
- * @category Lang
778
- * @param {*} value The value to compare.
779
- * @param {*} other The other value to compare.
780
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
781
- * @example
782
- *
783
- * var object = { 'a': 1 };
784
- * var other = { 'a': 1 };
785
- *
786
- * _.eq(object, object);
787
- * // => true
788
- *
789
- * _.eq(object, other);
790
- * // => false
791
- *
792
- * _.eq('a', 'a');
793
- * // => true
794
- *
795
- * _.eq('a', Object('a'));
796
- * // => false
797
- *
798
- * _.eq(NaN, NaN);
799
- * // => true
800
- */
801
- function eq(value, other) {
802
- return value === other || (value !== value && other !== other);
803
- }
804
-
805
- var eq_1 = eq;
806
-
807
- /**
808
- * Gets the index at which the `key` is found in `array` of key-value pairs.
809
- *
810
- * @private
811
- * @param {Array} array The array to inspect.
812
- * @param {*} key The key to search for.
813
- * @returns {number} Returns the index of the matched value, else `-1`.
814
- */
815
- function assocIndexOf(array, key) {
816
- var length = array.length;
817
- while (length--) {
818
- if (eq_1(array[length][0], key)) {
819
- return length;
820
- }
821
- }
822
- return -1;
823
- }
824
-
825
- var _assocIndexOf = assocIndexOf;
826
-
827
- /** Used for built-in method references. */
828
- var arrayProto = Array.prototype;
829
-
830
- /** Built-in value references. */
831
- var splice = arrayProto.splice;
832
-
833
- /**
834
- * Removes `key` and its value from the list cache.
835
- *
836
- * @private
837
- * @name delete
838
- * @memberOf ListCache
839
- * @param {string} key The key of the value to remove.
840
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
841
- */
842
- function listCacheDelete(key) {
843
- var data = this.__data__,
844
- index = _assocIndexOf(data, key);
845
-
846
- if (index < 0) {
847
- return false;
848
- }
849
- var lastIndex = data.length - 1;
850
- if (index == lastIndex) {
851
- data.pop();
852
- } else {
853
- splice.call(data, index, 1);
854
- }
855
- --this.size;
856
- return true;
857
- }
858
-
859
- var _listCacheDelete = listCacheDelete;
860
-
861
- /**
862
- * Gets the list cache value for `key`.
863
- *
864
- * @private
865
- * @name get
866
- * @memberOf ListCache
867
- * @param {string} key The key of the value to get.
868
- * @returns {*} Returns the entry value.
869
- */
870
- function listCacheGet(key) {
871
- var data = this.__data__,
872
- index = _assocIndexOf(data, key);
873
-
874
- return index < 0 ? undefined : data[index][1];
875
- }
876
-
877
- var _listCacheGet = listCacheGet;
878
-
879
- /**
880
- * Checks if a list cache value for `key` exists.
881
- *
882
- * @private
883
- * @name has
884
- * @memberOf ListCache
885
- * @param {string} key The key of the entry to check.
886
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
887
- */
888
- function listCacheHas(key) {
889
- return _assocIndexOf(this.__data__, key) > -1;
890
- }
891
-
892
- var _listCacheHas = listCacheHas;
893
-
894
- /**
895
- * Sets the list cache `key` to `value`.
896
- *
897
- * @private
898
- * @name set
899
- * @memberOf ListCache
900
- * @param {string} key The key of the value to set.
901
- * @param {*} value The value to set.
902
- * @returns {Object} Returns the list cache instance.
903
- */
904
- function listCacheSet(key, value) {
905
- var data = this.__data__,
906
- index = _assocIndexOf(data, key);
907
-
908
- if (index < 0) {
909
- ++this.size;
910
- data.push([key, value]);
911
- } else {
912
- data[index][1] = value;
913
- }
914
- return this;
915
- }
916
-
917
- var _listCacheSet = listCacheSet;
918
-
919
- /**
920
- * Creates an list cache object.
921
- *
922
- * @private
923
- * @constructor
924
- * @param {Array} [entries] The key-value pairs to cache.
925
- */
926
- function ListCache(entries) {
927
- var index = -1,
928
- length = entries == null ? 0 : entries.length;
929
-
930
- this.clear();
931
- while (++index < length) {
932
- var entry = entries[index];
933
- this.set(entry[0], entry[1]);
934
- }
935
- }
936
-
937
- // Add methods to `ListCache`.
938
- ListCache.prototype.clear = _listCacheClear;
939
- ListCache.prototype['delete'] = _listCacheDelete;
940
- ListCache.prototype.get = _listCacheGet;
941
- ListCache.prototype.has = _listCacheHas;
942
- ListCache.prototype.set = _listCacheSet;
943
-
944
- var _ListCache = ListCache;
945
-
946
- /* Built-in method references that are verified to be native. */
947
- var Map = _getNative(_root, 'Map');
948
-
949
- var _Map = Map;
950
-
951
- /**
952
- * Removes all key-value entries from the map.
953
- *
954
- * @private
955
- * @name clear
956
- * @memberOf MapCache
957
- */
958
- function mapCacheClear() {
959
- this.size = 0;
960
- this.__data__ = {
961
- 'hash': new _Hash,
962
- 'map': new (_Map || _ListCache),
963
- 'string': new _Hash
964
- };
965
- }
966
-
967
- var _mapCacheClear = mapCacheClear;
968
-
969
- /**
970
- * Checks if `value` is suitable for use as unique object key.
971
- *
972
- * @private
973
- * @param {*} value The value to check.
974
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
975
- */
976
- function isKeyable(value) {
977
- var type = typeof value;
978
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
979
- ? (value !== '__proto__')
980
- : (value === null);
981
- }
982
-
983
- var _isKeyable = isKeyable;
984
-
985
- /**
986
- * Gets the data for `map`.
987
- *
988
- * @private
989
- * @param {Object} map The map to query.
990
- * @param {string} key The reference key.
991
- * @returns {*} Returns the map data.
992
- */
993
- function getMapData(map, key) {
994
- var data = map.__data__;
995
- return _isKeyable(key)
996
- ? data[typeof key == 'string' ? 'string' : 'hash']
997
- : data.map;
998
- }
999
-
1000
- var _getMapData = getMapData;
1001
-
1002
- /**
1003
- * Removes `key` and its value from the map.
1004
- *
1005
- * @private
1006
- * @name delete
1007
- * @memberOf MapCache
1008
- * @param {string} key The key of the value to remove.
1009
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1010
- */
1011
- function mapCacheDelete(key) {
1012
- var result = _getMapData(this, key)['delete'](key);
1013
- this.size -= result ? 1 : 0;
1014
- return result;
1015
- }
1016
-
1017
- var _mapCacheDelete = mapCacheDelete;
1018
-
1019
- /**
1020
- * Gets the map value for `key`.
1021
- *
1022
- * @private
1023
- * @name get
1024
- * @memberOf MapCache
1025
- * @param {string} key The key of the value to get.
1026
- * @returns {*} Returns the entry value.
1027
- */
1028
- function mapCacheGet(key) {
1029
- return _getMapData(this, key).get(key);
1030
- }
1031
-
1032
- var _mapCacheGet = mapCacheGet;
1033
-
1034
- /**
1035
- * Checks if a map value for `key` exists.
1036
- *
1037
- * @private
1038
- * @name has
1039
- * @memberOf MapCache
1040
- * @param {string} key The key of the entry to check.
1041
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1042
- */
1043
- function mapCacheHas(key) {
1044
- return _getMapData(this, key).has(key);
1045
- }
1046
-
1047
- var _mapCacheHas = mapCacheHas;
1048
-
1049
- /**
1050
- * Sets the map `key` to `value`.
1051
- *
1052
- * @private
1053
- * @name set
1054
- * @memberOf MapCache
1055
- * @param {string} key The key of the value to set.
1056
- * @param {*} value The value to set.
1057
- * @returns {Object} Returns the map cache instance.
1058
- */
1059
- function mapCacheSet(key, value) {
1060
- var data = _getMapData(this, key),
1061
- size = data.size;
1062
-
1063
- data.set(key, value);
1064
- this.size += data.size == size ? 0 : 1;
1065
- return this;
1066
- }
1067
-
1068
- var _mapCacheSet = mapCacheSet;
1069
-
1070
- /**
1071
- * Creates a map cache object to store key-value pairs.
1072
- *
1073
- * @private
1074
- * @constructor
1075
- * @param {Array} [entries] The key-value pairs to cache.
1076
- */
1077
- function MapCache(entries) {
1078
- var index = -1,
1079
- length = entries == null ? 0 : entries.length;
1080
-
1081
- this.clear();
1082
- while (++index < length) {
1083
- var entry = entries[index];
1084
- this.set(entry[0], entry[1]);
1085
- }
1086
- }
1087
-
1088
- // Add methods to `MapCache`.
1089
- MapCache.prototype.clear = _mapCacheClear;
1090
- MapCache.prototype['delete'] = _mapCacheDelete;
1091
- MapCache.prototype.get = _mapCacheGet;
1092
- MapCache.prototype.has = _mapCacheHas;
1093
- MapCache.prototype.set = _mapCacheSet;
1094
-
1095
- var _MapCache = MapCache;
1096
-
1097
- /** Error message constants. */
1098
- var FUNC_ERROR_TEXT = 'Expected a function';
1099
-
1100
- /**
1101
- * Creates a function that memoizes the result of `func`. If `resolver` is
1102
- * provided, it determines the cache key for storing the result based on the
1103
- * arguments provided to the memoized function. By default, the first argument
1104
- * provided to the memoized function is used as the map cache key. The `func`
1105
- * is invoked with the `this` binding of the memoized function.
1106
- *
1107
- * **Note:** The cache is exposed as the `cache` property on the memoized
1108
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
1109
- * constructor with one whose instances implement the
1110
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1111
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1112
- *
1113
- * @static
1114
- * @memberOf _
1115
- * @since 0.1.0
1116
- * @category Function
1117
- * @param {Function} func The function to have its output memoized.
1118
- * @param {Function} [resolver] The function to resolve the cache key.
1119
- * @returns {Function} Returns the new memoized function.
1120
- * @example
1121
- *
1122
- * var object = { 'a': 1, 'b': 2 };
1123
- * var other = { 'c': 3, 'd': 4 };
1124
- *
1125
- * var values = _.memoize(_.values);
1126
- * values(object);
1127
- * // => [1, 2]
1128
- *
1129
- * values(other);
1130
- * // => [3, 4]
1131
- *
1132
- * object.a = 2;
1133
- * values(object);
1134
- * // => [1, 2]
1135
- *
1136
- * // Modify the result cache.
1137
- * values.cache.set(object, ['a', 'b']);
1138
- * values(object);
1139
- * // => ['a', 'b']
1140
- *
1141
- * // Replace `_.memoize.Cache`.
1142
- * _.memoize.Cache = WeakMap;
1143
- */
1144
- function memoize(func, resolver) {
1145
- if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
1146
- throw new TypeError(FUNC_ERROR_TEXT);
1147
- }
1148
- var memoized = function() {
1149
- var args = arguments,
1150
- key = resolver ? resolver.apply(this, args) : args[0],
1151
- cache = memoized.cache;
1152
-
1153
- if (cache.has(key)) {
1154
- return cache.get(key);
1155
- }
1156
- var result = func.apply(this, args);
1157
- memoized.cache = cache.set(key, result) || cache;
1158
- return result;
1159
- };
1160
- memoized.cache = new (memoize.Cache || _MapCache);
1161
- return memoized;
1162
- }
1163
-
1164
- // Expose `MapCache`.
1165
- memoize.Cache = _MapCache;
1166
-
1167
- var memoize_1 = memoize;
1168
-
1169
- /** Used as the maximum memoize cache size. */
1170
- var MAX_MEMOIZE_SIZE = 500;
1171
-
1172
- /**
1173
- * A specialized version of `_.memoize` which clears the memoized function's
1174
- * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1175
- *
1176
- * @private
1177
- * @param {Function} func The function to have its output memoized.
1178
- * @returns {Function} Returns the new memoized function.
1179
- */
1180
- function memoizeCapped(func) {
1181
- var result = memoize_1(func, function(key) {
1182
- if (cache.size === MAX_MEMOIZE_SIZE) {
1183
- cache.clear();
1184
- }
1185
- return key;
1186
- });
1187
-
1188
- var cache = result.cache;
1189
- return result;
1190
- }
1191
-
1192
- var _memoizeCapped = memoizeCapped;
1193
-
1194
- /** Used to match property names within property paths. */
1195
- var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1196
-
1197
- /** Used to match backslashes in property paths. */
1198
- var reEscapeChar = /\\(\\)?/g;
1199
-
1200
- /**
1201
- * Converts `string` to a property path array.
1202
- *
1203
- * @private
1204
- * @param {string} string The string to convert.
1205
- * @returns {Array} Returns the property path array.
1206
- */
1207
- var stringToPath = _memoizeCapped(function(string) {
1208
- var result = [];
1209
- if (string.charCodeAt(0) === 46 /* . */) {
1210
- result.push('');
1211
- }
1212
- string.replace(rePropName, function(match, number, quote, subString) {
1213
- result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
1214
- });
1215
- return result;
1216
- });
1217
-
1218
- var _stringToPath = stringToPath;
1219
-
1220
- /**
1221
- * A specialized version of `_.map` for arrays without support for iteratee
1222
- * shorthands.
1223
- *
1224
- * @private
1225
- * @param {Array} [array] The array to iterate over.
1226
- * @param {Function} iteratee The function invoked per iteration.
1227
- * @returns {Array} Returns the new mapped array.
1228
- */
1229
- function arrayMap(array, iteratee) {
1230
- var index = -1,
1231
- length = array == null ? 0 : array.length,
1232
- result = Array(length);
1233
-
1234
- while (++index < length) {
1235
- result[index] = iteratee(array[index], index, array);
1236
- }
1237
- return result;
1238
- }
1239
-
1240
- var _arrayMap = arrayMap;
1241
-
1242
- /** Used as references for various `Number` constants. */
1243
- var INFINITY$1 = 1 / 0;
1244
-
1245
- /** Used to convert symbols to primitives and strings. */
1246
- var symbolProto = _Symbol ? _Symbol.prototype : undefined,
1247
- symbolToString = symbolProto ? symbolProto.toString : undefined;
1248
-
1249
- /**
1250
- * The base implementation of `_.toString` which doesn't convert nullish
1251
- * values to empty strings.
1252
- *
1253
- * @private
1254
- * @param {*} value The value to process.
1255
- * @returns {string} Returns the string.
1256
- */
1257
- function baseToString(value) {
1258
- // Exit early for strings to avoid a performance hit in some environments.
1259
- if (typeof value == 'string') {
1260
- return value;
1261
- }
1262
- if (isArray_1(value)) {
1263
- // Recursively convert values (susceptible to call stack limits).
1264
- return _arrayMap(value, baseToString) + '';
1265
- }
1266
- if (isSymbol_1(value)) {
1267
- return symbolToString ? symbolToString.call(value) : '';
1268
- }
1269
- var result = (value + '');
1270
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
1271
- }
1272
-
1273
- var _baseToString = baseToString;
1274
-
1275
- /**
1276
- * Converts `value` to a string. An empty string is returned for `null`
1277
- * and `undefined` values. The sign of `-0` is preserved.
1278
- *
1279
- * @static
1280
- * @memberOf _
1281
- * @since 4.0.0
1282
- * @category Lang
1283
- * @param {*} value The value to convert.
1284
- * @returns {string} Returns the converted string.
1285
- * @example
1286
- *
1287
- * _.toString(null);
1288
- * // => ''
1289
- *
1290
- * _.toString(-0);
1291
- * // => '-0'
1292
- *
1293
- * _.toString([1, 2, 3]);
1294
- * // => '1,2,3'
1295
- */
1296
- function toString(value) {
1297
- return value == null ? '' : _baseToString(value);
1298
- }
1299
-
1300
- var toString_1 = toString;
1301
-
1302
- /**
1303
- * Casts `value` to a path array if it's not one.
1304
- *
1305
- * @private
1306
- * @param {*} value The value to inspect.
1307
- * @param {Object} [object] The object to query keys on.
1308
- * @returns {Array} Returns the cast property path array.
1309
- */
1310
- function castPath(value, object) {
1311
- if (isArray_1(value)) {
1312
- return value;
1313
- }
1314
- return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
1315
- }
1316
-
1317
- var _castPath = castPath;
1318
-
1319
- /** Used as references for various `Number` constants. */
1320
- var INFINITY = 1 / 0;
1321
-
1322
- /**
1323
- * Converts `value` to a string key if it's not a string or symbol.
1324
- *
1325
- * @private
1326
- * @param {*} value The value to inspect.
1327
- * @returns {string|symbol} Returns the key.
1328
- */
1329
- function toKey(value) {
1330
- if (typeof value == 'string' || isSymbol_1(value)) {
1331
- return value;
1332
- }
1333
- var result = (value + '');
1334
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1335
- }
1336
-
1337
- var _toKey = toKey;
1338
-
1339
- /**
1340
- * The base implementation of `_.get` without support for default values.
1341
- *
1342
- * @private
1343
- * @param {Object} object The object to query.
1344
- * @param {Array|string} path The path of the property to get.
1345
- * @returns {*} Returns the resolved value.
1346
- */
1347
- function baseGet(object, path) {
1348
- path = _castPath(path, object);
1349
-
1350
- var index = 0,
1351
- length = path.length;
1352
-
1353
- while (object != null && index < length) {
1354
- object = object[_toKey(path[index++])];
1355
- }
1356
- return (index && index == length) ? object : undefined;
1357
- }
1358
-
1359
- var _baseGet = baseGet;
1360
-
1361
- /**
1362
- * Gets the value at `path` of `object`. If the resolved value is
1363
- * `undefined`, the `defaultValue` is returned in its place.
1364
- *
1365
- * @static
1366
- * @memberOf _
1367
- * @since 3.7.0
1368
- * @category Object
1369
- * @param {Object} object The object to query.
1370
- * @param {Array|string} path The path of the property to get.
1371
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1372
- * @returns {*} Returns the resolved value.
1373
- * @example
1374
- *
1375
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1376
- *
1377
- * _.get(object, 'a[0].b.c');
1378
- * // => 3
1379
- *
1380
- * _.get(object, ['a', '0', 'b', 'c']);
1381
- * // => 3
1382
- *
1383
- * _.get(object, 'a.b.c', 'default');
1384
- * // => 'default'
1385
- */
1386
- function get(object, path, defaultValue) {
1387
- var result = object == null ? undefined : _baseGet(object, path);
1388
- return result === undefined ? defaultValue : result;
1389
- }
1390
-
1391
- var get_1 = get;
1392
-
1393
- function _arrayWithHoles(arr) {
1394
- if (Array.isArray(arr)) return arr;
1395
- }
1396
-
1397
- function _iterableToArrayLimit(arr, i) {
1398
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
1399
-
1400
- if (_i == null) return;
1401
- var _arr = [];
1402
- var _n = true;
1403
- var _d = false;
1404
-
1405
- var _s, _e;
1406
-
1407
- try {
1408
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
1409
- _arr.push(_s.value);
1410
-
1411
- if (i && _arr.length === i) break;
1412
- }
1413
- } catch (err) {
1414
- _d = true;
1415
- _e = err;
1416
- } finally {
1417
- try {
1418
- if (!_n && _i["return"] != null) _i["return"]();
1419
- } finally {
1420
- if (_d) throw _e;
1421
- }
1422
- }
1423
-
1424
- return _arr;
1425
- }
1426
-
1427
- function _arrayLikeToArray(arr, len) {
1428
- if (len == null || len > arr.length) len = arr.length;
1429
-
1430
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
1431
- arr2[i] = arr[i];
1432
- }
1433
-
1434
- return arr2;
1435
- }
1436
-
1437
- function _unsupportedIterableToArray(o, minLen) {
1438
- if (!o) return;
1439
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
1440
- var n = Object.prototype.toString.call(o).slice(8, -1);
1441
- if (n === "Object" && o.constructor) n = o.constructor.name;
1442
- if (n === "Map" || n === "Set") return Array.from(o);
1443
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1444
- }
1445
-
1446
- function _nonIterableRest() {
1447
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1448
- }
1449
-
1450
- function _slicedToArray(arr, i) {
1451
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
1452
- }
1453
-
1454
- var Twitter = function Twitter(_ref) {
1455
- var _ref$color = _ref.color,
1456
- color = _ref$color === void 0 ? "#1CB7EB" : _ref$color;
1457
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1458
- xmlns: "http://www.w3.org/2000/svg",
1459
- width: "24",
1460
- height: "24",
1461
- viewBox: "0 0 24 24"
1462
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1463
- fill: color,
1464
- d: "M19.137 8.594c.023.094.035.246.035.457 0 1.687-.41 3.316-1.23 4.887-.844 1.664-2.028 2.988-3.551 3.972-1.664 1.102-3.575 1.652-5.73 1.652-2.063 0-3.95-.55-5.661-1.652.258.024.55.035.879.035 1.71 0 3.246-.527 4.605-1.582-.82 0-1.54-.24-2.162-.72a3.673 3.673 0 01-1.283-1.811c.234.023.457.035.668.035.328 0 .656-.035.984-.105a3.724 3.724 0 01-2.109-1.301 3.542 3.542 0 01-.844-2.32v-.07a3.493 3.493 0 001.653.492 4.097 4.097 0 01-1.196-1.336 3.557 3.557 0 01-.457-1.776c0-.644.176-1.26.528-1.845a10.188 10.188 0 003.357 2.742 10.222 10.222 0 004.236 1.125 5.122 5.122 0 01-.07-.844c0-.656.164-1.272.492-1.846a3.615 3.615 0 011.336-1.353 3.568 3.568 0 011.828-.492c.54 0 1.037.105 1.494.316.457.21.862.492 1.213.844a7.479 7.479 0 002.356-.88c-.281.868-.82 1.548-1.617 2.04A7.926 7.926 0 0021 6.66a8.132 8.132 0 01-1.863 1.934z"
1465
- }));
1466
- };
1467
- Twitter.propTypes = {
1468
- color: PropTypes__default["default"].string
1469
- };
1470
-
1471
- var Facebook = function Facebook(_ref) {
1472
- var _ref$color = _ref.color,
1473
- color = _ref$color === void 0 ? "#3B5998" : _ref$color;
1474
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1475
- xmlns: "http://www.w3.org/2000/svg",
1476
- width: "24",
1477
- height: "24",
1478
- viewBox: "0 0 24 24"
1479
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1480
- fill: color,
1481
- d: "M9.906 20v-7.156H7.5V10h2.406V7.75c0-1.187.334-2.11 1-2.766.667-.656 1.552-.984 2.656-.984.896 0 1.625.042 2.188.125v2.531h-1.5c-.563 0-.948.125-1.156.375-.167.209-.25.542-.25 1V10H15.5l-.375 2.844h-2.281V20H9.906z"
1482
- }));
1483
- };
1484
- Facebook.propTypes = {
1485
- color: PropTypes__default["default"].string
1486
- };
1487
-
1488
- var LinkedIn = function LinkedIn(_ref) {
1489
- var _ref$color = _ref.color,
1490
- color = _ref$color === void 0 ? "#0077B5" : _ref$color;
1491
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1492
- xmlns: "http://www.w3.org/2000/svg",
1493
- width: "24",
1494
- height: "24",
1495
- viewBox: "0 0 24 24"
1496
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1497
- fill: color,
1498
- d: "M6.71 19H3.26V7.904h3.45V19zM5.005 6.383a1.926 1.926 0 01-1.41-.594A1.923 1.923 0 013 4.38c0-.544.198-1.014.594-1.41a1.926 1.926 0 011.41-.594c.544 0 1.014.198 1.41.594.396.396.594.866.594 1.41 0 .544-.198 1.014-.594 1.41a1.926 1.926 0 01-1.41.594zM19.625 19h-3.451v-5.418c0-.89-.074-1.534-.223-1.93-.272-.668-.804-1.002-1.596-1.002-.791 0-1.348.297-1.67.891-.247.445-.37 1.1-.37 1.967V19H8.9V7.904h3.303v1.522h.037c.248-.495.643-.903 1.188-1.225.593-.396 1.286-.594 2.078-.594 1.608 0 2.734.508 3.377 1.522.495.816.742 2.078.742 3.785V19z"
1499
- }));
1500
- };
1501
- LinkedIn.propTypes = {
1502
- color: PropTypes__default["default"].string
1503
- };
1504
-
1505
- var WhatsApp = function WhatsApp(_ref) {
1506
- var _ref$color = _ref.color,
1507
- color = _ref$color === void 0 ? "#4AC959" : _ref$color;
1508
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1509
- xmlns: "http://www.w3.org/2000/svg",
1510
- width: "24",
1511
- height: "24",
1512
- viewBox: "0 0 24 24"
1513
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1514
- fill: color,
1515
- fillRule: "evenodd",
1516
- d: "M18.404 5.505a9.457 9.457 0 012.02 2.96 8.587 8.587 0 01.715 3.449 8.665 8.665 0 01-1.245 4.53 9.282 9.282 0 01-3.347 3.307 8.894 8.894 0 01-4.552 1.225 8.835 8.835 0 01-4.327-1.102l-4.817 1.265 1.307-4.694a8.775 8.775 0 01-1.225-4.531 8.77 8.77 0 011.225-4.531 9.17 9.17 0 013.306-3.307 8.781 8.781 0 014.531-1.224c1.198 0 2.347.23 3.45.693a9.515 9.515 0 012.959 1.96zm-6.409 13.96c1.36 0 2.626-.34 3.797-1.02a7.75 7.75 0 002.796-2.756 7.202 7.202 0 001.04-3.775c0-.98-.203-1.933-.612-2.858a8.088 8.088 0 00-1.694-2.47 7.565 7.565 0 00-2.449-1.653 7.405 7.405 0 00-2.878-.571c-1.36 0-2.62.34-3.776 1.02a7.646 7.646 0 00-2.755 2.756 7.316 7.316 0 00-1.02 3.776c0 1.442.394 2.775 1.183 4l.164.286-.776 2.775 2.857-.734.286.163a7.275 7.275 0 003.837 1.061zm4.123-5.674l.123.082c.19.082.299.15.326.204.027.054.034.19.02.408a2.11 2.11 0 01-.163.674c-.095.231-.313.462-.653.694-.34.231-.633.36-.878.388-.38.054-.748.054-1.102 0-.408-.082-.952-.273-1.632-.572-1.388-.599-2.654-1.714-3.797-3.347l-.081-.082c-.6-.843-.898-1.62-.898-2.327 0-.707.244-1.32.734-1.837l.041-.04c.19-.19.395-.286.612-.286h.49c.11 0 .198.02.266.061.068.041.129.143.183.306l.694 1.674c.082.163.095.3.041.408a2.832 2.832 0 01-.53.735.917.917 0 00-.205.265c-.027.068 0 .143.082.225.38.707.83 1.265 1.347 1.673.381.3.952.64 1.714 1.02.218.11.381.096.49-.04.354-.408.599-.707.735-.898.054-.109.123-.163.204-.163.082 0 .177.013.286.04.218.082.735.327 1.551.735z"
1517
- }));
1518
- };
1519
- WhatsApp.propTypes = {
1520
- color: PropTypes__default["default"].string
1521
- };
1522
-
1523
- var getSocialIcons = function getSocialIcons(color, iconType) {
1524
- switch (iconType) {
1525
- case "plain-color-svg":
1526
- return {
1527
- facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
1528
- key: iconType
1529
- }),
1530
- twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
1531
- key: iconType
1532
- }),
1533
- linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
1534
- key: iconType
1535
- }),
1536
- whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
1537
- key: iconType
1538
- })
1539
- };
1540
-
1541
- default:
1542
- return {
1543
- facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
1544
- color: color,
1545
- key: iconType
1546
- }),
1547
- twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
1548
- color: color,
1549
- key: iconType
1550
- }),
1551
- linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
1552
- color: color,
1553
- key: iconType
1554
- }),
1555
- whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
1556
- color: color,
1557
- key: iconType
1558
- })
1559
- };
1560
- }
1561
- };
1562
-
1563
- var socialShareData = function socialShareData(_ref) {
1564
- var fbUrl = _ref.fbUrl,
1565
- twitterUrl = _ref.twitterUrl,
1566
- linkedinUrl = _ref.linkedinUrl,
1567
- whatsappUrl = _ref.whatsappUrl,
1568
- iconColor = _ref.iconColor,
1569
- _ref$iconType = _ref.iconType,
1570
- iconType = _ref$iconType === void 0 ? "plain-svg" : _ref$iconType;
1571
- var socialIcons = getSocialIcons(iconColor, iconType);
1572
-
1573
- var getOptions = function getOptions() {
1574
- return [{
1575
- name: "facebook",
1576
- url: fbUrl,
1577
- icon: socialIcons["facebook"],
1578
- text: "Facebook",
1579
- bgColor: "#4e71a8",
1580
- alt: "fb icon"
1581
- }, {
1582
- name: "twitter",
1583
- url: twitterUrl,
1584
- icon: socialIcons["twitter"],
1585
- text: "Twitter",
1586
- bgColor: "#1db7eb",
1587
- alt: "twitter icon"
1588
- }, {
1589
- name: "linkedin",
1590
- url: linkedinUrl,
1591
- icon: socialIcons["linkedin"],
1592
- text: "LinkedIn",
1593
- bgColor: "#0077B5",
1594
- alt: "linkedin icon"
1595
- }, {
1596
- name: "whatsapp",
1597
- url: whatsappUrl,
1598
- icon: socialIcons["whatsapp"],
1599
- text: "Whatsapp",
1600
- bgColor: "#25d366",
1601
- alt: "whatsapp share"
1602
- }];
1603
- };
1604
-
1605
- return getOptions();
1606
- };
1607
-
1608
- var CloseIcon = function CloseIcon(_ref) {
1609
- var _ref$color = _ref.color,
1610
- color = _ref$color === void 0 ? "#333" : _ref$color;
1611
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1612
- xmlns: "http://www.w3.org/2000/svg",
1613
- width: "24",
1614
- height: "24",
1615
- viewBox: "0 0 24 24"
1616
- }, /*#__PURE__*/React__default["default"].createElement("g", {
1617
- fill: "none",
1618
- stroke: color,
1619
- strokeLinecap: "square",
1620
- strokeWidth: "2"
1621
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1622
- d: "M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"
1623
- })));
1624
- };
1625
- CloseIcon.propTypes = {
1626
- color: PropTypes__default["default"].string
1627
- };
1628
-
1629
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
1630
- try {
1631
- var info = gen[key](arg);
1632
- var value = info.value;
1633
- } catch (error) {
1634
- reject(error);
1635
- return;
1636
- }
1637
-
1638
- if (info.done) {
1639
- resolve(value);
1640
- } else {
1641
- Promise.resolve(value).then(_next, _throw);
1642
- }
1643
- }
1644
-
1645
- function _asyncToGenerator(fn) {
1646
- return function () {
1647
- var self = this,
1648
- args = arguments;
1649
- return new Promise(function (resolve, reject) {
1650
- var gen = fn.apply(self, args);
1651
-
1652
- function _next(value) {
1653
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
1654
- }
1655
-
1656
- function _throw(err) {
1657
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
1658
- }
1659
-
1660
- _next(undefined);
1661
- });
1662
- };
1663
- }
1664
-
1665
- function _typeof(obj) {
1666
- "@babel/helpers - typeof";
1667
-
1668
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
1669
- return typeof obj;
1670
- } : function (obj) {
1671
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1672
- }, _typeof(obj);
1673
- }
1674
-
1675
- /**
1676
- * Copyright (c) 2014-present, Facebook, Inc.
1677
- *
1678
- * This source code is licensed under the MIT license found in the
1679
- * LICENSE file in the root directory of this source tree.
1680
- */
1681
-
1682
- var runtime_1 = createCommonjsModule(function (module) {
1683
- var runtime = (function (exports) {
1684
-
1685
- var Op = Object.prototype;
1686
- var hasOwn = Op.hasOwnProperty;
1687
- var undefined$1; // More compressible than void 0.
1688
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
1689
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
1690
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
1691
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
1692
-
1693
- function define(obj, key, value) {
1694
- Object.defineProperty(obj, key, {
1695
- value: value,
1696
- enumerable: true,
1697
- configurable: true,
1698
- writable: true
1699
- });
1700
- return obj[key];
1701
- }
1702
- try {
1703
- // IE 8 has a broken Object.defineProperty that only works on DOM objects.
1704
- define({}, "");
1705
- } catch (err) {
1706
- define = function(obj, key, value) {
1707
- return obj[key] = value;
1708
- };
1709
- }
1710
-
1711
- function wrap(innerFn, outerFn, self, tryLocsList) {
1712
- // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
1713
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
1714
- var generator = Object.create(protoGenerator.prototype);
1715
- var context = new Context(tryLocsList || []);
1716
-
1717
- // The ._invoke method unifies the implementations of the .next,
1718
- // .throw, and .return methods.
1719
- generator._invoke = makeInvokeMethod(innerFn, self, context);
1720
-
1721
- return generator;
1722
- }
1723
- exports.wrap = wrap;
1724
-
1725
- // Try/catch helper to minimize deoptimizations. Returns a completion
1726
- // record like context.tryEntries[i].completion. This interface could
1727
- // have been (and was previously) designed to take a closure to be
1728
- // invoked without arguments, but in all the cases we care about we
1729
- // already have an existing method we want to call, so there's no need
1730
- // to create a new function object. We can even get away with assuming
1731
- // the method takes exactly one argument, since that happens to be true
1732
- // in every case, so we don't have to touch the arguments object. The
1733
- // only additional allocation required is the completion record, which
1734
- // has a stable shape and so hopefully should be cheap to allocate.
1735
- function tryCatch(fn, obj, arg) {
1736
- try {
1737
- return { type: "normal", arg: fn.call(obj, arg) };
1738
- } catch (err) {
1739
- return { type: "throw", arg: err };
1740
- }
1741
- }
1742
-
1743
- var GenStateSuspendedStart = "suspendedStart";
1744
- var GenStateSuspendedYield = "suspendedYield";
1745
- var GenStateExecuting = "executing";
1746
- var GenStateCompleted = "completed";
1747
-
1748
- // Returning this object from the innerFn has the same effect as
1749
- // breaking out of the dispatch switch statement.
1750
- var ContinueSentinel = {};
1751
-
1752
- // Dummy constructor functions that we use as the .constructor and
1753
- // .constructor.prototype properties for functions that return Generator
1754
- // objects. For full spec compliance, you may wish to configure your
1755
- // minifier not to mangle the names of these two functions.
1756
- function Generator() {}
1757
- function GeneratorFunction() {}
1758
- function GeneratorFunctionPrototype() {}
1759
-
1760
- // This is a polyfill for %IteratorPrototype% for environments that
1761
- // don't natively support it.
1762
- var IteratorPrototype = {};
1763
- define(IteratorPrototype, iteratorSymbol, function () {
1764
- return this;
1765
- });
1766
-
1767
- var getProto = Object.getPrototypeOf;
1768
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
1769
- if (NativeIteratorPrototype &&
1770
- NativeIteratorPrototype !== Op &&
1771
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
1772
- // This environment has a native %IteratorPrototype%; use it instead
1773
- // of the polyfill.
1774
- IteratorPrototype = NativeIteratorPrototype;
1775
- }
1776
-
1777
- var Gp = GeneratorFunctionPrototype.prototype =
1778
- Generator.prototype = Object.create(IteratorPrototype);
1779
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
1780
- define(Gp, "constructor", GeneratorFunctionPrototype);
1781
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
1782
- GeneratorFunction.displayName = define(
1783
- GeneratorFunctionPrototype,
1784
- toStringTagSymbol,
1785
- "GeneratorFunction"
1786
- );
1787
-
1788
- // Helper for defining the .next, .throw, and .return methods of the
1789
- // Iterator interface in terms of a single ._invoke method.
1790
- function defineIteratorMethods(prototype) {
1791
- ["next", "throw", "return"].forEach(function(method) {
1792
- define(prototype, method, function(arg) {
1793
- return this._invoke(method, arg);
1794
- });
1795
- });
1796
- }
1797
-
1798
- exports.isGeneratorFunction = function(genFun) {
1799
- var ctor = typeof genFun === "function" && genFun.constructor;
1800
- return ctor
1801
- ? ctor === GeneratorFunction ||
1802
- // For the native GeneratorFunction constructor, the best we can
1803
- // do is to check its .name property.
1804
- (ctor.displayName || ctor.name) === "GeneratorFunction"
1805
- : false;
1806
- };
1807
-
1808
- exports.mark = function(genFun) {
1809
- if (Object.setPrototypeOf) {
1810
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
1811
- } else {
1812
- genFun.__proto__ = GeneratorFunctionPrototype;
1813
- define(genFun, toStringTagSymbol, "GeneratorFunction");
1814
- }
1815
- genFun.prototype = Object.create(Gp);
1816
- return genFun;
1817
- };
1818
-
1819
- // Within the body of any async function, `await x` is transformed to
1820
- // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
1821
- // `hasOwn.call(value, "__await")` to determine if the yielded value is
1822
- // meant to be awaited.
1823
- exports.awrap = function(arg) {
1824
- return { __await: arg };
1825
- };
1826
-
1827
- function AsyncIterator(generator, PromiseImpl) {
1828
- function invoke(method, arg, resolve, reject) {
1829
- var record = tryCatch(generator[method], generator, arg);
1830
- if (record.type === "throw") {
1831
- reject(record.arg);
1832
- } else {
1833
- var result = record.arg;
1834
- var value = result.value;
1835
- if (value &&
1836
- typeof value === "object" &&
1837
- hasOwn.call(value, "__await")) {
1838
- return PromiseImpl.resolve(value.__await).then(function(value) {
1839
- invoke("next", value, resolve, reject);
1840
- }, function(err) {
1841
- invoke("throw", err, resolve, reject);
1842
- });
1843
- }
1844
-
1845
- return PromiseImpl.resolve(value).then(function(unwrapped) {
1846
- // When a yielded Promise is resolved, its final value becomes
1847
- // the .value of the Promise<{value,done}> result for the
1848
- // current iteration.
1849
- result.value = unwrapped;
1850
- resolve(result);
1851
- }, function(error) {
1852
- // If a rejected Promise was yielded, throw the rejection back
1853
- // into the async generator function so it can be handled there.
1854
- return invoke("throw", error, resolve, reject);
1855
- });
1856
- }
1857
- }
1858
-
1859
- var previousPromise;
1860
-
1861
- function enqueue(method, arg) {
1862
- function callInvokeWithMethodAndArg() {
1863
- return new PromiseImpl(function(resolve, reject) {
1864
- invoke(method, arg, resolve, reject);
1865
- });
1866
- }
1867
-
1868
- return previousPromise =
1869
- // If enqueue has been called before, then we want to wait until
1870
- // all previous Promises have been resolved before calling invoke,
1871
- // so that results are always delivered in the correct order. If
1872
- // enqueue has not been called before, then it is important to
1873
- // call invoke immediately, without waiting on a callback to fire,
1874
- // so that the async generator function has the opportunity to do
1875
- // any necessary setup in a predictable way. This predictability
1876
- // is why the Promise constructor synchronously invokes its
1877
- // executor callback, and why async functions synchronously
1878
- // execute code before the first await. Since we implement simple
1879
- // async functions in terms of async generators, it is especially
1880
- // important to get this right, even though it requires care.
1881
- previousPromise ? previousPromise.then(
1882
- callInvokeWithMethodAndArg,
1883
- // Avoid propagating failures to Promises returned by later
1884
- // invocations of the iterator.
1885
- callInvokeWithMethodAndArg
1886
- ) : callInvokeWithMethodAndArg();
1887
- }
1888
-
1889
- // Define the unified helper method that is used to implement .next,
1890
- // .throw, and .return (see defineIteratorMethods).
1891
- this._invoke = enqueue;
1892
- }
1893
-
1894
- defineIteratorMethods(AsyncIterator.prototype);
1895
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
1896
- return this;
1897
- });
1898
- exports.AsyncIterator = AsyncIterator;
1899
-
1900
- // Note that simple async functions are implemented on top of
1901
- // AsyncIterator objects; they just return a Promise for the value of
1902
- // the final result produced by the iterator.
1903
- exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
1904
- if (PromiseImpl === void 0) PromiseImpl = Promise;
1905
-
1906
- var iter = new AsyncIterator(
1907
- wrap(innerFn, outerFn, self, tryLocsList),
1908
- PromiseImpl
1909
- );
1910
-
1911
- return exports.isGeneratorFunction(outerFn)
1912
- ? iter // If outerFn is a generator, return the full iterator.
1913
- : iter.next().then(function(result) {
1914
- return result.done ? result.value : iter.next();
1915
- });
1916
- };
1917
-
1918
- function makeInvokeMethod(innerFn, self, context) {
1919
- var state = GenStateSuspendedStart;
1920
-
1921
- return function invoke(method, arg) {
1922
- if (state === GenStateExecuting) {
1923
- throw new Error("Generator is already running");
1924
- }
1925
-
1926
- if (state === GenStateCompleted) {
1927
- if (method === "throw") {
1928
- throw arg;
1929
- }
1930
-
1931
- // Be forgiving, per 25.3.3.3.3 of the spec:
1932
- // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
1933
- return doneResult();
1934
- }
1935
-
1936
- context.method = method;
1937
- context.arg = arg;
1938
-
1939
- while (true) {
1940
- var delegate = context.delegate;
1941
- if (delegate) {
1942
- var delegateResult = maybeInvokeDelegate(delegate, context);
1943
- if (delegateResult) {
1944
- if (delegateResult === ContinueSentinel) continue;
1945
- return delegateResult;
1946
- }
1947
- }
1948
-
1949
- if (context.method === "next") {
1950
- // Setting context._sent for legacy support of Babel's
1951
- // function.sent implementation.
1952
- context.sent = context._sent = context.arg;
1953
-
1954
- } else if (context.method === "throw") {
1955
- if (state === GenStateSuspendedStart) {
1956
- state = GenStateCompleted;
1957
- throw context.arg;
1958
- }
1959
-
1960
- context.dispatchException(context.arg);
1961
-
1962
- } else if (context.method === "return") {
1963
- context.abrupt("return", context.arg);
1964
- }
1965
-
1966
- state = GenStateExecuting;
1967
-
1968
- var record = tryCatch(innerFn, self, context);
1969
- if (record.type === "normal") {
1970
- // If an exception is thrown from innerFn, we leave state ===
1971
- // GenStateExecuting and loop back for another invocation.
1972
- state = context.done
1973
- ? GenStateCompleted
1974
- : GenStateSuspendedYield;
1975
-
1976
- if (record.arg === ContinueSentinel) {
1977
- continue;
1978
- }
1979
-
1980
- return {
1981
- value: record.arg,
1982
- done: context.done
1983
- };
1984
-
1985
- } else if (record.type === "throw") {
1986
- state = GenStateCompleted;
1987
- // Dispatch the exception by looping back around to the
1988
- // context.dispatchException(context.arg) call above.
1989
- context.method = "throw";
1990
- context.arg = record.arg;
1991
- }
1992
- }
1993
- };
1994
- }
1995
-
1996
- // Call delegate.iterator[context.method](context.arg) and handle the
1997
- // result, either by returning a { value, done } result from the
1998
- // delegate iterator, or by modifying context.method and context.arg,
1999
- // setting context.delegate to null, and returning the ContinueSentinel.
2000
- function maybeInvokeDelegate(delegate, context) {
2001
- var method = delegate.iterator[context.method];
2002
- if (method === undefined$1) {
2003
- // A .throw or .return when the delegate iterator has no .throw
2004
- // method always terminates the yield* loop.
2005
- context.delegate = null;
2006
-
2007
- if (context.method === "throw") {
2008
- // Note: ["return"] must be used for ES3 parsing compatibility.
2009
- if (delegate.iterator["return"]) {
2010
- // If the delegate iterator has a return method, give it a
2011
- // chance to clean up.
2012
- context.method = "return";
2013
- context.arg = undefined$1;
2014
- maybeInvokeDelegate(delegate, context);
2015
-
2016
- if (context.method === "throw") {
2017
- // If maybeInvokeDelegate(context) changed context.method from
2018
- // "return" to "throw", let that override the TypeError below.
2019
- return ContinueSentinel;
2020
- }
2021
- }
2022
-
2023
- context.method = "throw";
2024
- context.arg = new TypeError(
2025
- "The iterator does not provide a 'throw' method");
2026
- }
2027
-
2028
- return ContinueSentinel;
2029
- }
2030
-
2031
- var record = tryCatch(method, delegate.iterator, context.arg);
2032
-
2033
- if (record.type === "throw") {
2034
- context.method = "throw";
2035
- context.arg = record.arg;
2036
- context.delegate = null;
2037
- return ContinueSentinel;
2038
- }
2039
-
2040
- var info = record.arg;
2041
-
2042
- if (! info) {
2043
- context.method = "throw";
2044
- context.arg = new TypeError("iterator result is not an object");
2045
- context.delegate = null;
2046
- return ContinueSentinel;
2047
- }
2048
-
2049
- if (info.done) {
2050
- // Assign the result of the finished delegate to the temporary
2051
- // variable specified by delegate.resultName (see delegateYield).
2052
- context[delegate.resultName] = info.value;
2053
-
2054
- // Resume execution at the desired location (see delegateYield).
2055
- context.next = delegate.nextLoc;
2056
-
2057
- // If context.method was "throw" but the delegate handled the
2058
- // exception, let the outer generator proceed normally. If
2059
- // context.method was "next", forget context.arg since it has been
2060
- // "consumed" by the delegate iterator. If context.method was
2061
- // "return", allow the original .return call to continue in the
2062
- // outer generator.
2063
- if (context.method !== "return") {
2064
- context.method = "next";
2065
- context.arg = undefined$1;
2066
- }
2067
-
2068
- } else {
2069
- // Re-yield the result returned by the delegate method.
2070
- return info;
2071
- }
2072
-
2073
- // The delegate iterator is finished, so forget it and continue with
2074
- // the outer generator.
2075
- context.delegate = null;
2076
- return ContinueSentinel;
2077
- }
2078
-
2079
- // Define Generator.prototype.{next,throw,return} in terms of the
2080
- // unified ._invoke helper method.
2081
- defineIteratorMethods(Gp);
2082
-
2083
- define(Gp, toStringTagSymbol, "Generator");
2084
-
2085
- // A Generator should always return itself as the iterator object when the
2086
- // @@iterator function is called on it. Some browsers' implementations of the
2087
- // iterator prototype chain incorrectly implement this, causing the Generator
2088
- // object to not be returned from this call. This ensures that doesn't happen.
2089
- // See https://github.com/facebook/regenerator/issues/274 for more details.
2090
- define(Gp, iteratorSymbol, function() {
2091
- return this;
2092
- });
2093
-
2094
- define(Gp, "toString", function() {
2095
- return "[object Generator]";
2096
- });
2097
-
2098
- function pushTryEntry(locs) {
2099
- var entry = { tryLoc: locs[0] };
2100
-
2101
- if (1 in locs) {
2102
- entry.catchLoc = locs[1];
2103
- }
2104
-
2105
- if (2 in locs) {
2106
- entry.finallyLoc = locs[2];
2107
- entry.afterLoc = locs[3];
2108
- }
2109
-
2110
- this.tryEntries.push(entry);
2111
- }
2112
-
2113
- function resetTryEntry(entry) {
2114
- var record = entry.completion || {};
2115
- record.type = "normal";
2116
- delete record.arg;
2117
- entry.completion = record;
2118
- }
2119
-
2120
- function Context(tryLocsList) {
2121
- // The root entry object (effectively a try statement without a catch
2122
- // or a finally block) gives us a place to store values thrown from
2123
- // locations where there is no enclosing try statement.
2124
- this.tryEntries = [{ tryLoc: "root" }];
2125
- tryLocsList.forEach(pushTryEntry, this);
2126
- this.reset(true);
2127
- }
2128
-
2129
- exports.keys = function(object) {
2130
- var keys = [];
2131
- for (var key in object) {
2132
- keys.push(key);
2133
- }
2134
- keys.reverse();
2135
-
2136
- // Rather than returning an object with a next method, we keep
2137
- // things simple and return the next function itself.
2138
- return function next() {
2139
- while (keys.length) {
2140
- var key = keys.pop();
2141
- if (key in object) {
2142
- next.value = key;
2143
- next.done = false;
2144
- return next;
2145
- }
2146
- }
2147
-
2148
- // To avoid creating an additional object, we just hang the .value
2149
- // and .done properties off the next function object itself. This
2150
- // also ensures that the minifier will not anonymize the function.
2151
- next.done = true;
2152
- return next;
2153
- };
2154
- };
2155
-
2156
- function values(iterable) {
2157
- if (iterable) {
2158
- var iteratorMethod = iterable[iteratorSymbol];
2159
- if (iteratorMethod) {
2160
- return iteratorMethod.call(iterable);
2161
- }
2162
-
2163
- if (typeof iterable.next === "function") {
2164
- return iterable;
2165
- }
2166
-
2167
- if (!isNaN(iterable.length)) {
2168
- var i = -1, next = function next() {
2169
- while (++i < iterable.length) {
2170
- if (hasOwn.call(iterable, i)) {
2171
- next.value = iterable[i];
2172
- next.done = false;
2173
- return next;
2174
- }
2175
- }
2176
-
2177
- next.value = undefined$1;
2178
- next.done = true;
2179
-
2180
- return next;
2181
- };
2182
-
2183
- return next.next = next;
2184
- }
2185
- }
2186
-
2187
- // Return an iterator with no values.
2188
- return { next: doneResult };
2189
- }
2190
- exports.values = values;
2191
-
2192
- function doneResult() {
2193
- return { value: undefined$1, done: true };
2194
- }
2195
-
2196
- Context.prototype = {
2197
- constructor: Context,
2198
-
2199
- reset: function(skipTempReset) {
2200
- this.prev = 0;
2201
- this.next = 0;
2202
- // Resetting context._sent for legacy support of Babel's
2203
- // function.sent implementation.
2204
- this.sent = this._sent = undefined$1;
2205
- this.done = false;
2206
- this.delegate = null;
2207
-
2208
- this.method = "next";
2209
- this.arg = undefined$1;
2210
-
2211
- this.tryEntries.forEach(resetTryEntry);
2212
-
2213
- if (!skipTempReset) {
2214
- for (var name in this) {
2215
- // Not sure about the optimal order of these conditions:
2216
- if (name.charAt(0) === "t" &&
2217
- hasOwn.call(this, name) &&
2218
- !isNaN(+name.slice(1))) {
2219
- this[name] = undefined$1;
2220
- }
2221
- }
2222
- }
2223
- },
2224
-
2225
- stop: function() {
2226
- this.done = true;
2227
-
2228
- var rootEntry = this.tryEntries[0];
2229
- var rootRecord = rootEntry.completion;
2230
- if (rootRecord.type === "throw") {
2231
- throw rootRecord.arg;
2232
- }
2233
-
2234
- return this.rval;
2235
- },
2236
-
2237
- dispatchException: function(exception) {
2238
- if (this.done) {
2239
- throw exception;
2240
- }
2241
-
2242
- var context = this;
2243
- function handle(loc, caught) {
2244
- record.type = "throw";
2245
- record.arg = exception;
2246
- context.next = loc;
2247
-
2248
- if (caught) {
2249
- // If the dispatched exception was caught by a catch block,
2250
- // then let that catch block handle the exception normally.
2251
- context.method = "next";
2252
- context.arg = undefined$1;
2253
- }
2254
-
2255
- return !! caught;
2256
- }
2257
-
2258
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2259
- var entry = this.tryEntries[i];
2260
- var record = entry.completion;
2261
-
2262
- if (entry.tryLoc === "root") {
2263
- // Exception thrown outside of any try block that could handle
2264
- // it, so set the completion value of the entire function to
2265
- // throw the exception.
2266
- return handle("end");
2267
- }
2268
-
2269
- if (entry.tryLoc <= this.prev) {
2270
- var hasCatch = hasOwn.call(entry, "catchLoc");
2271
- var hasFinally = hasOwn.call(entry, "finallyLoc");
2272
-
2273
- if (hasCatch && hasFinally) {
2274
- if (this.prev < entry.catchLoc) {
2275
- return handle(entry.catchLoc, true);
2276
- } else if (this.prev < entry.finallyLoc) {
2277
- return handle(entry.finallyLoc);
2278
- }
2279
-
2280
- } else if (hasCatch) {
2281
- if (this.prev < entry.catchLoc) {
2282
- return handle(entry.catchLoc, true);
2283
- }
2284
-
2285
- } else if (hasFinally) {
2286
- if (this.prev < entry.finallyLoc) {
2287
- return handle(entry.finallyLoc);
2288
- }
2289
-
2290
- } else {
2291
- throw new Error("try statement without catch or finally");
2292
- }
2293
- }
2294
- }
2295
- },
2296
-
2297
- abrupt: function(type, arg) {
2298
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2299
- var entry = this.tryEntries[i];
2300
- if (entry.tryLoc <= this.prev &&
2301
- hasOwn.call(entry, "finallyLoc") &&
2302
- this.prev < entry.finallyLoc) {
2303
- var finallyEntry = entry;
2304
- break;
2305
- }
2306
- }
2307
-
2308
- if (finallyEntry &&
2309
- (type === "break" ||
2310
- type === "continue") &&
2311
- finallyEntry.tryLoc <= arg &&
2312
- arg <= finallyEntry.finallyLoc) {
2313
- // Ignore the finally entry if control is not jumping to a
2314
- // location outside the try/catch block.
2315
- finallyEntry = null;
2316
- }
2317
-
2318
- var record = finallyEntry ? finallyEntry.completion : {};
2319
- record.type = type;
2320
- record.arg = arg;
2321
-
2322
- if (finallyEntry) {
2323
- this.method = "next";
2324
- this.next = finallyEntry.finallyLoc;
2325
- return ContinueSentinel;
2326
- }
2327
-
2328
- return this.complete(record);
2329
- },
2330
-
2331
- complete: function(record, afterLoc) {
2332
- if (record.type === "throw") {
2333
- throw record.arg;
2334
- }
2335
-
2336
- if (record.type === "break" ||
2337
- record.type === "continue") {
2338
- this.next = record.arg;
2339
- } else if (record.type === "return") {
2340
- this.rval = this.arg = record.arg;
2341
- this.method = "return";
2342
- this.next = "end";
2343
- } else if (record.type === "normal" && afterLoc) {
2344
- this.next = afterLoc;
2345
- }
2346
-
2347
- return ContinueSentinel;
2348
- },
53
+ var Twitter = function Twitter(_ref) {
54
+ var _ref$color = _ref.color,
55
+ color = _ref$color === void 0 ? "#1CB7EB" : _ref$color;
56
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
57
+ xmlns: "http://www.w3.org/2000/svg",
58
+ width: "24",
59
+ height: "24",
60
+ viewBox: "0 0 24 24"
61
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
62
+ fill: color,
63
+ d: "M19.137 8.594c.023.094.035.246.035.457 0 1.687-.41 3.316-1.23 4.887-.844 1.664-2.028 2.988-3.551 3.972-1.664 1.102-3.575 1.652-5.73 1.652-2.063 0-3.95-.55-5.661-1.652.258.024.55.035.879.035 1.71 0 3.246-.527 4.605-1.582-.82 0-1.54-.24-2.162-.72a3.673 3.673 0 01-1.283-1.811c.234.023.457.035.668.035.328 0 .656-.035.984-.105a3.724 3.724 0 01-2.109-1.301 3.542 3.542 0 01-.844-2.32v-.07a3.493 3.493 0 001.653.492 4.097 4.097 0 01-1.196-1.336 3.557 3.557 0 01-.457-1.776c0-.644.176-1.26.528-1.845a10.188 10.188 0 003.357 2.742 10.222 10.222 0 004.236 1.125 5.122 5.122 0 01-.07-.844c0-.656.164-1.272.492-1.846a3.615 3.615 0 011.336-1.353 3.568 3.568 0 011.828-.492c.54 0 1.037.105 1.494.316.457.21.862.492 1.213.844a7.479 7.479 0 002.356-.88c-.281.868-.82 1.548-1.617 2.04A7.926 7.926 0 0021 6.66a8.132 8.132 0 01-1.863 1.934z"
64
+ }));
65
+ };
66
+ Twitter.propTypes = {
67
+ color: PropTypes__default["default"].string
68
+ };
2349
69
 
2350
- finish: function(finallyLoc) {
2351
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2352
- var entry = this.tryEntries[i];
2353
- if (entry.finallyLoc === finallyLoc) {
2354
- this.complete(entry.completion, entry.afterLoc);
2355
- resetTryEntry(entry);
2356
- return ContinueSentinel;
2357
- }
2358
- }
2359
- },
70
+ var Facebook = function Facebook(_ref) {
71
+ var _ref$color = _ref.color,
72
+ color = _ref$color === void 0 ? "#3B5998" : _ref$color;
73
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
74
+ xmlns: "http://www.w3.org/2000/svg",
75
+ width: "24",
76
+ height: "24",
77
+ viewBox: "0 0 24 24"
78
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
79
+ fill: color,
80
+ d: "M9.906 20v-7.156H7.5V10h2.406V7.75c0-1.187.334-2.11 1-2.766.667-.656 1.552-.984 2.656-.984.896 0 1.625.042 2.188.125v2.531h-1.5c-.563 0-.948.125-1.156.375-.167.209-.25.542-.25 1V10H15.5l-.375 2.844h-2.281V20H9.906z"
81
+ }));
82
+ };
83
+ Facebook.propTypes = {
84
+ color: PropTypes__default["default"].string
85
+ };
2360
86
 
2361
- "catch": function(tryLoc) {
2362
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2363
- var entry = this.tryEntries[i];
2364
- if (entry.tryLoc === tryLoc) {
2365
- var record = entry.completion;
2366
- if (record.type === "throw") {
2367
- var thrown = record.arg;
2368
- resetTryEntry(entry);
2369
- }
2370
- return thrown;
2371
- }
2372
- }
87
+ var LinkedIn = function LinkedIn(_ref) {
88
+ var _ref$color = _ref.color,
89
+ color = _ref$color === void 0 ? "#0077B5" : _ref$color;
90
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
91
+ xmlns: "http://www.w3.org/2000/svg",
92
+ width: "24",
93
+ height: "24",
94
+ viewBox: "0 0 24 24"
95
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
96
+ fill: color,
97
+ d: "M6.71 19H3.26V7.904h3.45V19zM5.005 6.383a1.926 1.926 0 01-1.41-.594A1.923 1.923 0 013 4.38c0-.544.198-1.014.594-1.41a1.926 1.926 0 011.41-.594c.544 0 1.014.198 1.41.594.396.396.594.866.594 1.41 0 .544-.198 1.014-.594 1.41a1.926 1.926 0 01-1.41.594zM19.625 19h-3.451v-5.418c0-.89-.074-1.534-.223-1.93-.272-.668-.804-1.002-1.596-1.002-.791 0-1.348.297-1.67.891-.247.445-.37 1.1-.37 1.967V19H8.9V7.904h3.303v1.522h.037c.248-.495.643-.903 1.188-1.225.593-.396 1.286-.594 2.078-.594 1.608 0 2.734.508 3.377 1.522.495.816.742 2.078.742 3.785V19z"
98
+ }));
99
+ };
100
+ LinkedIn.propTypes = {
101
+ color: PropTypes__default["default"].string
102
+ };
2373
103
 
2374
- // The context.catch method must only be called with a location
2375
- // argument that corresponds to a known catch block.
2376
- throw new Error("illegal catch attempt");
2377
- },
104
+ var WhatsApp = function WhatsApp(_ref) {
105
+ var _ref$color = _ref.color,
106
+ color = _ref$color === void 0 ? "#4AC959" : _ref$color;
107
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
108
+ xmlns: "http://www.w3.org/2000/svg",
109
+ width: "24",
110
+ height: "24",
111
+ viewBox: "0 0 24 24"
112
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
113
+ fill: color,
114
+ fillRule: "evenodd",
115
+ d: "M18.404 5.505a9.457 9.457 0 012.02 2.96 8.587 8.587 0 01.715 3.449 8.665 8.665 0 01-1.245 4.53 9.282 9.282 0 01-3.347 3.307 8.894 8.894 0 01-4.552 1.225 8.835 8.835 0 01-4.327-1.102l-4.817 1.265 1.307-4.694a8.775 8.775 0 01-1.225-4.531 8.77 8.77 0 011.225-4.531 9.17 9.17 0 013.306-3.307 8.781 8.781 0 014.531-1.224c1.198 0 2.347.23 3.45.693a9.515 9.515 0 012.959 1.96zm-6.409 13.96c1.36 0 2.626-.34 3.797-1.02a7.75 7.75 0 002.796-2.756 7.202 7.202 0 001.04-3.775c0-.98-.203-1.933-.612-2.858a8.088 8.088 0 00-1.694-2.47 7.565 7.565 0 00-2.449-1.653 7.405 7.405 0 00-2.878-.571c-1.36 0-2.62.34-3.776 1.02a7.646 7.646 0 00-2.755 2.756 7.316 7.316 0 00-1.02 3.776c0 1.442.394 2.775 1.183 4l.164.286-.776 2.775 2.857-.734.286.163a7.275 7.275 0 003.837 1.061zm4.123-5.674l.123.082c.19.082.299.15.326.204.027.054.034.19.02.408a2.11 2.11 0 01-.163.674c-.095.231-.313.462-.653.694-.34.231-.633.36-.878.388-.38.054-.748.054-1.102 0-.408-.082-.952-.273-1.632-.572-1.388-.599-2.654-1.714-3.797-3.347l-.081-.082c-.6-.843-.898-1.62-.898-2.327 0-.707.244-1.32.734-1.837l.041-.04c.19-.19.395-.286.612-.286h.49c.11 0 .198.02.266.061.068.041.129.143.183.306l.694 1.674c.082.163.095.3.041.408a2.832 2.832 0 01-.53.735.917.917 0 00-.205.265c-.027.068 0 .143.082.225.38.707.83 1.265 1.347 1.673.381.3.952.64 1.714 1.02.218.11.381.096.49-.04.354-.408.599-.707.735-.898.054-.109.123-.163.204-.163.082 0 .177.013.286.04.218.082.735.327 1.551.735z"
116
+ }));
117
+ };
118
+ WhatsApp.propTypes = {
119
+ color: PropTypes__default["default"].string
120
+ };
2378
121
 
2379
- delegateYield: function(iterable, resultName, nextLoc) {
2380
- this.delegate = {
2381
- iterator: values(iterable),
2382
- resultName: resultName,
2383
- nextLoc: nextLoc
122
+ var getSocialIcons = function getSocialIcons(color, iconType) {
123
+ switch (iconType) {
124
+ case "plain-color-svg":
125
+ return {
126
+ facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
127
+ key: iconType
128
+ }),
129
+ twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
130
+ key: iconType
131
+ }),
132
+ linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
133
+ key: iconType
134
+ }),
135
+ whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
136
+ key: iconType
137
+ })
2384
138
  };
2385
139
 
2386
- if (this.method === "next") {
2387
- // Deliberately forget the last sent value so that we don't
2388
- // accidentally pass it on to the delegate.
2389
- this.arg = undefined$1;
2390
- }
2391
-
2392
- return ContinueSentinel;
2393
- }
2394
- };
2395
-
2396
- // Regardless of whether this script is executing as a CommonJS module
2397
- // or not, return the runtime object so that we can declare the variable
2398
- // regeneratorRuntime in the outer scope, which allows this module to be
2399
- // injected easily by `bin/regenerator --include-runtime script.js`.
2400
- return exports;
2401
-
2402
- }(
2403
- // If this script is executing as a CommonJS module, use module.exports
2404
- // as the regeneratorRuntime namespace. Otherwise create a new empty
2405
- // object. Either way, the resulting object will be used to initialize
2406
- // the regeneratorRuntime variable at the top of this file.
2407
- module.exports
2408
- ));
2409
-
2410
- try {
2411
- regeneratorRuntime = runtime;
2412
- } catch (accidentalStrictMode) {
2413
- // This module should not be running in strict mode, so the above
2414
- // assignment should always work unless something is misconfigured. Just
2415
- // in case runtime.js accidentally runs in strict mode, in modern engines
2416
- // we can explicitly access globalThis. In older engines we can escape
2417
- // strict mode using a global Function call. This could conceivably fail
2418
- // if a Content Security Policy forbids using Function, but in that case
2419
- // the proper solution is to fix the accidental strict mode problem. If
2420
- // you've misconfigured your bundler to force strict mode and applied a
2421
- // CSP to forbid Function, and you're not willing to fix either of those
2422
- // problems, please detail your unique predicament in a GitHub issue.
2423
- if (typeof globalThis === "object") {
2424
- globalThis.regeneratorRuntime = runtime;
2425
- } else {
2426
- Function("r", "regeneratorRuntime = r")(runtime);
2427
- }
2428
- }
2429
- });
2430
-
2431
- var regenerator = runtime_1;
2432
-
2433
- /**
2434
- * A specialized version of `_.reduce` for arrays without support for
2435
- * iteratee shorthands.
2436
- *
2437
- * @private
2438
- * @param {Array} [array] The array to iterate over.
2439
- * @param {Function} iteratee The function invoked per iteration.
2440
- * @param {*} [accumulator] The initial value.
2441
- * @param {boolean} [initAccum] Specify using the first element of `array` as
2442
- * the initial value.
2443
- * @returns {*} Returns the accumulated value.
2444
- */
2445
- function arrayReduce(array, iteratee, accumulator, initAccum) {
2446
- var index = -1,
2447
- length = array == null ? 0 : array.length;
2448
-
2449
- if (initAccum && length) {
2450
- accumulator = array[++index];
2451
- }
2452
- while (++index < length) {
2453
- accumulator = iteratee(accumulator, array[index], index, array);
2454
- }
2455
- return accumulator;
2456
- }
2457
-
2458
- var _arrayReduce = arrayReduce;
2459
-
2460
- /**
2461
- * The base implementation of `_.propertyOf` without support for deep paths.
2462
- *
2463
- * @private
2464
- * @param {Object} object The object to query.
2465
- * @returns {Function} Returns the new accessor function.
2466
- */
2467
- function basePropertyOf(object) {
2468
- return function(key) {
2469
- return object == null ? undefined : object[key];
2470
- };
2471
- }
2472
-
2473
- var _basePropertyOf = basePropertyOf;
2474
-
2475
- /** Used to map Latin Unicode letters to basic Latin letters. */
2476
- var deburredLetters = {
2477
- // Latin-1 Supplement block.
2478
- '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
2479
- '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
2480
- '\xc7': 'C', '\xe7': 'c',
2481
- '\xd0': 'D', '\xf0': 'd',
2482
- '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
2483
- '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
2484
- '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
2485
- '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
2486
- '\xd1': 'N', '\xf1': 'n',
2487
- '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
2488
- '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
2489
- '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
2490
- '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
2491
- '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
2492
- '\xc6': 'Ae', '\xe6': 'ae',
2493
- '\xde': 'Th', '\xfe': 'th',
2494
- '\xdf': 'ss',
2495
- // Latin Extended-A block.
2496
- '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
2497
- '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
2498
- '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
2499
- '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
2500
- '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
2501
- '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
2502
- '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
2503
- '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
2504
- '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
2505
- '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
2506
- '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
2507
- '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
2508
- '\u0134': 'J', '\u0135': 'j',
2509
- '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
2510
- '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
2511
- '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
2512
- '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
2513
- '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
2514
- '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
2515
- '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
2516
- '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
2517
- '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
2518
- '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
2519
- '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
2520
- '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
2521
- '\u0163': 't', '\u0165': 't', '\u0167': 't',
2522
- '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
2523
- '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
2524
- '\u0174': 'W', '\u0175': 'w',
2525
- '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
2526
- '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
2527
- '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
2528
- '\u0132': 'IJ', '\u0133': 'ij',
2529
- '\u0152': 'Oe', '\u0153': 'oe',
2530
- '\u0149': "'n", '\u017f': 's'
2531
- };
2532
-
2533
- /**
2534
- * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
2535
- * letters to basic Latin letters.
2536
- *
2537
- * @private
2538
- * @param {string} letter The matched letter to deburr.
2539
- * @returns {string} Returns the deburred letter.
2540
- */
2541
- var deburrLetter = _basePropertyOf(deburredLetters);
2542
-
2543
- var _deburrLetter = deburrLetter;
2544
-
2545
- /** Used to match Latin Unicode letters (excluding mathematical operators). */
2546
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
2547
-
2548
- /** Used to compose unicode character classes. */
2549
- var rsComboMarksRange$3 = '\\u0300-\\u036f',
2550
- reComboHalfMarksRange$3 = '\\ufe20-\\ufe2f',
2551
- rsComboSymbolsRange$3 = '\\u20d0-\\u20ff',
2552
- rsComboRange$3 = rsComboMarksRange$3 + reComboHalfMarksRange$3 + rsComboSymbolsRange$3;
2553
-
2554
- /** Used to compose unicode capture groups. */
2555
- var rsCombo$2 = '[' + rsComboRange$3 + ']';
2556
-
2557
- /**
2558
- * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
2559
- * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
2560
- */
2561
- var reComboMark = RegExp(rsCombo$2, 'g');
2562
-
2563
- /**
2564
- * Deburrs `string` by converting
2565
- * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
2566
- * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
2567
- * letters to basic Latin letters and removing
2568
- * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
2569
- *
2570
- * @static
2571
- * @memberOf _
2572
- * @since 3.0.0
2573
- * @category String
2574
- * @param {string} [string=''] The string to deburr.
2575
- * @returns {string} Returns the deburred string.
2576
- * @example
2577
- *
2578
- * _.deburr('déjà vu');
2579
- * // => 'deja vu'
2580
- */
2581
- function deburr(string) {
2582
- string = toString_1(string);
2583
- return string && string.replace(reLatin, _deburrLetter).replace(reComboMark, '');
2584
- }
2585
-
2586
- var deburr_1 = deburr;
2587
-
2588
- /** Used to match words composed of alphanumeric characters. */
2589
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
2590
-
2591
- /**
2592
- * Splits an ASCII `string` into an array of its words.
2593
- *
2594
- * @private
2595
- * @param {string} The string to inspect.
2596
- * @returns {Array} Returns the words of `string`.
2597
- */
2598
- function asciiWords(string) {
2599
- return string.match(reAsciiWord) || [];
2600
- }
2601
-
2602
- var _asciiWords = asciiWords;
2603
-
2604
- /** Used to detect strings that need a more robust regexp to match words. */
2605
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
2606
-
2607
- /**
2608
- * Checks if `string` contains a word composed of Unicode symbols.
2609
- *
2610
- * @private
2611
- * @param {string} string The string to inspect.
2612
- * @returns {boolean} Returns `true` if a word is found, else `false`.
2613
- */
2614
- function hasUnicodeWord(string) {
2615
- return reHasUnicodeWord.test(string);
2616
- }
2617
-
2618
- var _hasUnicodeWord = hasUnicodeWord;
2619
-
2620
- /** Used to compose unicode character classes. */
2621
- var rsAstralRange$2 = '\\ud800-\\udfff',
2622
- rsComboMarksRange$2 = '\\u0300-\\u036f',
2623
- reComboHalfMarksRange$2 = '\\ufe20-\\ufe2f',
2624
- rsComboSymbolsRange$2 = '\\u20d0-\\u20ff',
2625
- rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2,
2626
- rsDingbatRange = '\\u2700-\\u27bf',
2627
- rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
2628
- rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
2629
- rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
2630
- rsPunctuationRange = '\\u2000-\\u206f',
2631
- rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000',
2632
- rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
2633
- rsVarRange$2 = '\\ufe0e\\ufe0f',
2634
- rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
2635
-
2636
- /** Used to compose unicode capture groups. */
2637
- var rsApos$1 = "['\u2019]",
2638
- rsBreak = '[' + rsBreakRange + ']',
2639
- rsCombo$1 = '[' + rsComboRange$2 + ']',
2640
- rsDigits = '\\d+',
2641
- rsDingbat = '[' + rsDingbatRange + ']',
2642
- rsLower = '[' + rsLowerRange + ']',
2643
- rsMisc = '[^' + rsAstralRange$2 + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
2644
- rsFitz$1 = '\\ud83c[\\udffb-\\udfff]',
2645
- rsModifier$1 = '(?:' + rsCombo$1 + '|' + rsFitz$1 + ')',
2646
- rsNonAstral$1 = '[^' + rsAstralRange$2 + ']',
2647
- rsRegional$1 = '(?:\\ud83c[\\udde6-\\uddff]){2}',
2648
- rsSurrPair$1 = '[\\ud800-\\udbff][\\udc00-\\udfff]',
2649
- rsUpper = '[' + rsUpperRange + ']',
2650
- rsZWJ$2 = '\\u200d';
2651
-
2652
- /** Used to compose unicode regexes. */
2653
- var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
2654
- rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
2655
- rsOptContrLower = '(?:' + rsApos$1 + '(?:d|ll|m|re|s|t|ve))?',
2656
- rsOptContrUpper = '(?:' + rsApos$1 + '(?:D|LL|M|RE|S|T|VE))?',
2657
- reOptMod$1 = rsModifier$1 + '?',
2658
- rsOptVar$1 = '[' + rsVarRange$2 + ']?',
2659
- rsOptJoin$1 = '(?:' + rsZWJ$2 + '(?:' + [rsNonAstral$1, rsRegional$1, rsSurrPair$1].join('|') + ')' + rsOptVar$1 + reOptMod$1 + ')*',
2660
- rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
2661
- rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
2662
- rsSeq$1 = rsOptVar$1 + reOptMod$1 + rsOptJoin$1,
2663
- rsEmoji = '(?:' + [rsDingbat, rsRegional$1, rsSurrPair$1].join('|') + ')' + rsSeq$1;
2664
-
2665
- /** Used to match complex or compound words. */
2666
- var reUnicodeWord = RegExp([
2667
- rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
2668
- rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
2669
- rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
2670
- rsUpper + '+' + rsOptContrUpper,
2671
- rsOrdUpper,
2672
- rsOrdLower,
2673
- rsDigits,
2674
- rsEmoji
2675
- ].join('|'), 'g');
2676
-
2677
- /**
2678
- * Splits a Unicode `string` into an array of its words.
2679
- *
2680
- * @private
2681
- * @param {string} The string to inspect.
2682
- * @returns {Array} Returns the words of `string`.
2683
- */
2684
- function unicodeWords(string) {
2685
- return string.match(reUnicodeWord) || [];
2686
- }
2687
-
2688
- var _unicodeWords = unicodeWords;
2689
-
2690
- /**
2691
- * Splits `string` into an array of its words.
2692
- *
2693
- * @static
2694
- * @memberOf _
2695
- * @since 3.0.0
2696
- * @category String
2697
- * @param {string} [string=''] The string to inspect.
2698
- * @param {RegExp|string} [pattern] The pattern to match words.
2699
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
2700
- * @returns {Array} Returns the words of `string`.
2701
- * @example
2702
- *
2703
- * _.words('fred, barney, & pebbles');
2704
- * // => ['fred', 'barney', 'pebbles']
2705
- *
2706
- * _.words('fred, barney, & pebbles', /[^, ]+/g);
2707
- * // => ['fred', 'barney', '&', 'pebbles']
2708
- */
2709
- function words(string, pattern, guard) {
2710
- string = toString_1(string);
2711
- pattern = guard ? undefined : pattern;
2712
-
2713
- if (pattern === undefined) {
2714
- return _hasUnicodeWord(string) ? _unicodeWords(string) : _asciiWords(string);
140
+ default:
141
+ return {
142
+ facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
143
+ color: color,
144
+ key: iconType
145
+ }),
146
+ twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
147
+ color: color,
148
+ key: iconType
149
+ }),
150
+ linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
151
+ color: color,
152
+ key: iconType
153
+ }),
154
+ whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
155
+ color: color,
156
+ key: iconType
157
+ })
158
+ };
2715
159
  }
2716
- return string.match(pattern) || [];
2717
- }
2718
-
2719
- var words_1 = words;
2720
-
2721
- /** Used to compose unicode capture groups. */
2722
- var rsApos = "['\u2019]";
160
+ };
2723
161
 
2724
- /** Used to match apostrophes. */
2725
- var reApos = RegExp(rsApos, 'g');
162
+ var socialShareData = function socialShareData(_ref) {
163
+ var fbUrl = _ref.fbUrl,
164
+ twitterUrl = _ref.twitterUrl,
165
+ linkedinUrl = _ref.linkedinUrl,
166
+ whatsappUrl = _ref.whatsappUrl,
167
+ iconColor = _ref.iconColor,
168
+ _ref$iconType = _ref.iconType,
169
+ iconType = _ref$iconType === void 0 ? "plain-svg" : _ref$iconType;
170
+ var socialIcons = getSocialIcons(iconColor, iconType);
2726
171
 
2727
- /**
2728
- * Creates a function like `_.camelCase`.
2729
- *
2730
- * @private
2731
- * @param {Function} callback The function to combine each word.
2732
- * @returns {Function} Returns the new compounder function.
2733
- */
2734
- function createCompounder(callback) {
2735
- return function(string) {
2736
- return _arrayReduce(words_1(deburr_1(string).replace(reApos, '')), callback, '');
172
+ var getOptions = function getOptions() {
173
+ return [{
174
+ name: "facebook",
175
+ url: fbUrl,
176
+ icon: socialIcons["facebook"],
177
+ text: "Facebook",
178
+ bgColor: "#4e71a8",
179
+ alt: "fb icon"
180
+ }, {
181
+ name: "twitter",
182
+ url: twitterUrl,
183
+ icon: socialIcons["twitter"],
184
+ text: "Twitter",
185
+ bgColor: "#1db7eb",
186
+ alt: "twitter icon"
187
+ }, {
188
+ name: "linkedin",
189
+ url: linkedinUrl,
190
+ icon: socialIcons["linkedin"],
191
+ text: "LinkedIn",
192
+ bgColor: "#0077B5",
193
+ alt: "linkedin icon"
194
+ }, {
195
+ name: "whatsapp",
196
+ url: whatsappUrl,
197
+ icon: socialIcons["whatsapp"],
198
+ text: "Whatsapp",
199
+ bgColor: "#25d366",
200
+ alt: "whatsapp share"
201
+ }];
2737
202
  };
2738
- }
2739
-
2740
- var _createCompounder = createCompounder;
2741
-
2742
- /**
2743
- * Converts `string`, as space separated words, to upper case.
2744
- *
2745
- * @static
2746
- * @memberOf _
2747
- * @since 4.0.0
2748
- * @category String
2749
- * @param {string} [string=''] The string to convert.
2750
- * @returns {string} Returns the upper cased string.
2751
- * @example
2752
- *
2753
- * _.upperCase('--foo-bar');
2754
- * // => 'FOO BAR'
2755
- *
2756
- * _.upperCase('fooBar');
2757
- * // => 'FOO BAR'
2758
- *
2759
- * _.upperCase('__foo_bar__');
2760
- * // => 'FOO BAR'
2761
- */
2762
- var upperCase = _createCompounder(function(result, word, index) {
2763
- return result + (index ? ' ' : '') + word.toUpperCase();
2764
- });
2765
203
 
2766
- var upperCase_1 = upperCase;
2767
-
2768
- /**
2769
- * Converts `string`, as space separated words, to lower case.
2770
- *
2771
- * @static
2772
- * @memberOf _
2773
- * @since 4.0.0
2774
- * @category String
2775
- * @param {string} [string=''] The string to convert.
2776
- * @returns {string} Returns the lower cased string.
2777
- * @example
2778
- *
2779
- * _.lowerCase('--Foo-Bar--');
2780
- * // => 'foo bar'
2781
- *
2782
- * _.lowerCase('fooBar');
2783
- * // => 'foo bar'
2784
- *
2785
- * _.lowerCase('__FOO_BAR__');
2786
- * // => 'foo bar'
2787
- */
2788
- var lowerCase = _createCompounder(function(result, word, index) {
2789
- return result + (index ? ' ' : '') + word.toLowerCase();
2790
- });
204
+ return getOptions();
205
+ };
2791
206
 
2792
- var lowerCase_1 = lowerCase;
207
+ var CloseIcon = function CloseIcon(_ref) {
208
+ var _ref$color = _ref.color,
209
+ color = _ref$color === void 0 ? "#333" : _ref$color;
210
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
211
+ xmlns: "http://www.w3.org/2000/svg",
212
+ width: "24",
213
+ height: "24",
214
+ viewBox: "0 0 24 24"
215
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
216
+ fill: "none",
217
+ stroke: color,
218
+ strokeLinecap: "square",
219
+ strokeWidth: "2"
220
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
221
+ d: "M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"
222
+ })));
223
+ };
224
+ CloseIcon.propTypes = {
225
+ color: PropTypes__default["default"].string
226
+ };
2793
227
 
2794
228
  function truncate() {
2795
229
  var string = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
@@ -2817,7 +251,7 @@ var timestampToFormat = function timestampToFormat(value, unit, suffix, timestam
2817
251
  var localizedMonth = month;
2818
252
 
2819
253
  if (isUpperCase) {
2820
- localizedMonth = upperCase_1(month);
254
+ localizedMonth = lodash.upperCase(month);
2821
255
  }
2822
256
 
2823
257
  var year = dateTime.getFullYear();
@@ -2830,7 +264,7 @@ var timestampToFormat = function timestampToFormat(value, unit, suffix, timestam
2830
264
  var timetoShow;
2831
265
 
2832
266
  if (localizedMonths) {
2833
- localizedMonth = get_1(localizedMonths, [lowerCase_1(month)]) || month;
267
+ localizedMonth = lodash.get(localizedMonths, [lodash.lowerCase(month)]) || month;
2834
268
  }
2835
269
 
2836
270
  if (localizedMeridiem) {
@@ -2860,17 +294,17 @@ function formatter(value, unit, suffix, date, config) {
2860
294
  var showDateForUnits = ["day", "week", "month", "year"]; // suffix here refers to ago
2861
295
  // unit here refers to seconds, minute, minutes,...
2862
296
 
2863
- var localizedSuffix = get_1(config, ["localizedPublishTime", suffix]) || suffix;
297
+ var localizedSuffix = lodash.get(config, ["localizedPublishTime", suffix]) || suffix;
2864
298
  var localizedUnitOfTime;
2865
299
 
2866
300
  if (unit === "hour" && value > 23 || showDateForUnits.indexOf(unit) !== -1) {
2867
301
  return timestampToFormat(value, unit, suffix, date, config);
2868
302
  } else if (value > 1) {
2869
- localizedUnitOfTime = get_1(config, ["localizedPublishTime", "".concat(unit, "s")]) || "".concat(unit, "s");
303
+ localizedUnitOfTime = lodash.get(config, ["localizedPublishTime", "".concat(unit, "s")]) || "".concat(unit, "s");
2870
304
  return "".concat(value, " ").concat(localizedUnitOfTime, " ").concat(localizedSuffix);
2871
305
  }
2872
306
 
2873
- localizedUnitOfTime = get_1(config, ["localizedPublishTime", unit]) || unit;
307
+ localizedUnitOfTime = lodash.get(config, ["localizedPublishTime", unit]) || unit;
2874
308
  return "".concat(value, " ").concat(localizedUnitOfTime, " ").concat(localizedSuffix, " ");
2875
309
  }
2876
310
 
@@ -2923,10 +357,10 @@ var clientWidths = {
2923
357
  tablet: 1024
2924
358
  };
2925
359
  var clientWidth = function clientWidth(device) {
2926
- var foundDeviceWidth = get_1(clientWidths, device);
360
+ var foundDeviceWidth = lodash.get(clientWidths, device);
2927
361
 
2928
362
  if (foundDeviceWidth) {
2929
- return get_1(global, "document.documentElement.clientWidth") <= foundDeviceWidth;
363
+ return lodash.get(global, "document.documentElement.clientWidth") <= foundDeviceWidth;
2930
364
  }
2931
365
 
2932
366
  return false;
@@ -2956,7 +390,7 @@ var getSlug = function getSlug(collection) {
2956
390
  var isSection = collection.template === "section";
2957
391
 
2958
392
  if (isSection) {
2959
- var sectionId = get_1(collection, ["metadata", "section", "0", "id"], "");
393
+ var sectionId = lodash.get(collection, ["metadata", "section", "0", "id"], "");
2960
394
  var sections = config.sections;
2961
395
  var section = sections && sections.find(function (section) {
2962
396
  return section.id === sectionId;
@@ -2972,7 +406,7 @@ function isExternalStory() {
2972
406
  storyTemplate = _story$storyTemplate === void 0 ? "" : _story$storyTemplate,
2973
407
  _story$metadata = story.metadata,
2974
408
  metadata = _story$metadata === void 0 ? {} : _story$metadata;
2975
- return storyTemplate === "news-elsewhere" ? get_1(metadata, ["reference-url"], "") : "";
409
+ return storyTemplate === "news-elsewhere" ? lodash.get(metadata, ["reference-url"], "") : "";
2976
410
  } // Adds target='_blank' attribute to anchor tags if not present
2977
411
 
2978
412
  var updateContentLinks = function updateContentLinks(content) {
@@ -2989,7 +423,7 @@ var updateContentLinks = function updateContentLinks(content) {
2989
423
  };
2990
424
  var isEmpty = function isEmpty(value) {
2991
425
  return value == null || // From standard.js: Always use === - but value == null is allowed to check null || undefined
2992
- _typeof(value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
426
+ _typeof__default["default"](value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
2993
427
  };
2994
428
  var shapeConfig = PropTypes__default["default"].shape({
2995
429
  "sketches-host": PropTypes__default["default"].string,
@@ -3003,7 +437,7 @@ var shapeStory = PropTypes__default["default"].shape({
3003
437
  });
3004
438
  var getStoryUrl = function getStoryUrl(story) {
3005
439
  var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
3006
- return get_1(story, ["story-template"]) === "news-elsewhere" ? get_1(story, ["metadata", "reference-url"], "") : story.url || defaultValue;
440
+ return lodash.get(story, ["story-template"]) === "news-elsewhere" ? lodash.get(story, ["metadata", "reference-url"], "") : story.url || defaultValue;
3007
441
  };
3008
442
  var facebookMobileVideoResizeFix = function facebookMobileVideoResizeFix() {
3009
443
  if (typeof window !== "undefined" && window.matchMedia && window.matchMedia("(max-width: 767px)").matches) {
@@ -3048,11 +482,11 @@ var generateNavigateSlug = function generateNavigateSlug() {
3048
482
  return "/";
3049
483
  };
3050
484
  var getCollectionData = /*#__PURE__*/function () {
3051
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(collectionSlug) {
485
+ var _ref = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(collectionSlug) {
3052
486
  var mountAtPrefix,
3053
487
  result,
3054
488
  _args = arguments;
3055
- return regenerator.wrap(function _callee$(_context) {
489
+ return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
3056
490
  while (1) {
3057
491
  switch (_context.prev = _context.next) {
3058
492
  case 0:
@@ -3169,7 +603,7 @@ var SocialSharePopup = function SocialSharePopup(_ref) {
3169
603
  };
3170
604
  var popupItemsList = socialShareData(options);
3171
605
  return /*#__PURE__*/React__default["default"].createElement("div", {
3172
- className: _getClassName("share-popup-wrapper ".concat(textColor), _styleModuleImportMap$A)
606
+ className: _getClassName__default["default"]("share-popup-wrapper ".concat(textColor), _styleModuleImportMap$A)
3173
607
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3174
608
  className: "social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD"
3175
609
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3222,249 +656,6 @@ ShareIcon.propTypes = {
3222
656
  color: PropTypes__default["default"].string
3223
657
  };
3224
658
 
3225
- /**
3226
- * The base implementation of `_.slice` without an iteratee call guard.
3227
- *
3228
- * @private
3229
- * @param {Array} array The array to slice.
3230
- * @param {number} [start=0] The start position.
3231
- * @param {number} [end=array.length] The end position.
3232
- * @returns {Array} Returns the slice of `array`.
3233
- */
3234
- function baseSlice(array, start, end) {
3235
- var index = -1,
3236
- length = array.length;
3237
-
3238
- if (start < 0) {
3239
- start = -start > length ? 0 : (length + start);
3240
- }
3241
- end = end > length ? length : end;
3242
- if (end < 0) {
3243
- end += length;
3244
- }
3245
- length = start > end ? 0 : ((end - start) >>> 0);
3246
- start >>>= 0;
3247
-
3248
- var result = Array(length);
3249
- while (++index < length) {
3250
- result[index] = array[index + start];
3251
- }
3252
- return result;
3253
- }
3254
-
3255
- var _baseSlice = baseSlice;
3256
-
3257
- /**
3258
- * Casts `array` to a slice if it's needed.
3259
- *
3260
- * @private
3261
- * @param {Array} array The array to inspect.
3262
- * @param {number} start The start position.
3263
- * @param {number} [end=array.length] The end position.
3264
- * @returns {Array} Returns the cast slice.
3265
- */
3266
- function castSlice(array, start, end) {
3267
- var length = array.length;
3268
- end = end === undefined ? length : end;
3269
- return (!start && end >= length) ? array : _baseSlice(array, start, end);
3270
- }
3271
-
3272
- var _castSlice = castSlice;
3273
-
3274
- /** Used to compose unicode character classes. */
3275
- var rsAstralRange$1 = '\\ud800-\\udfff',
3276
- rsComboMarksRange$1 = '\\u0300-\\u036f',
3277
- reComboHalfMarksRange$1 = '\\ufe20-\\ufe2f',
3278
- rsComboSymbolsRange$1 = '\\u20d0-\\u20ff',
3279
- rsComboRange$1 = rsComboMarksRange$1 + reComboHalfMarksRange$1 + rsComboSymbolsRange$1,
3280
- rsVarRange$1 = '\\ufe0e\\ufe0f';
3281
-
3282
- /** Used to compose unicode capture groups. */
3283
- var rsZWJ$1 = '\\u200d';
3284
-
3285
- /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
3286
- var reHasUnicode = RegExp('[' + rsZWJ$1 + rsAstralRange$1 + rsComboRange$1 + rsVarRange$1 + ']');
3287
-
3288
- /**
3289
- * Checks if `string` contains Unicode symbols.
3290
- *
3291
- * @private
3292
- * @param {string} string The string to inspect.
3293
- * @returns {boolean} Returns `true` if a symbol is found, else `false`.
3294
- */
3295
- function hasUnicode(string) {
3296
- return reHasUnicode.test(string);
3297
- }
3298
-
3299
- var _hasUnicode = hasUnicode;
3300
-
3301
- /**
3302
- * Converts an ASCII `string` to an array.
3303
- *
3304
- * @private
3305
- * @param {string} string The string to convert.
3306
- * @returns {Array} Returns the converted array.
3307
- */
3308
- function asciiToArray(string) {
3309
- return string.split('');
3310
- }
3311
-
3312
- var _asciiToArray = asciiToArray;
3313
-
3314
- /** Used to compose unicode character classes. */
3315
- var rsAstralRange = '\\ud800-\\udfff',
3316
- rsComboMarksRange = '\\u0300-\\u036f',
3317
- reComboHalfMarksRange = '\\ufe20-\\ufe2f',
3318
- rsComboSymbolsRange = '\\u20d0-\\u20ff',
3319
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
3320
- rsVarRange = '\\ufe0e\\ufe0f';
3321
-
3322
- /** Used to compose unicode capture groups. */
3323
- var rsAstral = '[' + rsAstralRange + ']',
3324
- rsCombo = '[' + rsComboRange + ']',
3325
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
3326
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
3327
- rsNonAstral = '[^' + rsAstralRange + ']',
3328
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
3329
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
3330
- rsZWJ = '\\u200d';
3331
-
3332
- /** Used to compose unicode regexes. */
3333
- var reOptMod = rsModifier + '?',
3334
- rsOptVar = '[' + rsVarRange + ']?',
3335
- rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
3336
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
3337
- rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
3338
-
3339
- /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
3340
- var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
3341
-
3342
- /**
3343
- * Converts a Unicode `string` to an array.
3344
- *
3345
- * @private
3346
- * @param {string} string The string to convert.
3347
- * @returns {Array} Returns the converted array.
3348
- */
3349
- function unicodeToArray(string) {
3350
- return string.match(reUnicode) || [];
3351
- }
3352
-
3353
- var _unicodeToArray = unicodeToArray;
3354
-
3355
- /**
3356
- * Converts `string` to an array.
3357
- *
3358
- * @private
3359
- * @param {string} string The string to convert.
3360
- * @returns {Array} Returns the converted array.
3361
- */
3362
- function stringToArray(string) {
3363
- return _hasUnicode(string)
3364
- ? _unicodeToArray(string)
3365
- : _asciiToArray(string);
3366
- }
3367
-
3368
- var _stringToArray = stringToArray;
3369
-
3370
- /**
3371
- * Creates a function like `_.lowerFirst`.
3372
- *
3373
- * @private
3374
- * @param {string} methodName The name of the `String` case method to use.
3375
- * @returns {Function} Returns the new case function.
3376
- */
3377
- function createCaseFirst(methodName) {
3378
- return function(string) {
3379
- string = toString_1(string);
3380
-
3381
- var strSymbols = _hasUnicode(string)
3382
- ? _stringToArray(string)
3383
- : undefined;
3384
-
3385
- var chr = strSymbols
3386
- ? strSymbols[0]
3387
- : string.charAt(0);
3388
-
3389
- var trailing = strSymbols
3390
- ? _castSlice(strSymbols, 1).join('')
3391
- : string.slice(1);
3392
-
3393
- return chr[methodName]() + trailing;
3394
- };
3395
- }
3396
-
3397
- var _createCaseFirst = createCaseFirst;
3398
-
3399
- /**
3400
- * Converts the first character of `string` to upper case.
3401
- *
3402
- * @static
3403
- * @memberOf _
3404
- * @since 4.0.0
3405
- * @category String
3406
- * @param {string} [string=''] The string to convert.
3407
- * @returns {string} Returns the converted string.
3408
- * @example
3409
- *
3410
- * _.upperFirst('fred');
3411
- * // => 'Fred'
3412
- *
3413
- * _.upperFirst('FRED');
3414
- * // => 'FRED'
3415
- */
3416
- var upperFirst = _createCaseFirst('toUpperCase');
3417
-
3418
- var upperFirst_1 = upperFirst;
3419
-
3420
- /**
3421
- * Converts the first character of `string` to upper case and the remaining
3422
- * to lower case.
3423
- *
3424
- * @static
3425
- * @memberOf _
3426
- * @since 3.0.0
3427
- * @category String
3428
- * @param {string} [string=''] The string to capitalize.
3429
- * @returns {string} Returns the capitalized string.
3430
- * @example
3431
- *
3432
- * _.capitalize('FRED');
3433
- * // => 'Fred'
3434
- */
3435
- function capitalize(string) {
3436
- return upperFirst_1(toString_1(string).toLowerCase());
3437
- }
3438
-
3439
- var capitalize_1 = capitalize;
3440
-
3441
- /**
3442
- * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
3443
- *
3444
- * @static
3445
- * @memberOf _
3446
- * @since 3.0.0
3447
- * @category String
3448
- * @param {string} [string=''] The string to convert.
3449
- * @returns {string} Returns the camel cased string.
3450
- * @example
3451
- *
3452
- * _.camelCase('Foo Bar');
3453
- * // => 'fooBar'
3454
- *
3455
- * _.camelCase('--foo-bar--');
3456
- * // => 'fooBar'
3457
- *
3458
- * _.camelCase('__FOO_BAR__');
3459
- * // => 'fooBar'
3460
- */
3461
- var camelCase = _createCompounder(function(result, word, index) {
3462
- word = word.toLowerCase();
3463
- return result + (index ? capitalize_1(word) : word);
3464
- });
3465
-
3466
- var camelCase_1 = camelCase;
3467
-
3468
659
  var _styleModuleImportMap$z = {
3469
660
  "./social-share-template.m.css": {
3470
661
  "desktop-view": "social-share-template-m_desktop-view__3TmkO",
@@ -3546,7 +737,7 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3546
737
  var iconsList = socialShareData(options);
3547
738
 
3548
739
  var _useState = React.useState(open),
3549
- _useState2 = _slicedToArray(_useState, 2),
740
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
3550
741
  isOpen = _useState2[0],
3551
742
  setIsOpen = _useState2[1];
3552
743
 
@@ -3572,12 +763,12 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3572
763
  return /*#__PURE__*/React__default["default"].createElement("div", {
3573
764
  className: "social-share-template-m_tablet-view__kATzi"
3574
765
  }, !isOpen && /*#__PURE__*/React__default["default"].createElement("ul", {
3575
- className: _getClassName("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$z)
766
+ className: _getClassName__default["default"]("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$z)
3576
767
  }, shareIcon()), isOpen && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3577
768
  className: "social-share-template-m_overlay__1nBp-",
3578
769
  onClick: clickHandler
3579
770
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3580
- className: "arr--popup " + _getClassName("popup-wrapper ".concat(isOpen ? "popup-open" : ""), _styleModuleImportMap$z)
771
+ className: "arr--popup " + _getClassName__default["default"]("popup-wrapper ".concat(isOpen ? "popup-open" : ""), _styleModuleImportMap$z)
3581
772
  }, /*#__PURE__*/React__default["default"].createElement(SocialSharePopup, {
3582
773
  fbUrl: fbUrl,
3583
774
  twitterUrl: twitterUrl,
@@ -3594,14 +785,14 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3594
785
  var popupStyle = !isOpen && vertical ? "tablet-view-popup" : "";
3595
786
  return /*#__PURE__*/React__default["default"].createElement("div", {
3596
787
  "data-test-id": verticalShare,
3597
- className: "arr--share " + _getClassName("".concat(iconShade, " ").concat(verticalShare, " ").concat(popupStyle), _styleModuleImportMap$z)
788
+ className: "arr--share " + _getClassName__default["default"]("".concat(iconShade, " ").concat(verticalShare, " ").concat(popupStyle), _styleModuleImportMap$z)
3598
789
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3599
790
  className: "social-share-template-m_desktop-view__3TmkO"
3600
791
  }, /*#__PURE__*/React__default["default"].createElement("ul", {
3601
- "data-test-id": camelCase_1(iconType),
3602
- className: "desktop-share-wrapper " + _getClassName("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$z)
792
+ "data-test-id": lodash.camelCase(iconType),
793
+ className: "desktop-share-wrapper " + _getClassName__default["default"]("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$z)
3603
794
  }, shareIcon(), iconsList.map(function (iconData, index) {
3604
- return /*#__PURE__*/React__default["default"].createElement(ShareItem, _extends({}, iconData, {
795
+ return /*#__PURE__*/React__default["default"].createElement(ShareItem, _extends__default["default"]({}, iconData, {
3605
796
  key: iconData.name,
3606
797
  dataTestId: "card-share-".concat(index)
3607
798
  }));
@@ -3655,9 +846,9 @@ var SectionTag = function SectionTag(_ref) {
3655
846
  borderColor = _ref$borderColor === void 0 ? "" : _ref$borderColor,
3656
847
  isLightTheme = _ref.isLightTheme;
3657
848
  var config = useStateValue() || {};
3658
- var isSection = get_1(config, ["showSection"], true);
3659
- var templateFromRowContext = get_1(config, ["sectionTagTemplate"]);
3660
- var section = get_1(story, ["sections", 0], "");
849
+ var isSection = lodash.get(config, ["showSection"], true);
850
+ var templateFromRowContext = lodash.get(config, ["sectionTagTemplate"]);
851
+ var section = lodash.get(story, ["sections", 0], "");
3661
852
  var supportedTemplates = ["borderBottomSml", "borderLeft", "solid"];
3662
853
  var getUrl = section ? section["section-url"] : "/";
3663
854
  var colorToApplyContrast = template === "solid" || templateFromRowContext === "solid" ? borderColor : config.theme;
@@ -3679,7 +870,7 @@ var SectionTag = function SectionTag(_ref) {
3679
870
  style: {
3680
871
  backgroundColor: templateStyle.includes("section-solid") ? sectionTagBorderColor : ""
3681
872
  },
3682
- className: "section-tag arrow-component " + _getClassName("".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$y)
873
+ className: "section-tag arrow-component " + _getClassName__default["default"]("".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$y)
3683
874
  }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
3684
875
  className: "section-m_border-left__2oUyp",
3685
876
  style: {
@@ -3926,11 +1117,11 @@ var StoryHeadline = function StoryHeadline(_ref) {
3926
1117
  iconStyle = _premiumStoryIconConf2 === void 0 ? "star" : _premiumStoryIconConf2,
3927
1118
  _premiumStoryIconConf3 = premiumStoryIconConfig.enablePremiumStoryIcon,
3928
1119
  enablePremiumStoryIcon = _premiumStoryIconConf3 === void 0 ? false : _premiumStoryIconConf3;
3929
- var premiumStory = enablePremiumStoryIcon && get_1(story, ["access"]) === "subscription";
1120
+ var premiumStory = enablePremiumStoryIcon && lodash.get(story, ["access"]) === "subscription";
3930
1121
  var wrapperClass = premiumStory ? "premium-wrapper" : "wrapper";
3931
1122
  var iconSize = "40px";
3932
1123
  return /*#__PURE__*/React__default["default"].createElement("div", {
3933
- className: "arrow-component arr--story-headline " + _getClassName(wrapperClass, _styleModuleImportMap$x)
1124
+ className: "arrow-component arr--story-headline " + _getClassName__default["default"](wrapperClass, _styleModuleImportMap$x)
3934
1125
  }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
3935
1126
  width: iconSize,
3936
1127
  height: iconSize,
@@ -3939,7 +1130,7 @@ var StoryHeadline = function StoryHeadline(_ref) {
3939
1130
  positionTop: "6px"
3940
1131
  }), /*#__PURE__*/React__default["default"].createElement("h1", {
3941
1132
  "data-testid": "story-headline",
3942
- className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$x)
1133
+ className: _getClassName__default["default"]("headline ".concat(textColor), _styleModuleImportMap$x)
3943
1134
  }, /*#__PURE__*/React__default["default"].createElement("bdi", {
3944
1135
  dangerouslySetInnerHTML: {
3945
1136
  __html: story.headline
@@ -3972,7 +1163,7 @@ var Subheadline = function Subheadline(_ref) {
3972
1163
  forceShowAtom = _ref.forceShowAtom,
3973
1164
  showFullContent = _ref.showFullContent;
3974
1165
  var config = useStateValue() || {};
3975
- var subheadline = forceShowAtom || get_1(config, ["showSubheadline"], true);
1166
+ var subheadline = forceShowAtom || lodash.get(config, ["showSubheadline"], true);
3976
1167
  if (!subheadline) return null;
3977
1168
  var textColor = getTextColor(config.theme);
3978
1169
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3980,7 +1171,7 @@ var Subheadline = function Subheadline(_ref) {
3980
1171
  WebkitLineClamp: lineClamp
3981
1172
  },
3982
1173
  "data-test-id": "subheadline",
3983
- className: ("p-alt arr--sub-headline arrow-component ".concat(clazzName) ? "p-alt arr--sub-headline arrow-component ".concat(clazzName) + " " : "") + _getClassName("subheadline ".concat(textColor), _styleModuleImportMap$w)
1174
+ className: ("p-alt arr--sub-headline arrow-component ".concat(clazzName) ? "p-alt arr--sub-headline arrow-component ".concat(clazzName) + " " : "") + _getClassName__default["default"]("subheadline ".concat(textColor), _styleModuleImportMap$w)
3984
1175
  }, showFullContent || typeof lineClamp === "number" ? story.subheadline : truncate(story.subheadline, truncateChars, true));
3985
1176
  };
3986
1177
  Subheadline.propTypes = {
@@ -4000,50 +1191,16 @@ Subheadline.defaultProps = {
4000
1191
  showFullContent: false
4001
1192
  };
4002
1193
 
4003
- function _objectWithoutPropertiesLoose(source, excluded) {
4004
- if (source == null) return {};
4005
- var target = {};
4006
- var sourceKeys = Object.keys(source);
4007
- var key, i;
4008
-
4009
- for (i = 0; i < sourceKeys.length; i++) {
4010
- key = sourceKeys[i];
4011
- if (excluded.indexOf(key) >= 0) continue;
4012
- target[key] = source[key];
4013
- }
4014
-
4015
- return target;
4016
- }
4017
-
4018
- function _objectWithoutProperties(source, excluded) {
4019
- if (source == null) return {};
4020
- var target = _objectWithoutPropertiesLoose(source, excluded);
4021
- var key, i;
4022
-
4023
- if (Object.getOwnPropertySymbols) {
4024
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
4025
-
4026
- for (i = 0; i < sourceSymbolKeys.length; i++) {
4027
- key = sourceSymbolKeys[i];
4028
- if (excluded.indexOf(key) >= 0) continue;
4029
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
4030
- target[key] = source[key];
4031
- }
4032
- }
4033
-
4034
- return target;
4035
- }
4036
-
4037
1194
  var _excluded$e = ["element", "render"];
4038
1195
  var withElementWrapper = function withElementWrapper(StoryElement) {
4039
1196
  return function (props) {
4040
1197
  var element = props.element,
4041
1198
  render = props.render,
4042
- restProps = _objectWithoutProperties(props, _excluded$e);
1199
+ restProps = _objectWithoutProperties__default["default"](props, _excluded$e);
4043
1200
 
4044
1201
  if (!element) return null;
4045
1202
  if (render && typeof render === "function") return render(props);
4046
- return /*#__PURE__*/React__default["default"].createElement(StoryElement, _extends({}, restProps, {
1203
+ return /*#__PURE__*/React__default["default"].createElement(StoryElement, _extends__default["default"]({}, restProps, {
4047
1204
  element: element
4048
1205
  }));
4049
1206
  };
@@ -4060,9 +1217,9 @@ var Videobase = function Videobase(_ref) {
4060
1217
  _ref.config;
4061
1218
  var _ref$loadIframeOnClic = _ref.loadIframeOnClick,
4062
1219
  loadIframeOnClick = _ref$loadIframeOnClic === void 0 ? false : _ref$loadIframeOnClic,
4063
- restProps = _objectWithoutProperties(_ref, _excluded$d);
1220
+ restProps = _objectWithoutProperties__default["default"](_ref, _excluded$d);
4064
1221
 
4065
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
1222
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
4066
1223
  className: "video-m_container__MYuWI" + (" " + (restProps ? restProps.className || "" : ""))
4067
1224
  }, restProps, {
4068
1225
  "data-test-id": "video"
@@ -4080,21 +1237,6 @@ Videobase.propTypes = {
4080
1237
  };
4081
1238
  var Video = withElementWrapper(Videobase);
4082
1239
 
4083
- function _defineProperty(obj, key, value) {
4084
- if (key in obj) {
4085
- Object.defineProperty(obj, key, {
4086
- value: value,
4087
- enumerable: true,
4088
- configurable: true,
4089
- writable: true
4090
- });
4091
- } else {
4092
- obj[key] = value;
4093
- }
4094
-
4095
- return obj;
4096
- }
4097
-
4098
1240
  var _styleModuleImportMap$v = {
4099
1241
  "./timestamp.m.css": {
4100
1242
  "time": "timestamp-m_time__2v46i",
@@ -4110,13 +1252,13 @@ var TimeStamp = function TimeStamp(_ref) {
4110
1252
  _ref$config = _ref.config,
4111
1253
  config = _ref$config === void 0 ? {} : _ref$config;
4112
1254
  var configState = useStateValue() || {};
4113
- var isTime = get_1(config, ["showTime"], get_1(configState, ["showTime"], true));
1255
+ var isTime = lodash.get(config, ["showTime"], lodash.get(configState, ["showTime"], true));
4114
1256
  var time = story["last-published-at"] || story["first-published-at"];
4115
1257
  var isBottomClasses = isBottom ? "bottom-fix" : "";
4116
1258
  var textColor = getTextColor(configState.theme);
4117
1259
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isTime && /*#__PURE__*/React__default["default"].createElement("div", {
4118
1260
  "data-test-id": "publish-time",
4119
- className: "time arr--publish-time " + _getClassName("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$v)
1261
+ className: "time arr--publish-time " + _getClassName__default["default"]("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$v)
4120
1262
  }, /*#__PURE__*/React__default["default"].createElement("div", {
4121
1263
  className: "timestamp-m_time-wrapper__3O2lM"
4122
1264
  }, getTimeStamp(time, formatter, config))));
@@ -4151,9 +1293,9 @@ var AuthorBase = function AuthorBase(_ref) {
4151
1293
  _ref$config = _ref.config,
4152
1294
  config = _ref$config === void 0 ? {} : _ref$config;
4153
1295
  var configData = useStateValue() || {};
4154
- var isAuthor = get_1(configData, ["showAuthor"], true);
1296
+ var isAuthor = lodash.get(configData, ["showAuthor"], true);
4155
1297
 
4156
- var _get = get_1(story, ["authors", "0"], ""),
1298
+ var _get = lodash.get(story, ["authors", "0"], ""),
4157
1299
  avatarUrl = _get["avatar-url"],
4158
1300
  avatarS3Key = _get["avatar-s3-key"],
4159
1301
  authorName = _get.name,
@@ -4161,7 +1303,7 @@ var AuthorBase = function AuthorBase(_ref) {
4161
1303
 
4162
1304
  var isBottomClasses = isBottom ? "bottom-fix" : "";
4163
1305
  var textColor = getTextColor(configData.theme);
4164
- var mountAt = get_1(config, ["mountAt"], "");
1306
+ var mountAt = lodash.get(config, ["mountAt"], "");
4165
1307
 
4166
1308
  var authorImage = function authorImage(dir) {
4167
1309
  if (!avatarUrl && !avatarS3Key) {
@@ -4170,7 +1312,7 @@ var AuthorBase = function AuthorBase(_ref) {
4170
1312
 
4171
1313
  return /*#__PURE__*/React__default["default"].createElement("div", {
4172
1314
  "data-test-id": "author-image",
4173
- className: _getClassName("author-image ".concat(dir, "-image"), _styleModuleImportMap$u)
1315
+ className: _getClassName__default["default"]("author-image ".concat(dir, "-image"), _styleModuleImportMap$u)
4174
1316
  }, /*#__PURE__*/React__default["default"].createElement("figure", null, avatarS3Key ? /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
4175
1317
  slug: avatarS3Key,
4176
1318
  "aspect-ratio": [1, 1],
@@ -4187,7 +1329,7 @@ var AuthorBase = function AuthorBase(_ref) {
4187
1329
  var isPrefix = function isPrefix(dir) {
4188
1330
  if (prefix) {
4189
1331
  return /*#__PURE__*/React__default["default"].createElement("div", {
4190
- className: "arr-author-prefix " + _getClassName("prefix ".concat(textColor), _styleModuleImportMap$u)
1332
+ className: "arr-author-prefix " + _getClassName__default["default"]("prefix ".concat(textColor), _styleModuleImportMap$u)
4191
1333
  }, prefix);
4192
1334
  }
4193
1335
 
@@ -4197,16 +1339,16 @@ var AuthorBase = function AuthorBase(_ref) {
4197
1339
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement(components.Link, {
4198
1340
  href: "".concat(mountAt, "/author/") + slug,
4199
1341
  "aria-label": "author-name",
4200
- className: "author-name arr-author-name arrow-component " + _getClassName("author ".concat(isBottomClasses), _styleModuleImportMap$u)
1342
+ className: "author-name arr-author-name arrow-component " + _getClassName__default["default"]("author ".concat(isBottomClasses), _styleModuleImportMap$u)
4201
1343
  }, isPrefix("ltr"), /*#__PURE__*/React__default["default"].createElement("div", {
4202
1344
  "data-test-id": "author-name",
4203
- className: "author-name " + _getClassName("author-name ".concat(textColor), _styleModuleImportMap$u)
1345
+ className: "author-name " + _getClassName__default["default"]("author-name ".concat(textColor), _styleModuleImportMap$u)
4204
1346
  }, authorName || story["author-name"]), !prefix && isPrefix("rtl")));
4205
1347
  };
4206
1348
 
4207
1349
  function mapStateToProps$1(state) {
4208
1350
  return {
4209
- config: get_1(state, ["qt", "config"], {})
1351
+ config: lodash.get(state, ["qt", "config"], {})
4210
1352
  };
4211
1353
  }
4212
1354
 
@@ -4243,7 +1385,7 @@ var Dot = function Dot(_ref) {
4243
1385
  _ref$color = _ref.color,
4244
1386
  color = _ref$color === void 0 ? "light" : _ref$color;
4245
1387
  return /*#__PURE__*/React__default["default"].createElement("div", {
4246
- className: _getClassName(color, _styleModuleImportMap$t)
1388
+ className: _getClassName__default["default"](color, _styleModuleImportMap$t)
4247
1389
  }, /*#__PURE__*/React__default["default"].createElement("svg", {
4248
1390
  xmlns: "http://www.w3.org/2000/svg",
4249
1391
  width: width,
@@ -4279,7 +1421,7 @@ var Divider = function Divider(_ref) {
4279
1421
  _ref$color = _ref.color,
4280
1422
  color = _ref$color === void 0 ? "light" : _ref$color;
4281
1423
  return /*#__PURE__*/React__default["default"].createElement("div", {
4282
- className: _getClassName(color, _styleModuleImportMap$s)
1424
+ className: _getClassName__default["default"](color, _styleModuleImportMap$s)
4283
1425
  }, /*#__PURE__*/React__default["default"].createElement("svg", {
4284
1426
  xmlns: "http://www.w3.org/2000/svg",
4285
1427
  width: width,
@@ -4311,14 +1453,14 @@ var ReadTime = function ReadTime(_ref) {
4311
1453
  _ref$isLightTheme = _ref.isLightTheme,
4312
1454
  isLightTheme = _ref$isLightTheme === void 0 ? false : _ref$isLightTheme;
4313
1455
  var config = useStateValue() || {};
4314
- var showReadTime = get_1(config, ["showReadTime"]) || get_1(opts, ["showReadTime"], true);
4315
- var readTime = get_1(story, ["read-time"], 0);
1456
+ var showReadTime = lodash.get(config, ["showReadTime"]) || lodash.get(opts, ["showReadTime"], true);
1457
+ var readTime = lodash.get(story, ["read-time"], 0);
4316
1458
  var textColor = isLightTheme ? "light" : getTextColor(config.theme);
4317
1459
  if (!showReadTime || !readTime) return null;
4318
- var timeToRead = get_1(opts, ["localizedTimeToRead"]) || "min read";
1460
+ var timeToRead = lodash.get(opts, ["localizedTimeToRead"]) || "min read";
4319
1461
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
4320
1462
  "data-test-id": "read-time",
4321
- className: "arrow-component arr--read-time " + _getClassName("read-time-wrapper ".concat(textColor), _styleModuleImportMap$r)
1463
+ className: "arrow-component arr--read-time " + _getClassName__default["default"]("read-time-wrapper ".concat(textColor), _styleModuleImportMap$r)
4322
1464
  }, /*#__PURE__*/React__default["default"].createElement("span", {
4323
1465
  className: "read-time-indicator read-time-m_dot-indicator__3Sqh2"
4324
1466
  }, /*#__PURE__*/React__default["default"].createElement(Dot, {
@@ -4354,9 +1496,9 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
4354
1496
  config = _ref$config === void 0 ? {} : _ref$config,
4355
1497
  isLightTheme = _ref.isLightTheme;
4356
1498
  var configState = useStateValue() || {};
4357
- var isAuthor = get_1(config, ["showAuthor"], get_1(configState, ["showAuthor"], true));
4358
- var isTime = get_1(config, ["showTime"], get_1(configState, ["showTime"], true));
4359
- var isReadTime = get_1(configState, ["showReadTime"], true);
1499
+ var isAuthor = lodash.get(config, ["showAuthor"], lodash.get(configState, ["showAuthor"], true));
1500
+ var isTime = lodash.get(config, ["showTime"], lodash.get(configState, ["showTime"], true));
1501
+ var isReadTime = lodash.get(configState, ["showReadTime"], true);
4360
1502
  var isBottomClasses = isBottom ? "bottom-fix" : "";
4361
1503
  var seperatorStyle = separator === "dot" ? "dot" : "dash";
4362
1504
  var textColor = isLightTheme ? "light" : getTextColor(configState.theme);
@@ -4376,7 +1518,7 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
4376
1518
  var getTimeStamp = function getTimeStamp() {
4377
1519
  if (!isTime) return null;
4378
1520
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement("span", {
4379
- className: "arr-separator " + _getClassName("".concat(seperatorStyle), _styleModuleImportMap$q)
1521
+ className: "arr-separator " + _getClassName__default["default"]("".concat(seperatorStyle), _styleModuleImportMap$q)
4380
1522
  }, getSeparator()), /*#__PURE__*/React__default["default"].createElement(TimeStamp, {
4381
1523
  story: story,
4382
1524
  config: config
@@ -4388,7 +1530,7 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
4388
1530
  };
4389
1531
 
4390
1532
  return /*#__PURE__*/React__default["default"].createElement("div", {
4391
- className: "arr--author-time " + _getClassName("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$q)
1533
+ className: "arr--author-time " + _getClassName__default["default"]("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$q)
4392
1534
  }, isAuthor ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Author, {
4393
1535
  story: story,
4394
1536
  isBottom: true,
@@ -4444,7 +1586,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
4444
1586
  _ref$navigate = _ref.navigate,
4445
1587
  navigate = _ref$navigate === void 0 ? true : _ref$navigate;
4446
1588
  var collectionTitle = useStateValue() || {};
4447
- var showRowTitle = get_1(collectionTitle, ["showRowTitle"], true);
1589
+ var showRowTitle = lodash.get(collectionTitle, ["showRowTitle"], true);
4448
1590
  var supportedTemplates = ["borderLeft", "borderBottom", "crossLine", "borderBottomFull"];
4449
1591
  var templateStyle = supportedTemplates.includes(collectionNameTemplate) ? " collection-".concat(collectionNameTemplate) : "";
4450
1592
  var slug = navigate && collection && getSlug(collection, config) || "";
@@ -4520,7 +1662,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
4520
1662
  borderBottom: borderBottomFullStyle
4521
1663
  },
4522
1664
  "data-test-id": "collection-name",
4523
- className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$p)
1665
+ className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName__default["default"]("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$p)
4524
1666
  }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
4525
1667
  className: "arr-collection-name-border-left collection-name-m_border-left__3_pYw",
4526
1668
  style: {
@@ -4557,7 +1699,7 @@ CollectionNameBase.defaultProps = {
4557
1699
 
4558
1700
  function mapStateToProps(state) {
4559
1701
  return {
4560
- config: get_1(state, ["qt", "config"], {})
1702
+ config: lodash.get(state, ["qt", "config"], {})
4561
1703
  };
4562
1704
  }
4563
1705
 
@@ -4599,8 +1741,8 @@ var Headline = function Headline(_ref) {
4599
1741
  enablePremiumStoryIcon = _premiumStoryIconConf3 === void 0 ? false : _premiumStoryIconConf3,
4600
1742
  _premiumStoryIconConf4 = premiumStoryIconConfig.showLiveIcon,
4601
1743
  showLiveIcon = _premiumStoryIconConf4 === void 0 ? false : _premiumStoryIconConf4;
4602
- var alternateHeadline = get_1(story, ["alternative", "home", "default", "headline"]);
4603
- var premiumStory = enablePremiumStoryIcon && get_1(story, ["access"]) === "subscription";
1744
+ var alternateHeadline = lodash.get(story, ["alternative", "home", "default", "headline"]);
1745
+ var premiumStory = enablePremiumStoryIcon && lodash.get(story, ["access"]) === "subscription";
4604
1746
  var headline = alternateHeadline || story.headline;
4605
1747
  var HeaderTag = "h" + headerLevel;
4606
1748
 
@@ -4626,10 +1768,10 @@ var Headline = function Headline(_ref) {
4626
1768
  var textColor = getTextColor(configData.theme);
4627
1769
  var wrapperClass = premiumStory ? "wrapper" : "";
4628
1770
  var iconSize = "24px";
4629
- var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !get_1(story, ["metadata", "is-closed"], false);
1771
+ var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !lodash.get(story, ["metadata", "is-closed"], false);
4630
1772
  return /*#__PURE__*/React__default["default"].createElement("div", {
4631
1773
  "data-test-id": "headline",
4632
- className: "arrow-component arr--headline " + _getClassName(wrapperClass, _styleModuleImportMap$o)
1774
+ className: "arrow-component arr--headline " + _getClassName__default["default"](wrapperClass, _styleModuleImportMap$o)
4633
1775
  }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
4634
1776
  width: iconSize,
4635
1777
  height: iconSize,
@@ -4641,9 +1783,9 @@ var Headline = function Headline(_ref) {
4641
1783
  externalLink: isExternalStory(story),
4642
1784
  "aria-label": "headline"
4643
1785
  }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
4644
- className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$o)
1786
+ className: _getClassName__default["default"]("headline ".concat(textColor), _styleModuleImportMap$o)
4645
1787
  }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
4646
- className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$o)
1788
+ className: _getClassName__default["default"]("headline ".concat(textColor), _styleModuleImportMap$o)
4647
1789
  }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline));
4648
1790
  };
4649
1791
  Headline.propTypes = {
@@ -4804,7 +1946,7 @@ var HeroImage = function HeroImage(_ref) {
4804
1946
  return null;
4805
1947
  } : _config$StoryTemplate;
4806
1948
  var showImagePlaceholder = reactRedux.useSelector(function (state) {
4807
- return get_1(state, ["qt", "config", "showPlaceholder"]);
1949
+ return lodash.get(state, ["qt", "config", "showPlaceholder"]);
4808
1950
  });
4809
1951
  var getPlaceholderStyleName = showImagePlaceholder ? "placeholder" : "";
4810
1952
  var fullBleed = FullBleed ? "" : "with-padding";
@@ -4813,7 +1955,7 @@ var HeroImage = function HeroImage(_ref) {
4813
1955
  var heroImageMobClasses = isHorizontalMobile ? "right-padding-mob" : "";
4814
1956
 
4815
1957
  var getPadding = function getPadding(aspectRatio) {
4816
- var _aspectRatio = _slicedToArray(aspectRatio, 2),
1958
+ var _aspectRatio = _slicedToArray__default["default"](aspectRatio, 2),
4817
1959
  height = _aspectRatio[0],
4818
1960
  width = _aspectRatio[1];
4819
1961
 
@@ -4825,7 +1967,7 @@ var HeroImage = function HeroImage(_ref) {
4825
1967
  return 0;
4826
1968
  };
4827
1969
 
4828
- var _aspectRatio2 = _slicedToArray(aspectRatio, 2),
1970
+ var _aspectRatio2 = _slicedToArray__default["default"](aspectRatio, 2),
4829
1971
  mobileAspectRatio = _aspectRatio2[0],
4830
1972
  _aspectRatio2$ = _aspectRatio2[1],
4831
1973
  desktopAspectRatio = _aspectRatio2$ === void 0 ? mobileAspectRatio : _aspectRatio2$;
@@ -4833,8 +1975,8 @@ var HeroImage = function HeroImage(_ref) {
4833
1975
  var isMobile = clientWidth("mobile");
4834
1976
  var imageAspectRatio = isMobile ? mobileAspectRatio : desktopAspectRatio;
4835
1977
  var imagePadding = isMobile ? getPadding(mobileAspectRatio) : getPadding(desktopAspectRatio);
4836
- var slug = get_1(story, ["hero-image-s3-key"]) || get_1(story, ["alternative", "home", "default", "hero-image", "hero-image-s3-key"]);
4837
- var hyperLink = get_1(story, ["hero-image-hyperlink"], "");
1978
+ var slug = lodash.get(story, ["hero-image-s3-key"]) || lodash.get(story, ["alternative", "home", "default", "hero-image", "hero-image-s3-key"]);
1979
+ var hyperLink = lodash.get(story, ["hero-image-hyperlink"], "");
4838
1980
 
4839
1981
  var fallbackImage = function fallbackImage() {
4840
1982
  if (!slug) {
@@ -4843,7 +1985,7 @@ var HeroImage = function HeroImage(_ref) {
4843
1985
  style: {
4844
1986
  paddingTop: imagePadding + "%"
4845
1987
  },
4846
- className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
1988
+ className: "arr--responsive-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
4847
1989
  }, /*#__PURE__*/React__default["default"].createElement("img", {
4848
1990
  className: "qt-image",
4849
1991
  "data-src": "".concat(fallbackImageUrl),
@@ -4856,7 +1998,7 @@ var HeroImage = function HeroImage(_ref) {
4856
1998
  style: {
4857
1999
  paddingTop: imagePadding + "%"
4858
2000
  },
4859
- className: "arr--fallback-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
2001
+ className: "arr--fallback-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
4860
2002
  }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
4861
2003
  storyTemplate: story["story-template"]
4862
2004
  }), /*#__PURE__*/React__default["default"].createElement(FallbackImage, null)) : null);
@@ -4866,7 +2008,7 @@ var HeroImage = function HeroImage(_ref) {
4866
2008
  style: {
4867
2009
  paddingTop: imagePadding + "%"
4868
2010
  },
4869
- className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
2011
+ className: "arr--responsive-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
4870
2012
  }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
4871
2013
  storyTemplate: story["story-template"]
4872
2014
  }), /*#__PURE__*/React__default["default"].createElement(components.ResponsiveHeroImage, {
@@ -4885,13 +2027,13 @@ var HeroImage = function HeroImage(_ref) {
4885
2027
 
4886
2028
  return story && (isStoryPageImage ? /*#__PURE__*/React__default["default"].createElement("div", {
4887
2029
  "data-test-id": "arr--hero-image",
4888
- className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$n)
2030
+ className: "arr--hero-image " + _getClassName__default["default"]("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$n)
4889
2031
  }, fallbackImage()) : /*#__PURE__*/React__default["default"].createElement(components.Link, {
4890
2032
  "data-test-id": "arr--hero-image",
4891
2033
  href: getStoryUrl(story, "/".concat(story.slug)),
4892
2034
  externalLink: isExternalStory(story),
4893
2035
  "aria-label": "fallback-hero-image",
4894
- className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$n)
2036
+ className: "arr--hero-image " + _getClassName__default["default"]("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$n)
4895
2037
  }, fallbackImage()));
4896
2038
  };
4897
2039
  HeroImage.propTypes = {
@@ -5006,7 +2148,7 @@ var StoryCard = function StoryCard(_ref) {
5006
2148
  backgroundColor: theme,
5007
2149
  color: textColor
5008
2150
  },
5009
- className: "arr--story-card " + _getClassName("card ".concat(horizontalCardStyle, " ").concat(borderTemplate, " ").concat(textColor, " ").concat(bgImageClasses, " ").concat(bgImgContentOverlapClass, " ").concat(horizontalMobileClasses), _styleModuleImportMap$m)
2151
+ className: "arr--story-card " + _getClassName__default["default"]("card ".concat(horizontalCardStyle, " ").concat(borderTemplate, " ").concat(textColor, " ").concat(bgImageClasses, " ").concat(bgImgContentOverlapClass, " ").concat(horizontalMobileClasses), _styleModuleImportMap$m)
5010
2152
  }, children || defaultStorycard);
5011
2153
  };
5012
2154
 
@@ -5047,7 +2189,7 @@ var DefaultStoryCard = function DefaultStoryCard(_ref2) {
5047
2189
  isHorizontalMobile: isHorizontalMobile,
5048
2190
  aspectRatio: aspectRatio
5049
2191
  }), /*#__PURE__*/React__default["default"].createElement("div", {
5050
- className: "arr--story-content " + _getClassName("content ".concat(alignment), _styleModuleImportMap$m)
2192
+ className: "arr--story-content " + _getClassName__default["default"]("content ".concat(alignment), _styleModuleImportMap$m)
5051
2193
  }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
5052
2194
  story: story,
5053
2195
  borderColor: SectionTagborderColor
@@ -5154,7 +2296,7 @@ var _styleModuleImportMap$l = {
5154
2296
 
5155
2297
  function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5156
2298
 
5157
- function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2299
+ function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5158
2300
  var LoadmoreButton = function LoadmoreButton(_ref) {
5159
2301
  var _ref$config = _ref.config,
5160
2302
  config = _ref$config === void 0 ? {} : _ref$config,
@@ -5178,14 +2320,14 @@ var LoadmoreButton = function LoadmoreButton(_ref) {
5178
2320
  return template === "SubsequentLoadCount" ? /*#__PURE__*/React__default["default"].createElement("div", {
5179
2321
  onClick: onClick,
5180
2322
  "data-test-id": "load-more",
5181
- className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$l)
2323
+ className: "arr--button " + _getClassName__default["default"]("button ".concat(textColor, " default"), _styleModuleImportMap$l)
5182
2324
  }, buttonText) : /*#__PURE__*/React__default["default"].createElement(components.LinkBase, {
5183
2325
  href: slug,
5184
2326
  navigateTo: navigate,
5185
2327
  "data-test-id": "load-more",
5186
2328
  "aria-label": "load-more"
5187
2329
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5188
- className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$l)
2330
+ className: "arr--button " + _getClassName__default["default"]("button ".concat(textColor, " default"), _styleModuleImportMap$l)
5189
2331
  }, buttonText));
5190
2332
  };
5191
2333
  LoadmoreButton.propTypes = {
@@ -5233,7 +2375,7 @@ var KeyEventCards = function KeyEventCards(props) {
5233
2375
  var lastElement = index === cardLength - 1;
5234
2376
  var borderLeft = lastElement ? "borderNone" : "";
5235
2377
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
5236
- className: _getClassName("time-wrapper ".concat(textColor), _styleModuleImportMap$k)
2378
+ className: _getClassName__default["default"]("time-wrapper ".concat(textColor), _styleModuleImportMap$k)
5237
2379
  }, /*#__PURE__*/React__default["default"].createElement(ClockIcon, {
5238
2380
  color: updateColor
5239
2381
  }), getTimeStamp(cardAddedAt, timestampToFormat, {
@@ -5243,7 +2385,7 @@ var KeyEventCards = function KeyEventCards(props) {
5243
2385
  href: "".concat(mountAt, "/").concat(slug, "#").concat(id),
5244
2386
  "aria-label": "event-title"
5245
2387
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5246
- className: _getClassName("event-title ".concat(textColor, " ").concat(borderLeft), _styleModuleImportMap$k)
2388
+ className: _getClassName__default["default"]("event-title ".concat(textColor, " ").concat(borderLeft), _styleModuleImportMap$k)
5247
2389
  }, storyElements.map(function (element, index) {
5248
2390
  return element.type === "title" && /*#__PURE__*/React__default["default"].createElement("h3", {
5249
2391
  key: index
@@ -5278,23 +2420,23 @@ var KeyEventsBase = function KeyEventsBase(_ref) {
5278
2420
  config = _ref$config === void 0 ? {} : _ref$config,
5279
2421
  _ref$showLoadMore = _ref.showLoadMore,
5280
2422
  showLoadMore = _ref$showLoadMore === void 0 ? true : _ref$showLoadMore;
5281
- var cards = get_1(story, ["cards"], []);
2423
+ var cards = lodash.get(story, ["cards"], []);
5282
2424
  var theme = config.theme,
5283
2425
  _config$initialLoadCo = config.initialLoadCount,
5284
2426
  initialLoadCount = _config$initialLoadCo === void 0 ? 4 : _config$initialLoadCo;
5285
2427
  var textColor = getTextColor(theme);
5286
2428
 
5287
2429
  var _useState = React.useState(initialLoadCount),
5288
- _useState2 = _slicedToArray(_useState, 2),
2430
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
5289
2431
  initialCount = _useState2[0],
5290
2432
  updatedCount = _useState2[1];
5291
2433
 
5292
2434
  var cardsWithKeyEvents = cards.filter(function (card) {
5293
- return get_1(card.metadata, ["attributes", "key-event"]);
2435
+ return lodash.get(card.metadata, ["attributes", "key-event"]);
5294
2436
  });
5295
2437
  var lastElement = cardsWithKeyEvents.length > initialCount;
5296
2438
  var qtConfig = reactRedux.useSelector(function (state) {
5297
- return get_1(state, ["qt", "config"], {});
2439
+ return lodash.get(state, ["qt", "config"], {});
5298
2440
  });
5299
2441
 
5300
2442
  var onClick = function onClick() {
@@ -5322,7 +2464,7 @@ var KeyEventsBase = function KeyEventsBase(_ref) {
5322
2464
  style: {
5323
2465
  background: theme
5324
2466
  },
5325
- className: "arrow-component " + _getClassName("container ".concat(textColor), _styleModuleImportMap$k)
2467
+ className: "arrow-component " + _getClassName__default["default"]("container ".concat(textColor), _styleModuleImportMap$k)
5326
2468
  }, /*#__PURE__*/React__default["default"].createElement("h3", null, "Key Events"), /*#__PURE__*/React__default["default"].createElement("div", {
5327
2469
  className: "key-events-m_cards-wrapper__3f8aB"
5328
2470
  }, keyEvents), showLoadMore && lastElement && /*#__PURE__*/React__default["default"].createElement(LoadmoreButton, {
@@ -5341,7 +2483,7 @@ var KeyEvents = StateProvider(KeyEventsBase);
5341
2483
 
5342
2484
  function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5343
2485
 
5344
- function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2486
+ function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5345
2487
  var _styleModuleImportMap$j = {
5346
2488
  "./aside-collection.m.css": {
5347
2489
  "stories": "aside-collection-m_stories__9wfUs",
@@ -5374,22 +2516,22 @@ var StoryCollection = function StoryCollection(_ref) {
5374
2516
 
5375
2517
  var heading = title || "Related Stories";
5376
2518
  var isHorizontal = horizontal ? "horizontal-wrapper" : "";
5377
- var mountAt = get_1(config, ["mountAtPrefix"], "");
2519
+ var mountAt = lodash.get(config, ["mountAtPrefix"], "");
5378
2520
 
5379
2521
  var _useState = React.useState([]),
5380
- _useState2 = _slicedToArray(_useState, 2),
2522
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
5381
2523
  storyList = _useState2[0],
5382
2524
  updateStoryList = _useState2[1];
5383
2525
 
5384
2526
  var _useState3 = React.useState([]),
5385
- _useState4 = _slicedToArray(_useState3, 2),
2527
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
5386
2528
  collectionData = _useState4[0],
5387
2529
  updateCollectionData = _useState4[1];
5388
2530
 
5389
2531
  var updateStoryListItems = /*#__PURE__*/function () {
5390
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(slug) {
2532
+ var _ref3 = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(slug) {
5391
2533
  var collectionDataResponse, storyItems;
5392
- return regenerator.wrap(function _callee$(_context) {
2534
+ return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
5393
2535
  while (1) {
5394
2536
  switch (_context.prev = _context.next) {
5395
2537
  case 0:
@@ -5500,7 +2642,7 @@ var AsideCollectionBase = function AsideCollectionBase(_ref4) {
5500
2642
  },
5501
2643
  "data-test-id": "aside-collection",
5502
2644
  id: "aside-collection-".concat(storyId),
5503
- className: "arrow-component arr--aside-collection " + _getClassName("wrapper ".concat(isHorizontal), _styleModuleImportMap$j)
2645
+ className: "arrow-component arr--aside-collection " + _getClassName__default["default"]("wrapper ".concat(isHorizontal), _styleModuleImportMap$j)
5504
2646
  }, /*#__PURE__*/React__default["default"].createElement(StoryCollection, {
5505
2647
  data: data,
5506
2648
  horizontal: horizontal,
@@ -5545,7 +2687,7 @@ var AsideCollectionBase = function AsideCollectionBase(_ref4) {
5545
2687
  backgroundColor: theme
5546
2688
  },
5547
2689
  "data-test-id": "aside-collection",
5548
- className: "arrow-component arr--aside-collection " + _getClassName(["wrapper", isHorizontal, isSticky].join(" "), _styleModuleImportMap$j)
2690
+ className: "arrow-component arr--aside-collection " + _getClassName__default["default"](["wrapper", isHorizontal, isSticky].join(" "), _styleModuleImportMap$j)
5549
2691
  }, enableKeyEvents && /*#__PURE__*/React__default["default"].createElement(KeyEvents, {
5550
2692
  story: keyEventsData.story,
5551
2693
  showLoadMore: keyEventsData.showLoadMore,
@@ -5573,33 +2715,6 @@ AsideCollectionBase.propTypes = {
5573
2715
  };
5574
2716
  var AsideCollection = StateProvider(AsideCollectionBase);
5575
2717
 
5576
- /**
5577
- * Converts `string` to
5578
- * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
5579
- *
5580
- * @static
5581
- * @memberOf _
5582
- * @since 3.0.0
5583
- * @category String
5584
- * @param {string} [string=''] The string to convert.
5585
- * @returns {string} Returns the kebab cased string.
5586
- * @example
5587
- *
5588
- * _.kebabCase('Foo Bar');
5589
- * // => 'foo-bar'
5590
- *
5591
- * _.kebabCase('fooBar');
5592
- * // => 'foo-bar'
5593
- *
5594
- * _.kebabCase('__FOO_BAR__');
5595
- * // => 'foo-bar'
5596
- */
5597
- var kebabCase = _createCompounder(function(result, word, index) {
5598
- return result + (index ? '-' : '') + word.toLowerCase();
5599
- });
5600
-
5601
- var kebabCase_1 = kebabCase;
5602
-
5603
2718
  var _styleModuleImportMap$i = {
5604
2719
  "./author-card.m.css": {
5605
2720
  "viewports": "\"../../../../assets/stylesheets/viewports.m.css\"",
@@ -5669,8 +2784,8 @@ var AuthorCard = function AuthorCard(_ref) {
5669
2784
  showName = _opts$showName === void 0 ? true : _opts$showName;
5670
2785
  var textColor = getTextColor(configData.theme);
5671
2786
  return /*#__PURE__*/React__default["default"].createElement("div", {
5672
- "data-test-id": "author-card-".concat(kebabCase_1(template)),
5673
- className: (clazzName ? clazzName + " " : "") + _getClassName("author-card-wrapper ".concat(template), _styleModuleImportMap$i)
2787
+ "data-test-id": "author-card-".concat(lodash.kebabCase(template)),
2788
+ className: (clazzName ? clazzName + " " : "") + _getClassName__default["default"]("author-card-wrapper ".concat(template), _styleModuleImportMap$i)
5674
2789
  }, authors.map(function (author, index) {
5675
2790
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
5676
2791
  key: author.id
@@ -5682,7 +2797,7 @@ var AuthorCard = function AuthorCard(_ref) {
5682
2797
  key: "author-image-".concat(index),
5683
2798
  "aria-label": "author-image"
5684
2799
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5685
- className: _getClassName("author-image ".concat(!index ? "first-author-image" : "", " ").concat(!isSingleAuthor ? "multi-author-image" : ""), _styleModuleImportMap$i)
2800
+ className: _getClassName__default["default"]("author-image ".concat(!index ? "first-author-image" : "", " ").concat(!isSingleAuthor ? "multi-author-image" : ""), _styleModuleImportMap$i)
5686
2801
  }, authorImage(author)))));
5687
2802
  }), showName && /*#__PURE__*/React__default["default"].createElement("div", {
5688
2803
  "data-test-id": "author-name",
@@ -5693,7 +2808,7 @@ var AuthorCard = function AuthorCard(_ref) {
5693
2808
  href: "".concat(mountAt, "/author/") + author.slug,
5694
2809
  "aria-label": "author-name"
5695
2810
  }, /*#__PURE__*/React__default["default"].createElement("h5", {
5696
- className: _getClassName("multiple-author-style ".concat(textColor), _styleModuleImportMap$i)
2811
+ className: _getClassName__default["default"]("multiple-author-style ".concat(textColor), _styleModuleImportMap$i)
5697
2812
  }, author.name)));
5698
2813
  }), isSingleAuthor && template !== "centerAligned" && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, authors[0]["twitter-handle"] && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
5699
2814
  className: "author-card-m_dot-wrapper__2soc1"
@@ -5707,7 +2822,7 @@ var AuthorCard = function AuthorCard(_ref) {
5707
2822
  "data-test-id": "author-info",
5708
2823
  className: "author-card-m_author-details-wrapper__1c2uc"
5709
2824
  }, showBio && isSingleAuthor && template !== "default" && /*#__PURE__*/React__default["default"].createElement("p", {
5710
- className: _getClassName("author-bio ".concat(textColor), _styleModuleImportMap$i)
2825
+ className: _getClassName__default["default"]("author-bio ".concat(textColor), _styleModuleImportMap$i)
5711
2826
  }, authors[0].bio)));
5712
2827
  };
5713
2828
  AuthorCard.propTypes = {
@@ -5740,7 +2855,7 @@ var _styleModuleImportMap$h = {
5740
2855
 
5741
2856
  function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5742
2857
 
5743
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2858
+ function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5744
2859
  var PublishDetails = function PublishDetails(_ref) {
5745
2860
  var story = _ref.story,
5746
2861
  _ref$opts = _ref.opts,
@@ -5751,7 +2866,7 @@ var PublishDetails = function PublishDetails(_ref) {
5751
2866
  timezone = _ref$timezone === void 0 ? null : _ref$timezone;
5752
2867
 
5753
2868
  var _useState = React.useState("ltr"),
5754
- _useState2 = _slicedToArray(_useState, 2),
2869
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
5755
2870
  direction = _useState2[0],
5756
2871
  setDirection = _useState2[1];
5757
2872
 
@@ -5783,10 +2898,10 @@ var PublishDetails = function PublishDetails(_ref) {
5783
2898
  });
5784
2899
  return /*#__PURE__*/React__default["default"].createElement("div", {
5785
2900
  "data-test-id": "timeStamp",
5786
- className: "arrow-component arr-publish-details " + _getClassName("timeStamp ".concat(textColor), _styleModuleImportMap$h)
2901
+ className: "arrow-component arr-publish-details " + _getClassName__default["default"]("timeStamp ".concat(textColor), _styleModuleImportMap$h)
5787
2902
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5788
2903
  "data-test-id": "publishDetails",
5789
- className: _getClassName("publish-details ".concat(textColor), _styleModuleImportMap$h)
2904
+ className: _getClassName__default["default"]("publish-details ".concat(textColor), _styleModuleImportMap$h)
5790
2905
  }, enablePublishedTime && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, localizedPublishedOn || "Published on", " :\xA0", /*#__PURE__*/React__default["default"].createElement("div", {
5791
2906
  className: "publish-details-m_date__3ZIQN"
5792
2907
  }, getTimeStamp(time, timestampToFormat, timeStampProps, template, timezone)), showReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
@@ -5794,7 +2909,7 @@ var PublishDetails = function PublishDetails(_ref) {
5794
2909
  opts: opts
5795
2910
  }))), enableUpdatedTime && /*#__PURE__*/React__default["default"].createElement("div", {
5796
2911
  "data-test-id": "updateDetails",
5797
- className: _getClassName("update-details ".concat(textColor), _styleModuleImportMap$h)
2912
+ className: _getClassName__default["default"]("update-details ".concat(textColor), _styleModuleImportMap$h)
5798
2913
  }, localizedUpdatedOn || "Updated on", " :\xA0", /*#__PURE__*/React__default["default"].createElement("div", {
5799
2914
  className: "publish-details-m_date__3ZIQN"
5800
2915
  }, getTimeStamp(updatedAt, timestampToFormat, timeStampProps, template, timezone)), showReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
@@ -5836,7 +2951,7 @@ var StoryTags = function StoryTags(_ref) {
5836
2951
  _ref.borderColor;
5837
2952
  var configData = useStateValue() || {};
5838
2953
  var textColor = getTextColor(configData.theme);
5839
- var mountAt = get_1(config, ["mountAt"], "");
2954
+ var mountAt = lodash.get(config, ["mountAt"], "");
5840
2955
  var templateStyle = template === "roundCorners" ? "roundCorners" : "";
5841
2956
  return /*#__PURE__*/React__default["default"].createElement("div", {
5842
2957
  className: "arrow-component arr--story-tags"
@@ -5844,7 +2959,7 @@ var StoryTags = function StoryTags(_ref) {
5844
2959
  return /*#__PURE__*/React__default["default"].createElement("div", {
5845
2960
  key: index,
5846
2961
  "data-test-id": "story-tag",
5847
- className: _getClassName("tags ".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$g)
2962
+ className: _getClassName__default["default"]("tags ".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$g)
5848
2963
  }, /*#__PURE__*/React__default["default"].createElement(components.Link, {
5849
2964
  href: "".concat(mountAt, "/topic/") + tag.slug,
5850
2965
  "aria-label": "story-tag-name"
@@ -5879,7 +2994,7 @@ var TextBase = function TextBase(_ref) {
5879
2994
  css = _ref$css === void 0 ? {} : _ref$css;
5880
2995
  _ref.story;
5881
2996
  _ref.config;
5882
- var restProps = _objectWithoutProperties(_ref, _excluded$c);
2997
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$c);
5883
2998
 
5884
2999
  var content = element.text;
5885
3000
  if (!content) return null;
@@ -5889,9 +3004,9 @@ var TextBase = function TextBase(_ref) {
5889
3004
  var _opts$isExternalLink = opts.isExternalLink,
5890
3005
  isExternalLink = _opts$isExternalLink === void 0 ? true : _opts$isExternalLink;
5891
3006
  var text = isExternalLink && updateContentLinks(content) || content;
5892
- var isPromotionalMessage = get_1(element, ["metadata", "promotional-message"], false);
3007
+ var isPromotionalMessage = lodash.get(element, ["metadata", "promotional-message"], false);
5893
3008
  var updatedStyle = isPromotionalMessage ? "promotionalMessage" : "textElement";
5894
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3009
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
5895
3010
  style: !isPromotionalMessage ? {
5896
3011
  color: textColor
5897
3012
  } : {},
@@ -5901,7 +3016,7 @@ var TextBase = function TextBase(_ref) {
5901
3016
  },
5902
3017
  id: "text-element"
5903
3018
  }, restProps, {
5904
- className: "arrow-component arr--text-element " + _getClassName("".concat(updatedStyle, " ").concat(textInvertColor), _styleModuleImportMap$f) + (" " + (restProps ? restProps.className || "" : ""))
3019
+ className: "arrow-component arr--text-element " + _getClassName__default["default"]("".concat(updatedStyle, " ").concat(textInvertColor), _styleModuleImportMap$f) + (" " + (restProps ? restProps.className || "" : ""))
5905
3020
  }));
5906
3021
  };
5907
3022
 
@@ -5945,7 +3060,7 @@ var BlurbBase = function BlurbBase(_ref) {
5945
3060
  _ref.story;
5946
3061
  _ref.config;
5947
3062
  _ref.render;
5948
- var restProps = _objectWithoutProperties(_ref, _excluded$b);
3063
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$b);
5949
3064
 
5950
3065
  var content = element.text;
5951
3066
  var borderColor = css.borderColor;
@@ -5956,7 +3071,7 @@ var BlurbBase = function BlurbBase(_ref) {
5956
3071
  };
5957
3072
 
5958
3073
  var _useState = React.useState(initBorderDirection),
5959
- _useState2 = _slicedToArray(_useState, 2),
3074
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
5960
3075
  borderDirection = _useState2[0],
5961
3076
  setBorderDirection = _useState2[1];
5962
3077
 
@@ -5978,14 +3093,14 @@ var BlurbBase = function BlurbBase(_ref) {
5978
3093
  var templateStyle = template ? "blurb-".concat(template) : "blurb";
5979
3094
  var configData = useStateValue() || {};
5980
3095
  var textInvertColor = getTextColor(configData.theme);
5981
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3096
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
5982
3097
  "data-test-id": "blurb",
5983
3098
  style: borderColor && borderDirection,
5984
3099
  dangerouslySetInnerHTML: {
5985
3100
  __html: text
5986
3101
  }
5987
3102
  }, restProps, {
5988
- className: "arrow-component arr-custom-style arr--blurb-element " + _getClassName("".concat(templateStyle, " ").concat(textInvertColor), _styleModuleImportMap$e) + (" " + (restProps ? restProps.className || "" : ""))
3103
+ className: "arrow-component arr-custom-style arr--blurb-element " + _getClassName__default["default"]("".concat(templateStyle, " ").concat(textInvertColor), _styleModuleImportMap$e) + (" " + (restProps ? restProps.className || "" : ""))
5989
3104
  }));
5990
3105
  };
5991
3106
 
@@ -6034,7 +3149,7 @@ var SummaryBase = function SummaryBase(_ref) {
6034
3149
  _ref.story;
6035
3150
  _ref.config;
6036
3151
  _ref.render;
6037
- var restProps = _objectWithoutProperties(_ref, _excluded$a);
3152
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$a);
6038
3153
 
6039
3154
  var configData = useStateValue() || {};
6040
3155
  var textInvertColor = getTextColor(configData.theme);
@@ -6055,23 +3170,23 @@ var SummaryBase = function SummaryBase(_ref) {
6055
3170
  var updateHeaderColor = renderTemplate ? "".concat(headerBgColor) : "";
6056
3171
  var textColor = renderTemplate ? getTextColor(headerBgColor) : "";
6057
3172
  var updateContentColor = template === "header" ? "" : textInvertColor;
6058
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3173
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6059
3174
  "data-test-id": "summary"
6060
3175
  }, restProps, {
6061
- className: "arrow-component arr--summary-element arr-custom-style " + _getClassName(templateStyle, _styleModuleImportMap$d) + (" " + (restProps ? restProps.className || "" : ""))
3176
+ className: "arrow-component arr--summary-element arr-custom-style " + _getClassName__default["default"](templateStyle, _styleModuleImportMap$d) + (" " + (restProps ? restProps.className || "" : ""))
6062
3177
  }), !hideHeadline && /*#__PURE__*/React__default["default"].createElement("div", {
6063
3178
  "data-test-id": "summary-headline",
6064
- className: _getClassName("heading-wrapper ".concat(textInvertColor), _styleModuleImportMap$d)
3179
+ className: _getClassName__default["default"]("heading-wrapper ".concat(textInvertColor), _styleModuleImportMap$d)
6065
3180
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6066
3181
  style: {
6067
3182
  backgroundColor: updateHeaderColor
6068
3183
  },
6069
- className: _getClassName("headline ".concat(textColor, " ").concat(textInvertColor), _styleModuleImportMap$d)
3184
+ className: _getClassName__default["default"]("headline ".concat(textColor, " ").concat(textInvertColor), _styleModuleImportMap$d)
6070
3185
  }, headline)), /*#__PURE__*/React__default["default"].createElement("div", {
6071
3186
  dangerouslySetInnerHTML: {
6072
3187
  __html: text
6073
3188
  },
6074
- className: _getClassName("content ".concat(contentBorder, " ").concat(updateContentColor, " ").concat(textInvertColor), _styleModuleImportMap$d)
3189
+ className: _getClassName__default["default"]("content ".concat(contentBorder, " ").concat(updateContentColor, " ").concat(textInvertColor), _styleModuleImportMap$d)
6075
3190
  }));
6076
3191
  };
6077
3192
 
@@ -6222,9 +3337,9 @@ var BlockQuoteBase = function BlockQuoteBase(_ref) {
6222
3337
  _ref.story;
6223
3338
  _ref.config;
6224
3339
  _ref.render;
6225
- var restProps = _objectWithoutProperties(_ref, _excluded$9);
3340
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$9);
6226
3341
 
6227
- var _get = get_1(element, ["metadata"]),
3342
+ var _get = lodash.get(element, ["metadata"]),
6228
3343
  content = _get.content,
6229
3344
  attribution = _get.attribution;
6230
3345
 
@@ -6256,11 +3371,11 @@ var BlockQuoteBase = function BlockQuoteBase(_ref) {
6256
3371
  }, SelectionOfIcon(iconType, template, blockQuoteColor, textColor));
6257
3372
  };
6258
3373
 
6259
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3374
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6260
3375
  "data-test-id": "blockquote",
6261
3376
  style: theme
6262
3377
  }, restProps, {
6263
- className: "arrow-component arr--block-quote " + _getClassName("".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$c) + (" " + (restProps ? restProps.className || "" : ""))
3378
+ className: "arrow-component arr--block-quote " + _getClassName__default["default"]("".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$c) + (" " + (restProps ? restProps.className || "" : ""))
6264
3379
  }), /*#__PURE__*/React__default["default"].createElement("div", {
6265
3380
  className: "block-quote-m_quote-wrapper__83bEy"
6266
3381
  }, updateStructure(), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -6272,12 +3387,12 @@ var BlockQuoteBase = function BlockQuoteBase(_ref) {
6272
3387
  dangerouslySetInnerHTML: {
6273
3388
  __html: content
6274
3389
  },
6275
- className: _getClassName("content ".concat(textInvertColor), _styleModuleImportMap$c)
3390
+ className: _getClassName__default["default"]("content ".concat(textInvertColor), _styleModuleImportMap$c)
6276
3391
  }), /*#__PURE__*/React__default["default"].createElement("div", {
6277
3392
  dangerouslySetInnerHTML: {
6278
3393
  __html: attribution
6279
3394
  },
6280
- className: _getClassName("attribution ".concat(textInvertColor), _styleModuleImportMap$c)
3395
+ className: _getClassName__default["default"]("attribution ".concat(textInvertColor), _styleModuleImportMap$c)
6281
3396
  }))));
6282
3397
  };
6283
3398
  BlockQuoteBase.propTypes = {
@@ -6312,22 +3427,22 @@ var BigFactBase = function BigFactBase(_ref) {
6312
3427
  var element = _ref.element;
6313
3428
  _ref.story;
6314
3429
  _ref.config;
6315
- var restProps = _objectWithoutProperties(_ref, _excluded$8);
3430
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$8);
6316
3431
 
6317
3432
  var configData = useStateValue() || {};
6318
3433
  var textInvertColor = getTextColor(configData.theme);
6319
3434
  var _element$metadata = element.metadata,
6320
3435
  content = _element$metadata.content,
6321
3436
  attribution = _element$metadata.attribution;
6322
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3437
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6323
3438
  "data-test-id": "bigfact"
6324
3439
  }, restProps, {
6325
- className: "arrow-component arr--bigfact-element " + _getClassName("bigfact-element ".concat(textInvertColor), _styleModuleImportMap$b) + (" " + (restProps ? restProps.className || "" : ""))
3440
+ className: "arrow-component arr--bigfact-element " + _getClassName__default["default"]("bigfact-element ".concat(textInvertColor), _styleModuleImportMap$b) + (" " + (restProps ? restProps.className || "" : ""))
6326
3441
  }), /*#__PURE__*/React__default["default"].createElement("div", {
6327
3442
  className: "big-fact-m_content__1u2Ul"
6328
3443
  }, content), /*#__PURE__*/React__default["default"].createElement("div", {
6329
3444
  "data-test-id": "attribution",
6330
- className: _getClassName("attribution ".concat(textInvertColor), _styleModuleImportMap$b)
3445
+ className: _getClassName__default["default"]("attribution ".concat(textInvertColor), _styleModuleImportMap$b)
6331
3446
  }, attribution));
6332
3447
  };
6333
3448
 
@@ -6413,14 +3528,14 @@ var AlsoReadBase = function AlsoReadBase(_ref2) {
6413
3528
  css = _ref2$css === void 0 ? {} : _ref2$css;
6414
3529
  _ref2.config;
6415
3530
  _ref2.render;
6416
- var restProps = _objectWithoutProperties(_ref2, _excluded$7);
3531
+ var restProps = _objectWithoutProperties__default["default"](_ref2, _excluded$7);
6417
3532
 
6418
3533
  var content = element.text;
6419
3534
  if (!content) return null;
6420
- var linkedStories = get_1(story, ["linked-stories"], {});
6421
- var linkedStoryId = get_1(element, ["metadata", "linked-story-id"]);
6422
- var linkedStorySlug = get_1(linkedStories, [linkedStoryId, "url"]);
6423
- var linkedImage = get_1(linkedStories, [linkedStoryId, "hero-image-s3-key"], "");
3535
+ var linkedStories = lodash.get(story, ["linked-stories"], {});
3536
+ var linkedStoryId = lodash.get(element, ["metadata", "linked-story-id"]);
3537
+ var linkedStorySlug = lodash.get(linkedStories, [linkedStoryId, "url"]);
3538
+ var linkedImage = lodash.get(linkedStories, [linkedStoryId, "hero-image-s3-key"], "");
6424
3539
  var storyUrl = linkedStorySlug && linkedStorySlug;
6425
3540
  var configData = useStateValue() || {};
6426
3541
  var textInvertColor = getTextColor(configData.theme);
@@ -6431,14 +3546,14 @@ var AlsoReadBase = function AlsoReadBase(_ref2) {
6431
3546
  var isDefault = template === "" || template === "default";
6432
3547
  var isRightAlign = template === "imageRightAlign";
6433
3548
  var templateStyle = template ? "alsoread-".concat(template) : "alsoread-default";
6434
- return /*#__PURE__*/React__default["default"].createElement(components.Link, _extends({
3549
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, _extends__default["default"]({
6435
3550
  "data-test-id": "also-read",
6436
3551
  href: storyUrl,
6437
3552
  "aria-label": "also-read"
6438
3553
  }, restProps, {
6439
- className: "arrow-component arr--also-read-element " + _getClassName(templateStyle, _styleModuleImportMap$a) + (" " + (restProps ? restProps.className || "" : ""))
3554
+ className: "arrow-component arr--also-read-element " + _getClassName__default["default"](templateStyle, _styleModuleImportMap$a) + (" " + (restProps ? restProps.className || "" : ""))
6440
3555
  }), !isDefault && /*#__PURE__*/React__default["default"].createElement("div", {
6441
- className: _getClassName("default-text ".concat(textInvertColor), _styleModuleImportMap$a)
3556
+ className: _getClassName__default["default"]("default-text ".concat(textInvertColor), _styleModuleImportMap$a)
6442
3557
  }, displayTitle), isDefault && /*#__PURE__*/React__default["default"].createElement(DisplayImage, {
6443
3558
  story: story,
6444
3559
  linkedImage: linkedImage,
@@ -6624,7 +3739,7 @@ Loading.propTypes = {
6624
3739
 
6625
3740
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6626
3741
 
6627
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3742
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6628
3743
  var Lightbox = /*#__PURE__*/React.lazy(function () {
6629
3744
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-image-lightbox')); });
6630
3745
  });
@@ -6636,27 +3751,27 @@ var FullScreenImages = function FullScreenImages(_ref) {
6636
3751
  element = _ref$element === void 0 ? {} : _ref$element,
6637
3752
  props = _ref.props;
6638
3753
  var cdnImage = reactRedux.useSelector(function (state) {
6639
- return get_1(state, ["qt", "config", "cdn-image"]);
3754
+ return lodash.get(state, ["qt", "config", "cdn-image"]);
6640
3755
  });
6641
3756
 
6642
3757
  var _useState = React.useState(0),
6643
- _useState2 = _slicedToArray(_useState, 2),
3758
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
6644
3759
  photoIndex = _useState2[0],
6645
3760
  handleImage = _useState2[1];
6646
3761
 
6647
3762
  var _useState3 = React.useState(false),
6648
- _useState4 = _slicedToArray(_useState3, 2),
3763
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
6649
3764
  isOpen = _useState4[0],
6650
3765
  handleOpen = _useState4[1];
6651
3766
 
6652
- var deviceWidth = get_1(global, ["innerWidth"], 0);
6653
- var hyperlinks = get_1(element, ["story-elements"], []).map(function (image) {
3767
+ var deviceWidth = lodash.get(global, ["innerWidth"], 0);
3768
+ var hyperlinks = lodash.get(element, ["story-elements"], []).map(function (image) {
6654
3769
  return image.hyperlink;
6655
3770
  });
6656
3771
  var imageUrlList = [];
6657
3772
 
6658
3773
  if (!imageSlug) {
6659
- imageUrlList = get_1(element, ["story-elements"], []).map(function (image) {
3774
+ imageUrlList = lodash.get(element, ["story-elements"], []).map(function (image) {
6660
3775
  return "//".concat(cdnImage, "/").concat(image["image-s3-key"], "?w=").concat(deviceWidth);
6661
3776
  });
6662
3777
  }
@@ -6714,9 +3829,9 @@ var FullScreenImages = function FullScreenImages(_ref) {
6714
3829
  return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Loading, null));
6715
3830
  };
6716
3831
 
6717
- return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(template, _objectSpread(_defineProperty({}, onClickKey, onClickHandler), props)), isOpen ? /*#__PURE__*/React__default["default"].createElement(React.Suspense, {
3832
+ return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(template, _objectSpread(_defineProperty__default["default"]({}, onClickKey, onClickHandler), props)), isOpen ? /*#__PURE__*/React__default["default"].createElement(React.Suspense, {
6718
3833
  fallback: /*#__PURE__*/React__default["default"].createElement(LoadingScreen, null)
6719
- }, /*#__PURE__*/React__default["default"].createElement(Lightbox, _extends({
3834
+ }, /*#__PURE__*/React__default["default"].createElement(Lightbox, _extends__default["default"]({
6720
3835
  wrapperClassName: "arr--image-lightbox",
6721
3836
  onCloseRequest: onClose
6722
3837
  }, lightboxProps))) : null);
@@ -6766,7 +3881,7 @@ var CaptionAttribution = function CaptionAttribution(_ref) {
6766
3881
  var updateStyle = caption ? "wrapper" : "";
6767
3882
  return /*#__PURE__*/React__default["default"].createElement("div", {
6768
3883
  "data-test-id": "caption",
6769
- className: "arr--caption-attribution " + _getClassName("caption ".concat(textColor), _styleModuleImportMap$9)
3884
+ className: "arr--caption-attribution " + _getClassName__default["default"]("caption ".concat(textColor), _styleModuleImportMap$9)
6770
3885
  }, /*#__PURE__*/React__default["default"].createElement("span", {
6771
3886
  dangerouslySetInnerHTML: {
6772
3887
  __html: caption
@@ -6776,7 +3891,7 @@ var CaptionAttribution = function CaptionAttribution(_ref) {
6776
3891
  dangerouslySetInnerHTML: {
6777
3892
  __html: attribution
6778
3893
  },
6779
- className: _getClassName("attribution ".concat(textColor, " ").concat(updateStyle), _styleModuleImportMap$9)
3894
+ className: _getClassName__default["default"]("attribution ".concat(textColor, " ").concat(updateStyle), _styleModuleImportMap$9)
6780
3895
  }));
6781
3896
  };
6782
3897
  CaptionAttribution.propTypes = {
@@ -6801,7 +3916,7 @@ var ImageBase = function ImageBase(_ref) {
6801
3916
  _ref.config;
6802
3917
  var _ref$caption = _ref.caption,
6803
3918
  caption = _ref$caption === void 0 ? true : _ref$caption,
6804
- restProps = _objectWithoutProperties(_ref, _excluded$6);
3919
+ restProps = _objectWithoutProperties__default["default"](_ref, _excluded$6);
6805
3920
 
6806
3921
  if (!element) return null;
6807
3922
  var configData = useStateValue() || {};
@@ -6833,7 +3948,7 @@ var ImageBase = function ImageBase(_ref) {
6833
3948
  ImageTemplate.propTypes = {
6834
3949
  onClick: PropTypes__default["default"].func
6835
3950
  };
6836
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3951
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6837
3952
  className: "arrow-component arr--image-element"
6838
3953
  }, restProps, {
6839
3954
  "data-test-id": "image-element"
@@ -6887,12 +4002,12 @@ var _styleModuleImportMap$8 = {
6887
4002
  var supportedTemplates = function supportedTemplates(type, element) {
6888
4003
  switch (type) {
6889
4004
  case "q-and-a":
6890
- var _get = get_1(element, ["metadata"]),
4005
+ var _get = lodash.get(element, ["metadata"]),
6891
4006
  qaQuestion = _get.question,
6892
4007
  qaAnswer = _get.answer;
6893
4008
 
6894
- var qaQuestionAttribution = get_1(element, ["metadata", "interviewer", "avatar-url"]);
6895
- var qaAnswerAttribution = get_1(element, ["metadata", "interviewee", "avatar-url"]);
4009
+ var qaQuestionAttribution = lodash.get(element, ["metadata", "interviewer", "avatar-url"]);
4010
+ var qaAnswerAttribution = lodash.get(element, ["metadata", "interviewee", "avatar-url"]);
6896
4011
  return {
6897
4012
  question: qaQuestion,
6898
4013
  answer: qaAnswer,
@@ -6901,16 +4016,16 @@ var supportedTemplates = function supportedTemplates(type, element) {
6901
4016
  };
6902
4017
 
6903
4018
  case "question":
6904
- var qQuestion = get_1(element, ["text"]);
6905
- var qAttribution = get_1(element, ["metadata", "interviewer", "avatar-url"]);
4019
+ var qQuestion = lodash.get(element, ["text"]);
4020
+ var qAttribution = lodash.get(element, ["metadata", "interviewer", "avatar-url"]);
6906
4021
  return {
6907
4022
  question: qQuestion,
6908
4023
  questionAttribution: qAttribution
6909
4024
  };
6910
4025
 
6911
4026
  case "answer":
6912
- var aAnswer = get_1(element, ["text"]);
6913
- var aAttribution = get_1(element, ["metadata", "interviewee", "avatar-url"]);
4027
+ var aAnswer = lodash.get(element, ["text"]);
4028
+ var aAttribution = lodash.get(element, ["metadata", "interviewee", "avatar-url"]);
6914
4029
  return {
6915
4030
  answer: aAnswer,
6916
4031
  answerAttribution: aAttribution
@@ -6928,7 +4043,7 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6928
4043
  var _ref$opts = _ref.opts,
6929
4044
  opts = _ref$opts === void 0 ? {} : _ref$opts;
6930
4045
  _ref.render;
6931
- var restProps = _objectWithoutProperties(_ref, _excluded$5);
4046
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$5);
6932
4047
 
6933
4048
  var configData = useStateValue() || {};
6934
4049
  var textInvertColor = getTextColor(configData.theme);
@@ -6963,7 +4078,7 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6963
4078
  style: {
6964
4079
  backgroundColor: iconColor
6965
4080
  },
6966
- className: _getClassName("".concat(iconType, " ").concat(theme), _styleModuleImportMap$8)
4081
+ className: _getClassName__default["default"]("".concat(iconType, " ").concat(theme), _styleModuleImportMap$8)
6967
4082
  }, "Q"); // EMPTY SPAN FOR EXTRA SPACE
6968
4083
 
6969
4084
  var supportAnswerElement = isAuthorImageTemplate ? answerAttribution && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -6978,12 +4093,12 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6978
4093
  style: {
6979
4094
  backgroundColor: iconColor
6980
4095
  },
6981
- className: _getClassName("".concat(iconType, " ").concat(theme), _styleModuleImportMap$8)
4096
+ className: _getClassName__default["default"]("".concat(iconType, " ").concat(theme), _styleModuleImportMap$8)
6982
4097
  }, "A");
6983
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
4098
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6984
4099
  "data-test-id": "question-answer"
6985
4100
  }, restProps, {
6986
- className: "arrow-component arr-custom-style arr--qa-element " + _getClassName(templateStyle, _styleModuleImportMap$8) + (" " + (restProps ? restProps.className || "" : ""))
4101
+ className: "arrow-component arr-custom-style arr--qa-element " + _getClassName__default["default"](templateStyle, _styleModuleImportMap$8) + (" " + (restProps ? restProps.className || "" : ""))
6987
4102
  }), type !== "answer" && /*#__PURE__*/React__default["default"].createElement("div", {
6988
4103
  className: "question-answer-m_q-element__1ZA5d",
6989
4104
  "data-test-id": "question"
@@ -6991,7 +4106,7 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6991
4106
  dangerouslySetInnerHTML: {
6992
4107
  __html: questionData
6993
4108
  },
6994
- className: _getClassName("content ".concat(textInvertColor), _styleModuleImportMap$8)
4109
+ className: _getClassName__default["default"]("content ".concat(textInvertColor), _styleModuleImportMap$8)
6995
4110
  })), type !== "question" && /*#__PURE__*/React__default["default"].createElement("div", {
6996
4111
  className: "question-answer-m_a-element__BTxfl",
6997
4112
  "data-test-id": "answer"
@@ -6999,7 +4114,7 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6999
4114
  dangerouslySetInnerHTML: {
7000
4115
  __html: answerData
7001
4116
  },
7002
- className: _getClassName("content ".concat(textInvertColor), _styleModuleImportMap$8)
4117
+ className: _getClassName__default["default"]("content ".concat(textInvertColor), _styleModuleImportMap$8)
7003
4118
  })));
7004
4119
  };
7005
4120
 
@@ -7050,7 +4165,7 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
7050
4165
  _ref.opts;
7051
4166
  _ref.story;
7052
4167
  _ref.config;
7053
- var restProps = _objectWithoutProperties(_ref, _excluded$4);
4168
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$4);
7054
4169
 
7055
4170
  if (!element) return null;
7056
4171
  var isMobile = clientWidth("mobile");
@@ -7070,14 +4185,14 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
7070
4185
  var images = renderImage.map(function (image, index) {
7071
4186
  return /*#__PURE__*/React__default["default"].createElement("div", {
7072
4187
  key: index,
7073
- className: _getClassName(hyperlinkClass(image["hyperlink"]), _styleModuleImportMap$7)
4188
+ className: _getClassName__default["default"](hyperlinkClass(image["hyperlink"]), _styleModuleImportMap$7)
7074
4189
  }, /*#__PURE__*/React__default["default"].createElement("figure", {
7075
4190
  key: index,
7076
4191
  "data-text-id": "image-".concat(index),
7077
4192
  onClick: function onClick() {
7078
4193
  return onClickHandler && onClickHandler(index);
7079
4194
  },
7080
- className: _getClassName("image ".concat(classes), _styleModuleImportMap$7)
4195
+ className: _getClassName__default["default"]("image ".concat(classes), _styleModuleImportMap$7)
7081
4196
  }, /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
7082
4197
  slug: image["image-s3-key"],
7083
4198
  metadata: image["image-metadata"],
@@ -7091,7 +4206,7 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
7091
4206
  hyperLink: image["hyperlink"]
7092
4207
  }));
7093
4208
  });
7094
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
4209
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
7095
4210
  className: " arrow-component arr--image-element image-gallery-m_image-gallery__1Q7if" + (" " + (restProps ? restProps.className || "" : ""))
7096
4211
  }, restProps, {
7097
4212
  "data-test-id": "image-gallery"
@@ -7126,9 +4241,9 @@ var StoryElementBase = function StoryElementBase(_ref) {
7126
4241
  var element = _ref.element;
7127
4242
  _ref.story;
7128
4243
  _ref.config;
7129
- var restProps = _objectWithoutProperties(_ref, _excluded$3);
4244
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$3);
7130
4245
 
7131
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({}, restProps, {
4246
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, restProps, {
7132
4247
  "data-test-id": "story-elements"
7133
4248
  }), /*#__PURE__*/React__default["default"].createElement(components.StoryElement, {
7134
4249
  element: element
@@ -7168,7 +4283,7 @@ var QuoteBase = function QuoteBase(_ref) {
7168
4283
  _ref.story;
7169
4284
  _ref.config;
7170
4285
  _ref.render;
7171
- var restProps = _objectWithoutProperties(_ref, _excluded$2);
4286
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$2);
7172
4287
 
7173
4288
  var configData = useStateValue() || {};
7174
4289
  var textInvertColor = getTextColor(configData.theme);
@@ -7179,10 +4294,10 @@ var QuoteBase = function QuoteBase(_ref) {
7179
4294
  var borderColor = css.borderColor;
7180
4295
  var updateBorderColor = template === "borderLeft" && "4px solid ".concat(borderColor);
7181
4296
  var templateStyle = template ? "quote-".concat(template) : "quote";
7182
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
4297
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
7183
4298
  "data-test-id": "quote"
7184
4299
  }, restProps, {
7185
- className: "arrow-component arr--quote-element " + _getClassName(templateStyle, _styleModuleImportMap$6) + (" " + (restProps ? restProps.className || "" : ""))
4300
+ className: "arrow-component arr--quote-element " + _getClassName__default["default"](templateStyle, _styleModuleImportMap$6) + (" " + (restProps ? restProps.className || "" : ""))
7186
4301
  }), template === "borderTopSmall" && /*#__PURE__*/React__default["default"].createElement("div", {
7187
4302
  className: "quote-m_line__3gtoE",
7188
4303
  style: borderColor && {
@@ -7195,10 +4310,10 @@ var QuoteBase = function QuoteBase(_ref) {
7195
4310
  dangerouslySetInnerHTML: {
7196
4311
  __html: content
7197
4312
  },
7198
- className: _getClassName("text ".concat(textInvertColor), _styleModuleImportMap$6)
4313
+ className: _getClassName__default["default"]("text ".concat(textInvertColor), _styleModuleImportMap$6)
7199
4314
  }), /*#__PURE__*/React__default["default"].createElement("p", {
7200
4315
  "data-test-id": "quote-attribution",
7201
- className: _getClassName("attribution ".concat(textInvertColor), _styleModuleImportMap$6)
4316
+ className: _getClassName__default["default"]("attribution ".concat(textInvertColor), _styleModuleImportMap$6)
7202
4317
  }, attribution));
7203
4318
  };
7204
4319
 
@@ -7238,7 +4353,7 @@ var ReferenceBase = function ReferenceBase(_ref) {
7238
4353
  _ref.config;
7239
4354
  var _ref$opts = _ref.opts,
7240
4355
  opts = _ref$opts === void 0 ? {} : _ref$opts,
7241
- restProps = _objectWithoutProperties(_ref, _excluded$1);
4356
+ restProps = _objectWithoutProperties__default["default"](_ref, _excluded$1);
7242
4357
 
7243
4358
  if (!element) return null;
7244
4359
  var configData = useStateValue() || {};
@@ -7249,7 +4364,7 @@ var ReferenceBase = function ReferenceBase(_ref) {
7249
4364
  var _opts$showHeadline = opts.showHeadline,
7250
4365
  showHeadline = _opts$showHeadline === void 0 ? true : _opts$showHeadline,
7251
4366
  headlineText = opts.headlineText;
7252
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
4367
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
7253
4368
  className: "arrow-component arr--reference-element"
7254
4369
  }, restProps), eleArr && eleArr.map(function (metadata, index) {
7255
4370
  var _metadata$name = metadata.name,
@@ -7259,7 +4374,7 @@ var ReferenceBase = function ReferenceBase(_ref) {
7259
4374
  url = metadata.url;
7260
4375
  return /*#__PURE__*/React__default["default"].createElement("div", {
7261
4376
  key: index,
7262
- className: _getClassName("wrapper ".concat(textInvertColor), _styleModuleImportMap$5)
4377
+ className: _getClassName__default["default"]("wrapper ".concat(textInvertColor), _styleModuleImportMap$5)
7263
4378
  }, /*#__PURE__*/React__default["default"].createElement(components.Link, {
7264
4379
  href: url,
7265
4380
  "aria-label": "reference-headline"
@@ -7311,7 +4426,7 @@ var AttachmentBase = function AttachmentBase(_ref) {
7311
4426
  var _ref$element = _ref.element,
7312
4427
  element = _ref$element === void 0 ? {} : _ref$element;
7313
4428
  _ref.render;
7314
- var restProps = _objectWithoutProperties(_ref, _excluded);
4429
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded);
7315
4430
 
7316
4431
  var fileName = element["file-name"],
7317
4432
  url = element.url,
@@ -7325,10 +4440,10 @@ var AttachmentBase = function AttachmentBase(_ref) {
7325
4440
  var textColor = getTextColor(configData.theme);
7326
4441
  var defaultName = isPdf ? "Attached PDF" : "Attached DOC";
7327
4442
  var defaultFileName = fileName || defaultName;
7328
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
4443
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
7329
4444
  "data-test-id": "attachment"
7330
4445
  }, restProps, {
7331
- className: "arrow-component arr--attachment-element " + _getClassName(textColor, _styleModuleImportMap$4) + (" " + (restProps ? restProps.className || "" : ""))
4446
+ className: "arrow-component arr--attachment-element " + _getClassName__default["default"](textColor, _styleModuleImportMap$4) + (" " + (restProps ? restProps.className || "" : ""))
7332
4447
  }), /*#__PURE__*/React__default["default"].createElement("div", {
7333
4448
  className: "attachment-m_headline__kP7Hs"
7334
4449
  }, "Attachment"), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -7449,12 +4564,12 @@ var SliderArrow = function SliderArrow(_ref) {
7449
4564
  var getRightArrowClassName = languageDirection === "rtl" ? "right-arrow-rtl" : "right-arrow-ltr";
7450
4565
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, selectedIndex !== 0 ? /*#__PURE__*/React__default["default"].createElement("button", {
7451
4566
  onClick: previousClick,
7452
- className: ("left-arrow ".concat(getLeftArrowClassName) ? "left-arrow ".concat(getLeftArrowClassName) + " " : "") + _getClassName("arrow left-arrow-".concat(textColor, " ").concat(getLeftArrowClassName), _styleModuleImportMap$3)
4567
+ className: ("left-arrow ".concat(getLeftArrowClassName) ? "left-arrow ".concat(getLeftArrowClassName) + " " : "") + _getClassName__default["default"]("arrow left-arrow-".concat(textColor, " ").concat(getLeftArrowClassName), _styleModuleImportMap$3)
7453
4568
  }, /*#__PURE__*/React__default["default"].createElement(LeftArrow, {
7454
4569
  color: textColor === "dark" ? "#fff" : "#333"
7455
4570
  })) : null, selectedIndex < noOfItems - 1 && rightArrowView() ? /*#__PURE__*/React__default["default"].createElement("button", {
7456
4571
  onClick: nextClick,
7457
- className: ("right-arrow ".concat(getRightArrowClassName) ? "right-arrow ".concat(getRightArrowClassName) + " " : "") + _getClassName("arrow right-arrow-".concat(textColor, " ").concat(getRightArrowClassName), _styleModuleImportMap$3)
4572
+ className: ("right-arrow ".concat(getRightArrowClassName) ? "right-arrow ".concat(getRightArrowClassName) + " " : "") + _getClassName__default["default"]("arrow right-arrow-".concat(textColor, " ").concat(getRightArrowClassName), _styleModuleImportMap$3)
7458
4573
  }, /*#__PURE__*/React__default["default"].createElement(RightArrow, {
7459
4574
  color: textColor === "dark" ? "#fff" : "#333"
7460
4575
  })) : null);
@@ -7505,7 +4620,7 @@ var SliderIndicator = function SliderIndicator(_ref) {
7505
4620
  }
7506
4621
  }, /*#__PURE__*/React__default["default"].createElement("button", {
7507
4622
  "aria-pressed": selectedIndex === index ? "true" : "false",
7508
- className: ("indicator-button indicator-".concat(indicatorType) ? "indicator-button indicator-".concat(indicatorType) + " " : "") + _getClassName("indicator-button indicator-".concat(indicatorType, " indicator-").concat(indicatorType, "-").concat(textColor), _styleModuleImportMap$2)
4623
+ className: ("indicator-button indicator-".concat(indicatorType) ? "indicator-button indicator-".concat(indicatorType) + " " : "") + _getClassName__default["default"]("indicator-button indicator-".concat(indicatorType, " indicator-").concat(indicatorType, "-").concat(textColor), _styleModuleImportMap$2)
7509
4624
  }));
7510
4625
  }));
7511
4626
  };
@@ -7520,7 +4635,7 @@ SliderIndicator.propTypes = {
7520
4635
  var smoothScroll = function smoothScroll(node, topOrLeft, horizontal) {
7521
4636
  var _node$scrollTo;
7522
4637
 
7523
- node.scrollTo((_node$scrollTo = {}, _defineProperty(_node$scrollTo, horizontal ? "left" : "top", topOrLeft), _defineProperty(_node$scrollTo, "behavior", "smooth"), _node$scrollTo));
4638
+ node.scrollTo((_node$scrollTo = {}, _defineProperty__default["default"](_node$scrollTo, horizontal ? "left" : "top", topOrLeft), _defineProperty__default["default"](_node$scrollTo, "behavior", "smooth"), _node$scrollTo));
7524
4639
  };
7525
4640
 
7526
4641
  var updateItemSelection = function updateItemSelection(index, languageDirection, scroller, noOfItems) {
@@ -7550,17 +4665,17 @@ var ScrollSnap = function ScrollSnap(_ref) {
7550
4665
  slideIndicator = _ref.slideIndicator;
7551
4666
 
7552
4667
  var _useState = React.useState(0),
7553
- _useState2 = _slicedToArray(_useState, 2),
4668
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
7554
4669
  selectedIndex = _useState2[0],
7555
4670
  setSelectedIndex = _useState2[1];
7556
4671
 
7557
4672
  var _useState3 = React.useState(false),
7558
- _useState4 = _slicedToArray(_useState3, 2),
4673
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
7559
4674
  autoScroll = _useState4[0],
7560
4675
  setAutoScroll = _useState4[1];
7561
4676
 
7562
4677
  var languageDirection = reactRedux.useSelector(function (state) {
7563
- return get_1(state, ["qt", "config", "language", "direction"], "ltr");
4678
+ return lodash.get(state, ["qt", "config", "language", "direction"], "ltr");
7564
4679
  });
7565
4680
  var noOfItems = children ? children.length : 0;
7566
4681
  var scroller = React.useRef(null);
@@ -7717,7 +4832,7 @@ var ImageSlideshowBase = function ImageSlideshowBase(props) {
7717
4832
 
7718
4833
  var ImageSlideshowTemplate = function ImageSlideshowTemplate(_ref) {
7719
4834
  var onClickHandler = _ref.onClickHandler;
7720
- var storyElements = get_1(props, ["element", "story-elements"], []);
4835
+ var storyElements = lodash.get(props, ["element", "story-elements"], []);
7721
4836
  return /*#__PURE__*/React__default["default"].createElement("div", {
7722
4837
  className: "arr--image-slideshow-element image-slideshow-m_slideshow__3jRFX",
7723
4838
  "data-test-id": "image-slideshow"
@@ -7793,11 +4908,11 @@ var getElement = function getElement(story, element) {
7793
4908
  elementType = element.metadata["type"];
7794
4909
  }
7795
4910
 
7796
- var storyElementId = get_1(element, ["id"]);
4911
+ var storyElementId = lodash.get(element, ["id"]);
7797
4912
 
7798
4913
  switch (elementType) {
7799
4914
  case "ad":
7800
- return /*#__PURE__*/React__default["default"].createElement(AdComponent, _extends({}, element, {
4915
+ return /*#__PURE__*/React__default["default"].createElement(AdComponent, _extends__default["default"]({}, element, {
7801
4916
  id: "ad-".concat(index, "_").concat(cardId)
7802
4917
  }));
7803
4918
 
@@ -8092,7 +5207,7 @@ var StoryElementCard = function StoryElementCard(_ref2) {
8092
5207
  var shouldRunFBMobileVideoFix = true;
8093
5208
  return /*#__PURE__*/React__default["default"].createElement("div", {
8094
5209
  className: "arr--story-page-card-wrapper"
8095
- }, get_1(card, ["story-elements"], []).map(function (element, index) {
5210
+ }, lodash.get(card, ["story-elements"], []).map(function (element, index) {
8096
5211
  if (element.id === heroVideoElementId) return false;
8097
5212
 
8098
5213
  if (element.subtype && element.subtype === "facebook-post" && shouldRunFBMobileVideoFix) {
@@ -8101,10 +5216,10 @@ var StoryElementCard = function StoryElementCard(_ref2) {
8101
5216
  }
8102
5217
 
8103
5218
  var tableStyle = element && element.subtype === "table" ? "table" : "";
8104
- var cardId = get_1(card, ["id"], "");
5219
+ var cardId = lodash.get(card, ["id"], "");
8105
5220
  return /*#__PURE__*/React__default["default"].createElement("div", {
8106
5221
  key: element.id,
8107
- className: "arr--element-container " + _getClassName("element-container ".concat(isLiveBlog, " ").concat(tableStyle, " ").concat(textColor), _styleModuleImportMap$1)
5222
+ className: "arr--element-container " + _getClassName__default["default"]("element-container ".concat(isLiveBlog, " ").concat(tableStyle, " ").concat(textColor), _styleModuleImportMap$1)
8108
5223
  }, getElement(story, element, config, adComponent, widgetComp, index, cardId));
8109
5224
  }));
8110
5225
  };
@@ -8135,7 +5250,7 @@ var SlotAfterStory = function SlotAfterStory(_ref4) {
8135
5250
 
8136
5251
  switch (element.type) {
8137
5252
  case "ad":
8138
- return /*#__PURE__*/React__default["default"].createElement(AdComponent, _extends({}, element, {
5253
+ return /*#__PURE__*/React__default["default"].createElement(AdComponent, _extends__default["default"]({}, element, {
8139
5254
  id: "ad-after-story-".concat(id)
8140
5255
  }));
8141
5256
 
@@ -8214,15 +5329,15 @@ var VideoStoryTemplateBase = function VideoStoryTemplateBase(_ref) {
8214
5329
  _config$premiumStoryI = config.premiumStoryIconConfig,
8215
5330
  premiumStoryIconConfig = _config$premiumStoryI === void 0 ? {} : _config$premiumStoryI;
8216
5331
  var visibledCards = noOfVisibleCards < 0 ? story.cards : story.cards.slice(0, noOfVisibleCards);
8217
- var storyId = get_1(story, ["id"], "");
5332
+ var storyId = lodash.get(story, ["id"], "");
8218
5333
  var timezone = reactRedux.useSelector(function (state) {
8219
- return get_1(state, ["qt", "data", "timezone"], null);
5334
+ return lodash.get(state, ["qt", "data", "timezone"], null);
8220
5335
  });
8221
5336
 
8222
5337
  var HeroVideo = function HeroVideo() {
8223
5338
  return /*#__PURE__*/React__default["default"].createElement("div", {
8224
5339
  className: "video-story-m_hero-video__1rumO video-story-m_index-2__32Kzt",
8225
- id: "video-".concat(get_1(heroVideo, ["id"]))
5340
+ id: "video-".concat(lodash.get(heroVideo, ["id"]))
8226
5341
  }, /*#__PURE__*/React__default["default"].createElement(Video, {
8227
5342
  element: heroVideo,
8228
5343
  loadIframeOnClick: true
@@ -8279,7 +5394,7 @@ var VideoStoryTemplateBase = function VideoStoryTemplateBase(_ref) {
8279
5394
  heroVideoElementId: heroVideo.id,
8280
5395
  story: story,
8281
5396
  card: card,
8282
- key: get_1(card, ["id"], ""),
5397
+ key: lodash.get(card, ["id"], ""),
8283
5398
  config: storyElementsConfig,
8284
5399
  adComponent: adComponent,
8285
5400
  widgetComp: widgetComp
@@ -8299,7 +5414,7 @@ var VideoStoryTemplateBase = function VideoStoryTemplateBase(_ref) {
8299
5414
  var SideColumn = function SideColumn() {
8300
5415
  return asideCollection && /*#__PURE__*/React__default["default"].createElement("div", {
8301
5416
  className: "video-story-m_video-story-side-column__155nW"
8302
- }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({}, asideCollection, {
5417
+ }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends__default["default"]({}, asideCollection, {
8303
5418
  widgetComp: widgetComp,
8304
5419
  adComponent: adComponent,
8305
5420
  sticky: true,
@@ -8313,7 +5428,7 @@ var VideoStoryTemplateBase = function VideoStoryTemplateBase(_ref) {
8313
5428
  className: "video-story-m_story-content-wrapper__g87mo"
8314
5429
  }, /*#__PURE__*/React__default["default"].createElement(HeaderCard, null), /*#__PURE__*/React__default["default"].createElement(StoryData, null)), verticalShare && /*#__PURE__*/React__default["default"].createElement(SocialShareComponent, null), asideCollection && /*#__PURE__*/React__default["default"].createElement("div", {
8315
5430
  className: "video-story-m_aside-collection__3ecnd video-story-m_tablet-index-2__2sPXB"
8316
- }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({
5431
+ }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends__default["default"]({
8317
5432
  horizontal: true
8318
5433
  }, asideCollection, {
8319
5434
  widgetComp: widgetComp,
@@ -8359,7 +5474,7 @@ var VideoStoryTemplateBase = function VideoStoryTemplateBase(_ref) {
8359
5474
  style: {
8360
5475
  backgroundColor: theme
8361
5476
  },
8362
- className: "arrow-component arr--content-wrapper arr-story-grid arr--video-story-template-wrapper " + _getClassName("".concat(templateClass, " ").concat(verticalShare), _styleModuleImportMap)
5477
+ className: "arrow-component arr--content-wrapper arr-story-grid arr--video-story-template-wrapper " + _getClassName__default["default"]("".concat(templateClass, " ").concat(verticalShare), _styleModuleImportMap)
8363
5478
  }, getStoryTemplate(templateType));
8364
5479
  };
8365
5480
  VideoStoryTemplateBase.propTypes = {