@quintype/arrow 3.15.1-fallback-support.1 → 3.15.1-perf.1

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