@bcgov-sso/common-react-components 1.18.2 → 1.19.0

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.
package/dist/cjs/index.js CHANGED
@@ -8,6 +8,434 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
8
8
 
9
9
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
10
 
11
+ function _extends() {
12
+ _extends = Object.assign || function (target) {
13
+ for (var i = 1; i < arguments.length; i++) {
14
+ var source = arguments[i];
15
+
16
+ for (var key in source) {
17
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
18
+ target[key] = source[key];
19
+ }
20
+ }
21
+ }
22
+
23
+ return target;
24
+ };
25
+
26
+ return _extends.apply(this, arguments);
27
+ }
28
+
29
+ var _extends$1 = /*#__PURE__*/Object.freeze({
30
+ __proto__: null,
31
+ 'default': _extends
32
+ });
33
+
34
+ /**
35
+ * Actions represent the type of change to a location value.
36
+ *
37
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#action
38
+ */
39
+ var Action;
40
+
41
+ (function (Action) {
42
+ /**
43
+ * A POP indicates a change to an arbitrary index in the history stack, such
44
+ * as a back or forward navigation. It does not describe the direction of the
45
+ * navigation, only that the current index changed.
46
+ *
47
+ * Note: This is the default action for newly created history objects.
48
+ */
49
+ Action["Pop"] = "POP";
50
+ /**
51
+ * A PUSH indicates a new entry being added to the history stack, such as when
52
+ * a link is clicked and a new page loads. When this happens, all subsequent
53
+ * entries in the stack are lost.
54
+ */
55
+
56
+ Action["Push"] = "PUSH";
57
+ /**
58
+ * A REPLACE indicates the entry at the current index in the history stack
59
+ * being replaced by a new one.
60
+ */
61
+
62
+ Action["Replace"] = "REPLACE";
63
+ })(Action || (Action = {}));
64
+
65
+ var readOnly = process.env.NODE_ENV !== "production" ? function (obj) {
66
+ return Object.freeze(obj);
67
+ } : function (obj) {
68
+ return obj;
69
+ };
70
+
71
+ function warning(cond, message) {
72
+ if (!cond) {
73
+ // eslint-disable-next-line no-console
74
+ if (typeof console !== 'undefined') console.warn(message);
75
+
76
+ try {
77
+ // Welcome to debugging history!
78
+ //
79
+ // This error is thrown as a convenience so you can more easily
80
+ // find the source for a warning that appears in the console by
81
+ // enabling "pause on exceptions" in your JavaScript debugger.
82
+ throw new Error(message); // eslint-disable-next-line no-empty
83
+ } catch (e) {}
84
+ }
85
+ }
86
+
87
+ var BeforeUnloadEventType = 'beforeunload';
88
+ var HashChangeEventType = 'hashchange';
89
+ var PopStateEventType = 'popstate';
90
+ /**
91
+ * Hash history stores the location in window.location.hash. This makes it ideal
92
+ * for situations where you don't want to send the location to the server for
93
+ * some reason, either because you do cannot configure it or the URL space is
94
+ * reserved for something else.
95
+ *
96
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createhashhistory
97
+ */
98
+
99
+ function createHashHistory(options) {
100
+ if (options === void 0) {
101
+ options = {};
102
+ }
103
+
104
+ var _options2 = options,
105
+ _options2$window = _options2.window,
106
+ window = _options2$window === void 0 ? document.defaultView : _options2$window;
107
+ var globalHistory = window.history;
108
+
109
+ function getIndexAndLocation() {
110
+ var _parsePath = parsePath(window.location.hash.substr(1)),
111
+ _parsePath$pathname = _parsePath.pathname,
112
+ pathname = _parsePath$pathname === void 0 ? '/' : _parsePath$pathname,
113
+ _parsePath$search = _parsePath.search,
114
+ search = _parsePath$search === void 0 ? '' : _parsePath$search,
115
+ _parsePath$hash = _parsePath.hash,
116
+ hash = _parsePath$hash === void 0 ? '' : _parsePath$hash;
117
+
118
+ var state = globalHistory.state || {};
119
+ return [state.idx, readOnly({
120
+ pathname: pathname,
121
+ search: search,
122
+ hash: hash,
123
+ state: state.usr || null,
124
+ key: state.key || 'default'
125
+ })];
126
+ }
127
+
128
+ var blockedPopTx = null;
129
+
130
+ function handlePop() {
131
+ if (blockedPopTx) {
132
+ blockers.call(blockedPopTx);
133
+ blockedPopTx = null;
134
+ } else {
135
+ var nextAction = Action.Pop;
136
+
137
+ var _getIndexAndLocation4 = getIndexAndLocation(),
138
+ nextIndex = _getIndexAndLocation4[0],
139
+ nextLocation = _getIndexAndLocation4[1];
140
+
141
+ if (blockers.length) {
142
+ if (nextIndex != null) {
143
+ var delta = index - nextIndex;
144
+
145
+ if (delta) {
146
+ // Revert the POP
147
+ blockedPopTx = {
148
+ action: nextAction,
149
+ location: nextLocation,
150
+ retry: function retry() {
151
+ go(delta * -1);
152
+ }
153
+ };
154
+ go(delta);
155
+ }
156
+ } else {
157
+ // Trying to POP to a location with no index. We did not create
158
+ // this location, so we can't effectively block the navigation.
159
+ process.env.NODE_ENV !== "production" ? warning(false, // TODO: Write up a doc that explains our blocking strategy in
160
+ // detail and link to it here so people can understand better
161
+ // what is going on and how to avoid it.
162
+ "You are trying to block a POP navigation to a location that was not " + "created by the history library. The block will fail silently in " + "production, but in general you should do all navigation with the " + "history library (instead of using window.history.pushState directly) " + "to avoid this situation.") : void 0;
163
+ }
164
+ } else {
165
+ applyTx(nextAction);
166
+ }
167
+ }
168
+ }
169
+
170
+ window.addEventListener(PopStateEventType, handlePop); // popstate does not fire on hashchange in IE 11 and old (trident) Edge
171
+ // https://developer.mozilla.org/de/docs/Web/API/Window/popstate_event
172
+
173
+ window.addEventListener(HashChangeEventType, function () {
174
+ var _getIndexAndLocation5 = getIndexAndLocation(),
175
+ nextLocation = _getIndexAndLocation5[1]; // Ignore extraneous hashchange events.
176
+
177
+
178
+ if (createPath(nextLocation) !== createPath(location)) {
179
+ handlePop();
180
+ }
181
+ });
182
+ var action = Action.Pop;
183
+
184
+ var _getIndexAndLocation6 = getIndexAndLocation(),
185
+ index = _getIndexAndLocation6[0],
186
+ location = _getIndexAndLocation6[1];
187
+
188
+ var listeners = createEvents();
189
+ var blockers = createEvents();
190
+
191
+ if (index == null) {
192
+ index = 0;
193
+ globalHistory.replaceState(_extends({}, globalHistory.state, {
194
+ idx: index
195
+ }), '');
196
+ }
197
+
198
+ function getBaseHref() {
199
+ var base = document.querySelector('base');
200
+ var href = '';
201
+
202
+ if (base && base.getAttribute('href')) {
203
+ var url = window.location.href;
204
+ var hashIndex = url.indexOf('#');
205
+ href = hashIndex === -1 ? url : url.slice(0, hashIndex);
206
+ }
207
+
208
+ return href;
209
+ }
210
+
211
+ function createHref(to) {
212
+ return getBaseHref() + '#' + (typeof to === 'string' ? to : createPath(to));
213
+ }
214
+
215
+ function getNextLocation(to, state) {
216
+ if (state === void 0) {
217
+ state = null;
218
+ }
219
+
220
+ return readOnly(_extends({
221
+ pathname: location.pathname,
222
+ hash: '',
223
+ search: ''
224
+ }, typeof to === 'string' ? parsePath(to) : to, {
225
+ state: state,
226
+ key: createKey()
227
+ }));
228
+ }
229
+
230
+ function getHistoryStateAndUrl(nextLocation, index) {
231
+ return [{
232
+ usr: nextLocation.state,
233
+ key: nextLocation.key,
234
+ idx: index
235
+ }, createHref(nextLocation)];
236
+ }
237
+
238
+ function allowTx(action, location, retry) {
239
+ return !blockers.length || (blockers.call({
240
+ action: action,
241
+ location: location,
242
+ retry: retry
243
+ }), false);
244
+ }
245
+
246
+ function applyTx(nextAction) {
247
+ action = nextAction;
248
+
249
+ var _getIndexAndLocation7 = getIndexAndLocation();
250
+
251
+ index = _getIndexAndLocation7[0];
252
+ location = _getIndexAndLocation7[1];
253
+ listeners.call({
254
+ action: action,
255
+ location: location
256
+ });
257
+ }
258
+
259
+ function push(to, state) {
260
+ var nextAction = Action.Push;
261
+ var nextLocation = getNextLocation(to, state);
262
+
263
+ function retry() {
264
+ push(to, state);
265
+ }
266
+
267
+ process.env.NODE_ENV !== "production" ? warning(nextLocation.pathname.charAt(0) === '/', "Relative pathnames are not supported in hash history.push(" + JSON.stringify(to) + ")") : void 0;
268
+
269
+ if (allowTx(nextAction, nextLocation, retry)) {
270
+ var _getHistoryStateAndUr3 = getHistoryStateAndUrl(nextLocation, index + 1),
271
+ historyState = _getHistoryStateAndUr3[0],
272
+ url = _getHistoryStateAndUr3[1]; // TODO: Support forced reloading
273
+ // try...catch because iOS limits us to 100 pushState calls :/
274
+
275
+
276
+ try {
277
+ globalHistory.pushState(historyState, '', url);
278
+ } catch (error) {
279
+ // They are going to lose state here, but there is no real
280
+ // way to warn them about it since the page will refresh...
281
+ window.location.assign(url);
282
+ }
283
+
284
+ applyTx(nextAction);
285
+ }
286
+ }
287
+
288
+ function replace(to, state) {
289
+ var nextAction = Action.Replace;
290
+ var nextLocation = getNextLocation(to, state);
291
+
292
+ function retry() {
293
+ replace(to, state);
294
+ }
295
+
296
+ process.env.NODE_ENV !== "production" ? warning(nextLocation.pathname.charAt(0) === '/', "Relative pathnames are not supported in hash history.replace(" + JSON.stringify(to) + ")") : void 0;
297
+
298
+ if (allowTx(nextAction, nextLocation, retry)) {
299
+ var _getHistoryStateAndUr4 = getHistoryStateAndUrl(nextLocation, index),
300
+ historyState = _getHistoryStateAndUr4[0],
301
+ url = _getHistoryStateAndUr4[1]; // TODO: Support forced reloading
302
+
303
+
304
+ globalHistory.replaceState(historyState, '', url);
305
+ applyTx(nextAction);
306
+ }
307
+ }
308
+
309
+ function go(delta) {
310
+ globalHistory.go(delta);
311
+ }
312
+
313
+ var history = {
314
+ get action() {
315
+ return action;
316
+ },
317
+
318
+ get location() {
319
+ return location;
320
+ },
321
+
322
+ createHref: createHref,
323
+ push: push,
324
+ replace: replace,
325
+ go: go,
326
+ back: function back() {
327
+ go(-1);
328
+ },
329
+ forward: function forward() {
330
+ go(1);
331
+ },
332
+ listen: function listen(listener) {
333
+ return listeners.push(listener);
334
+ },
335
+ block: function block(blocker) {
336
+ var unblock = blockers.push(blocker);
337
+
338
+ if (blockers.length === 1) {
339
+ window.addEventListener(BeforeUnloadEventType, promptBeforeUnload);
340
+ }
341
+
342
+ return function () {
343
+ unblock(); // Remove the beforeunload listener so the document may
344
+ // still be salvageable in the pagehide event.
345
+ // See https://html.spec.whatwg.org/#unloading-documents
346
+
347
+ if (!blockers.length) {
348
+ window.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);
349
+ }
350
+ };
351
+ }
352
+ };
353
+ return history;
354
+ }
355
+
356
+ function promptBeforeUnload(event) {
357
+ // Cancel the event.
358
+ event.preventDefault(); // Chrome (and legacy IE) requires returnValue to be set.
359
+
360
+ event.returnValue = '';
361
+ }
362
+
363
+ function createEvents() {
364
+ var handlers = [];
365
+ return {
366
+ get length() {
367
+ return handlers.length;
368
+ },
369
+
370
+ push: function push(fn) {
371
+ handlers.push(fn);
372
+ return function () {
373
+ handlers = handlers.filter(function (handler) {
374
+ return handler !== fn;
375
+ });
376
+ };
377
+ },
378
+ call: function call(arg) {
379
+ handlers.forEach(function (fn) {
380
+ return fn && fn(arg);
381
+ });
382
+ }
383
+ };
384
+ }
385
+
386
+ function createKey() {
387
+ return Math.random().toString(36).substr(2, 8);
388
+ }
389
+ /**
390
+ * Creates a string URL path from the given pathname, search, and hash components.
391
+ *
392
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createpath
393
+ */
394
+
395
+
396
+ function createPath(_ref) {
397
+ var _ref$pathname = _ref.pathname,
398
+ pathname = _ref$pathname === void 0 ? '/' : _ref$pathname,
399
+ _ref$search = _ref.search,
400
+ search = _ref$search === void 0 ? '' : _ref$search,
401
+ _ref$hash = _ref.hash,
402
+ hash = _ref$hash === void 0 ? '' : _ref$hash;
403
+ if (search && search !== '?') pathname += search.charAt(0) === '?' ? search : '?' + search;
404
+ if (hash && hash !== '#') pathname += hash.charAt(0) === '#' ? hash : '#' + hash;
405
+ return pathname;
406
+ }
407
+ /**
408
+ * Parses a string URL path into its separate pathname, search, and hash components.
409
+ *
410
+ * @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#parsepath
411
+ */
412
+
413
+ function parsePath(path) {
414
+ var parsedPath = {};
415
+
416
+ if (path) {
417
+ var hashIndex = path.indexOf('#');
418
+
419
+ if (hashIndex >= 0) {
420
+ parsedPath.hash = path.substr(hashIndex);
421
+ path = path.substr(0, hashIndex);
422
+ }
423
+
424
+ var searchIndex = path.indexOf('?');
425
+
426
+ if (searchIndex >= 0) {
427
+ parsedPath.search = path.substr(searchIndex);
428
+ path = path.substr(0, searchIndex);
429
+ }
430
+
431
+ if (path) {
432
+ parsedPath.pathname = path;
433
+ }
434
+ }
435
+
436
+ return parsedPath;
437
+ }
438
+
11
439
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
12
440
 
