@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,1378 +2,50 @@
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 React = require('react');
6
7
  var PropTypes = require('prop-types');
8
+ var lodash = require('lodash');
7
9
  var components = require('@quintype/components');
8
10
  var reactRedux = require('react-redux');
11
+ require('@babel/runtime/helpers/asyncToGenerator');
12
+ var _typeof = require('@babel/runtime/helpers/typeof');
13
+ require('@babel/runtime/regenerator');
9
14
  var Timeago = require('react-timeago');
10
15
  var dateFnsTz = require('date-fns-tz');
16
+ var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
17
+ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
11
18
  var ReactDOM = require('react-dom');
12
19
 
13
20
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
21
 
15
22
  function _interopNamespace(e) {
16
- if (e && e.__esModule) return e;
17
- var n = Object.create(null);
18
- if (e) {
19
- Object.keys(e).forEach(function (k) {
20
- if (k !== 'default') {
21
- var d = Object.getOwnPropertyDescriptor(e, k);
22
- Object.defineProperty(n, k, d.get ? d : {
23
- enumerable: true,
24
- get: function () { return e[k]; }
25
- });
26
- }
27
- });
28
- }
29
- n["default"] = e;
30
- return Object.freeze(n);
23
+ if (e && e.__esModule) return e;
24
+ var n = Object.create(null);
25
+ if (e) {
26
+ Object.keys(e).forEach(function (k) {
27
+ if (k !== 'default') {
28
+ var d = Object.getOwnPropertyDescriptor(e, k);
29
+ Object.defineProperty(n, k, d.get ? d : {
30
+ enumerable: true,
31
+ get: function () { return e[k]; }
32
+ });
33
+ }
34
+ });
35
+ }
36
+ n["default"] = e;
37
+ return Object.freeze(n);
31
38
  }
32
39
 
40
+ var _getClassName__default = /*#__PURE__*/_interopDefaultLegacy(_getClassName);
33
41
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
34
42
  var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
43
+ var _typeof__default = /*#__PURE__*/_interopDefaultLegacy(_typeof);
35
44
  var Timeago__default = /*#__PURE__*/_interopDefaultLegacy(Timeago);
45
+ var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
46
+ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
36
47
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
37
48
 
