@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,2838 +2,245 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var _getClassName = require('babel-plugin-react-css-modules/dist/browser/getClassName');
5
6
  var PropTypes = require('prop-types');
6
7
  var React = require('react');
7
8
  var reactRedux = require('react-redux');
9
+ var _extends = require('@babel/runtime/helpers/extends');
10
+ var lodash = require('lodash');
11
+ var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
12
+ var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
13
+ var _typeof = require('@babel/runtime/helpers/typeof');
14
+ var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
15
  var Timeago = require('react-timeago');
9
16
  var dateFnsTz = require('date-fns-tz');
10
17
  var components = require('@quintype/components');
18
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
19
+ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
11
20
 
12
21
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13
22
 
14
23
  function _interopNamespace(e) {
15
- if (e && e.__esModule) return e;
16
- var n = Object.create(null);
17
- if (e) {
18
- Object.keys(e).forEach(function (k) {
19
- if (k !== 'default') {
20
- var d = Object.getOwnPropertyDescriptor(e, k);
21
- Object.defineProperty(n, k, d.get ? d : {
22
- enumerable: true,
23
- get: function () { return e[k]; }
24
- });
25
- }
26
- });
27
- }
28
- n["default"] = e;
29
- return Object.freeze(n);
30
- }
31
-
32
- var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
33
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
34
- var Timeago__default = /*#__PURE__*/_interopDefaultLegacy(Timeago);
35
-
36
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
37
-
38
- function getDefaultExportFromCjs (x) {
39
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
40
- }
41
-
42
- function createCommonjsModule(fn) {
43
- var module = { exports: {} };
44
- return fn(module, module.exports), module.exports;
45
- }
46
-
47
- var optionsDefaults_1 = createCommonjsModule(function (module, exports) {
48
-
49
- Object.defineProperty(exports, "__esModule", {
50
- value: true
51
- });
52
- exports["default"] = void 0;
53
- var optionsDefaults = {
54
- attributeNames: {
55
- styleName: 'className'
56
- },
57
- generateScopedName: '[path]___[name]__[local]___[hash:base64:5]',
58
- handleMissingStyleName: 'throw'
59
- };
60
- var _default = optionsDefaults;
61
- exports["default"] = _default;
62
-
63
-
64
- });
65
-
66
- var getClassName = createCommonjsModule(function (module, exports) {
67
-
68
- Object.defineProperty(exports, "__esModule", {
69
- value: true
70
- });
71
- exports["default"] = void 0;
72
-
73
- var _optionsDefaults = _interopRequireDefault(optionsDefaults_1);
74
-
75
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
76
-
77
- var isNamespacedStyleName = function isNamespacedStyleName(styleName) {
78
- return styleName.indexOf('.') !== -1;
79
- };
80
-
81
- var handleError = function handleError(message, handleMissingStyleName) {
82
- if (handleMissingStyleName === 'throw') {
83
- throw new Error(message);
84
- } else if (handleMissingStyleName === 'warn') {
85
- // eslint-disable-next-line no-console
86
- console.warn(message);
87
- }
88
-
89
- return null;
90
- };
91
-
92
- var getClassNameForNamespacedStyleName = function getClassNameForNamespacedStyleName(styleName, styleModuleImportMap, handleMissingStyleNameOption) {
93
- // Note:
94
- // Do not use the desctructing syntax with Babel.
95
- // Desctructing adds _slicedToArray helper.
96
- var styleNameParts = styleName.split('.');
97
- var importName = styleNameParts[0];
98
- var moduleName = styleNameParts[1];
99
- var handleMissingStyleName = handleMissingStyleNameOption || _optionsDefaults["default"].handleMissingStyleName;
100
-
101
- if (!moduleName) {
102
- return handleError('Invalid style name: ' + styleName, handleMissingStyleName);
103
- }
104
-
105
- if (!styleModuleImportMap[importName]) {
106
- return handleError('CSS module import does not exist: ' + importName, handleMissingStyleName);
107
- }
108
-
109
- if (!styleModuleImportMap[importName][moduleName]) {
110
- return handleError('CSS module does not exist: ' + moduleName, handleMissingStyleName);
111
- }
112
-
113
- return styleModuleImportMap[importName][moduleName];
114
- };
115
-
116
- var getClassNameFromMultipleImports = function getClassNameFromMultipleImports(styleName, styleModuleImportMap, handleMissingStyleNameOption) {
117
- var handleMissingStyleName = handleMissingStyleNameOption || _optionsDefaults["default"].handleMissingStyleName;
118
- var importKeysWithMatches = Object.keys(styleModuleImportMap).map(function (importKey) {
119
- return styleModuleImportMap[importKey][styleName] && importKey;
120
- }).filter(function (importKey) {
121
- return importKey;
122
- });
123
-
124
- if (importKeysWithMatches.length > 1) {
125
- 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');
126
- }
127
-
128
- if (importKeysWithMatches.length === 0) {
129
- return handleError('Could not resolve the styleName \'' + styleName + '\'.', handleMissingStyleName);
130
- }
131
-
132
- return styleModuleImportMap[importKeysWithMatches[0]][styleName];
133
- };
134
-
135
- var _default = function _default(styleNameValue, styleModuleImportMap, options) {
136
- var styleModuleImportMapKeys = Object.keys(styleModuleImportMap);
137
-
138
- var _ref = options || {},
139
- _ref$handleMissingSty = _ref.handleMissingStyleName,
140
- handleMissingStyleName = _ref$handleMissingSty === void 0 ? _optionsDefaults["default"].handleMissingStyleName : _ref$handleMissingSty,
141
- _ref$autoResolveMulti = _ref.autoResolveMultipleImports,
142
- autoResolveMultipleImports = _ref$autoResolveMulti === void 0 ? _optionsDefaults["default"].autoResolveMultipleImports : _ref$autoResolveMulti;
143
-
144
- if (!styleNameValue) {
145
- return '';
146
- }
147
-
148
- return styleNameValue.split(' ').filter(function (styleName) {
149
- return styleName;
150
- }).map(function (styleName) {
151
- if (isNamespacedStyleName(styleName)) {
152
- return getClassNameForNamespacedStyleName(styleName, styleModuleImportMap, handleMissingStyleName);
153
- }
154
-
155
- if (styleModuleImportMapKeys.length === 0) {
156
- throw new Error('Cannot use styleName attribute for style name \'' + styleName + '\' without importing at least one stylesheet.');
157
- }
158
-
159
- if (styleModuleImportMapKeys.length > 1) {
160
- if (!autoResolveMultipleImports) {
161
- throw new Error('Cannot use anonymous style name \'' + styleName + '\' with more than one stylesheet import without setting \'autoResolveMultipleImports\' to true.');
162
- }
163
-
164
- return getClassNameFromMultipleImports(styleName, styleModuleImportMap, handleMissingStyleName);
165
- }
166
-
167
- var styleModuleMap = styleModuleImportMap[styleModuleImportMapKeys[0]];
168
-
169
- if (!styleModuleMap[styleName]) {
170
- return handleError('Could not resolve the styleName \'' + styleName + '\'.', handleMissingStyleName);
171
- }
172
-
173
- return styleModuleMap[styleName];
174
- }).filter(function (className) {
175
- // Remove any styles which could not be found (if handleMissingStyleName === 'ignore')
176
- return className;
177
- }).join(' ');
178
- };
179
-
180
- exports["default"] = _default;
181
-
182
-
183
- });
184
-
185
- var _getClassName = /*@__PURE__*/getDefaultExportFromCjs(getClassName);
186
-
187
- /**
188
- * A specialized version of `_.reduce` for arrays without support for
189
- * iteratee shorthands.
190
- *
191
- * @private
192
- * @param {Array} [array] The array to iterate over.
193
- * @param {Function} iteratee The function invoked per iteration.
194
- * @param {*} [accumulator] The initial value.
195
- * @param {boolean} [initAccum] Specify using the first element of `array` as
196
- * the initial value.
197
- * @returns {*} Returns the accumulated value.
198
- */
199
- function arrayReduce(array, iteratee, accumulator, initAccum) {
200
- var index = -1,
201
- length = array == null ? 0 : array.length;
202
-
203
- if (initAccum && length) {
204
- accumulator = array[++index];
205
- }
206
- while (++index < length) {
207
- accumulator = iteratee(accumulator, array[index], index, array);
208
- }
209
- return accumulator;
210
- }
211
-
212
- var _arrayReduce = arrayReduce;
213
-
214
- /**
215
- * The base implementation of `_.propertyOf` without support for deep paths.
216
- *
217
- * @private
218
- * @param {Object} object The object to query.
219
- * @returns {Function} Returns the new accessor function.
220
- */
221
- function basePropertyOf(object) {
222
- return function(key) {
223
- return object == null ? undefined : object[key];
224
- };
225
- }
226
-
227
- var _basePropertyOf = basePropertyOf;
228
-
229
- /** Used to map Latin Unicode letters to basic Latin letters. */
230
- var deburredLetters = {
231
- // Latin-1 Supplement block.
232
- '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
233
- '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
234
- '\xc7': 'C', '\xe7': 'c',
235
- '\xd0': 'D', '\xf0': 'd',
236
- '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
237
- '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
238
- '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
239
- '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
240
- '\xd1': 'N', '\xf1': 'n',
241
- '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
242
- '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
243
- '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
244
- '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
245
- '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
246
- '\xc6': 'Ae', '\xe6': 'ae',
247
- '\xde': 'Th', '\xfe': 'th',
248
- '\xdf': 'ss',
249
- // Latin Extended-A block.
250
- '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
251
- '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
252
- '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
253
- '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
254
- '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
255
- '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
256
- '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
257
- '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
258
- '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
259
- '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
260
- '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
261
- '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
262
- '\u0134': 'J', '\u0135': 'j',
263
- '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
264
- '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
265
- '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
266
- '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
267
- '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
268
- '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
269
- '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
270
- '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
271
- '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
272
- '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
273
- '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
274
- '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
275
- '\u0163': 't', '\u0165': 't', '\u0167': 't',
276
- '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
277
- '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
278
- '\u0174': 'W', '\u0175': 'w',
279
- '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
280
- '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
281
- '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
282
- '\u0132': 'IJ', '\u0133': 'ij',
283
- '\u0152': 'Oe', '\u0153': 'oe',
284
- '\u0149': "'n", '\u017f': 's'
285
- };
286
-
287
- /**
288
- * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
289
- * letters to basic Latin letters.
290
- *
291
- * @private
292
- * @param {string} letter The matched letter to deburr.
293
- * @returns {string} Returns the deburred letter.
294
- */
295
- var deburrLetter = _basePropertyOf(deburredLetters);
296
-
297
- var _deburrLetter = deburrLetter;
298
-
299
- /** Detect free variable `global` from Node.js. */
300
-
301
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
302
-
303
- var _freeGlobal = freeGlobal;
304
-
305
- /** Detect free variable `self`. */
306
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
307
-
308
- /** Used as a reference to the global object. */
309
- var root = _freeGlobal || freeSelf || Function('return this')();
310
-
311
- var _root = root;
312
-
313
- /** Built-in value references. */
314
- var Symbol$1 = _root.Symbol;
315
-
316
- var _Symbol = Symbol$1;
317
-
318
- /**
319
- * A specialized version of `_.map` for arrays without support for iteratee
320
- * shorthands.
321
- *
322
- * @private
323
- * @param {Array} [array] The array to iterate over.
324
- * @param {Function} iteratee The function invoked per iteration.
325
- * @returns {Array} Returns the new mapped array.
326
- */
327
- function arrayMap(array, iteratee) {
328
- var index = -1,
329
- length = array == null ? 0 : array.length,
330
- result = Array(length);
331
-
332
- while (++index < length) {
333
- result[index] = iteratee(array[index], index, array);
334
- }
335
- return result;
336
- }
337
-
338
- var _arrayMap = arrayMap;
339
-
340
- /**
341
- * Checks if `value` is classified as an `Array` object.
342
- *
343
- * @static
344
- * @memberOf _
345
- * @since 0.1.0
346
- * @category Lang
347
- * @param {*} value The value to check.
348
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
349
- * @example
350
- *
351
- * _.isArray([1, 2, 3]);
352
- * // => true
353
- *
354
- * _.isArray(document.body.children);
355
- * // => false
356
- *
357
- * _.isArray('abc');
358
- * // => false
359
- *
360
- * _.isArray(_.noop);
361
- * // => false
362
- */
363
- var isArray = Array.isArray;
364
-
365
- var isArray_1 = isArray;
366
-
367
- /** Used for built-in method references. */
368
- var objectProto$4 = Object.prototype;
369
-
370
- /** Used to check objects for own properties. */
371
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
372
-
373
- /**
374
- * Used to resolve the
375
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
376
- * of values.
377
- */
378
- var nativeObjectToString$1 = objectProto$4.toString;
379
-
380
- /** Built-in value references. */
381
- var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
382
-
383
- /**
384
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
385
- *
386
- * @private
387
- * @param {*} value The value to query.
388
- * @returns {string} Returns the raw `toStringTag`.
389
- */
390
- function getRawTag(value) {
391
- var isOwn = hasOwnProperty$3.call(value, symToStringTag$1),
392
- tag = value[symToStringTag$1];
393
-
394
- try {
395
- value[symToStringTag$1] = undefined;
396
- var unmasked = true;
397
- } catch (e) {}
398
-
399
- var result = nativeObjectToString$1.call(value);
400
- if (unmasked) {
401
- if (isOwn) {
402
- value[symToStringTag$1] = tag;
403
- } else {
404
- delete value[symToStringTag$1];
405
- }
406
- }
407
- return result;
408
- }
409
-
410
- var _getRawTag = getRawTag;
411
-
412
- /** Used for built-in method references. */
413
- var objectProto$3 = Object.prototype;
414
-
415
- /**
416
- * Used to resolve the
417
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
418
- * of values.
419
- */
420
- var nativeObjectToString = objectProto$3.toString;
421
-
422
- /**
423
- * Converts `value` to a string using `Object.prototype.toString`.
424
- *
425
- * @private
426
- * @param {*} value The value to convert.
427
- * @returns {string} Returns the converted string.
428
- */
429
- function objectToString(value) {
430
- return nativeObjectToString.call(value);
431
- }
432
-
433
- var _objectToString = objectToString;
434
-
435
- /** `Object#toString` result references. */
436
- var nullTag = '[object Null]',
437
- undefinedTag = '[object Undefined]';
438
-
439
- /** Built-in value references. */
440
- var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
441
-
442
- /**
443
- * The base implementation of `getTag` without fallbacks for buggy environments.
444
- *
445
- * @private
446
- * @param {*} value The value to query.
447
- * @returns {string} Returns the `toStringTag`.
448
- */
449
- function baseGetTag(value) {
450
- if (value == null) {
451
- return value === undefined ? undefinedTag : nullTag;
452
- }
453
- return (symToStringTag && symToStringTag in Object(value))
454
- ? _getRawTag(value)
455
- : _objectToString(value);
456
- }
457
-
458
- var _baseGetTag = baseGetTag;
459
-
460
- /**
461
- * Checks if `value` is object-like. A value is object-like if it's not `null`
462
- * and has a `typeof` result of "object".
463
- *
464
- * @static
465
- * @memberOf _
466
- * @since 4.0.0
467
- * @category Lang
468
- * @param {*} value The value to check.
469
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
470
- * @example
471
- *
472
- * _.isObjectLike({});
473
- * // => true
474
- *
475
- * _.isObjectLike([1, 2, 3]);
476
- * // => true
477
- *
478
- * _.isObjectLike(_.noop);
479
- * // => false
480
- *
481
- * _.isObjectLike(null);
482
- * // => false
483
- */
484
- function isObjectLike(value) {
485
- return value != null && typeof value == 'object';
486
- }
487
-
488
- var isObjectLike_1 = isObjectLike;
489
-
490
- /** `Object#toString` result references. */
491
- var symbolTag = '[object Symbol]';
492
-
493
- /**
494
- * Checks if `value` is classified as a `Symbol` primitive or object.
495
- *
496
- * @static
497
- * @memberOf _
498
- * @since 4.0.0
499
- * @category Lang
500
- * @param {*} value The value to check.
501
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
502
- * @example
503
- *
504
- * _.isSymbol(Symbol.iterator);
505
- * // => true
506
- *
507
- * _.isSymbol('abc');
508
- * // => false
509
- */
510
- function isSymbol(value) {
511
- return typeof value == 'symbol' ||
512
- (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
513
- }
514
-
515
- var isSymbol_1 = isSymbol;
516
-
517
- /** Used as references for various `Number` constants. */
518
- var INFINITY$1 = 1 / 0;
519
-
520
- /** Used to convert symbols to primitives and strings. */
521
- var symbolProto = _Symbol ? _Symbol.prototype : undefined,
522
- symbolToString = symbolProto ? symbolProto.toString : undefined;
523
-
524
- /**
525
- * The base implementation of `_.toString` which doesn't convert nullish
526
- * values to empty strings.
527
- *
528
- * @private
529
- * @param {*} value The value to process.
530
- * @returns {string} Returns the string.
531
- */
532
- function baseToString(value) {
533
- // Exit early for strings to avoid a performance hit in some environments.
534
- if (typeof value == 'string') {
535
- return value;
536
- }
537
- if (isArray_1(value)) {
538
- // Recursively convert values (susceptible to call stack limits).
539
- return _arrayMap(value, baseToString) + '';
540
- }
541
- if (isSymbol_1(value)) {
542
- return symbolToString ? symbolToString.call(value) : '';
543
- }
544
- var result = (value + '');
545
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
546
- }
547
-
548
- var _baseToString = baseToString;
549
-
550
- /**
551
- * Converts `value` to a string. An empty string is returned for `null`
552
- * and `undefined` values. The sign of `-0` is preserved.
553
- *
554
- * @static
555
- * @memberOf _
556
- * @since 4.0.0
557
- * @category Lang
558
- * @param {*} value The value to convert.
559
- * @returns {string} Returns the converted string.
560
- * @example
561
- *
562
- * _.toString(null);
563
- * // => ''
564
- *
565
- * _.toString(-0);
566
- * // => '-0'
567
- *
568
- * _.toString([1, 2, 3]);
569
- * // => '1,2,3'
570
- */
571
- function toString(value) {
572
- return value == null ? '' : _baseToString(value);
573
- }
574
-
575
- var toString_1 = toString;
576
-
577
- /** Used to match Latin Unicode letters (excluding mathematical operators). */
578
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
579
-
580
- /** Used to compose unicode character classes. */
581
- var rsComboMarksRange$3 = '\\u0300-\\u036f',
582
- reComboHalfMarksRange$3 = '\\ufe20-\\ufe2f',
583
- rsComboSymbolsRange$3 = '\\u20d0-\\u20ff',
584
- rsComboRange$3 = rsComboMarksRange$3 + reComboHalfMarksRange$3 + rsComboSymbolsRange$3;
585
-
586
- /** Used to compose unicode capture groups. */
587
- var rsCombo$2 = '[' + rsComboRange$3 + ']';
588
-
589
- /**
590
- * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
591
- * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
592
- */
593
- var reComboMark = RegExp(rsCombo$2, 'g');
594
-
595
- /**
596
- * Deburrs `string` by converting
597
- * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
598
- * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
599
- * letters to basic Latin letters and removing
600
- * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
601
- *
602
- * @static
603
- * @memberOf _
604
- * @since 3.0.0
605
- * @category String
606
- * @param {string} [string=''] The string to deburr.
607
- * @returns {string} Returns the deburred string.
608
- * @example
609
- *
610
- * _.deburr('déjà vu');
611
- * // => 'deja vu'
612
- */
613
- function deburr(string) {
614
- string = toString_1(string);
615
- return string && string.replace(reLatin, _deburrLetter).replace(reComboMark, '');
616
- }
617
-
618
- var deburr_1 = deburr;
619
-
620
- /** Used to match words composed of alphanumeric characters. */
621
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
622
-
623
- /**
624
- * Splits an ASCII `string` into an array of its words.
625
- *
626
- * @private
627
- * @param {string} The string to inspect.
628
- * @returns {Array} Returns the words of `string`.
629
- */
630
- function asciiWords(string) {
631
- return string.match(reAsciiWord) || [];
632
- }
633
-
634
- var _asciiWords = asciiWords;
635
-
636
- /** Used to detect strings that need a more robust regexp to match words. */
637
- 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 ]/;
638
-
639
- /**
640
- * Checks if `string` contains a word composed of Unicode symbols.
641
- *
642
- * @private
643
- * @param {string} string The string to inspect.
644
- * @returns {boolean} Returns `true` if a word is found, else `false`.
645
- */
646
- function hasUnicodeWord(string) {
647
- return reHasUnicodeWord.test(string);
648
- }
649
-
650
- var _hasUnicodeWord = hasUnicodeWord;
651
-
652
- /** Used to compose unicode character classes. */
653
- var rsAstralRange$2 = '\\ud800-\\udfff',
654
- rsComboMarksRange$2 = '\\u0300-\\u036f',
655
- reComboHalfMarksRange$2 = '\\ufe20-\\ufe2f',
656
- rsComboSymbolsRange$2 = '\\u20d0-\\u20ff',
657
- rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2,
658
- rsDingbatRange = '\\u2700-\\u27bf',
659
- rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
660
- rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
661
- rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
662
- rsPunctuationRange = '\\u2000-\\u206f',
663
- 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',
664
- rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
665
- rsVarRange$2 = '\\ufe0e\\ufe0f',
666
- rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
667
-
668
- /** Used to compose unicode capture groups. */
669
- var rsApos$1 = "['\u2019]",
670
- rsBreak = '[' + rsBreakRange + ']',
671
- rsCombo$1 = '[' + rsComboRange$2 + ']',
672
- rsDigits = '\\d+',
673
- rsDingbat = '[' + rsDingbatRange + ']',
674
- rsLower = '[' + rsLowerRange + ']',
675
- rsMisc = '[^' + rsAstralRange$2 + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
676
- rsFitz$1 = '\\ud83c[\\udffb-\\udfff]',
677
- rsModifier$1 = '(?:' + rsCombo$1 + '|' + rsFitz$1 + ')',
678
- rsNonAstral$1 = '[^' + rsAstralRange$2 + ']',
679
- rsRegional$1 = '(?:\\ud83c[\\udde6-\\uddff]){2}',
680
- rsSurrPair$1 = '[\\ud800-\\udbff][\\udc00-\\udfff]',
681
- rsUpper = '[' + rsUpperRange + ']',
682
- rsZWJ$2 = '\\u200d';
683
-
684
- /** Used to compose unicode regexes. */
685
- var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
686
- rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
687
- rsOptContrLower = '(?:' + rsApos$1 + '(?:d|ll|m|re|s|t|ve))?',
688
- rsOptContrUpper = '(?:' + rsApos$1 + '(?:D|LL|M|RE|S|T|VE))?',
689
- reOptMod$1 = rsModifier$1 + '?',
690
- rsOptVar$1 = '[' + rsVarRange$2 + ']?',
691
- rsOptJoin$1 = '(?:' + rsZWJ$2 + '(?:' + [rsNonAstral$1, rsRegional$1, rsSurrPair$1].join('|') + ')' + rsOptVar$1 + reOptMod$1 + ')*',
692
- rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
693
- rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
694
- rsSeq$1 = rsOptVar$1 + reOptMod$1 + rsOptJoin$1,
695
- rsEmoji = '(?:' + [rsDingbat, rsRegional$1, rsSurrPair$1].join('|') + ')' + rsSeq$1;
696
-
697
- /** Used to match complex or compound words. */
698
- var reUnicodeWord = RegExp([
699
- rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
700
- rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
701
- rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
702
- rsUpper + '+' + rsOptContrUpper,
703
- rsOrdUpper,
704
- rsOrdLower,
705
- rsDigits,
706
- rsEmoji
707
- ].join('|'), 'g');
708
-
709
- /**
710
- * Splits a Unicode `string` into an array of its words.
711
- *
712
- * @private
713
- * @param {string} The string to inspect.
714
- * @returns {Array} Returns the words of `string`.
715
- */
716
- function unicodeWords(string) {
717
- return string.match(reUnicodeWord) || [];
718
- }
719
-
720
- var _unicodeWords = unicodeWords;
721
-
722
- /**
723
- * Splits `string` into an array of its words.
724
- *
725
- * @static
726
- * @memberOf _
727
- * @since 3.0.0
728
- * @category String
729
- * @param {string} [string=''] The string to inspect.
730
- * @param {RegExp|string} [pattern] The pattern to match words.
731
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
732
- * @returns {Array} Returns the words of `string`.
733
- * @example
734
- *
735
- * _.words('fred, barney, & pebbles');
736
- * // => ['fred', 'barney', 'pebbles']
737
- *
738
- * _.words('fred, barney, & pebbles', /[^, ]+/g);
739
- * // => ['fred', 'barney', '&', 'pebbles']
740
- */
741
- function words(string, pattern, guard) {
742
- string = toString_1(string);
743
- pattern = guard ? undefined : pattern;
744
-
745
- if (pattern === undefined) {
746
- return _hasUnicodeWord(string) ? _unicodeWords(string) : _asciiWords(string);
747
- }
748
- return string.match(pattern) || [];
749
- }
750
-
751
- var words_1 = words;
752
-
753
- /** Used to compose unicode capture groups. */
754
- var rsApos = "['\u2019]";
755
-
756
- /** Used to match apostrophes. */
757
- var reApos = RegExp(rsApos, 'g');
758
-
759
- /**
760
- * Creates a function like `_.camelCase`.
761
- *
762
- * @private
763
- * @param {Function} callback The function to combine each word.
764
- * @returns {Function} Returns the new compounder function.
765
- */
766
- function createCompounder(callback) {
767
- return function(string) {
768
- return _arrayReduce(words_1(deburr_1(string).replace(reApos, '')), callback, '');
769
- };
770
- }
771
-
772
- var _createCompounder = createCompounder;
773
-
774
- /**
775
- * Converts `string` to
776
- * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
777
- *
778
- * @static
779
- * @memberOf _
780
- * @since 3.0.0
781
- * @category String
782
- * @param {string} [string=''] The string to convert.
783
- * @returns {string} Returns the kebab cased string.
784
- * @example
785
- *
786
- * _.kebabCase('Foo Bar');
787
- * // => 'foo-bar'
788
- *
789
- * _.kebabCase('fooBar');
790
- * // => 'foo-bar'
791
- *
792
- * _.kebabCase('__FOO_BAR__');
793
- * // => 'foo-bar'
794
- */
795
- var kebabCase = _createCompounder(function(result, word, index) {
796
- return result + (index ? '-' : '') + word.toLowerCase();
797
- });
798
-
799
- var kebabCase_1 = kebabCase;
800
-
801
- var StateContext = /*#__PURE__*/React.createContext(); // eslint-disable-next-line react/display-name
802
-
803
- var StateProvider = function StateProvider(RowComponent) {
804
- return function (props) {
805
- return (
806
- /*#__PURE__*/
807
- // eslint-disable-next-line react/prop-types
808
- React__default["default"].createElement(StateContext.Provider, {
809
- value: props.config
810
- }, /*#__PURE__*/React__default["default"].createElement(RowComponent, props))
811
- );
812
- };
813
- };
814
- var useStateValue = function useStateValue() {
815
- return React.useContext(StateContext);
816
- };
817
-
818
- function _extends() {
819
- _extends = Object.assign || function (target) {
820
- for (var i = 1; i < arguments.length; i++) {
821
- var source = arguments[i];
822
-
823
- for (var key in source) {
824
- if (Object.prototype.hasOwnProperty.call(source, key)) {
825
- target[key] = source[key];
826
- }
827
- }
828
- }
829
-
830
- return target;
831
- };
832
-
833
- return _extends.apply(this, arguments);
834
- }
835
-
836
- /** Used to match property names within property paths. */
837
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
838
- reIsPlainProp = /^\w*$/;
839
-
840
- /**
841
- * Checks if `value` is a property name and not a property path.
842
- *
843
- * @private
844
- * @param {*} value The value to check.
845
- * @param {Object} [object] The object to query keys on.
846
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
847
- */
848
- function isKey(value, object) {
849
- if (isArray_1(value)) {
850
- return false;
851
- }
852
- var type = typeof value;
853
- if (type == 'number' || type == 'symbol' || type == 'boolean' ||
854
- value == null || isSymbol_1(value)) {
855
- return true;
856
- }
857
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
858
- (object != null && value in Object(object));
859
- }
860
-
861
- var _isKey = isKey;
862
-
863
- /**
864
- * Checks if `value` is the
865
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
866
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
867
- *
868
- * @static
869
- * @memberOf _
870
- * @since 0.1.0
871
- * @category Lang
872
- * @param {*} value The value to check.
873
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
874
- * @example
875
- *
876
- * _.isObject({});
877
- * // => true
878
- *
879
- * _.isObject([1, 2, 3]);
880
- * // => true
881
- *
882
- * _.isObject(_.noop);
883
- * // => true
884
- *
885
- * _.isObject(null);
886
- * // => false
887
- */
888
- function isObject(value) {
889
- var type = typeof value;
890
- return value != null && (type == 'object' || type == 'function');
891
- }
892
-
893
- var isObject_1 = isObject;
894
-
895
- /** `Object#toString` result references. */
896
- var asyncTag = '[object AsyncFunction]',
897
- funcTag = '[object Function]',
898
- genTag = '[object GeneratorFunction]',
899
- proxyTag = '[object Proxy]';
900
-
901
- /**
902
- * Checks if `value` is classified as a `Function` object.
903
- *
904
- * @static
905
- * @memberOf _
906
- * @since 0.1.0
907
- * @category Lang
908
- * @param {*} value The value to check.
909
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
910
- * @example
911
- *
912
- * _.isFunction(_);
913
- * // => true
914
- *
915
- * _.isFunction(/abc/);
916
- * // => false
917
- */
918
- function isFunction(value) {
919
- if (!isObject_1(value)) {
920
- return false;
921
- }
922
- // The use of `Object#toString` avoids issues with the `typeof` operator
923
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
924
- var tag = _baseGetTag(value);
925
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
926
- }
927
-
928
- var isFunction_1 = isFunction;
929
-
930
- /** Used to detect overreaching core-js shims. */
931
- var coreJsData = _root['__core-js_shared__'];
932
-
933
- var _coreJsData = coreJsData;
934
-
935
- /** Used to detect methods masquerading as native. */
936
- var maskSrcKey = (function() {
937
- var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
938
- return uid ? ('Symbol(src)_1.' + uid) : '';
939
- }());
940
-
941
- /**
942
- * Checks if `func` has its source masked.
943
- *
944
- * @private
945
- * @param {Function} func The function to check.
946
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
947
- */
948
- function isMasked(func) {
949
- return !!maskSrcKey && (maskSrcKey in func);
950
- }
951
-
952
- var _isMasked = isMasked;
953
-
954
- /** Used for built-in method references. */
955
- var funcProto$1 = Function.prototype;
956
-
957
- /** Used to resolve the decompiled source of functions. */
958
- var funcToString$1 = funcProto$1.toString;
959
-
960
- /**
961
- * Converts `func` to its source code.
962
- *
963
- * @private
964
- * @param {Function} func The function to convert.
965
- * @returns {string} Returns the source code.
966
- */
967
- function toSource(func) {
968
- if (func != null) {
969
- try {
970
- return funcToString$1.call(func);
971
- } catch (e) {}
972
- try {
973
- return (func + '');
974
- } catch (e) {}
975
- }
976
- return '';
977
- }
978
-
979
- var _toSource = toSource;
980
-
981
- /**
982
- * Used to match `RegExp`
983
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
984
- */
985
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
986
-
987
- /** Used to detect host constructors (Safari). */
988
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
989
-
990
- /** Used for built-in method references. */
991
- var funcProto = Function.prototype,
992
- objectProto$2 = Object.prototype;
993
-
994
- /** Used to resolve the decompiled source of functions. */
995
- var funcToString = funcProto.toString;
996
-
997
- /** Used to check objects for own properties. */
998
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
999
-
1000
- /** Used to detect if a method is native. */
1001
- var reIsNative = RegExp('^' +
1002
- funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
1003
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
1004
- );
1005
-
1006
- /**
1007
- * The base implementation of `_.isNative` without bad shim checks.
1008
- *
1009
- * @private
1010
- * @param {*} value The value to check.
1011
- * @returns {boolean} Returns `true` if `value` is a native function,
1012
- * else `false`.
1013
- */
1014
- function baseIsNative(value) {
1015
- if (!isObject_1(value) || _isMasked(value)) {
1016
- return false;
1017
- }
1018
- var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
1019
- return pattern.test(_toSource(value));
1020
- }
1021
-
1022
- var _baseIsNative = baseIsNative;
1023
-
1024
- /**
1025
- * Gets the value at `key` of `object`.
1026
- *
1027
- * @private
1028
- * @param {Object} [object] The object to query.
1029
- * @param {string} key The key of the property to get.
1030
- * @returns {*} Returns the property value.
1031
- */
1032
- function getValue(object, key) {
1033
- return object == null ? undefined : object[key];
1034
- }
1035
-
1036
- var _getValue = getValue;
1037
-
1038
- /**
1039
- * Gets the native function at `key` of `object`.
1040
- *
1041
- * @private
1042
- * @param {Object} object The object to query.
1043
- * @param {string} key The key of the method to get.
1044
- * @returns {*} Returns the function if it's native, else `undefined`.
1045
- */
1046
- function getNative(object, key) {
1047
- var value = _getValue(object, key);
1048
- return _baseIsNative(value) ? value : undefined;
1049
- }
1050
-
1051
- var _getNative = getNative;
1052
-
1053
- /* Built-in method references that are verified to be native. */
1054
- var nativeCreate = _getNative(Object, 'create');
1055
-
1056
- var _nativeCreate = nativeCreate;
1057
-
1058
- /**
1059
- * Removes all key-value entries from the hash.
1060
- *
1061
- * @private
1062
- * @name clear
1063
- * @memberOf Hash
1064
- */
1065
- function hashClear() {
1066
- this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
1067
- this.size = 0;
1068
- }
1069
-
1070
- var _hashClear = hashClear;
1071
-
1072
- /**
1073
- * Removes `key` and its value from the hash.
1074
- *
1075
- * @private
1076
- * @name delete
1077
- * @memberOf Hash
1078
- * @param {Object} hash The hash to modify.
1079
- * @param {string} key The key of the value to remove.
1080
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1081
- */
1082
- function hashDelete(key) {
1083
- var result = this.has(key) && delete this.__data__[key];
1084
- this.size -= result ? 1 : 0;
1085
- return result;
1086
- }
1087
-
1088
- var _hashDelete = hashDelete;
1089
-
1090
- /** Used to stand-in for `undefined` hash values. */
1091
- var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
1092
-
1093
- /** Used for built-in method references. */
1094
- var objectProto$1 = Object.prototype;
1095
-
1096
- /** Used to check objects for own properties. */
1097
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
1098
-
1099
- /**
1100
- * Gets the hash value for `key`.
1101
- *
1102
- * @private
1103
- * @name get
1104
- * @memberOf Hash
1105
- * @param {string} key The key of the value to get.
1106
- * @returns {*} Returns the entry value.
1107
- */
1108
- function hashGet(key) {
1109
- var data = this.__data__;
1110
- if (_nativeCreate) {
1111
- var result = data[key];
1112
- return result === HASH_UNDEFINED$1 ? undefined : result;
1113
- }
1114
- return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
1115
- }
1116
-
1117
- var _hashGet = hashGet;
1118
-
1119
- /** Used for built-in method references. */
1120
- var objectProto = Object.prototype;
1121
-
1122
- /** Used to check objects for own properties. */
1123
- var hasOwnProperty = objectProto.hasOwnProperty;
1124
-
1125
- /**
1126
- * Checks if a hash value for `key` exists.
1127
- *
1128
- * @private
1129
- * @name has
1130
- * @memberOf Hash
1131
- * @param {string} key The key of the entry to check.
1132
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1133
- */
1134
- function hashHas(key) {
1135
- var data = this.__data__;
1136
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
1137
- }
1138
-
1139
- var _hashHas = hashHas;
1140
-
1141
- /** Used to stand-in for `undefined` hash values. */
1142
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
1143
-
1144
- /**
1145
- * Sets the hash `key` to `value`.
1146
- *
1147
- * @private
1148
- * @name set
1149
- * @memberOf Hash
1150
- * @param {string} key The key of the value to set.
1151
- * @param {*} value The value to set.
1152
- * @returns {Object} Returns the hash instance.
1153
- */
1154
- function hashSet(key, value) {
1155
- var data = this.__data__;
1156
- this.size += this.has(key) ? 0 : 1;
1157
- data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
1158
- return this;
1159
- }
1160
-
1161
- var _hashSet = hashSet;
1162
-
1163
- /**
1164
- * Creates a hash object.
1165
- *
1166
- * @private
1167
- * @constructor
1168
- * @param {Array} [entries] The key-value pairs to cache.
1169
- */
1170
- function Hash(entries) {
1171
- var index = -1,
1172
- length = entries == null ? 0 : entries.length;
1173
-
1174
- this.clear();
1175
- while (++index < length) {
1176
- var entry = entries[index];
1177
- this.set(entry[0], entry[1]);
1178
- }
1179
- }
1180
-
1181
- // Add methods to `Hash`.
1182
- Hash.prototype.clear = _hashClear;
1183
- Hash.prototype['delete'] = _hashDelete;
1184
- Hash.prototype.get = _hashGet;
1185
- Hash.prototype.has = _hashHas;
1186
- Hash.prototype.set = _hashSet;
1187
-
1188
- var _Hash = Hash;
1189
-
1190
- /**
1191
- * Removes all key-value entries from the list cache.
1192
- *
1193
- * @private
1194
- * @name clear
1195
- * @memberOf ListCache
1196
- */
1197
- function listCacheClear() {
1198
- this.__data__ = [];
1199
- this.size = 0;
1200
- }
1201
-
1202
- var _listCacheClear = listCacheClear;
1203
-
1204
- /**
1205
- * Performs a
1206
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1207
- * comparison between two values to determine if they are equivalent.
1208
- *
1209
- * @static
1210
- * @memberOf _
1211
- * @since 4.0.0
1212
- * @category Lang
1213
- * @param {*} value The value to compare.
1214
- * @param {*} other The other value to compare.
1215
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1216
- * @example
1217
- *
1218
- * var object = { 'a': 1 };
1219
- * var other = { 'a': 1 };
1220
- *
1221
- * _.eq(object, object);
1222
- * // => true
1223
- *
1224
- * _.eq(object, other);
1225
- * // => false
1226
- *
1227
- * _.eq('a', 'a');
1228
- * // => true
1229
- *
1230
- * _.eq('a', Object('a'));
1231
- * // => false
1232
- *
1233
- * _.eq(NaN, NaN);
1234
- * // => true
1235
- */
1236
- function eq(value, other) {
1237
- return value === other || (value !== value && other !== other);
1238
- }
1239
-
1240
- var eq_1 = eq;
1241
-
1242
- /**
1243
- * Gets the index at which the `key` is found in `array` of key-value pairs.
1244
- *
1245
- * @private
1246
- * @param {Array} array The array to inspect.
1247
- * @param {*} key The key to search for.
1248
- * @returns {number} Returns the index of the matched value, else `-1`.
1249
- */
1250
- function assocIndexOf(array, key) {
1251
- var length = array.length;
1252
- while (length--) {
1253
- if (eq_1(array[length][0], key)) {
1254
- return length;
1255
- }
1256
- }
1257
- return -1;
1258
- }
1259
-
1260
- var _assocIndexOf = assocIndexOf;
1261
-
1262
- /** Used for built-in method references. */
1263
- var arrayProto = Array.prototype;
1264
-
1265
- /** Built-in value references. */
1266
- var splice = arrayProto.splice;
1267
-
1268
- /**
1269
- * Removes `key` and its value from the list cache.
1270
- *
1271
- * @private
1272
- * @name delete
1273
- * @memberOf ListCache
1274
- * @param {string} key The key of the value to remove.
1275
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1276
- */
1277
- function listCacheDelete(key) {
1278
- var data = this.__data__,
1279
- index = _assocIndexOf(data, key);
1280
-
1281
- if (index < 0) {
1282
- return false;
1283
- }
1284
- var lastIndex = data.length - 1;
1285
- if (index == lastIndex) {
1286
- data.pop();
1287
- } else {
1288
- splice.call(data, index, 1);
1289
- }
1290
- --this.size;
1291
- return true;
1292
- }
1293
-
1294
- var _listCacheDelete = listCacheDelete;
1295
-
1296
- /**
1297
- * Gets the list cache value for `key`.
1298
- *
1299
- * @private
1300
- * @name get
1301
- * @memberOf ListCache
1302
- * @param {string} key The key of the value to get.
1303
- * @returns {*} Returns the entry value.
1304
- */
1305
- function listCacheGet(key) {
1306
- var data = this.__data__,
1307
- index = _assocIndexOf(data, key);
1308
-
1309
- return index < 0 ? undefined : data[index][1];
1310
- }
1311
-
1312
- var _listCacheGet = listCacheGet;
1313
-
1314
- /**
1315
- * Checks if a list cache value for `key` exists.
1316
- *
1317
- * @private
1318
- * @name has
1319
- * @memberOf ListCache
1320
- * @param {string} key The key of the entry to check.
1321
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1322
- */
1323
- function listCacheHas(key) {
1324
- return _assocIndexOf(this.__data__, key) > -1;
1325
- }
1326
-
1327
- var _listCacheHas = listCacheHas;
1328
-
1329
- /**
1330
- * Sets the list cache `key` to `value`.
1331
- *
1332
- * @private
1333
- * @name set
1334
- * @memberOf ListCache
1335
- * @param {string} key The key of the value to set.
1336
- * @param {*} value The value to set.
1337
- * @returns {Object} Returns the list cache instance.
1338
- */
1339
- function listCacheSet(key, value) {
1340
- var data = this.__data__,
1341
- index = _assocIndexOf(data, key);
1342
-
1343
- if (index < 0) {
1344
- ++this.size;
1345
- data.push([key, value]);
1346
- } else {
1347
- data[index][1] = value;
1348
- }
1349
- return this;
1350
- }
1351
-
1352
- var _listCacheSet = listCacheSet;
1353
-
1354
- /**
1355
- * Creates an list cache object.
1356
- *
1357
- * @private
1358
- * @constructor
1359
- * @param {Array} [entries] The key-value pairs to cache.
1360
- */
1361
- function ListCache(entries) {
1362
- var index = -1,
1363
- length = entries == null ? 0 : entries.length;
1364
-
1365
- this.clear();
1366
- while (++index < length) {
1367
- var entry = entries[index];
1368
- this.set(entry[0], entry[1]);
1369
- }
1370
- }
1371
-
1372
- // Add methods to `ListCache`.
1373
- ListCache.prototype.clear = _listCacheClear;
1374
- ListCache.prototype['delete'] = _listCacheDelete;
1375
- ListCache.prototype.get = _listCacheGet;
1376
- ListCache.prototype.has = _listCacheHas;
1377
- ListCache.prototype.set = _listCacheSet;
1378
-
1379
- var _ListCache = ListCache;
1380
-
1381
- /* Built-in method references that are verified to be native. */
1382
- var Map = _getNative(_root, 'Map');
1383
-
1384
- var _Map = Map;
1385
-
1386
- /**
1387
- * Removes all key-value entries from the map.
1388
- *
1389
- * @private
1390
- * @name clear
1391
- * @memberOf MapCache
1392
- */
1393
- function mapCacheClear() {
1394
- this.size = 0;
1395
- this.__data__ = {
1396
- 'hash': new _Hash,
1397
- 'map': new (_Map || _ListCache),
1398
- 'string': new _Hash
1399
- };
1400
- }
1401
-
1402
- var _mapCacheClear = mapCacheClear;
1403
-
1404
- /**
1405
- * Checks if `value` is suitable for use as unique object key.
1406
- *
1407
- * @private
1408
- * @param {*} value The value to check.
1409
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1410
- */
1411
- function isKeyable(value) {
1412
- var type = typeof value;
1413
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1414
- ? (value !== '__proto__')
1415
- : (value === null);
1416
- }
1417
-
1418
- var _isKeyable = isKeyable;
1419
-
1420
- /**
1421
- * Gets the data for `map`.
1422
- *
1423
- * @private
1424
- * @param {Object} map The map to query.
1425
- * @param {string} key The reference key.
1426
- * @returns {*} Returns the map data.
1427
- */
1428
- function getMapData(map, key) {
1429
- var data = map.__data__;
1430
- return _isKeyable(key)
1431
- ? data[typeof key == 'string' ? 'string' : 'hash']
1432
- : data.map;
1433
- }
1434
-
1435
- var _getMapData = getMapData;
1436
-
1437
- /**
1438
- * Removes `key` and its value from the map.
1439
- *
1440
- * @private
1441
- * @name delete
1442
- * @memberOf MapCache
1443
- * @param {string} key The key of the value to remove.
1444
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1445
- */
1446
- function mapCacheDelete(key) {
1447
- var result = _getMapData(this, key)['delete'](key);
1448
- this.size -= result ? 1 : 0;
1449
- return result;
1450
- }
1451
-
1452
- var _mapCacheDelete = mapCacheDelete;
1453
-
1454
- /**
1455
- * Gets the map value for `key`.
1456
- *
1457
- * @private
1458
- * @name get
1459
- * @memberOf MapCache
1460
- * @param {string} key The key of the value to get.
1461
- * @returns {*} Returns the entry value.
1462
- */
1463
- function mapCacheGet(key) {
1464
- return _getMapData(this, key).get(key);
1465
- }
1466
-
1467
- var _mapCacheGet = mapCacheGet;
1468
-
1469
- /**
1470
- * Checks if a map value for `key` exists.
1471
- *
1472
- * @private
1473
- * @name has
1474
- * @memberOf MapCache
1475
- * @param {string} key The key of the entry to check.
1476
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1477
- */
1478
- function mapCacheHas(key) {
1479
- return _getMapData(this, key).has(key);
1480
- }
1481
-
1482
- var _mapCacheHas = mapCacheHas;
1483
-
1484
- /**
1485
- * Sets the map `key` to `value`.
1486
- *
1487
- * @private
1488
- * @name set
1489
- * @memberOf MapCache
1490
- * @param {string} key The key of the value to set.
1491
- * @param {*} value The value to set.
1492
- * @returns {Object} Returns the map cache instance.
1493
- */
1494
- function mapCacheSet(key, value) {
1495
- var data = _getMapData(this, key),
1496
- size = data.size;
1497
-
1498
- data.set(key, value);
1499
- this.size += data.size == size ? 0 : 1;
1500
- return this;
1501
- }
1502
-
1503
- var _mapCacheSet = mapCacheSet;
1504
-
1505
- /**
1506
- * Creates a map cache object to store key-value pairs.
1507
- *
1508
- * @private
1509
- * @constructor
1510
- * @param {Array} [entries] The key-value pairs to cache.
1511
- */
1512
- function MapCache(entries) {
1513
- var index = -1,
1514
- length = entries == null ? 0 : entries.length;
1515
-
1516
- this.clear();
1517
- while (++index < length) {
1518
- var entry = entries[index];
1519
- this.set(entry[0], entry[1]);
1520
- }
1521
- }
1522
-
1523
- // Add methods to `MapCache`.
1524
- MapCache.prototype.clear = _mapCacheClear;
1525
- MapCache.prototype['delete'] = _mapCacheDelete;
1526
- MapCache.prototype.get = _mapCacheGet;
1527
- MapCache.prototype.has = _mapCacheHas;
1528
- MapCache.prototype.set = _mapCacheSet;
1529
-
1530
- var _MapCache = MapCache;
1531
-
1532
- /** Error message constants. */
1533
- var FUNC_ERROR_TEXT = 'Expected a function';
1534
-
1535
- /**
1536
- * Creates a function that memoizes the result of `func`. If `resolver` is
1537
- * provided, it determines the cache key for storing the result based on the
1538
- * arguments provided to the memoized function. By default, the first argument
1539
- * provided to the memoized function is used as the map cache key. The `func`
1540
- * is invoked with the `this` binding of the memoized function.
1541
- *
1542
- * **Note:** The cache is exposed as the `cache` property on the memoized
1543
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
1544
- * constructor with one whose instances implement the
1545
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1546
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1547
- *
1548
- * @static
1549
- * @memberOf _
1550
- * @since 0.1.0
1551
- * @category Function
1552
- * @param {Function} func The function to have its output memoized.
1553
- * @param {Function} [resolver] The function to resolve the cache key.
1554
- * @returns {Function} Returns the new memoized function.
1555
- * @example
1556
- *
1557
- * var object = { 'a': 1, 'b': 2 };
1558
- * var other = { 'c': 3, 'd': 4 };
1559
- *
1560
- * var values = _.memoize(_.values);
1561
- * values(object);
1562
- * // => [1, 2]
1563
- *
1564
- * values(other);
1565
- * // => [3, 4]
1566
- *
1567
- * object.a = 2;
1568
- * values(object);
1569
- * // => [1, 2]
1570
- *
1571
- * // Modify the result cache.
1572
- * values.cache.set(object, ['a', 'b']);
1573
- * values(object);
1574
- * // => ['a', 'b']
1575
- *
1576
- * // Replace `_.memoize.Cache`.
1577
- * _.memoize.Cache = WeakMap;
1578
- */
1579
- function memoize(func, resolver) {
1580
- if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
1581
- throw new TypeError(FUNC_ERROR_TEXT);
1582
- }
1583
- var memoized = function() {
1584
- var args = arguments,
1585
- key = resolver ? resolver.apply(this, args) : args[0],
1586
- cache = memoized.cache;
1587
-
1588
- if (cache.has(key)) {
1589
- return cache.get(key);
1590
- }
1591
- var result = func.apply(this, args);
1592
- memoized.cache = cache.set(key, result) || cache;
1593
- return result;
1594
- };
1595
- memoized.cache = new (memoize.Cache || _MapCache);
1596
- return memoized;
1597
- }
1598
-
1599
- // Expose `MapCache`.
1600
- memoize.Cache = _MapCache;
1601
-
1602
- var memoize_1 = memoize;
1603
-
1604
- /** Used as the maximum memoize cache size. */
1605
- var MAX_MEMOIZE_SIZE = 500;
1606
-
1607
- /**
1608
- * A specialized version of `_.memoize` which clears the memoized function's
1609
- * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1610
- *
1611
- * @private
1612
- * @param {Function} func The function to have its output memoized.
1613
- * @returns {Function} Returns the new memoized function.
1614
- */
1615
- function memoizeCapped(func) {
1616
- var result = memoize_1(func, function(key) {
1617
- if (cache.size === MAX_MEMOIZE_SIZE) {
1618
- cache.clear();
1619
- }
1620
- return key;
1621
- });
1622
-
1623
- var cache = result.cache;
1624
- return result;
1625
- }
1626
-
1627
- var _memoizeCapped = memoizeCapped;
1628
-
1629
- /** Used to match property names within property paths. */
1630
- var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1631
-
1632
- /** Used to match backslashes in property paths. */
1633
- var reEscapeChar = /\\(\\)?/g;
1634
-
1635
- /**
1636
- * Converts `string` to a property path array.
1637
- *
1638
- * @private
1639
- * @param {string} string The string to convert.
1640
- * @returns {Array} Returns the property path array.
1641
- */
1642
- var stringToPath = _memoizeCapped(function(string) {
1643
- var result = [];
1644
- if (string.charCodeAt(0) === 46 /* . */) {
1645
- result.push('');
1646
- }
1647
- string.replace(rePropName, function(match, number, quote, subString) {
1648
- result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
1649
- });
1650
- return result;
1651
- });
1652
-
1653
- var _stringToPath = stringToPath;
1654
-
1655
- /**
1656
- * Casts `value` to a path array if it's not one.
1657
- *
1658
- * @private
1659
- * @param {*} value The value to inspect.
1660
- * @param {Object} [object] The object to query keys on.
1661
- * @returns {Array} Returns the cast property path array.
1662
- */
1663
- function castPath(value, object) {
1664
- if (isArray_1(value)) {
1665
- return value;
1666
- }
1667
- return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
1668
- }
1669
-
1670
- var _castPath = castPath;
1671
-
1672
- /** Used as references for various `Number` constants. */
1673
- var INFINITY = 1 / 0;
1674
-
1675
- /**
1676
- * Converts `value` to a string key if it's not a string or symbol.
1677
- *
1678
- * @private
1679
- * @param {*} value The value to inspect.
1680
- * @returns {string|symbol} Returns the key.
1681
- */
1682
- function toKey(value) {
1683
- if (typeof value == 'string' || isSymbol_1(value)) {
1684
- return value;
1685
- }
1686
- var result = (value + '');
1687
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1688
- }
1689
-
1690
- var _toKey = toKey;
1691
-
1692
- /**
1693
- * The base implementation of `_.get` without support for default values.
1694
- *
1695
- * @private
1696
- * @param {Object} object The object to query.
1697
- * @param {Array|string} path The path of the property to get.
1698
- * @returns {*} Returns the resolved value.
1699
- */
1700
- function baseGet(object, path) {
1701
- path = _castPath(path, object);
1702
-
1703
- var index = 0,
1704
- length = path.length;
1705
-
1706
- while (object != null && index < length) {
1707
- object = object[_toKey(path[index++])];
1708
- }
1709
- return (index && index == length) ? object : undefined;
1710
- }
1711
-
1712
- var _baseGet = baseGet;
1713
-
1714
- /**
1715
- * Gets the value at `path` of `object`. If the resolved value is
1716
- * `undefined`, the `defaultValue` is returned in its place.
1717
- *
1718
- * @static
1719
- * @memberOf _
1720
- * @since 3.7.0
1721
- * @category Object
1722
- * @param {Object} object The object to query.
1723
- * @param {Array|string} path The path of the property to get.
1724
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1725
- * @returns {*} Returns the resolved value.
1726
- * @example
1727
- *
1728
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1729
- *
1730
- * _.get(object, 'a[0].b.c');
1731
- * // => 3
1732
- *
1733
- * _.get(object, ['a', '0', 'b', 'c']);
1734
- * // => 3
1735
- *
1736
- * _.get(object, 'a.b.c', 'default');
1737
- * // => 'default'
1738
- */
1739
- function get(object, path, defaultValue) {
1740
- var result = object == null ? undefined : _baseGet(object, path);
1741
- return result === undefined ? defaultValue : result;
1742
- }
1743
-
1744
- var get_1 = get;
1745
-
1746
- function _arrayWithHoles(arr) {
1747
- if (Array.isArray(arr)) return arr;
1748
- }
1749
-
1750
- function _iterableToArrayLimit(arr, i) {
1751
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
1752
-
1753
- if (_i == null) return;
1754
- var _arr = [];
1755
- var _n = true;
1756
- var _d = false;
1757
-
1758
- var _s, _e;
1759
-
1760
- try {
1761
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
1762
- _arr.push(_s.value);
1763
-
1764
- if (i && _arr.length === i) break;
1765
- }
1766
- } catch (err) {
1767
- _d = true;
1768
- _e = err;
1769
- } finally {
1770
- try {
1771
- if (!_n && _i["return"] != null) _i["return"]();
1772
- } finally {
1773
- if (_d) throw _e;
1774
- }
1775
- }
1776
-
1777
- return _arr;
1778
- }
1779
-
1780
- function _arrayLikeToArray(arr, len) {
1781
- if (len == null || len > arr.length) len = arr.length;
1782
-
1783
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
1784
- arr2[i] = arr[i];
1785
- }
1786
-
1787
- return arr2;
1788
- }
1789
-
1790
- function _unsupportedIterableToArray(o, minLen) {
1791
- if (!o) return;
1792
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
1793
- var n = Object.prototype.toString.call(o).slice(8, -1);
1794
- if (n === "Object" && o.constructor) n = o.constructor.name;
1795
- if (n === "Map" || n === "Set") return Array.from(o);
1796
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1797
- }
1798
-
1799
- function _nonIterableRest() {
1800
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1801
- }
1802
-
1803
- function _slicedToArray(arr, i) {
1804
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
1805
- }
1806
-
1807
- var Twitter = function Twitter(_ref) {
1808
- var _ref$color = _ref.color,
1809
- color = _ref$color === void 0 ? "#1CB7EB" : _ref$color;
1810
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1811
- xmlns: "http://www.w3.org/2000/svg",
1812
- width: "24",
1813
- height: "24",
1814
- viewBox: "0 0 24 24"
1815
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1816
- fill: color,
1817
- 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"
1818
- }));
1819
- };
1820
- Twitter.propTypes = {
1821
- color: PropTypes__default["default"].string
1822
- };
1823
-
1824
- var Facebook = function Facebook(_ref) {
1825
- var _ref$color = _ref.color,
1826
- color = _ref$color === void 0 ? "#3B5998" : _ref$color;
1827
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1828
- xmlns: "http://www.w3.org/2000/svg",
1829
- width: "24",
1830
- height: "24",
1831
- viewBox: "0 0 24 24"
1832
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1833
- fill: color,
1834
- 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"
1835
- }));
1836
- };
1837
- Facebook.propTypes = {
1838
- color: PropTypes__default["default"].string
1839
- };
1840
-
1841
- var LinkedIn = function LinkedIn(_ref) {
1842
- var _ref$color = _ref.color,
1843
- color = _ref$color === void 0 ? "#0077B5" : _ref$color;
1844
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1845
- xmlns: "http://www.w3.org/2000/svg",
1846
- width: "24",
1847
- height: "24",
1848
- viewBox: "0 0 24 24"
1849
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1850
- fill: color,
1851
- 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"
1852
- }));
1853
- };
1854
- LinkedIn.propTypes = {
1855
- color: PropTypes__default["default"].string
1856
- };
1857
-
1858
- var WhatsApp = function WhatsApp(_ref) {
1859
- var _ref$color = _ref.color,
1860
- color = _ref$color === void 0 ? "#4AC959" : _ref$color;
1861
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1862
- xmlns: "http://www.w3.org/2000/svg",
1863
- width: "24",
1864
- height: "24",
1865
- viewBox: "0 0 24 24"
1866
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1867
- fill: color,
1868
- fillRule: "evenodd",
1869
- 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"
1870
- }));
1871
- };
1872
- WhatsApp.propTypes = {
1873
- color: PropTypes__default["default"].string
1874
- };
1875
-
1876
- var getSocialIcons = function getSocialIcons(color, iconType) {
1877
- switch (iconType) {
1878
- case "plain-color-svg":
1879
- return {
1880
- facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
1881
- key: iconType
1882
- }),
1883
- twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
1884
- key: iconType
1885
- }),
1886
- linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
1887
- key: iconType
1888
- }),
1889
- whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
1890
- key: iconType
1891
- })
1892
- };
1893
-
1894
- default:
1895
- return {
1896
- facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
1897
- color: color,
1898
- key: iconType
1899
- }),
1900
- twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
1901
- color: color,
1902
- key: iconType
1903
- }),
1904
- linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
1905
- color: color,
1906
- key: iconType
1907
- }),
1908
- whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
1909
- color: color,
1910
- key: iconType
1911
- })
1912
- };
1913
- }
1914
- };
1915
-
1916
- var socialShareData = function socialShareData(_ref) {
1917
- var fbUrl = _ref.fbUrl,
1918
- twitterUrl = _ref.twitterUrl,
1919
- linkedinUrl = _ref.linkedinUrl,
1920
- whatsappUrl = _ref.whatsappUrl,
1921
- iconColor = _ref.iconColor,
1922
- _ref$iconType = _ref.iconType,
1923
- iconType = _ref$iconType === void 0 ? "plain-svg" : _ref$iconType;
1924
- var socialIcons = getSocialIcons(iconColor, iconType);
1925
-
1926
- var getOptions = function getOptions() {
1927
- return [{
1928
- name: "facebook",
1929
- url: fbUrl,
1930
- icon: socialIcons["facebook"],
1931
- text: "Facebook",
1932
- bgColor: "#4e71a8",
1933
- alt: "fb icon"
1934
- }, {
1935
- name: "twitter",
1936
- url: twitterUrl,
1937
- icon: socialIcons["twitter"],
1938
- text: "Twitter",
1939
- bgColor: "#1db7eb",
1940
- alt: "twitter icon"
1941
- }, {
1942
- name: "linkedin",
1943
- url: linkedinUrl,
1944
- icon: socialIcons["linkedin"],
1945
- text: "LinkedIn",
1946
- bgColor: "#0077B5",
1947
- alt: "linkedin icon"
1948
- }, {
1949
- name: "whatsapp",
1950
- url: whatsappUrl,
1951
- icon: socialIcons["whatsapp"],
1952
- text: "Whatsapp",
1953
- bgColor: "#25d366",
1954
- alt: "whatsapp share"
1955
- }];
1956
- };
1957
-
1958
- return getOptions();
1959
- };
1960
-
1961
- var CloseIcon = function CloseIcon(_ref) {
1962
- var _ref$color = _ref.color,
1963
- color = _ref$color === void 0 ? "#333" : _ref$color;
1964
- return /*#__PURE__*/React__default["default"].createElement("svg", {
1965
- xmlns: "http://www.w3.org/2000/svg",
1966
- width: "24",
1967
- height: "24",
1968
- viewBox: "0 0 24 24"
1969
- }, /*#__PURE__*/React__default["default"].createElement("g", {
1970
- fill: "none",
1971
- stroke: color,
1972
- strokeLinecap: "square",
1973
- strokeWidth: "2"
1974
- }, /*#__PURE__*/React__default["default"].createElement("path", {
1975
- d: "M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"
1976
- })));
1977
- };
1978
- CloseIcon.propTypes = {
1979
- color: PropTypes__default["default"].string
1980
- };
1981
-
1982
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
1983
- try {
1984
- var info = gen[key](arg);
1985
- var value = info.value;
1986
- } catch (error) {
1987
- reject(error);
1988
- return;
1989
- }
1990
-
1991
- if (info.done) {
1992
- resolve(value);
1993
- } else {
1994
- Promise.resolve(value).then(_next, _throw);
1995
- }
1996
- }
1997
-
1998
- function _asyncToGenerator(fn) {
1999
- return function () {
2000
- var self = this,
2001
- args = arguments;
2002
- return new Promise(function (resolve, reject) {
2003
- var gen = fn.apply(self, args);
2004
-
2005
- function _next(value) {
2006
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
2007
- }
2008
-
2009
- function _throw(err) {
2010
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
2011
- }
2012
-
2013
- _next(undefined);
2014
- });
2015
- };
2016
- }
2017
-
2018
- function _typeof(obj) {
2019
- "@babel/helpers - typeof";
2020
-
2021
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
2022
- return typeof obj;
2023
- } : function (obj) {
2024
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2025
- }, _typeof(obj);
2026
- }
2027
-
2028
- /**
2029
- * Copyright (c) 2014-present, Facebook, Inc.
2030
- *
2031
- * This source code is licensed under the MIT license found in the
2032
- * LICENSE file in the root directory of this source tree.
2033
- */
2034
-
2035
- var runtime_1 = createCommonjsModule(function (module) {
2036
- var runtime = (function (exports) {
2037
-
2038
- var Op = Object.prototype;
2039
- var hasOwn = Op.hasOwnProperty;
2040
- var undefined$1; // More compressible than void 0.
2041
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
2042
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
2043
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
2044
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
2045
-
2046
- function define(obj, key, value) {
2047
- Object.defineProperty(obj, key, {
2048
- value: value,
2049
- enumerable: true,
2050
- configurable: true,
2051
- writable: true
2052
- });
2053
- return obj[key];
2054
- }
2055
- try {
2056
- // IE 8 has a broken Object.defineProperty that only works on DOM objects.
2057
- define({}, "");
2058
- } catch (err) {
2059
- define = function(obj, key, value) {
2060
- return obj[key] = value;
2061
- };
2062
- }
2063
-
2064
- function wrap(innerFn, outerFn, self, tryLocsList) {
2065
- // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
2066
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
2067
- var generator = Object.create(protoGenerator.prototype);
2068
- var context = new Context(tryLocsList || []);
2069
-
2070
- // The ._invoke method unifies the implementations of the .next,
2071
- // .throw, and .return methods.
2072
- generator._invoke = makeInvokeMethod(innerFn, self, context);
2073
-
2074
- return generator;
2075
- }
2076
- exports.wrap = wrap;
2077
-
2078
- // Try/catch helper to minimize deoptimizations. Returns a completion
2079
- // record like context.tryEntries[i].completion. This interface could
2080
- // have been (and was previously) designed to take a closure to be
2081
- // invoked without arguments, but in all the cases we care about we
2082
- // already have an existing method we want to call, so there's no need
2083
- // to create a new function object. We can even get away with assuming
2084
- // the method takes exactly one argument, since that happens to be true
2085
- // in every case, so we don't have to touch the arguments object. The
2086
- // only additional allocation required is the completion record, which
2087
- // has a stable shape and so hopefully should be cheap to allocate.
2088
- function tryCatch(fn, obj, arg) {
2089
- try {
2090
- return { type: "normal", arg: fn.call(obj, arg) };
2091
- } catch (err) {
2092
- return { type: "throw", arg: err };
2093
- }
2094
- }
2095
-
2096
- var GenStateSuspendedStart = "suspendedStart";
2097
- var GenStateSuspendedYield = "suspendedYield";
2098
- var GenStateExecuting = "executing";
2099
- var GenStateCompleted = "completed";
2100
-
2101
- // Returning this object from the innerFn has the same effect as
2102
- // breaking out of the dispatch switch statement.
2103
- var ContinueSentinel = {};
2104
-
2105
- // Dummy constructor functions that we use as the .constructor and
2106
- // .constructor.prototype properties for functions that return Generator
2107
- // objects. For full spec compliance, you may wish to configure your
2108
- // minifier not to mangle the names of these two functions.
2109
- function Generator() {}
2110
- function GeneratorFunction() {}
2111
- function GeneratorFunctionPrototype() {}
2112
-
2113
- // This is a polyfill for %IteratorPrototype% for environments that
2114
- // don't natively support it.
2115
- var IteratorPrototype = {};
2116
- define(IteratorPrototype, iteratorSymbol, function () {
2117
- return this;
2118
- });
2119
-
2120
- var getProto = Object.getPrototypeOf;
2121
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
2122
- if (NativeIteratorPrototype &&
2123
- NativeIteratorPrototype !== Op &&
2124
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
2125
- // This environment has a native %IteratorPrototype%; use it instead
2126
- // of the polyfill.
2127
- IteratorPrototype = NativeIteratorPrototype;
2128
- }
2129
-
2130
- var Gp = GeneratorFunctionPrototype.prototype =
2131
- Generator.prototype = Object.create(IteratorPrototype);
2132
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
2133
- define(Gp, "constructor", GeneratorFunctionPrototype);
2134
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
2135
- GeneratorFunction.displayName = define(
2136
- GeneratorFunctionPrototype,
2137
- toStringTagSymbol,
2138
- "GeneratorFunction"
2139
- );
2140
-
2141
- // Helper for defining the .next, .throw, and .return methods of the
2142
- // Iterator interface in terms of a single ._invoke method.
2143
- function defineIteratorMethods(prototype) {
2144
- ["next", "throw", "return"].forEach(function(method) {
2145
- define(prototype, method, function(arg) {
2146
- return this._invoke(method, arg);
2147
- });
2148
- });
2149
- }
2150
-
2151
- exports.isGeneratorFunction = function(genFun) {
2152
- var ctor = typeof genFun === "function" && genFun.constructor;
2153
- return ctor
2154
- ? ctor === GeneratorFunction ||
2155
- // For the native GeneratorFunction constructor, the best we can
2156
- // do is to check its .name property.
2157
- (ctor.displayName || ctor.name) === "GeneratorFunction"
2158
- : false;
2159
- };
2160
-
2161
- exports.mark = function(genFun) {
2162
- if (Object.setPrototypeOf) {
2163
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
2164
- } else {
2165
- genFun.__proto__ = GeneratorFunctionPrototype;
2166
- define(genFun, toStringTagSymbol, "GeneratorFunction");
2167
- }
2168
- genFun.prototype = Object.create(Gp);
2169
- return genFun;
2170
- };
2171
-
2172
- // Within the body of any async function, `await x` is transformed to
2173
- // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
2174
- // `hasOwn.call(value, "__await")` to determine if the yielded value is
2175
- // meant to be awaited.
2176
- exports.awrap = function(arg) {
2177
- return { __await: arg };
2178
- };
2179
-
2180
- function AsyncIterator(generator, PromiseImpl) {
2181
- function invoke(method, arg, resolve, reject) {
2182
- var record = tryCatch(generator[method], generator, arg);
2183
- if (record.type === "throw") {
2184
- reject(record.arg);
2185
- } else {
2186
- var result = record.arg;
2187
- var value = result.value;
2188
- if (value &&
2189
- typeof value === "object" &&
2190
- hasOwn.call(value, "__await")) {
2191
- return PromiseImpl.resolve(value.__await).then(function(value) {
2192
- invoke("next", value, resolve, reject);
2193
- }, function(err) {
2194
- invoke("throw", err, resolve, reject);
2195
- });
2196
- }
2197
-
2198
- return PromiseImpl.resolve(value).then(function(unwrapped) {
2199
- // When a yielded Promise is resolved, its final value becomes
2200
- // the .value of the Promise<{value,done}> result for the
2201
- // current iteration.
2202
- result.value = unwrapped;
2203
- resolve(result);
2204
- }, function(error) {
2205
- // If a rejected Promise was yielded, throw the rejection back
2206
- // into the async generator function so it can be handled there.
2207
- return invoke("throw", error, resolve, reject);
2208
- });
2209
- }
2210
- }
2211
-
2212
- var previousPromise;
2213
-
2214
- function enqueue(method, arg) {
2215
- function callInvokeWithMethodAndArg() {
2216
- return new PromiseImpl(function(resolve, reject) {
2217
- invoke(method, arg, resolve, reject);
2218
- });
2219
- }
2220
-
2221
- return previousPromise =
2222
- // If enqueue has been called before, then we want to wait until
2223
- // all previous Promises have been resolved before calling invoke,
2224
- // so that results are always delivered in the correct order. If
2225
- // enqueue has not been called before, then it is important to
2226
- // call invoke immediately, without waiting on a callback to fire,
2227
- // so that the async generator function has the opportunity to do
2228
- // any necessary setup in a predictable way. This predictability
2229
- // is why the Promise constructor synchronously invokes its
2230
- // executor callback, and why async functions synchronously
2231
- // execute code before the first await. Since we implement simple
2232
- // async functions in terms of async generators, it is especially
2233
- // important to get this right, even though it requires care.
2234
- previousPromise ? previousPromise.then(
2235
- callInvokeWithMethodAndArg,
2236
- // Avoid propagating failures to Promises returned by later
2237
- // invocations of the iterator.
2238
- callInvokeWithMethodAndArg
2239
- ) : callInvokeWithMethodAndArg();
2240
- }
2241
-
2242
- // Define the unified helper method that is used to implement .next,
2243
- // .throw, and .return (see defineIteratorMethods).
2244
- this._invoke = enqueue;
2245
- }
2246
-
2247
- defineIteratorMethods(AsyncIterator.prototype);
2248
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
2249
- return this;
2250
- });
2251
- exports.AsyncIterator = AsyncIterator;
2252
-
2253
- // Note that simple async functions are implemented on top of
2254
- // AsyncIterator objects; they just return a Promise for the value of
2255
- // the final result produced by the iterator.
2256
- exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
2257
- if (PromiseImpl === void 0) PromiseImpl = Promise;
2258
-
2259
- var iter = new AsyncIterator(
2260
- wrap(innerFn, outerFn, self, tryLocsList),
2261
- PromiseImpl
2262
- );
2263
-
2264
- return exports.isGeneratorFunction(outerFn)
2265
- ? iter // If outerFn is a generator, return the full iterator.
2266
- : iter.next().then(function(result) {
2267
- return result.done ? result.value : iter.next();
2268
- });
2269
- };
2270
-
2271
- function makeInvokeMethod(innerFn, self, context) {
2272
- var state = GenStateSuspendedStart;
2273
-
2274
- return function invoke(method, arg) {
2275
- if (state === GenStateExecuting) {
2276
- throw new Error("Generator is already running");
2277
- }
2278
-
2279
- if (state === GenStateCompleted) {
2280
- if (method === "throw") {
2281
- throw arg;
2282
- }
2283
-
2284
- // Be forgiving, per 25.3.3.3.3 of the spec:
2285
- // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
2286
- return doneResult();
2287
- }
2288
-
2289
- context.method = method;
2290
- context.arg = arg;
2291
-
2292
- while (true) {
2293
- var delegate = context.delegate;
2294
- if (delegate) {
2295
- var delegateResult = maybeInvokeDelegate(delegate, context);
2296
- if (delegateResult) {
2297
- if (delegateResult === ContinueSentinel) continue;
2298
- return delegateResult;
2299
- }
2300
- }
2301
-
2302
- if (context.method === "next") {
2303
- // Setting context._sent for legacy support of Babel's
2304
- // function.sent implementation.
2305
- context.sent = context._sent = context.arg;
2306
-
2307
- } else if (context.method === "throw") {
2308
- if (state === GenStateSuspendedStart) {
2309
- state = GenStateCompleted;
2310
- throw context.arg;
2311
- }
2312
-
2313
- context.dispatchException(context.arg);
2314
-
2315
- } else if (context.method === "return") {
2316
- context.abrupt("return", context.arg);
2317
- }
2318
-
2319
- state = GenStateExecuting;
2320
-
2321
- var record = tryCatch(innerFn, self, context);
2322
- if (record.type === "normal") {
2323
- // If an exception is thrown from innerFn, we leave state ===
2324
- // GenStateExecuting and loop back for another invocation.
2325
- state = context.done
2326
- ? GenStateCompleted
2327
- : GenStateSuspendedYield;
2328
-
2329
- if (record.arg === ContinueSentinel) {
2330
- continue;
2331
- }
2332
-
2333
- return {
2334
- value: record.arg,
2335
- done: context.done
2336
- };
2337
-
2338
- } else if (record.type === "throw") {
2339
- state = GenStateCompleted;
2340
- // Dispatch the exception by looping back around to the
2341
- // context.dispatchException(context.arg) call above.
2342
- context.method = "throw";
2343
- context.arg = record.arg;
2344
- }
2345
- }
2346
- };
2347
- }
2348
-
2349
- // Call delegate.iterator[context.method](context.arg) and handle the
2350
- // result, either by returning a { value, done } result from the
2351
- // delegate iterator, or by modifying context.method and context.arg,
2352
- // setting context.delegate to null, and returning the ContinueSentinel.
2353
- function maybeInvokeDelegate(delegate, context) {
2354
- var method = delegate.iterator[context.method];
2355
- if (method === undefined$1) {
2356
- // A .throw or .return when the delegate iterator has no .throw
2357
- // method always terminates the yield* loop.
2358
- context.delegate = null;
2359
-
2360
- if (context.method === "throw") {
2361
- // Note: ["return"] must be used for ES3 parsing compatibility.
2362
- if (delegate.iterator["return"]) {
2363
- // If the delegate iterator has a return method, give it a
2364
- // chance to clean up.
2365
- context.method = "return";
2366
- context.arg = undefined$1;
2367
- maybeInvokeDelegate(delegate, context);
2368
-
2369
- if (context.method === "throw") {
2370
- // If maybeInvokeDelegate(context) changed context.method from
2371
- // "return" to "throw", let that override the TypeError below.
2372
- return ContinueSentinel;
2373
- }
2374
- }
2375
-
2376
- context.method = "throw";
2377
- context.arg = new TypeError(
2378
- "The iterator does not provide a 'throw' method");
2379
- }
2380
-
2381
- return ContinueSentinel;
2382
- }
2383
-
2384
- var record = tryCatch(method, delegate.iterator, context.arg);
2385
-
2386
- if (record.type === "throw") {
2387
- context.method = "throw";
2388
- context.arg = record.arg;
2389
- context.delegate = null;
2390
- return ContinueSentinel;
2391
- }
2392
-
2393
- var info = record.arg;
2394
-
2395
- if (! info) {
2396
- context.method = "throw";
2397
- context.arg = new TypeError("iterator result is not an object");
2398
- context.delegate = null;
2399
- return ContinueSentinel;
2400
- }
2401
-
2402
- if (info.done) {
2403
- // Assign the result of the finished delegate to the temporary
2404
- // variable specified by delegate.resultName (see delegateYield).
2405
- context[delegate.resultName] = info.value;
2406
-
2407
- // Resume execution at the desired location (see delegateYield).
2408
- context.next = delegate.nextLoc;
2409
-
2410
- // If context.method was "throw" but the delegate handled the
2411
- // exception, let the outer generator proceed normally. If
2412
- // context.method was "next", forget context.arg since it has been
2413
- // "consumed" by the delegate iterator. If context.method was
2414
- // "return", allow the original .return call to continue in the
2415
- // outer generator.
2416
- if (context.method !== "return") {
2417
- context.method = "next";
2418
- context.arg = undefined$1;
2419
- }
2420
-
2421
- } else {
2422
- // Re-yield the result returned by the delegate method.
2423
- return info;
2424
- }
2425
-
2426
- // The delegate iterator is finished, so forget it and continue with
2427
- // the outer generator.
2428
- context.delegate = null;
2429
- return ContinueSentinel;
2430
- }
2431
-
2432
- // Define Generator.prototype.{next,throw,return} in terms of the
2433
- // unified ._invoke helper method.
2434
- defineIteratorMethods(Gp);
2435
-
2436
- define(Gp, toStringTagSymbol, "Generator");
2437
-
2438
- // A Generator should always return itself as the iterator object when the
2439
- // @@iterator function is called on it. Some browsers' implementations of the
2440
- // iterator prototype chain incorrectly implement this, causing the Generator
2441
- // object to not be returned from this call. This ensures that doesn't happen.
2442
- // See https://github.com/facebook/regenerator/issues/274 for more details.
2443
- define(Gp, iteratorSymbol, function() {
2444
- return this;
2445
- });
2446
-
2447
- define(Gp, "toString", function() {
2448
- return "[object Generator]";
2449
- });
2450
-
2451
- function pushTryEntry(locs) {
2452
- var entry = { tryLoc: locs[0] };
2453
-
2454
- if (1 in locs) {
2455
- entry.catchLoc = locs[1];
2456
- }
2457
-
2458
- if (2 in locs) {
2459
- entry.finallyLoc = locs[2];
2460
- entry.afterLoc = locs[3];
2461
- }
2462
-
2463
- this.tryEntries.push(entry);
2464
- }
2465
-
2466
- function resetTryEntry(entry) {
2467
- var record = entry.completion || {};
2468
- record.type = "normal";
2469
- delete record.arg;
2470
- entry.completion = record;
2471
- }
2472
-
2473
- function Context(tryLocsList) {
2474
- // The root entry object (effectively a try statement without a catch
2475
- // or a finally block) gives us a place to store values thrown from
2476
- // locations where there is no enclosing try statement.
2477
- this.tryEntries = [{ tryLoc: "root" }];
2478
- tryLocsList.forEach(pushTryEntry, this);
2479
- this.reset(true);
2480
- }
2481
-
2482
- exports.keys = function(object) {
2483
- var keys = [];
2484
- for (var key in object) {
2485
- keys.push(key);
2486
- }
2487
- keys.reverse();
2488
-
2489
- // Rather than returning an object with a next method, we keep
2490
- // things simple and return the next function itself.
2491
- return function next() {
2492
- while (keys.length) {
2493
- var key = keys.pop();
2494
- if (key in object) {
2495
- next.value = key;
2496
- next.done = false;
2497
- return next;
2498
- }
2499
- }
2500
-
2501
- // To avoid creating an additional object, we just hang the .value
2502
- // and .done properties off the next function object itself. This
2503
- // also ensures that the minifier will not anonymize the function.
2504
- next.done = true;
2505
- return next;
2506
- };
2507
- };
2508
-
2509
- function values(iterable) {
2510
- if (iterable) {
2511
- var iteratorMethod = iterable[iteratorSymbol];
2512
- if (iteratorMethod) {
2513
- return iteratorMethod.call(iterable);
2514
- }
2515
-
2516
- if (typeof iterable.next === "function") {
2517
- return iterable;
2518
- }
2519
-
2520
- if (!isNaN(iterable.length)) {
2521
- var i = -1, next = function next() {
2522
- while (++i < iterable.length) {
2523
- if (hasOwn.call(iterable, i)) {
2524
- next.value = iterable[i];
2525
- next.done = false;
2526
- return next;
2527
- }
2528
- }
2529
-
2530
- next.value = undefined$1;
2531
- next.done = true;
2532
-
2533
- return next;
2534
- };
2535
-
2536
- return next.next = next;
2537
- }
2538
- }
2539
-
2540
- // Return an iterator with no values.
2541
- return { next: doneResult };
2542
- }
2543
- exports.values = values;
2544
-
2545
- function doneResult() {
2546
- return { value: undefined$1, done: true };
2547
- }
2548
-
2549
- Context.prototype = {
2550
- constructor: Context,
2551
-
2552
- reset: function(skipTempReset) {
2553
- this.prev = 0;
2554
- this.next = 0;
2555
- // Resetting context._sent for legacy support of Babel's
2556
- // function.sent implementation.
2557
- this.sent = this._sent = undefined$1;
2558
- this.done = false;
2559
- this.delegate = null;
2560
-
2561
- this.method = "next";
2562
- this.arg = undefined$1;
2563
-
2564
- this.tryEntries.forEach(resetTryEntry);
2565
-
2566
- if (!skipTempReset) {
2567
- for (var name in this) {
2568
- // Not sure about the optimal order of these conditions:
2569
- if (name.charAt(0) === "t" &&
2570
- hasOwn.call(this, name) &&
2571
- !isNaN(+name.slice(1))) {
2572
- this[name] = undefined$1;
2573
- }
2574
- }
2575
- }
2576
- },
2577
-
2578
- stop: function() {
2579
- this.done = true;
2580
-
2581
- var rootEntry = this.tryEntries[0];
2582
- var rootRecord = rootEntry.completion;
2583
- if (rootRecord.type === "throw") {
2584
- throw rootRecord.arg;
2585
- }
2586
-
2587
- return this.rval;
2588
- },
2589
-
2590
- dispatchException: function(exception) {
2591
- if (this.done) {
2592
- throw exception;
2593
- }
2594
-
2595
- var context = this;
2596
- function handle(loc, caught) {
2597
- record.type = "throw";
2598
- record.arg = exception;
2599
- context.next = loc;
2600
-
2601
- if (caught) {
2602
- // If the dispatched exception was caught by a catch block,
2603
- // then let that catch block handle the exception normally.
2604
- context.method = "next";
2605
- context.arg = undefined$1;
2606
- }
2607
-
2608
- return !! caught;
2609
- }
2610
-
2611
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2612
- var entry = this.tryEntries[i];
2613
- var record = entry.completion;
2614
-
2615
- if (entry.tryLoc === "root") {
2616
- // Exception thrown outside of any try block that could handle
2617
- // it, so set the completion value of the entire function to
2618
- // throw the exception.
2619
- return handle("end");
2620
- }
2621
-
2622
- if (entry.tryLoc <= this.prev) {
2623
- var hasCatch = hasOwn.call(entry, "catchLoc");
2624
- var hasFinally = hasOwn.call(entry, "finallyLoc");
2625
-
2626
- if (hasCatch && hasFinally) {
2627
- if (this.prev < entry.catchLoc) {
2628
- return handle(entry.catchLoc, true);
2629
- } else if (this.prev < entry.finallyLoc) {
2630
- return handle(entry.finallyLoc);
2631
- }
2632
-
2633
- } else if (hasCatch) {
2634
- if (this.prev < entry.catchLoc) {
2635
- return handle(entry.catchLoc, true);
2636
- }
2637
-
2638
- } else if (hasFinally) {
2639
- if (this.prev < entry.finallyLoc) {
2640
- return handle(entry.finallyLoc);
2641
- }
2642
-
2643
- } else {
2644
- throw new Error("try statement without catch or finally");
2645
- }
2646
- }
2647
- }
2648
- },
2649
-
2650
- abrupt: function(type, arg) {
2651
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2652
- var entry = this.tryEntries[i];
2653
- if (entry.tryLoc <= this.prev &&
2654
- hasOwn.call(entry, "finallyLoc") &&
2655
- this.prev < entry.finallyLoc) {
2656
- var finallyEntry = entry;
2657
- break;
2658
- }
2659
- }
2660
-
2661
- if (finallyEntry &&
2662
- (type === "break" ||
2663
- type === "continue") &&
2664
- finallyEntry.tryLoc <= arg &&
2665
- arg <= finallyEntry.finallyLoc) {
2666
- // Ignore the finally entry if control is not jumping to a
2667
- // location outside the try/catch block.
2668
- finallyEntry = null;
24
+ if (e && e.__esModule) return e;
25
+ var n = Object.create(null);
26
+ if (e) {
27
+ Object.keys(e).forEach(function (k) {
28
+ if (k !== 'default') {
29
+ var d = Object.getOwnPropertyDescriptor(e, k);
30
+ Object.defineProperty(n, k, d.get ? d : {
31
+ enumerable: true,
32
+ get: function () { return e[k]; }
33
+ });
2669
34
  }
35
+ });
36
+ }
37
+ n["default"] = e;
38
+ return Object.freeze(n);
39
+ }
2670
40
 
2671
- var record = finallyEntry ? finallyEntry.completion : {};
2672
- record.type = type;
2673
- record.arg = arg;
2674
-
2675
- if (finallyEntry) {
2676
- this.method = "next";
2677
- this.next = finallyEntry.finallyLoc;
2678
- return ContinueSentinel;
2679
- }
41
+ var _getClassName__default = /*#__PURE__*/_interopDefaultLegacy(_getClassName);
42
+ var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
43
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
44
+ var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
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);
49
+ var Timeago__default = /*#__PURE__*/_interopDefaultLegacy(Timeago);
50
+ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
51
+ var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
2680
52
 