13
441
  function getAugmentedNamespace(n) {
@@ -1066,23 +1494,23 @@ var hoistNonReactStatics_cjs = hoistNonReactStatics;
1066
1494
  function y(){return (y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var v=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},g=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!reactIs$1.exports.typeOf(t)},S=Object.freeze([]),w$1=Object.freeze({});function E(e){return "function"==typeof e}function b(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",A="5.3.3",C="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),P={},O="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function R(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n<r;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t);})),e}function D(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw "production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):"")):new Error(R.apply(void 0,[O[e]].concat(n)).trim())}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&D(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++);},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n);}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),T=new Map,x=new Map,k=1,V=function(e){if(T.has(e))return T.get(e);for(;x.has(k);)k++;var t=k++;return "production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&D(16,""+t),T.set(e,t),x.set(t,e),t},z=function(e){return x.get(e)},B=function(e,t){t>=k&&(k=t+1),T.set(e,t),x.set(t,e);},M="style["+N+'][data-styled-version="5.3.3"]',G=new RegExp("^"+N+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r);},F=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(G);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(B(u,c),L(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0;}else r.push(i);}}},Y=function(){return "undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},q=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(N))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(N,"active"),r.setAttribute("data-styled-version","5.3.3");var i=Y();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},H=function(){function e(e){var t=this.element=q(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}D(17);}(t),this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),$=function(){function e(e){var t=this.element=q(e);this.nodes=t.childNodes,this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return !1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--;},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=C,J={isServer:!C,useCSSOMInjection:!I},X=function(){function e(e,t,n){void 0===e&&(e=w$1),void 0===t&&(t={}),this.options=y({},J,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(N)&&(F(e,o),o.parentNode&&o.parentNode.removeChild(o));}}(this));}e.registerId=function(e){return V(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(y({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new W(o):r?new H(o):new $(o),new j(e)));var e,t,n,r,o;},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(V(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(V(e),n);},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},t.clearRules=function(e){this.getTag().clearGroup(V(e)),this.clearNames(e);},t.clearTag=function(){this.tag=void 0;},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=z(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=N+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",");})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n';}}}return r}(this)},e}(),Z=/(a)(d)/gi,K=function(e){return String.fromCharCode(e+(e>25?39:97))};function Q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=K(t%52)+n;return (K(t%52)+n).replace(Z,"$1-$2")}var ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(E(n)&&!_(n))return !1}return !0}var re=te("5.3.3"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else {var s=_e(this.rules,e,t,n).join(""),i=Q(ee(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a);}o.push(i),this.staticRulesId=i;}else {for(var c=this.rules.length,u=ee(this.baseHash,n.hash),l="",d=0;d<c;d++){var h=this.rules[d];if("string"==typeof h)l+=h,"production"!==process.env.NODE_ENV&&(u=ee(u,h+d));else if(h){var p=_e(h,e,t,n),f=Array.isArray(p)?p.join(""):p;u=ee(u,f+d),l+=f;}}if(l){var m=Q(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y);}o.push(m);}}return o.join(" ")},e}(),se=/^\s*\/\/.*$/gm,ie=[":","[",".","#"];function ae(e){var t,n,r,o,s=void 0===e?w$1:e,i=s.options,a=void 0===i?w$1:i,c=s.plugins,u=void 0===c?S:c,l=new stylis_min(a),d=[],p=function(e){function t(t){if(t)try{e(t+"}");}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t);}}}((function(e){d.push(e);})),f=function(e,r,s){return 0===r&&-1!==ie.indexOf(s[n.length])||s.match(o)?e:"."+t};function m(e,s,i,a){void 0===a&&(a="&");var c=e.replace(se,""),u=s&&i?i+" "+s+" { "+c+" }":c;return t=a,n=s,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(i||!s?"":s,u)}return l.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f));},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||D(15),ee(e,t.name)}),5381).toString():"",m}var ce=React__default["default"].createContext(),ue=ce.Consumer,le=React__default["default"].createContext(),de=(le.Consumer,new X),he=ae();function pe(){return React.useContext(ce)||de}function fe(){return React.useContext(le)||he}function me(e){var t=React.useState(e.stylisPlugins),n=t[0],s=t[1],c=pe(),u=React.useMemo((function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),l=React.useMemo((function(){return ae({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return React.useEffect((function(){shallowequal(n,e.stylisPlugins)||s(e.stylisPlugins);}),[e.stylisPlugins]),React__default["default"].createElement(ce.Provider,{value:u},React__default["default"].createElement(le.Provider,{value:l},"production"!==process.env.NODE_ENV?React__default["default"].Children.only(e.children):e.children))}var ye=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=he);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"));},this.toString=function(){return D(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t;}return e.prototype.getName=function(e){return void 0===e&&(e=he),this.name+e.hash},e}(),ve=/([A-Z])/,ge=/([A-Z])/g,Se=/^ms-/,we=function(e){return "-"+e.toLowerCase()};function Ee(e){return ve.test(e)?e.replace(ge,we).replace(Se,"-ms-"):e}var be=function(e){return null==e||!1===e||""===e};function _e(e,n,r,o){if(Array.isArray(e)){for(var s,i=[],a=0,c=e.length;a<c;a+=1)""!==(s=_e(e[a],n,r,o))&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(be(e))return "";if(_(e))return "."+e.styledComponentId;if(E(e)){if("function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!n)return e;var u=e(n);return "production"!==process.env.NODE_ENV&&reactIs$1.exports.isElement(u)&&console.warn(b(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),_e(u,n,r,o)}var l;return e instanceof ye?r?(e.inject(r,o),e.getName(o)):e:g(e)?function e(t,n){var r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&!be(t[i])&&(Array.isArray(t[i])&&t[i].isCss||E(t[i])?s.push(Ee(i)+":",t[i],";"):g(t[i])?s.push.apply(s,e(t[i],i)):s.push(Ee(i)+": "+(r=i,null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(s,["}"]):s}(e):e.toString()}var Ne=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||g(e)?Ne(_e(v(S,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ne(_e(v(e,n)))}var Ce=/invalid hook call/i,Ie=new Set,Pe=function(e,t){if("production"!==process.env.NODE_ENV){var n="The component "+e+(t?' with the id of "'+t+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",r=console.error;try{var o=!0;console.error=function(e){if(Ce.test(e))o=!1,Ie.delete(n);else {for(var t=arguments.length,s=new Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];r.apply(void 0,[e].concat(s));}},React.useRef(),o&&!Ie.has(n)&&(console.warn(n),Ie.add(n));}catch(e){Ce.test(e.message)&&Ie.delete(n);}finally{console.error=r;}}},Oe=function(e,t,n){return void 0===n&&(n=w$1),e.theme!==n.theme&&e.theme||t||n.theme},Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function je(e){return e.replace(Re,"-").replace(De,"")}var Te=function(e){return Q(te(e)>>>0)};function xe(e){return "string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var ke=function(e){return "function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ve=function(e){return "__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ze(e,t,n){var r=e[n];ke(t)&&ke(r)?Be(r,t):e[n]=t;}function Be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(ke(i))for(var a in i)Ve(a)&&ze(e,i[a],a);}return e}var Me=React__default["default"].createContext(),Ge=Me.Consumer;function Le(e){var t=React.useContext(Me),n=React.useMemo((function(){return function(e,t){if(!e)return D(14);if(E(e)){var n=e(t);return "production"===process.env.NODE_ENV||null!==n&&!Array.isArray(n)&&"object"==typeof n?n:D(7)}return Array.isArray(e)||"object"!=typeof e?D(8):t?y({},t,{},e):e}(e.theme,t)}),[e.theme,t]);return e.children?React__default["default"].createElement(Me.Provider,{value:n},e.children):null}var Fe={};function Ye(e,t,n){var o=_(e),i=!xe(e),a=t.attrs,c=void 0===a?S:a,d=t.componentId,h=void 0===d?function(e,t){var n="string"!=typeof e?"sc":je(e);Fe[n]=(Fe[n]||0)+1;var r=n+"-"+Te("5.3.3"+n+Fe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):d,p=t.displayName,v=void 0===p?function(e){return xe(e)?"styled."+e:"Styled("+b(e)+")"}(e):p,g=t.displayName&&t.componentId?je(t.displayName)+"-"+t.componentId:t.componentId||h,N=o&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,A=t.shouldForwardProp;o&&e.shouldForwardProp&&(A=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var C,I=new oe(n,g,o?e.componentStyle:void 0),P=I.isStatic&&0===c.length,O=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,d=e.shouldForwardProp,h=e.styledComponentId,p=e.target;"production"!==process.env.NODE_ENV&&React.useDebugValue(h);var m=function(e,t,n){void 0===e&&(e=w$1);var r=y({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,s,i=e;for(t in E(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t];})),[r,o]}(Oe(t,React.useContext(Me),a)||w$1,t,o),v=m[0],g=m[1],S=function(e,t,n,r){var o=pe(),s=fe(),i=t?e.generateAndInjectStyles(w$1,o,s):e.generateAndInjectStyles(n,o,s);return "production"!==process.env.NODE_ENV&&React.useDebugValue(i),"production"!==process.env.NODE_ENV&&!t&&r&&r(i),i}(i,r,v,"production"!==process.env.NODE_ENV?e.warnTooManyClasses:void 0),b=n,_=g.$as||t.$as||g.as||t.as||p,N=xe(_),A=g!==t?y({},t,{},g):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(d?d(I,index,_):!N||index(I))&&(C[I]=A[I]));return t.style&&g.style!==t.style&&(C.style=y({},t.style,{},g.style)),C.className=Array.prototype.concat(c,h,S!==h?S:null,t.className,g.className).filter(Boolean).join(" "),C.ref=b,React.createElement(_,C)}(C,e,t,P)};return O.displayName=v,(C=React__default["default"].forwardRef(O)).attrs=N,C.componentStyle=I,C.displayName=v,C.shouldForwardProp=A,C.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):S,C.styledComponentId=g,C.target=o?e.target:e,C.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return {};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),s=r&&r+"-"+(xe(e)?e:je(b(e)));return Ye(e,y({},o,{attrs:N,componentId:s}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Be({},e.defaultProps,t):t;}}),"production"!==process.env.NODE_ENV&&(Pe(v,g),C.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var s=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+s+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={};}}}(v,g)),C.toString=function(){return "."+C.styledComponentId},i&&hoistNonReactStatics_cjs(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var qe=function(e){return function e(t,r,o){if(void 0===o&&(o=w$1),!reactIs$1.exports.isValidElementType(r))return D(1,String(r));var s=function(){return t(r,o,Ae.apply(void 0,arguments))};return s.withConfig=function(n){return e(t,r,y({},o,{},n))},s.attrs=function(n){return e(t,r,y({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},s}(Ye,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){qe[e]=qe(e);}));var He=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=ne(e),X.registerId(this.componentId+1);}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(_e(this.rules,t,n,r).join(""),""),s=this.componentId+e;n.insertRules(s,s,o);},t.removeStyles=function(e,t){t.clearRules(this.componentId+e);},t.renderStyles=function(e,t,n,r){e>2&&X.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r);},e}();function $e(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=Ae.apply(void 0,[e].concat(n)),a="sc-global-"+Te(JSON.stringify(i)),u=new He(i,a);function l(e){var t=pe(),n=fe(),o=React.useContext(Me),u=React.useRef(t.allocateGSInstance(a)).current;return "production"!==process.env.NODE_ENV&&React__default["default"].Children.count(e.children)&&console.warn("The global style component "+a+" was given child JSX. createGlobalStyle does not render children."),"production"!==process.env.NODE_ENV&&i.some((function(e){return "string"==typeof e&&-1!==e.indexOf("@import")}))&&console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."),t.server&&d(u,e,t,o,n),null}function d(e,t,n,r,o){if(u.isStatic)u.renderStyles(e,P,n,o);else {var s=y({},t,{theme:Oe(t,r,l.defaultProps)});u.renderStyles(e,s,n,o);}}return "production"!==process.env.NODE_ENV&&Pe(a),React__default["default"].memo(l)}function We(e){"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Ae.apply(void 0,[e].concat(n)).join(""),s=Te(o);return new ye(s,o)}var Ue=/^\s*<\/[a-z]/i,Je=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return "";var n=Y();return "<style "+[n&&'nonce="'+n+'"',N+'="true"','data-styled-version="5.3.3"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?D(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return D(2);var n=((t={})[N]="",t["data-styled-version"]="5.3.3",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=Y();return o&&(n.nonce=o),[React__default["default"].createElement("style",y({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0;},this.instance=new X({isServer:!0}),this.sealed=!1;}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?D(2):React__default["default"].createElement(me,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){if(C)return D(3);if(this.sealed)return D(2);this.seal();var t=require("stream"),n=(t.Readable,t.Transform),r=e,o=this.instance,s=this._emitSheetCSS,i=new n({transform:function(e,t,n){var r=e.toString(),i=s();if(o.clearTag(),Ue.test(r)){var a=r.indexOf(">")+1,c=r.slice(0,a),u=r.slice(a);this.push(c+i+u);}else this.push(i+r);n();}});return r.on("error",(function(e){i.emit("error",e);})),r.pipe(i)},e}(),Xe=function(e){var t=React__default["default"].forwardRef((function(t,n){var o=React.useContext(Me),i=e.defaultProps,a=Oe(t,o,i);return "production"!==process.env.NODE_ENV&&void 0===a&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class "'+b(e)+'"'),React__default["default"].createElement(e,y({},t,{theme:a,ref:n}))}));return hoistNonReactStatics_cjs(t,e),t.displayName="WithTheme("+b(e)+")",t},Ze=function(){return React.useContext(Me)},Ke={StyleSheet:X,masterSheet:de};"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var styled = qe;
1067
1495
 
1068
1496
  var styledComponents_esm = /*#__PURE__*/Object.freeze({
1069
- __proto__: null,
1070
- 'default': styled,
1071
- ServerStyleSheet: Je,
1072
- StyleSheetConsumer: ue,
1073
- StyleSheetContext: ce,
1074
- StyleSheetManager: me,
1075
- ThemeConsumer: Ge,
1076
- ThemeContext: Me,
1077
- ThemeProvider: Le,
1078
- __PRIVATE__: Ke,
1079
- createGlobalStyle: $e,
1080
- css: Ae,
1081
- isStyledComponent: _,
1082
- keyframes: We,
1083
- useTheme: Ze,
1084
- version: A,
1085
- withTheme: Xe
1497
+ __proto__: null,
1498
+ 'default': styled,
1499
+ ServerStyleSheet: Je,
1500
+ StyleSheetConsumer: ue,
1501
+ StyleSheetContext: ce,
1502
+ StyleSheetManager: me,
1503
+ ThemeConsumer: Ge,
1504
+ ThemeContext: Me,
1505
+ ThemeProvider: Le,
1506
+ __PRIVATE__: Ke,
1507
+ createGlobalStyle: $e,
1508
+ css: Ae,
1509
+ isStyledComponent: _,
1510
+ keyframes: We,
1511
+ useTheme: Ze,
1512
+ version: A,
1513
+ withTheme: Xe
1086
1514
  });
1087
1515
 
1088
1516
  /**
@@ -1103,13 +1531,13 @@ var argsTag$3 = '[object Arguments]',
1103
1531
  genTag$1 = '[object GeneratorFunction]';
1104
1532
 
1105
1533
  /** Detect free variable `global` from Node.js. */
1106
- var freeGlobal$2 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
1534
+ var freeGlobal$3 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
1107
1535
 
1108
1536
  /** Detect free variable `self`. */
1109
- var freeSelf$1 = typeof self == 'object' && self && self.Object === Object && self;
1537
+ var freeSelf$2 = typeof self == 'object' && self && self.Object === Object && self;
1110
1538
 
1111
1539
  /** Used as a reference to the global object. */
1112
- var root$9 = freeGlobal$2 || freeSelf$1 || Function('return this')();
1540
+ var root$a = freeGlobal$3 || freeSelf$2 || Function('return this')();
1113
1541
 
1114
1542
  /**
1115
1543
  * Appends the elements of `values` to `array`.
@@ -1131,22 +1559,22 @@ function arrayPush$3(array, values) {
1131
1559
  }
1132
1560
 
1133
1561
  /** Used for built-in method references. */
1134
- var objectProto$f = Object.prototype;
1562
+ var objectProto$g = Object.prototype;
1135
1563
 
1136
1564
  /** Used to check objects for own properties. */
1137
- var hasOwnProperty$d = objectProto$f.hasOwnProperty;
1565
+ var hasOwnProperty$d = objectProto$g.hasOwnProperty;
1138
1566
 
1139
1567
  /**
1140
1568
  * Used to resolve the
1141
1569
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
1142
1570
  * of values.
1143
1571
  */
1144
- var objectToString$2 = objectProto$f.toString;
1572
+ var objectToString$3 = objectProto$g.toString;
1145
1573
 
1146
1574
  /** Built-in value references. */
1147
- var Symbol$6 = root$9.Symbol,
1148
- propertyIsEnumerable$2 = objectProto$f.propertyIsEnumerable,
1149
- spreadableSymbol = Symbol$6 ? Symbol$6.isConcatSpreadable : undefined;
1575
+ var Symbol$7 = root$a.Symbol,
1576
+ propertyIsEnumerable$2 = objectProto$g.propertyIsEnumerable,
1577
+ spreadableSymbol = Symbol$7 ? Symbol$7.isConcatSpreadable : undefined;
1150
1578
 
1151
1579
  /**
1152
1580
  * The base implementation of `_.flatten` with support for restricting flattening.
@@ -1234,7 +1662,7 @@ function flatten(array) {
1234
1662
  function isArguments$3(value) {
1235
1663
  // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
1236
1664
  return isArrayLikeObject(value) && hasOwnProperty$d.call(value, 'callee') &&
1237
- (!propertyIsEnumerable$2.call(value, 'callee') || objectToString$2.call(value) == argsTag$3);
1665
+ (!propertyIsEnumerable$2.call(value, 'callee') || objectToString$3.call(value) == argsTag$3);
1238
1666
  }
1239
1667
 
1240
1668
  /**
@@ -1317,7 +1745,7 @@ function isArrayLike$4(value) {
1317
1745
  * // => false
1318
1746
  */
1319
1747
  function isArrayLikeObject(value) {
1320
- return isObjectLike$9(value) && isArrayLike$4(value);
1748
+ return isObjectLike$a(value) && isArrayLike$4(value);
1321
1749
  }
1322
1750
 
1323
1751
  /**
@@ -1340,7 +1768,7 @@ function isArrayLikeObject(value) {
1340
1768
  function isFunction$3(value) {
1341
1769
  // The use of `Object#toString` avoids issues with the `typeof` operator
1342
1770
  // in Safari 8-9 which returns 'object' for typed array and other constructors.
1343
- var tag = isObject$6(value) ? objectToString$2.call(value) : '';
1771
+ var tag = isObject$6(value) ? objectToString$3.call(value) : '';
1344
1772
  return tag == funcTag$2 || tag == genTag$1;
1345
1773
  }
1346
1774
 
@@ -1429,12 +1857,448 @@ function isObject$6(value) {
1429
1857
  * _.isObjectLike(null);
1430
1858
  * // => false
1431
1859
  */
1432
- function isObjectLike$9(value) {
1860
+ function isObjectLike$a(value) {
1433
1861
  return !!value && typeof value == 'object';
1434
1862
  }
1435
1863
 
1436
1864
  var lodash_flatten = flatten;
1437
1865
 
1866
+ /**
1867
+ * lodash (Custom Build) <https://lodash.com/>
1868
+ * Build: `lodash modularize exports="npm" -o ./`
1869
+ * Copyright jQuery Foundation and other contributors <https://jquery.org/>
1870
+ * Released under MIT license <https://lodash.com/license>
1871
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
1872
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
1873
+ */
1874
+
1875
+ /** Used as references for various `Number` constants. */
1876
+ var INFINITY$2 = 1 / 0;
1877
+
1878
+ /** `Object#toString` result references. */
1879
+ var symbolTag$2 = '[object Symbol]';
1880
+
1881
+ /** Used to match words composed of alphanumeric characters. */
1882
+ var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
1883
+
1884
+ /** Used to match Latin Unicode letters (excluding mathematical operators). */
1885
+ var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
1886
+
1887
+ /** Used to compose unicode character classes. */
1888
+ var rsAstralRange = '\\ud800-\\udfff',
1889
+ rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
1890
+ rsComboSymbolsRange = '\\u20d0-\\u20f0',
1891
+ rsDingbatRange = '\\u2700-\\u27bf',
1892
+ rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff',
1893
+ rsMathOpRange = '\\xac\\xb1\\xd7\\xf7',
1894
+ rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf',
1895
+ rsPunctuationRange = '\\u2000-\\u206f',
1896
+ 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',
1897
+ rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde',
1898
+ rsVarRange = '\\ufe0e\\ufe0f',
1899
+ rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
1900
+
1901
+ /** Used to compose unicode capture groups. */
1902
+ var rsApos = "['\u2019]",
1903
+ rsBreak = '[' + rsBreakRange + ']',
1904
+ rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
1905
+ rsDigits = '\\d+',
1906
+ rsDingbat = '[' + rsDingbatRange + ']',
1907
+ rsLower = '[' + rsLowerRange + ']',
1908
+ rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',
1909
+ rsFitz = '\\ud83c[\\udffb-\\udfff]',
1910
+ rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
1911
+ rsNonAstral = '[^' + rsAstralRange + ']',
1912
+ rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',
1913
+ rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]',
1914
+ rsUpper = '[' + rsUpperRange + ']',
1915
+ rsZWJ = '\\u200d';
1916
+
1917
+ /** Used to compose unicode regexes. */
1918
+ var rsLowerMisc = '(?:' + rsLower + '|' + rsMisc + ')',
1919
+ rsUpperMisc = '(?:' + rsUpper + '|' + rsMisc + ')',
1920
+ rsOptLowerContr = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',
1921
+ rsOptUpperContr = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',
1922
+ reOptMod = rsModifier + '?',
1923
+ rsOptVar = '[' + rsVarRange + ']?',
1924
+ rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',
1925
+ rsSeq = rsOptVar + reOptMod + rsOptJoin,
1926
+ rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq;
1927
+
1928
+ /** Used to match apostrophes. */
1929
+ var reApos = RegExp(rsApos, 'g');
1930
+
1931
+ /**
1932
+ * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
1933
+ * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
1934
+ */
1935
+ var reComboMark = RegExp(rsCombo, 'g');
1936
+
1937
+ /** Used to match complex or compound words. */
1938
+ var reUnicodeWord = RegExp([
1939
+ rsUpper + '?' + rsLower + '+' + rsOptLowerContr + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',
1940
+ rsUpperMisc + '+' + rsOptUpperContr + '(?=' + [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') + ')',
1941
+ rsUpper + '?' + rsLowerMisc + '+' + rsOptLowerContr,
1942
+ rsUpper + '+' + rsOptUpperContr,
1943
+ rsDigits,
1944
+ rsEmoji
1945
+ ].join('|'), 'g');
1946
+
1947
+ /** Used to detect strings that need a more robust regexp to match words. */
1948
+ 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 ]/;
1949
+
1950
+ /** Used to map Latin Unicode letters to basic Latin letters. */
1951
+ var deburredLetters = {
1952
+ // Latin-1 Supplement block.
1953
+ '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
1954
+ '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
1955
+ '\xc7': 'C', '\xe7': 'c',
1956
+ '\xd0': 'D', '\xf0': 'd',
1957
+ '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E',
1958
+ '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e',
1959
+ '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I',
1960
+ '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i',
1961
+ '\xd1': 'N', '\xf1': 'n',
1962
+ '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O',
1963
+ '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o',
1964
+ '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U',
1965
+ '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u',
1966
+ '\xdd': 'Y', '\xfd': 'y', '\xff': 'y',
1967
+ '\xc6': 'Ae', '\xe6': 'ae',
1968
+ '\xde': 'Th', '\xfe': 'th',
1969
+ '\xdf': 'ss',
1970
+ // Latin Extended-A block.
1971
+ '\u0100': 'A', '\u0102': 'A', '\u0104': 'A',
1972
+ '\u0101': 'a', '\u0103': 'a', '\u0105': 'a',
1973
+ '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C',
1974
+ '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c',
1975
+ '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd',
1976
+ '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E',
1977
+ '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e',
1978
+ '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G',
1979
+ '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g',
1980
+ '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h',
1981
+ '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I',
1982
+ '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i',
1983
+ '\u0134': 'J', '\u0135': 'j',
1984
+ '\u0136': 'K', '\u0137': 'k', '\u0138': 'k',
1985
+ '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L',
1986
+ '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l',
1987
+ '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N',
1988
+ '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n',
1989
+ '\u014c': 'O', '\u014e': 'O', '\u0150': 'O',
1990
+ '\u014d': 'o', '\u014f': 'o', '\u0151': 'o',
1991
+ '\u0154': 'R', '\u0156': 'R', '\u0158': 'R',
1992
+ '\u0155': 'r', '\u0157': 'r', '\u0159': 'r',
1993
+ '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S',
1994
+ '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's',
1995
+ '\u0162': 'T', '\u0164': 'T', '\u0166': 'T',
1996
+ '\u0163': 't', '\u0165': 't', '\u0167': 't',
1997
+ '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U',
1998
+ '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u',
1999
+ '\u0174': 'W', '\u0175': 'w',
2000
+ '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y',
2001
+ '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z',
2002
+ '\u017a': 'z', '\u017c': 'z', '\u017e': 'z',
2003
+ '\u0132': 'IJ', '\u0133': 'ij',
2004
+ '\u0152': 'Oe', '\u0153': 'oe',
2005
+ '\u0149': "'n", '\u017f': 'ss'
2006
+ };
2007
+
2008
+ /** Detect free variable `global` from Node.js. */
2009
+ var freeGlobal$2 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
2010
+
2011
+ /** Detect free variable `self`. */
2012
+ var freeSelf$1 = typeof self == 'object' && self && self.Object === Object && self;
2013
+
2014
+ /** Used as a reference to the global object. */
2015
+ var root$9 = freeGlobal$2 || freeSelf$1 || Function('return this')();
2016
+
2017
+ /**
2018
+ * A specialized version of `_.reduce` for arrays without support for
2019
+ * iteratee shorthands.
2020
+ *
2021
+ * @private
2022
+ * @param {Array} [array] The array to iterate over.
2023
+ * @param {Function} iteratee The function invoked per iteration.
2024
+ * @param {*} [accumulator] The initial value.
2025
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
2026
+ * the initial value.
2027
+ * @returns {*} Returns the accumulated value.
2028
+ */
2029
+ function arrayReduce$2(array, iteratee, accumulator, initAccum) {
2030
+ var index = -1,
2031
+ length = array ? array.length : 0;
2032
+
2033
+ if (initAccum && length) {
2034
+ accumulator = array[++index];
2035
+ }
2036
+ while (++index < length) {
2037
+ accumulator = iteratee(accumulator, array[index], index, array);
2038
+ }
2039
+ return accumulator;
2040
+ }
2041
+
2042
+ /**
2043
+ * Splits an ASCII `string` into an array of its words.
2044
+ *
2045
+ * @private
2046
+ * @param {string} The string to inspect.
2047
+ * @returns {Array} Returns the words of `string`.
2048
+ */
2049
+ function asciiWords(string) {
2050
+ return string.match(reAsciiWord) || [];
2051
+ }
2052
+
2053
+ /**
2054
+ * The base implementation of `_.propertyOf` without support for deep paths.
2055
+ *
2056
+ * @private
2057
+ * @param {Object} object The object to query.
2058
+ * @returns {Function} Returns the new accessor function.
2059
+ */
2060
+ function basePropertyOf(object) {
2061
+ return function(key) {
2062
+ return object == null ? undefined : object[key];
2063
+ };
2064
+ }
2065
+
2066
+ /**
2067
+ * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
2068
+ * letters to basic Latin letters.
2069
+ *
2070
+ * @private
2071
+ * @param {string} letter The matched letter to deburr.
2072
+ * @returns {string} Returns the deburred letter.
2073
+ */
2074
+ var deburrLetter = basePropertyOf(deburredLetters);
2075
+
2076
+ /**
2077
+ * Checks if `string` contains a word composed of Unicode symbols.
2078
+ *
2079
+ * @private
2080
+ * @param {string} string The string to inspect.
2081
+ * @returns {boolean} Returns `true` if a word is found, else `false`.
2082
+ */
2083
+ function hasUnicodeWord(string) {
2084
+ return reHasUnicodeWord.test(string);
2085
+ }
2086
+
2087
+ /**
2088
+ * Splits a Unicode `string` into an array of its words.
2089
+ *
2090
+ * @private
2091
+ * @param {string} The string to inspect.
2092
+ * @returns {Array} Returns the words of `string`.
2093
+ */
2094
+ function unicodeWords(string) {
2095
+ return string.match(reUnicodeWord) || [];
2096
+ }
2097
+
2098
+ /** Used for built-in method references. */
2099
+ var objectProto$f = Object.prototype;
2100
+
2101
+ /**
2102
+ * Used to resolve the
2103
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
2104
+ * of values.
2105
+ */
2106
+ var objectToString$2 = objectProto$f.toString;
2107
+
2108
+ /** Built-in value references. */
2109
+ var Symbol$6 = root$9.Symbol;
2110
+
2111
+ /** Used to convert symbols to primitives and strings. */
2112
+ var symbolProto$2 = Symbol$6 ? Symbol$6.prototype : undefined,
2113
+ symbolToString$1 = symbolProto$2 ? symbolProto$2.toString : undefined;
2114
+
2115
+ /**
2116
+ * The base implementation of `_.toString` which doesn't convert nullish
2117
+ * values to empty strings.
2118
+ *
2119
+ * @private
2120
+ * @param {*} value The value to process.
2121
+ * @returns {string} Returns the string.
2122
+ */
2123
+ function baseToString$2(value) {
2124
+ // Exit early for strings to avoid a performance hit in some environments.
2125
+ if (typeof value == 'string') {
2126
+ return value;
2127
+ }
2128
+ if (isSymbol$4(value)) {
2129
+ return symbolToString$1 ? symbolToString$1.call(value) : '';
2130
+ }
2131
+ var result = (value + '');
2132
+ return (result == '0' && (1 / value) == -INFINITY$2) ? '-0' : result;
2133
+ }
2134
+
2135
+ /**
2136
+ * Creates a function like `_.camelCase`.
2137
+ *
2138
+ * @private
2139
+ * @param {Function} callback The function to combine each word.
2140
+ * @returns {Function} Returns the new compounder function.
2141
+ */
2142
+ function createCompounder(callback) {
2143
+ return function(string) {
2144
+ return arrayReduce$2(words(deburr(string).replace(reApos, '')), callback, '');
2145
+ };
2146
+ }
2147
+
2148
+ /**
2149
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
2150
+ * and has a `typeof` result of "object".
2151
+ *
2152
+ * @static
2153
+ * @memberOf _
2154
+ * @since 4.0.0
2155
+ * @category Lang
2156
+ * @param {*} value The value to check.
2157
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
2158
+ * @example
2159
+ *
2160
+ * _.isObjectLike({});
2161
+ * // => true
2162
+ *
2163
+ * _.isObjectLike([1, 2, 3]);
2164
+ * // => true
2165
+ *
2166
+ * _.isObjectLike(_.noop);
2167
+ * // => false
2168
+ *
2169
+ * _.isObjectLike(null);
2170
+ * // => false
2171
+ */
2172
+ function isObjectLike$9(value) {
2173
+ return !!value && typeof value == 'object';
2174
+ }
2175
+
2176
+ /**
2177
+ * Checks if `value` is classified as a `Symbol` primitive or object.
2178
+ *
2179
+ * @static
2180
+ * @memberOf _
2181
+ * @since 4.0.0
2182
+ * @category Lang
2183
+ * @param {*} value The value to check.
2184
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
2185
+ * @example
2186
+ *
2187
+ * _.isSymbol(Symbol.iterator);
2188
+ * // => true
2189
+ *
2190
+ * _.isSymbol('abc');
2191
+ * // => false
2192
+ */
2193
+ function isSymbol$4(value) {
2194
+ return typeof value == 'symbol' ||
2195
+ (isObjectLike$9(value) && objectToString$2.call(value) == symbolTag$2);
2196
+ }
2197
+
2198
+ /**
2199
+ * Converts `value` to a string. An empty string is returned for `null`
2200
+ * and `undefined` values. The sign of `-0` is preserved.
2201
+ *
2202
+ * @static
2203
+ * @memberOf _
2204
+ * @since 4.0.0
2205
+ * @category Lang
2206
+ * @param {*} value The value to process.
2207
+ * @returns {string} Returns the string.
2208
+ * @example
2209
+ *
2210
+ * _.toString(null);
2211
+ * // => ''
2212
+ *
2213
+ * _.toString(-0);
2214
+ * // => '-0'
2215
+ *
2216
+ * _.toString([1, 2, 3]);
2217
+ * // => '1,2,3'
2218
+ */
2219
+ function toString$2(value) {
2220
+ return value == null ? '' : baseToString$2(value);
2221
+ }
2222
+
2223
+ /**
2224
+ * Deburrs `string` by converting
2225
+ * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
2226
+ * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
2227
+ * letters to basic Latin letters and removing
2228
+ * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
2229
+ *
2230
+ * @static
2231
+ * @memberOf _
2232
+ * @since 3.0.0
2233
+ * @category String
2234
+ * @param {string} [string=''] The string to deburr.
2235
+ * @returns {string} Returns the deburred string.
2236
+ * @example
2237
+ *
2238
+ * _.deburr('déjà vu');
2239
+ * // => 'deja vu'
2240
+ */
2241
+ function deburr(string) {
2242
+ string = toString$2(string);
2243
+ return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
2244
+ }
2245
+
2246
+ /**
2247
+ * Converts `string` to
2248
+ * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).
2249
+ *
2250
+ * @static
2251
+ * @memberOf _
2252
+ * @since 3.0.0
2253
+ * @category String
2254
+ * @param {string} [string=''] The string to convert.
2255
+ * @returns {string} Returns the kebab cased string.
2256
+ * @example
2257
+ *
2258
+ * _.kebabCase('Foo Bar');
2259
+ * // => 'foo-bar'
2260
+ *
2261
+ * _.kebabCase('fooBar');
2262
+ * // => 'foo-bar'
2263
+ *
2264
+ * _.kebabCase('__FOO_BAR__');
2265
+ * // => 'foo-bar'
2266
+ */
2267
+ var kebabCase = createCompounder(function(result, word, index) {
2268
+ return result + (index ? '-' : '') + word.toLowerCase();
2269
+ });
2270
+
2271
+ /**
2272
+ * Splits `string` into an array of its words.
2273
+ *
2274
+ * @static
2275
+ * @memberOf _
2276
+ * @since 3.0.0
2277
+ * @category String
2278
+ * @param {string} [string=''] The string to inspect.
2279
+ * @param {RegExp|string} [pattern] The pattern to match words.
2280
+ * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
2281
+ * @returns {Array} Returns the words of `string`.
2282
+ * @example
2283
+ *
2284
+ * _.words('fred, barney, & pebbles');
2285
+ * // => ['fred', 'barney', 'pebbles']
2286
+ *
2287
+ * _.words('fred, barney, & pebbles', /[^, ]+/g);
2288
+ * // => ['fred', 'barney', '&', 'pebbles']
2289
+ */
2290
+ function words(string, pattern, guard) {
2291
+ string = toString$2(string);
2292
+ pattern = guard ? undefined : pattern;
2293
+
2294
+ if (pattern === undefined) {
2295
+ return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
2296
+ }
2297
+ return string.match(pattern) || [];
2298
+ }
2299
+
2300
+ var lodash_kebabcase = kebabCase;
2301
+
1438
2302
  /*!
1439
2303
  * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
1440
2304
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
@@ -3841,10 +4705,10 @@ var faExclamationTriangle = {
3841
4705
  iconName: 'exclamation-triangle',
3842
4706
  icon: [576, 512, [], "f071", "M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"]
3843
4707
  };
3844
- var faInfoCircle = {
4708
+ var faInfo = {
3845
4709
  prefix: 'fas',
3846
- iconName: 'info-circle',
3847
- icon: [512, 512, [], "f05a", "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"]
4710
+ iconName: 'info',
4711
+ icon: [192, 512, [], "f129", "M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"]
3848
4712
  };
3849
4713
 
3850
4714
  const SECONDARY_BLUE = '#38598a';
@@ -3874,7 +4738,8 @@ const Header = styled.div `
3874
4738
  font-weight: bold;
3875
4739
  }
3876
4740
  `;
3877
- function Accordionpanel({ title, allOpen, setAllOpen, children }) {
4741
+ function AccordionPanel({ title, hash, allOpen, setAllOpen, children }) {
4742
+ const id = lodash_kebabcase(title);
3878
4743
  const [open, setOpen] = React.useState(allOpen);
3879
4744
  const handleClick = () => {
3880
4745
  setOpen(!open);
@@ -3885,9 +4750,13 @@ function Accordionpanel({ title, allOpen, setAllOpen, children }) {
3885
4750
  return;
3886
4751
  setOpen(allOpen);
3887
4752
  }, [allOpen]);
4753
+ React.useEffect(() => {
4754
+ if (hash === id)
4755
+ setOpen(true);
4756
+ }, [hash]);
3888
4757
  return (React__default["default"].createElement(Container, null,
3889
4758
  React__default["default"].createElement(Header, { onClick: handleClick },
3890
- React__default["default"].createElement("span", null, title),
4759
+ React__default["default"].createElement("span", { id: id }, title),
3891
4760
  React__default["default"].createElement(FontAwesomeIcon, { icon: open ? faAngleUp : faAngleDown, size: "2x" })),
3892
4761
  React__default["default"].createElement(SmoothTransition, { open: open }, children)));
3893
4762
  }
@@ -3906,8 +4775,15 @@ const Divider = styled.span `
3906
4775
  margin: auto 0.5em;
3907
4776
  `;
3908
4777
  function Accordion({ children, open = false }) {
4778
+ const [hash, setHash] = React.useState('');
3909
4779
  const [allOpen, setAllOpen] = React.useState(open);
3910
- console.log(LANDING_HEADER_FONT);
4780
+ React.useEffect(() => {
4781
+ let history = createHashHistory();
4782
+ let unlisten = history.listen(({ action, location }) => {
4783
+ setHash(location.pathname);
4784
+ });
4785
+ return () => unlisten();
4786
+ }, []);
3911
4787
  const handleClose = () => {
3912
4788
  setAllOpen(false);
3913
4789
  };
@@ -3920,10 +4796,10 @@ function Accordion({ children, open = false }) {
3920
4796
  React__default["default"].createElement(Divider, null),
3921
4797
  React__default["default"].createElement("span", { onClick: handleClose }, "Collapse All")),
3922
4798
  Array.isArray(children)
3923
- ? lodash_flatten(children).map((child) => React__default["default"].cloneElement(child, { allOpen, setAllOpen }))
4799
+ ? lodash_flatten(children).map((child) => React__default["default"].cloneElement(child, { hash, allOpen, setAllOpen }))
3924
4800
  : React__default["default"].cloneElement(children, { allOpen, setAllOpen })));
3925
4801
  }
3926
- Accordion.Panel = Accordionpanel;
4802
+ Accordion.Panel = AccordionPanel;
3927
4803
 
3928
4804
  const Circle = styled.div `
3929
4805
  height: ${(props) => props.circleDiameter};
@@ -3981,29 +4857,6 @@ module.exports = _interopRequireDefault;
3981
4857
  module.exports["default"] = module.exports, module.exports.__esModule = true;
3982
4858
  }(interopRequireDefault));
3983
4859
 
3984
- function _extends() {
3985
- _extends = Object.assign || function (target) {
3986
- for (var i = 1; i < arguments.length; i++) {
3987
- var source = arguments[i];
3988
-
3989
- for (var key in source) {
3990
- if (Object.prototype.hasOwnProperty.call(source, key)) {
3991
- target[key] = source[key];
3992
- }
3993
- }
3994
- }
3995
-
3996
- return target;
3997
- };
3998
-
3999
- return _extends.apply(this, arguments);
4000
- }
4001
-
4002
- var _extends$1 = /*#__PURE__*/Object.freeze({
4003
- __proto__: null,
4004
- 'default': _extends
4005
- });
4006
-
4007
4860
  var require$$2 = /*@__PURE__*/getAugmentedNamespace(_extends$1);