38
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
39
-
40
- function getDefaultExportFromCjs (x) {
41
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
42
- }
43
-
44
- function createCommonjsModule(fn) {
45
- var module = { exports: {} };
46
- return fn(module, module.exports), module.exports;
47
- }
48
-
49
- var optionsDefaults_1 = createCommonjsModule(function (module, exports) {
50
-
51
- Object.defineProperty(exports, "__esModule", {
52
- value: true
53
- });
54
- exports["default"] = void 0;
55
- var optionsDefaults = {
56
- attributeNames: {
57
- styleName: 'className'
58
- },
59
- generateScopedName: '[path]___[name]__[local]___[hash:base64:5]',
60
- handleMissingStyleName: 'throw'
61
- };
62
- var _default = optionsDefaults;
63
- exports["default"] = _default;
64
-
65
-
66
- });
67
-
68
- var getClassName = createCommonjsModule(function (module, exports) {
69
-
70
- Object.defineProperty(exports, "__esModule", {
71
- value: true
72
- });
73
- exports["default"] = void 0;
74
-
75
- var _optionsDefaults = _interopRequireDefault(optionsDefaults_1);
76
-
77
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
78
-
79
- var isNamespacedStyleName = function isNamespacedStyleName(styleName) {
80
- return styleName.indexOf('.') !== -1;
81
- };
82
-
83
- var handleError = function handleError(message, handleMissingStyleName) {
84
- if (handleMissingStyleName === 'throw') {
85
- throw new Error(message);
86
- } else if (handleMissingStyleName === 'warn') {
87
- // eslint-disable-next-line no-console
88
- console.warn(message);
89
- }
90
-
91
- return null;
92
- };
93
-
94
- var getClassNameForNamespacedStyleName = function getClassNameForNamespacedStyleName(styleName, styleModuleImportMap, handleMissingStyleNameOption) {
95
- // Note:
96
- // Do not use the desctructing syntax with Babel.
97
- // Desctructing adds _slicedToArray helper.
98
- var styleNameParts = styleName.split('.');
99
- var importName = styleNameParts[0];
100
- var moduleName = styleNameParts[1];
101
- var handleMissingStyleName = handleMissingStyleNameOption || _optionsDefaults["default"].handleMissingStyleName;
102
-
103
- if (!moduleName) {
104
- return handleError('Invalid style name: ' + styleName, handleMissingStyleName);
105
- }
106
-
107
- if (!styleModuleImportMap[importName]) {
108
- return handleError('CSS module import does not exist: ' + importName, handleMissingStyleName);
109
- }
110
-
111
- if (!styleModuleImportMap[importName][moduleName]) {
112
- return handleError('CSS module does not exist: ' + moduleName, handleMissingStyleName);
113
- }
114
-
115
- return styleModuleImportMap[importName][moduleName];
116
- };
117
-
118
- var getClassNameFromMultipleImports = function getClassNameFromMultipleImports(styleName, styleModuleImportMap, handleMissingStyleNameOption) {
119
- var handleMissingStyleName = handleMissingStyleNameOption || _optionsDefaults["default"].handleMissingStyleName;
120
- var importKeysWithMatches = Object.keys(styleModuleImportMap).map(function (importKey) {
121
- return styleModuleImportMap[importKey][styleName] && importKey;
122
- }).filter(function (importKey) {
123
- return importKey;
124
- });
125
-
126
- if (importKeysWithMatches.length > 1) {
127
- 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');
128
- }
129
-
130
- if (importKeysWithMatches.length === 0) {
131
- return handleError('Could not resolve the styleName \'' + styleName + '\'.', handleMissingStyleName);
132
- }
133
-
134
- return styleModuleImportMap[importKeysWithMatches[0]][styleName];
135
- };
136
-
137
- var _default = function _default(styleNameValue, styleModuleImportMap, options) {
138
- var styleModuleImportMapKeys = Object.keys(styleModuleImportMap);
139
-
140
- var _ref = options || {},
141
- _ref$handleMissingSty = _ref.handleMissingStyleName,
142
- handleMissingStyleName = _ref$handleMissingSty === void 0 ? _optionsDefaults["default"].handleMissingStyleName : _ref$handleMissingSty,
143
- _ref$autoResolveMulti = _ref.autoResolveMultipleImports,
144
- autoResolveMultipleImports = _ref$autoResolveMulti === void 0 ? _optionsDefaults["default"].autoResolveMultipleImports : _ref$autoResolveMulti;
145
-
146
- if (!styleNameValue) {
147
- return '';
148
- }
149
-
150
- return styleNameValue.split(' ').filter(function (styleName) {
151
- return styleName;
152
- }).map(function (styleName) {
153
- if (isNamespacedStyleName(styleName)) {
154
- return getClassNameForNamespacedStyleName(styleName, styleModuleImportMap, handleMissingStyleName);
155
- }
156
-
157
- if (styleModuleImportMapKeys.length === 0) {
158
- throw new Error('Cannot use styleName attribute for style name \'' + styleName + '\' without importing at least one stylesheet.');
159
- }
160
-
161
- if (styleModuleImportMapKeys.length > 1) {
162
- if (!autoResolveMultipleImports) {
163
- throw new Error('Cannot use anonymous style name \'' + styleName + '\' with more than one stylesheet import without setting \'autoResolveMultipleImports\' to true.');
164
- }
165
-
166
- return getClassNameFromMultipleImports(styleName, styleModuleImportMap, handleMissingStyleName);
167
- }
168
-
169
- var styleModuleMap = styleModuleImportMap[styleModuleImportMapKeys[0]];
170
-
171
- if (!styleModuleMap[styleName]) {
172
- return handleError('Could not resolve the styleName \'' + styleName + '\'.', handleMissingStyleName);
173
- }
174
-
175
- return styleModuleMap[styleName];
176
- }).filter(function (className) {
177
- // Remove any styles which could not be found (if handleMissingStyleName === 'ignore')
178
- return className;
179
- }).join(' ');
180
- };
181
-
182
- exports["default"] = _default;
183
-
184
-
185
- });
186
-
187
- var _getClassName = /*@__PURE__*/getDefaultExportFromCjs(getClassName);
188
-
189
- /**
190
- * Checks if `value` is classified as an `Array` object.
191
- *
192
- * @static
193
- * @memberOf _
194
- * @since 0.1.0
195
- * @category Lang
196
- * @param {*} value The value to check.
197
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
198
- * @example
199
- *
200
- * _.isArray([1, 2, 3]);
201
- * // => true
202
- *
203
- * _.isArray(document.body.children);
204
- * // => false
205
- *
206
- * _.isArray('abc');
207
- * // => false
208
- *
209
- * _.isArray(_.noop);
210
- * // => false
211
- */
212
- var isArray = Array.isArray;
213
-
214
- var isArray_1 = isArray;
215
-
216
- /** Detect free variable `global` from Node.js. */
217
-
218
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
219
-
220
- var _freeGlobal = freeGlobal;
221
-
222
- /** Detect free variable `self`. */
223
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
224
-
225
- /** Used as a reference to the global object. */
226
- var root = _freeGlobal || freeSelf || Function('return this')();
227
-
228
- var _root = root;
229
-
230
- /** Built-in value references. */
231
- var Symbol$1 = _root.Symbol;
232
-
233
- var _Symbol = Symbol$1;
234
-
235
- /** Used for built-in method references. */
236
- var objectProto$4 = Object.prototype;
237
-
238
- /** Used to check objects for own properties. */
239
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
240
-
241
- /**
242
- * Used to resolve the
243
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
244
- * of values.
245
- */
246
- var nativeObjectToString$1 = objectProto$4.toString;
247
-
248
- /** Built-in value references. */
249
- var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
250
-
251
- /**
252
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
253
- *
254
- * @private
255
- * @param {*} value The value to query.
256
- * @returns {string} Returns the raw `toStringTag`.
257
- */
258
- function getRawTag(value) {
259
- var isOwn = hasOwnProperty$3.call(value, symToStringTag$1),
260
- tag = value[symToStringTag$1];
261
-
262
- try {
263
- value[symToStringTag$1] = undefined;
264
- var unmasked = true;
265
- } catch (e) {}
266
-
267
- var result = nativeObjectToString$1.call(value);
268
- if (unmasked) {
269
- if (isOwn) {
270
- value[symToStringTag$1] = tag;
271
- } else {
272
- delete value[symToStringTag$1];
273
- }
274
- }
275
- return result;
276
- }
277
-
278
- var _getRawTag = getRawTag;
279
-
280
- /** Used for built-in method references. */
281
- var objectProto$3 = Object.prototype;
282
-
283
- /**
284
- * Used to resolve the
285
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
286
- * of values.
287
- */
288
- var nativeObjectToString = objectProto$3.toString;
289
-
290
- /**
291
- * Converts `value` to a string using `Object.prototype.toString`.
292
- *
293
- * @private
294
- * @param {*} value The value to convert.
295
- * @returns {string} Returns the converted string.
296
- */
297
- function objectToString(value) {
298
- return nativeObjectToString.call(value);
299
- }
300
-
301
- var _objectToString = objectToString;
302
-
303
- /** `Object#toString` result references. */
304
- var nullTag = '[object Null]',
305
- undefinedTag = '[object Undefined]';
306
-
307
- /** Built-in value references. */
308
- var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
309
-
310
- /**
311
- * The base implementation of `getTag` without fallbacks for buggy environments.
312
- *
313
- * @private
314
- * @param {*} value The value to query.
315
- * @returns {string} Returns the `toStringTag`.
316
- */
317
- function baseGetTag(value) {
318
- if (value == null) {
319
- return value === undefined ? undefinedTag : nullTag;
320
- }
321
- return (symToStringTag && symToStringTag in Object(value))
322
- ? _getRawTag(value)
323
- : _objectToString(value);
324
- }
325
-
326
- var _baseGetTag = baseGetTag;
327
-
328
- /**
329
- * Checks if `value` is object-like. A value is object-like if it's not `null`
330
- * and has a `typeof` result of "object".
331
- *
332
- * @static
333
- * @memberOf _
334
- * @since 4.0.0
335
- * @category Lang
336
- * @param {*} value The value to check.
337
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
338
- * @example
339
- *
340
- * _.isObjectLike({});
341
- * // => true
342
- *
343
- * _.isObjectLike([1, 2, 3]);
344
- * // => true
345
- *
346
- * _.isObjectLike(_.noop);
347
- * // => false
348
- *
349
- * _.isObjectLike(null);
350
- * // => false
351
- */
352
- function isObjectLike(value) {
353
- return value != null && typeof value == 'object';
354
- }
355
-
356
- var isObjectLike_1 = isObjectLike;
357
-
358
- /** `Object#toString` result references. */
359
- var symbolTag = '[object Symbol]';
360
-
361
- /**
362
- * Checks if `value` is classified as a `Symbol` primitive or object.
363
- *
364
- * @static
365
- * @memberOf _
366
- * @since 4.0.0
367
- * @category Lang
368
- * @param {*} value The value to check.
369
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
370
- * @example
371
- *
372
- * _.isSymbol(Symbol.iterator);
373
- * // => true
374
- *
375
- * _.isSymbol('abc');
376
- * // => false
377
- */
378
- function isSymbol(value) {
379
- return typeof value == 'symbol' ||
380
- (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
381
- }
382
-
383
- var isSymbol_1 = isSymbol;
384
-
385
- /** Used to match property names within property paths. */
386
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
387
- reIsPlainProp = /^\w*$/;
388
-
389
- /**
390
- * Checks if `value` is a property name and not a property path.
391
- *
392
- * @private
393
- * @param {*} value The value to check.
394
- * @param {Object} [object] The object to query keys on.
395
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
396
- */
397
- function isKey(value, object) {
398
- if (isArray_1(value)) {
399
- return false;
400
- }
401
- var type = typeof value;
402
- if (type == 'number' || type == 'symbol' || type == 'boolean' ||
403
- value == null || isSymbol_1(value)) {
404
- return true;
405
- }
406
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
407
- (object != null && value in Object(object));
408
- }
409
-
410
- var _isKey = isKey;
411
-
412
- /**
413
- * Checks if `value` is the
414
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
415
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
416
- *
417
- * @static
418
- * @memberOf _
419
- * @since 0.1.0
420
- * @category Lang
421
- * @param {*} value The value to check.
422
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
423
- * @example
424
- *
425
- * _.isObject({});
426
- * // => true
427
- *
428
- * _.isObject([1, 2, 3]);
429
- * // => true
430
- *
431
- * _.isObject(_.noop);
432
- * // => true
433
- *
434
- * _.isObject(null);
435
- * // => false
436
- */
437
- function isObject(value) {
438
- var type = typeof value;
439
- return value != null && (type == 'object' || type == 'function');
440
- }
441
-
442
- var isObject_1 = isObject;
443
-
444
- /** `Object#toString` result references. */
445
- var asyncTag = '[object AsyncFunction]',
446
- funcTag = '[object Function]',
447
- genTag = '[object GeneratorFunction]',
448
- proxyTag = '[object Proxy]';
449
-
450
- /**
451
- * Checks if `value` is classified as a `Function` object.
452
- *
453
- * @static
454
- * @memberOf _
455
- * @since 0.1.0
456
- * @category Lang
457
- * @param {*} value The value to check.
458
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
459
- * @example
460
- *
461
- * _.isFunction(_);
462
- * // => true
463
- *
464
- * _.isFunction(/abc/);
465
- * // => false
466
- */
467
- function isFunction(value) {
468
- if (!isObject_1(value)) {
469
- return false;
470
- }
471
- // The use of `Object#toString` avoids issues with the `typeof` operator
472
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
473
- var tag = _baseGetTag(value);
474
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
475
- }
476
-
477
- var isFunction_1 = isFunction;
478
-
479
- /** Used to detect overreaching core-js shims. */
480
- var coreJsData = _root['__core-js_shared__'];
481
-
482
- var _coreJsData = coreJsData;
483
-
484
- /** Used to detect methods masquerading as native. */
485
- var maskSrcKey = (function() {
486
- var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');
487
- return uid ? ('Symbol(src)_1.' + uid) : '';
488
- }());
489
-
490
- /**
491
- * Checks if `func` has its source masked.
492
- *
493
- * @private
494
- * @param {Function} func The function to check.
495
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
496
- */
497
- function isMasked(func) {
498
- return !!maskSrcKey && (maskSrcKey in func);
499
- }
500
-
501
- var _isMasked = isMasked;
502
-
503
- /** Used for built-in method references. */
504
- var funcProto$1 = Function.prototype;
505
-
506
- /** Used to resolve the decompiled source of functions. */
507
- var funcToString$1 = funcProto$1.toString;
508
-
509
- /**
510
- * Converts `func` to its source code.
511
- *
512
- * @private
513
- * @param {Function} func The function to convert.
514
- * @returns {string} Returns the source code.
515
- */
516
- function toSource(func) {
517
- if (func != null) {
518
- try {
519
- return funcToString$1.call(func);
520
- } catch (e) {}
521
- try {
522
- return (func + '');
523
- } catch (e) {}
524
- }
525
- return '';
526
- }
527
-
528
- var _toSource = toSource;
529
-
530
- /**
531
- * Used to match `RegExp`
532
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
533
- */
534
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
535
-
536
- /** Used to detect host constructors (Safari). */
537
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
538
-
539
- /** Used for built-in method references. */
540
- var funcProto = Function.prototype,
541
- objectProto$2 = Object.prototype;
542
-
543
- /** Used to resolve the decompiled source of functions. */
544
- var funcToString = funcProto.toString;
545
-
546
- /** Used to check objects for own properties. */
547
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
548
-
549
- /** Used to detect if a method is native. */
550
- var reIsNative = RegExp('^' +
551
- funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
552
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
553
- );
554
-
555
- /**
556
- * The base implementation of `_.isNative` without bad shim checks.
557
- *
558
- * @private
559
- * @param {*} value The value to check.
560
- * @returns {boolean} Returns `true` if `value` is a native function,
561
- * else `false`.
562
- */
563
- function baseIsNative(value) {
564
- if (!isObject_1(value) || _isMasked(value)) {
565
- return false;
566
- }
567
- var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;
568
- return pattern.test(_toSource(value));
569
- }
570
-
571
- var _baseIsNative = baseIsNative;
572
-
573
- /**
574
- * Gets the value at `key` of `object`.
575
- *
576
- * @private
577
- * @param {Object} [object] The object to query.
578
- * @param {string} key The key of the property to get.
579
- * @returns {*} Returns the property value.
580
- */
581
- function getValue(object, key) {
582
- return object == null ? undefined : object[key];
583
- }
584
-
585
- var _getValue = getValue;
586
-
587
- /**
588
- * Gets the native function at `key` of `object`.
589
- *
590
- * @private
591
- * @param {Object} object The object to query.
592
- * @param {string} key The key of the method to get.
593
- * @returns {*} Returns the function if it's native, else `undefined`.
594
- */
595
- function getNative(object, key) {
596
- var value = _getValue(object, key);
597
- return _baseIsNative(value) ? value : undefined;
598
- }
599
-
600
- var _getNative = getNative;
601
-
602
- /* Built-in method references that are verified to be native. */
603
- var nativeCreate = _getNative(Object, 'create');
604
-
605
- var _nativeCreate = nativeCreate;
606
-
607
- /**
608
- * Removes all key-value entries from the hash.
609
- *
610
- * @private
611
- * @name clear
612
- * @memberOf Hash
613
- */
614
- function hashClear() {
615
- this.__data__ = _nativeCreate ? _nativeCreate(null) : {};
616
- this.size = 0;
617
- }
618
-
619
- var _hashClear = hashClear;
620
-
621
- /**
622
- * Removes `key` and its value from the hash.
623
- *
624
- * @private
625
- * @name delete
626
- * @memberOf Hash
627
- * @param {Object} hash The hash to modify.
628
- * @param {string} key The key of the value to remove.
629
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
630
- */
631
- function hashDelete(key) {
632
- var result = this.has(key) && delete this.__data__[key];
633
- this.size -= result ? 1 : 0;
634
- return result;
635
- }
636
-
637
- var _hashDelete = hashDelete;
638
-
639
- /** Used to stand-in for `undefined` hash values. */
640
- var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
641
-
642
- /** Used for built-in method references. */
643
- var objectProto$1 = Object.prototype;
644
-
645
- /** Used to check objects for own properties. */
646
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
647
-
648
- /**
649
- * Gets the hash value for `key`.
650
- *
651
- * @private
652
- * @name get
653
- * @memberOf Hash
654
- * @param {string} key The key of the value to get.
655
- * @returns {*} Returns the entry value.
656
- */
657
- function hashGet(key) {
658
- var data = this.__data__;
659
- if (_nativeCreate) {
660
- var result = data[key];
661
- return result === HASH_UNDEFINED$1 ? undefined : result;
662
- }
663
- return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
664
- }
665
-
666
- var _hashGet = hashGet;
667
-
668
- /** Used for built-in method references. */
669
- var objectProto = Object.prototype;
670
-
671
- /** Used to check objects for own properties. */
672
- var hasOwnProperty = objectProto.hasOwnProperty;
673
-
674
- /**
675
- * Checks if a hash value for `key` exists.
676
- *
677
- * @private
678
- * @name has
679
- * @memberOf Hash
680
- * @param {string} key The key of the entry to check.
681
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
682
- */
683
- function hashHas(key) {
684
- var data = this.__data__;
685
- return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
686
- }
687
-
688
- var _hashHas = hashHas;
689
-
690
- /** Used to stand-in for `undefined` hash values. */
691
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
692
-
693
- /**
694
- * Sets the hash `key` to `value`.
695
- *
696
- * @private
697
- * @name set
698
- * @memberOf Hash
699
- * @param {string} key The key of the value to set.
700
- * @param {*} value The value to set.
701
- * @returns {Object} Returns the hash instance.
702
- */
703
- function hashSet(key, value) {
704
- var data = this.__data__;
705
- this.size += this.has(key) ? 0 : 1;
706
- data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
707
- return this;
708
- }
709
-
710
- var _hashSet = hashSet;
711
-
712
- /**
713
- * Creates a hash object.
714
- *
715
- * @private
716
- * @constructor
717
- * @param {Array} [entries] The key-value pairs to cache.
718
- */
719
- function Hash(entries) {
720
- var index = -1,
721
- length = entries == null ? 0 : entries.length;
722
-
723
- this.clear();
724
- while (++index < length) {
725
- var entry = entries[index];
726
- this.set(entry[0], entry[1]);
727
- }
728
- }
729
-
730
- // Add methods to `Hash`.
731
- Hash.prototype.clear = _hashClear;
732
- Hash.prototype['delete'] = _hashDelete;
733
- Hash.prototype.get = _hashGet;
734
- Hash.prototype.has = _hashHas;
735
- Hash.prototype.set = _hashSet;
736
-
737
- var _Hash = Hash;
738
-
739
- /**
740
- * Removes all key-value entries from the list cache.
741
- *
742
- * @private
743
- * @name clear
744
- * @memberOf ListCache
745
- */
746
- function listCacheClear() {
747
- this.__data__ = [];
748
- this.size = 0;
749
- }
750
-
751
- var _listCacheClear = listCacheClear;
752
-
753
- /**
754
- * Performs a
755
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
756
- * comparison between two values to determine if they are equivalent.
757
- *
758
- * @static
759
- * @memberOf _
760
- * @since 4.0.0
761
- * @category Lang
762
- * @param {*} value The value to compare.
763
- * @param {*} other The other value to compare.
764
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
765
- * @example
766
- *
767
- * var object = { 'a': 1 };
768
- * var other = { 'a': 1 };
769
- *
770
- * _.eq(object, object);
771
- * // => true
772
- *
773
- * _.eq(object, other);
774
- * // => false
775
- *
776
- * _.eq('a', 'a');
777
- * // => true
778
- *
779
- * _.eq('a', Object('a'));
780
- * // => false
781
- *
782
- * _.eq(NaN, NaN);
783
- * // => true
784
- */
785
- function eq(value, other) {
786
- return value === other || (value !== value && other !== other);
787
- }
788
-
789
- var eq_1 = eq;
790
-
791
- /**
792
- * Gets the index at which the `key` is found in `array` of key-value pairs.
793
- *
794
- * @private
795
- * @param {Array} array The array to inspect.
796
- * @param {*} key The key to search for.
797
- * @returns {number} Returns the index of the matched value, else `-1`.
798
- */
799
- function assocIndexOf(array, key) {
800
- var length = array.length;
801
- while (length--) {
802
- if (eq_1(array[length][0], key)) {
803
- return length;
804
- }
805
- }
806
- return -1;
807
- }
808
-
809
- var _assocIndexOf = assocIndexOf;
810
-
811
- /** Used for built-in method references. */
812
- var arrayProto = Array.prototype;
813
-
814
- /** Built-in value references. */
815
- var splice = arrayProto.splice;
816
-
817
- /**
818
- * Removes `key` and its value from the list cache.
819
- *
820
- * @private
821
- * @name delete
822
- * @memberOf ListCache
823
- * @param {string} key The key of the value to remove.
824
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
825
- */
826
- function listCacheDelete(key) {
827
- var data = this.__data__,
828
- index = _assocIndexOf(data, key);
829
-
830
- if (index < 0) {
831
- return false;
832
- }
833
- var lastIndex = data.length - 1;
834
- if (index == lastIndex) {
835
- data.pop();
836
- } else {
837
- splice.call(data, index, 1);
838
- }
839
- --this.size;
840
- return true;
841
- }
842
-
843
- var _listCacheDelete = listCacheDelete;
844
-
845
- /**
846
- * Gets the list cache value for `key`.
847
- *
848
- * @private
849
- * @name get
850
- * @memberOf ListCache
851
- * @param {string} key The key of the value to get.
852
- * @returns {*} Returns the entry value.
853
- */
854
- function listCacheGet(key) {
855
- var data = this.__data__,
856
- index = _assocIndexOf(data, key);
857
-
858
- return index < 0 ? undefined : data[index][1];
859
- }
860
-
861
- var _listCacheGet = listCacheGet;
862
-
863
- /**
864
- * Checks if a list cache value for `key` exists.
865
- *
866
- * @private
867
- * @name has
868
- * @memberOf ListCache
869
- * @param {string} key The key of the entry to check.
870
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
871
- */
872
- function listCacheHas(key) {
873
- return _assocIndexOf(this.__data__, key) > -1;
874
- }
875
-
876
- var _listCacheHas = listCacheHas;
877
-
878
- /**
879
- * Sets the list cache `key` to `value`.
880
- *
881
- * @private
882
- * @name set
883
- * @memberOf ListCache
884
- * @param {string} key The key of the value to set.
885
- * @param {*} value The value to set.
886
- * @returns {Object} Returns the list cache instance.
887
- */
888
- function listCacheSet(key, value) {
889
- var data = this.__data__,
890
- index = _assocIndexOf(data, key);
891
-
892
- if (index < 0) {
893
- ++this.size;
894
- data.push([key, value]);
895
- } else {
896
- data[index][1] = value;
897
- }
898
- return this;
899
- }
900
-
901
- var _listCacheSet = listCacheSet;
902
-
903
- /**
904
- * Creates an list cache object.
905
- *
906
- * @private
907
- * @constructor
908
- * @param {Array} [entries] The key-value pairs to cache.
909
- */
910
- function ListCache(entries) {
911
- var index = -1,
912
- length = entries == null ? 0 : entries.length;
913
-
914
- this.clear();
915
- while (++index < length) {
916
- var entry = entries[index];
917
- this.set(entry[0], entry[1]);
918
- }
919
- }
920
-
921
- // Add methods to `ListCache`.
922
- ListCache.prototype.clear = _listCacheClear;
923
- ListCache.prototype['delete'] = _listCacheDelete;
924
- ListCache.prototype.get = _listCacheGet;
925
- ListCache.prototype.has = _listCacheHas;
926
- ListCache.prototype.set = _listCacheSet;
927
-
928
- var _ListCache = ListCache;
929
-
930
- /* Built-in method references that are verified to be native. */
931
- var Map = _getNative(_root, 'Map');
932
-
933
- var _Map = Map;
934
-
935
- /**
936
- * Removes all key-value entries from the map.
937
- *
938
- * @private
939
- * @name clear
940
- * @memberOf MapCache
941
- */
942
- function mapCacheClear() {
943
- this.size = 0;
944
- this.__data__ = {
945
- 'hash': new _Hash,
946
- 'map': new (_Map || _ListCache),
947
- 'string': new _Hash
948
- };
949
- }
950
-
951
- var _mapCacheClear = mapCacheClear;
952
-
953
- /**
954
- * Checks if `value` is suitable for use as unique object key.
955
- *
956
- * @private
957
- * @param {*} value The value to check.
958
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
959
- */
960
- function isKeyable(value) {
961
- var type = typeof value;
962
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
963
- ? (value !== '__proto__')
964
- : (value === null);
965
- }
966
-
967
- var _isKeyable = isKeyable;
968
-
969
- /**
970
- * Gets the data for `map`.
971
- *
972
- * @private
973
- * @param {Object} map The map to query.
974
- * @param {string} key The reference key.
975
- * @returns {*} Returns the map data.
976
- */
977
- function getMapData(map, key) {
978
- var data = map.__data__;
979
- return _isKeyable(key)
980
- ? data[typeof key == 'string' ? 'string' : 'hash']
981
- : data.map;
982
- }
983
-
984
- var _getMapData = getMapData;
985
-
986
- /**
987
- * Removes `key` and its value from the map.
988
- *
989
- * @private
990
- * @name delete
991
- * @memberOf MapCache
992
- * @param {string} key The key of the value to remove.
993
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
994
- */
995
- function mapCacheDelete(key) {
996
- var result = _getMapData(this, key)['delete'](key);
997
- this.size -= result ? 1 : 0;
998
- return result;
999
- }
1000
-
1001
- var _mapCacheDelete = mapCacheDelete;
1002
-
1003
- /**
1004
- * Gets the map value for `key`.
1005
- *
1006
- * @private
1007
- * @name get
1008
- * @memberOf MapCache
1009
- * @param {string} key The key of the value to get.
1010
- * @returns {*} Returns the entry value.
1011
- */
1012
- function mapCacheGet(key) {
1013
- return _getMapData(this, key).get(key);
1014
- }
1015
-
1016
- var _mapCacheGet = mapCacheGet;
1017
-
1018
- /**
1019
- * Checks if a map value for `key` exists.
1020
- *
1021
- * @private
1022
- * @name has
1023
- * @memberOf MapCache
1024
- * @param {string} key The key of the entry to check.
1025
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1026
- */
1027
- function mapCacheHas(key) {
1028
- return _getMapData(this, key).has(key);
1029
- }
1030
-
1031
- var _mapCacheHas = mapCacheHas;
1032
-
1033
- /**
1034
- * Sets the map `key` to `value`.
1035
- *
1036
- * @private
1037
- * @name set
1038
- * @memberOf MapCache
1039
- * @param {string} key The key of the value to set.
1040
- * @param {*} value The value to set.
1041
- * @returns {Object} Returns the map cache instance.
1042
- */
1043
- function mapCacheSet(key, value) {
1044
- var data = _getMapData(this, key),
1045
- size = data.size;
1046
-
1047
- data.set(key, value);
1048
- this.size += data.size == size ? 0 : 1;
1049
- return this;
1050
- }
1051
-
1052
- var _mapCacheSet = mapCacheSet;
1053
-
1054
- /**
1055
- * Creates a map cache object to store key-value pairs.
1056
- *
1057
- * @private
1058
- * @constructor
1059
- * @param {Array} [entries] The key-value pairs to cache.
1060
- */
1061
- function MapCache(entries) {
1062
- var index = -1,
1063
- length = entries == null ? 0 : entries.length;
1064
-
1065
- this.clear();
1066
- while (++index < length) {
1067
- var entry = entries[index];
1068
- this.set(entry[0], entry[1]);
1069
- }
1070
- }
1071
-
1072
- // Add methods to `MapCache`.
1073
- MapCache.prototype.clear = _mapCacheClear;
1074
- MapCache.prototype['delete'] = _mapCacheDelete;
1075
- MapCache.prototype.get = _mapCacheGet;
1076
- MapCache.prototype.has = _mapCacheHas;
1077
- MapCache.prototype.set = _mapCacheSet;
1078
-
1079
- var _MapCache = MapCache;
1080
-
1081
- /** Error message constants. */
1082
- var FUNC_ERROR_TEXT = 'Expected a function';
1083
-
1084
- /**
1085
- * Creates a function that memoizes the result of `func`. If `resolver` is
1086
- * provided, it determines the cache key for storing the result based on the
1087
- * arguments provided to the memoized function. By default, the first argument
1088
- * provided to the memoized function is used as the map cache key. The `func`
1089
- * is invoked with the `this` binding of the memoized function.
1090
- *
1091
- * **Note:** The cache is exposed as the `cache` property on the memoized
1092
- * function. Its creation may be customized by replacing the `_.memoize.Cache`
1093
- * constructor with one whose instances implement the
1094
- * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1095
- * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1096
- *
1097
- * @static
1098
- * @memberOf _
1099
- * @since 0.1.0
1100
- * @category Function
1101
- * @param {Function} func The function to have its output memoized.
1102
- * @param {Function} [resolver] The function to resolve the cache key.
1103
- * @returns {Function} Returns the new memoized function.
1104
- * @example
1105
- *
1106
- * var object = { 'a': 1, 'b': 2 };
1107
- * var other = { 'c': 3, 'd': 4 };
1108
- *
1109
- * var values = _.memoize(_.values);
1110
- * values(object);
1111
- * // => [1, 2]
1112
- *
1113
- * values(other);
1114
- * // => [3, 4]
1115
- *
1116
- * object.a = 2;
1117
- * values(object);
1118
- * // => [1, 2]
1119
- *
1120
- * // Modify the result cache.
1121
- * values.cache.set(object, ['a', 'b']);
1122
- * values(object);
1123
- * // => ['a', 'b']
1124
- *
1125
- * // Replace `_.memoize.Cache`.
1126
- * _.memoize.Cache = WeakMap;
1127
- */
1128
- function memoize(func, resolver) {
1129
- if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {
1130
- throw new TypeError(FUNC_ERROR_TEXT);
1131
- }
1132
- var memoized = function() {
1133
- var args = arguments,
1134
- key = resolver ? resolver.apply(this, args) : args[0],
1135
- cache = memoized.cache;
1136
-
1137
- if (cache.has(key)) {
1138
- return cache.get(key);
1139
- }
1140
- var result = func.apply(this, args);
1141
- memoized.cache = cache.set(key, result) || cache;
1142
- return result;
1143
- };
1144
- memoized.cache = new (memoize.Cache || _MapCache);
1145
- return memoized;
1146
- }
1147
-
1148
- // Expose `MapCache`.
1149
- memoize.Cache = _MapCache;
1150
-
1151
- var memoize_1 = memoize;
1152
-
1153
- /** Used as the maximum memoize cache size. */
1154
- var MAX_MEMOIZE_SIZE = 500;
1155
-
1156
- /**
1157
- * A specialized version of `_.memoize` which clears the memoized function's
1158
- * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1159
- *
1160
- * @private
1161
- * @param {Function} func The function to have its output memoized.
1162
- * @returns {Function} Returns the new memoized function.
1163
- */
1164
- function memoizeCapped(func) {
1165
- var result = memoize_1(func, function(key) {
1166
- if (cache.size === MAX_MEMOIZE_SIZE) {
1167
- cache.clear();
1168
- }
1169
- return key;
1170
- });
1171
-
1172
- var cache = result.cache;
1173
- return result;
1174
- }
1175
-
1176
- var _memoizeCapped = memoizeCapped;
1177
-
1178
- /** Used to match property names within property paths. */
1179
- var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1180
-
1181
- /** Used to match backslashes in property paths. */
1182
- var reEscapeChar = /\\(\\)?/g;
1183
-
1184
- /**
1185
- * Converts `string` to a property path array.
1186
- *
1187
- * @private
1188
- * @param {string} string The string to convert.
1189
- * @returns {Array} Returns the property path array.
1190
- */
1191
- var stringToPath = _memoizeCapped(function(string) {
1192
- var result = [];
1193
- if (string.charCodeAt(0) === 46 /* . */) {
1194
- result.push('');
1195
- }
1196
- string.replace(rePropName, function(match, number, quote, subString) {
1197
- result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));
1198
- });
1199
- return result;
1200
- });
1201
-
1202
- var _stringToPath = stringToPath;
1203
-
1204
- /**
1205
- * A specialized version of `_.map` for arrays without support for iteratee
1206
- * shorthands.
1207
- *
1208
- * @private
1209
- * @param {Array} [array] The array to iterate over.
1210
- * @param {Function} iteratee The function invoked per iteration.
1211
- * @returns {Array} Returns the new mapped array.
1212
- */
1213
- function arrayMap(array, iteratee) {
1214
- var index = -1,
1215
- length = array == null ? 0 : array.length,
1216
- result = Array(length);
1217
-
1218
- while (++index < length) {
1219
- result[index] = iteratee(array[index], index, array);
1220
- }
1221
- return result;
1222
- }
1223
-
1224
- var _arrayMap = arrayMap;
1225
-
1226
- /** Used as references for various `Number` constants. */
1227
- var INFINITY$1 = 1 / 0;
1228
-
1229
- /** Used to convert symbols to primitives and strings. */
1230
- var symbolProto = _Symbol ? _Symbol.prototype : undefined,
1231
- symbolToString = symbolProto ? symbolProto.toString : undefined;
1232
-
1233
- /**
1234
- * The base implementation of `_.toString` which doesn't convert nullish
1235
- * values to empty strings.
1236
- *
1237
- * @private
1238
- * @param {*} value The value to process.
1239
- * @returns {string} Returns the string.
1240
- */
1241
- function baseToString(value) {
1242
- // Exit early for strings to avoid a performance hit in some environments.
1243
- if (typeof value == 'string') {
1244
- return value;
1245
- }
1246
- if (isArray_1(value)) {
1247
- // Recursively convert values (susceptible to call stack limits).
1248
- return _arrayMap(value, baseToString) + '';
1249
- }
1250
- if (isSymbol_1(value)) {
1251
- return symbolToString ? symbolToString.call(value) : '';
1252
- }
1253
- var result = (value + '');
1254
- return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
1255
- }
1256
-
1257
- var _baseToString = baseToString;
1258
-
1259
- /**
1260
- * Converts `value` to a string. An empty string is returned for `null`
1261
- * and `undefined` values. The sign of `-0` is preserved.
1262
- *
1263
- * @static
1264
- * @memberOf _
1265
- * @since 4.0.0
1266
- * @category Lang
1267
- * @param {*} value The value to convert.
1268
- * @returns {string} Returns the converted string.
1269
- * @example
1270
- *
1271
- * _.toString(null);
1272
- * // => ''
1273
- *
1274
- * _.toString(-0);
1275
- * // => '-0'
1276
- *
1277
- * _.toString([1, 2, 3]);
1278
- * // => '1,2,3'
1279
- */
1280
- function toString(value) {
1281
- return value == null ? '' : _baseToString(value);
1282
- }
1283
-
1284
- var toString_1 = toString;
1285
-
1286
- /**
1287
- * Casts `value` to a path array if it's not one.
1288
- *
1289
- * @private
1290
- * @param {*} value The value to inspect.
1291
- * @param {Object} [object] The object to query keys on.
1292
- * @returns {Array} Returns the cast property path array.
1293
- */
1294
- function castPath(value, object) {
1295
- if (isArray_1(value)) {
1296
- return value;
1297
- }
1298
- return _isKey(value, object) ? [value] : _stringToPath(toString_1(value));
1299
- }
1300
-
1301
- var _castPath = castPath;
1302
-
1303
- /** Used as references for various `Number` constants. */
1304
- var INFINITY = 1 / 0;
1305
-
1306
- /**
1307
- * Converts `value` to a string key if it's not a string or symbol.
1308
- *
1309
- * @private
1310
- * @param {*} value The value to inspect.
1311
- * @returns {string|symbol} Returns the key.
1312
- */
1313
- function toKey(value) {
1314
- if (typeof value == 'string' || isSymbol_1(value)) {
1315
- return value;
1316
- }
1317
- var result = (value + '');
1318
- return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
1319
- }
1320
-
1321
- var _toKey = toKey;
1322
-
1323
- /**
1324
- * The base implementation of `_.get` without support for default values.
1325
- *
1326
- * @private
1327
- * @param {Object} object The object to query.
1328
- * @param {Array|string} path The path of the property to get.
1329
- * @returns {*} Returns the resolved value.
1330
- */
1331
- function baseGet(object, path) {
1332
- path = _castPath(path, object);
1333
-
1334
- var index = 0,
1335
- length = path.length;
1336
-
1337
- while (object != null && index < length) {
1338
- object = object[_toKey(path[index++])];
1339
- }
1340
- return (index && index == length) ? object : undefined;
1341
- }
1342
-
1343
- var _baseGet = baseGet;
1344
-
1345
- /**
1346
- * Gets the value at `path` of `object`. If the resolved value is
1347
- * `undefined`, the `defaultValue` is returned in its place.
1348
- *
1349
- * @static
1350
- * @memberOf _
1351
- * @since 3.7.0
1352
- * @category Object
1353
- * @param {Object} object The object to query.
1354
- * @param {Array|string} path The path of the property to get.
1355
- * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1356
- * @returns {*} Returns the resolved value.
1357
- * @example
1358
- *
1359
- * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1360
- *
1361
- * _.get(object, 'a[0].b.c');
1362
- * // => 3
1363
- *
1364
- * _.get(object, ['a', '0', 'b', 'c']);
1365
- * // => 3
1366
- *
1367
- * _.get(object, 'a.b.c', 'default');
1368
- * // => 'default'
1369
- */
1370
- function get(object, path, defaultValue) {
1371
- var result = object == null ? undefined : _baseGet(object, path);
1372
- return result === undefined ? defaultValue : result;
1373
- }
1374
-
1375
- var get_1 = get;
1376
-
1377
49
  var StateContext = /*#__PURE__*/React.createContext(); // eslint-disable-next-line react/display-name