2681
- return this.complete(record);
2682
- },
53
+ var StateContext = /*#__PURE__*/React.createContext(); // eslint-disable-next-line react/display-name
2683
54
 
2684
- complete: function(record, afterLoc) {
2685
- if (record.type === "throw") {
2686
- throw record.arg;
2687
- }
55
+ var StateProvider = function StateProvider(RowComponent) {
56
+ return function (props) {
57
+ return (
58
+ /*#__PURE__*/
59
+ // eslint-disable-next-line react/prop-types
60
+ React__default["default"].createElement(StateContext.Provider, {
61
+ value: props.config
62
+ }, /*#__PURE__*/React__default["default"].createElement(RowComponent, props))
63
+ );
64
+ };
65
+ };
66
+ var useStateValue = function useStateValue() {
67
+ return React.useContext(StateContext);
68
+ };
2688
69
 
2689
- if (record.type === "break" ||
2690
- record.type === "continue") {
2691
- this.next = record.arg;
2692
- } else if (record.type === "return") {
2693
- this.rval = this.arg = record.arg;
2694
- this.method = "return";
2695
- this.next = "end";
2696
- } else if (record.type === "normal" && afterLoc) {
2697
- this.next = afterLoc;
2698
- }
70
+ var Twitter = function Twitter(_ref) {
71
+ var _ref$color = _ref.color,
72
+ color = _ref$color === void 0 ? "#1CB7EB" : _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: "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"
81
+ }));
82
+ };
83
+ Twitter.propTypes = {
84
+ color: PropTypes__default["default"].string
85
+ };
2699
86
 