4008
4861
 
4009
4862
  function toVal(mix) {
@@ -4048,8 +4901,8 @@ function clsx_m () {
4048
4901
  }
4049
4902
 
4050
4903
  var clsx_m$1 = /*#__PURE__*/Object.freeze({
4051
- __proto__: null,
4052
- 'default': clsx_m
4904
+ __proto__: null,
4905
+ 'default': clsx_m
4053
4906
  });
4054
4907
 
4055
4908
  var require$$6 = /*@__PURE__*/getAugmentedNamespace(clsx_m$1);
@@ -4066,8 +4919,8 @@ function _taggedTemplateLiteralLoose(strings, raw) {
4066
4919
  }
4067
4920
 
4068
4921
  var taggedTemplateLiteralLoose = /*#__PURE__*/Object.freeze({
4069
- __proto__: null,
4070
- 'default': _taggedTemplateLiteralLoose
4922
+ __proto__: null,
4923
+ 'default': _taggedTemplateLiteralLoose
4071
4924
  });
4072
4925
 
4073
4926
  var require$$4 = /*@__PURE__*/getAugmentedNamespace(taggedTemplateLiteralLoose);
@@ -4088,8 +4941,8 @@ function _objectWithoutPropertiesLoose(source, excluded) {
4088
4941
  }
4089
4942
 
4090
4943
  var objectWithoutPropertiesLoose = /*#__PURE__*/Object.freeze({
4091
- __proto__: null,
4092
- 'default': _objectWithoutPropertiesLoose
4944
+ __proto__: null,
4945
+ 'default': _objectWithoutPropertiesLoose
4093
4946
  });
4094
4947
 
4095
4948
  var require$$3 = /*@__PURE__*/getAugmentedNamespace(objectWithoutPropertiesLoose);
@@ -8760,7 +9613,7 @@ const InfoIcon = (React__default["default"].createElement("div", { style: {
8760
9613
  textAlign: 'center',
8761
9614
  border: '1px solid #434a44',
8762
9615
  } },
8763
- React__default["default"].createElement(FontAwesomeIcon, { icon: faInfoCircle, style: {
9616
+ React__default["default"].createElement(FontAwesomeIcon, { icon: faInfo, style: {
8764
9617
  color: '#000',
8765
9618
  marginBottom: '0.1em',
8766
9619
  }, size: "sm" })));