@sanity/google-maps-input 3.0.2 → 4.0.0-beta.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/index.esm.js +14 -1935
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +21 -1942
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
- package/src/diff/GeopointFieldDiff.styles.tsx +1 -1
- package/src/input/GeopointInput.styles.tsx +1 -1
- package/src/map/Map.styles.tsx +1 -1
- package/src/map/SearchInput.styles.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -4,11 +4,12 @@ Object.defineProperty(exports, '__esModule', {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
var
|
|
7
|
+
var React = require('react');
|
|
8
8
|
var lodash = require('lodash');
|
|
9
9
|
var ui = require('@sanity/ui');
|
|
10
10
|
var icons = require('@sanity/icons');
|
|
11
11
|
var sanity = require('sanity');
|
|
12
|
+
var styledComponents = require('styled-components');
|
|
12
13
|
function _interopNamespaceCompat(e) {
|
|
13
14
|
if (e && typeof e === 'object' && 'default' in e) return e;
|
|
14
15
|
var n = Object.create(null);
|
|
@@ -28,7 +29,7 @@ function _interopNamespaceCompat(e) {
|
|
|
28
29
|
n.default = e;
|
|
29
30
|
return Object.freeze(n);
|
|
30
31
|
}
|
|
31
|
-
var
|
|
32
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceCompat(React);
|
|
32
33
|
const callbackName = "___sanity_googleMapsApiCallback";
|
|
33
34
|
const authFailureCallbackName = "gm_authFailure";
|
|
34
35
|
let AuthError$1 = class AuthError extends Error {};
|
|
@@ -133,10 +134,10 @@ function AuthError() {
|
|
|
133
134
|
const browserLocale = typeof window !== "undefined" && window.navigator.language || "en";
|
|
134
135
|
function useLoadGoogleMapsApi(config) {
|
|
135
136
|
const locale = config.defaultLocale || browserLocale || "en-US";
|
|
136
|
-
const [state, setState] =
|
|
137
|
+
const [state, setState] = React.useState({
|
|
137
138
|
type: "loading"
|
|
138
139
|
});
|
|
139
|
-
|
|
140
|
+
React.useEffect(() => {
|
|
140
141
|
loadGoogleMapsApi({
|
|
141
142
|
locale,
|
|
142
143
|
apiKey: config.apiKey
|
|
@@ -171,1935 +172,13 @@ function GoogleMapsLoadProxy(props) {
|
|
|
171
172
|
return null;
|
|
172
173
|
}
|
|
173
174
|
}
|
|
174
|
-
function getDefaultExportFromCjs(x) {
|
|
175
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
176
|
-
}
|
|
177
|
-
var reactIs$2 = {
|
|
178
|
-
exports: {}
|
|
179
|
-
};
|
|
180
|
-
var reactIs_production_min$1 = {};
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @license React
|
|
184
|
-
* react-is.production.min.js
|
|
185
|
-
*
|
|
186
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
187
|
-
*
|
|
188
|
-
* This source code is licensed under the MIT license found in the
|
|
189
|
-
* LICENSE file in the root directory of this source tree.
|
|
190
|
-
*/
|
|
191
|
-
|
|
192
|
-
var hasRequiredReactIs_production_min$1;
|
|
193
|
-
function requireReactIs_production_min$1() {
|
|
194
|
-
if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
|
|
195
|
-
hasRequiredReactIs_production_min$1 = 1;
|
|
196
|
-
var b = Symbol.for("react.element"),
|
|
197
|
-
c = Symbol.for("react.portal"),
|
|
198
|
-
d = Symbol.for("react.fragment"),
|
|
199
|
-
e = Symbol.for("react.strict_mode"),
|
|
200
|
-
f = Symbol.for("react.profiler"),
|
|
201
|
-
g = Symbol.for("react.provider"),
|
|
202
|
-
h = Symbol.for("react.context"),
|
|
203
|
-
k = Symbol.for("react.server_context"),
|
|
204
|
-
l = Symbol.for("react.forward_ref"),
|
|
205
|
-
m = Symbol.for("react.suspense"),
|
|
206
|
-
n = Symbol.for("react.suspense_list"),
|
|
207
|
-
p = Symbol.for("react.memo"),
|
|
208
|
-
q = Symbol.for("react.lazy"),
|
|
209
|
-
t = Symbol.for("react.offscreen"),
|
|
210
|
-
u;
|
|
211
|
-
u = Symbol.for("react.module.reference");
|
|
212
|
-
function v(a) {
|
|
213
|
-
if ("object" === typeof a && null !== a) {
|
|
214
|
-
var r = a.$$typeof;
|
|
215
|
-
switch (r) {
|
|
216
|
-
case b:
|
|
217
|
-
switch (a = a.type, a) {
|
|
218
|
-
case d:
|
|
219
|
-
case f:
|
|
220
|
-
case e:
|
|
221
|
-
case m:
|
|
222
|
-
case n:
|
|
223
|
-
return a;
|
|
224
|
-
default:
|
|
225
|
-
switch (a = a && a.$$typeof, a) {
|
|
226
|
-
case k:
|
|
227
|
-
case h:
|
|
228
|
-
case l:
|
|
229
|
-
case q:
|
|
230
|
-
case p:
|
|
231
|
-
case g:
|
|
232
|
-
return a;
|
|
233
|
-
default:
|
|
234
|
-
return r;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
case c:
|
|
238
|
-
return r;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
reactIs_production_min$1.ContextConsumer = h;
|
|
243
|
-
reactIs_production_min$1.ContextProvider = g;
|
|
244
|
-
reactIs_production_min$1.Element = b;
|
|
245
|
-
reactIs_production_min$1.ForwardRef = l;
|
|
246
|
-
reactIs_production_min$1.Fragment = d;
|
|
247
|
-
reactIs_production_min$1.Lazy = q;
|
|
248
|
-
reactIs_production_min$1.Memo = p;
|
|
249
|
-
reactIs_production_min$1.Portal = c;
|
|
250
|
-
reactIs_production_min$1.Profiler = f;
|
|
251
|
-
reactIs_production_min$1.StrictMode = e;
|
|
252
|
-
reactIs_production_min$1.Suspense = m;
|
|
253
|
-
reactIs_production_min$1.SuspenseList = n;
|
|
254
|
-
reactIs_production_min$1.isAsyncMode = function () {
|
|
255
|
-
return !1;
|
|
256
|
-
};
|
|
257
|
-
reactIs_production_min$1.isConcurrentMode = function () {
|
|
258
|
-
return !1;
|
|
259
|
-
};
|
|
260
|
-
reactIs_production_min$1.isContextConsumer = function (a) {
|
|
261
|
-
return v(a) === h;
|
|
262
|
-
};
|
|
263
|
-
reactIs_production_min$1.isContextProvider = function (a) {
|
|
264
|
-
return v(a) === g;
|
|
265
|
-
};
|
|
266
|
-
reactIs_production_min$1.isElement = function (a) {
|
|
267
|
-
return "object" === typeof a && null !== a && a.$$typeof === b;
|
|
268
|
-
};
|
|
269
|
-
reactIs_production_min$1.isForwardRef = function (a) {
|
|
270
|
-
return v(a) === l;
|
|
271
|
-
};
|
|
272
|
-
reactIs_production_min$1.isFragment = function (a) {
|
|
273
|
-
return v(a) === d;
|
|
274
|
-
};
|
|
275
|
-
reactIs_production_min$1.isLazy = function (a) {
|
|
276
|
-
return v(a) === q;
|
|
277
|
-
};
|
|
278
|
-
reactIs_production_min$1.isMemo = function (a) {
|
|
279
|
-
return v(a) === p;
|
|
280
|
-
};
|
|
281
|
-
reactIs_production_min$1.isPortal = function (a) {
|
|
282
|
-
return v(a) === c;
|
|
283
|
-
};
|
|
284
|
-
reactIs_production_min$1.isProfiler = function (a) {
|
|
285
|
-
return v(a) === f;
|
|
286
|
-
};
|
|
287
|
-
reactIs_production_min$1.isStrictMode = function (a) {
|
|
288
|
-
return v(a) === e;
|
|
289
|
-
};
|
|
290
|
-
reactIs_production_min$1.isSuspense = function (a) {
|
|
291
|
-
return v(a) === m;
|
|
292
|
-
};
|
|
293
|
-
reactIs_production_min$1.isSuspenseList = function (a) {
|
|
294
|
-
return v(a) === n;
|
|
295
|
-
};
|
|
296
|
-
reactIs_production_min$1.isValidElementType = function (a) {
|
|
297
|
-
return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
|
|
298
|
-
};
|
|
299
|
-
reactIs_production_min$1.typeOf = v;
|
|
300
|
-
return reactIs_production_min$1;
|
|
301
|
-
}
|
|
302
|
-
var reactIs_development$1 = {};
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* @license React
|
|
306
|
-
* react-is.development.js
|
|
307
|
-
*
|
|
308
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
309
|
-
*
|
|
310
|
-
* This source code is licensed under the MIT license found in the
|
|
311
|
-
* LICENSE file in the root directory of this source tree.
|
|
312
|
-
*/
|
|
313
|
-
|
|
314
|
-
var hasRequiredReactIs_development$1;
|
|
315
|
-
function requireReactIs_development$1() {
|
|
316
|
-
if (hasRequiredReactIs_development$1) return reactIs_development$1;
|
|
317
|
-
hasRequiredReactIs_development$1 = 1;
|
|
318
|
-
if (process.env.NODE_ENV !== "production") {
|
|
319
|
-
(function () {
|
|
320
|
-
// ATTENTION
|
|
321
|
-
// When adding new symbols to this file,
|
|
322
|
-
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
323
|
-
// The Symbol used to tag the ReactElement-like types.
|
|
324
|
-
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
325
|
-
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
326
|
-
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
327
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
328
|
-
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
329
|
-
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
330
|
-
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
331
|
-
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
|
332
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
333
|
-
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
334
|
-
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
335
|
-
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
336
|
-
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
337
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
338
|
-
|
|
339
|
-
// -----------------------------------------------------------------------------
|
|
340
|
-
|
|
341
|
-
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
342
|
-
var enableCacheElement = false;
|
|
343
|
-
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
344
|
-
|
|
345
|
-
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
346
|
-
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
347
|
-
// issues in DEV builds.
|
|
348
|
-
|
|
349
|
-
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
350
|
-
|
|
351
|
-
var REACT_MODULE_REFERENCE;
|
|
352
|
-
{
|
|
353
|
-
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
354
|
-
}
|
|
355
|
-
function isValidElementType(type) {
|
|
356
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
|
357
|
-
return true;
|
|
358
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
359
|
-
|
|
360
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
361
|
-
return true;
|
|
362
|
-
}
|
|
363
|
-
if (typeof type === 'object' && type !== null) {
|
|
364
|
-
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
365
|
-
// This needs to include all possible module reference object
|
|
366
|
-
// types supported by any Flight configuration anywhere since
|
|
367
|
-
// we don't know which Flight build this will end up being used
|
|
368
|
-
// with.
|
|
369
|
-
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
370
|
-
return true;
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
return false;
|
|
374
|
-
}
|
|
375
|
-
function typeOf(object) {
|
|
376
|
-
if (typeof object === 'object' && object !== null) {
|
|
377
|
-
var $$typeof = object.$$typeof;
|
|
378
|
-
switch ($$typeof) {
|
|
379
|
-
case REACT_ELEMENT_TYPE:
|
|
380
|
-
var type = object.type;
|
|
381
|
-
switch (type) {
|
|
382
|
-
case REACT_FRAGMENT_TYPE:
|
|
383
|
-
case REACT_PROFILER_TYPE:
|
|
384
|
-
case REACT_STRICT_MODE_TYPE:
|
|
385
|
-
case REACT_SUSPENSE_TYPE:
|
|
386
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
387
|
-
return type;
|
|
388
|
-
default:
|
|
389
|
-
var $$typeofType = type && type.$$typeof;
|
|
390
|
-
switch ($$typeofType) {
|
|
391
|
-
case REACT_SERVER_CONTEXT_TYPE:
|
|
392
|
-
case REACT_CONTEXT_TYPE:
|
|
393
|
-
case REACT_FORWARD_REF_TYPE:
|
|
394
|
-
case REACT_LAZY_TYPE:
|
|
395
|
-
case REACT_MEMO_TYPE:
|
|
396
|
-
case REACT_PROVIDER_TYPE:
|
|
397
|
-
return $$typeofType;
|
|
398
|
-
default:
|
|
399
|
-
return $$typeof;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
case REACT_PORTAL_TYPE:
|
|
403
|
-
return $$typeof;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
return undefined;
|
|
407
|
-
}
|
|
408
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
409
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
410
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
411
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
412
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
413
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
414
|
-
var Memo = REACT_MEMO_TYPE;
|
|
415
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
416
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
417
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
418
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
419
|
-
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
420
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
421
|
-
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
422
|
-
|
|
423
|
-
function isAsyncMode(object) {
|
|
424
|
-
{
|
|
425
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
426
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
427
|
-
|
|
428
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
return false;
|
|
432
|
-
}
|
|
433
|
-
function isConcurrentMode(object) {
|
|
434
|
-
{
|
|
435
|
-
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
436
|
-
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
437
|
-
|
|
438
|
-
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
return false;
|
|
442
|
-
}
|
|
443
|
-
function isContextConsumer(object) {
|
|
444
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
445
|
-
}
|
|
446
|
-
function isContextProvider(object) {
|
|
447
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
448
|
-
}
|
|
449
|
-
function isElement(object) {
|
|
450
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
451
|
-
}
|
|
452
|
-
function isForwardRef(object) {
|
|
453
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
454
|
-
}
|
|
455
|
-
function isFragment(object) {
|
|
456
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
457
|
-
}
|
|
458
|
-
function isLazy(object) {
|
|
459
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
460
|
-
}
|
|
461
|
-
function isMemo(object) {
|
|
462
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
463
|
-
}
|
|
464
|
-
function isPortal(object) {
|
|
465
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
466
|
-
}
|
|
467
|
-
function isProfiler(object) {
|
|
468
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
469
|
-
}
|
|
470
|
-
function isStrictMode(object) {
|
|
471
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
472
|
-
}
|
|
473
|
-
function isSuspense(object) {
|
|
474
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
475
|
-
}
|
|
476
|
-
function isSuspenseList(object) {
|
|
477
|
-
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
478
|
-
}
|
|
479
|
-
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
480
|
-
reactIs_development$1.ContextProvider = ContextProvider;
|
|
481
|
-
reactIs_development$1.Element = Element;
|
|
482
|
-
reactIs_development$1.ForwardRef = ForwardRef;
|
|
483
|
-
reactIs_development$1.Fragment = Fragment;
|
|
484
|
-
reactIs_development$1.Lazy = Lazy;
|
|
485
|
-
reactIs_development$1.Memo = Memo;
|
|
486
|
-
reactIs_development$1.Portal = Portal;
|
|
487
|
-
reactIs_development$1.Profiler = Profiler;
|
|
488
|
-
reactIs_development$1.StrictMode = StrictMode;
|
|
489
|
-
reactIs_development$1.Suspense = Suspense;
|
|
490
|
-
reactIs_development$1.SuspenseList = SuspenseList;
|
|
491
|
-
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
492
|
-
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
493
|
-
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
494
|
-
reactIs_development$1.isContextProvider = isContextProvider;
|
|
495
|
-
reactIs_development$1.isElement = isElement;
|
|
496
|
-
reactIs_development$1.isForwardRef = isForwardRef;
|
|
497
|
-
reactIs_development$1.isFragment = isFragment;
|
|
498
|
-
reactIs_development$1.isLazy = isLazy;
|
|
499
|
-
reactIs_development$1.isMemo = isMemo;
|
|
500
|
-
reactIs_development$1.isPortal = isPortal;
|
|
501
|
-
reactIs_development$1.isProfiler = isProfiler;
|
|
502
|
-
reactIs_development$1.isStrictMode = isStrictMode;
|
|
503
|
-
reactIs_development$1.isSuspense = isSuspense;
|
|
504
|
-
reactIs_development$1.isSuspenseList = isSuspenseList;
|
|
505
|
-
reactIs_development$1.isValidElementType = isValidElementType;
|
|
506
|
-
reactIs_development$1.typeOf = typeOf;
|
|
507
|
-
})();
|
|
508
|
-
}
|
|
509
|
-
return reactIs_development$1;
|
|
510
|
-
}
|
|
511
|
-
if (process.env.NODE_ENV === 'production') {
|
|
512
|
-
reactIs$2.exports = requireReactIs_production_min$1();
|
|
513
|
-
} else {
|
|
514
|
-
reactIs$2.exports = requireReactIs_development$1();
|
|
515
|
-
}
|
|
516
|
-
var reactIsExports$1 = reactIs$2.exports;
|
|
517
|
-
function stylis_min(W) {
|
|
518
|
-
function M(d, c, e, h, a) {
|
|
519
|
-
for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
|
|
520
|
-
g = e.charCodeAt(l);
|
|
521
|
-
l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
|
|
522
|
-
if (0 === b + n + v + m) {
|
|
523
|
-
if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
|
|
524
|
-
switch (g) {
|
|
525
|
-
case 32:
|
|
526
|
-
case 9:
|
|
527
|
-
case 59:
|
|
528
|
-
case 13:
|
|
529
|
-
case 10:
|
|
530
|
-
break;
|
|
531
|
-
default:
|
|
532
|
-
f += e.charAt(l);
|
|
533
|
-
}
|
|
534
|
-
g = 59;
|
|
535
|
-
}
|
|
536
|
-
switch (g) {
|
|
537
|
-
case 123:
|
|
538
|
-
f = f.trim();
|
|
539
|
-
q = f.charCodeAt(0);
|
|
540
|
-
k = 1;
|
|
541
|
-
for (t = ++l; l < B;) {
|
|
542
|
-
switch (g = e.charCodeAt(l)) {
|
|
543
|
-
case 123:
|
|
544
|
-
k++;
|
|
545
|
-
break;
|
|
546
|
-
case 125:
|
|
547
|
-
k--;
|
|
548
|
-
break;
|
|
549
|
-
case 47:
|
|
550
|
-
switch (g = e.charCodeAt(l + 1)) {
|
|
551
|
-
case 42:
|
|
552
|
-
case 47:
|
|
553
|
-
a: {
|
|
554
|
-
for (u = l + 1; u < J; ++u) {
|
|
555
|
-
switch (e.charCodeAt(u)) {
|
|
556
|
-
case 47:
|
|
557
|
-
if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
|
|
558
|
-
l = u + 1;
|
|
559
|
-
break a;
|
|
560
|
-
}
|
|
561
|
-
break;
|
|
562
|
-
case 10:
|
|
563
|
-
if (47 === g) {
|
|
564
|
-
l = u + 1;
|
|
565
|
-
break a;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
l = u;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
break;
|
|
573
|
-
case 91:
|
|
574
|
-
g++;
|
|
575
|
-
case 40:
|
|
576
|
-
g++;
|
|
577
|
-
case 34:
|
|
578
|
-
case 39:
|
|
579
|
-
for (; l++ < J && e.charCodeAt(l) !== g;) {}
|
|
580
|
-
}
|
|
581
|
-
if (0 === k) break;
|
|
582
|
-
l++;
|
|
583
|
-
}
|
|
584
|
-
k = e.substring(t, l);
|
|
585
|
-
0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
|
|
586
|
-
switch (q) {
|
|
587
|
-
case 64:
|
|
588
|
-
0 < r && (f = f.replace(N, ''));
|
|
589
|
-
g = f.charCodeAt(1);
|
|
590
|
-
switch (g) {
|
|
591
|
-
case 100:
|
|
592
|
-
case 109:
|
|
593
|
-
case 115:
|
|
594
|
-
case 45:
|
|
595
|
-
r = c;
|
|
596
|
-
break;
|
|
597
|
-
default:
|
|
598
|
-
r = O;
|
|
599
|
-
}
|
|
600
|
-
k = M(c, r, k, g, a + 1);
|
|
601
|
-
t = k.length;
|
|
602
|
-
0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
|
|
603
|
-
if (0 < t) switch (g) {
|
|
604
|
-
case 115:
|
|
605
|
-
f = f.replace(da, ea);
|
|
606
|
-
case 100:
|
|
607
|
-
case 109:
|
|
608
|
-
case 45:
|
|
609
|
-
k = f + '{' + k + '}';
|
|
610
|
-
break;
|
|
611
|
-
case 107:
|
|
612
|
-
f = f.replace(fa, '$1 $2');
|
|
613
|
-
k = f + '{' + k + '}';
|
|
614
|
-
k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
|
|
615
|
-
break;
|
|
616
|
-
default:
|
|
617
|
-
k = f + k, 112 === h && (k = (p += k, ''));
|
|
618
|
-
} else k = '';
|
|
619
|
-
break;
|
|
620
|
-
default:
|
|
621
|
-
k = M(c, X(c, f, I), k, h, a + 1);
|
|
622
|
-
}
|
|
623
|
-
F += k;
|
|
624
|
-
k = I = r = u = q = 0;
|
|
625
|
-
f = '';
|
|
626
|
-
g = e.charCodeAt(++l);
|
|
627
|
-
break;
|
|
628
|
-
case 125:
|
|
629
|
-
case 59:
|
|
630
|
-
f = (0 < r ? f.replace(N, '') : f).trim();
|
|
631
|
-
if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
|
|
632
|
-
case 0:
|
|
633
|
-
break;
|
|
634
|
-
case 64:
|
|
635
|
-
if (105 === g || 99 === g) {
|
|
636
|
-
G += f + e.charAt(l);
|
|
637
|
-
break;
|
|
638
|
-
}
|
|
639
|
-
default:
|
|
640
|
-
58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
|
|
641
|
-
}
|
|
642
|
-
I = r = u = q = 0;
|
|
643
|
-
f = '';
|
|
644
|
-
g = e.charCodeAt(++l);
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
switch (g) {
|
|
648
|
-
case 13:
|
|
649
|
-
case 10:
|
|
650
|
-
47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
|
|
651
|
-
0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
|
|
652
|
-
z = 1;
|
|
653
|
-
D++;
|
|
654
|
-
break;
|
|
655
|
-
case 59:
|
|
656
|
-
case 125:
|
|
657
|
-
if (0 === b + n + v + m) {
|
|
658
|
-
z++;
|
|
659
|
-
break;
|
|
660
|
-
}
|
|
661
|
-
default:
|
|
662
|
-
z++;
|
|
663
|
-
y = e.charAt(l);
|
|
664
|
-
switch (g) {
|
|
665
|
-
case 9:
|
|
666
|
-
case 32:
|
|
667
|
-
if (0 === n + m + b) switch (x) {
|
|
668
|
-
case 44:
|
|
669
|
-
case 58:
|
|
670
|
-
case 9:
|
|
671
|
-
case 32:
|
|
672
|
-
y = '';
|
|
673
|
-
break;
|
|
674
|
-
default:
|
|
675
|
-
32 !== g && (y = ' ');
|
|
676
|
-
}
|
|
677
|
-
break;
|
|
678
|
-
case 0:
|
|
679
|
-
y = '\\0';
|
|
680
|
-
break;
|
|
681
|
-
case 12:
|
|
682
|
-
y = '\\f';
|
|
683
|
-
break;
|
|
684
|
-
case 11:
|
|
685
|
-
y = '\\v';
|
|
686
|
-
break;
|
|
687
|
-
case 38:
|
|
688
|
-
0 === n + b + m && (r = I = 1, y = '\f' + y);
|
|
689
|
-
break;
|
|
690
|
-
case 108:
|
|
691
|
-
if (0 === n + b + m + E && 0 < u) switch (l - u) {
|
|
692
|
-
case 2:
|
|
693
|
-
112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
|
|
694
|
-
case 8:
|
|
695
|
-
111 === K && (E = K);
|
|
696
|
-
}
|
|
697
|
-
break;
|
|
698
|
-
case 58:
|
|
699
|
-
0 === n + b + m && (u = l);
|
|
700
|
-
break;
|
|
701
|
-
case 44:
|
|
702
|
-
0 === b + v + n + m && (r = 1, y += '\r');
|
|
703
|
-
break;
|
|
704
|
-
case 34:
|
|
705
|
-
case 39:
|
|
706
|
-
0 === b && (n = n === g ? 0 : 0 === n ? g : n);
|
|
707
|
-
break;
|
|
708
|
-
case 91:
|
|
709
|
-
0 === n + b + v && m++;
|
|
710
|
-
break;
|
|
711
|
-
case 93:
|
|
712
|
-
0 === n + b + v && m--;
|
|
713
|
-
break;
|
|
714
|
-
case 41:
|
|
715
|
-
0 === n + b + m && v--;
|
|
716
|
-
break;
|
|
717
|
-
case 40:
|
|
718
|
-
if (0 === n + b + m) {
|
|
719
|
-
if (0 === q) switch (2 * x + 3 * K) {
|
|
720
|
-
case 533:
|
|
721
|
-
break;
|
|
722
|
-
default:
|
|
723
|
-
q = 1;
|
|
724
|
-
}
|
|
725
|
-
v++;
|
|
726
|
-
}
|
|
727
|
-
break;
|
|
728
|
-
case 64:
|
|
729
|
-
0 === b + v + n + m + u + k && (k = 1);
|
|
730
|
-
break;
|
|
731
|
-
case 42:
|
|
732
|
-
case 47:
|
|
733
|
-
if (!(0 < n + m + v)) switch (b) {
|
|
734
|
-
case 0:
|
|
735
|
-
switch (2 * g + 3 * e.charCodeAt(l + 1)) {
|
|
736
|
-
case 235:
|
|
737
|
-
b = 47;
|
|
738
|
-
break;
|
|
739
|
-
case 220:
|
|
740
|
-
t = l, b = 42;
|
|
741
|
-
}
|
|
742
|
-
break;
|
|
743
|
-
case 42:
|
|
744
|
-
47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
0 === b && (f += y);
|
|
748
|
-
}
|
|
749
|
-
K = x;
|
|
750
|
-
x = g;
|
|
751
|
-
l++;
|
|
752
|
-
}
|
|
753
|
-
t = p.length;
|
|
754
|
-
if (0 < t) {
|
|
755
|
-
r = c;
|
|
756
|
-
if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
|
|
757
|
-
p = r.join(',') + '{' + p + '}';
|
|
758
|
-
if (0 !== w * E) {
|
|
759
|
-
2 !== w || L(p, 2) || (E = 0);
|
|
760
|
-
switch (E) {
|
|
761
|
-
case 111:
|
|
762
|
-
p = p.replace(ha, ':-moz-$1') + p;
|
|
763
|
-
break;
|
|
764
|
-
case 112:
|
|
765
|
-
p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
|
|
766
|
-
}
|
|
767
|
-
E = 0;
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
return G + p + F;
|
|
771
|
-
}
|
|
772
|
-
function X(d, c, e) {
|
|
773
|
-
var h = c.trim().split(ia);
|
|
774
|
-
c = h;
|
|
775
|
-
var a = h.length,
|
|
776
|
-
m = d.length;
|
|
777
|
-
switch (m) {
|
|
778
|
-
case 0:
|
|
779
|
-
case 1:
|
|
780
|
-
var b = 0;
|
|
781
|
-
for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
|
|
782
|
-
c[b] = Z(d, c[b], e).trim();
|
|
783
|
-
}
|
|
784
|
-
break;
|
|
785
|
-
default:
|
|
786
|
-
var v = b = 0;
|
|
787
|
-
for (c = []; b < a; ++b) {
|
|
788
|
-
for (var n = 0; n < m; ++n) {
|
|
789
|
-
c[v++] = Z(d[n] + ' ', h[b], e).trim();
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
}
|
|
793
|
-
return c;
|
|
794
|
-
}
|
|
795
|
-
function Z(d, c, e) {
|
|
796
|
-
var h = c.charCodeAt(0);
|
|
797
|
-
33 > h && (h = (c = c.trim()).charCodeAt(0));
|
|
798
|
-
switch (h) {
|
|
799
|
-
case 38:
|
|
800
|
-
return c.replace(F, '$1' + d.trim());
|
|
801
|
-
case 58:
|
|
802
|
-
return d.trim() + c.replace(F, '$1' + d.trim());
|
|
803
|
-
default:
|
|
804
|
-
if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
|
|
805
|
-
}
|
|
806
|
-
return d + c;
|
|
807
|
-
}
|
|
808
|
-
function P(d, c, e, h) {
|
|
809
|
-
var a = d + ';',
|
|
810
|
-
m = 2 * c + 3 * e + 4 * h;
|
|
811
|
-
if (944 === m) {
|
|
812
|
-
d = a.indexOf(':', 9) + 1;
|
|
813
|
-
var b = a.substring(d, a.length - 1).trim();
|
|
814
|
-
b = a.substring(0, d).trim() + b + ';';
|
|
815
|
-
return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
|
|
816
|
-
}
|
|
817
|
-
if (0 === w || 2 === w && !L(a, 1)) return a;
|
|
818
|
-
switch (m) {
|
|
819
|
-
case 1015:
|
|
820
|
-
return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
|
|
821
|
-
case 951:
|
|
822
|
-
return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
|
|
823
|
-
case 963:
|
|
824
|
-
return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
|
|
825
|
-
case 1009:
|
|
826
|
-
if (100 !== a.charCodeAt(4)) break;
|
|
827
|
-
case 969:
|
|
828
|
-
case 942:
|
|
829
|
-
return '-webkit-' + a + a;
|
|
830
|
-
case 978:
|
|
831
|
-
return '-webkit-' + a + '-moz-' + a + a;
|
|
832
|
-
case 1019:
|
|
833
|
-
case 983:
|
|
834
|
-
return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
|
|
835
|
-
case 883:
|
|
836
|
-
if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
|
|
837
|
-
if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
|
|
838
|
-
break;
|
|
839
|
-
case 932:
|
|
840
|
-
if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
|
|
841
|
-
case 103:
|
|
842
|
-
return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
|
|
843
|
-
case 115:
|
|
844
|
-
return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
|
|
845
|
-
case 98:
|
|
846
|
-
return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
|
|
847
|
-
}
|
|
848
|
-
return '-webkit-' + a + '-ms-' + a + a;
|
|
849
|
-
case 964:
|
|
850
|
-
return '-webkit-' + a + '-ms-flex-' + a + a;
|
|
851
|
-
case 1023:
|
|
852
|
-
if (99 !== a.charCodeAt(8)) break;
|
|
853
|
-
b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
|
|
854
|
-
return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
|
|
855
|
-
case 1005:
|
|
856
|
-
return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
|
|
857
|
-
case 1e3:
|
|
858
|
-
b = a.substring(13).trim();
|
|
859
|
-
c = b.indexOf('-') + 1;
|
|
860
|
-
switch (b.charCodeAt(0) + b.charCodeAt(c)) {
|
|
861
|
-
case 226:
|
|
862
|
-
b = a.replace(G, 'tb');
|
|
863
|
-
break;
|
|
864
|
-
case 232:
|
|
865
|
-
b = a.replace(G, 'tb-rl');
|
|
866
|
-
break;
|
|
867
|
-
case 220:
|
|
868
|
-
b = a.replace(G, 'lr');
|
|
869
|
-
break;
|
|
870
|
-
default:
|
|
871
|
-
return a;
|
|
872
|
-
}
|
|
873
|
-
return '-webkit-' + a + '-ms-' + b + a;
|
|
874
|
-
case 1017:
|
|
875
|
-
if (-1 === a.indexOf('sticky', 9)) break;
|
|
876
|
-
case 975:
|
|
877
|
-
c = (a = d).length - 10;
|
|
878
|
-
b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
|
|
879
|
-
switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
|
|
880
|
-
case 203:
|
|
881
|
-
if (111 > b.charCodeAt(8)) break;
|
|
882
|
-
case 115:
|
|
883
|
-
a = a.replace(b, '-webkit-' + b) + ';' + a;
|
|
884
|
-
break;
|
|
885
|
-
case 207:
|
|
886
|
-
case 102:
|
|
887
|
-
a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
|
|
888
|
-
}
|
|
889
|
-
return a + ';';
|
|
890
|
-
case 938:
|
|
891
|
-
if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
|
|
892
|
-
case 105:
|
|
893
|
-
return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
|
|
894
|
-
case 115:
|
|
895
|
-
return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
|
|
896
|
-
default:
|
|
897
|
-
return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
|
|
898
|
-
}
|
|
899
|
-
break;
|
|
900
|
-
case 973:
|
|
901
|
-
case 989:
|
|
902
|
-
if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
|
|
903
|
-
case 931:
|
|
904
|
-
case 953:
|
|
905
|
-
if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;
|
|
906
|
-
break;
|
|
907
|
-
case 962:
|
|
908
|
-
if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;
|
|
909
|
-
}
|
|
910
|
-
return a;
|
|
911
|
-
}
|
|
912
|
-
function L(d, c) {
|
|
913
|
-
var e = d.indexOf(1 === c ? ':' : '{'),
|
|
914
|
-
h = d.substring(0, 3 !== c ? e : 10);
|
|
915
|
-
e = d.substring(e + 1, d.length - 1);
|
|
916
|
-
return R(2 !== c ? h : h.replace(na, '$1'), e, c);
|
|
917
|
-
}
|
|
918
|
-
function ea(d, c) {
|
|
919
|
-
var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
|
|
920
|
-
return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
|
|
921
|
-
}
|
|
922
|
-
function H(d, c, e, h, a, m, b, v, n, q) {
|
|
923
|
-
for (var g = 0, x = c, w; g < A; ++g) {
|
|
924
|
-
switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
|
|
925
|
-
case void 0:
|
|
926
|
-
case !1:
|
|
927
|
-
case !0:
|
|
928
|
-
case null:
|
|
929
|
-
break;
|
|
930
|
-
default:
|
|
931
|
-
x = w;
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
if (x !== c) return x;
|
|
935
|
-
}
|
|
936
|
-
function T(d) {
|
|
937
|
-
switch (d) {
|
|
938
|
-
case void 0:
|
|
939
|
-
case null:
|
|
940
|
-
A = S.length = 0;
|
|
941
|
-
break;
|
|
942
|
-
default:
|
|
943
|
-
if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
|
|
944
|
-
T(d[c]);
|
|
945
|
-
} else Y = !!d | 0;
|
|
946
|
-
}
|
|
947
|
-
return T;
|
|
948
|
-
}
|
|
949
|
-
function U(d) {
|
|
950
|
-
d = d.prefix;
|
|
951
|
-
void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
|
|
952
|
-
return U;
|
|
953
|
-
}
|
|
954
|
-
function B(d, c) {
|
|
955
|
-
var e = d;
|
|
956
|
-
33 > e.charCodeAt(0) && (e = e.trim());
|
|
957
|
-
V = e;
|
|
958
|
-
e = [V];
|
|
959
|
-
if (0 < A) {
|
|
960
|
-
var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
|
|
961
|
-
void 0 !== h && 'string' === typeof h && (c = h);
|
|
962
|
-
}
|
|
963
|
-
var a = M(O, e, c, 0, 0);
|
|
964
|
-
0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
|
|
965
|
-
V = '';
|
|
966
|
-
E = 0;
|
|
967
|
-
z = D = 1;
|
|
968
|
-
return a;
|
|
969
|
-
}
|
|
970
|
-
var ca = /^\0+/g,
|
|
971
|
-
N = /[\0\r\f]/g,
|
|
972
|
-
aa = /: */g,
|
|
973
|
-
ka = /zoo|gra/,
|
|
974
|
-
ma = /([,: ])(transform)/g,
|
|
975
|
-
ia = /,\r+?/g,
|
|
976
|
-
F = /([\t\r\n ])*\f?&/g,
|
|
977
|
-
fa = /@(k\w+)\s*(\S*)\s*/,
|
|
978
|
-
Q = /::(place)/g,
|
|
979
|
-
ha = /:(read-only)/g,
|
|
980
|
-
G = /[svh]\w+-[tblr]{2}/,
|
|
981
|
-
da = /\(\s*(.*)\s*\)/g,
|
|
982
|
-
oa = /([\s\S]*?);/g,
|
|
983
|
-
ba = /-self|flex-/g,
|
|
984
|
-
na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
|
|
985
|
-
la = /stretch|:\s*\w+\-(?:conte|avail)/,
|
|
986
|
-
ja = /([^-])(image-set\()/,
|
|
987
|
-
z = 1,
|
|
988
|
-
D = 1,
|
|
989
|
-
E = 0,
|
|
990
|
-
w = 1,
|
|
991
|
-
O = [],
|
|
992
|
-
S = [],
|
|
993
|
-
A = 0,
|
|
994
|
-
R = null,
|
|
995
|
-
Y = 0,
|
|
996
|
-
V = '';
|
|
997
|
-
B.use = T;
|
|
998
|
-
B.set = U;
|
|
999
|
-
void 0 !== W && U(W);
|
|
1000
|
-
return B;
|
|
1001
|
-
}
|
|
1002
|
-
var unitlessKeys = {
|
|
1003
|
-
animationIterationCount: 1,
|
|
1004
|
-
borderImageOutset: 1,
|
|
1005
|
-
borderImageSlice: 1,
|
|
1006
|
-
borderImageWidth: 1,
|
|
1007
|
-
boxFlex: 1,
|
|
1008
|
-
boxFlexGroup: 1,
|
|
1009
|
-
boxOrdinalGroup: 1,
|
|
1010
|
-
columnCount: 1,
|
|
1011
|
-
columns: 1,
|
|
1012
|
-
flex: 1,
|
|
1013
|
-
flexGrow: 1,
|
|
1014
|
-
flexPositive: 1,
|
|
1015
|
-
flexShrink: 1,
|
|
1016
|
-
flexNegative: 1,
|
|
1017
|
-
flexOrder: 1,
|
|
1018
|
-
gridRow: 1,
|
|
1019
|
-
gridRowEnd: 1,
|
|
1020
|
-
gridRowSpan: 1,
|
|
1021
|
-
gridRowStart: 1,
|
|
1022
|
-
gridColumn: 1,
|
|
1023
|
-
gridColumnEnd: 1,
|
|
1024
|
-
gridColumnSpan: 1,
|
|
1025
|
-
gridColumnStart: 1,
|
|
1026
|
-
msGridRow: 1,
|
|
1027
|
-
msGridRowSpan: 1,
|
|
1028
|
-
msGridColumn: 1,
|
|
1029
|
-
msGridColumnSpan: 1,
|
|
1030
|
-
fontWeight: 1,
|
|
1031
|
-
lineHeight: 1,
|
|
1032
|
-
opacity: 1,
|
|
1033
|
-
order: 1,
|
|
1034
|
-
orphans: 1,
|
|
1035
|
-
tabSize: 1,
|
|
1036
|
-
widows: 1,
|
|
1037
|
-
zIndex: 1,
|
|
1038
|
-
zoom: 1,
|
|
1039
|
-
WebkitLineClamp: 1,
|
|
1040
|
-
// SVG-related properties
|
|
1041
|
-
fillOpacity: 1,
|
|
1042
|
-
floodOpacity: 1,
|
|
1043
|
-
stopOpacity: 1,
|
|
1044
|
-
strokeDasharray: 1,
|
|
1045
|
-
strokeDashoffset: 1,
|
|
1046
|
-
strokeMiterlimit: 1,
|
|
1047
|
-
strokeOpacity: 1,
|
|
1048
|
-
strokeWidth: 1
|
|
1049
|
-
};
|
|
1050
|
-
function memoize(fn) {
|
|
1051
|
-
var cache = Object.create(null);
|
|
1052
|
-
return function (arg) {
|
|
1053
|
-
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
1054
|
-
return cache[arg];
|
|
1055
|
-
};
|
|
1056
|
-
}
|
|
1057
|
-
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
1058
|
-
|
|
1059
|
-
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
1060
|
-
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
1061
|
-
/* o */ && prop.charCodeAt(1) === 110
|
|
1062
|
-
/* n */ && prop.charCodeAt(2) < 91;
|
|
1063
|
-
}
|
|
1064
|
-
/* Z+1 */);
|
|
1065
|
-
|
|
1066
|
-
var reactIs$1 = {
|
|
1067
|
-
exports: {}
|
|
1068
|
-
};
|
|
1069
|
-
var reactIs_production_min = {};
|
|
1070
|
-
|
|
1071
|
-
/** @license React v16.13.1
|
|
1072
|
-
* react-is.production.min.js
|
|
1073
|
-
*
|
|
1074
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1075
|
-
*
|
|
1076
|
-
* This source code is licensed under the MIT license found in the
|
|
1077
|
-
* LICENSE file in the root directory of this source tree.
|
|
1078
|
-
*/
|
|
1079
|
-
|
|
1080
|
-
var hasRequiredReactIs_production_min;
|
|
1081
|
-
function requireReactIs_production_min() {
|
|
1082
|
-
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
1083
|
-
hasRequiredReactIs_production_min = 1;
|
|
1084
|
-
var b = "function" === typeof Symbol && Symbol.for,
|
|
1085
|
-
c = b ? Symbol.for("react.element") : 60103,
|
|
1086
|
-
d = b ? Symbol.for("react.portal") : 60106,
|
|
1087
|
-
e = b ? Symbol.for("react.fragment") : 60107,
|
|
1088
|
-
f = b ? Symbol.for("react.strict_mode") : 60108,
|
|
1089
|
-
g = b ? Symbol.for("react.profiler") : 60114,
|
|
1090
|
-
h = b ? Symbol.for("react.provider") : 60109,
|
|
1091
|
-
k = b ? Symbol.for("react.context") : 60110,
|
|
1092
|
-
l = b ? Symbol.for("react.async_mode") : 60111,
|
|
1093
|
-
m = b ? Symbol.for("react.concurrent_mode") : 60111,
|
|
1094
|
-
n = b ? Symbol.for("react.forward_ref") : 60112,
|
|
1095
|
-
p = b ? Symbol.for("react.suspense") : 60113,
|
|
1096
|
-
q = b ? Symbol.for("react.suspense_list") : 60120,
|
|
1097
|
-
r = b ? Symbol.for("react.memo") : 60115,
|
|
1098
|
-
t = b ? Symbol.for("react.lazy") : 60116,
|
|
1099
|
-
v = b ? Symbol.for("react.block") : 60121,
|
|
1100
|
-
w = b ? Symbol.for("react.fundamental") : 60117,
|
|
1101
|
-
x = b ? Symbol.for("react.responder") : 60118,
|
|
1102
|
-
y = b ? Symbol.for("react.scope") : 60119;
|
|
1103
|
-
function z(a) {
|
|
1104
|
-
if ("object" === typeof a && null !== a) {
|
|
1105
|
-
var u = a.$$typeof;
|
|
1106
|
-
switch (u) {
|
|
1107
|
-
case c:
|
|
1108
|
-
switch (a = a.type, a) {
|
|
1109
|
-
case l:
|
|
1110
|
-
case m:
|
|
1111
|
-
case e:
|
|
1112
|
-
case g:
|
|
1113
|
-
case f:
|
|
1114
|
-
case p:
|
|
1115
|
-
return a;
|
|
1116
|
-
default:
|
|
1117
|
-
switch (a = a && a.$$typeof, a) {
|
|
1118
|
-
case k:
|
|
1119
|
-
case n:
|
|
1120
|
-
case t:
|
|
1121
|
-
case r:
|
|
1122
|
-
case h:
|
|
1123
|
-
return a;
|
|
1124
|
-
default:
|
|
1125
|
-
return u;
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
case d:
|
|
1129
|
-
return u;
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
function A(a) {
|
|
1134
|
-
return z(a) === m;
|
|
1135
|
-
}
|
|
1136
|
-
reactIs_production_min.AsyncMode = l;
|
|
1137
|
-
reactIs_production_min.ConcurrentMode = m;
|
|
1138
|
-
reactIs_production_min.ContextConsumer = k;
|
|
1139
|
-
reactIs_production_min.ContextProvider = h;
|
|
1140
|
-
reactIs_production_min.Element = c;
|
|
1141
|
-
reactIs_production_min.ForwardRef = n;
|
|
1142
|
-
reactIs_production_min.Fragment = e;
|
|
1143
|
-
reactIs_production_min.Lazy = t;
|
|
1144
|
-
reactIs_production_min.Memo = r;
|
|
1145
|
-
reactIs_production_min.Portal = d;
|
|
1146
|
-
reactIs_production_min.Profiler = g;
|
|
1147
|
-
reactIs_production_min.StrictMode = f;
|
|
1148
|
-
reactIs_production_min.Suspense = p;
|
|
1149
|
-
reactIs_production_min.isAsyncMode = function (a) {
|
|
1150
|
-
return A(a) || z(a) === l;
|
|
1151
|
-
};
|
|
1152
|
-
reactIs_production_min.isConcurrentMode = A;
|
|
1153
|
-
reactIs_production_min.isContextConsumer = function (a) {
|
|
1154
|
-
return z(a) === k;
|
|
1155
|
-
};
|
|
1156
|
-
reactIs_production_min.isContextProvider = function (a) {
|
|
1157
|
-
return z(a) === h;
|
|
1158
|
-
};
|
|
1159
|
-
reactIs_production_min.isElement = function (a) {
|
|
1160
|
-
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
1161
|
-
};
|
|
1162
|
-
reactIs_production_min.isForwardRef = function (a) {
|
|
1163
|
-
return z(a) === n;
|
|
1164
|
-
};
|
|
1165
|
-
reactIs_production_min.isFragment = function (a) {
|
|
1166
|
-
return z(a) === e;
|
|
1167
|
-
};
|
|
1168
|
-
reactIs_production_min.isLazy = function (a) {
|
|
1169
|
-
return z(a) === t;
|
|
1170
|
-
};
|
|
1171
|
-
reactIs_production_min.isMemo = function (a) {
|
|
1172
|
-
return z(a) === r;
|
|
1173
|
-
};
|
|
1174
|
-
reactIs_production_min.isPortal = function (a) {
|
|
1175
|
-
return z(a) === d;
|
|
1176
|
-
};
|
|
1177
|
-
reactIs_production_min.isProfiler = function (a) {
|
|
1178
|
-
return z(a) === g;
|
|
1179
|
-
};
|
|
1180
|
-
reactIs_production_min.isStrictMode = function (a) {
|
|
1181
|
-
return z(a) === f;
|
|
1182
|
-
};
|
|
1183
|
-
reactIs_production_min.isSuspense = function (a) {
|
|
1184
|
-
return z(a) === p;
|
|
1185
|
-
};
|
|
1186
|
-
reactIs_production_min.isValidElementType = function (a) {
|
|
1187
|
-
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
|
1188
|
-
};
|
|
1189
|
-
reactIs_production_min.typeOf = z;
|
|
1190
|
-
return reactIs_production_min;
|
|
1191
|
-
}
|
|
1192
|
-
var reactIs_development = {};
|
|
1193
|
-
|
|
1194
|
-
/** @license React v16.13.1
|
|
1195
|
-
* react-is.development.js
|
|
1196
|
-
*
|
|
1197
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1198
|
-
*
|
|
1199
|
-
* This source code is licensed under the MIT license found in the
|
|
1200
|
-
* LICENSE file in the root directory of this source tree.
|
|
1201
|
-
*/
|
|
1202
|
-
|
|
1203
|
-
var hasRequiredReactIs_development;
|
|
1204
|
-
function requireReactIs_development() {
|
|
1205
|
-
if (hasRequiredReactIs_development) return reactIs_development;
|
|
1206
|
-
hasRequiredReactIs_development = 1;
|
|
1207
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1208
|
-
(function () {
|
|
1209
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
1210
|
-
// nor polyfill, then a plain number is used for performance.
|
|
1211
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
1212
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
1213
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
1214
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
1215
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
1216
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
1217
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
1218
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
1219
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
1220
|
-
|
|
1221
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
1222
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
1223
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
1224
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
1225
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
1226
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
1227
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
1228
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
1229
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
1230
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
1231
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
1232
|
-
function isValidElementType(type) {
|
|
1233
|
-
return typeof type === 'string' || typeof type === 'function' ||
|
|
1234
|
-
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1235
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
1236
|
-
}
|
|
1237
|
-
function typeOf(object) {
|
|
1238
|
-
if (typeof object === 'object' && object !== null) {
|
|
1239
|
-
var $$typeof = object.$$typeof;
|
|
1240
|
-
switch ($$typeof) {
|
|
1241
|
-
case REACT_ELEMENT_TYPE:
|
|
1242
|
-
var type = object.type;
|
|
1243
|
-
switch (type) {
|
|
1244
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
1245
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
1246
|
-
case REACT_FRAGMENT_TYPE:
|
|
1247
|
-
case REACT_PROFILER_TYPE:
|
|
1248
|
-
case REACT_STRICT_MODE_TYPE:
|
|
1249
|
-
case REACT_SUSPENSE_TYPE:
|
|
1250
|
-
return type;
|
|
1251
|
-
default:
|
|
1252
|
-
var $$typeofType = type && type.$$typeof;
|
|
1253
|
-
switch ($$typeofType) {
|
|
1254
|
-
case REACT_CONTEXT_TYPE:
|
|
1255
|
-
case REACT_FORWARD_REF_TYPE:
|
|
1256
|
-
case REACT_LAZY_TYPE:
|
|
1257
|
-
case REACT_MEMO_TYPE:
|
|
1258
|
-
case REACT_PROVIDER_TYPE:
|
|
1259
|
-
return $$typeofType;
|
|
1260
|
-
default:
|
|
1261
|
-
return $$typeof;
|
|
1262
|
-
}
|
|
1263
|
-
}
|
|
1264
|
-
case REACT_PORTAL_TYPE:
|
|
1265
|
-
return $$typeof;
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
return undefined;
|
|
1269
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
1270
|
-
|
|
1271
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
1272
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
1273
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
1274
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
1275
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
1276
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
1277
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
1278
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
1279
|
-
var Memo = REACT_MEMO_TYPE;
|
|
1280
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
1281
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
1282
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
1283
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
1284
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
1285
|
-
|
|
1286
|
-
function isAsyncMode(object) {
|
|
1287
|
-
{
|
|
1288
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
1289
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
1290
|
-
|
|
1291
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
1295
|
-
}
|
|
1296
|
-
function isConcurrentMode(object) {
|
|
1297
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
1298
|
-
}
|
|
1299
|
-
function isContextConsumer(object) {
|
|
1300
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
1301
|
-
}
|
|
1302
|
-
function isContextProvider(object) {
|
|
1303
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
1304
|
-
}
|
|
1305
|
-
function isElement(object) {
|
|
1306
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1307
|
-
}
|
|
1308
|
-
function isForwardRef(object) {
|
|
1309
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
1310
|
-
}
|
|
1311
|
-
function isFragment(object) {
|
|
1312
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
1313
|
-
}
|
|
1314
|
-
function isLazy(object) {
|
|
1315
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
1316
|
-
}
|
|
1317
|
-
function isMemo(object) {
|
|
1318
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
1319
|
-
}
|
|
1320
|
-
function isPortal(object) {
|
|
1321
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
1322
|
-
}
|
|
1323
|
-
function isProfiler(object) {
|
|
1324
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
1325
|
-
}
|
|
1326
|
-
function isStrictMode(object) {
|
|
1327
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
1328
|
-
}
|
|
1329
|
-
function isSuspense(object) {
|
|
1330
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
1331
|
-
}
|
|
1332
|
-
reactIs_development.AsyncMode = AsyncMode;
|
|
1333
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
1334
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1335
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
1336
|
-
reactIs_development.Element = Element;
|
|
1337
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
1338
|
-
reactIs_development.Fragment = Fragment;
|
|
1339
|
-
reactIs_development.Lazy = Lazy;
|
|
1340
|
-
reactIs_development.Memo = Memo;
|
|
1341
|
-
reactIs_development.Portal = Portal;
|
|
1342
|
-
reactIs_development.Profiler = Profiler;
|
|
1343
|
-
reactIs_development.StrictMode = StrictMode;
|
|
1344
|
-
reactIs_development.Suspense = Suspense;
|
|
1345
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1346
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1347
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1348
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
1349
|
-
reactIs_development.isElement = isElement;
|
|
1350
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
1351
|
-
reactIs_development.isFragment = isFragment;
|
|
1352
|
-
reactIs_development.isLazy = isLazy;
|
|
1353
|
-
reactIs_development.isMemo = isMemo;
|
|
1354
|
-
reactIs_development.isPortal = isPortal;
|
|
1355
|
-
reactIs_development.isProfiler = isProfiler;
|
|
1356
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
1357
|
-
reactIs_development.isSuspense = isSuspense;
|
|
1358
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
1359
|
-
reactIs_development.typeOf = typeOf;
|
|
1360
|
-
})();
|
|
1361
|
-
}
|
|
1362
|
-
return reactIs_development;
|
|
1363
|
-
}
|
|
1364
|
-
if (process.env.NODE_ENV === 'production') {
|
|
1365
|
-
reactIs$1.exports = requireReactIs_production_min();
|
|
1366
|
-
} else {
|
|
1367
|
-
reactIs$1.exports = requireReactIs_development();
|
|
1368
|
-
}
|
|
1369
|
-
var reactIsExports = reactIs$1.exports;
|
|
1370
|
-
var reactIs = reactIsExports;
|
|
1371
|
-
|
|
1372
|
-
/**
|
|
1373
|
-
* Copyright 2015, Yahoo! Inc.
|
|
1374
|
-
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
|
1375
|
-
*/
|
|
1376
|
-
var REACT_STATICS = {
|
|
1377
|
-
childContextTypes: true,
|
|
1378
|
-
contextType: true,
|
|
1379
|
-
contextTypes: true,
|
|
1380
|
-
defaultProps: true,
|
|
1381
|
-
displayName: true,
|
|
1382
|
-
getDefaultProps: true,
|
|
1383
|
-
getDerivedStateFromError: true,
|
|
1384
|
-
getDerivedStateFromProps: true,
|
|
1385
|
-
mixins: true,
|
|
1386
|
-
propTypes: true,
|
|
1387
|
-
type: true
|
|
1388
|
-
};
|
|
1389
|
-
var KNOWN_STATICS = {
|
|
1390
|
-
name: true,
|
|
1391
|
-
length: true,
|
|
1392
|
-
prototype: true,
|
|
1393
|
-
caller: true,
|
|
1394
|
-
callee: true,
|
|
1395
|
-
arguments: true,
|
|
1396
|
-
arity: true
|
|
1397
|
-
};
|
|
1398
|
-
var FORWARD_REF_STATICS = {
|
|
1399
|
-
'$$typeof': true,
|
|
1400
|
-
render: true,
|
|
1401
|
-
defaultProps: true,
|
|
1402
|
-
displayName: true,
|
|
1403
|
-
propTypes: true
|
|
1404
|
-
};
|
|
1405
|
-
var MEMO_STATICS = {
|
|
1406
|
-
'$$typeof': true,
|
|
1407
|
-
compare: true,
|
|
1408
|
-
defaultProps: true,
|
|
1409
|
-
displayName: true,
|
|
1410
|
-
propTypes: true,
|
|
1411
|
-
type: true
|
|
1412
|
-
};
|
|
1413
|
-
var TYPE_STATICS = {};
|
|
1414
|
-
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
1415
|
-
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
1416
|
-
function getStatics(component) {
|
|
1417
|
-
// React v16.11 and below
|
|
1418
|
-
if (reactIs.isMemo(component)) {
|
|
1419
|
-
return MEMO_STATICS;
|
|
1420
|
-
} // React v16.12 and above
|
|
1421
|
-
|
|
1422
|
-
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
|
|
1423
|
-
}
|
|
1424
|
-
var defineProperty = Object.defineProperty;
|
|
1425
|
-
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
1426
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
1427
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1428
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
|
1429
|
-
var objectPrototype = Object.prototype;
|
|
1430
|
-
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
1431
|
-
if (typeof sourceComponent !== 'string') {
|
|
1432
|
-
// don't hoist over string (html) components
|
|
1433
|
-
if (objectPrototype) {
|
|
1434
|
-
var inheritedComponent = getPrototypeOf(sourceComponent);
|
|
1435
|
-
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
|
1436
|
-
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
var keys = getOwnPropertyNames(sourceComponent);
|
|
1440
|
-
if (getOwnPropertySymbols) {
|
|
1441
|
-
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
|
1442
|
-
}
|
|
1443
|
-
var targetStatics = getStatics(targetComponent);
|
|
1444
|
-
var sourceStatics = getStatics(sourceComponent);
|
|
1445
|
-
for (var i = 0; i < keys.length; ++i) {
|
|
1446
|
-
var key = keys[i];
|
|
1447
|
-
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
|
1448
|
-
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
|
1449
|
-
try {
|
|
1450
|
-
// Avoid failures from read-only properties
|
|
1451
|
-
defineProperty(targetComponent, key, descriptor);
|
|
1452
|
-
} catch (e) {}
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
}
|
|
1456
|
-
return targetComponent;
|
|
1457
|
-
}
|
|
1458
|
-
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
1459
|
-
var f = /*@__PURE__*/getDefaultExportFromCjs(hoistNonReactStatics_cjs);
|
|
1460
|
-
function m() {
|
|
1461
|
-
return (m = Object.assign || function (e) {
|
|
1462
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
1463
|
-
var n = arguments[t];
|
|
1464
|
-
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
1465
|
-
}
|
|
1466
|
-
return e;
|
|
1467
|
-
}).apply(this, arguments);
|
|
1468
|
-
}
|
|
1469
|
-
var y = function (e, t) {
|
|
1470
|
-
for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
|
|
1471
|
-
return n;
|
|
1472
|
-
},
|
|
1473
|
-
v = function (t) {
|
|
1474
|
-
return null !== t && "object" == typeof t && "[object Object]" === (t.toString ? t.toString() : Object.prototype.toString.call(t)) && !reactIsExports$1.typeOf(t);
|
|
1475
|
-
},
|
|
1476
|
-
g = Object.freeze([]),
|
|
1477
|
-
S = Object.freeze({});
|
|
1478
|
-
function w(e) {
|
|
1479
|
-
return "function" == typeof e;
|
|
1480
|
-
}
|
|
1481
|
-
function E(e) {
|
|
1482
|
-
return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
|
|
1483
|
-
}
|
|
1484
|
-
function b(e) {
|
|
1485
|
-
return e && "string" == typeof e.styledComponentId;
|
|
1486
|
-
}
|
|
1487
|
-
var _ = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
|
|
1488
|
-
A = "undefined" != typeof window && "HTMLElement" in window,
|
|
1489
|
-
C = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && (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 : 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)),
|
|
1490
|
-
P = "production" !== process.env.NODE_ENV ? {
|
|
1491
|
-
1: "Cannot create styled-component for component: %s.\n\n",
|
|
1492
|
-
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",
|
|
1493
|
-
3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
|
|
1494
|
-
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",
|
|
1495
|
-
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",
|
|
1496
|
-
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",
|
|
1497
|
-
7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
|
|
1498
|
-
8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
|
|
1499
|
-
9: "Missing document `<head>`\n\n",
|
|
1500
|
-
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",
|
|
1501
|
-
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",
|
|
1502
|
-
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",
|
|
1503
|
-
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",
|
|
1504
|
-
14: 'ThemeProvider: "theme" prop is required.\n\n',
|
|
1505
|
-
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",
|
|
1506
|
-
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",
|
|
1507
|
-
17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"
|
|
1508
|
-
} : {};
|
|
1509
|
-
function O() {
|
|
1510
|
-
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]);
|
|
1511
|
-
return t.forEach(function (t) {
|
|
1512
|
-
e = e.replace(/%[a-z]/, t);
|
|
1513
|
-
}), e;
|
|
1514
|
-
}
|
|
1515
|
-
function R(e) {
|
|
1516
|
-
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1517
|
-
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(O.apply(void 0, [P[e]].concat(n)).trim());
|
|
1518
|
-
}
|
|
1519
|
-
var D = function () {
|
|
1520
|
-
function e(e) {
|
|
1521
|
-
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
|
|
1522
|
-
}
|
|
1523
|
-
var t = e.prototype;
|
|
1524
|
-
return t.indexOfGroup = function (e) {
|
|
1525
|
-
for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
|
|
1526
|
-
return t;
|
|
1527
|
-
}, t.insertRules = function (e, t) {
|
|
1528
|
-
if (e >= this.groupSizes.length) {
|
|
1529
|
-
for (var n = this.groupSizes, r = n.length, o = r; e >= o;) (o <<= 1) < 0 && R(16, "" + e);
|
|
1530
|
-
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
|
|
1531
|
-
for (var s = r; s < o; s++) this.groupSizes[s] = 0;
|
|
1532
|
-
}
|
|
1533
|
-
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++);
|
|
1534
|
-
}, t.clearGroup = function (e) {
|
|
1535
|
-
if (e < this.length) {
|
|
1536
|
-
var t = this.groupSizes[e],
|
|
1537
|
-
n = this.indexOfGroup(e),
|
|
1538
|
-
r = n + t;
|
|
1539
|
-
this.groupSizes[e] = 0;
|
|
1540
|
-
for (var o = n; o < r; o++) this.tag.deleteRule(n);
|
|
1541
|
-
}
|
|
1542
|
-
}, t.getGroup = function (e) {
|
|
1543
|
-
var t = "";
|
|
1544
|
-
if (e >= this.length || 0 === this.groupSizes[e]) return t;
|
|
1545
|
-
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";
|
|
1546
|
-
return t;
|
|
1547
|
-
}, e;
|
|
1548
|
-
}(),
|
|
1549
|
-
j = new Map(),
|
|
1550
|
-
T = new Map(),
|
|
1551
|
-
x = 1,
|
|
1552
|
-
k = function (e) {
|
|
1553
|
-
if (j.has(e)) return j.get(e);
|
|
1554
|
-
for (; T.has(x);) x++;
|
|
1555
|
-
var t = x++;
|
|
1556
|
-
return "production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1 << 30) && R(16, "" + t), j.set(e, t), T.set(t, e), t;
|
|
1557
|
-
},
|
|
1558
|
-
V = function (e) {
|
|
1559
|
-
return T.get(e);
|
|
1560
|
-
},
|
|
1561
|
-
z = function (e, t) {
|
|
1562
|
-
t >= x && (x = t + 1), j.set(e, t), T.set(t, e);
|
|
1563
|
-
},
|
|
1564
|
-
B = "style[" + _ + '][data-styled-version="5.3.11"]',
|
|
1565
|
-
M = new RegExp("^" + _ + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
|
|
1566
|
-
G = function (e, t, n) {
|
|
1567
|
-
for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
|
|
1568
|
-
},
|
|
1569
|
-
L = function (e, t) {
|
|
1570
|
-
for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], o = 0, s = n.length; o < s; o++) {
|
|
1571
|
-
var i = n[o].trim();
|
|
1572
|
-
if (i) {
|
|
1573
|
-
var a = i.match(M);
|
|
1574
|
-
if (a) {
|
|
1575
|
-
var c = 0 | parseInt(a[1], 10),
|
|
1576
|
-
u = a[2];
|
|
1577
|
-
0 !== c && (z(u, c), G(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0;
|
|
1578
|
-
} else r.push(i);
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
},
|
|
1582
|
-
F = function () {
|
|
1583
|
-
return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
|
|
1584
|
-
},
|
|
1585
|
-
Y = function (e) {
|
|
1586
|
-
var t = document.head,
|
|
1587
|
-
n = e || t,
|
|
1588
|
-
r = document.createElement("style"),
|
|
1589
|
-
o = function (e) {
|
|
1590
|
-
for (var t = e.childNodes, n = t.length; n >= 0; n--) {
|
|
1591
|
-
var r = t[n];
|
|
1592
|
-
if (r && 1 === r.nodeType && r.hasAttribute(_)) return r;
|
|
1593
|
-
}
|
|
1594
|
-
}(n),
|
|
1595
|
-
s = void 0 !== o ? o.nextSibling : null;
|
|
1596
|
-
r.setAttribute(_, "active"), r.setAttribute("data-styled-version", "5.3.11");
|
|
1597
|
-
var i = F();
|
|
1598
|
-
return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
|
|
1599
|
-
},
|
|
1600
|
-
q = function () {
|
|
1601
|
-
function e(e) {
|
|
1602
|
-
var t = this.element = Y(e);
|
|
1603
|
-
t.appendChild(document.createTextNode("")), this.sheet = function (e) {
|
|
1604
|
-
if (e.sheet) return e.sheet;
|
|
1605
|
-
for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
|
|
1606
|
-
var o = t[n];
|
|
1607
|
-
if (o.ownerNode === e) return o;
|
|
1608
|
-
}
|
|
1609
|
-
R(17);
|
|
1610
|
-
}(t), this.length = 0;
|
|
1611
|
-
}
|
|
1612
|
-
var t = e.prototype;
|
|
1613
|
-
return t.insertRule = function (e, t) {
|
|
1614
|
-
try {
|
|
1615
|
-
return this.sheet.insertRule(t, e), this.length++, !0;
|
|
1616
|
-
} catch (e) {
|
|
1617
|
-
return !1;
|
|
1618
|
-
}
|
|
1619
|
-
}, t.deleteRule = function (e) {
|
|
1620
|
-
this.sheet.deleteRule(e), this.length--;
|
|
1621
|
-
}, t.getRule = function (e) {
|
|
1622
|
-
var t = this.sheet.cssRules[e];
|
|
1623
|
-
return void 0 !== t && "string" == typeof t.cssText ? t.cssText : "";
|
|
1624
|
-
}, e;
|
|
1625
|
-
}(),
|
|
1626
|
-
H = function () {
|
|
1627
|
-
function e(e) {
|
|
1628
|
-
var t = this.element = Y(e);
|
|
1629
|
-
this.nodes = t.childNodes, this.length = 0;
|
|
1630
|
-
}
|
|
1631
|
-
var t = e.prototype;
|
|
1632
|
-
return t.insertRule = function (e, t) {
|
|
1633
|
-
if (e <= this.length && e >= 0) {
|
|
1634
|
-
var n = document.createTextNode(t),
|
|
1635
|
-
r = this.nodes[e];
|
|
1636
|
-
return this.element.insertBefore(n, r || null), this.length++, !0;
|
|
1637
|
-
}
|
|
1638
|
-
return !1;
|
|
1639
|
-
}, t.deleteRule = function (e) {
|
|
1640
|
-
this.element.removeChild(this.nodes[e]), this.length--;
|
|
1641
|
-
}, t.getRule = function (e) {
|
|
1642
|
-
return e < this.length ? this.nodes[e].textContent : "";
|
|
1643
|
-
}, e;
|
|
1644
|
-
}(),
|
|
1645
|
-
$ = function () {
|
|
1646
|
-
function e(e) {
|
|
1647
|
-
this.rules = [], this.length = 0;
|
|
1648
|
-
}
|
|
1649
|
-
var t = e.prototype;
|
|
1650
|
-
return t.insertRule = function (e, t) {
|
|
1651
|
-
return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
|
|
1652
|
-
}, t.deleteRule = function (e) {
|
|
1653
|
-
this.rules.splice(e, 1), this.length--;
|
|
1654
|
-
}, t.getRule = function (e) {
|
|
1655
|
-
return e < this.length ? this.rules[e] : "";
|
|
1656
|
-
}, e;
|
|
1657
|
-
}(),
|
|
1658
|
-
W = A,
|
|
1659
|
-
U = {
|
|
1660
|
-
isServer: !A,
|
|
1661
|
-
useCSSOMInjection: !C
|
|
1662
|
-
},
|
|
1663
|
-
J = function () {
|
|
1664
|
-
function e(e, t, n) {
|
|
1665
|
-
void 0 === e && (e = S), void 0 === t && (t = {}), this.options = m({}, U, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && A && W && (W = !1, function (e) {
|
|
1666
|
-
for (var t = document.querySelectorAll(B), n = 0, r = t.length; n < r; n++) {
|
|
1667
|
-
var o = t[n];
|
|
1668
|
-
o && "active" !== o.getAttribute(_) && (L(e, o), o.parentNode && o.parentNode.removeChild(o));
|
|
1669
|
-
}
|
|
1670
|
-
}(this));
|
|
1671
|
-
}
|
|
1672
|
-
e.registerId = function (e) {
|
|
1673
|
-
return k(e);
|
|
1674
|
-
};
|
|
1675
|
-
var t = e.prototype;
|
|
1676
|
-
return t.reconstructWithOptions = function (t, n) {
|
|
1677
|
-
return void 0 === n && (n = !0), new e(m({}, this.options, {}, t), this.gs, n && this.names || void 0);
|
|
1678
|
-
}, t.allocateGSInstance = function (e) {
|
|
1679
|
-
return this.gs[e] = (this.gs[e] || 0) + 1;
|
|
1680
|
-
}, t.getTag = function () {
|
|
1681
|
-
return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new $(o) : r ? new q(o) : new H(o), new D(e)));
|
|
1682
|
-
var e, t, n, r, o;
|
|
1683
|
-
}, t.hasNameForId = function (e, t) {
|
|
1684
|
-
return this.names.has(e) && this.names.get(e).has(t);
|
|
1685
|
-
}, t.registerName = function (e, t) {
|
|
1686
|
-
if (k(e), this.names.has(e)) this.names.get(e).add(t);else {
|
|
1687
|
-
var n = new Set();
|
|
1688
|
-
n.add(t), this.names.set(e, n);
|
|
1689
|
-
}
|
|
1690
|
-
}, t.insertRules = function (e, t, n) {
|
|
1691
|
-
this.registerName(e, t), this.getTag().insertRules(k(e), n);
|
|
1692
|
-
}, t.clearNames = function (e) {
|
|
1693
|
-
this.names.has(e) && this.names.get(e).clear();
|
|
1694
|
-
}, t.clearRules = function (e) {
|
|
1695
|
-
this.getTag().clearGroup(k(e)), this.clearNames(e);
|
|
1696
|
-
}, t.clearTag = function () {
|
|
1697
|
-
this.tag = void 0;
|
|
1698
|
-
}, t.toString = function () {
|
|
1699
|
-
return function (e) {
|
|
1700
|
-
for (var t = e.getTag(), n = t.length, r = "", o = 0; o < n; o++) {
|
|
1701
|
-
var s = V(o);
|
|
1702
|
-
if (void 0 !== s) {
|
|
1703
|
-
var i = e.names.get(s),
|
|
1704
|
-
a = t.getGroup(o);
|
|
1705
|
-
if (i && a && i.size) {
|
|
1706
|
-
var c = _ + ".g" + o + '[id="' + s + '"]',
|
|
1707
|
-
u = "";
|
|
1708
|
-
void 0 !== i && i.forEach(function (e) {
|
|
1709
|
-
e.length > 0 && (u += e + ",");
|
|
1710
|
-
}), r += "" + a + c + '{content:"' + u + '"}/*!sc*/\n';
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
}
|
|
1714
|
-
return r;
|
|
1715
|
-
}(this);
|
|
1716
|
-
}, e;
|
|
1717
|
-
}(),
|
|
1718
|
-
X = /(a)(d)/gi,
|
|
1719
|
-
Z = function (e) {
|
|
1720
|
-
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
1721
|
-
};
|
|
1722
|
-
function K(e) {
|
|
1723
|
-
var t,
|
|
1724
|
-
n = "";
|
|
1725
|
-
for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = Z(t % 52) + n;
|
|
1726
|
-
return (Z(t % 52) + n).replace(X, "$1-$2");
|
|
1727
|
-
}
|
|
1728
|
-
var Q = function (e, t) {
|
|
1729
|
-
for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
|
|
1730
|
-
return e;
|
|
1731
|
-
},
|
|
1732
|
-
ee = function (e) {
|
|
1733
|
-
return Q(5381, e);
|
|
1734
|
-
};
|
|
1735
|
-
function te(e) {
|
|
1736
|
-
for (var t = 0; t < e.length; t += 1) {
|
|
1737
|
-
var n = e[t];
|
|
1738
|
-
if (w(n) && !b(n)) return !1;
|
|
1739
|
-
}
|
|
1740
|
-
return !0;
|
|
1741
|
-
}
|
|
1742
|
-
var ne = ee("5.3.11"),
|
|
1743
|
-
re = function () {
|
|
1744
|
-
function e(e, t, n) {
|
|
1745
|
-
this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && te(e), this.componentId = t, this.baseHash = Q(ne, t), this.baseStyle = n, J.registerId(t);
|
|
1746
|
-
}
|
|
1747
|
-
return e.prototype.generateAndInjectStyles = function (e, t, n) {
|
|
1748
|
-
var r = this.componentId,
|
|
1749
|
-
o = [];
|
|
1750
|
-
if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, t, n)), this.isStatic && !n.hash) {
|
|
1751
|
-
if (this.staticRulesId && t.hasNameForId(r, this.staticRulesId)) o.push(this.staticRulesId);else {
|
|
1752
|
-
var s = be(this.rules, e, t, n).join(""),
|
|
1753
|
-
i = K(Q(this.baseHash, s) >>> 0);
|
|
1754
|
-
if (!t.hasNameForId(r, i)) {
|
|
1755
|
-
var a = n(s, "." + i, void 0, r);
|
|
1756
|
-
t.insertRules(r, i, a);
|
|
1757
|
-
}
|
|
1758
|
-
o.push(i), this.staticRulesId = i;
|
|
1759
|
-
}
|
|
1760
|
-
} else {
|
|
1761
|
-
for (var c = this.rules.length, u = Q(this.baseHash, n.hash), l = "", d = 0; d < c; d++) {
|
|
1762
|
-
var h = this.rules[d];
|
|
1763
|
-
if ("string" == typeof h) l += h, "production" !== process.env.NODE_ENV && (u = Q(u, h + d));else if (h) {
|
|
1764
|
-
var p = be(h, e, t, n),
|
|
1765
|
-
f = Array.isArray(p) ? p.join("") : p;
|
|
1766
|
-
u = Q(u, f + d), l += f;
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
if (l) {
|
|
1770
|
-
var m = K(u >>> 0);
|
|
1771
|
-
if (!t.hasNameForId(r, m)) {
|
|
1772
|
-
var y = n(l, "." + m, void 0, r);
|
|
1773
|
-
t.insertRules(r, m, y);
|
|
1774
|
-
}
|
|
1775
|
-
o.push(m);
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
return o.join(" ");
|
|
1779
|
-
}, e;
|
|
1780
|
-
}(),
|
|
1781
|
-
oe = /^\s*\/\/.*$/gm,
|
|
1782
|
-
se = [":", "[", ".", "#"];
|
|
1783
|
-
function ie(e) {
|
|
1784
|
-
var t,
|
|
1785
|
-
n,
|
|
1786
|
-
r,
|
|
1787
|
-
o,
|
|
1788
|
-
s = void 0 === e ? S : e,
|
|
1789
|
-
i = s.options,
|
|
1790
|
-
a = void 0 === i ? S : i,
|
|
1791
|
-
c = s.plugins,
|
|
1792
|
-
u = void 0 === c ? g : c,
|
|
1793
|
-
l = new stylis_min(a),
|
|
1794
|
-
h = [],
|
|
1795
|
-
p = function (e) {
|
|
1796
|
-
function t(t) {
|
|
1797
|
-
if (t) try {
|
|
1798
|
-
e(t + "}");
|
|
1799
|
-
} catch (e) {}
|
|
1800
|
-
}
|
|
1801
|
-
return function (n, r, o, s, i, a, c, u, l, d) {
|
|
1802
|
-
switch (n) {
|
|
1803
|
-
case 1:
|
|
1804
|
-
if (0 === l && 64 === r.charCodeAt(0)) return e(r + ";"), "";
|
|
1805
|
-
break;
|
|
1806
|
-
case 2:
|
|
1807
|
-
if (0 === u) return r + "/*|*/";
|
|
1808
|
-
break;
|
|
1809
|
-
case 3:
|
|
1810
|
-
switch (u) {
|
|
1811
|
-
case 102:
|
|
1812
|
-
case 112:
|
|
1813
|
-
return e(o[0] + r), "";
|
|
1814
|
-
default:
|
|
1815
|
-
return r + (0 === d ? "/*|*/" : "");
|
|
1816
|
-
}
|
|
1817
|
-
case -2:
|
|
1818
|
-
r.split("/*|*/}").forEach(t);
|
|
1819
|
-
}
|
|
1820
|
-
};
|
|
1821
|
-
}(function (e) {
|
|
1822
|
-
h.push(e);
|
|
1823
|
-
}),
|
|
1824
|
-
f = function (e, r, s) {
|
|
1825
|
-
return 0 === r && -1 !== se.indexOf(s[n.length]) || s.match(o) ? e : "." + t;
|
|
1826
|
-
};
|
|
1827
|
-
function m(e, s, i, a) {
|
|
1828
|
-
void 0 === a && (a = "&");
|
|
1829
|
-
var c = e.replace(oe, ""),
|
|
1830
|
-
u = s && i ? i + " " + s + " { " + c + " }" : c;
|
|
1831
|
-
return t = a, n = s, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(i || !s ? "" : s, u);
|
|
1832
|
-
}
|
|
1833
|
-
return l.use([].concat(u, [function (e, t, o) {
|
|
1834
|
-
2 === e && o.length && o[0].lastIndexOf(n) > 0 && (o[0] = o[0].replace(r, f));
|
|
1835
|
-
}, p, function (e) {
|
|
1836
|
-
if (-2 === e) {
|
|
1837
|
-
var t = h;
|
|
1838
|
-
return h = [], t;
|
|
1839
|
-
}
|
|
1840
|
-
}])), m.hash = u.length ? u.reduce(function (e, t) {
|
|
1841
|
-
return t.name || R(15), Q(e, t.name);
|
|
1842
|
-
}, 5381).toString() : "", m;
|
|
1843
|
-
}
|
|
1844
|
-
var ae = r__namespace.default.createContext(),
|
|
1845
|
-
ue = r__namespace.default.createContext(),
|
|
1846
|
-
le = new J(),
|
|
1847
|
-
de = ie();
|
|
1848
|
-
function he() {
|
|
1849
|
-
return r.useContext(ae) || le;
|
|
1850
|
-
}
|
|
1851
|
-
function pe() {
|
|
1852
|
-
return r.useContext(ue) || de;
|
|
1853
|
-
}
|
|
1854
|
-
var me = function () {
|
|
1855
|
-
function e(e, t) {
|
|
1856
|
-
var n = this;
|
|
1857
|
-
this.inject = function (e, t) {
|
|
1858
|
-
void 0 === t && (t = de);
|
|
1859
|
-
var r = n.name + t.hash;
|
|
1860
|
-
e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
|
|
1861
|
-
}, this.toString = function () {
|
|
1862
|
-
return R(12, String(n.name));
|
|
1863
|
-
}, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
|
|
1864
|
-
}
|
|
1865
|
-
return e.prototype.getName = function (e) {
|
|
1866
|
-
return void 0 === e && (e = de), this.name + e.hash;
|
|
1867
|
-
}, e;
|
|
1868
|
-
}(),
|
|
1869
|
-
ye = /([A-Z])/,
|
|
1870
|
-
ve = /([A-Z])/g,
|
|
1871
|
-
ge = /^ms-/,
|
|
1872
|
-
Se = function (e) {
|
|
1873
|
-
return "-" + e.toLowerCase();
|
|
1874
|
-
};
|
|
1875
|
-
function we(e) {
|
|
1876
|
-
return ye.test(e) ? e.replace(ve, Se).replace(ge, "-ms-") : e;
|
|
1877
|
-
}
|
|
1878
|
-
var Ee = function (e) {
|
|
1879
|
-
return null == e || !1 === e || "" === e;
|
|
1880
|
-
};
|
|
1881
|
-
function be(e, n, r, o) {
|
|
1882
|
-
if (Array.isArray(e)) {
|
|
1883
|
-
for (var s, i = [], a = 0, c = e.length; a < c; a += 1) "" !== (s = be(e[a], n, r, o)) && (Array.isArray(s) ? i.push.apply(i, s) : i.push(s));
|
|
1884
|
-
return i;
|
|
1885
|
-
}
|
|
1886
|
-
if (Ee(e)) return "";
|
|
1887
|
-
if (b(e)) return "." + e.styledComponentId;
|
|
1888
|
-
if (w(e)) {
|
|
1889
|
-
if ("function" != typeof (l = e) || l.prototype && l.prototype.isReactComponent || !n) return e;
|
|
1890
|
-
var u = e(n);
|
|
1891
|
-
return "production" !== process.env.NODE_ENV && reactIsExports$1.isElement(u) && console.warn(E(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."), be(u, n, r, o);
|
|
1892
|
-
}
|
|
1893
|
-
var l;
|
|
1894
|
-
return e instanceof me ? r ? (e.inject(r, o), e.getName(o)) : e : v(e) ? function e(t, n) {
|
|
1895
|
-
var r,
|
|
1896
|
-
o,
|
|
1897
|
-
s = [];
|
|
1898
|
-
for (var i in t) t.hasOwnProperty(i) && !Ee(t[i]) && (Array.isArray(t[i]) && t[i].isCss || w(t[i]) ? s.push(we(i) + ":", t[i], ";") : v(t[i]) ? s.push.apply(s, e(t[i], i)) : s.push(we(i) + ": " + (r = i, null == (o = t[i]) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || r in unitlessKeys || r.startsWith("--") ? String(o).trim() : o + "px") + ";"));
|
|
1899
|
-
return n ? [n + " {"].concat(s, ["}"]) : s;
|
|
1900
|
-
}(e) : e.toString();
|
|
1901
|
-
}
|
|
1902
|
-
var _e = function (e) {
|
|
1903
|
-
return Array.isArray(e) && (e.isCss = !0), e;
|
|
1904
|
-
};
|
|
1905
|
-
function Ne(e) {
|
|
1906
|
-
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1907
|
-
return w(e) || v(e) ? _e(be(y(g, [e].concat(n)))) : 0 === n.length && 1 === e.length && "string" == typeof e[0] ? e : _e(be(y(e, n)));
|
|
1908
|
-
}
|
|
1909
|
-
var Ae = /invalid hook call/i,
|
|
1910
|
-
Ce = new Set(),
|
|
1911
|
-
Ie = function (e, t) {
|
|
1912
|
-
if ("production" !== process.env.NODE_ENV) {
|
|
1913
|
-
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.",
|
|
1914
|
-
r$1 = console.error;
|
|
1915
|
-
try {
|
|
1916
|
-
var o = !0;
|
|
1917
|
-
console.error = function (e) {
|
|
1918
|
-
if (Ae.test(e)) o = !1, Ce.delete(n);else {
|
|
1919
|
-
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) s[i - 1] = arguments[i];
|
|
1920
|
-
r$1.apply(void 0, [e].concat(s));
|
|
1921
|
-
}
|
|
1922
|
-
}, r.useRef(), o && !Ce.has(n) && (console.warn(n), Ce.add(n));
|
|
1923
|
-
} catch (e) {
|
|
1924
|
-
Ae.test(e.message) && Ce.delete(n);
|
|
1925
|
-
} finally {
|
|
1926
|
-
console.error = r$1;
|
|
1927
|
-
}
|
|
1928
|
-
}
|
|
1929
|
-
},
|
|
1930
|
-
Pe = function (e, t, n) {
|
|
1931
|
-
return void 0 === n && (n = S), e.theme !== n.theme && e.theme || t || n.theme;
|
|
1932
|
-
},
|
|
1933
|
-
Oe = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
|
|
1934
|
-
Re = /(^-|-$)/g;
|
|
1935
|
-
function De(e) {
|
|
1936
|
-
return e.replace(Oe, "-").replace(Re, "");
|
|
1937
|
-
}
|
|
1938
|
-
var je = function (e) {
|
|
1939
|
-
return K(ee(e) >>> 0);
|
|
1940
|
-
};
|
|
1941
|
-
function Te(e) {
|
|
1942
|
-
return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
1943
|
-
}
|
|
1944
|
-
var xe = function (e) {
|
|
1945
|
-
return "function" == typeof e || "object" == typeof e && null !== e && !Array.isArray(e);
|
|
1946
|
-
},
|
|
1947
|
-
ke = function (e) {
|
|
1948
|
-
return "__proto__" !== e && "constructor" !== e && "prototype" !== e;
|
|
1949
|
-
};
|
|
1950
|
-
function Ve(e, t, n) {
|
|
1951
|
-
var r = e[n];
|
|
1952
|
-
xe(t) && xe(r) ? ze(r, t) : e[n] = t;
|
|
1953
|
-
}
|
|
1954
|
-
function ze(e) {
|
|
1955
|
-
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
1956
|
-
for (var o = 0, s = n; o < s.length; o++) {
|
|
1957
|
-
var i = s[o];
|
|
1958
|
-
if (xe(i)) for (var a in i) ke(a) && Ve(e, i[a], a);
|
|
1959
|
-
}
|
|
1960
|
-
return e;
|
|
1961
|
-
}
|
|
1962
|
-
var Be = r__namespace.default.createContext();
|
|
1963
|
-
var Le = {};
|
|
1964
|
-
function Fe(e, t, n) {
|
|
1965
|
-
var o = b(e),
|
|
1966
|
-
i = !Te(e),
|
|
1967
|
-
a = t.attrs,
|
|
1968
|
-
c = void 0 === a ? g : a,
|
|
1969
|
-
l = t.componentId,
|
|
1970
|
-
d = void 0 === l ? function (e, t) {
|
|
1971
|
-
var n = "string" != typeof e ? "sc" : De(e);
|
|
1972
|
-
Le[n] = (Le[n] || 0) + 1;
|
|
1973
|
-
var r = n + "-" + je("5.3.11" + n + Le[n]);
|
|
1974
|
-
return t ? t + "-" + r : r;
|
|
1975
|
-
}(t.displayName, t.parentComponentId) : l,
|
|
1976
|
-
h = t.displayName,
|
|
1977
|
-
y = void 0 === h ? function (e) {
|
|
1978
|
-
return Te(e) ? "styled." + e : "Styled(" + E(e) + ")";
|
|
1979
|
-
}(e) : h,
|
|
1980
|
-
v = t.displayName && t.componentId ? De(t.displayName) + "-" + t.componentId : t.componentId || d,
|
|
1981
|
-
_ = o && e.attrs ? Array.prototype.concat(e.attrs, c).filter(Boolean) : c,
|
|
1982
|
-
N = t.shouldForwardProp;
|
|
1983
|
-
o && e.shouldForwardProp && (N = t.shouldForwardProp ? function (n, r, o) {
|
|
1984
|
-
return e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o);
|
|
1985
|
-
} : e.shouldForwardProp);
|
|
1986
|
-
var A,
|
|
1987
|
-
C = new re(n, v, o ? e.componentStyle : void 0),
|
|
1988
|
-
I = C.isStatic && 0 === c.length,
|
|
1989
|
-
P = function (e, t) {
|
|
1990
|
-
return function (e, t, n, r$1) {
|
|
1991
|
-
var o = e.attrs,
|
|
1992
|
-
i = e.componentStyle,
|
|
1993
|
-
a = e.defaultProps,
|
|
1994
|
-
c = e.foldedComponentIds,
|
|
1995
|
-
l = e.shouldForwardProp,
|
|
1996
|
-
d = e.styledComponentId,
|
|
1997
|
-
h = e.target,
|
|
1998
|
-
f = function (e, t, n) {
|
|
1999
|
-
void 0 === e && (e = S);
|
|
2000
|
-
var r = m({}, t, {
|
|
2001
|
-
theme: e
|
|
2002
|
-
}),
|
|
2003
|
-
o = {};
|
|
2004
|
-
return n.forEach(function (e) {
|
|
2005
|
-
var t,
|
|
2006
|
-
n,
|
|
2007
|
-
s,
|
|
2008
|
-
i = e;
|
|
2009
|
-
for (t in w(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];
|
|
2010
|
-
}), [r, o];
|
|
2011
|
-
}(Pe(t, r.useContext(Be), a) || S, t, o),
|
|
2012
|
-
y = f[0],
|
|
2013
|
-
v = f[1],
|
|
2014
|
-
g = function (e, t, n, r) {
|
|
2015
|
-
var o = he(),
|
|
2016
|
-
s = pe(),
|
|
2017
|
-
i = t ? e.generateAndInjectStyles(S, o, s) : e.generateAndInjectStyles(n, o, s);
|
|
2018
|
-
return "production" !== process.env.NODE_ENV && !t && r && r(i), i;
|
|
2019
|
-
}(i, r$1, y, "production" !== process.env.NODE_ENV ? e.warnTooManyClasses : void 0),
|
|
2020
|
-
E = n,
|
|
2021
|
-
b = v.$as || t.$as || v.as || t.as || h,
|
|
2022
|
-
_ = Te(b),
|
|
2023
|
-
N = v !== t ? m({}, t, {}, v) : t,
|
|
2024
|
-
A = {};
|
|
2025
|
-
for (var C in N) "$" !== C[0] && "as" !== C && ("forwardedAs" === C ? A.as = N[C] : (l ? l(C, isPropValid, b) : !_ || isPropValid(C)) && (A[C] = N[C]));
|
|
2026
|
-
return t.style && v.style !== t.style && (A.style = m({}, t.style, {}, v.style)), A.className = Array.prototype.concat(c, d, g !== d ? g : null, t.className, v.className).filter(Boolean).join(" "), A.ref = E, r.createElement(b, A);
|
|
2027
|
-
}(A, e, t, I);
|
|
2028
|
-
};
|
|
2029
|
-
return P.displayName = y, (A = r__namespace.default.forwardRef(P)).attrs = _, A.componentStyle = C, A.displayName = y, A.shouldForwardProp = N, A.foldedComponentIds = o ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : g, A.styledComponentId = v, A.target = o ? e.target : e, A.withComponent = function (e) {
|
|
2030
|
-
var r = t.componentId,
|
|
2031
|
-
o = function (e, t) {
|
|
2032
|
-
if (null == e) return {};
|
|
2033
|
-
var n,
|
|
2034
|
-
r,
|
|
2035
|
-
o = {},
|
|
2036
|
-
s = Object.keys(e);
|
|
2037
|
-
for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) >= 0 || (o[n] = e[n]);
|
|
2038
|
-
return o;
|
|
2039
|
-
}(t, ["componentId"]),
|
|
2040
|
-
s = r && r + "-" + (Te(e) ? e : De(E(e)));
|
|
2041
|
-
return Fe(e, m({}, o, {
|
|
2042
|
-
attrs: _,
|
|
2043
|
-
componentId: s
|
|
2044
|
-
}), n);
|
|
2045
|
-
}, Object.defineProperty(A, "defaultProps", {
|
|
2046
|
-
get: function () {
|
|
2047
|
-
return this._foldedDefaultProps;
|
|
2048
|
-
},
|
|
2049
|
-
set: function (t) {
|
|
2050
|
-
this._foldedDefaultProps = o ? ze({}, e.defaultProps, t) : t;
|
|
2051
|
-
}
|
|
2052
|
-
}), "production" !== process.env.NODE_ENV && (Ie(y, v), A.warnTooManyClasses = function (e, t) {
|
|
2053
|
-
var n = {},
|
|
2054
|
-
r = !1;
|
|
2055
|
-
return function (o) {
|
|
2056
|
-
if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
|
|
2057
|
-
var s = t ? ' with the id of "' + t + '"' : "";
|
|
2058
|
-
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 = {};
|
|
2059
|
-
}
|
|
2060
|
-
};
|
|
2061
|
-
}(y, v)), Object.defineProperty(A, "toString", {
|
|
2062
|
-
value: function () {
|
|
2063
|
-
return "." + A.styledComponentId;
|
|
2064
|
-
}
|
|
2065
|
-
}), i && f(A, e, {
|
|
2066
|
-
attrs: !0,
|
|
2067
|
-
componentStyle: !0,
|
|
2068
|
-
displayName: !0,
|
|
2069
|
-
foldedComponentIds: !0,
|
|
2070
|
-
shouldForwardProp: !0,
|
|
2071
|
-
styledComponentId: !0,
|
|
2072
|
-
target: !0,
|
|
2073
|
-
withComponent: !0
|
|
2074
|
-
}), A;
|
|
2075
|
-
}
|
|
2076
|
-
var Ye = function (e) {
|
|
2077
|
-
return function e(t, r, o) {
|
|
2078
|
-
if (void 0 === o && (o = S), !reactIsExports$1.isValidElementType(r)) return R(1, String(r));
|
|
2079
|
-
var s = function () {
|
|
2080
|
-
return t(r, o, Ne.apply(void 0, arguments));
|
|
2081
|
-
};
|
|
2082
|
-
return s.withConfig = function (n) {
|
|
2083
|
-
return e(t, r, m({}, o, {}, n));
|
|
2084
|
-
}, s.attrs = function (n) {
|
|
2085
|
-
return e(t, r, m({}, o, {
|
|
2086
|
-
attrs: Array.prototype.concat(o.attrs, n).filter(Boolean)
|
|
2087
|
-
}));
|
|
2088
|
-
}, s;
|
|
2089
|
-
}(Fe, e);
|
|
2090
|
-
};
|
|
2091
|
-
["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) {
|
|
2092
|
-
Ye[e] = Ye(e);
|
|
2093
|
-
});
|
|
2094
|
-
"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);
|
|
2095
|
-
var styled = Ye;
|
|
2096
175
|
var __freeze$3 = Object.freeze;
|
|
2097
176
|
var __defProp$9 = Object.defineProperty;
|
|
2098
177
|
var __template$3 = (cooked, raw) => __freeze$3(__defProp$9(cooked, "raw", {
|
|
2099
178
|
value: __freeze$3(raw || cooked.slice())
|
|
2100
179
|
}));
|
|
2101
180
|
var _a$3;
|
|
2102
|
-
const WrapperContainer = styled.div(_a$3 || (_a$3 = __template$3(["\n position: absolute;\n right: 10px;\n top: 10px;\n width: 220px;\n"])));
|
|
181
|
+
const WrapperContainer = styledComponents.styled.div(_a$3 || (_a$3 = __template$3(["\n position: absolute;\n right: 10px;\n top: 10px;\n width: 220px;\n"])));
|
|
2103
182
|
var __defProp$8 = Object.defineProperty;
|
|
2104
183
|
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$8(obj, key, {
|
|
2105
184
|
enumerable: true,
|
|
@@ -2111,10 +190,10 @@ var __publicField$5 = (obj, key, value) => {
|
|
|
2111
190
|
__defNormalProp$5(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2112
191
|
return value;
|
|
2113
192
|
};
|
|
2114
|
-
class SearchInput extends
|
|
193
|
+
class SearchInput extends React__namespace.PureComponent {
|
|
2115
194
|
constructor() {
|
|
2116
195
|
super(...arguments);
|
|
2117
|
-
__publicField$5(this, "searchInputRef",
|
|
196
|
+
__publicField$5(this, "searchInputRef", React__namespace.createRef());
|
|
2118
197
|
__publicField$5(this, "autoComplete");
|
|
2119
198
|
__publicField$5(this, "handleChange", () => {
|
|
2120
199
|
if (!this.autoComplete) {
|
|
@@ -2176,7 +255,7 @@ var __template$2 = (cooked, raw) => __freeze$2(__defProp$7(cooked, "raw", {
|
|
|
2176
255
|
value: __freeze$2(raw || cooked.slice())
|
|
2177
256
|
}));
|
|
2178
257
|
var _a$2;
|
|
2179
|
-
const MapContainer = styled.div(_a$2 || (_a$2 = __template$2(["\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n"])));
|
|
258
|
+
const MapContainer = styledComponents.styled.div(_a$2 || (_a$2 = __template$2(["\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n"])));
|
|
2180
259
|
var __defProp$6 = Object.defineProperty;
|
|
2181
260
|
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$6(obj, key, {
|
|
2182
261
|
enumerable: true,
|
|
@@ -2188,14 +267,14 @@ var __publicField$4 = (obj, key, value) => {
|
|
|
2188
267
|
__defNormalProp$4(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2189
268
|
return value;
|
|
2190
269
|
};
|
|
2191
|
-
class GoogleMap extends
|
|
270
|
+
class GoogleMap extends React__namespace.default.PureComponent {
|
|
2192
271
|
constructor() {
|
|
2193
272
|
super(...arguments);
|
|
2194
273
|
__publicField$4(this, "state", {
|
|
2195
274
|
map: void 0
|
|
2196
275
|
});
|
|
2197
276
|
__publicField$4(this, "clickHandler");
|
|
2198
|
-
__publicField$4(this, "mapRef",
|
|
277
|
+
__publicField$4(this, "mapRef", React__namespace.default.createRef());
|
|
2199
278
|
__publicField$4(this, "mapEl", null);
|
|
2200
279
|
__publicField$4(this, "attachClickHandler", () => {
|
|
2201
280
|
const map = this.state.map;
|
|
@@ -2313,7 +392,7 @@ var __publicField$3 = (obj, key, value) => {
|
|
|
2313
392
|
return value;
|
|
2314
393
|
};
|
|
2315
394
|
const markerPath = "M 3.052 3.7 C 1.56 5.293 0.626 7.612 0.663 9.793 C 0.738 14.352 2.793 16.077 6.078 22.351 C 7.263 25.111 8.497 28.032 9.672 32.871 C 9.835 33.584 9.994 34.246 10.069 34.305 C 10.143 34.362 10.301 33.697 10.465 32.983 C 11.639 28.145 12.875 25.226 14.059 22.466 C 17.344 16.192 19.398 14.466 19.474 9.908 C 19.511 7.727 18.574 5.405 17.083 3.814 C 15.379 1.994 12.809 0.649 10.069 0.593 C 7.328 0.536 4.756 1.882 3.052 3.7 Z";
|
|
2316
|
-
class Marker extends
|
|
395
|
+
class Marker extends React__namespace.PureComponent {
|
|
2317
396
|
constructor() {
|
|
2318
397
|
super(...arguments);
|
|
2319
398
|
__publicField$3(this, "marker");
|
|
@@ -2444,10 +523,10 @@ const fallbackLatLng = {
|
|
|
2444
523
|
lat: 40.7058254,
|
|
2445
524
|
lng: -74.1180863
|
|
2446
525
|
};
|
|
2447
|
-
class GeopointSelect extends
|
|
526
|
+
class GeopointSelect extends React__namespace.default.PureComponent {
|
|
2448
527
|
constructor() {
|
|
2449
528
|
super(...arguments);
|
|
2450
|
-
__publicField$2(this, "mapRef",
|
|
529
|
+
__publicField$2(this, "mapRef", React__namespace.default.createRef());
|
|
2451
530
|
__publicField$2(this, "handlePlaceChanged", place => {
|
|
2452
531
|
var _a;
|
|
2453
532
|
if (!((_a = place.geometry) == null ? void 0 : _a.location)) {
|
|
@@ -2519,8 +598,8 @@ var __template$1 = (cooked, raw) => __freeze$1(__defProp$3(cooked, "raw", {
|
|
|
2519
598
|
value: __freeze$1(raw || cooked.slice())
|
|
2520
599
|
}));
|
|
2521
600
|
var _a$1, _b;
|
|
2522
|
-
const PreviewImage = styled.img(_a$1 || (_a$1 = __template$1(["\n width: 100%;\n height: auto;\n vertical-align: top;\n"])));
|
|
2523
|
-
const DialogInnerContainer = styled.div(_b || (_b = __template$1(["\n height: 40rem;\n width: 50rem;\n"])));
|
|
601
|
+
const PreviewImage = styledComponents.styled.img(_a$1 || (_a$1 = __template$1(["\n width: 100%;\n height: auto;\n vertical-align: top;\n"])));
|
|
602
|
+
const DialogInnerContainer = styledComponents.styled.div(_b || (_b = __template$1(["\n height: 40rem;\n width: 50rem;\n"])));
|
|
2524
603
|
let config;
|
|
2525
604
|
function getGeoConfig() {
|
|
2526
605
|
return config;
|
|
@@ -2554,7 +633,7 @@ const getStaticImageUrl = (value, apiKey) => {
|
|
|
2554
633
|
}, []);
|
|
2555
634
|
return "https://maps.googleapis.com/maps/api/staticmap?".concat(qs.join("&"));
|
|
2556
635
|
};
|
|
2557
|
-
class GeopointInput extends
|
|
636
|
+
class GeopointInput extends React__namespace.default.PureComponent {
|
|
2558
637
|
constructor(props) {
|
|
2559
638
|
super(props);
|
|
2560
639
|
__publicField$1(this, "_geopointInputId", lodash.uniqueId("GeopointInput"));
|
|
@@ -2692,7 +771,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2692
771
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
2693
772
|
return value;
|
|
2694
773
|
};
|
|
2695
|
-
class Arrow extends
|
|
774
|
+
class Arrow extends React__namespace.PureComponent {
|
|
2696
775
|
constructor() {
|
|
2697
776
|
super(...arguments);
|
|
2698
777
|
__publicField(this, "line");
|
|
@@ -2772,8 +851,8 @@ function GeopointMove(_ref) {
|
|
|
2772
851
|
} = diff;
|
|
2773
852
|
const annotation = diff.isChanged ? diff.annotation : void 0;
|
|
2774
853
|
const userColor = sanity.useUserColor(annotation ? annotation.author : null) || void 0;
|
|
2775
|
-
const fromRef =
|
|
2776
|
-
const toRef =
|
|
854
|
+
const fromRef = React__namespace.useRef();
|
|
855
|
+
const toRef = React__namespace.useRef();
|
|
2777
856
|
return /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
2778
857
|
children: [from && /* @__PURE__ */jsxRuntime.jsx(Marker, {
|
|
2779
858
|
api,
|
|
@@ -2807,7 +886,7 @@ var __template = (cooked, raw) => __freeze(__defProp(cooked, "raw", {
|
|
|
2807
886
|
value: __freeze(raw || cooked.slice())
|
|
2808
887
|
}));
|
|
2809
888
|
var _a;
|
|
2810
|
-
const RootContainer = styled.div(_a || (_a = __template(["\n position: relative;\n min-height: 200px;\n\n &:empty {\n background-color: var(--card-skeleton-color-from);\n display: table;\n width: 100%;\n }\n\n &:empty:after {\n content: 'Missing/invalid data';\n display: table-cell;\n vertical-align: middle;\n text-align: center;\n position: relative;\n }\n"])));
|
|
889
|
+
const RootContainer = styledComponents.styled.div(_a || (_a = __template(["\n position: relative;\n min-height: 200px;\n\n &:empty {\n background-color: var(--card-skeleton-color-from);\n display: table;\n width: 100%;\n }\n\n &:empty:after {\n content: 'Missing/invalid data';\n display: table-cell;\n vertical-align: middle;\n text-align: center;\n position: relative;\n }\n"])));
|
|
2811
890
|
const GeopointArrayDiff = _ref2 => {
|
|
2812
891
|
let {
|
|
2813
892
|
diff,
|