2700
- return ContinueSentinel;
2701
- },
87
+ var Facebook = function Facebook(_ref) {
88
+ var _ref$color = _ref.color,
89
+ color = _ref$color === void 0 ? "#3B5998" : _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: "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"
98
+ }));
99
+ };
100
+ Facebook.propTypes = {
101
+ color: PropTypes__default["default"].string
102
+ };
2702
103
 
2703
- finish: function(finallyLoc) {
2704
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2705
- var entry = this.tryEntries[i];
2706
- if (entry.finallyLoc === finallyLoc) {
2707
- this.complete(entry.completion, entry.afterLoc);
2708
- resetTryEntry(entry);
2709
- return ContinueSentinel;
2710
- }
2711
- }
2712
- },
104
+ var LinkedIn = function LinkedIn(_ref) {
105
+ var _ref$color = _ref.color,
106
+ color = _ref$color === void 0 ? "#0077B5" : _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
+ 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"
115
+ }));
116
+ };
117
+ LinkedIn.propTypes = {
118
+ color: PropTypes__default["default"].string
119
+ };
2713
120
 
2714
- "catch": function(tryLoc) {
2715
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2716
- var entry = this.tryEntries[i];
2717
- if (entry.tryLoc === tryLoc) {
2718
- var record = entry.completion;
2719
- if (record.type === "throw") {
2720
- var thrown = record.arg;
2721
- resetTryEntry(entry);
2722
- }
2723
- return thrown;
2724
- }
2725
- }
121
+ var WhatsApp = function WhatsApp(_ref) {
122
+ var _ref$color = _ref.color,
123
+ color = _ref$color === void 0 ? "#4AC959" : _ref$color;
124
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
125
+ xmlns: "http://www.w3.org/2000/svg",
126
+ width: "24",
127
+ height: "24",
128
+ viewBox: "0 0 24 24"
129
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
130
+ fill: color,
131
+ fillRule: "evenodd",
132
+ 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"
133
+ }));
134
+ };
135
+ WhatsApp.propTypes = {
136
+ color: PropTypes__default["default"].string
137
+ };
2726
138
 