1378
50
 
1379
51
  var StateProvider = function StateProvider(RowComponent) {
@@ -1391,1133 +63,6 @@ var useStateValue = function useStateValue() {
1391
63
  return React.useContext(StateContext);
1392
64
  };
1393
65
 
1394
- function _typeof(obj) {
1395
- "@babel/helpers - typeof";
1396
-
1397
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
1398
- return typeof obj;
1399
- } : function (obj) {
1400
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1401
- }, _typeof(obj);
1402
- }
1403
-
1404
- /**
1405
- * Copyright (c) 2014-present, Facebook, Inc.
1406
- *
1407
- * This source code is licensed under the MIT license found in the
1408
- * LICENSE file in the root directory of this source tree.
1409
- */
1410
-
1411
- createCommonjsModule(function (module) {
1412
- var runtime = (function (exports) {
1413
-
1414
- var Op = Object.prototype;
1415
- var hasOwn = Op.hasOwnProperty;
1416
- var undefined$1; // More compressible than void 0.
1417
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
1418
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
1419
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
1420
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
1421
-
1422
- function define(obj, key, value) {
1423
- Object.defineProperty(obj, key, {
1424
- value: value,
1425
- enumerable: true,
1426
- configurable: true,
1427
- writable: true
1428
- });
1429
- return obj[key];
1430
- }
1431
- try {
1432
- // IE 8 has a broken Object.defineProperty that only works on DOM objects.
1433
- define({}, "");
1434
- } catch (err) {
1435
- define = function(obj, key, value) {
1436
- return obj[key] = value;
1437
- };
1438
- }
1439
-
1440
- function wrap(innerFn, outerFn, self, tryLocsList) {
1441
- // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
1442
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
1443
- var generator = Object.create(protoGenerator.prototype);
1444
- var context = new Context(tryLocsList || []);
1445
-
1446
- // The ._invoke method unifies the implementations of the .next,
1447
- // .throw, and .return methods.
1448
- generator._invoke = makeInvokeMethod(innerFn, self, context);
1449
-
1450
- return generator;
1451
- }
1452
- exports.wrap = wrap;
1453
-
1454
- // Try/catch helper to minimize deoptimizations. Returns a completion
1455
- // record like context.tryEntries[i].completion. This interface could
1456
- // have been (and was previously) designed to take a closure to be
1457
- // invoked without arguments, but in all the cases we care about we
1458
- // already have an existing method we want to call, so there's no need
1459
- // to create a new function object. We can even get away with assuming
1460
- // the method takes exactly one argument, since that happens to be true
1461
- // in every case, so we don't have to touch the arguments object. The
1462
- // only additional allocation required is the completion record, which
1463
- // has a stable shape and so hopefully should be cheap to allocate.
1464
- function tryCatch(fn, obj, arg) {
1465
- try {
1466
- return { type: "normal", arg: fn.call(obj, arg) };
1467
- } catch (err) {
1468
- return { type: "throw", arg: err };
1469
- }
1470
- }
1471
-
1472
- var GenStateSuspendedStart = "suspendedStart";
1473
- var GenStateSuspendedYield = "suspendedYield";
1474
- var GenStateExecuting = "executing";
1475
- var GenStateCompleted = "completed";
1476
-
1477
- // Returning this object from the innerFn has the same effect as
1478
- // breaking out of the dispatch switch statement.
1479
- var ContinueSentinel = {};
1480
-
1481
- // Dummy constructor functions that we use as the .constructor and
1482
- // .constructor.prototype properties for functions that return Generator
1483
- // objects. For full spec compliance, you may wish to configure your
1484
- // minifier not to mangle the names of these two functions.
1485
- function Generator() {}
1486
- function GeneratorFunction() {}
1487
- function GeneratorFunctionPrototype() {}
1488
-
1489
- // This is a polyfill for %IteratorPrototype% for environments that
1490
- // don't natively support it.
1491
- var IteratorPrototype = {};
1492
- define(IteratorPrototype, iteratorSymbol, function () {
1493
- return this;
1494
- });
1495
-
1496
- var getProto = Object.getPrototypeOf;
1497
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
1498
- if (NativeIteratorPrototype &&
1499
- NativeIteratorPrototype !== Op &&
1500
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
1501
- // This environment has a native %IteratorPrototype%; use it instead
1502
- // of the polyfill.
1503
- IteratorPrototype = NativeIteratorPrototype;
1504
- }
1505
-
1506
- var Gp = GeneratorFunctionPrototype.prototype =
1507
- Generator.prototype = Object.create(IteratorPrototype);
1508
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
1509
- define(Gp, "constructor", GeneratorFunctionPrototype);
1510
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
1511
- GeneratorFunction.displayName = define(
1512
- GeneratorFunctionPrototype,
1513
- toStringTagSymbol,
1514
- "GeneratorFunction"
1515
- );
1516
-
1517
- // Helper for defining the .next, .throw, and .return methods of the
1518
- // Iterator interface in terms of a single ._invoke method.
1519
- function defineIteratorMethods(prototype) {
1520
- ["next", "throw", "return"].forEach(function(method) {
1521
- define(prototype, method, function(arg) {
1522
- return this._invoke(method, arg);
1523
- });
1524
- });
1525
- }
1526
-
1527
- exports.isGeneratorFunction = function(genFun) {
1528
- var ctor = typeof genFun === "function" && genFun.constructor;
1529
- return ctor
1530
- ? ctor === GeneratorFunction ||
1531
- // For the native GeneratorFunction constructor, the best we can
1532
- // do is to check its .name property.
1533
- (ctor.displayName || ctor.name) === "GeneratorFunction"
1534
- : false;
1535
- };
1536
-
1537
- exports.mark = function(genFun) {
1538
- if (Object.setPrototypeOf) {
1539
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
1540
- } else {
1541
- genFun.__proto__ = GeneratorFunctionPrototype;
1542
- define(genFun, toStringTagSymbol, "GeneratorFunction");
1543
- }
1544
- genFun.prototype = Object.create(Gp);
1545
- return genFun;
1546
- };
1547
-
1548
- // Within the body of any async function, `await x` is transformed to
1549
- // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
1550
- // `hasOwn.call(value, "__await")` to determine if the yielded value is
1551
- // meant to be awaited.
1552
- exports.awrap = function(arg) {
1553
- return { __await: arg };
1554
- };
1555
-
1556
- function AsyncIterator(generator, PromiseImpl) {
1557
- function invoke(method, arg, resolve, reject) {
1558
- var record = tryCatch(generator[method], generator, arg);
1559
- if (record.type === "throw") {
1560
- reject(record.arg);
1561
- } else {
1562
- var result = record.arg;
1563
- var value = result.value;
1564
- if (value &&
1565
- typeof value === "object" &&
1566
- hasOwn.call(value, "__await")) {
1567
- return PromiseImpl.resolve(value.__await).then(function(value) {
1568
- invoke("next", value, resolve, reject);
1569
- }, function(err) {
1570
- invoke("throw", err, resolve, reject);
1571
- });
1572
- }
1573
-
1574
- return PromiseImpl.resolve(value).then(function(unwrapped) {
1575
- // When a yielded Promise is resolved, its final value becomes
1576
- // the .value of the Promise<{value,done}> result for the
1577
- // current iteration.
1578
- result.value = unwrapped;
1579
- resolve(result);
1580
- }, function(error) {
1581
- // If a rejected Promise was yielded, throw the rejection back
1582
- // into the async generator function so it can be handled there.
1583
- return invoke("throw", error, resolve, reject);
1584
- });
1585
- }
1586
- }
1587
-
1588
- var previousPromise;
1589
-
1590
- function enqueue(method, arg) {
1591
- function callInvokeWithMethodAndArg() {
1592
- return new PromiseImpl(function(resolve, reject) {
1593
- invoke(method, arg, resolve, reject);
1594
- });
1595
- }
1596
-
1597
- return previousPromise =
1598
- // If enqueue has been called before, then we want to wait until
1599
- // all previous Promises have been resolved before calling invoke,
1600
- // so that results are always delivered in the correct order. If
1601
- // enqueue has not been called before, then it is important to
1602
- // call invoke immediately, without waiting on a callback to fire,
1603
- // so that the async generator function has the opportunity to do
1604
- // any necessary setup in a predictable way. This predictability
1605
- // is why the Promise constructor synchronously invokes its
1606
- // executor callback, and why async functions synchronously
1607
- // execute code before the first await. Since we implement simple
1608
- // async functions in terms of async generators, it is especially
1609
- // important to get this right, even though it requires care.
1610
- previousPromise ? previousPromise.then(
1611
- callInvokeWithMethodAndArg,
1612
- // Avoid propagating failures to Promises returned by later
1613
- // invocations of the iterator.
1614
- callInvokeWithMethodAndArg
1615
- ) : callInvokeWithMethodAndArg();
1616
- }
1617
-
1618
- // Define the unified helper method that is used to implement .next,
1619
- // .throw, and .return (see defineIteratorMethods).
1620
- this._invoke = enqueue;
1621
- }
1622
-
1623
- defineIteratorMethods(AsyncIterator.prototype);
1624
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
1625
- return this;
1626
- });
1627
- exports.AsyncIterator = AsyncIterator;
1628
-
1629
- // Note that simple async functions are implemented on top of
1630
- // AsyncIterator objects; they just return a Promise for the value of
1631
- // the final result produced by the iterator.
1632
- exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
1633
- if (PromiseImpl === void 0) PromiseImpl = Promise;
1634
-
1635
- var iter = new AsyncIterator(
1636
- wrap(innerFn, outerFn, self, tryLocsList),
1637
- PromiseImpl
1638
- );
1639
-
1640
- return exports.isGeneratorFunction(outerFn)
1641
- ? iter // If outerFn is a generator, return the full iterator.
1642
- : iter.next().then(function(result) {
1643
- return result.done ? result.value : iter.next();
1644
- });
1645
- };
1646
-
1647
- function makeInvokeMethod(innerFn, self, context) {
1648
- var state = GenStateSuspendedStart;
1649
-
1650
- return function invoke(method, arg) {
1651
- if (state === GenStateExecuting) {
1652
- throw new Error("Generator is already running");
1653
- }
1654
-
1655
- if (state === GenStateCompleted) {
1656
- if (method === "throw") {
1657
- throw arg;
1658
- }
1659
-
1660
- // Be forgiving, per 25.3.3.3.3 of the spec:
1661
- // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
1662
- return doneResult();
1663
- }
1664
-
1665
- context.method = method;
1666
- context.arg = arg;
1667
-
1668
- while (true) {
1669
- var delegate = context.delegate;
1670
- if (delegate) {
1671
- var delegateResult = maybeInvokeDelegate(delegate, context);
1672
- if (delegateResult) {
1673
- if (delegateResult === ContinueSentinel) continue;
1674
- return delegateResult;
1675
- }
1676
- }
1677
-
1678
- if (context.method === "next") {
1679
- // Setting context._sent for legacy support of Babel's
1680
- // function.sent implementation.
1681
- context.sent = context._sent = context.arg;
1682
-
1683
- } else if (context.method === "throw") {
1684
- if (state === GenStateSuspendedStart) {
1685
- state = GenStateCompleted;
1686
- throw context.arg;
1687
- }
1688
-
1689
- context.dispatchException(context.arg);
1690
-
1691
- } else if (context.method === "return") {
1692
- context.abrupt("return", context.arg);
1693
- }
1694
-
1695
- state = GenStateExecuting;
1696
-
1697
- var record = tryCatch(innerFn, self, context);
1698
- if (record.type === "normal") {
1699
- // If an exception is thrown from innerFn, we leave state ===
1700
- // GenStateExecuting and loop back for another invocation.
1701
- state = context.done
1702
- ? GenStateCompleted
1703
- : GenStateSuspendedYield;
1704
-
1705
- if (record.arg === ContinueSentinel) {
1706
- continue;
1707
- }
1708
-
1709
- return {
1710
- value: record.arg,
1711
- done: context.done
1712
- };
1713
-
1714
- } else if (record.type === "throw") {
1715
- state = GenStateCompleted;
1716
- // Dispatch the exception by looping back around to the
1717
- // context.dispatchException(context.arg) call above.
1718
- context.method = "throw";
1719
- context.arg = record.arg;
1720
- }
1721
- }
1722
- };
1723
- }
1724
-
1725
- // Call delegate.iterator[context.method](context.arg) and handle the
1726
- // result, either by returning a { value, done } result from the
1727
- // delegate iterator, or by modifying context.method and context.arg,
1728
- // setting context.delegate to null, and returning the ContinueSentinel.
1729
- function maybeInvokeDelegate(delegate, context) {
1730
- var method = delegate.iterator[context.method];
1731
- if (method === undefined$1) {
1732
- // A .throw or .return when the delegate iterator has no .throw
1733
- // method always terminates the yield* loop.
1734
- context.delegate = null;
1735
-
1736
- if (context.method === "throw") {
1737
- // Note: ["return"] must be used for ES3 parsing compatibility.
1738
- if (delegate.iterator["return"]) {
1739
- // If the delegate iterator has a return method, give it a
1740
- // chance to clean up.
1741
- context.method = "return";
1742
- context.arg = undefined$1;
1743
- maybeInvokeDelegate(delegate, context);
1744
-
1745
- if (context.method === "throw") {
1746
- // If maybeInvokeDelegate(context) changed context.method from
1747
- // "return" to "throw", let that override the TypeError below.
1748
- return ContinueSentinel;
1749
- }
1750
- }
1751
-
1752
- context.method = "throw";
1753
- context.arg = new TypeError(
1754
- "The iterator does not provide a 'throw' method");
1755
- }
1756
-
1757
- return ContinueSentinel;
1758
- }
1759
-
1760
- var record = tryCatch(method, delegate.iterator, context.arg);
1761
-
1762
- if (record.type === "throw") {
1763
- context.method = "throw";
1764
- context.arg = record.arg;
1765
- context.delegate = null;
1766
- return ContinueSentinel;
1767
- }
1768
-
1769
- var info = record.arg;
1770
-
1771
- if (! info) {
1772
- context.method = "throw";
1773
- context.arg = new TypeError("iterator result is not an object");
1774
- context.delegate = null;
1775
- return ContinueSentinel;
1776
- }
1777
-
1778
- if (info.done) {
1779
- // Assign the result of the finished delegate to the temporary
1780
- // variable specified by delegate.resultName (see delegateYield).
1781
- context[delegate.resultName] = info.value;
1782
-
1783
- // Resume execution at the desired location (see delegateYield).
1784
- context.next = delegate.nextLoc;
1785
-
1786
- // If context.method was "throw" but the delegate handled the
1787
- // exception, let the outer generator proceed normally. If
1788
- // context.method was "next", forget context.arg since it has been
1789
- // "consumed" by the delegate iterator. If context.method was
1790
- // "return", allow the original .return call to continue in the
1791
- // outer generator.
1792
- if (context.method !== "return") {
1793
- context.method = "next";
1794
- context.arg = undefined$1;
1795
- }
1796
-
1797
- } else {
1798
- // Re-yield the result returned by the delegate method.
1799
- return info;
1800
- }
1801
-
1802
- // The delegate iterator is finished, so forget it and continue with
1803
- // the outer generator.
1804
- context.delegate = null;
1805
- return ContinueSentinel;
1806
- }
1807
-
1808
- // Define Generator.prototype.{next,throw,return} in terms of the
1809
- // unified ._invoke helper method.
1810
- defineIteratorMethods(Gp);
1811
-
1812
- define(Gp, toStringTagSymbol, "Generator");
1813
-
1814
- // A Generator should always return itself as the iterator object when the
1815
- // @@iterator function is called on it. Some browsers' implementations of the
1816
- // iterator prototype chain incorrectly implement this, causing the Generator
1817
- // object to not be returned from this call. This ensures that doesn't happen.
1818
- // See https://github.com/facebook/regenerator/issues/274 for more details.
1819
- define(Gp, iteratorSymbol, function() {
1820
- return this;
1821
- });
1822
-
1823
- define(Gp, "toString", function() {
1824
- return "[object Generator]";
1825
- });
1826
-
1827
- function pushTryEntry(locs) {
1828
- var entry = { tryLoc: locs[0] };
1829
-
1830
- if (1 in locs) {
1831
- entry.catchLoc = locs[1];
1832
- }
1833
-
1834
- if (2 in locs) {
1835
- entry.finallyLoc = locs[2];
1836
- entry.afterLoc = locs[3];
1837
- }
1838
-
1839
- this.tryEntries.push(entry);
1840
- }
1841
-
1842
- function resetTryEntry(entry) {
1843
- var record = entry.completion || {};
1844
- record.type = "normal";
1845
- delete record.arg;
1846
- entry.completion = record;
1847
- }
1848
-
1849
- function Context(tryLocsList) {
1850
- // The root entry object (effectively a try statement without a catch
1851
- // or a finally block) gives us a place to store values thrown from
1852
- // locations where there is no enclosing try statement.
1853
- this.tryEntries = [{ tryLoc: "root" }];
1854
- tryLocsList.forEach(pushTryEntry, this);
1855
- this.reset(true);
1856
- }
1857
-
1858
- exports.keys = function(object) {
1859
- var keys = [];
1860
- for (var key in object) {
1861
- keys.push(key);
1862
- }
1863
- keys.reverse();
1864
-
1865
- // Rather than returning an object with a next method, we keep
1866
- // things simple and return the next function itself.
1867
- return function next() {
1868
- while (keys.length) {
1869
- var key = keys.pop();
1870
- if (key in object) {
1871
- next.value = key;
1872
- next.done = false;
1873
- return next;
1874
- }
1875
- }
1876
-
1877
- // To avoid creating an additional object, we just hang the .value
1878
- // and .done properties off the next function object itself. This
1879
- // also ensures that the minifier will not anonymize the function.
1880
- next.done = true;
1881
- return next;
1882
- };
1883
- };
1884
-
1885
- function values(iterable) {
1886
- if (iterable) {
1887
- var iteratorMethod = iterable[iteratorSymbol];
1888
- if (iteratorMethod) {
1889
- return iteratorMethod.call(iterable);
1890
- }
1891
-
1892
- if (typeof iterable.next === "function") {
1893
- return iterable;
1894
- }
1895
-
1896
- if (!isNaN(iterable.length)) {
1897
- var i = -1, next = function next() {
1898
- while (++i < iterable.length) {
1899
- if (hasOwn.call(iterable, i)) {
1900
- next.value = iterable[i];
1901
- next.done = false;
1902
- return next;
1903
- }
1904
- }
1905
-
1906
- next.value = undefined$1;
1907
- next.done = true;
1908
-
1909
- return next;
1910
- };
1911
-
1912
- return next.next = next;
1913
- }
1914
- }
1915
-
1916
- // Return an iterator with no values.
1917
- return { next: doneResult };
1918
- }
1919
- exports.values = values;
1920
-
1921
- function doneResult() {
1922
- return { value: undefined$1, done: true };
1923
- }
1924
-
1925
- Context.prototype = {
1926
- constructor: Context,
1927
-
1928
- reset: function(skipTempReset) {
1929
- this.prev = 0;
1930
- this.next = 0;
1931
- // Resetting context._sent for legacy support of Babel's
1932
- // function.sent implementation.
1933
- this.sent = this._sent = undefined$1;
1934
- this.done = false;
1935
- this.delegate = null;
1936
-
1937
- this.method = "next";
1938
- this.arg = undefined$1;
1939
-
1940
- this.tryEntries.forEach(resetTryEntry);
1941
-
1942
- if (!skipTempReset) {
1943
- for (var name in this) {
1944
- // Not sure about the optimal order of these conditions:
1945
- if (name.charAt(0) === "t" &&
1946
- hasOwn.call(this, name) &&
1947
- !isNaN(+name.slice(1))) {
1948
- this[name] = undefined$1;
1949
- }
1950
- }
1951
- }
1952
- },
1953
-
1954
- stop: function() {
1955
- this.done = true;
1956
-
1957
- var rootEntry = this.tryEntries[0];
1958
- var rootRecord = rootEntry.completion;
1959
- if (rootRecord.type === "throw") {
1960
- throw rootRecord.arg;
1961
- }
1962
-
1963
- return this.rval;
1964
- },
1965
-
1966
- dispatchException: function(exception) {
1967
- if (this.done) {
1968
- throw exception;
1969
- }
1970
-
1971
- var context = this;
1972
- function handle(loc, caught) {
1973
- record.type = "throw";
1974
- record.arg = exception;
1975
- context.next = loc;
1976
-
1977
- if (caught) {
1978
- // If the dispatched exception was caught by a catch block,
1979
- // then let that catch block handle the exception normally.
1980
- context.method = "next";
1981
- context.arg = undefined$1;
1982
- }
1983
-
1984
- return !! caught;
1985
- }
1986
-
1987
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
1988
- var entry = this.tryEntries[i];
1989
- var record = entry.completion;
1990
-
1991
- if (entry.tryLoc === "root") {
1992
- // Exception thrown outside of any try block that could handle
1993
- // it, so set the completion value of the entire function to
1994
- // throw the exception.
1995
- return handle("end");
1996
- }
1997
-
1998
- if (entry.tryLoc <= this.prev) {
1999
- var hasCatch = hasOwn.call(entry, "catchLoc");
2000
- var hasFinally = hasOwn.call(entry, "finallyLoc");
2001
-
2002
- if (hasCatch && hasFinally) {
2003
- if (this.prev < entry.catchLoc) {
2004
- return handle(entry.catchLoc, true);
2005
- } else if (this.prev < entry.finallyLoc) {
2006
- return handle(entry.finallyLoc);
2007
- }
2008
-
2009
- } else if (hasCatch) {
2010
- if (this.prev < entry.catchLoc) {
2011
- return handle(entry.catchLoc, true);
2012
- }
2013
-
2014
- } else if (hasFinally) {
2015
- if (this.prev < entry.finallyLoc) {
2016
- return handle(entry.finallyLoc);
2017
- }
2018
-
2019
- } else {
2020
- throw new Error("try statement without catch or finally");
2021
- }
2022
- }
2023
- }
2024
- },
2025
-
2026
- abrupt: function(type, arg) {
2027
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2028
- var entry = this.tryEntries[i];
2029
- if (entry.tryLoc <= this.prev &&
2030
- hasOwn.call(entry, "finallyLoc") &&
2031
- this.prev < entry.finallyLoc) {
2032
- var finallyEntry = entry;
2033
- break;
2034
- }
2035
- }
2036
-
2037
- if (finallyEntry &&
2038
- (type === "break" ||
2039
- type === "continue") &&
2040
- finallyEntry.tryLoc <= arg &&
2041
- arg <= finallyEntry.finallyLoc) {
2042
- // Ignore the finally entry if control is not jumping to a
2043
- // location outside the try/catch block.
2044
- finallyEntry = null;
2045
- }
2046
-
2047
- var record = finallyEntry ? finallyEntry.completion : {};
2048
- record.type = type;
2049
- record.arg = arg;
2050
-
2051
- if (finallyEntry) {
2052
- this.method = "next";
2053
- this.next = finallyEntry.finallyLoc;
2054
- return ContinueSentinel;
2055
- }
2056
-
2057
- return this.complete(record);
2058
- },
2059
-
2060
- complete: function(record, afterLoc) {
2061
- if (record.type === "throw") {
2062
- throw record.arg;
2063
- }
2064
-
2065
- if (record.type === "break" ||
2066
- record.type === "continue") {
2067
- this.next = record.arg;
2068
- } else if (record.type === "return") {
2069
- this.rval = this.arg = record.arg;
2070
- this.method = "return";
2071
- this.next = "end";
2072
- } else if (record.type === "normal" && afterLoc) {
2073
- this.next = afterLoc;
2074
- }
2075
-
2076
- return ContinueSentinel;
2077
- },
2078
-
2079
- finish: function(finallyLoc) {
2080
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2081
- var entry = this.tryEntries[i];
2082
- if (entry.finallyLoc === finallyLoc) {
2083
- this.complete(entry.completion, entry.afterLoc);
2084
- resetTryEntry(entry);
2085
- return ContinueSentinel;
2086
- }
2087
- }
2088
- },
2089
-
2090
- "catch": function(tryLoc) {
2091
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2092
- var entry = this.tryEntries[i];
2093
- if (entry.tryLoc === tryLoc) {
2094
- var record = entry.completion;
2095
- if (record.type === "throw") {
2096
- var thrown = record.arg;
2097
- resetTryEntry(entry);
2098
- }
2099
- return thrown;
2100
- }
2101
- }
2102
-
2103
- // The context.catch method must only be called with a location
2104
- // argument that corresponds to a known catch block.
2105
- throw new Error("illegal catch attempt");
2106
- },
2107
-
2108
- delegateYield: function(iterable, resultName, nextLoc) {
2109
- this.delegate = {
2110
- iterator: values(iterable),
2111
- resultName: resultName,
2112
- nextLoc: nextLoc
2113
- };
2114
-
2115
- if (this.method === "next") {
2116
- // Deliberately forget the last sent value so that we don't
2117
- // accidentally pass it on to the delegate.
2118
- this.arg = undefined$1;
2119
- }
2120
-
2121
- return ContinueSentinel;
2122
- }
2123
- };
2124
-
2125
- // Regardless of whether this script is executing as a CommonJS module
2126
- // or not, return the runtime object so that we can declare the variable
2127
- // regeneratorRuntime in the outer scope, which allows this module to be
2128
- // injected easily by `bin/regenerator --include-runtime script.js`.
2129
- return exports;
2130
-
2131
- }(
2132
- // If this script is executing as a CommonJS module, use module.exports
2133
- // as the regeneratorRuntime namespace. Otherwise create a new empty
2134
- // object. Either way, the resulting object will be used to initialize
2135
- // the regeneratorRuntime variable at the top of this file.
2136
- module.exports
2137
- ));
2138
-
2139
- try {
2140
- regeneratorRuntime = runtime;
2141
- } catch (accidentalStrictMode) {
2142
- // This module should not be running in strict mode, so the above
2143
- // assignment should always work unless something is misconfigured. Just
2144
- // in case runtime.js accidentally runs in strict mode, in modern engines
2145
- // we can explicitly access globalThis. In older engines we can escape
2146
- // strict mode using a global Function call. This could conceivably fail
2147
- // if a Content Security Policy forbids using Function, but in that case
2148
- // the proper solution is to fix the accidental strict mode problem. If
2149
- // you've misconfigured your bundler to force strict mode and applied a
2150
- // CSP to forbid Function, and you're not willing to fix either of those
2151
- // problems, please detail your unique predicament in a GitHub issue.
2152
- if (typeof globalThis === "object") {
2153
- globalThis.regeneratorRuntime = runtime;
2154
- } else {
2155
- Function("r", "regeneratorRuntime = r")(runtime);
2156
- }
2157
- }
2158
- });
2159
-
2160
- /**
2161
- * A specialized version of `_.reduce` for arrays without support for
2162
- * iteratee shorthands.
2163
- *
2164
- * @private
2165
- * @param {Array} [array] The array to iterate over.
2166
- * @param {Function} iteratee The function invoked per iteration.
2167
- * @param {*} [accumulator] The initial value.
2168
- * @param {boolean} [initAccum] Specify using the first element of `array` as
2169
- * the initial value.
2170
- * @returns {*} Returns the accumulated value.
2171
- */
2172
- function arrayReduce(array, iteratee, accumulator, initAccum) {
2173
- var index = -1,
2174
- length = array == null ? 0 : array.length;
2175
-
2176
- if (initAccum && length) {
2177
- accumulator = array[++index];
2178
- }
2179
- while (++index < length) {
2180
- accumulator = iteratee(accumulator, array[index], index, array);
2181
- }
2182
- return accumulator;
2183
- }
2184
-
2185
- var _arrayReduce = arrayReduce;
2186
-
2187
- /**
2188
- * The base implementation of `_.propertyOf` without support for deep paths.
2189
- *
2190
- * @private
2191
- * @param {Object} object The object to query.
2192
- * @returns {Function} Returns the new accessor function.
2193
- */
2194
- function basePropertyOf(object) {
2195
- return function(key) {
2196
- return object == null ? undefined : object[key];
2197
- };
2198
- }
2199
-
2200
- var _basePropertyOf = basePropertyOf;
2201
-
2202
- /** Used to map Latin Unicode letters to basic Latin letters. */
2203
- var deburredLetters = {
2204
- // Latin-1 Supplement block.
2205
- '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
2206
- '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
2207
- '\xc7': 'C', '\xe7': 'c',
2208
- '\xd0': 'D', '\xf0': 'd',
2209
- '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
2210
- '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
2211
- '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
2212
- '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
2213
- '\xd1': 'N', '\xf1': 'n',
2214
- '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
2215
- '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
2216
- '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
2217
- '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
2218
- '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
2219
- '\xc6': 'Ae', '\xe6': 'ae',
2220
- '\xde': 'Th', '\xfe': 'th',
2221
- '\xdf': 'ss',
2222
- // Latin Extended-A block.
2223
- '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
2224
- '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
2225
- '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
2226
- '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
2227
- '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
2228
- '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
2229
- '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
2230
- '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
2231
- '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
2232
- '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
2233
- '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
2234
- '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
2235
- '\u0134': 'J', '\u0135': 'j',
2236
- '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
2237
- '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
2238
- '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
2239
- '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
2240
- '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
2241
- '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
2242
- '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
2243
- '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
2244
- '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
2245
- '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
2246
- '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
2247
- '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
2248
- '\u0163': 't', '\u0165': 't', '\u0167': 't',
2249
- '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
2250
- '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
2251
- '\u0174': 'W', '\u0175': 'w',
2252
- '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
2253
- '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
2254
- '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
2255
- '\u0132': 'IJ', '\u0133': 'ij',
2256
- '\u0152': 'Oe', '\u0153': 'oe',
2257
- '\u0149': "'n", '\u017f': 's'
2258
- };
2259
-
2260
- /**
2261
- * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
2262
- * letters to basic Latin letters.
2263
- *
2264
- * @private
2265
- * @param {string} letter The matched letter to deburr.
2266
- * @returns {string} Returns the deburred letter.
2267
- */
2268
- var deburrLetter = _basePropertyOf(deburredLetters);
2269
-
2270
- var _deburrLetter = deburrLetter;
2271
-
2272
- /** Used to match Latin Unicode letters (excluding mathematical operators). */
2273
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
2274
-
2275
- /** Used to compose unicode character classes. */
2276
- var rsComboMarksRange$1 = '\\u0300-\\u036f',
2277
- reComboHalfMarksRange$1 = '\\ufe20-\\ufe2f',
2278
- rsComboSymbolsRange$1 = '\\u20d0-\\u20ff',
2279
- rsComboRange$1 = rsComboMarksRange$1 + reComboHalfMarksRange$1 + rsComboSymbolsRange$1;
2280
-
2281
- /** Used to compose unicode capture groups. */
2282
- var rsCombo$1 = '[' + rsComboRange$1 + ']';
2283
-
2284
- /**
2285
- * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
2286
- * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
2287
- */
2288
- var reComboMark = RegExp(rsCombo$1, 'g');
2289
-
2290
- /**
2291
- * Deburrs `string` by converting
2292
- * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
2293
- * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
2294
- * letters to basic Latin letters and removing
2295
- * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
2296
- *
2297
- * @static
2298
- * @memberOf _
2299
- * @since 3.0.0
2300
- * @category String
2301
- * @param {string} [string=''] The string to deburr.
2302
- * @returns {string} Returns the deburred string.
2303
- * @example
2304
- *
2305
- * _.deburr('déjà vu');
2306
- * // => 'deja vu'
2307
- */
2308
- function deburr(string) {
2309
- string = toString_1(string);
2310
- return string && string.replace(reLatin, _deburrLetter).replace(reComboMark, '');
2311
- }
2312
-
2313
- var deburr_1 = deburr;
2314
-
2315
- /** Used to match words composed of alphanumeric characters. */
2316
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
2317
-
2318
- /**
2319
- * Splits an ASCII `string` into an array of its words.
2320
- *
2321
- * @private
2322
- * @param {string} The string to inspect.
2323
- * @returns {Array} Returns the words of `string`.
2324
- */
2325
- function asciiWords(string) {
2326
- return string.match(reAsciiWord) || [];
2327
- }
2328
-
2329
- var _asciiWords = asciiWords;
2330
-
2331
- /** Used to detect strings that need a more robust regexp to match words. */
2332
- 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 ]/;
2333
-
2334
- /**
2335
- * Checks if `string` contains a word composed of Unicode symbols.
2336
- *
2337
- * @private
2338
- * @param {string} string The string to inspect.
2339
- * @returns {boolean} Returns `true` if a word is found, else `false`.
2340
- */
2341
- function hasUnicodeWord(string) {
2342
- return reHasUnicodeWord.test(string);
2343
- }
2344
-
2345
- var _hasUnicodeWord = hasUnicodeWord;
2346
-
2347
- /** Used to compose unicode character classes. */
2348
- var rsAstralRange = '\\ud800-\\udfff',
2349
- rsComboMarksRange = '\\u0300-\\u036f',
2350
- reComboHalfMarksRange = '\\ufe20-\\ufe2f',
2351
- rsComboSymbolsRange = '\\u20d0-\\u20ff',
2352
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
2353
- rsDingbatRange = '\\u2700-\\u27bf',
2354
- rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
2355
- rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
2356
- rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
2357
- rsPunctuationRange = '\\u2000-\\u206f',
2358
- 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',
2359
- rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
2360
- rsVarRange = '\\ufe0e\\ufe0f',
2361
- rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
2362
-
2363
- /** Used to compose unicode capture groups. */
2364
- var rsApos$1 = "['\u2019]",
2365
- rsBreak = '[' + rsBreakRange + ']',
2366
- rsCombo = '[' + rsComboRange + ']',
2367
- rsDigits = '\\d+',
2368
- rsDingbat = '[' + rsDingbatRange + ']',
2369
- rsLower = '[' + rsLowerRange + ']',
2370
- rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
2371
- rsFitz = '\\ud83c[\\udffb-\\udfff]',
2372
- rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
2373
- rsNonAstral = '[^' + rsAstralRange + ']',
2374
- rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
2375
- rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
2376
- rsUpper = '[' + rsUpperRange + ']',
2377
- rsZWJ = '\\u200d';
2378
-
2379
- /** Used to compose unicode regexes. */
2380
- var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',
2381
- rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',
2382
- rsOptContrLower = '(?:' + rsApos$1 + '(?:d|ll|m|re|s|t|ve))?',
2383
- rsOptContrUpper = '(?:' + rsApos$1 + '(?:D|LL|M|RE|S|T|VE))?',
2384
- reOptMod = rsModifier + '?',
2385
- rsOptVar = '[' + rsVarRange + ']?',
2386
- rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
2387
- rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])',
2388
- rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])',
2389
- rsSeq = rsOptVar + reOptMod + rsOptJoin,
2390
- rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;
2391
-
2392
- /** Used to match complex or compound words. */
2393
- var reUnicodeWord = RegExp([
2394
- rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
2395
- rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',
2396
- rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,
2397
- rsUpper + '+' + rsOptContrUpper,
2398
- rsOrdUpper,
2399
- rsOrdLower,
2400
- rsDigits,
2401
- rsEmoji
2402
- ].join('|'), 'g');
2403
-
2404
- /**
2405
- * Splits a Unicode `string` into an array of its words.
2406
- *
2407
- * @private
2408
- * @param {string} The string to inspect.
2409
- * @returns {Array} Returns the words of `string`.
2410
- */
2411
- function unicodeWords(string) {
2412
- return string.match(reUnicodeWord) || [];
2413
- }
2414
-
2415
- var _unicodeWords = unicodeWords;
2416
-
2417
- /**
2418
- * Splits `string` into an array of its words.
2419
- *
2420
- * @static
2421
- * @memberOf _
2422
- * @since 3.0.0
2423
- * @category String
2424
- * @param {string} [string=''] The string to inspect.
2425
- * @param {RegExp|string} [pattern] The pattern to match words.
2426
- * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
2427
- * @returns {Array} Returns the words of `string`.
2428
- * @example
2429
- *
2430
- * _.words('fred, barney, & pebbles');
2431
- * // => ['fred', 'barney', 'pebbles']
2432
- *
2433
- * _.words('fred, barney, & pebbles', /[^, ]+/g);
2434
- * // => ['fred', 'barney', '&', 'pebbles']
2435
- */
2436
- function words(string, pattern, guard) {
2437
- string = toString_1(string);
2438
- pattern = guard ? undefined : pattern;
2439
-
2440
- if (pattern === undefined) {
2441
- return _hasUnicodeWord(string) ? _unicodeWords(string) : _asciiWords(string);
2442
- }
2443
- return string.match(pattern) || [];
2444
- }
2445
-
2446
- var words_1 = words;
2447
-
2448
- /** Used to compose unicode capture groups. */
2449
- var rsApos = "['\u2019]";
2450
-
2451
- /** Used to match apostrophes. */
2452
- var reApos = RegExp(rsApos, 'g');
2453
-
2454
- /**
2455
- * Creates a function like `_.camelCase`.
2456
- *
2457
- * @private
2458
- * @param {Function} callback The function to combine each word.
2459
- * @returns {Function} Returns the new compounder function.
2460
- */
2461
- function createCompounder(callback) {
2462
- return function(string) {
2463
- return _arrayReduce(words_1(deburr_1(string).replace(reApos, '')), callback, '');
2464
- };
2465
- }
2466
-
2467
- var _createCompounder = createCompounder;
2468
-
2469
- /**
2470
- * Converts `string`, as space separated words, to upper case.
2471
- *
2472
- * @static
2473
- * @memberOf _
2474
- * @since 4.0.0
2475
- * @category String
2476
- * @param {string} [string=''] The string to convert.
2477
- * @returns {string} Returns the upper cased string.
2478
- * @example
2479
- *
2480
- * _.upperCase('--foo-bar');
2481
- * // => 'FOO BAR'
2482
- *
2483
- * _.upperCase('fooBar');
2484
- * // => 'FOO BAR'
2485
- *
2486
- * _.upperCase('__foo_bar__');
2487
- * // => 'FOO BAR'
2488
- */
2489
- var upperCase = _createCompounder(function(result, word, index) {
2490
- return result + (index ? ' ' : '') + word.toUpperCase();
2491
- });
2492
-
2493
- var upperCase_1 = upperCase;
2494
-
2495
- /**
2496
- * Converts `string`, as space separated words, to lower case.
2497
- *
2498
- * @static
2499
- * @memberOf _
2500
- * @since 4.0.0
2501
- * @category String
2502
- * @param {string} [string=''] The string to convert.
2503
- * @returns {string} Returns the lower cased string.
2504
- * @example
2505
- *
2506
- * _.lowerCase('--Foo-Bar--');
2507
- * // => 'foo bar'
2508
- *
2509
- * _.lowerCase('fooBar');
2510
- * // => 'foo bar'
2511
- *
2512
- * _.lowerCase('__FOO_BAR__');
2513
- * // => 'foo bar'
2514
- */
2515
- var lowerCase = _createCompounder(function(result, word, index) {
2516
- return result + (index ? ' ' : '') + word.toLowerCase();
2517
- });
2518
-
2519
- var lowerCase_1 = lowerCase;
2520
-
2521
66
  function truncate() {
2522
67
  var string = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
2523
68
  var limit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 60;
@@ -2544,7 +89,7 @@ var timestampToFormat = function timestampToFormat(value, unit, suffix, timestam
2544
89
  var localizedMonth = month;
2545
90
 
2546
91
  if (isUpperCase) {
2547
- localizedMonth = upperCase_1(month);
92
+ localizedMonth = lodash.upperCase(month);
2548
93
  }
2549
94
 
2550
95
  var year = dateTime.getFullYear();
@@ -2557,7 +102,7 @@ var timestampToFormat = function timestampToFormat(value, unit, suffix, timestam
2557
102
  var timetoShow;
2558
103
 
2559
104
  if (localizedMonths) {
2560
- localizedMonth = get_1(localizedMonths, [lowerCase_1(month)]) || month;
105
+ localizedMonth = lodash.get(localizedMonths, [lodash.lowerCase(month)]) || month;
2561
106
  }
2562
107
 
2563
108
  if (localizedMeridiem) {
@@ -2587,17 +132,17 @@ function formatter(value, unit, suffix, date, config) {
2587
132
  var showDateForUnits = ["day", "week", "month", "year"]; // suffix here refers to ago
2588
133
  // unit here refers to seconds, minute, minutes,...
2589
134
 
2590
- var localizedSuffix = get_1(config, ["localizedPublishTime", suffix]) || suffix;
135
+ var localizedSuffix = lodash.get(config, ["localizedPublishTime", suffix]) || suffix;
2591
136
  var localizedUnitOfTime;
2592
137
 
2593
138
  if (unit === "hour" && value > 23 || showDateForUnits.indexOf(unit) !== -1) {
2594
139
  return timestampToFormat(value, unit, suffix, date, config);
2595
140
  } else if (value > 1) {
2596
- localizedUnitOfTime = get_1(config, ["localizedPublishTime", "".concat(unit, "s")]) || "".concat(unit, "s");
141
+ localizedUnitOfTime = lodash.get(config, ["localizedPublishTime", "".concat(unit, "s")]) || "".concat(unit, "s");
2597
142
  return "".concat(value, " ").concat(localizedUnitOfTime, " ").concat(localizedSuffix);
2598
143
  }
2599
144
 
2600
- localizedUnitOfTime = get_1(config, ["localizedPublishTime", unit]) || unit;
145
+ localizedUnitOfTime = lodash.get(config, ["localizedPublishTime", unit]) || unit;
2601
146
  return "".concat(value, " ").concat(localizedUnitOfTime, " ").concat(localizedSuffix, " ");
2602
147
  }
2603
148
 
@@ -2650,10 +195,10 @@ var clientWidths = {
2650
195
  tablet: 1024
2651
196
  };
2652
197
  var clientWidth = function clientWidth(device) {
2653
- var foundDeviceWidth = get_1(clientWidths, device);
198
+ var foundDeviceWidth = lodash.get(clientWidths, device);
2654
199
 
2655
200
  if (foundDeviceWidth) {
2656
- return get_1(global, "document.documentElement.clientWidth") <= foundDeviceWidth;
201
+ return lodash.get(global, "document.documentElement.clientWidth") <= foundDeviceWidth;
2657
202
  }
2658
203
 
2659
204
  return false;
@@ -2683,7 +228,7 @@ var getSlug = function getSlug(collection) {
2683
228
  var isSection = collection.template === "section";
2684
229
 
2685
230
  if (isSection) {
2686
- var sectionId = get_1(collection, ["metadata", "section", "0", "id"], "");
231
+ var sectionId = lodash.get(collection, ["metadata", "section", "0", "id"], "");
2687
232
  var sections = config.sections;
2688
233
  var section = sections && sections.find(function (section) {
2689
234
  return section.id === sectionId;
@@ -2699,11 +244,11 @@ function isExternalStory() {
2699
244
  storyTemplate = _story$storyTemplate === void 0 ? "" : _story$storyTemplate,
2700
245
  _story$metadata = story.metadata,
2701
246
  metadata = _story$metadata === void 0 ? {} : _story$metadata;
2702
- return storyTemplate === "news-elsewhere" ? get_1(metadata, ["reference-url"], "") : "";
247
+ return storyTemplate === "news-elsewhere" ? lodash.get(metadata, ["reference-url"], "") : "";
2703
248
  } // Adds target='_blank' attribute to anchor tags if not present
2704
249
  var isEmpty = function isEmpty(value) {
2705
250
  return value == null || // From standard.js: Always use === - but value == null is allowed to check null || undefined
2706
- _typeof(value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
251
+ _typeof__default["default"](value) === "object" && Object.entries(value).length === 0 && value.constructor === Object || typeof value === "string" && value.trim().length === 0;
2707
252
  };
2708
253
  PropTypes__default["default"].shape({
2709
254
  "sketches-host": PropTypes__default["default"].string,
@@ -2717,7 +262,7 @@ PropTypes__default["default"].shape({
2717
262
  });
2718
263
  var getStoryUrl = function getStoryUrl(story) {
2719
264
  var defaultValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
2720
- return get_1(story, ["story-template"]) === "news-elsewhere" ? get_1(story, ["metadata", "reference-url"], "") : story.url || defaultValue;
265
+ return lodash.get(story, ["story-template"]) === "news-elsewhere" ? lodash.get(story, ["metadata", "reference-url"], "") : story.url || defaultValue;
2721
266
  };
2722
267
  var navigateTo = function navigateTo(dispatch) {
2723
268
  var url = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
@@ -2800,7 +345,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
2800
345
  _ref$navigate = _ref.navigate,
2801
346
  navigate = _ref$navigate === void 0 ? true : _ref$navigate;
2802
347
  var collectionTitle = useStateValue() || {};
2803
- var showRowTitle = get_1(collectionTitle, ["showRowTitle"], true);
348
+ var showRowTitle = lodash.get(collectionTitle, ["showRowTitle"], true);
2804
349
  var supportedTemplates = ["borderLeft", "borderBottom", "crossLine", "borderBottomFull"];
2805
350
  var templateStyle = supportedTemplates.includes(collectionNameTemplate) ? " collection-".concat(collectionNameTemplate) : "";
2806
351
  var slug = navigate && collection && getSlug(collection, config) || "";
@@ -2876,7 +421,7 @@ var CollectionNameBase = function CollectionNameBase(_ref) {
2876
421
  borderBottom: borderBottomFullStyle
2877
422
  },
2878
423
  "data-test-id": "collection-name",
2879
- className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$d)
424
+ className: ("arr--collection-name arrow-component ".concat(templateStyle) ? "arr--collection-name arrow-component ".concat(templateStyle) + " " : "") + _getClassName__default["default"]("collection ".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$d)
2880
425
  }, templateStyle.includes("collection-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
2881
426
  className: "arr-collection-name-border-left collection-name-m_border-left__3_pYw",
2882
427
  style: {
@@ -2913,73 +458,12 @@ CollectionNameBase.defaultProps = {
2913
458
 
2914
459
  function mapStateToProps$1(state) {
2915
460
  return {
2916
- config: get_1(state, ["qt", "config"], {})
461
+ config: lodash.get(state, ["qt", "config"], {})
2917
462
  };
2918
463
  }
2919
464
 
2920
465
  var CollectionName = reactRedux.connect(mapStateToProps$1)(CollectionNameBase);
2921
466
 
2922
- function _arrayWithHoles(arr) {
2923
- if (Array.isArray(arr)) return arr;
2924
- }
2925
-
2926
- function _iterableToArrayLimit(arr, i) {
2927
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
2928
-
2929
- if (_i == null) return;
2930
- var _arr = [];
2931
- var _n = true;
2932
- var _d = false;
2933
-
2934
- var _s, _e;
2935
-
2936
- try {
2937
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
2938
- _arr.push(_s.value);
2939
-
2940
- if (i && _arr.length === i) break;
2941
- }
2942
- } catch (err) {
2943
- _d = true;
2944
- _e = err;
2945
- } finally {
2946
- try {
2947
- if (!_n && _i["return"] != null) _i["return"]();
2948
- } finally {
2949
- if (_d) throw _e;
2950
- }
2951
- }
2952
-
2953
- return _arr;
2954
- }
2955
-
2956
- function _arrayLikeToArray(arr, len) {
2957
- if (len == null || len > arr.length) len = arr.length;
2958
-
2959
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
2960
- arr2[i] = arr[i];
2961
- }
2962
-
2963
- return arr2;
2964
- }
2965
-
2966
- function _unsupportedIterableToArray(o, minLen) {
2967
- if (!o) return;
2968
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
2969
- var n = Object.prototype.toString.call(o).slice(8, -1);
2970
- if (n === "Object" && o.constructor) n = o.constructor.name;
2971
- if (n === "Map" || n === "Set") return Array.from(o);
2972
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
2973
- }
2974
-
2975
- function _nonIterableRest() {
2976
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2977
- }
2978
-
2979
- function _slicedToArray(arr, i) {
2980
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
2981
- }
2982
-
2983
467
  var ImageFallbackIcon = function ImageFallbackIcon(_ref) {
2984
468
  var _ref$width = _ref.width,
2985
469
  width = _ref$width === void 0 ? 40 : _ref$width,
@@ -3120,7 +604,7 @@ var HeroImage = function HeroImage(_ref) {
3120
604
  return null;
3121
605
  } : _config$StoryTemplate;
3122
606
  var showImagePlaceholder = reactRedux.useSelector(function (state) {
3123
- return get_1(state, ["qt", "config", "showPlaceholder"]);
607
+ return lodash.get(state, ["qt", "config", "showPlaceholder"]);
3124
608
  });
3125
609
  var getPlaceholderStyleName = showImagePlaceholder ? "placeholder" : "";
3126
610
  var fullBleed = FullBleed ? "" : "with-padding";
@@ -3129,7 +613,7 @@ var HeroImage = function HeroImage(_ref) {
3129
613
  var heroImageMobClasses = isHorizontalMobile ? "right-padding-mob" : "";
3130
614
 
3131
615
  var getPadding = function getPadding(aspectRatio) {
3132
- var _aspectRatio = _slicedToArray(aspectRatio, 2),
616
+ var _aspectRatio = _slicedToArray__default["default"](aspectRatio, 2),
3133
617
  height = _aspectRatio[0],
3134
618
  width = _aspectRatio[1];
3135
619
 
@@ -3141,7 +625,7 @@ var HeroImage = function HeroImage(_ref) {
3141
625
  return 0;
3142
626
  };
3143
627
 
3144
- var _aspectRatio2 = _slicedToArray(aspectRatio, 2),
628
+ var _aspectRatio2 = _slicedToArray__default["default"](aspectRatio, 2),
3145
629
  mobileAspectRatio = _aspectRatio2[0],
3146
630
  _aspectRatio2$ = _aspectRatio2[1],
3147
631
  desktopAspectRatio = _aspectRatio2$ === void 0 ? mobileAspectRatio : _aspectRatio2$;
@@ -3149,8 +633,8 @@ var HeroImage = function HeroImage(_ref) {
3149
633
  var isMobile = clientWidth("mobile");
3150
634
  var imageAspectRatio = isMobile ? mobileAspectRatio : desktopAspectRatio;
3151
635
  var imagePadding = isMobile ? getPadding(mobileAspectRatio) : getPadding(desktopAspectRatio);
3152
- var slug = get_1(story, ["hero-image-s3-key"]) || get_1(story, ["alternative", "home", "default", "hero-image", "hero-image-s3-key"]);
3153
- var hyperLink = get_1(story, ["hero-image-hyperlink"], "");
636
+ var slug = lodash.get(story, ["hero-image-s3-key"]) || lodash.get(story, ["alternative", "home", "default", "hero-image", "hero-image-s3-key"]);
637
+ var hyperLink = lodash.get(story, ["hero-image-hyperlink"], "");
3154
638
 
3155
639
  var fallbackImage = function fallbackImage() {
3156
640
  if (!slug) {
@@ -3159,7 +643,7 @@ var HeroImage = function HeroImage(_ref) {
3159
643
  style: {
3160
644
  paddingTop: imagePadding + "%"
3161
645
  },
3162
- className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$c)
646
+ className: "arr--responsive-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$c)
3163
647
  }, /*#__PURE__*/React__default["default"].createElement("img", {
3164
648
  className: "qt-image",
3165
649
  "data-src": "".concat(fallbackImageUrl),
@@ -3172,7 +656,7 @@ var HeroImage = function HeroImage(_ref) {
3172
656
  style: {
3173
657
  paddingTop: imagePadding + "%"
3174
658
  },
3175
- className: "arr--fallback-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$c)
659
+ className: "arr--fallback-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$c)
3176
660
  }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
3177
661
  storyTemplate: story["story-template"]
3178
662
  }), /*#__PURE__*/React__default["default"].createElement(FallbackImage, null)) : null);
@@ -3182,7 +666,7 @@ var HeroImage = function HeroImage(_ref) {
3182
666
  style: {
3183
667
  paddingTop: imagePadding + "%"
3184
668
  },
3185
- className: "arr--responsive-hero-image " + _getClassName("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$c)
669
+ className: "arr--responsive-hero-image " + _getClassName__default["default"]("image ".concat(getPlaceholderStyleName), _styleModuleImportMap$c)
3186
670
  }, /*#__PURE__*/React__default["default"].createElement(StoryTemplateIcon, {
3187
671
  storyTemplate: story["story-template"]
3188
672
  }), /*#__PURE__*/React__default["default"].createElement(components.ResponsiveHeroImage, {
@@ -3201,13 +685,13 @@ var HeroImage = function HeroImage(_ref) {
3201
685
 
3202
686
  return story && (isStoryPageImage ? /*#__PURE__*/React__default["default"].createElement("div", {
3203
687
  "data-test-id": "arr--hero-image",
3204
- className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$c)
688
+ className: "arr--hero-image " + _getClassName__default["default"]("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$c)
3205
689
  }, fallbackImage()) : /*#__PURE__*/React__default["default"].createElement(components.Link, {
3206
690
  "data-test-id": "arr--hero-image",
3207
691
  href: getStoryUrl(story, "/".concat(story.slug)),
3208
692
  externalLink: isExternalStory(story),
3209
693
  "aria-label": "fallback-hero-image",
3210
- className: "arr--hero-image " + _getClassName("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$c)
694
+ className: "arr--hero-image " + _getClassName__default["default"]("".concat(heroImageClass, " ").concat(fullBleed, " ").concat(heroImageMobClasses), _styleModuleImportMap$c)
3211
695
  }, fallbackImage()));
3212
696
  };
3213
697
  HeroImage.propTypes = {
@@ -3484,8 +968,8 @@ var Headline = function Headline(_ref) {
3484
968
  enablePremiumStoryIcon = _premiumStoryIconConf3 === void 0 ? false : _premiumStoryIconConf3,
3485
969
  _premiumStoryIconConf4 = premiumStoryIconConfig.showLiveIcon,
3486
970
  showLiveIcon = _premiumStoryIconConf4 === void 0 ? false : _premiumStoryIconConf4;
3487
- var alternateHeadline = get_1(story, ["alternative", "home", "default", "headline"]);
3488
- var premiumStory = enablePremiumStoryIcon && get_1(story, ["access"]) === "subscription";
971
+ var alternateHeadline = lodash.get(story, ["alternative", "home", "default", "headline"]);
972
+ var premiumStory = enablePremiumStoryIcon && lodash.get(story, ["access"]) === "subscription";
3489
973
  var headline = alternateHeadline || story.headline;
3490
974
  var HeaderTag = "h" + headerLevel;
3491
975
 
@@ -3511,10 +995,10 @@ var Headline = function Headline(_ref) {
3511
995
  var textColor = getTextColor(configData.theme);
3512
996
  var wrapperClass = premiumStory ? "wrapper" : "";
3513
997
  var iconSize = "24px";
3514
- var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !get_1(story, ["metadata", "is-closed"], false);
998
+ var enableLiveIcon = showLiveIcon && story["story-template"] === "live-blog" && !lodash.get(story, ["metadata", "is-closed"], false);
3515
999
  return /*#__PURE__*/React__default["default"].createElement("div", {
3516
1000
  "data-test-id": "headline",
3517
- className: "arrow-component arr--headline " + _getClassName(wrapperClass, _styleModuleImportMap$b)
1001
+ className: "arrow-component arr--headline " + _getClassName__default["default"](wrapperClass, _styleModuleImportMap$b)
3518
1002
  }, premiumStory && /*#__PURE__*/React__default["default"].createElement(PremiumStoryIcon, {
3519
1003
  width: iconSize,
3520
1004
  height: iconSize,
@@ -3526,9 +1010,9 @@ var Headline = function Headline(_ref) {
3526
1010
  externalLink: isExternalStory(story),
3527
1011
  "aria-label": "headline"
3528
1012
  }, /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
3529
- className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$b)
1013
+ className: _getClassName__default["default"]("headline ".concat(textColor), _styleModuleImportMap$b)
3530
1014
  }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline)) : /*#__PURE__*/React__default["default"].createElement(HeaderTag, {
3531
- className: _getClassName("headline ".concat(textColor), _styleModuleImportMap$b)
1015
+ className: _getClassName__default["default"]("headline ".concat(textColor), _styleModuleImportMap$b)
3532
1016
  }, enableLiveIcon && /*#__PURE__*/React__default["default"].createElement(LiveIcon, null), headline));
3533
1017
  };
3534
1018
  Headline.propTypes = {
@@ -3566,7 +1050,7 @@ var Subheadline = function Subheadline(_ref) {
3566
1050
  forceShowAtom = _ref.forceShowAtom,
3567
1051
  showFullContent = _ref.showFullContent;
3568
1052
  var config = useStateValue() || {};
3569
- var subheadline = forceShowAtom || get_1(config, ["showSubheadline"], true);
1053
+ var subheadline = forceShowAtom || lodash.get(config, ["showSubheadline"], true);
3570
1054
  if (!subheadline) return null;
3571
1055
  var textColor = getTextColor(config.theme);
3572
1056
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3574,7 +1058,7 @@ var Subheadline = function Subheadline(_ref) {
3574
1058
  WebkitLineClamp: lineClamp
3575
1059
  },
3576
1060
  "data-test-id": "subheadline",
3577
- className: ("p-alt arr--sub-headline arrow-component ".concat(clazzName) ? "p-alt arr--sub-headline arrow-component ".concat(clazzName) + " " : "") + _getClassName("subheadline ".concat(textColor), _styleModuleImportMap$a)
1061
+ 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$a)
3578
1062
  }, showFullContent || typeof lineClamp === "number" ? story.subheadline : truncate(story.subheadline, truncateChars, true));
3579
1063
  };
3580
1064
  Subheadline.propTypes = {
@@ -3609,13 +1093,13 @@ var TimeStamp = function TimeStamp(_ref) {
3609
1093
  _ref$config = _ref.config,
3610
1094
  config = _ref$config === void 0 ? {} : _ref$config;
3611
1095
  var configState = useStateValue() || {};
3612
- var isTime = get_1(config, ["showTime"], get_1(configState, ["showTime"], true));
1096
+ var isTime = lodash.get(config, ["showTime"], lodash.get(configState, ["showTime"], true));
3613
1097
  var time = story["last-published-at"] || story["first-published-at"];
3614
1098
  var isBottomClasses = isBottom ? "bottom-fix" : "";
3615
1099
  var textColor = getTextColor(configState.theme);
3616
1100
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isTime && /*#__PURE__*/React__default["default"].createElement("div", {
3617
1101
  "data-test-id": "publish-time",
3618
- className: "time arr--publish-time " + _getClassName("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$9)
1102
+ className: "time arr--publish-time " + _getClassName__default["default"]("time ".concat(textColor, " ").concat(isBottomClasses), _styleModuleImportMap$9)
3619
1103
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3620
1104
  className: "timestamp-m_time-wrapper__3O2lM"
3621
1105
  }, getTimeStamp(time, formatter, config))));
@@ -3650,9 +1134,9 @@ var AuthorBase = function AuthorBase(_ref) {
3650
1134
  _ref$config = _ref.config,
3651
1135
  config = _ref$config === void 0 ? {} : _ref$config;
3652
1136
  var configData = useStateValue() || {};
3653
- var isAuthor = get_1(configData, ["showAuthor"], true);
1137
+ var isAuthor = lodash.get(configData, ["showAuthor"], true);
3654
1138
 
3655
- var _get = get_1(story, ["authors", "0"], ""),
1139
+ var _get = lodash.get(story, ["authors", "0"], ""),
3656
1140
  avatarUrl = _get["avatar-url"],
3657
1141
  avatarS3Key = _get["avatar-s3-key"],
3658
1142
  authorName = _get.name,
@@ -3660,7 +1144,7 @@ var AuthorBase = function AuthorBase(_ref) {
3660
1144
 
3661
1145
  var isBottomClasses = isBottom ? "bottom-fix" : "";
3662
1146
  var textColor = getTextColor(configData.theme);
3663
- var mountAt = get_1(config, ["mountAt"], "");
1147
+ var mountAt = lodash.get(config, ["mountAt"], "");
3664
1148
 
3665
1149
  var authorImage = function authorImage(dir) {
3666
1150
  if (!avatarUrl && !avatarS3Key) {
@@ -3669,7 +1153,7 @@ var AuthorBase = function AuthorBase(_ref) {
3669
1153
 
3670
1154
  return /*#__PURE__*/React__default["default"].createElement("div", {
3671
1155
  "data-test-id": "author-image",
3672
- className: _getClassName("author-image ".concat(dir, "-image"), _styleModuleImportMap$8)
1156
+ className: _getClassName__default["default"]("author-image ".concat(dir, "-image"), _styleModuleImportMap$8)
3673
1157
  }, /*#__PURE__*/React__default["default"].createElement("figure", null, avatarS3Key ? /*#__PURE__*/React__default["default"].createElement(components.ResponsiveImage, {
3674
1158
  slug: avatarS3Key,
3675
1159
  "aspect-ratio": [1, 1],
@@ -3686,7 +1170,7 @@ var AuthorBase = function AuthorBase(_ref) {
3686
1170
  var isPrefix = function isPrefix(dir) {
3687
1171
  if (prefix) {
3688
1172
  return /*#__PURE__*/React__default["default"].createElement("div", {
3689
- className: "arr-author-prefix " + _getClassName("prefix ".concat(textColor), _styleModuleImportMap$8)
1173
+ className: "arr-author-prefix " + _getClassName__default["default"]("prefix ".concat(textColor), _styleModuleImportMap$8)
3690
1174
  }, prefix);
3691
1175
  }
3692
1176
 
@@ -3696,16 +1180,16 @@ var AuthorBase = function AuthorBase(_ref) {
3696
1180
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement(components.Link, {
3697
1181
  href: "".concat(mountAt, "/author/") + slug,
3698
1182
  "aria-label": "author-name",
3699
- className: "author-name arr-author-name arrow-component " + _getClassName("author ".concat(isBottomClasses), _styleModuleImportMap$8)
1183
+ className: "author-name arr-author-name arrow-component " + _getClassName__default["default"]("author ".concat(isBottomClasses), _styleModuleImportMap$8)
3700
1184
  }, isPrefix("ltr"), /*#__PURE__*/React__default["default"].createElement("div", {
3701
1185
  "data-test-id": "author-name",
3702
- className: "author-name " + _getClassName("author-name ".concat(textColor), _styleModuleImportMap$8)
1186
+ className: "author-name " + _getClassName__default["default"]("author-name ".concat(textColor), _styleModuleImportMap$8)
3703
1187
  }, authorName || story["author-name"]), !prefix && isPrefix("rtl")));
3704
1188
  };
3705
1189
 
3706
1190
  function mapStateToProps(state) {
3707
1191
  return {
3708
- config: get_1(state, ["qt", "config"], {})
1192
+ config: lodash.get(state, ["qt", "config"], {})
3709
1193
  };
3710
1194
  }
3711
1195
 
@@ -3742,7 +1226,7 @@ var Dot = function Dot(_ref) {
3742
1226
  _ref$color = _ref.color,
3743
1227
  color = _ref$color === void 0 ? "light" : _ref$color;
3744
1228
  return /*#__PURE__*/React__default["default"].createElement("div", {
3745
- className: _getClassName(color, _styleModuleImportMap$7)
1229
+ className: _getClassName__default["default"](color, _styleModuleImportMap$7)
3746
1230
  }, /*#__PURE__*/React__default["default"].createElement("svg", {
3747
1231
  xmlns: "http://www.w3.org/2000/svg",
3748
1232
  width: width,
@@ -3778,7 +1262,7 @@ var Divider = function Divider(_ref) {
3778
1262
  _ref$color = _ref.color,
3779
1263
  color = _ref$color === void 0 ? "light" : _ref$color;
3780
1264
  return /*#__PURE__*/React__default["default"].createElement("div", {
3781
- className: _getClassName(color, _styleModuleImportMap$6)
1265
+ className: _getClassName__default["default"](color, _styleModuleImportMap$6)
3782
1266
  }, /*#__PURE__*/React__default["default"].createElement("svg", {
3783
1267
  xmlns: "http://www.w3.org/2000/svg",
3784
1268
  width: width,
@@ -3810,14 +1294,14 @@ var ReadTime = function ReadTime(_ref) {
3810
1294
  _ref$isLightTheme = _ref.isLightTheme,
3811
1295
  isLightTheme = _ref$isLightTheme === void 0 ? false : _ref$isLightTheme;
3812
1296
  var config = useStateValue() || {};
3813
- var showReadTime = get_1(config, ["showReadTime"]) || get_1(opts, ["showReadTime"], true);
3814
- var readTime = get_1(story, ["read-time"], 0);
1297
+ var showReadTime = lodash.get(config, ["showReadTime"]) || lodash.get(opts, ["showReadTime"], true);
1298
+ var readTime = lodash.get(story, ["read-time"], 0);
3815
1299
  var textColor = isLightTheme ? "light" : getTextColor(config.theme);
3816
1300
  if (!showReadTime || !readTime) return null;
3817
- var timeToRead = get_1(opts, ["localizedTimeToRead"]) || "min read";
1301
+ var timeToRead = lodash.get(opts, ["localizedTimeToRead"]) || "min read";
3818
1302
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
3819
1303
  "data-test-id": "read-time",
3820
- className: "arrow-component arr--read-time " + _getClassName("read-time-wrapper ".concat(textColor), _styleModuleImportMap$5)
1304
+ className: "arrow-component arr--read-time " + _getClassName__default["default"]("read-time-wrapper ".concat(textColor), _styleModuleImportMap$5)
3821
1305
  }, /*#__PURE__*/React__default["default"].createElement("span", {
3822
1306
  className: "read-time-indicator read-time-m_dot-indicator__3Sqh2"
3823
1307
  }, /*#__PURE__*/React__default["default"].createElement(Dot, {
@@ -3853,9 +1337,9 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3853
1337
  config = _ref$config === void 0 ? {} : _ref$config,
3854
1338
  isLightTheme = _ref.isLightTheme;
3855
1339
  var configState = useStateValue() || {};
3856
- var isAuthor = get_1(config, ["showAuthor"], get_1(configState, ["showAuthor"], true));
3857
- var isTime = get_1(config, ["showTime"], get_1(configState, ["showTime"], true));
3858
- var isReadTime = get_1(configState, ["showReadTime"], true);
1340
+ var isAuthor = lodash.get(config, ["showAuthor"], lodash.get(configState, ["showAuthor"], true));
1341
+ var isTime = lodash.get(config, ["showTime"], lodash.get(configState, ["showTime"], true));
1342
+ var isReadTime = lodash.get(configState, ["showReadTime"], true);
3859
1343
  var isBottomClasses = isBottom ? "bottom-fix" : "";
3860
1344
  var seperatorStyle = separator === "dot" ? "dot" : "dash";
3861
1345
  var textColor = isLightTheme ? "light" : getTextColor(configState.theme);
@@ -3875,7 +1359,7 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3875
1359
  var getTimeStamp = function getTimeStamp() {
3876
1360
  if (!isTime) return null;
3877
1361
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAuthor && /*#__PURE__*/React__default["default"].createElement("span", {
3878
- className: "arr-separator " + _getClassName("".concat(seperatorStyle), _styleModuleImportMap$4)
1362
+ className: "arr-separator " + _getClassName__default["default"]("".concat(seperatorStyle), _styleModuleImportMap$4)
3879
1363
  }, getSeparator()), /*#__PURE__*/React__default["default"].createElement(TimeStamp, {
3880
1364
  story: story,
3881
1365
  config: config
@@ -3887,7 +1371,7 @@ var AuthorWithTime = function AuthorWithTime(_ref) {
3887
1371
  };
3888
1372
 
3889
1373
  return /*#__PURE__*/React__default["default"].createElement("div", {
3890
- className: "arr--author-time " + _getClassName("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$4)
1374
+ className: "arr--author-time " + _getClassName__default["default"]("author-time-wrapper ".concat(isBottomClasses), _styleModuleImportMap$4)
3891
1375
  }, isAuthor ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Author, {
3892
1376
  story: story,
3893
1377
  isBottom: true,
@@ -3938,9 +1422,9 @@ var SectionTag = function SectionTag(_ref) {
3938
1422
  borderColor = _ref$borderColor === void 0 ? "" : _ref$borderColor,
3939
1423
  isLightTheme = _ref.isLightTheme;
3940
1424
  var config = useStateValue() || {};
3941
- var isSection = get_1(config, ["showSection"], true);
3942
- var templateFromRowContext = get_1(config, ["sectionTagTemplate"]);
3943
- var section = get_1(story, ["sections", 0], "");
1425
+ var isSection = lodash.get(config, ["showSection"], true);
1426
+ var templateFromRowContext = lodash.get(config, ["sectionTagTemplate"]);
1427
+ var section = lodash.get(story, ["sections", 0], "");
3944
1428
  var supportedTemplates = ["borderBottomSml", "borderLeft", "solid"];
3945
1429
  var getUrl = section ? section["section-url"] : "/";
3946
1430
  var colorToApplyContrast = template === "solid" || templateFromRowContext === "solid" ? borderColor : config.theme;
@@ -3962,7 +1446,7 @@ var SectionTag = function SectionTag(_ref) {
3962
1446
  style: {
3963
1447
  backgroundColor: templateStyle.includes("section-solid") ? sectionTagBorderColor : ""
3964
1448
  },
3965
- className: "section-tag arrow-component " + _getClassName("".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$3)
1449
+ className: "section-tag arrow-component " + _getClassName__default["default"]("".concat(textColor, " ").concat(templateStyle), _styleModuleImportMap$3)
3966
1450
  }, templateStyle.includes("section-borderLeft") && /*#__PURE__*/React__default["default"].createElement("span", {
3967
1451
  className: "section-m_border-left__2oUyp",
3968
1452
  style: {
@@ -4062,7 +1546,7 @@ var StoryCard = function StoryCard(_ref) {
4062
1546
  backgroundColor: theme,
4063
1547
  color: textColor
4064
1548
  },
4065
- className: "arr--story-card " + _getClassName("card ".concat(horizontalCardStyle, " ").concat(borderTemplate, " ").concat(textColor, " ").concat(bgImageClasses, " ").concat(bgImgContentOverlapClass, " ").concat(horizontalMobileClasses), _styleModuleImportMap$2)
1549
+ className: "arr--story-card " + _getClassName__default["default"]("card ".concat(horizontalCardStyle, " ").concat(borderTemplate, " ").concat(textColor, " ").concat(bgImageClasses, " ").concat(bgImgContentOverlapClass, " ").concat(horizontalMobileClasses), _styleModuleImportMap$2)
4066
1550
  }, children || defaultStorycard);
4067
1551
  };
4068
1552
 
@@ -4103,7 +1587,7 @@ var DefaultStoryCard = function DefaultStoryCard(_ref2) {
4103
1587
  isHorizontalMobile: isHorizontalMobile,
4104
1588
  aspectRatio: aspectRatio
4105
1589
  }), /*#__PURE__*/React__default["default"].createElement("div", {
4106
- className: "arr--story-content " + _getClassName("content ".concat(alignment), _styleModuleImportMap$2)
1590
+ className: "arr--story-content " + _getClassName__default["default"]("content ".concat(alignment), _styleModuleImportMap$2)
4107
1591
  }, /*#__PURE__*/React__default["default"].createElement(SectionTag, {
4108
1592
  story: story,
4109
1593
  borderColor: SectionTagborderColor
@@ -4181,21 +1665,6 @@ StoryCard.defaultProps = {
4181
1665
  isHorizontalWithImageLast: false
4182
1666
  };
4183
1667
 
4184
- function _defineProperty(obj, key, value) {
4185
- if (key in obj) {
4186
- Object.defineProperty(obj, key, {
4187
- value: value,
4188
- enumerable: true,
4189
- configurable: true,
4190
- writable: true
4191
- });
4192
- } else {
4193
- obj[key] = value;
4194
- }
4195
-
4196
- return obj;
4197
- }
4198
-
4199
1668
  var _styleModuleImportMap$1 = {
4200
1669
  "./load-more.m.css": {
4201
1670
  "button": "load-more-m_button__1mmf1",
@@ -4207,7 +1676,7 @@ var _styleModuleImportMap$1 = {
4207
1676
 
4208
1677
  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; }
4209
1678
 
4210
- 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; }
1679
+ 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; }
4211
1680
  var LoadmoreButton = function LoadmoreButton(_ref) {
4212
1681
  var _ref$config = _ref.config,
4213
1682
  config = _ref$config === void 0 ? {} : _ref$config,
@@ -4231,14 +1700,14 @@ var LoadmoreButton = function LoadmoreButton(_ref) {
4231
1700
  return template === "SubsequentLoadCount" ? /*#__PURE__*/React__default["default"].createElement("div", {
4232
1701
  onClick: onClick,
4233
1702
  "data-test-id": "load-more",
4234
- className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$1)
1703
+ className: "arr--button " + _getClassName__default["default"]("button ".concat(textColor, " default"), _styleModuleImportMap$1)
4235
1704
  }, buttonText) : /*#__PURE__*/React__default["default"].createElement(components.LinkBase, {
4236
1705
  href: slug,
4237
1706
  navigateTo: navigate,
4238
1707
  "data-test-id": "load-more",
4239
1708
  "aria-label": "load-more"
4240
1709
  }, /*#__PURE__*/React__default["default"].createElement("div", {
4241
- className: "arr--button " + _getClassName("button ".concat(textColor, " default"), _styleModuleImportMap$1)
1710
+ className: "arr--button " + _getClassName__default["default"]("button ".concat(textColor, " default"), _styleModuleImportMap$1)
4242
1711
  }, buttonText));
4243
1712
  };
4244
1713
  LoadmoreButton.propTypes = {
@@ -4293,7 +1762,7 @@ var useNearScreen = (function (_ref) {
4293
1762
  var ref = _ref.ref;
4294
1763
 
4295
1764
  var _useState = React.useState(false),
4296
- _useState2 = _slicedToArray(_useState, 2),
1765
+ _useState2 = _slicedToArray__default["default"](_useState, 2),
4297
1766
  show = _useState2[0],
4298
1767
  setShow = _useState2[1];
4299
1768
 
@@ -4437,7 +1906,7 @@ var SixColSixStoriesBase = function SixColSixStoriesBase(_ref2) {
4437
1906
  var borderStyle = border === "fullBorder" ? "vertical-border" : "";
4438
1907
  var dispatch = reactRedux.useDispatch();
4439
1908
  var qtConfig = reactRedux.useSelector(function (state) {
4440
- return get_1(state, ["qt", "config"], {});
1909
+ return lodash.get(state, ["qt", "config"], {});
4441
1910
  });
4442
1911
 
4443
1912
  var getLoadMore = function getLoadMore(opts) {
@@ -4486,7 +1955,7 @@ var SixColSixStoriesBase = function SixColSixStoriesBase(_ref2) {
4486
1955
  }, stories.map(function (story, index) {
4487
1956
  return /*#__PURE__*/React__default["default"].createElement("div", {
4488
1957
  key: "six-col-six-stories-".concat(index),
4489
- className: _getClassName("card-wrapper ".concat(borderStyle, " ").concat(textColor), _styleModuleImportMap)
1958
+ className: _getClassName__default["default"]("card-wrapper ".concat(borderStyle, " ").concat(textColor), _styleModuleImportMap)
4490
1959
  }, /*#__PURE__*/React__default["default"].createElement(StoryCard, {
4491
1960
  story: story,
4492
1961
  theme: theme,