2727
- // The context.catch method must only be called with a location
2728
- // argument that corresponds to a known catch block.
2729
- throw new Error("illegal catch attempt");
2730
- },
139
+ var getSocialIcons = function getSocialIcons(color, iconType) {
140
+ switch (iconType) {
141
+ case "plain-color-svg":
142
+ return {
143
+ facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
144
+ key: iconType
145
+ }),
146
+ twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
147
+ key: iconType
148
+ }),
149
+ linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
150
+ key: iconType
151
+ }),
152
+ whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
153
+ key: iconType
154
+ })
155
+ };
2731
156
 
2732
- delegateYield: function(iterable, resultName, nextLoc) {
2733
- this.delegate = {
2734
- iterator: values(iterable),
2735
- resultName: resultName,
2736
- nextLoc: nextLoc
157
+ default:
158
+ return {
159
+ facebook: /*#__PURE__*/React__default["default"].createElement(Facebook, {
160
+ color: color,
161
+ key: iconType
162
+ }),
163
+ twitter: /*#__PURE__*/React__default["default"].createElement(Twitter, {
164
+ color: color,
165
+ key: iconType
166
+ }),
167
+ linkedin: /*#__PURE__*/React__default["default"].createElement(LinkedIn, {
168
+ color: color,
169
+ key: iconType
170
+ }),
171
+ whatsapp: /*#__PURE__*/React__default["default"].createElement(WhatsApp, {
172
+ color: color,
173
+ key: iconType
174
+ })
2737
175
  };
176
+ }
177
+ };
2738
178
 
2739
- if (this.method === "next") {
2740
- // Deliberately forget the last sent value so that we don't
2741
- // accidentally pass it on to the delegate.
2742
- this.arg = undefined$1;
2743
- }
179
+ var socialShareData = function socialShareData(_ref) {
180
+ var fbUrl = _ref.fbUrl,
181
+ twitterUrl = _ref.twitterUrl,
182
+ linkedinUrl = _ref.linkedinUrl,
183
+ whatsappUrl = _ref.whatsappUrl,
184
+ iconColor = _ref.iconColor,
185
+ _ref$iconType = _ref.iconType,
186
+ iconType = _ref$iconType === void 0 ? "plain-svg" : _ref$iconType;
187
+ var socialIcons = getSocialIcons(iconColor, iconType);
2744
188
 
2745
- return ContinueSentinel;
2746
- }
189
+ var getOptions = function getOptions() {
190
+ return [{
191
+ name: "facebook",
192
+ url: fbUrl,
193
+ icon: socialIcons["facebook"],
194
+ text: "Facebook",
195
+ bgColor: "#4e71a8",
196
+ alt: "fb icon"
197
+ }, {
198
+ name: "twitter",
199
+ url: twitterUrl,
200
+ icon: socialIcons["twitter"],
201
+ text: "Twitter",
202
+ bgColor: "#1db7eb",
203
+ alt: "twitter icon"
204
+ }, {
205
+ name: "linkedin",
206
+ url: linkedinUrl,
207
+ icon: socialIcons["linkedin"],
208
+ text: "LinkedIn",
209
+ bgColor: "#0077B5",
210
+ alt: "linkedin icon"
211
+ }, {
212
+ name: "whatsapp",
213
+ url: whatsappUrl,
214
+ icon: socialIcons["whatsapp"],
215
+ text: "Whatsapp",
216
+ bgColor: "#25d366",
217
+ alt: "whatsapp share"
218
+ }];
2747
219
  };
2748
220
 
2749
- // Regardless of whether this script is executing as a CommonJS module
2750
- // or not, return the runtime object so that we can declare the variable
2751
- // regeneratorRuntime in the outer scope, which allows this module to be
2752
- // injected easily by `bin/regenerator --include-runtime script.js`.
2753
- return exports;
2754
-
2755
- }(
2756
- // If this script is executing as a CommonJS module, use module.exports
2757
- // as the regeneratorRuntime namespace. Otherwise create a new empty
2758
- // object. Either way, the resulting object will be used to initialize
2759
- // the regeneratorRuntime variable at the top of this file.
2760
- module.exports
2761
- ));
2762
-
2763
- try {
2764
- regeneratorRuntime = runtime;
2765
- } catch (accidentalStrictMode) {
2766
- // This module should not be running in strict mode, so the above
2767
- // assignment should always work unless something is misconfigured. Just
2768
- // in case runtime.js accidentally runs in strict mode, in modern engines
2769
- // we can explicitly access globalThis. In older engines we can escape
2770
- // strict mode using a global Function call. This could conceivably fail
2771
- // if a Content Security Policy forbids using Function, but in that case
2772
- // the proper solution is to fix the accidental strict mode problem. If
2773
- // you've misconfigured your bundler to force strict mode and applied a
2774
- // CSP to forbid Function, and you're not willing to fix either of those
2775
- // problems, please detail your unique predicament in a GitHub issue.
2776
- if (typeof globalThis === "object") {
2777
- globalThis.regeneratorRuntime = runtime;
2778
- } else {
2779
- Function("r", "regeneratorRuntime = r")(runtime);
2780
- }
2781
- }
2782
- });
2783
-
2784
- var regenerator = runtime_1;
2785
-
2786
- /**
2787
- * Converts `string`, as space separated words, to upper case.
2788
- *
2789
- * @static
2790
- * @memberOf _
2791
- * @since 4.0.0
2792
- * @category String
2793
- * @param {string} [string=''] The string to convert.
2794
- * @returns {string} Returns the upper cased string.
2795
- * @example
2796
- *
2797
- * _.upperCase('--foo-bar');
2798
- * // => 'FOO BAR'
2799
- *
2800
- * _.upperCase('fooBar');
2801
- * // => 'FOO BAR'
2802
- *
2803
- * _.upperCase('__foo_bar__');
2804
- * // => 'FOO BAR'
2805
- */
2806
- var upperCase = _createCompounder(function(result, word, index) {
2807
- return result + (index ? ' ' : '') + word.toUpperCase();
2808
- });
2809
-
2810
- var upperCase_1 = upperCase;
2811
-
2812
- /**
2813
- * Converts `string`, as space separated words, to lower case.
2814
- *
2815
- * @static
2816
- * @memberOf _
2817
- * @since 4.0.0
2818
- * @category String
2819
- * @param {string} [string=''] The string to convert.
2820
- * @returns {string} Returns the lower cased string.
2821
- * @example
2822
- *
2823
- * _.lowerCase('--Foo-Bar--');
2824
- * // => 'foo bar'
2825
- *
2826
- * _.lowerCase('fooBar');
2827
- * // => 'foo bar'
2828
- *
2829
- * _.lowerCase('__FOO_BAR__');
2830
- * // => 'foo bar'
2831
- */
2832
- var lowerCase = _createCompounder(function(result, word, index) {
2833
- return result + (index ? ' ' : '') + word.toLowerCase();
2834
- });
221
+ return getOptions();
222
+ };
2835
223
 
2836
- var lowerCase_1 = lowerCase;
224
+ var CloseIcon = function CloseIcon(_ref) {
225
+ var _ref$color = _ref.color,
226
+ color = _ref$color === void 0 ? "#333" : _ref$color;
227
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
228
+ xmlns: "http://www.w3.org/2000/svg",
229
+ width: "24",
230
+ height: "24",
231
+ viewBox: "0 0 24 24"
232
+ }, /*#__PURE__*/React__default["default"].createElement("g", {
233
+ fill: "none",
234
+ stroke: color,
235
+ strokeLinecap: "square",
236
+ strokeWidth: "2"
237
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
238
+ d: "M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"
239
+ })));
240
+ };
241
+ CloseIcon.propTypes = {
242
+ color: PropTypes__default["default"].string
243
+ };
2837
244
 
2838
245
  function truncate() {
2839
246
  var string = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
@@ -2861,7 +268,7 @@ var timestampToFormat = function timestampToFormat(value, unit, suffix, timestam
2861
268
  var localizedMonth = month;
2862
269
 
2863
270
  if (isUpperCase) {
2864
- localizedMonth = upperCase_1(month);
271
+ localizedMonth = lodash.upperCase(month);
2865
272
  }
2866
273
 
2867
274
  var year = dateTime.getFullYear();
@@ -2874,7 +281,7 @@ var timestampToFormat = function timestampToFormat(value, unit, suffix, timestam
2874
281
  var timetoShow;
2875
282
 
2876
283
  if (localizedMonths) {
2877
- localizedMonth = get_1(localizedMonths, [lowerCase_1(month)]) || month;
284
+ localizedMonth = lodash.get(localizedMonths, [lodash.lowerCase(month)]) || month;
2878
285
  }
2879
286
 
2880
287
  if (localizedMeridiem) {
@@ -2904,17 +311,17 @@ function formatter(value, unit, suffix, date, config) {
2904
311
  var showDateForUnits = ["day", "week", "month", "year"]; // suffix here refers to ago
2905
312
  // unit here refers to seconds, minute, minutes,...
2906
313
 
2907
- var localizedSuffix = get_1(config, ["localizedPublishTime", suffix]) || suffix;
314
+ var localizedSuffix = lodash.get(config, ["localizedPublishTime", suffix]) || suffix;
2908
315
  var localizedUnitOfTime;
2909
316
 
2910
317
  if (unit === "hour" && value > 23 || showDateForUnits.indexOf(unit) !== -1) {
2911
318
  return timestampToFormat(value, unit, suffix, date, config);
2912
319
  } else if (value > 1) {
2913
- localizedUnitOfTime = get_1(config, ["localizedPublishTime", "".concat(unit, "s")]) || "".concat(unit, "s");
320
+ localizedUnitOfTime = lodash.get(config, ["localizedPublishTime", "".concat(unit, "s")]) || "".concat(unit, "s");
2914
321
  return "".concat(value, " ").concat(localizedUnitOfTime, " ").concat(localizedSuffix);
2915
322
  }
2916
323
 
2917
- localizedUnitOfTime = get_1(config, ["localizedPublishTime", unit]) || unit;
324
+ localizedUnitOfTime = lodash.get(config, ["localizedPublishTime", unit]) || unit;
2918
325
  return "".concat(value, " ").concat(localizedUnitOfTime, " ").concat(localizedSuffix, " ");
2919
326
  }
2920
327
 
@@ -2967,10 +374,10 @@ var clientWidths = {
2967
374
  tablet: 1024
2968
375
  };
2969
376
  var clientWidth = function clientWidth(device) {
2970
- var foundDeviceWidth = get_1(clientWidths, device);
377
+ var foundDeviceWidth = lodash.get(clientWidths, device);
2971
378
 
2972
379
  if (foundDeviceWidth) {
2973
- return get_1(global, "document.documentElement.clientWidth") <= foundDeviceWidth;
380
+ return lodash.get(global, "document.documentElement.clientWidth") <= foundDeviceWidth;
2974
381
  }
2975
382
 
2976
383
  return false;
@@ -3000,7 +407,7 @@ var getSlug = function getSlug(collection) {
3000
407
  var isSection = collection.template === "section";
3001
408
 
3002
409
  if (isSection) {
3003
- var sectionId = get_1(collection, ["metadata", "section", "0", "id"], "");
410
+ var sectionId = lodash.get(collection, ["metadata", "section", "0", "id"], "");
3004
411
  var sections = config.sections;
3005
412
  var section = sections && sections.find(function (section) {
3006
413
  return section.id === sectionId;
@@ -3016,7 +423,7 @@ function isExternalStory() {
3016
423
  storyTemplate = _story$storyTemplate === void 0 ? "" : _story$storyTemplate,
3017
424
  _story$metadata = story.metadata,
3018
425
  metadata = _story$metadata === void 0 ? {} : _story$metadata;
3019
- return storyTemplate === "news-elsewhere" ? get_1(metadata, ["reference-url"], "") : "";
426
+ return storyTemplate === "news-elsewhere" ? lodash.get(metadata, ["reference-url"], "") : "";
3020
427
  } // Adds target='_blank' attribute to anchor tags if not present
3021
428
 
3022
429
  var updateContentLinks = function updateContentLinks(content) {
@@ -3033,7 +440,7 @@ var updateContentLinks = function updateContentLinks(content) {
3033
440
  };
3034
441
  var isEmpty = function isEmpty(value) {
3035
442
  return value == null || // From standard.js: Always use === - but value == null is allowed to check null || undefined
3036
- _typeof(value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
443
+ _typeof__default["default"](value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
3037
444
  };
3038
445
  var shapeConfig = PropTypes__default["default"].shape({
3039
446
  "sketches-host": PropTypes__default["default"].string,
@@ -3047,7 +454,7 @@ var shapeStory = PropTypes__default["default"].shape({
3047
454
  });
3048
455
  var getStoryUrl = function getStoryUrl(story) {
3049
456
  var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
3050
- return get_1(story, ["story-template"]) === "news-elsewhere" ? get_1(story, ["metadata", "reference-url"], "") : story.url || defaultValue;
457
+ return lodash.get(story, ["story-template"]) === "news-elsewhere" ? lodash.get(story, ["metadata", "reference-url"], "") : story.url || defaultValue;
3051
458
  };
3052
459
  var facebookMobileVideoResizeFix = function facebookMobileVideoResizeFix() {
3053
460
  if (typeof window !== "undefined" && window.matchMedia && window.matchMedia("(max-width: 767px)").matches) {
@@ -3092,11 +499,11 @@ var generateNavigateSlug = function generateNavigateSlug() {
3092
499
  return "/";
3093
500
  };
3094
501
  var getCollectionData = /*#__PURE__*/function () {
3095
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(collectionSlug) {
502
+ var _ref = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(collectionSlug) {
3096
503
  var mountAtPrefix,
3097
504
  result,
3098
505
  _args = arguments;
3099
- return regenerator.wrap(function _callee$(_context) {
506
+ return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
3100
507
  while (1) {
3101
508
  switch (_context.prev = _context.next) {
3102
509
  case 0:
@@ -3213,7 +620,7 @@ var SocialSharePopup = function SocialSharePopup(_ref) {
3213
620
  };
3214
621
  var popupItemsList = socialShareData(options);
3215
622
  return /*#__PURE__*/React__default["default"].createElement("div", {
3216
- className: _getClassName("share-popup-wrapper ".concat(textColor), _styleModuleImportMap$A)
623
+ className: _getClassName__default["default"]("share-popup-wrapper ".concat(textColor), _styleModuleImportMap$A)
3217
624
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3218
625
  className: "social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD"
3219
626
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3266,249 +673,6 @@ ShareIcon.propTypes = {
3266
673
  color: PropTypes__default["default"].string
3267
674
  };
3268
675
 
3269
- /**
3270
- * The base implementation of `_.slice` without an iteratee call guard.
3271
- *
3272
- * @private
3273
- * @param {Array} array The array to slice.
3274
- * @param {number} [start=0] The start position.
3275
- * @param {number} [end=array.length] The end position.
3276
- * @returns {Array} Returns the slice of `array`.
3277
- */
3278
- function baseSlice(array, start, end) {
3279
- var index = -1,
3280
- length = array.length;
3281
-
3282
- if (start < 0) {
3283
- start = -start > length ? 0 : (length + start);
3284
- }
3285
- end = end > length ? length : end;
3286
- if (end < 0) {
3287
- end += length;
3288
- }
3289
- length = start > end ? 0 : ((end - start) >>> 0);
3290
- start >>>= 0;
3291
-
3292
- var result = Array(length);
3293
- while (++index < length) {
3294
- result[index] = array[index + start];
3295
- }
3296
- return result;
3297
- }
3298
-
3299
- var _baseSlice = baseSlice;
3300
-
3301
- /**
3302
- * Casts `array` to a slice if it's needed.
3303
- *
3304
- * @private
3305
- * @param {Array} array The array to inspect.
3306
- * @param {number} start The start position.
3307
- * @param {number} [end=array.length] The end position.
3308
- * @returns {Array} Returns the cast slice.
3309
- */
3310
- function castSlice(array, start, end) {
3311
- var length = array.length;
3312
- end = end === undefined ? length : end;
3313
- return (!start && end >= length) ? array : _baseSlice(array, start, end);
3314
- }
3315
-
3316
- var _castSlice = castSlice;
3317
-
3318
- /** Used to compose unicode character classes. */
3319
- var rsAstralRange$1 = '\\ud800-\\udfff',
3320
- rsComboMarksRange$1 = '\\u0300-\\u036f',
3321
- reComboHalfMarksRange$1 = '\\ufe20-\\ufe2f',
3322
- rsComboSymbolsRange$1 = '\\u20d0-\\u20ff',
3323
- rsComboRange$1 = rsComboMarksRange$1 + reComboHalfMarksRange$1 + rsComboSymbolsRange$1,
3324
- rsVarRange$1 = '\\ufe0e\\ufe0f';
3325
-
3326
- /** Used to compose unicode capture groups. */
3327
- var rsZWJ$1 = '\\u200d';
3328
-
3329
- /** 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/). */
3330
- var reHasUnicode = RegExp('[' + rsZWJ$1 + rsAstralRange$1 + rsComboRange$1 + rsVarRange$1 + ']');
3331
-
3332
- /**
3333
- * Checks if `string` contains Unicode symbols.
3334
- *
3335
- * @private
3336
- * @param {string} string The string to inspect.
3337
- * @returns {boolean} Returns `true` if a symbol is found, else `false`.
3338
- */
3339
- function hasUnicode(string) {
3340
- return reHasUnicode.test(string);
3341
- }
3342
-
3343
- var _hasUnicode = hasUnicode;
3344
-
3345
- /**
3346
- * Converts an ASCII `string` to an array.
3347
- *
3348
- * @private
3349
- * @param {string} string The string to convert.
3350
- * @returns {Array} Returns the converted array.
3351
- */
3352
- function asciiToArray(string) {
3353
- return string.split('');
3354
- }
3355
-
3356
- var _asciiToArray = asciiToArray;
3357
-
3358
- /** Used to compose unicode character classes. */
3359
- var rsAstralRange = '\\ud800-\\udfff',
3360
- rsComboMarksRange = '\\u0300-\\u036f',
3361
- reComboHalfMarksRange = '\\ufe20-\\ufe2f',
3362
- rsComboSymbolsRange = '\\u20d0-\\u20ff',
3363
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
3364
- rsVarRange = '\\ufe0e\\ufe0f';
3365
-
3366
- /** Used to compose unicode capture groups. */
3367
- var rsAstral = '[' + rsAstralRange + ']',
3368
- rsCombo = '[' + rsComboRange + ']',
3369
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
3370
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
3371
- rsNonAstral = '[^' + rsAstralRange + ']',
3372
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
3373
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
3374
- rsZWJ = '\\u200d';
3375
-
3376
- /** Used to compose unicode regexes. */
3377
- var reOptMod = rsModifier + '?',
3378
- rsOptVar = '[' + rsVarRange + ']?',
3379
- rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
3380
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
3381
- rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';
3382
-
3383
- /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
3384
- var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
3385
-
3386
- /**
3387
- * Converts a Unicode `string` to an array.
3388
- *
3389
- * @private
3390
- * @param {string} string The string to convert.
3391
- * @returns {Array} Returns the converted array.
3392
- */
3393
- function unicodeToArray(string) {
3394
- return string.match(reUnicode) || [];
3395
- }
3396
-
3397
- var _unicodeToArray = unicodeToArray;
3398
-
3399
- /**
3400
- * Converts `string` to an array.
3401
- *
3402
- * @private
3403
- * @param {string} string The string to convert.
3404
- * @returns {Array} Returns the converted array.
3405
- */
3406
- function stringToArray(string) {
3407
- return _hasUnicode(string)
3408
- ? _unicodeToArray(string)
3409
- : _asciiToArray(string);
3410
- }
3411
-
3412
- var _stringToArray = stringToArray;
3413
-
3414
- /**
3415
- * Creates a function like `_.lowerFirst`.
3416
- *
3417
- * @private
3418
- * @param {string} methodName The name of the `String` case method to use.
3419
- * @returns {Function} Returns the new case function.
3420
- */
3421
- function createCaseFirst(methodName) {
3422
- return function(string) {
3423
- string = toString_1(string);
3424
-
3425
- var strSymbols = _hasUnicode(string)
3426
- ? _stringToArray(string)
3427
- : undefined;
3428
-
3429
- var chr = strSymbols
3430
- ? strSymbols[0]
3431
- : string.charAt(0);
3432
-
3433
- var trailing = strSymbols
3434
- ? _castSlice(strSymbols, 1).join('')
3435
- : string.slice(1);
3436
-
3437
- return chr[methodName]() + trailing;
3438
- };
3439
- }
3440
-
3441
- var _createCaseFirst = createCaseFirst;
3442
-
3443
- /**
3444
- * Converts the first character of `string` to upper case.
3445
- *
3446
- * @static
3447
- * @memberOf _
3448
- * @since 4.0.0
3449
- * @category String
3450
- * @param {string} [string=''] The string to convert.
3451
- * @returns {string} Returns the converted string.
3452
- * @example
3453
- *
3454
- * _.upperFirst('fred');
3455
- * // => 'Fred'
3456
- *
3457
- * _.upperFirst('FRED');
3458
- * // => 'FRED'
3459
- */
3460
- var upperFirst = _createCaseFirst('toUpperCase');
3461
-
3462
- var upperFirst_1 = upperFirst;
3463
-
3464
- /**
3465
- * Converts the first character of `string` to upper case and the remaining
3466
- * to lower case.
3467
- *
3468
- * @static
3469
- * @memberOf _
3470
- * @since 3.0.0
3471
- * @category String
3472
- * @param {string} [string=''] The string to capitalize.
3473
- * @returns {string} Returns the capitalized string.
3474
- * @example
3475
- *
3476
- * _.capitalize('FRED');
3477
- * // => 'Fred'
3478
- */
3479
- function capitalize(string) {
3480
- return upperFirst_1(toString_1(string).toLowerCase());
3481
- }
3482
-
3483
- var capitalize_1 = capitalize;
3484
-
3485
- /**
3486
- * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
3487
- *
3488
- * @static
3489
- * @memberOf _
3490
- * @since 3.0.0
3491
- * @category String
3492
- * @param {string} [string=''] The string to convert.
3493
- * @returns {string} Returns the camel cased string.
3494
- * @example
3495
- *
3496
- * _.camelCase('Foo Bar');
3497
- * // => 'fooBar'
3498
- *
3499
- * _.camelCase('--foo-bar--');
3500
- * // => 'fooBar'
3501
- *
3502
- * _.camelCase('__FOO_BAR__');
3503
- * // => 'fooBar'
3504
- */
3505
- var camelCase = _createCompounder(function(result, word, index) {
3506
- word = word.toLowerCase();
3507
- return result + (index ? capitalize_1(word) : word);
3508
- });
3509
-
3510
- var camelCase_1 = camelCase;
3511
-
3512
676
  var _styleModuleImportMap$z = {
3513
677
  "./social-share-template.m.css": {
3514
678
  "desktop-view": "social-share-template-m_desktop-view__3TmkO",
@@ -3590,7 +754,7 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3590
754
  var iconsList = socialShareData(options);
3591
755
 
3592
756
  var _useState = React.useState(open),
3593
- _useState2 = _slicedToArray(_useState, 2),
757
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
3594
758
  isOpen = _useState2[0],
3595
759
  setIsOpen = _useState2[1];
3596
760
 
@@ -3616,12 +780,12 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3616
780
  return /*#__PURE__*/React__default["default"].createElement("div", {
3617
781
  className: "social-share-template-m_tablet-view__kATzi"
3618
782
  }, !isOpen && /*#__PURE__*/React__default["default"].createElement("ul", {
3619
- className: _getClassName("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$z)
783
+ className: _getClassName__default["default"]("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$z)
3620
784
  }, shareIcon()), isOpen && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3621
785
  className: "social-share-template-m_overlay__1nBp-",
3622
786
  onClick: clickHandler
3623
787
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3624
- className: "arr--popup " + _getClassName("popup-wrapper ".concat(isOpen ? "popup-open" : ""), _styleModuleImportMap$z)
788
+ className: "arr--popup " + _getClassName__default["default"]("popup-wrapper ".concat(isOpen ? "popup-open" : ""), _styleModuleImportMap$z)
3625
789
  }, /*#__PURE__*/React__default["default"].createElement(SocialSharePopup, {
3626
790
  fbUrl: fbUrl,
3627
791
  twitterUrl: twitterUrl,
@@ -3638,14 +802,14 @@ var SocialShareTemplate = function SocialShareTemplate(props) {
3638
802
  var popupStyle = !isOpen && vertical ? "tablet-view-popup" : "";
3639
803
  return /*#__PURE__*/React__default["default"].createElement("div", {
3640
804
  "data-test-id": verticalShare,
3641
- className: "arr--share " + _getClassName("".concat(iconShade, " ").concat(verticalShare, " ").concat(popupStyle), _styleModuleImportMap$z)
805
+ className: "arr--share " + _getClassName__default["default"]("".concat(iconShade, " ").concat(verticalShare, " ").concat(popupStyle), _styleModuleImportMap$z)
3642
806
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3643
807
  className: "social-share-template-m_desktop-view__3TmkO"
3644
808
  }, /*#__PURE__*/React__default["default"].createElement("ul", {
3645
- "data-test-id": camelCase_1(iconType),
3646
- className: "desktop-share-wrapper " + _getClassName("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$z)
809
+ "data-test-id": lodash.camelCase(iconType),
810
+ className: "desktop-share-wrapper " + _getClassName__default["default"]("wrapper ".concat(isOpen ? "open" : ""), _styleModuleImportMap$z)
3647
811
  }, shareIcon(), iconsList.map(function (iconData, index) {
3648
- return /*#__PURE__*/React__default["default"].createElement(ShareItem, _extends({}, iconData, {
812
+ return /*#__PURE__*/React__default["default"].createElement(ShareItem, _extends__default["default"]({}, iconData, {
3649
813
  key: iconData.name,
3650
814
  dataTestId: "card-share-".concat(index)
3651
815
  }));
@@ -3682,9 +846,9 @@ var SectionTag = function SectionTag(_ref) {
3682
846
  borderColor = _ref$borderColor === void 0 ? "" : _ref$borderColor,
3683
847
  isLightTheme = _ref.isLightTheme;
3684
848
  var config = useStateValue() || {};
3685
- var isSection = get_1(config, ["showSection"], true);
3686
- var templateFromRowContext = get_1(config, ["sectionTagTemplate"]);
3687
- 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], "");
3688
852
  var supportedTemplates = ["borderBottomSml", "borderLeft", "solid"];
3689
853
  var getUrl = section ? section["section-url"] : "/";
3690
854
  var colorToApplyContrast = template === "solid" || templateFromRowContext === "solid" ? borderColor : config.theme;
@@ -3706,7 +870,7 @@ var SectionTag = function SectionTag(_ref) {
3706
870
  style: {
3707
871
  backgroundColor: templateStyle.includes("section-solid") ? sectionTagBorderColor : ""
3708
872
  },
3709
- 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)
3710
874
  }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
3711
875
  className: "section-m_border-left__2oUyp",
3712
876
  style: {
@@ -3953,11 +1117,11 @@ var StoryHeadline = function StoryHeadline(_ref) {
3953
1117
  iconStyle = _premiumStoryIconConf2 === void 0 ? "star" : _premiumStoryIconConf2,
3954
1118
  _premiumStoryIconConf3 = premiumStoryIconConfig.enablePremiumStoryIcon,
3955
1119
  enablePremiumStoryIcon = _premiumStoryIconConf3 === void 0 ? false : _premiumStoryIconConf3;
3956
- var premiumStory = enablePremiumStoryIcon && get_1(story, ["access"]) === "subscription";
1120
+ var premiumStory = enablePremiumStoryIcon && lodash.get(story, ["access"]) === "subscription";
3957
1121
  var wrapperClass = premiumStory ? "premium-wrapper" : "wrapper";
3958
1122
  var iconSize = "40px";
3959
1123
  return /*#__PURE__*/React__default["default"].createElement("div", {
3960
- className: "arrow-component arr--story-headline " + _getClassName(wrapperClass, _styleModuleImportMap$x)
1124
+ className: "arrow-component arr--story-headline " + _getClassName__default["default"](wrapperClass, _styleModuleImportMap$x)
3961
1125
  }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
3962
1126
  width: iconSize,
3963
1127
  height: iconSize,
@@ -3966,7 +1130,7 @@ var StoryHeadline = function StoryHeadline(_ref) {
3966
1130
  positionTop: "6px"
3967
1131
  }), /*#__PURE__*/React__default["default"].createElement("h1", {
3968
1132
  "data-testid": "story-headline",
3969
- className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$x)
1133
+ className: _getClassName__default["default"]("headline ".concat(textColor), _styleModuleImportMap$x)
3970
1134
  }, /*#__PURE__*/React__default["default"].createElement("bdi", {
3971
1135
  dangerouslySetInnerHTML: {
3972
1136
  __html: story.headline
@@ -3999,7 +1163,7 @@ var Subheadline = function Subheadline(_ref) {
3999
1163
  forceShowAtom = _ref.forceShowAtom,
4000
1164
  showFullContent = _ref.showFullContent;
4001
1165
  var config = useStateValue() || {};
4002
- var subheadline = forceShowAtom || get_1(config, ["showSubheadline"], true);
1166
+ var subheadline = forceShowAtom || lodash.get(config, ["showSubheadline"], true);
4003
1167
  if (!subheadline) return null;
4004
1168
  var textColor = getTextColor(config.theme);
4005
1169
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -4007,7 +1171,7 @@ var Subheadline = function Subheadline(_ref) {
4007
1171
  WebkitLineClamp: lineClamp
4008
1172
  },
4009
1173
  "data-test-id": "subheadline",
4010
- 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)
4011
1175
  }, showFullContent || typeof lineClamp === "number" ? story.subheadline : truncate(story.subheadline, truncateChars, true));
4012
1176
  };
4013
1177
  Subheadline.propTypes = {
@@ -4027,21 +1191,6 @@ Subheadline.defaultProps = {
4027
1191
  showFullContent: false
4028
1192
  };
4029
1193
 
4030
- function _defineProperty(obj, key, value) {
4031
- if (key in obj) {
4032
- Object.defineProperty(obj, key, {
4033
- value: value,
4034
- enumerable: true,
4035
- configurable: true,
4036
- writable: true
4037
- });
4038
- } else {
4039
- obj[key] = value;
4040
- }
4041
-
4042
- return obj;
4043
- }
4044
-
4045
1194
  var _styleModuleImportMap$v = {
4046
1195
  "./timestamp.m.css": {
4047
1196
  "time": "timestamp-m_time__2v46i",
@@ -4057,13 +1206,13 @@ var TimeStamp = function TimeStamp(_ref) {
4057
1206
  _ref$config = _ref.config,
4058
1207
  config = _ref$config === void 0 ? {} : _ref$config;
4059
1208
  var configState = useStateValue() || {};
4060
- var isTime = get_1(config, ["showTime"], get_1(configState, ["showTime"], true));
1209
+ var isTime = lodash.get(config, ["showTime"], lodash.get(configState, ["showTime"], true));
4061
1210
  var time = story["last-published-at"] || story["first-published-at"];
4062
1211
  var isBottomClasses = isBottom ? "bottom-fix" : "";
4063
1212
  var textColor = getTextColor(configState.theme);
4064
1213
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isTime && /*#__PURE__*/React__default["default"].createElement("div", {
4065
1214
  "data-test-id": "publish-time",
4066
- className: "time arr--publish-time " + _getClassName("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$v)
1215
+ className: "time arr--publish-time " + _getClassName__default["default"]("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$v)
4067
1216
  }, /*#__PURE__*/React__default["default"].createElement("div", {
4068
1217
  className: "timestamp-m_time-wrapper__3O2lM"
4069
1218
  }, getTimeStamp(time, formatter, config))));
@@ -4098,9 +1247,9 @@ var AuthorBase = function AuthorBase(_ref) {
4098
1247
  _ref$config = _ref.config,
4099
1248
  config = _ref$config === void 0 ? {} : _ref$config;
4100
1249
  var configData = useStateValue() || {};
4101
- var isAuthor = get_1(configData, ["showAuthor"], true);
1250
+ var isAuthor = lodash.get(configData, ["showAuthor"], true);
4102
1251
 
4103
- var _get = get_1(story, ["authors", "0"], ""),
1252
+ var _get = lodash.get(story, ["authors", "0"], ""),
4104
1253
  avatarUrl = _get["avatar-url"],
4105
1254
  avatarS3Key = _get["avatar-s3-key"],
4106
1255
  authorName = _get.name,
@@ -4108,7 +1257,7 @@ var AuthorBase = function AuthorBase(_ref) {
4108
1257
 
4109
1258
  var isBottomClasses = isBottom ? "bottom-fix" : "";
4110
1259
  var textColor = getTextColor(configData.theme);
4111
- var mountAt = get_1(config, ["mountAt"], "");
1260
+ var mountAt = lodash.get(config, ["mountAt"], "");
4112
1261
 
4113
1262
  var authorImage = function authorImage(dir) {
4114
1263
  if (!avatarUrl && !avatarS3Key) {
@@ -4117,7 +1266,7 @@ var AuthorBase = function AuthorBase(_ref) {
4117
1266
 
4118
1267
  return /*#__PURE__*/React__default["default"].createElement("div", {
4119
1268
  "data-test-id": "author-image",
4120
- className: _getClassName("author-image ".concat(dir, "-image"), _styleModuleImportMap$u)
1269
+ className: _getClassName__default["default"]("author-image ".concat(dir, "-image"), _styleModuleImportMap$u)
4121
1270
  }, /*#__PURE__*/React__default["default"].createElement("figure", null, avatarS3Key ? /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
4122
1271
  slug: avatarS3Key,
4123
1272
  "aspect-ratio": [1, 1],
@@ -4134,7 +1283,7 @@ var AuthorBase = function AuthorBase(_ref) {
4134
1283
  var isPrefix = function isPrefix(dir) {
4135
1284
  if (prefix) {
4136
1285
  return /*#__PURE__*/React__default["default"].createElement("div", {
4137
- className: "arr-author-prefix " + _getClassName("prefix ".concat(textColor), _styleModuleImportMap$u)
1286
+ className: "arr-author-prefix " + _getClassName__default["default"]("prefix ".concat(textColor), _styleModuleImportMap$u)
4138
1287
  }, prefix);
4139
1288
  }
4140
1289
 
@@ -4144,16 +1293,16 @@ var AuthorBase = function AuthorBase(_ref) {
4144
1293
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement(components.Link, {
4145
1294
  href: "".concat(mountAt, "/author/") + slug,
4146
1295
  "aria-label": "author-name",
4147
- className: "author-name arr-author-name arrow-component " + _getClassName("author ".concat(isBottomClasses), _styleModuleImportMap$u)
1296
+ className: "author-name arr-author-name arrow-component " + _getClassName__default["default"]("author ".concat(isBottomClasses), _styleModuleImportMap$u)
4148
1297
  }, isPrefix("ltr"), /*#__PURE__*/React__default["default"].createElement("div", {
4149
1298
  "data-test-id": "author-name",
4150
- className: "author-name " + _getClassName("author-name ".concat(textColor), _styleModuleImportMap$u)
1299
+ className: "author-name " + _getClassName__default["default"]("author-name ".concat(textColor), _styleModuleImportMap$u)
4151
1300
  }, authorName || story["author-name"]), !prefix && isPrefix("rtl")));
4152
1301
  };
4153
1302
 
4154
1303
  function mapStateToProps$1(state) {
4155
1304
  return {
4156
- config: get_1(state, ["qt", "config"], {})
1305
+ config: lodash.get(state, ["qt", "config"], {})
4157
1306
  };
4158
1307
  }
4159
1308
 
@@ -4190,7 +1339,7 @@ var Dot = function Dot(_ref) {
4190
1339
  _ref$color = _ref.color,
4191
1340
  color = _ref$color === void 0 ? "light" : _ref$color;
4192
1341
  return /*#__PURE__*/React__default["default"].createElement("div", {
4193
- className: _getClassName(color, _styleModuleImportMap$t)
1342
+ className: _getClassName__default["default"](color, _styleModuleImportMap$t)
4194
1343
  }, /*#__PURE__*/React__default["default"].createElement("svg", {
4195
1344
  xmlns: "http://www.w3.org/2000/svg",
4196
1345
  width: width,
@@ -4226,7 +1375,7 @@ var Divider = function Divider(_ref) {
4226
1375
  _ref$color = _ref.color,
4227
1376
  color = _ref$color === void 0 ? "light" : _ref$color;
4228
1377
  return /*#__PURE__*/React__default["default"].createElement("div", {
4229
- className: _getClassName(color, _styleModuleImportMap$s)
1378
+ className: _getClassName__default["default"](color, _styleModuleImportMap$s)
4230
1379
  }, /*#__PURE__*/React__default["default"].createElement("svg", {
4231
1380
  xmlns: "http://www.w3.org/2000/svg",
4232
1381
  width: width,
@@ -4258,14 +1407,14 @@ var ReadTime = function ReadTime(_ref) {
4258
1407
  _ref$isLightTheme = _ref.isLightTheme,
4259
1408
  isLightTheme = _ref$isLightTheme === void 0 ? false : _ref$isLightTheme;
4260
1409
  var config = useStateValue() || {};
4261
- var showReadTime = get_1(config, ["showReadTime"]) || get_1(opts, ["showReadTime"], true);
4262
- var readTime = get_1(story, ["read-time"], 0);
1410
+ var showReadTime = lodash.get(config, ["showReadTime"]) || lodash.get(opts, ["showReadTime"], true);
1411
+ var readTime = lodash.get(story, ["read-time"], 0);
4263
1412
  var textColor = isLightTheme ? "light" : getTextColor(config.theme);
4264
1413
  if (!showReadTime || !readTime) return null;
4265
- var timeToRead = get_1(opts, ["localizedTimeToRead"]) || "min read";
1414
+ var timeToRead = lodash.get(opts, ["localizedTimeToRead"]) || "min read";
4266
1415
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
4267
1416
  "data-test-id": "read-time",
4268
- className: "arrow-component arr--read-time " + _getClassName("read-time-wrapper ".concat(textColor), _styleModuleImportMap$r)
1417
+ className: "arrow-component arr--read-time " + _getClassName__default["default"]("read-time-wrapper ".concat(textColor), _styleModuleImportMap$r)
4269
1418
  }, /*#__PURE__*/React__default["default"].createElement("span", {
4270
1419
  className: "read-time-indicator read-time-m_dot-indicator__3Sqh2"
4271
1420
  }, /*#__PURE__*/React__default["default"].createElement(Dot, {
@@ -4301,9 +1450,9 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
4301
1450
  config = _ref$config === void 0 ? {} : _ref$config,
4302
1451
  isLightTheme = _ref.isLightTheme;
4303
1452
  var configState = useStateValue() || {};
4304
- var isAuthor = get_1(config, ["showAuthor"], get_1(configState, ["showAuthor"], true));
4305
- var isTime = get_1(config, ["showTime"], get_1(configState, ["showTime"], true));
4306
- var isReadTime = get_1(configState, ["showReadTime"], true);
1453
+ var isAuthor = lodash.get(config, ["showAuthor"], lodash.get(configState, ["showAuthor"], true));
1454
+ var isTime = lodash.get(config, ["showTime"], lodash.get(configState, ["showTime"], true));
1455
+ var isReadTime = lodash.get(configState, ["showReadTime"], true);
4307
1456
  var isBottomClasses = isBottom ? "bottom-fix" : "";
4308
1457
  var seperatorStyle = separator === "dot" ? "dot" : "dash";
4309
1458
  var textColor = isLightTheme ? "light" : getTextColor(configState.theme);
@@ -4323,7 +1472,7 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
4323
1472
  var getTimeStamp = function getTimeStamp() {
4324
1473
  if (!isTime) return null;
4325
1474
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement("span", {
4326
- className: "arr-separator " + _getClassName("".concat(seperatorStyle), _styleModuleImportMap$q)
1475
+ className: "arr-separator " + _getClassName__default["default"]("".concat(seperatorStyle), _styleModuleImportMap$q)
4327
1476
  }, getSeparator()), /*#__PURE__*/React__default["default"].createElement(TimeStamp, {
4328
1477
  story: story,
4329
1478
  config: config
@@ -4335,7 +1484,7 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
4335
1484
  };
4336
1485
 
4337
1486
  return /*#__PURE__*/React__default["default"].createElement("div", {
4338
- className: "arr--author-time " + _getClassName("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$q)
1487
+ className: "arr--author-time " + _getClassName__default["default"]("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$q)
4339
1488
  }, isAuthor ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Author, {
4340
1489
  story: story,
4341
1490
  isBottom: true,
@@ -4391,7 +1540,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
4391
1540
  _ref$navigate = _ref.navigate,
4392
1541
  navigate = _ref$navigate === void 0 ? true : _ref$navigate;
4393
1542
  var collectionTitle = useStateValue() || {};
4394
- var showRowTitle = get_1(collectionTitle, ["showRowTitle"], true);
1543
+ var showRowTitle = lodash.get(collectionTitle, ["showRowTitle"], true);
4395
1544
  var supportedTemplates = ["borderLeft", "borderBottom", "crossLine", "borderBottomFull"];
4396
1545
  var templateStyle = supportedTemplates.includes(collectionNameTemplate) ? " collection-".concat(collectionNameTemplate) : "";
4397
1546
  var slug = navigate && collection && getSlug(collection, config) || "";
@@ -4467,7 +1616,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
4467
1616
  borderBottom: borderBottomFullStyle
4468
1617
  },
4469
1618
  "data-test-id": "collection-name",
4470
- className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$p)
1619
+ 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)
4471
1620
  }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
4472
1621
  className: "arr-collection-name-border-left collection-name-m_border-left__3_pYw",
4473
1622
  style: {
@@ -4504,7 +1653,7 @@ CollectionNameBase.defaultProps = {
4504
1653
 
4505
1654
  function mapStateToProps(state) {
4506
1655
  return {
4507
- config: get_1(state, ["qt", "config"], {})
1656
+ config: lodash.get(state, ["qt", "config"], {})
4508
1657
  };
4509
1658
  }
4510
1659
 
@@ -4546,8 +1695,8 @@ var Headline = function Headline(_ref) {
4546
1695
  enablePremiumStoryIcon = _premiumStoryIconConf3 === void 0 ? false : _premiumStoryIconConf3,
4547
1696
  _premiumStoryIconConf4 = premiumStoryIconConfig.showLiveIcon,
4548
1697
  showLiveIcon = _premiumStoryIconConf4 === void 0 ? false : _premiumStoryIconConf4;
4549
- var alternateHeadline = get_1(story, ["alternative", "home", "default", "headline"]);
4550
- var premiumStory = enablePremiumStoryIcon && get_1(story, ["access"]) === "subscription";
1698
+ var alternateHeadline = lodash.get(story, ["alternative", "home", "default", "headline"]);
1699
+ var premiumStory = enablePremiumStoryIcon && lodash.get(story, ["access"]) === "subscription";
4551
1700
  var headline = alternateHeadline || story.headline;
4552
1701
  var HeaderTag = "h" + headerLevel;
4553
1702
 
@@ -4573,10 +1722,10 @@ var Headline = function Headline(_ref) {
4573
1722
  var textColor = getTextColor(configData.theme);
4574
1723
  var wrapperClass = premiumStory ? "wrapper" : "";
4575
1724
  var iconSize = "24px";
4576
- var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !get_1(story, ["metadata", "is-closed"], false);
1725
+ var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !lodash.get(story, ["metadata", "is-closed"], false);
4577
1726
  return /*#__PURE__*/React__default["default"].createElement("div", {
4578
1727
  "data-test-id": "headline",
4579
- className: "arrow-component arr--headline " + _getClassName(wrapperClass, _styleModuleImportMap$o)
1728
+ className: "arrow-component arr--headline " + _getClassName__default["default"](wrapperClass, _styleModuleImportMap$o)
4580
1729
  }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
4581
1730
  width: iconSize,
4582
1731
  height: iconSize,
@@ -4588,9 +1737,9 @@ var Headline = function Headline(_ref) {
4588
1737
  externalLink: isExternalStory(story),
4589
1738
  "aria-label": "headline"
4590
1739
  }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
4591
- className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$o)
1740
+ className: _getClassName__default["default"]("headline ".concat(textColor), _styleModuleImportMap$o)
4592
1741
  }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
4593
- className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$o)
1742
+ className: _getClassName__default["default"]("headline ".concat(textColor), _styleModuleImportMap$o)
4594
1743
  }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline));
4595
1744
  };
4596
1745
  Headline.propTypes = {
@@ -4751,7 +1900,7 @@ var HeroImage = function HeroImage(_ref) {
4751
1900
  return null;
4752
1901
  } : _config$StoryTemplate;
4753
1902
  var showImagePlaceholder = reactRedux.useSelector(function (state) {
4754
- return get_1(state, ["qt", "config", "showPlaceholder"]);
1903
+ return lodash.get(state, ["qt", "config", "showPlaceholder"]);
4755
1904
  });
4756
1905
  var getPlaceholderStyleName = showImagePlaceholder ? "placeholder" : "";
4757
1906
  var fullBleed = FullBleed ? "" : "with-padding";
@@ -4760,7 +1909,7 @@ var HeroImage = function HeroImage(_ref) {
4760
1909
  var heroImageMobClasses = isHorizontalMobile ? "right-padding-mob" : "";
4761
1910
 
4762
1911
  var getPadding = function getPadding(aspectRatio) {
4763
- var _aspectRatio = _slicedToArray(aspectRatio, 2),
1912
+ var _aspectRatio = _slicedToArray__default["default"](aspectRatio, 2),
4764
1913
  height = _aspectRatio[0],
4765
1914
  width = _aspectRatio[1];
4766
1915
 
@@ -4772,7 +1921,7 @@ var HeroImage = function HeroImage(_ref) {
4772
1921
  return 0;
4773
1922
  };
4774
1923
 
4775
- var _aspectRatio2 = _slicedToArray(aspectRatio, 2),
1924
+ var _aspectRatio2 = _slicedToArray__default["default"](aspectRatio, 2),
4776
1925
  mobileAspectRatio = _aspectRatio2[0],
4777
1926
  _aspectRatio2$ = _aspectRatio2[1],
4778
1927
  desktopAspectRatio = _aspectRatio2$ === void 0 ? mobileAspectRatio : _aspectRatio2$;
@@ -4780,8 +1929,8 @@ var HeroImage = function HeroImage(_ref) {
4780
1929
  var isMobile = clientWidth("mobile");
4781
1930
  var imageAspectRatio = isMobile ? mobileAspectRatio : desktopAspectRatio;
4782
1931
  var imagePadding = isMobile ? getPadding(mobileAspectRatio) : getPadding(desktopAspectRatio);
4783
- var slug = get_1(story, ["hero-image-s3-key"]) || get_1(story, ["alternative", "home", "default", "hero-image", "hero-image-s3-key"]);
4784
- var hyperLink = get_1(story, ["hero-image-hyperlink"], "");
1932
+ var slug = lodash.get(story, ["hero-image-s3-key"]) || lodash.get(story, ["alternative", "home", "default", "hero-image", "hero-image-s3-key"]);
1933
+ var hyperLink = lodash.get(story, ["hero-image-hyperlink"], "");
4785
1934
 
4786
1935
  var fallbackImage = function fallbackImage() {
4787
1936
  if (!slug) {
@@ -4790,7 +1939,7 @@ var HeroImage = function HeroImage(_ref) {
4790
1939
  style: {
4791
1940
  paddingTop: imagePadding + "%"
4792
1941
  },
4793
- className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
1942
+ className: "arr--responsive-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
4794
1943
  }, /*#__PURE__*/React__default["default"].createElement("img", {
4795
1944
  className: "qt-image",
4796
1945
  "data-src": "".concat(fallbackImageUrl),
@@ -4803,7 +1952,7 @@ var HeroImage = function HeroImage(_ref) {
4803
1952
  style: {
4804
1953
  paddingTop: imagePadding + "%"
4805
1954
  },
4806
- className: "arr--fallback-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
1955
+ className: "arr--fallback-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
4807
1956
  }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
4808
1957
  storyTemplate: story["story-template"]
4809
1958
  }), /*#__PURE__*/React__default["default"].createElement(FallbackImage, null)) : null);
@@ -4813,7 +1962,7 @@ var HeroImage = function HeroImage(_ref) {
4813
1962
  style: {
4814
1963
  paddingTop: imagePadding + "%"
4815
1964
  },
4816
- className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
1965
+ className: "arr--responsive-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$n)
4817
1966
  }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
4818
1967
  storyTemplate: story["story-template"]
4819
1968
  }), /*#__PURE__*/React__default["default"].createElement(components.ResponsiveHeroImage, {
@@ -4832,13 +1981,13 @@ var HeroImage = function HeroImage(_ref) {
4832
1981
 
4833
1982
  return story && (isStoryPageImage ? /*#__PURE__*/React__default["default"].createElement("div", {
4834
1983
  "data-test-id": "arr--hero-image",
4835
- className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$n)
1984
+ className: "arr--hero-image " + _getClassName__default["default"]("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$n)
4836
1985
  }, fallbackImage()) : /*#__PURE__*/React__default["default"].createElement(components.Link, {
4837
1986
  "data-test-id": "arr--hero-image",
4838
1987
  href: getStoryUrl(story, "/".concat(story.slug)),
4839
1988
  externalLink: isExternalStory(story),
4840
1989
  "aria-label": "fallback-hero-image",
4841
- className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$n)
1990
+ className: "arr--hero-image " + _getClassName__default["default"]("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$n)
4842
1991
  }, fallbackImage()));
4843
1992
  };
4844
1993
  HeroImage.propTypes = {
@@ -4953,7 +2102,7 @@ var StoryCard = function StoryCard(_ref) {
4953
2102
  backgroundColor: theme,
4954
2103
  color: textColor
4955
2104
  },
4956
- className: "arr--story-card " + _getClassName("card ".concat(horizontalCardStyle, " ").concat(borderTemplate, " ").concat(textColor, " ").concat(bgImageClasses, " ").concat(bgImgContentOverlapClass, " ").concat(horizontalMobileClasses), _styleModuleImportMap$m)
2105
+ className: "arr--story-card " + _getClassName__default["default"]("card ".concat(horizontalCardStyle, " ").concat(borderTemplate, " ").concat(textColor, " ").concat(bgImageClasses, " ").concat(bgImgContentOverlapClass, " ").concat(horizontalMobileClasses), _styleModuleImportMap$m)
4957
2106
  }, children || defaultStorycard);
4958
2107
  };
4959
2108
 
@@ -4994,7 +2143,7 @@ var DefaultStoryCard = function DefaultStoryCard(_ref2) {
4994
2143
  isHorizontalMobile: isHorizontalMobile,
4995
2144
  aspectRatio: aspectRatio
4996
2145
  }), /*#__PURE__*/React__default["default"].createElement("div", {
4997
- className: "arr--story-content " + _getClassName("content ".concat(alignment), _styleModuleImportMap$m)
2146
+ className: "arr--story-content " + _getClassName__default["default"]("content ".concat(alignment), _styleModuleImportMap$m)
4998
2147
  }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
4999
2148
  story: story,
5000
2149
  borderColor: SectionTagborderColor
@@ -5101,7 +2250,7 @@ var _styleModuleImportMap$l = {
5101
2250
 
5102
2251
  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; }
5103
2252
 
5104
- 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; }
2253
+ 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; }
5105
2254
  var LoadmoreButton = function LoadmoreButton(_ref) {
5106
2255
  var _ref$config = _ref.config,
5107
2256
  config = _ref$config === void 0 ? {} : _ref$config,
@@ -5125,14 +2274,14 @@ var LoadmoreButton = function LoadmoreButton(_ref) {
5125
2274
  return template === "SubsequentLoadCount" ? /*#__PURE__*/React__default["default"].createElement("div", {
5126
2275
  onClick: onClick,
5127
2276
  "data-test-id": "load-more",
5128
- className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$l)
2277
+ className: "arr--button " + _getClassName__default["default"]("button ".concat(textColor, " default"), _styleModuleImportMap$l)
5129
2278
  }, buttonText) : /*#__PURE__*/React__default["default"].createElement(components.LinkBase, {
5130
2279
  href: slug,
5131
2280
  navigateTo: navigate,
5132
2281
  "data-test-id": "load-more",
5133
2282
  "aria-label": "load-more"
5134
2283
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5135
- className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$l)
2284
+ className: "arr--button " + _getClassName__default["default"]("button ".concat(textColor, " default"), _styleModuleImportMap$l)
5136
2285
  }, buttonText));
5137
2286
  };
5138
2287
  LoadmoreButton.propTypes = {
@@ -5180,7 +2329,7 @@ var KeyEventCards = function KeyEventCards(props) {
5180
2329
  var lastElement = index === cardLength - 1;
5181
2330
  var borderLeft = lastElement ? "borderNone" : "";
5182
2331
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
5183
- className: _getClassName("time-wrapper ".concat(textColor), _styleModuleImportMap$k)
2332
+ className: _getClassName__default["default"]("time-wrapper ".concat(textColor), _styleModuleImportMap$k)
5184
2333
  }, /*#__PURE__*/React__default["default"].createElement(ClockIcon, {
5185
2334
  color: updateColor
5186
2335
  }), getTimeStamp(cardAddedAt, timestampToFormat, {
@@ -5190,7 +2339,7 @@ var KeyEventCards = function KeyEventCards(props) {
5190
2339
  href: "".concat(mountAt, "/").concat(slug, "#").concat(id),
5191
2340
  "aria-label": "event-title"
5192
2341
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5193
- className: _getClassName("event-title ".concat(textColor, " ").concat(borderLeft), _styleModuleImportMap$k)
2342
+ className: _getClassName__default["default"]("event-title ".concat(textColor, " ").concat(borderLeft), _styleModuleImportMap$k)
5194
2343
  }, storyElements.map(function (element, index) {
5195
2344
  return element.type === "title" && /*#__PURE__*/React__default["default"].createElement("h3", {
5196
2345
  key: index
@@ -5225,23 +2374,23 @@ var KeyEventsBase = function KeyEventsBase(_ref) {
5225
2374
  config = _ref$config === void 0 ? {} : _ref$config,
5226
2375
  _ref$showLoadMore = _ref.showLoadMore,
5227
2376
  showLoadMore = _ref$showLoadMore === void 0 ? true : _ref$showLoadMore;
5228
- var cards = get_1(story, ["cards"], []);
2377
+ var cards = lodash.get(story, ["cards"], []);
5229
2378
  var theme = config.theme,
5230
2379
  _config$initialLoadCo = config.initialLoadCount,
5231
2380
  initialLoadCount = _config$initialLoadCo === void 0 ? 4 : _config$initialLoadCo;
5232
2381
  var textColor = getTextColor(theme);
5233
2382
 
5234
2383
  var _useState = React.useState(initialLoadCount),
5235
- _useState2 = _slicedToArray(_useState, 2),
2384
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
5236
2385
  initialCount = _useState2[0],
5237
2386
  updatedCount = _useState2[1];
5238
2387
 
5239
2388
  var cardsWithKeyEvents = cards.filter(function (card) {
5240
- return get_1(card.metadata, ["attributes", "key-event"]);
2389
+ return lodash.get(card.metadata, ["attributes", "key-event"]);
5241
2390
  });
5242
2391
  var lastElement = cardsWithKeyEvents.length > initialCount;
5243
2392
  var qtConfig = reactRedux.useSelector(function (state) {
5244
- return get_1(state, ["qt", "config"], {});
2393
+ return lodash.get(state, ["qt", "config"], {});
5245
2394
  });
5246
2395
 
5247
2396
  var onClick = function onClick() {
@@ -5269,7 +2418,7 @@ var KeyEventsBase = function KeyEventsBase(_ref) {
5269
2418
  style: {
5270
2419
  background: theme
5271
2420
  },
5272
- className: "arrow-component " + _getClassName("container ".concat(textColor), _styleModuleImportMap$k)
2421
+ className: "arrow-component " + _getClassName__default["default"]("container ".concat(textColor), _styleModuleImportMap$k)
5273
2422
  }, /*#__PURE__*/React__default["default"].createElement("h3", null, "Key Events"), /*#__PURE__*/React__default["default"].createElement("div", {
5274
2423
  className: "key-events-m_cards-wrapper__3f8aB"
5275
2424
  }, keyEvents), showLoadMore && lastElement && /*#__PURE__*/React__default["default"].createElement(LoadmoreButton, {
@@ -5288,7 +2437,7 @@ var KeyEvents = StateProvider(KeyEventsBase);
5288
2437
 
5289
2438
  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; }
5290
2439
 
5291
- 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; }
2440
+ 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; }
5292
2441
  var _styleModuleImportMap$j = {
5293
2442
  "./aside-collection.m.css": {
5294
2443
  "stories": "aside-collection-m_stories__9wfUs",
@@ -5321,22 +2470,22 @@ var StoryCollection = function StoryCollection(_ref) {
5321
2470
 
5322
2471
  var heading = title || "Related Stories";
5323
2472
  var isHorizontal = horizontal ? "horizontal-wrapper" : "";
5324
- var mountAt = get_1(config, ["mountAtPrefix"], "");
2473
+ var mountAt = lodash.get(config, ["mountAtPrefix"], "");
5325
2474
 
5326
2475
  var _useState = React.useState([]),
5327
- _useState2 = _slicedToArray(_useState, 2),
2476
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
5328
2477
  storyList = _useState2[0],
5329
2478
  updateStoryList = _useState2[1];
5330
2479
 
5331
2480
  var _useState3 = React.useState([]),
5332
- _useState4 = _slicedToArray(_useState3, 2),
2481
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
5333
2482
  collectionData = _useState4[0],
5334
2483
  updateCollectionData = _useState4[1];
5335
2484
 
5336
2485
  var updateStoryListItems = /*#__PURE__*/function () {
5337
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(slug) {
2486
+ var _ref3 = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(slug) {
5338
2487
  var collectionDataResponse, storyItems;
5339
- return regenerator.wrap(function _callee$(_context) {
2488
+ return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
5340
2489
  while (1) {
5341
2490
  switch (_context.prev = _context.next) {
5342
2491
  case 0:
@@ -5447,7 +2596,7 @@ var AsideCollectionBase = function AsideCollectionBase(_ref4) {
5447
2596
  },
5448
2597
  "data-test-id": "aside-collection",
5449
2598
  id: "aside-collection-".concat(storyId),
5450
- className: "arrow-component arr--aside-collection " + _getClassName("wrapper ".concat(isHorizontal), _styleModuleImportMap$j)
2599
+ className: "arrow-component arr--aside-collection " + _getClassName__default["default"]("wrapper ".concat(isHorizontal), _styleModuleImportMap$j)
5451
2600
  }, /*#__PURE__*/React__default["default"].createElement(StoryCollection, {
5452
2601
  data: data,
5453
2602
  horizontal: horizontal,
@@ -5492,7 +2641,7 @@ var AsideCollectionBase = function AsideCollectionBase(_ref4) {
5492
2641
  backgroundColor: theme
5493
2642
  },
5494
2643
  "data-test-id": "aside-collection",
5495
- className: "arrow-component arr--aside-collection " + _getClassName(["wrapper", isHorizontal, isSticky].join(" "), _styleModuleImportMap$j)
2644
+ className: "arrow-component arr--aside-collection " + _getClassName__default["default"](["wrapper", isHorizontal, isSticky].join(" "), _styleModuleImportMap$j)
5496
2645
  }, enableKeyEvents && /*#__PURE__*/React__default["default"].createElement(KeyEvents, {
5497
2646
  story: keyEventsData.story,
5498
2647
  showLoadMore: keyEventsData.showLoadMore,
@@ -5589,8 +2738,8 @@ var AuthorCard = function AuthorCard(_ref) {
5589
2738
  showName = _opts$showName === void 0 ? true : _opts$showName;
5590
2739
  var textColor = getTextColor(configData.theme);
5591
2740
  return /*#__PURE__*/React__default["default"].createElement("div", {
5592
- "data-test-id": "author-card-".concat(kebabCase_1(template)),
5593
- className: (clazzName ? clazzName + " " : "") + _getClassName("author-card-wrapper ".concat(template), _styleModuleImportMap$i)
2741
+ "data-test-id": "author-card-".concat(lodash.kebabCase(template)),
2742
+ className: (clazzName ? clazzName + " " : "") + _getClassName__default["default"]("author-card-wrapper ".concat(template), _styleModuleImportMap$i)
5594
2743
  }, authors.map(function (author, index) {
5595
2744
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
5596
2745
  key: author.id
@@ -5602,7 +2751,7 @@ var AuthorCard = function AuthorCard(_ref) {
5602
2751
  key: "author-image-".concat(index),
5603
2752
  "aria-label": "author-image"
5604
2753
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5605
- className: _getClassName("author-image ".concat(!index ? "first-author-image" : "", " ").concat(!isSingleAuthor ? "multi-author-image" : ""), _styleModuleImportMap$i)
2754
+ className: _getClassName__default["default"]("author-image ".concat(!index ? "first-author-image" : "", " ").concat(!isSingleAuthor ? "multi-author-image" : ""), _styleModuleImportMap$i)
5606
2755
  }, authorImage(author)))));
5607
2756
  }), showName && /*#__PURE__*/React__default["default"].createElement("div", {
5608
2757
  "data-test-id": "author-name",
@@ -5613,7 +2762,7 @@ var AuthorCard = function AuthorCard(_ref) {
5613
2762
  href: "".concat(mountAt, "/author/") + author.slug,
5614
2763
  "aria-label": "author-name"
5615
2764
  }, /*#__PURE__*/React__default["default"].createElement("h5", {
5616
- className: _getClassName("multiple-author-style ".concat(textColor), _styleModuleImportMap$i)
2765
+ className: _getClassName__default["default"]("multiple-author-style ".concat(textColor), _styleModuleImportMap$i)
5617
2766
  }, author.name)));
5618
2767
  }), 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", {
5619
2768
  className: "author-card-m_dot-wrapper__2soc1"
@@ -5627,7 +2776,7 @@ var AuthorCard = function AuthorCard(_ref) {
5627
2776
  "data-test-id": "author-info",
5628
2777
  className: "author-card-m_author-details-wrapper__1c2uc"
5629
2778
  }, showBio && isSingleAuthor && template !== "default" && /*#__PURE__*/React__default["default"].createElement("p", {
5630
- className: _getClassName("author-bio ".concat(textColor), _styleModuleImportMap$i)
2779
+ className: _getClassName__default["default"]("author-bio ".concat(textColor), _styleModuleImportMap$i)
5631
2780
  }, authors[0].bio)));
5632
2781
  };
5633
2782
  AuthorCard.propTypes = {
@@ -5680,7 +2829,7 @@ var CaptionAttribution = function CaptionAttribution(_ref) {
5680
2829
  var updateStyle = caption ? "wrapper" : "";
5681
2830
  return /*#__PURE__*/React__default["default"].createElement("div", {
5682
2831
  "data-test-id": "caption",
5683
- className: "arr--caption-attribution " + _getClassName("caption ".concat(textColor), _styleModuleImportMap$h)
2832
+ className: "arr--caption-attribution " + _getClassName__default["default"]("caption ".concat(textColor), _styleModuleImportMap$h)
5684
2833
  }, /*#__PURE__*/React__default["default"].createElement("span", {
5685
2834
  dangerouslySetInnerHTML: {
5686
2835
  __html: caption
@@ -5690,7 +2839,7 @@ var CaptionAttribution = function CaptionAttribution(_ref) {
5690
2839
  dangerouslySetInnerHTML: {
5691
2840
  __html: attribution
5692
2841
  },
5693
- className: _getClassName("attribution ".concat(textColor, " ").concat(updateStyle), _styleModuleImportMap$h)
2842
+ className: _getClassName__default["default"]("attribution ".concat(textColor, " ").concat(updateStyle), _styleModuleImportMap$h)
5694
2843
  }));
5695
2844
  };
5696
2845
  CaptionAttribution.propTypes = {
@@ -5720,7 +2869,7 @@ var _styleModuleImportMap$g = {
5720
2869
 
5721
2870
  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; }
5722
2871
 
5723
- 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; }
2872
+ 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; }
5724
2873
  var PublishDetails = function PublishDetails(_ref) {
5725
2874
  var story = _ref.story,
5726
2875
  _ref$opts = _ref.opts,
@@ -5731,7 +2880,7 @@ var PublishDetails = function PublishDetails(_ref) {
5731
2880
  timezone = _ref$timezone === void 0 ? null : _ref$timezone;
5732
2881
 
5733
2882
  var _useState = React.useState("ltr"),
5734
- _useState2 = _slicedToArray(_useState, 2),
2883
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
5735
2884
  direction = _useState2[0],
5736
2885
  setDirection = _useState2[1];
5737
2886
 
@@ -5763,10 +2912,10 @@ var PublishDetails = function PublishDetails(_ref) {
5763
2912
  });
5764
2913
  return /*#__PURE__*/React__default["default"].createElement("div", {
5765
2914
  "data-test-id": "timeStamp",
5766
- className: "arrow-component arr-publish-details " + _getClassName("timeStamp ".concat(textColor), _styleModuleImportMap$g)
2915
+ className: "arrow-component arr-publish-details " + _getClassName__default["default"]("timeStamp ".concat(textColor), _styleModuleImportMap$g)
5767
2916
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5768
2917
  "data-test-id": "publishDetails",
5769
- className: _getClassName("publish-details ".concat(textColor), _styleModuleImportMap$g)
2918
+ className: _getClassName__default["default"]("publish-details ".concat(textColor), _styleModuleImportMap$g)
5770
2919
  }, enablePublishedTime && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, localizedPublishedOn || "Published on", " :\xA0", /*#__PURE__*/React__default["default"].createElement("div", {
5771
2920
  className: "publish-details-m_date__3ZIQN"
5772
2921
  }, getTimeStamp(time, timestampToFormat, timeStampProps, template, timezone)), showReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
@@ -5774,7 +2923,7 @@ var PublishDetails = function PublishDetails(_ref) {
5774
2923
  opts: opts
5775
2924
  }))), enableUpdatedTime && /*#__PURE__*/React__default["default"].createElement("div", {
5776
2925
  "data-test-id": "updateDetails",
5777
- className: _getClassName("update-details ".concat(textColor), _styleModuleImportMap$g)
2926
+ className: _getClassName__default["default"]("update-details ".concat(textColor), _styleModuleImportMap$g)
5778
2927
  }, localizedUpdatedOn || "Updated on", " :\xA0", /*#__PURE__*/React__default["default"].createElement("div", {
5779
2928
  className: "publish-details-m_date__3ZIQN"
5780
2929
  }, getTimeStamp(updatedAt, timestampToFormat, timeStampProps, template, timezone)), showReadTime && /*#__PURE__*/React__default["default"].createElement(ReadTime, {
@@ -5816,7 +2965,7 @@ var StoryTags = function StoryTags(_ref) {
5816
2965
  _ref.borderColor;
5817
2966
  var configData = useStateValue() || {};
5818
2967
  var textColor = getTextColor(configData.theme);
5819
- var mountAt = get_1(config, ["mountAt"], "");
2968
+ var mountAt = lodash.get(config, ["mountAt"], "");
5820
2969
  var templateStyle = template === "roundCorners" ? "roundCorners" : "";
5821
2970
  return /*#__PURE__*/React__default["default"].createElement("div", {
5822
2971
  className: "arrow-component arr--story-tags"
@@ -5824,7 +2973,7 @@ var StoryTags = function StoryTags(_ref) {
5824
2973
  return /*#__PURE__*/React__default["default"].createElement("div", {
5825
2974
  key: index,
5826
2975
  "data-test-id": "story-tag",
5827
- className: _getClassName("tags ".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$f)
2976
+ className: _getClassName__default["default"]("tags ".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$f)
5828
2977
  }, /*#__PURE__*/React__default["default"].createElement(components.Link, {
5829
2978
  href: "".concat(mountAt, "/topic/") + tag.slug,
5830
2979
  "aria-label": "story-tag-name"
@@ -5838,50 +2987,16 @@ StoryTags.propTypes = {
5838
2987
  template: PropTypes.string
5839
2988
  };
5840
2989
 
5841
- function _objectWithoutPropertiesLoose(source, excluded) {
5842
- if (source == null) return {};
5843
- var target = {};
5844
- var sourceKeys = Object.keys(source);
5845
- var key, i;
5846
-
5847
- for (i = 0; i < sourceKeys.length; i++) {
5848
- key = sourceKeys[i];
5849
- if (excluded.indexOf(key) >= 0) continue;
5850
- target[key] = source[key];
5851
- }
5852
-
5853
- return target;
5854
- }
5855
-
5856
- function _objectWithoutProperties(source, excluded) {
5857
- if (source == null) return {};
5858
- var target = _objectWithoutPropertiesLoose(source, excluded);
5859
- var key, i;
5860
-
5861
- if (Object.getOwnPropertySymbols) {
5862
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
5863
-
5864
- for (i = 0; i < sourceSymbolKeys.length; i++) {
5865
- key = sourceSymbolKeys[i];
5866
- if (excluded.indexOf(key) >= 0) continue;
5867
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
5868
- target[key] = source[key];
5869
- }
5870
- }
5871
-
5872
- return target;
5873
- }
5874
-
5875
2990
  var _excluded$e = ["element", "render"];
5876
2991
  var withElementWrapper = function withElementWrapper(StoryElement) {
5877
2992
  return function (props) {
5878
2993
  var element = props.element,
5879
2994
  render = props.render,
5880
- restProps = _objectWithoutProperties(props, _excluded$e);
2995
+ restProps = _objectWithoutProperties__default["default"](props, _excluded$e);
5881
2996
 
5882
2997
  if (!element) return null;
5883
2998
  if (render && typeof render === "function") return render(props);
5884
- return /*#__PURE__*/React__default["default"].createElement(StoryElement, _extends({}, restProps, {
2999
+ return /*#__PURE__*/React__default["default"].createElement(StoryElement, _extends__default["default"]({}, restProps, {
5885
3000
  element: element
5886
3001
  }));
5887
3002
  };
@@ -5911,7 +3026,7 @@ var TextBase = function TextBase(_ref) {
5911
3026
  css = _ref$css === void 0 ? {} : _ref$css;
5912
3027
  _ref.story;
5913
3028
  _ref.config;
5914
- var restProps = _objectWithoutProperties(_ref, _excluded$d);
3029
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$d);
5915
3030
 
5916
3031
  var content = element.text;
5917
3032
  if (!content) return null;
@@ -5921,9 +3036,9 @@ var TextBase = function TextBase(_ref) {
5921
3036
  var _opts$isExternalLink = opts.isExternalLink,
5922
3037
  isExternalLink = _opts$isExternalLink === void 0 ? true : _opts$isExternalLink;
5923
3038
  var text = isExternalLink && updateContentLinks(content) || content;
5924
- var isPromotionalMessage = get_1(element, ["metadata", "promotional-message"], false);
3039
+ var isPromotionalMessage = lodash.get(element, ["metadata", "promotional-message"], false);
5925
3040
  var updatedStyle = isPromotionalMessage ? "promotionalMessage" : "textElement";
5926
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3041
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
5927
3042
  style: !isPromotionalMessage ? {
5928
3043
  color: textColor
5929
3044
  } : {},
@@ -5933,7 +3048,7 @@ var TextBase = function TextBase(_ref) {
5933
3048
  },
5934
3049
  id: "text-element"
5935
3050
  }, restProps, {
5936
- className: "arrow-component arr--text-element " + _getClassName("".concat(updatedStyle, " ").concat(textInvertColor), _styleModuleImportMap$e) + (" " + (restProps ? restProps.className || "" : ""))
3051
+ className: "arrow-component arr--text-element " + _getClassName__default["default"]("".concat(updatedStyle, " ").concat(textInvertColor), _styleModuleImportMap$e) + (" " + (restProps ? restProps.className || "" : ""))
5937
3052
  }));
5938
3053
  };
5939
3054
 
@@ -5977,7 +3092,7 @@ var BlurbBase = function BlurbBase(_ref) {
5977
3092
  _ref.story;
5978
3093
  _ref.config;
5979
3094
  _ref.render;
5980
- var restProps = _objectWithoutProperties(_ref, _excluded$c);
3095
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$c);
5981
3096
 
5982
3097
  var content = element.text;
5983
3098
  var borderColor = css.borderColor;
@@ -5988,7 +3103,7 @@ var BlurbBase = function BlurbBase(_ref) {
5988
3103
  };
5989
3104
 
5990
3105
  var _useState = React.useState(initBorderDirection),
5991
- _useState2 = _slicedToArray(_useState, 2),
3106
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
5992
3107
  borderDirection = _useState2[0],
5993
3108
  setBorderDirection = _useState2[1];
5994
3109
 
@@ -6010,14 +3125,14 @@ var BlurbBase = function BlurbBase(_ref) {
6010
3125
  var templateStyle = template ? "blurb-".concat(template) : "blurb";
6011
3126
  var configData = useStateValue() || {};
6012
3127
  var textInvertColor = getTextColor(configData.theme);
6013
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3128
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6014
3129
  "data-test-id": "blurb",
6015
3130
  style: borderColor && borderDirection,
6016
3131
  dangerouslySetInnerHTML: {
6017
3132
  __html: text
6018
3133
  }
6019
3134
  }, restProps, {
6020
- className: "arrow-component arr-custom-style arr--blurb-element " + _getClassName("".concat(templateStyle, " ").concat(textInvertColor), _styleModuleImportMap$d) + (" " + (restProps ? restProps.className || "" : ""))
3135
+ className: "arrow-component arr-custom-style arr--blurb-element " + _getClassName__default["default"]("".concat(templateStyle, " ").concat(textInvertColor), _styleModuleImportMap$d) + (" " + (restProps ? restProps.className || "" : ""))
6021
3136
  }));
6022
3137
  };
6023
3138
 
@@ -6066,7 +3181,7 @@ var SummaryBase = function SummaryBase(_ref) {
6066
3181
  _ref.story;
6067
3182
  _ref.config;
6068
3183
  _ref.render;
6069
- var restProps = _objectWithoutProperties(_ref, _excluded$b);
3184
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$b);
6070
3185
 
6071
3186
  var configData = useStateValue() || {};
6072
3187
  var textInvertColor = getTextColor(configData.theme);
@@ -6087,23 +3202,23 @@ var SummaryBase = function SummaryBase(_ref) {
6087
3202
  var updateHeaderColor = renderTemplate ? "".concat(headerBgColor) : "";
6088
3203
  var textColor = renderTemplate ? getTextColor(headerBgColor) : "";
6089
3204
  var updateContentColor = template === "header" ? "" : textInvertColor;
6090
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3205
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6091
3206
  "data-test-id": "summary"
6092
3207
  }, restProps, {
6093
- className: "arrow-component arr--summary-element arr-custom-style " + _getClassName(templateStyle, _styleModuleImportMap$c) + (" " + (restProps ? restProps.className || "" : ""))
3208
+ className: "arrow-component arr--summary-element arr-custom-style " + _getClassName__default["default"](templateStyle, _styleModuleImportMap$c) + (" " + (restProps ? restProps.className || "" : ""))
6094
3209
  }), !hideHeadline && /*#__PURE__*/React__default["default"].createElement("div", {
6095
3210
  "data-test-id": "summary-headline",
6096
- className: _getClassName("heading-wrapper ".concat(textInvertColor), _styleModuleImportMap$c)
3211
+ className: _getClassName__default["default"]("heading-wrapper ".concat(textInvertColor), _styleModuleImportMap$c)
6097
3212
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6098
3213
  style: {
6099
3214
  backgroundColor: updateHeaderColor
6100
3215
  },
6101
- className: _getClassName("headline ".concat(textColor, " ").concat(textInvertColor), _styleModuleImportMap$c)
3216
+ className: _getClassName__default["default"]("headline ".concat(textColor, " ").concat(textInvertColor), _styleModuleImportMap$c)
6102
3217
  }, headline)), /*#__PURE__*/React__default["default"].createElement("div", {
6103
3218
  dangerouslySetInnerHTML: {
6104
3219
  __html: text
6105
3220
  },
6106
- className: _getClassName("content ".concat(contentBorder, " ").concat(updateContentColor, " ").concat(textInvertColor), _styleModuleImportMap$c)
3221
+ className: _getClassName__default["default"]("content ".concat(contentBorder, " ").concat(updateContentColor, " ").concat(textInvertColor), _styleModuleImportMap$c)
6107
3222
  }));
6108
3223
  };
6109
3224
 
@@ -6254,9 +3369,9 @@ var BlockQuoteBase = function BlockQuoteBase(_ref) {
6254
3369
  _ref.story;
6255
3370
  _ref.config;
6256
3371
  _ref.render;
6257
- var restProps = _objectWithoutProperties(_ref, _excluded$a);
3372
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$a);
6258
3373
 
6259
- var _get = get_1(element, ["metadata"]),
3374
+ var _get = lodash.get(element, ["metadata"]),
6260
3375
  content = _get.content,
6261
3376
  attribution = _get.attribution;
6262
3377
 
@@ -6288,11 +3403,11 @@ var BlockQuoteBase = function BlockQuoteBase(_ref) {
6288
3403
  }, SelectionOfIcon(iconType, template, blockQuoteColor, textColor));
6289
3404
  };
6290
3405
 
6291
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3406
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6292
3407
  "data-test-id": "blockquote",
6293
3408
  style: theme
6294
3409
  }, restProps, {
6295
- className: "arrow-component arr--block-quote " + _getClassName("".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$b) + (" " + (restProps ? restProps.className || "" : ""))
3410
+ className: "arrow-component arr--block-quote " + _getClassName__default["default"]("".concat(templateStyle, " ").concat(textColor), _styleModuleImportMap$b) + (" " + (restProps ? restProps.className || "" : ""))
6296
3411
  }), /*#__PURE__*/React__default["default"].createElement("div", {
6297
3412
  className: "block-quote-m_quote-wrapper__83bEy"
6298
3413
  }, updateStructure(), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -6304,12 +3419,12 @@ var BlockQuoteBase = function BlockQuoteBase(_ref) {
6304
3419
  dangerouslySetInnerHTML: {
6305
3420
  __html: content
6306
3421
  },
6307
- className: _getClassName("content ".concat(textInvertColor), _styleModuleImportMap$b)
3422
+ className: _getClassName__default["default"]("content ".concat(textInvertColor), _styleModuleImportMap$b)
6308
3423
  }), /*#__PURE__*/React__default["default"].createElement("div", {
6309
3424
  dangerouslySetInnerHTML: {
6310
3425
  __html: attribution
6311
3426
  },
6312
- className: _getClassName("attribution ".concat(textInvertColor), _styleModuleImportMap$b)
3427
+ className: _getClassName__default["default"]("attribution ".concat(textInvertColor), _styleModuleImportMap$b)
6313
3428
  }))));
6314
3429
  };
6315
3430
  BlockQuoteBase.propTypes = {
@@ -6344,22 +3459,22 @@ var BigFactBase = function BigFactBase(_ref) {
6344
3459
  var element = _ref.element;
6345
3460
  _ref.story;
6346
3461
  _ref.config;
6347
- var restProps = _objectWithoutProperties(_ref, _excluded$9);
3462
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$9);
6348
3463
 
6349
3464
  var configData = useStateValue() || {};
6350
3465
  var textInvertColor = getTextColor(configData.theme);
6351
3466
  var _element$metadata = element.metadata,
6352
3467
  content = _element$metadata.content,
6353
3468
  attribution = _element$metadata.attribution;
6354
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3469
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6355
3470
  "data-test-id": "bigfact"
6356
3471
  }, restProps, {
6357
- className: "arrow-component arr--bigfact-element " + _getClassName("bigfact-element ".concat(textInvertColor), _styleModuleImportMap$a) + (" " + (restProps ? restProps.className || "" : ""))
3472
+ className: "arrow-component arr--bigfact-element " + _getClassName__default["default"]("bigfact-element ".concat(textInvertColor), _styleModuleImportMap$a) + (" " + (restProps ? restProps.className || "" : ""))
6358
3473
  }), /*#__PURE__*/React__default["default"].createElement("div", {
6359
3474
  className: "big-fact-m_content__1u2Ul"
6360
3475
  }, content), /*#__PURE__*/React__default["default"].createElement("div", {
6361
3476
  "data-test-id": "attribution",
6362
- className: _getClassName("attribution ".concat(textInvertColor), _styleModuleImportMap$a)
3477
+ className: _getClassName__default["default"]("attribution ".concat(textInvertColor), _styleModuleImportMap$a)
6363
3478
  }, attribution));
6364
3479
  };
6365
3480
 
@@ -6445,14 +3560,14 @@ var AlsoReadBase = function AlsoReadBase(_ref2) {
6445
3560
  css = _ref2$css === void 0 ? {} : _ref2$css;
6446
3561
  _ref2.config;
6447
3562
  _ref2.render;
6448
- var restProps = _objectWithoutProperties(_ref2, _excluded$8);
3563
+ var restProps = _objectWithoutProperties__default["default"](_ref2, _excluded$8);
6449
3564
 
6450
3565
  var content = element.text;
6451
3566
  if (!content) return null;
6452
- var linkedStories = get_1(story, ["linked-stories"], {});
6453
- var linkedStoryId = get_1(element, ["metadata", "linked-story-id"]);
6454
- var linkedStorySlug = get_1(linkedStories, [linkedStoryId, "url"]);
6455
- var linkedImage = get_1(linkedStories, [linkedStoryId, "hero-image-s3-key"], "");
3567
+ var linkedStories = lodash.get(story, ["linked-stories"], {});
3568
+ var linkedStoryId = lodash.get(element, ["metadata", "linked-story-id"]);
3569
+ var linkedStorySlug = lodash.get(linkedStories, [linkedStoryId, "url"]);
3570
+ var linkedImage = lodash.get(linkedStories, [linkedStoryId, "hero-image-s3-key"], "");
6456
3571
  var storyUrl = linkedStorySlug && linkedStorySlug;
6457
3572
  var configData = useStateValue() || {};
6458
3573
  var textInvertColor = getTextColor(configData.theme);
@@ -6463,14 +3578,14 @@ var AlsoReadBase = function AlsoReadBase(_ref2) {
6463
3578
  var isDefault = template === "" || template === "default";
6464
3579
  var isRightAlign = template === "imageRightAlign";
6465
3580
  var templateStyle = template ? "alsoread-".concat(template) : "alsoread-default";
6466
- return /*#__PURE__*/React__default["default"].createElement(components.Link, _extends({
3581
+ return /*#__PURE__*/React__default["default"].createElement(components.Link, _extends__default["default"]({
6467
3582
  "data-test-id": "also-read",
6468
3583
  href: storyUrl,
6469
3584
  "aria-label": "also-read"
6470
3585
  }, restProps, {
6471
- className: "arrow-component arr--also-read-element " + _getClassName(templateStyle, _styleModuleImportMap$9) + (" " + (restProps ? restProps.className || "" : ""))
3586
+ className: "arrow-component arr--also-read-element " + _getClassName__default["default"](templateStyle, _styleModuleImportMap$9) + (" " + (restProps ? restProps.className || "" : ""))
6472
3587
  }), !isDefault && /*#__PURE__*/React__default["default"].createElement("div", {
6473
- className: _getClassName("default-text ".concat(textInvertColor), _styleModuleImportMap$9)
3588
+ className: _getClassName__default["default"]("default-text ".concat(textInvertColor), _styleModuleImportMap$9)
6474
3589
  }, displayTitle), isDefault && /*#__PURE__*/React__default["default"].createElement(DisplayImage, {
6475
3590
  story: story,
6476
3591
  linkedImage: linkedImage,
@@ -6656,7 +3771,7 @@ Loading.propTypes = {
6656
3771
 
6657
3772
  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; }
6658
3773
 
6659
- 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; }
3774
+ 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; }
6660
3775
  var Lightbox = /*#__PURE__*/React.lazy(function () {
6661
3776
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-image-lightbox')); });
6662
3777
  });
@@ -6668,27 +3783,27 @@ var FullScreenImages = function FullScreenImages(_ref) {
6668
3783
  element = _ref$element === void 0 ? {} : _ref$element,
6669
3784
  props = _ref.props;
6670
3785
  var cdnImage = reactRedux.useSelector(function (state) {
6671
- return get_1(state, ["qt", "config", "cdn-image"]);
3786
+ return lodash.get(state, ["qt", "config", "cdn-image"]);
6672
3787
  });
6673
3788
 
6674
3789
  var _useState = React.useState(0),
6675
- _useState2 = _slicedToArray(_useState, 2),
3790
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
6676
3791
  photoIndex = _useState2[0],
6677
3792
  handleImage = _useState2[1];
6678
3793
 
6679
3794
  var _useState3 = React.useState(false),
6680
- _useState4 = _slicedToArray(_useState3, 2),
3795
+ _useState4 = _slicedToArray__default["default"](_useState3, 2),
6681
3796
  isOpen = _useState4[0],
6682
3797
  handleOpen = _useState4[1];
6683
3798
 
6684
- var deviceWidth = get_1(global, ["innerWidth"], 0);
6685
- var hyperlinks = get_1(element, ["story-elements"], []).map(function (image) {
3799
+ var deviceWidth = lodash.get(global, ["innerWidth"], 0);
3800
+ var hyperlinks = lodash.get(element, ["story-elements"], []).map(function (image) {
6686
3801
  return image.hyperlink;
6687
3802
  });
6688
3803
  var imageUrlList = [];
6689
3804
 
6690
3805
  if (!imageSlug) {
6691
- imageUrlList = get_1(element, ["story-elements"], []).map(function (image) {
3806
+ imageUrlList = lodash.get(element, ["story-elements"], []).map(function (image) {
6692
3807
  return "//".concat(cdnImage, "/").concat(image["image-s3-key"], "?w=").concat(deviceWidth);
6693
3808
  });
6694
3809
  }
@@ -6746,9 +3861,9 @@ var FullScreenImages = function FullScreenImages(_ref) {
6746
3861
  return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(Loading, null));
6747
3862
  };
6748
3863
 
6749
- 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, {
3864
+ 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, {
6750
3865
  fallback: /*#__PURE__*/React__default["default"].createElement(LoadingScreen, null)
6751
- }, /*#__PURE__*/React__default["default"].createElement(Lightbox, _extends({
3866
+ }, /*#__PURE__*/React__default["default"].createElement(Lightbox, _extends__default["default"]({
6752
3867
  wrapperClassName: "arr--image-lightbox",
6753
3868
  onCloseRequest: onClose
6754
3869
  }, lightboxProps))) : null);
@@ -6773,7 +3888,7 @@ var ImageBase = function ImageBase(_ref) {
6773
3888
  _ref.config;
6774
3889
  var _ref$caption = _ref.caption,
6775
3890
  caption = _ref$caption === void 0 ? true : _ref$caption,
6776
- restProps = _objectWithoutProperties(_ref, _excluded$7);
3891
+ restProps = _objectWithoutProperties__default["default"](_ref, _excluded$7);
6777
3892
 
6778
3893
  if (!element) return null;
6779
3894
  var configData = useStateValue() || {};
@@ -6805,7 +3920,7 @@ var ImageBase = function ImageBase(_ref) {
6805
3920
  ImageTemplate.propTypes = {
6806
3921
  onClick: PropTypes__default["default"].func
6807
3922
  };
6808
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
3923
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6809
3924
  className: "arrow-component arr--image-element"
6810
3925
  }, restProps, {
6811
3926
  "data-test-id": "image-element"
@@ -6859,12 +3974,12 @@ var _styleModuleImportMap$8 = {
6859
3974
  var supportedTemplates = function supportedTemplates(type, element) {
6860
3975
  switch (type) {
6861
3976
  case "q-and-a":
6862
- var _get = get_1(element, ["metadata"]),
3977
+ var _get = lodash.get(element, ["metadata"]),
6863
3978
  qaQuestion = _get.question,
6864
3979
  qaAnswer = _get.answer;
6865
3980
 
6866
- var qaQuestionAttribution = get_1(element, ["metadata", "interviewer", "avatar-url"]);
6867
- var qaAnswerAttribution = get_1(element, ["metadata", "interviewee", "avatar-url"]);
3981
+ var qaQuestionAttribution = lodash.get(element, ["metadata", "interviewer", "avatar-url"]);
3982
+ var qaAnswerAttribution = lodash.get(element, ["metadata", "interviewee", "avatar-url"]);
6868
3983
  return {
6869
3984
  question: qaQuestion,
6870
3985
  answer: qaAnswer,
@@ -6873,16 +3988,16 @@ var supportedTemplates = function supportedTemplates(type, element) {
6873
3988
  };
6874
3989
 
6875
3990
  case "question":
6876
- var qQuestion = get_1(element, ["text"]);
6877
- var qAttribution = get_1(element, ["metadata", "interviewer", "avatar-url"]);
3991
+ var qQuestion = lodash.get(element, ["text"]);
3992
+ var qAttribution = lodash.get(element, ["metadata", "interviewer", "avatar-url"]);
6878
3993
  return {
6879
3994
  question: qQuestion,
6880
3995
  questionAttribution: qAttribution
6881
3996
  };
6882
3997
 
6883
3998
  case "answer":
6884
- var aAnswer = get_1(element, ["text"]);
6885
- var aAttribution = get_1(element, ["metadata", "interviewee", "avatar-url"]);
3999
+ var aAnswer = lodash.get(element, ["text"]);
4000
+ var aAttribution = lodash.get(element, ["metadata", "interviewee", "avatar-url"]);
6886
4001
  return {
6887
4002
  answer: aAnswer,
6888
4003
  answerAttribution: aAttribution
@@ -6900,7 +4015,7 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6900
4015
  var _ref$opts = _ref.opts,
6901
4016
  opts = _ref$opts === void 0 ? {} : _ref$opts;
6902
4017
  _ref.render;
6903
- var restProps = _objectWithoutProperties(_ref, _excluded$6);
4018
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$6);
6904
4019
 
6905
4020
  var configData = useStateValue() || {};
6906
4021
  var textInvertColor = getTextColor(configData.theme);
@@ -6935,7 +4050,7 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6935
4050
  style: {
6936
4051
  backgroundColor: iconColor
6937
4052
  },
6938
- className: _getClassName("".concat(iconType, " ").concat(theme), _styleModuleImportMap$8)
4053
+ className: _getClassName__default["default"]("".concat(iconType, " ").concat(theme), _styleModuleImportMap$8)
6939
4054
  }, "Q"); // EMPTY SPAN FOR EXTRA SPACE
6940
4055
 
6941
4056
  var supportAnswerElement = isAuthorImageTemplate ? answerAttribution && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -6950,12 +4065,12 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6950
4065
  style: {
6951
4066
  backgroundColor: iconColor
6952
4067
  },
6953
- className: _getClassName("".concat(iconType, " ").concat(theme), _styleModuleImportMap$8)
4068
+ className: _getClassName__default["default"]("".concat(iconType, " ").concat(theme), _styleModuleImportMap$8)
6954
4069
  }, "A");
6955
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
4070
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
6956
4071
  "data-test-id": "question-answer"
6957
4072
  }, restProps, {
6958
- className: "arrow-component arr-custom-style arr--qa-element " + _getClassName(templateStyle, _styleModuleImportMap$8) + (" " + (restProps ? restProps.className || "" : ""))
4073
+ className: "arrow-component arr-custom-style arr--qa-element " + _getClassName__default["default"](templateStyle, _styleModuleImportMap$8) + (" " + (restProps ? restProps.className || "" : ""))
6959
4074
  }), type !== "answer" && /*#__PURE__*/React__default["default"].createElement("div", {
6960
4075
  className: "question-answer-m_q-element__1ZA5d",
6961
4076
  "data-test-id": "question"
@@ -6963,7 +4078,7 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6963
4078
  dangerouslySetInnerHTML: {
6964
4079
  __html: questionData
6965
4080
  },
6966
- className: _getClassName("content ".concat(textInvertColor), _styleModuleImportMap$8)
4081
+ className: _getClassName__default["default"]("content ".concat(textInvertColor), _styleModuleImportMap$8)
6967
4082
  })), type !== "question" && /*#__PURE__*/React__default["default"].createElement("div", {
6968
4083
  className: "question-answer-m_a-element__BTxfl",
6969
4084
  "data-test-id": "answer"
@@ -6971,7 +4086,7 @@ var QuestionAnswerBase = function QuestionAnswerBase(_ref) {
6971
4086
  dangerouslySetInnerHTML: {
6972
4087
  __html: answerData
6973
4088
  },
6974
- className: _getClassName("content ".concat(textInvertColor), _styleModuleImportMap$8)
4089
+ className: _getClassName__default["default"]("content ".concat(textInvertColor), _styleModuleImportMap$8)
6975
4090
  })));
6976
4091
  };
6977
4092
 
@@ -7022,7 +4137,7 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
7022
4137
  _ref.opts;
7023
4138
  _ref.story;
7024
4139
  _ref.config;
7025
- var restProps = _objectWithoutProperties(_ref, _excluded$5);
4140
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$5);
7026
4141
 
7027
4142
  if (!element) return null;
7028
4143
  var isMobile = clientWidth("mobile");
@@ -7042,14 +4157,14 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
7042
4157
  var images = renderImage.map(function (image, index) {
7043
4158
  return /*#__PURE__*/React__default["default"].createElement("div", {
7044
4159
  key: index,
7045
- className: _getClassName(hyperlinkClass(image["hyperlink"]), _styleModuleImportMap$7)
4160
+ className: _getClassName__default["default"](hyperlinkClass(image["hyperlink"]), _styleModuleImportMap$7)
7046
4161
  }, /*#__PURE__*/React__default["default"].createElement("figure", {
7047
4162
  key: index,
7048
4163
  "data-text-id": "image-".concat(index),
7049
4164
  onClick: function onClick() {
7050
4165
  return onClickHandler && onClickHandler(index);
7051
4166
  },
7052
- className: _getClassName("image ".concat(classes), _styleModuleImportMap$7)
4167
+ className: _getClassName__default["default"]("image ".concat(classes), _styleModuleImportMap$7)
7053
4168
  }, /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
7054
4169
  slug: image["image-s3-key"],
7055
4170
  metadata: image["image-metadata"],
@@ -7063,7 +4178,7 @@ var ImageGalleryBase = function ImageGalleryBase(_ref) {
7063
4178
  hyperLink: image["hyperlink"]
7064
4179
  }));
7065
4180
  });
7066
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
4181
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
7067
4182
  className: " arrow-component arr--image-element image-gallery-m_image-gallery__1Q7if" + (" " + (restProps ? restProps.className || "" : ""))
7068
4183
  }, restProps, {
7069
4184
  "data-test-id": "image-gallery"
@@ -7098,9 +4213,9 @@ var StoryElementBase = function StoryElementBase(_ref) {
7098
4213
  var element = _ref.element;
7099
4214
  _ref.story;
7100
4215
  _ref.config;
7101
- var restProps = _objectWithoutProperties(_ref, _excluded$4);
4216
+ var restProps = _objectWithoutProperties__default["default"](_ref, _excluded$4);
7102
4217
 
7103
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({}, restProps, {
4218
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, restProps, {
7104
4219
  "data-test-id": "story-elements"
7105
4220
  }), /*#__PURE__*/React__default["default"].createElement(components.StoryElement, {
7106
4221
  element: element
@@ -7122,9 +4237,9 @@ var Videobase = function Videobase(_ref) {
7122
4237
  _ref.config;
7123
4238
  var _ref$loadIframeOnClic = _ref.loadIframeOnClick,
7124
4239
  loadIframeOnClick = _ref$loadIframeOnClic === void 0 ? false : _ref$loadIframeOnClic,
7125
- restProps = _objectWithoutProperties(_ref, _excluded$3);
4240
+ restProps = _objectWithoutProperties__default["default"](_ref, _excluded$3);
7126
4241
 
7127
- return /*#__PURE__*/React__default["default"].createElement("div", _extends({
4242
+ return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({
7128
4243
  className: "video-m_container__MYuWI" + (" " + (restProps ? restProps.className || "" : ""))
7129
4244
  }, restProps, {
7130
4245
  "data-test-id": "video"
@@ -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
 
@@ -8186,7 +5301,7 @@ var StoryTemplate = function StoryTemplate(_ref) {
8186
5301
  _config$premiumStoryI = config.premiumStoryIconConfig,
8187
5302
  premiumStoryIconConfig = _config$premiumStoryI === void 0 ? {} : _config$premiumStoryI;
8188
5303
  var visibledCards = noOfVisibleCards < 0 ? story.cards : story.cards.slice(0, noOfVisibleCards);
8189
- var storyId = get_1(story, ["id"], "");
5304
+ var storyId = lodash.get(story, ["id"], "");
8190
5305
 
8191
5306
  var HeaderCard = function HeaderCard() {
8192
5307
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -8205,7 +5320,7 @@ var StoryTemplate = function StoryTemplate(_ref) {
8205
5320
  var AsideCollectionCard = function AsideCollectionCard() {
8206
5321
  return asideCollection && /*#__PURE__*/React__default["default"].createElement("div", {
8207
5322
  className: "text-story-m_aside-collection__1hg7d text-story-m_tablet-index-2__1FdCR"
8208
- }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({
5323
+ }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends__default["default"]({
8209
5324
  horizontal: true
8210
5325
  }, asideCollection, {
8211
5326
  widgetComp: widgetComp,
@@ -8248,7 +5363,7 @@ var StoryTemplate = function StoryTemplate(_ref) {
8248
5363
  return /*#__PURE__*/React__default["default"].createElement(StoryElementCard, {
8249
5364
  story: story,
8250
5365
  card: card,
8251
- key: get_1(card, ["id"], ""),
5366
+ key: lodash.get(card, ["id"], ""),
8252
5367
  config: storyElementsConfig,
8253
5368
  adComponent: adComponent,
8254
5369
  widgetComp: widgetComp
@@ -8268,7 +5383,7 @@ var StoryTemplate = function StoryTemplate(_ref) {
8268
5383
  var SideColumn = function SideColumn() {
8269
5384
  return asideCollection && /*#__PURE__*/React__default["default"].createElement("div", {
8270
5385
  className: "text-story-m_text-story-side-column__ChMaj"
8271
- }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends({}, asideCollection, {
5386
+ }, /*#__PURE__*/React__default["default"].createElement(AsideCollection, _extends__default["default"]({}, asideCollection, {
8272
5387
  widgetComp: widgetComp,
8273
5388
  adComponent: adComponent,
8274
5389
  sticky: true,
@@ -8483,15 +5598,15 @@ var TextStoryTemplateBase = function TextStoryTemplateBase(_ref) {
8483
5598
  "hero-vertical-priority": imageRender
8484
5599
  };
8485
5600
  var timezone = reactRedux.useSelector(function (state) {
8486
- return get_1(state, ["qt", "data", "timezone"], null);
5601
+ return lodash.get(state, ["qt", "data", "timezone"], null);
8487
5602
  });
8488
- var dataTestId = supportImageType[templateType] ? "text-story-".concat(templateType, "-").concat(kebabCase_1(supportImageType[templateType])) : "text-story-".concat(templateType);
5603
+ var dataTestId = supportImageType[templateType] ? "text-story-".concat(templateType, "-").concat(lodash.kebabCase(supportImageType[templateType])) : "text-story-".concat(templateType);
8489
5604
  return /*#__PURE__*/React__default["default"].createElement("div", {
8490
5605
  "data-test-id": dataTestId,
8491
5606
  style: {
8492
5607
  backgroundColor: theme
8493
5608
  },
8494
- className: "arrow-component arr-story-grid arr--content-wrapper arr--text-story-template-wrapper " + _getClassName("".concat(templateType, " ").concat(verticalShare, " ").concat(supportImageType[templateType] || "", " ").concat(sortOption), _styleModuleImportMap)
5609
+ className: "arrow-component arr-story-grid arr--content-wrapper arr--text-story-template-wrapper " + _getClassName__default["default"]("".concat(templateType, " ").concat(verticalShare, " ").concat(supportImageType[templateType] || "", " ").concat(sortOption), _styleModuleImportMap)
8495
5610
  }, /*#__PURE__*/React__default["default"].createElement(StoryTemplate, {
8496
5611
  story: story,
8497
5612
  config: config,