@sinco/react 0.0.0-rc.2 → 0.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +438 -1780
- package/package.json +1 -1
- package/src/index.d.ts +1 -2
- package/src/lib/Theme/components.d.ts +2 -0
- package/src/lib/bitakoraTheme/index.d.ts +0 -1
- package/src/lib/bitakoraTheme/theme.d.ts +0 -2
- /package/src/lib/{sincoTheme/SincoTheme.d.ts → Theme/index.d.ts} +0 -0
- /package/src/lib/{bitakoraTheme → Theme}/palette.d.ts +0 -0
- /package/src/lib/{bitakoraTheme → Theme}/shadows.d.ts +0 -0
- /package/src/lib/{sincoTheme/Variables.d.ts → Theme/theme.d.ts} +0 -0
- /package/src/lib/{bitakoraTheme → Theme}/typography.d.ts +0 -0
package/index.js
CHANGED
@@ -1,1088 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
var check = function (it) {
|
4
|
-
return it && it.Math == Math && it;
|
5
|
-
};
|
6
|
-
|
7
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
8
|
-
var global$b =
|
9
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
10
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
11
|
-
check(typeof window == 'object' && window) ||
|
12
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
13
|
-
check(typeof self == 'object' && self) ||
|
14
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
15
|
-
// eslint-disable-next-line no-new-func -- fallback
|
16
|
-
(function () { return this; })() || commonjsGlobal || Function('return this')();
|
17
|
-
|
18
|
-
var objectGetOwnPropertyDescriptor = {};
|
19
|
-
|
20
|
-
var fails$9 = function (exec) {
|
21
|
-
try {
|
22
|
-
return !!exec();
|
23
|
-
} catch (error) {
|
24
|
-
return true;
|
25
|
-
}
|
26
|
-
};
|
27
|
-
|
28
|
-
var fails$8 = fails$9;
|
29
|
-
|
30
|
-
// Detect IE8's incomplete defineProperty implementation
|
31
|
-
var descriptors = !fails$8(function () {
|
32
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
33
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
34
|
-
});
|
35
|
-
|
36
|
-
var fails$7 = fails$9;
|
37
|
-
|
38
|
-
var functionBindNative = !fails$7(function () {
|
39
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
40
|
-
var test = (function () { /* empty */ }).bind();
|
41
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
42
|
-
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
43
|
-
});
|
44
|
-
|
45
|
-
var NATIVE_BIND$1 = functionBindNative;
|
46
|
-
|
47
|
-
var call$5 = Function.prototype.call;
|
48
|
-
|
49
|
-
var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
|
50
|
-
return call$5.apply(call$5, arguments);
|
51
|
-
};
|
52
|
-
|
53
|
-
var objectPropertyIsEnumerable = {};
|
54
|
-
|
55
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
56
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
57
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
58
|
-
|
59
|
-
// Nashorn ~ JDK8 bug
|
60
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
61
|
-
|
62
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
63
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
64
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
65
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
66
|
-
return !!descriptor && descriptor.enumerable;
|
67
|
-
} : $propertyIsEnumerable;
|
68
|
-
|
69
|
-
var createPropertyDescriptor$2 = function (bitmap, value) {
|
70
|
-
return {
|
71
|
-
enumerable: !(bitmap & 1),
|
72
|
-
configurable: !(bitmap & 2),
|
73
|
-
writable: !(bitmap & 4),
|
74
|
-
value: value
|
75
|
-
};
|
76
|
-
};
|
77
|
-
|
78
|
-
var NATIVE_BIND = functionBindNative;
|
79
|
-
|
80
|
-
var FunctionPrototype$1 = Function.prototype;
|
81
|
-
var call$4 = FunctionPrototype$1.call;
|
82
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
|
83
|
-
|
84
|
-
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
85
|
-
return function () {
|
86
|
-
return call$4.apply(fn, arguments);
|
87
|
-
};
|
88
|
-
};
|
89
|
-
|
90
|
-
var uncurryThis$9 = functionUncurryThis;
|
91
|
-
|
92
|
-
var toString$1 = uncurryThis$9({}.toString);
|
93
|
-
var stringSlice$1 = uncurryThis$9(''.slice);
|
94
|
-
|
95
|
-
var classofRaw = function (it) {
|
96
|
-
return stringSlice$1(toString$1(it), 8, -1);
|
97
|
-
};
|
98
|
-
|
99
|
-
var uncurryThis$8 = functionUncurryThis;
|
100
|
-
var fails$6 = fails$9;
|
101
|
-
var classof = classofRaw;
|
102
|
-
|
103
|
-
var $Object$2 = Object;
|
104
|
-
var split = uncurryThis$8(''.split);
|
105
|
-
|
106
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
107
|
-
var indexedObject = fails$6(function () {
|
108
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
109
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
110
|
-
return !$Object$2('z').propertyIsEnumerable(0);
|
111
|
-
}) ? function (it) {
|
112
|
-
return classof(it) == 'String' ? split(it, '') : $Object$2(it);
|
113
|
-
} : $Object$2;
|
114
|
-
|
115
|
-
// we can't use just `it == null` since of `document.all` special case
|
116
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
117
|
-
var isNullOrUndefined$2 = function (it) {
|
118
|
-
return it === null || it === undefined;
|
119
|
-
};
|
120
|
-
|
121
|
-
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
122
|
-
|
123
|
-
var $TypeError$5 = TypeError;
|
124
|
-
|
125
|
-
// `RequireObjectCoercible` abstract operation
|
126
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
127
|
-
var requireObjectCoercible$2 = function (it) {
|
128
|
-
if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
|
129
|
-
return it;
|
130
|
-
};
|
131
|
-
|
132
|
-
// toObject with fallback for non-array-like ES3 strings
|
133
|
-
var IndexedObject$1 = indexedObject;
|
134
|
-
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
135
|
-
|
136
|
-
var toIndexedObject$3 = function (it) {
|
137
|
-
return IndexedObject$1(requireObjectCoercible$1(it));
|
138
|
-
};
|
139
|
-
|
140
|
-
var documentAll$2 = typeof document == 'object' && document.all;
|
141
|
-
|
142
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
143
|
-
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
144
|
-
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
145
|
-
|
146
|
-
var documentAll_1 = {
|
147
|
-
all: documentAll$2,
|
148
|
-
IS_HTMLDDA: IS_HTMLDDA
|
149
|
-
};
|
150
|
-
|
151
|
-
var $documentAll$1 = documentAll_1;
|
152
|
-
|
153
|
-
var documentAll$1 = $documentAll$1.all;
|
154
|
-
|
155
|
-
// `IsCallable` abstract operation
|
156
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
157
|
-
var isCallable$a = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
158
|
-
return typeof argument == 'function' || argument === documentAll$1;
|
159
|
-
} : function (argument) {
|
160
|
-
return typeof argument == 'function';
|
161
|
-
};
|
162
|
-
|
163
|
-
var isCallable$9 = isCallable$a;
|
164
|
-
var $documentAll = documentAll_1;
|
165
|
-
|
166
|
-
var documentAll = $documentAll.all;
|
167
|
-
|
168
|
-
var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
|
169
|
-
return typeof it == 'object' ? it !== null : isCallable$9(it) || it === documentAll;
|
170
|
-
} : function (it) {
|
171
|
-
return typeof it == 'object' ? it !== null : isCallable$9(it);
|
172
|
-
};
|
173
|
-
|
174
|
-
var global$a = global$b;
|
175
|
-
var isCallable$8 = isCallable$a;
|
176
|
-
|
177
|
-
var aFunction = function (argument) {
|
178
|
-
return isCallable$8(argument) ? argument : undefined;
|
179
|
-
};
|
180
|
-
|
181
|
-
var getBuiltIn$2 = function (namespace, method) {
|
182
|
-
return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
|
183
|
-
};
|
184
|
-
|
185
|
-
var uncurryThis$7 = functionUncurryThis;
|
186
|
-
|
187
|
-
var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
|
188
|
-
|
189
|
-
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
190
|
-
|
191
|
-
var global$9 = global$b;
|
192
|
-
var userAgent = engineUserAgent;
|
193
|
-
|
194
|
-
var process$1 = global$9.process;
|
195
|
-
var Deno = global$9.Deno;
|
196
|
-
var versions = process$1 && process$1.versions || Deno && Deno.version;
|
197
|
-
var v8 = versions && versions.v8;
|
198
|
-
var match, version;
|
199
|
-
|
200
|
-
if (v8) {
|
201
|
-
match = v8.split('.');
|
202
|
-
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
203
|
-
// but their correct versions are not interesting for us
|
204
|
-
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
205
|
-
}
|
206
|
-
|
207
|
-
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
208
|
-
// so check `userAgent` even if `.v8` exists, but 0
|
209
|
-
if (!version && userAgent) {
|
210
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
211
|
-
if (!match || match[1] >= 74) {
|
212
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
213
|
-
if (match) version = +match[1];
|
214
|
-
}
|
215
|
-
}
|
216
|
-
|
217
|
-
var engineV8Version = version;
|
218
|
-
|
219
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
220
|
-
|
221
|
-
var V8_VERSION = engineV8Version;
|
222
|
-
var fails$5 = fails$9;
|
223
|
-
var global$8 = global$b;
|
224
|
-
|
225
|
-
var $String$3 = global$8.String;
|
226
|
-
|
227
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
228
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
|
229
|
-
var symbol = Symbol();
|
230
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
231
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
232
|
-
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
233
|
-
// of course, fail.
|
234
|
-
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
|
235
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
236
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
237
|
-
});
|
238
|
-
|
239
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
240
|
-
|
241
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
242
|
-
|
243
|
-
var useSymbolAsUid = NATIVE_SYMBOL$1
|
244
|
-
&& !Symbol.sham
|
245
|
-
&& typeof Symbol.iterator == 'symbol';
|
246
|
-
|
247
|
-
var getBuiltIn$1 = getBuiltIn$2;
|
248
|
-
var isCallable$7 = isCallable$a;
|
249
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
250
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
251
|
-
|
252
|
-
var $Object$1 = Object;
|
253
|
-
|
254
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
255
|
-
return typeof it == 'symbol';
|
256
|
-
} : function (it) {
|
257
|
-
var $Symbol = getBuiltIn$1('Symbol');
|
258
|
-
return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
|
259
|
-
};
|
260
|
-
|
261
|
-
var $String$2 = String;
|
262
|
-
|
263
|
-
var tryToString$1 = function (argument) {
|
264
|
-
try {
|
265
|
-
return $String$2(argument);
|
266
|
-
} catch (error) {
|
267
|
-
return 'Object';
|
268
|
-
}
|
269
|
-
};
|
270
|
-
|
271
|
-
var isCallable$6 = isCallable$a;
|
272
|
-
var tryToString = tryToString$1;
|
273
|
-
|
274
|
-
var $TypeError$4 = TypeError;
|
275
|
-
|
276
|
-
// `Assert: IsCallable(argument) is true`
|
277
|
-
var aCallable$1 = function (argument) {
|
278
|
-
if (isCallable$6(argument)) return argument;
|
279
|
-
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
280
|
-
};
|
281
|
-
|
282
|
-
var aCallable = aCallable$1;
|
283
|
-
var isNullOrUndefined = isNullOrUndefined$2;
|
284
|
-
|
285
|
-
// `GetMethod` abstract operation
|
286
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
287
|
-
var getMethod$1 = function (V, P) {
|
288
|
-
var func = V[P];
|
289
|
-
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
290
|
-
};
|
291
|
-
|
292
|
-
var call$3 = functionCall;
|
293
|
-
var isCallable$5 = isCallable$a;
|
294
|
-
var isObject$4 = isObject$5;
|
295
|
-
|
296
|
-
var $TypeError$3 = TypeError;
|
297
|
-
|
298
|
-
// `OrdinaryToPrimitive` abstract operation
|
299
|
-
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
300
|
-
var ordinaryToPrimitive$1 = function (input, pref) {
|
301
|
-
var fn, val;
|
302
|
-
if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
303
|
-
if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
|
304
|
-
if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
305
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
306
|
-
};
|
307
|
-
|
308
|
-
var shared$3 = {exports: {}};
|
309
|
-
|
310
|
-
var global$7 = global$b;
|
311
|
-
|
312
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
313
|
-
var defineProperty$2 = Object.defineProperty;
|
314
|
-
|
315
|
-
var defineGlobalProperty$3 = function (key, value) {
|
316
|
-
try {
|
317
|
-
defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
|
318
|
-
} catch (error) {
|
319
|
-
global$7[key] = value;
|
320
|
-
} return value;
|
321
|
-
};
|
322
|
-
|
323
|
-
var global$6 = global$b;
|
324
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
325
|
-
|
326
|
-
var SHARED = '__core-js_shared__';
|
327
|
-
var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
|
328
|
-
|
329
|
-
var sharedStore = store$3;
|
330
|
-
|
331
|
-
var store$2 = sharedStore;
|
332
|
-
|
333
|
-
(shared$3.exports = function (key, value) {
|
334
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
335
|
-
})('versions', []).push({
|
336
|
-
version: '3.30.2',
|
337
|
-
mode: 'global',
|
338
|
-
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
339
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
|
340
|
-
source: 'https://github.com/zloirock/core-js'
|
341
|
-
});
|
342
|
-
|
343
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
344
|
-
|
345
|
-
var $Object = Object;
|
346
|
-
|
347
|
-
// `ToObject` abstract operation
|
348
|
-
// https://tc39.es/ecma262/#sec-toobject
|
349
|
-
var toObject$3 = function (argument) {
|
350
|
-
return $Object(requireObjectCoercible(argument));
|
351
|
-
};
|
352
|
-
|
353
|
-
var uncurryThis$6 = functionUncurryThis;
|
354
|
-
var toObject$2 = toObject$3;
|
355
|
-
|
356
|
-
var hasOwnProperty$1 = uncurryThis$6({}.hasOwnProperty);
|
357
|
-
|
358
|
-
// `HasOwnProperty` abstract operation
|
359
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
360
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
361
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
362
|
-
return hasOwnProperty$1(toObject$2(it), key);
|
363
|
-
};
|
364
|
-
|
365
|
-
var uncurryThis$5 = functionUncurryThis;
|
366
|
-
|
367
|
-
var id = 0;
|
368
|
-
var postfix = Math.random();
|
369
|
-
var toString = uncurryThis$5(1.0.toString);
|
370
|
-
|
371
|
-
var uid$2 = function (key) {
|
372
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
373
|
-
};
|
374
|
-
|
375
|
-
var global$5 = global$b;
|
376
|
-
var shared$2 = shared$3.exports;
|
377
|
-
var hasOwn$6 = hasOwnProperty_1;
|
378
|
-
var uid$1 = uid$2;
|
379
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
380
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
381
|
-
|
382
|
-
var Symbol$1 = global$5.Symbol;
|
383
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
384
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
385
|
-
|
386
|
-
var wellKnownSymbol$1 = function (name) {
|
387
|
-
if (!hasOwn$6(WellKnownSymbolsStore, name)) {
|
388
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
|
389
|
-
? Symbol$1[name]
|
390
|
-
: createWellKnownSymbol('Symbol.' + name);
|
391
|
-
} return WellKnownSymbolsStore[name];
|
392
|
-
};
|
393
|
-
|
394
|
-
var call$2 = functionCall;
|
395
|
-
var isObject$3 = isObject$5;
|
396
|
-
var isSymbol$1 = isSymbol$2;
|
397
|
-
var getMethod = getMethod$1;
|
398
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
399
|
-
var wellKnownSymbol = wellKnownSymbol$1;
|
400
|
-
|
401
|
-
var $TypeError$2 = TypeError;
|
402
|
-
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
403
|
-
|
404
|
-
// `ToPrimitive` abstract operation
|
405
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
406
|
-
var toPrimitive$1 = function (input, pref) {
|
407
|
-
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
408
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
409
|
-
var result;
|
410
|
-
if (exoticToPrim) {
|
411
|
-
if (pref === undefined) pref = 'default';
|
412
|
-
result = call$2(exoticToPrim, input, pref);
|
413
|
-
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
414
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
415
|
-
}
|
416
|
-
if (pref === undefined) pref = 'number';
|
417
|
-
return ordinaryToPrimitive(input, pref);
|
418
|
-
};
|
419
|
-
|
420
|
-
var toPrimitive = toPrimitive$1;
|
421
|
-
var isSymbol = isSymbol$2;
|
422
|
-
|
423
|
-
// `ToPropertyKey` abstract operation
|
424
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
425
|
-
var toPropertyKey$2 = function (argument) {
|
426
|
-
var key = toPrimitive(argument, 'string');
|
427
|
-
return isSymbol(key) ? key : key + '';
|
428
|
-
};
|
429
|
-
|
430
|
-
var global$4 = global$b;
|
431
|
-
var isObject$2 = isObject$5;
|
432
|
-
|
433
|
-
var document$1 = global$4.document;
|
434
|
-
// typeof document.createElement is 'object' in old IE
|
435
|
-
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
436
|
-
|
437
|
-
var documentCreateElement = function (it) {
|
438
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
439
|
-
};
|
440
|
-
|
441
|
-
var DESCRIPTORS$7 = descriptors;
|
442
|
-
var fails$4 = fails$9;
|
443
|
-
var createElement = documentCreateElement;
|
444
|
-
|
445
|
-
// Thanks to IE8 for its funny defineProperty
|
446
|
-
var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
|
447
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
448
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
449
|
-
get: function () { return 7; }
|
450
|
-
}).a != 7;
|
451
|
-
});
|
452
|
-
|
453
|
-
var DESCRIPTORS$6 = descriptors;
|
454
|
-
var call$1 = functionCall;
|
455
|
-
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
456
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
457
|
-
var toIndexedObject$2 = toIndexedObject$3;
|
458
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
459
|
-
var hasOwn$5 = hasOwnProperty_1;
|
460
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
461
|
-
|
462
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
463
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
464
|
-
|
465
|
-
// `Object.getOwnPropertyDescriptor` method
|
466
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
467
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
468
|
-
O = toIndexedObject$2(O);
|
469
|
-
P = toPropertyKey$1(P);
|
470
|
-
if (IE8_DOM_DEFINE$1) try {
|
471
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
472
|
-
} catch (error) { /* empty */ }
|
473
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
474
|
-
};
|
475
|
-
|
476
|
-
var objectDefineProperty = {};
|
477
|
-
|
478
|
-
var DESCRIPTORS$5 = descriptors;
|
479
|
-
var fails$3 = fails$9;
|
480
|
-
|
481
|
-
// V8 ~ Chrome 36-
|
482
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
483
|
-
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
|
484
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
485
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
486
|
-
value: 42,
|
487
|
-
writable: false
|
488
|
-
}).prototype != 42;
|
489
|
-
});
|
490
|
-
|
491
|
-
var isObject$1 = isObject$5;
|
492
|
-
|
493
|
-
var $String$1 = String;
|
494
|
-
var $TypeError$1 = TypeError;
|
495
|
-
|
496
|
-
// `Assert: Type(argument) is Object`
|
497
|
-
var anObject$2 = function (argument) {
|
498
|
-
if (isObject$1(argument)) return argument;
|
499
|
-
throw $TypeError$1($String$1(argument) + ' is not an object');
|
500
|
-
};
|
501
|
-
|
502
|
-
var DESCRIPTORS$4 = descriptors;
|
503
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
504
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
505
|
-
var anObject$1 = anObject$2;
|
506
|
-
var toPropertyKey = toPropertyKey$2;
|
507
|
-
|
508
|
-
var $TypeError = TypeError;
|
509
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
510
|
-
var $defineProperty = Object.defineProperty;
|
511
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
512
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
513
|
-
var ENUMERABLE = 'enumerable';
|
514
|
-
var CONFIGURABLE$1 = 'configurable';
|
515
|
-
var WRITABLE = 'writable';
|
516
|
-
|
517
|
-
// `Object.defineProperty` method
|
518
|
-
// https://tc39.es/ecma262/#sec-object.defineproperty
|
519
|
-
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
520
|
-
anObject$1(O);
|
521
|
-
P = toPropertyKey(P);
|
522
|
-
anObject$1(Attributes);
|
523
|
-
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
524
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
525
|
-
if (current && current[WRITABLE]) {
|
526
|
-
O[P] = Attributes.value;
|
527
|
-
Attributes = {
|
528
|
-
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
529
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
530
|
-
writable: false
|
531
|
-
};
|
532
|
-
}
|
533
|
-
} return $defineProperty(O, P, Attributes);
|
534
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
535
|
-
anObject$1(O);
|
536
|
-
P = toPropertyKey(P);
|
537
|
-
anObject$1(Attributes);
|
538
|
-
if (IE8_DOM_DEFINE) try {
|
539
|
-
return $defineProperty(O, P, Attributes);
|
540
|
-
} catch (error) { /* empty */ }
|
541
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
542
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
543
|
-
return O;
|
544
|
-
};
|
545
|
-
|
546
|
-
var DESCRIPTORS$3 = descriptors;
|
547
|
-
var definePropertyModule$2 = objectDefineProperty;
|
548
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
549
|
-
|
550
|
-
var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
|
551
|
-
return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
|
552
|
-
} : function (object, key, value) {
|
553
|
-
object[key] = value;
|
554
|
-
return object;
|
555
|
-
};
|
556
|
-
|
557
|
-
var makeBuiltIn$2 = {exports: {}};
|
558
|
-
|
559
|
-
var DESCRIPTORS$2 = descriptors;
|
560
|
-
var hasOwn$4 = hasOwnProperty_1;
|
561
|
-
|
562
|
-
var FunctionPrototype = Function.prototype;
|
563
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
564
|
-
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
|
565
|
-
|
566
|
-
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
567
|
-
// additional protection from minified / mangled / dropped function names
|
568
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
569
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
570
|
-
|
571
|
-
var functionName = {
|
572
|
-
EXISTS: EXISTS,
|
573
|
-
PROPER: PROPER,
|
574
|
-
CONFIGURABLE: CONFIGURABLE
|
575
|
-
};
|
576
|
-
|
577
|
-
var uncurryThis$4 = functionUncurryThis;
|
578
|
-
var isCallable$4 = isCallable$a;
|
579
|
-
var store$1 = sharedStore;
|
580
|
-
|
581
|
-
var functionToString = uncurryThis$4(Function.toString);
|
582
|
-
|
583
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
584
|
-
if (!isCallable$4(store$1.inspectSource)) {
|
585
|
-
store$1.inspectSource = function (it) {
|
586
|
-
return functionToString(it);
|
587
|
-
};
|
588
|
-
}
|
589
|
-
|
590
|
-
var inspectSource$1 = store$1.inspectSource;
|
591
|
-
|
592
|
-
var global$3 = global$b;
|
593
|
-
var isCallable$3 = isCallable$a;
|
594
|
-
|
595
|
-
var WeakMap$1 = global$3.WeakMap;
|
596
|
-
|
597
|
-
var weakMapBasicDetection = isCallable$3(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
598
|
-
|
599
|
-
var shared$1 = shared$3.exports;
|
600
|
-
var uid = uid$2;
|
601
|
-
|
602
|
-
var keys = shared$1('keys');
|
603
|
-
|
604
|
-
var sharedKey$1 = function (key) {
|
605
|
-
return keys[key] || (keys[key] = uid(key));
|
606
|
-
};
|
607
|
-
|
608
|
-
var hiddenKeys$3 = {};
|
609
|
-
|
610
|
-
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
611
|
-
var global$2 = global$b;
|
612
|
-
var isObject = isObject$5;
|
613
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
614
|
-
var hasOwn$3 = hasOwnProperty_1;
|
615
|
-
var shared = sharedStore;
|
616
|
-
var sharedKey = sharedKey$1;
|
617
|
-
var hiddenKeys$2 = hiddenKeys$3;
|
618
|
-
|
619
|
-
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
620
|
-
var TypeError$1 = global$2.TypeError;
|
621
|
-
var WeakMap = global$2.WeakMap;
|
622
|
-
var set, get, has$3;
|
623
|
-
|
624
|
-
var enforce = function (it) {
|
625
|
-
return has$3(it) ? get(it) : set(it, {});
|
626
|
-
};
|
627
|
-
|
628
|
-
var getterFor = function (TYPE) {
|
629
|
-
return function (it) {
|
630
|
-
var state;
|
631
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
632
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
633
|
-
} return state;
|
634
|
-
};
|
635
|
-
};
|
636
|
-
|
637
|
-
if (NATIVE_WEAK_MAP || shared.state) {
|
638
|
-
var store = shared.state || (shared.state = new WeakMap());
|
639
|
-
/* eslint-disable no-self-assign -- prototype methods protection */
|
640
|
-
store.get = store.get;
|
641
|
-
store.has = store.has;
|
642
|
-
store.set = store.set;
|
643
|
-
/* eslint-enable no-self-assign -- prototype methods protection */
|
644
|
-
set = function (it, metadata) {
|
645
|
-
if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
646
|
-
metadata.facade = it;
|
647
|
-
store.set(it, metadata);
|
648
|
-
return metadata;
|
649
|
-
};
|
650
|
-
get = function (it) {
|
651
|
-
return store.get(it) || {};
|
652
|
-
};
|
653
|
-
has$3 = function (it) {
|
654
|
-
return store.has(it);
|
655
|
-
};
|
656
|
-
} else {
|
657
|
-
var STATE = sharedKey('state');
|
658
|
-
hiddenKeys$2[STATE] = true;
|
659
|
-
set = function (it, metadata) {
|
660
|
-
if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
661
|
-
metadata.facade = it;
|
662
|
-
createNonEnumerableProperty$1(it, STATE, metadata);
|
663
|
-
return metadata;
|
664
|
-
};
|
665
|
-
get = function (it) {
|
666
|
-
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
667
|
-
};
|
668
|
-
has$3 = function (it) {
|
669
|
-
return hasOwn$3(it, STATE);
|
670
|
-
};
|
671
|
-
}
|
672
|
-
|
673
|
-
var internalState = {
|
674
|
-
set: set,
|
675
|
-
get: get,
|
676
|
-
has: has$3,
|
677
|
-
enforce: enforce,
|
678
|
-
getterFor: getterFor
|
679
|
-
};
|
680
|
-
|
681
|
-
var uncurryThis$3 = functionUncurryThis;
|
682
|
-
var fails$2 = fails$9;
|
683
|
-
var isCallable$2 = isCallable$a;
|
684
|
-
var hasOwn$2 = hasOwnProperty_1;
|
685
|
-
var DESCRIPTORS$1 = descriptors;
|
686
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
687
|
-
var inspectSource = inspectSource$1;
|
688
|
-
var InternalStateModule = internalState;
|
689
|
-
|
690
|
-
var enforceInternalState = InternalStateModule.enforce;
|
691
|
-
var getInternalState = InternalStateModule.get;
|
692
|
-
var $String = String;
|
693
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
694
|
-
var defineProperty$1 = Object.defineProperty;
|
695
|
-
var stringSlice = uncurryThis$3(''.slice);
|
696
|
-
var replace = uncurryThis$3(''.replace);
|
697
|
-
var join = uncurryThis$3([].join);
|
698
|
-
|
699
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
|
700
|
-
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
701
|
-
});
|
702
|
-
|
703
|
-
var TEMPLATE = String(String).split('String');
|
704
|
-
|
705
|
-
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
706
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
707
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
708
|
-
}
|
709
|
-
if (options && options.getter) name = 'get ' + name;
|
710
|
-
if (options && options.setter) name = 'set ' + name;
|
711
|
-
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
712
|
-
if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
|
713
|
-
else value.name = name;
|
714
|
-
}
|
715
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
716
|
-
defineProperty$1(value, 'length', { value: options.arity });
|
717
|
-
}
|
718
|
-
try {
|
719
|
-
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
720
|
-
if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
|
721
|
-
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
722
|
-
} else if (value.prototype) value.prototype = undefined;
|
723
|
-
} catch (error) { /* empty */ }
|
724
|
-
var state = enforceInternalState(value);
|
725
|
-
if (!hasOwn$2(state, 'source')) {
|
726
|
-
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
727
|
-
} return value;
|
728
|
-
};
|
729
|
-
|
730
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
731
|
-
// eslint-disable-next-line no-extend-native -- required
|
732
|
-
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
733
|
-
return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
|
734
|
-
}, 'toString');
|
735
|
-
|
736
|
-
var isCallable$1 = isCallable$a;
|
737
|
-
var definePropertyModule$1 = objectDefineProperty;
|
738
|
-
var makeBuiltIn = makeBuiltIn$2.exports;
|
739
|
-
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
740
|
-
|
741
|
-
var defineBuiltIn$1 = function (O, key, value, options) {
|
742
|
-
if (!options) options = {};
|
743
|
-
var simple = options.enumerable;
|
744
|
-
var name = options.name !== undefined ? options.name : key;
|
745
|
-
if (isCallable$1(value)) makeBuiltIn(value, name, options);
|
746
|
-
if (options.global) {
|
747
|
-
if (simple) O[key] = value;
|
748
|
-
else defineGlobalProperty$1(key, value);
|
749
|
-
} else {
|
750
|
-
try {
|
751
|
-
if (!options.unsafe) delete O[key];
|
752
|
-
else if (O[key]) simple = true;
|
753
|
-
} catch (error) { /* empty */ }
|
754
|
-
if (simple) O[key] = value;
|
755
|
-
else definePropertyModule$1.f(O, key, {
|
756
|
-
value: value,
|
757
|
-
enumerable: false,
|
758
|
-
configurable: !options.nonConfigurable,
|
759
|
-
writable: !options.nonWritable
|
760
|
-
});
|
761
|
-
} return O;
|
762
|
-
};
|
763
|
-
|
764
|
-
var objectGetOwnPropertyNames = {};
|
765
|
-
|
766
|
-
var ceil = Math.ceil;
|
767
|
-
var floor = Math.floor;
|
768
|
-
|
769
|
-
// `Math.trunc` method
|
770
|
-
// https://tc39.es/ecma262/#sec-math.trunc
|
771
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
772
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
773
|
-
var n = +x;
|
774
|
-
return (n > 0 ? floor : ceil)(n);
|
775
|
-
};
|
776
|
-
|
777
|
-
var trunc = mathTrunc;
|
778
|
-
|
779
|
-
// `ToIntegerOrInfinity` abstract operation
|
780
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
781
|
-
var toIntegerOrInfinity$2 = function (argument) {
|
782
|
-
var number = +argument;
|
783
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
784
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
785
|
-
};
|
786
|
-
|
787
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
788
|
-
|
789
|
-
var max = Math.max;
|
790
|
-
var min$1 = Math.min;
|
791
|
-
|
792
|
-
// Helper for a popular repeating case of the spec:
|
793
|
-
// Let integer be ? ToInteger(index).
|
794
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
795
|
-
var toAbsoluteIndex$1 = function (index, length) {
|
796
|
-
var integer = toIntegerOrInfinity$1(index);
|
797
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
798
|
-
};
|
799
|
-
|
800
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
801
|
-
|
802
|
-
var min = Math.min;
|
803
|
-
|
804
|
-
// `ToLength` abstract operation
|
805
|
-
// https://tc39.es/ecma262/#sec-tolength
|
806
|
-
var toLength$1 = function (argument) {
|
807
|
-
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
808
|
-
};
|
809
|
-
|
810
|
-
var toLength = toLength$1;
|
811
|
-
|
812
|
-
// `LengthOfArrayLike` abstract operation
|
813
|
-
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
814
|
-
var lengthOfArrayLike$1 = function (obj) {
|
815
|
-
return toLength(obj.length);
|
816
|
-
};
|
817
|
-
|
818
|
-
var toIndexedObject$1 = toIndexedObject$3;
|
819
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
820
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
821
|
-
|
822
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
823
|
-
var createMethod = function (IS_INCLUDES) {
|
824
|
-
return function ($this, el, fromIndex) {
|
825
|
-
var O = toIndexedObject$1($this);
|
826
|
-
var length = lengthOfArrayLike(O);
|
827
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
828
|
-
var value;
|
829
|
-
// Array#includes uses SameValueZero equality algorithm
|
830
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
831
|
-
if (IS_INCLUDES && el != el) while (length > index) {
|
832
|
-
value = O[index++];
|
833
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
834
|
-
if (value != value) return true;
|
835
|
-
// Array#indexOf ignores holes, Array#includes - not
|
836
|
-
} else for (;length > index; index++) {
|
837
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
838
|
-
} return !IS_INCLUDES && -1;
|
839
|
-
};
|
840
|
-
};
|
841
|
-
|
842
|
-
var arrayIncludes = {
|
843
|
-
// `Array.prototype.includes` method
|
844
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
845
|
-
includes: createMethod(true),
|
846
|
-
// `Array.prototype.indexOf` method
|
847
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
848
|
-
indexOf: createMethod(false)
|
849
|
-
};
|
850
|
-
|
851
|
-
var uncurryThis$2 = functionUncurryThis;
|
852
|
-
var hasOwn$1 = hasOwnProperty_1;
|
853
|
-
var toIndexedObject = toIndexedObject$3;
|
854
|
-
var indexOf = arrayIncludes.indexOf;
|
855
|
-
var hiddenKeys$1 = hiddenKeys$3;
|
856
|
-
|
857
|
-
var push = uncurryThis$2([].push);
|
858
|
-
|
859
|
-
var objectKeysInternal = function (object, names) {
|
860
|
-
var O = toIndexedObject(object);
|
861
|
-
var i = 0;
|
862
|
-
var result = [];
|
863
|
-
var key;
|
864
|
-
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
|
865
|
-
// Don't enum bug & hidden keys
|
866
|
-
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
867
|
-
~indexOf(result, key) || push(result, key);
|
868
|
-
}
|
869
|
-
return result;
|
870
|
-
};
|
871
|
-
|
872
|
-
// IE8- don't enum bug keys
|
873
|
-
var enumBugKeys$2 = [
|
874
|
-
'constructor',
|
875
|
-
'hasOwnProperty',
|
876
|
-
'isPrototypeOf',
|
877
|
-
'propertyIsEnumerable',
|
878
|
-
'toLocaleString',
|
879
|
-
'toString',
|
880
|
-
'valueOf'
|
881
|
-
];
|
882
|
-
|
883
|
-
var internalObjectKeys$1 = objectKeysInternal;
|
884
|
-
var enumBugKeys$1 = enumBugKeys$2;
|
885
|
-
|
886
|
-
var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
|
887
|
-
|
888
|
-
// `Object.getOwnPropertyNames` method
|
889
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
890
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
891
|
-
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
892
|
-
return internalObjectKeys$1(O, hiddenKeys);
|
893
|
-
};
|
894
|
-
|
895
|
-
var objectGetOwnPropertySymbols = {};
|
896
|
-
|
897
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
898
|
-
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
899
|
-
|
900
|
-
var getBuiltIn = getBuiltIn$2;
|
901
|
-
var uncurryThis$1 = functionUncurryThis;
|
902
|
-
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
903
|
-
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
904
|
-
var anObject = anObject$2;
|
905
|
-
|
906
|
-
var concat$1 = uncurryThis$1([].concat);
|
907
|
-
|
908
|
-
// all object keys, includes non-enumerable and symbols
|
909
|
-
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
910
|
-
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
911
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
912
|
-
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
913
|
-
};
|
914
|
-
|
915
|
-
var hasOwn = hasOwnProperty_1;
|
916
|
-
var ownKeys = ownKeys$1;
|
917
|
-
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
918
|
-
var definePropertyModule = objectDefineProperty;
|
919
|
-
|
920
|
-
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
921
|
-
var keys = ownKeys(source);
|
922
|
-
var defineProperty = definePropertyModule.f;
|
923
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
924
|
-
for (var i = 0; i < keys.length; i++) {
|
925
|
-
var key = keys[i];
|
926
|
-
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
927
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
928
|
-
}
|
929
|
-
}
|
930
|
-
};
|
931
|
-
|
932
|
-
var fails$1 = fails$9;
|
933
|
-
var isCallable = isCallable$a;
|
934
|
-
|
935
|
-
var replacement = /#|\.prototype\./;
|
936
|
-
|
937
|
-
var isForced$1 = function (feature, detection) {
|
938
|
-
var value = data[normalize(feature)];
|
939
|
-
return value == POLYFILL ? true
|
940
|
-
: value == NATIVE ? false
|
941
|
-
: isCallable(detection) ? fails$1(detection)
|
942
|
-
: !!detection;
|
943
|
-
};
|
944
|
-
|
945
|
-
var normalize = isForced$1.normalize = function (string) {
|
946
|
-
return String(string).replace(replacement, '.').toLowerCase();
|
947
|
-
};
|
948
|
-
|
949
|
-
var data = isForced$1.data = {};
|
950
|
-
var NATIVE = isForced$1.NATIVE = 'N';
|
951
|
-
var POLYFILL = isForced$1.POLYFILL = 'P';
|
952
|
-
|
953
|
-
var isForced_1 = isForced$1;
|
954
|
-
|
955
|
-
var global$1 = global$b;
|
956
|
-
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
957
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
958
|
-
var defineBuiltIn = defineBuiltIn$1;
|
959
|
-
var defineGlobalProperty = defineGlobalProperty$3;
|
960
|
-
var copyConstructorProperties = copyConstructorProperties$1;
|
961
|
-
var isForced = isForced_1;
|
962
|
-
|
963
|
-
/*
|
964
|
-
options.target - name of the target object
|
965
|
-
options.global - target is the global object
|
966
|
-
options.stat - export as static methods of target
|
967
|
-
options.proto - export as prototype methods of target
|
968
|
-
options.real - real prototype method for the `pure` version
|
969
|
-
options.forced - export even if the native feature is available
|
970
|
-
options.bind - bind methods to the target, required for the `pure` version
|
971
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
972
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
973
|
-
options.sham - add a flag to not completely full polyfills
|
974
|
-
options.enumerable - export as enumerable property
|
975
|
-
options.dontCallGetSet - prevent calling a getter on target
|
976
|
-
options.name - the .name of the function if it does not match the key
|
977
|
-
*/
|
978
|
-
var _export = function (options, source) {
|
979
|
-
var TARGET = options.target;
|
980
|
-
var GLOBAL = options.global;
|
981
|
-
var STATIC = options.stat;
|
982
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
983
|
-
if (GLOBAL) {
|
984
|
-
target = global$1;
|
985
|
-
} else if (STATIC) {
|
986
|
-
target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
|
987
|
-
} else {
|
988
|
-
target = (global$1[TARGET] || {}).prototype;
|
989
|
-
}
|
990
|
-
if (target) for (key in source) {
|
991
|
-
sourceProperty = source[key];
|
992
|
-
if (options.dontCallGetSet) {
|
993
|
-
descriptor = getOwnPropertyDescriptor(target, key);
|
994
|
-
targetProperty = descriptor && descriptor.value;
|
995
|
-
} else targetProperty = target[key];
|
996
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
997
|
-
// contained in target
|
998
|
-
if (!FORCED && targetProperty !== undefined) {
|
999
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
1000
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
1001
|
-
}
|
1002
|
-
// add a flag to not completely full polyfills
|
1003
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1004
|
-
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1005
|
-
}
|
1006
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
1007
|
-
}
|
1008
|
-
};
|
1009
|
-
|
1010
|
-
var internalObjectKeys = objectKeysInternal;
|
1011
|
-
var enumBugKeys = enumBugKeys$2;
|
1012
|
-
|
1013
|
-
// `Object.keys` method
|
1014
|
-
// https://tc39.es/ecma262/#sec-object.keys
|
1015
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
1016
|
-
var objectKeys$1 = Object.keys || function keys(O) {
|
1017
|
-
return internalObjectKeys(O, enumBugKeys);
|
1018
|
-
};
|
1019
|
-
|
1020
|
-
var DESCRIPTORS = descriptors;
|
1021
|
-
var uncurryThis = functionUncurryThis;
|
1022
|
-
var call = functionCall;
|
1023
|
-
var fails = fails$9;
|
1024
|
-
var objectKeys = objectKeys$1;
|
1025
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
1026
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
1027
|
-
var toObject$1 = toObject$3;
|
1028
|
-
var IndexedObject = indexedObject;
|
1029
|
-
|
1030
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
1031
|
-
var $assign = Object.assign;
|
1032
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
1033
|
-
var defineProperty = Object.defineProperty;
|
1034
|
-
var concat = uncurryThis([].concat);
|
1035
|
-
|
1036
|
-
// `Object.assign` method
|
1037
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
1038
|
-
var objectAssign$1 = !$assign || fails(function () {
|
1039
|
-
// should have correct order of operations (Edge bug)
|
1040
|
-
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
1041
|
-
enumerable: true,
|
1042
|
-
get: function () {
|
1043
|
-
defineProperty(this, 'b', {
|
1044
|
-
value: 3,
|
1045
|
-
enumerable: false
|
1046
|
-
});
|
1047
|
-
}
|
1048
|
-
}), { b: 2 })).b !== 1) return true;
|
1049
|
-
// should work with symbols and should have deterministic property order (V8 bug)
|
1050
|
-
var A = {};
|
1051
|
-
var B = {};
|
1052
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
1053
|
-
var symbol = Symbol();
|
1054
|
-
var alphabet = 'abcdefghijklmnopqrst';
|
1055
|
-
A[symbol] = 7;
|
1056
|
-
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
1057
|
-
return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
|
1058
|
-
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
1059
|
-
var T = toObject$1(target);
|
1060
|
-
var argumentsLength = arguments.length;
|
1061
|
-
var index = 1;
|
1062
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
1063
|
-
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
1064
|
-
while (argumentsLength > index) {
|
1065
|
-
var S = IndexedObject(arguments[index++]);
|
1066
|
-
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
1067
|
-
var length = keys.length;
|
1068
|
-
var j = 0;
|
1069
|
-
var key;
|
1070
|
-
while (length > j) {
|
1071
|
-
key = keys[j++];
|
1072
|
-
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
|
1073
|
-
}
|
1074
|
-
} return T;
|
1075
|
-
} : $assign;
|
1076
|
-
|
1077
|
-
var $ = _export;
|
1078
|
-
var assign$1 = objectAssign$1;
|
1079
|
-
|
1080
|
-
// `Object.assign` method
|
1081
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
1082
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
1083
|
-
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
|
1084
|
-
assign: assign$1
|
1085
|
-
});
|
1
|
+
import 'core-js/modules/es.object.assign.js';
|
1086
2
|
|
1087
3
|
function isPlainObject(item) {
|
1088
4
|
return item !== null && typeof item === 'object' && item.constructor === Object;
|
@@ -3809,7 +2725,7 @@ const green = {
|
|
3809
2725
|
var green$1 = green;
|
3810
2726
|
|
3811
2727
|
const _excluded$3 = ["mode", "contrastThreshold", "tonalOffset"];
|
3812
|
-
const light
|
2728
|
+
const light = {
|
3813
2729
|
// The colors used to style the text.
|
3814
2730
|
text: {
|
3815
2731
|
// The most important text.
|
@@ -3989,7 +2905,7 @@ function createPalette(palette) {
|
|
3989
2905
|
// Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59
|
3990
2906
|
// and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54
|
3991
2907
|
function getContrastText(background) {
|
3992
|
-
const contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light
|
2908
|
+
const contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
|
3993
2909
|
if (process.env.NODE_ENV !== 'production') {
|
3994
2910
|
const contrast = getContrastRatio(background, contrastText);
|
3995
2911
|
if (contrast < 3) {
|
@@ -4038,7 +2954,7 @@ const theme2 = createTheme({ palette: {
|
|
4038
2954
|
};
|
4039
2955
|
const modes = {
|
4040
2956
|
dark,
|
4041
|
-
light
|
2957
|
+
light
|
4042
2958
|
};
|
4043
2959
|
if (process.env.NODE_ENV !== 'production') {
|
4044
2960
|
if (!modes[mode]) {
|
@@ -4196,8 +3112,8 @@ function createShadow(...px) {
|
|
4196
3112
|
}
|
4197
3113
|
|
4198
3114
|
// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
|
4199
|
-
const shadows
|
4200
|
-
var shadows$
|
3115
|
+
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
3116
|
+
var shadows$1 = shadows;
|
4201
3117
|
|
4202
3118
|
const _excluded$1 = ["duration", "easing", "delay"];
|
4203
3119
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
@@ -4316,7 +3232,7 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
4316
3232
|
mixins: createMixins(systemTheme.breakpoints, mixinsInput),
|
4317
3233
|
palette,
|
4318
3234
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
4319
|
-
shadows: shadows$
|
3235
|
+
shadows: shadows$1.slice(),
|
4320
3236
|
typography: createTypography(palette, typographyInput),
|
4321
3237
|
transitions: createTransitions(transitionsInput),
|
4322
3238
|
zIndex: _extends$1({}, zIndex$1)
|
@@ -4325,739 +3241,481 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
4325
3241
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
4326
3242
|
if (process.env.NODE_ENV !== 'production') {
|
4327
3243
|
// TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.
|
4328
|
-
const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];
|
4329
|
-
const traverse = (node, component) => {
|
4330
|
-
let key;
|
4331
|
-
|
4332
|
-
// eslint-disable-next-line guard-for-in, no-restricted-syntax
|
4333
|
-
for (key in node) {
|
4334
|
-
const child = node[key];
|
4335
|
-
if (stateClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
|
4336
|
-
if (process.env.NODE_ENV !== 'production') {
|
4337
|
-
const stateClass = generateUtilityClass('', key);
|
4338
|
-
console.error([`MUI: The \`${component}\` component increases ` + `the CSS specificity of the \`${key}\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
|
4339
|
-
root: {
|
4340
|
-
[`&.${stateClass}`]: child
|
4341
|
-
}
|
4342
|
-
}, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\n'));
|
4343
|
-
}
|
4344
|
-
// Remove the style to prevent global conflicts.
|
4345
|
-
node[key] = {};
|
4346
|
-
}
|
4347
|
-
}
|
4348
|
-
};
|
4349
|
-
Object.keys(muiTheme.components).forEach(component => {
|
4350
|
-
const styleOverrides = muiTheme.components[component].styleOverrides;
|
4351
|
-
if (styleOverrides && component.indexOf('Mui') === 0) {
|
4352
|
-
traverse(styleOverrides, component);
|
4353
|
-
}
|
4354
|
-
});
|
4355
|
-
}
|
4356
|
-
muiTheme.unstable_sxConfig = _extends$1({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
4357
|
-
muiTheme.unstable_sx = function sx(props) {
|
4358
|
-
return styleFunctionSx$1({
|
4359
|
-
sx: props,
|
4360
|
-
theme: this
|
4361
|
-
});
|
4362
|
-
};
|
4363
|
-
return muiTheme;
|
4364
|
-
}
|
4365
|
-
|
4366
|
-
const Palette = {
|
4367
|
-
text: {
|
4368
|
-
primary: 'rgba(8, 21, 36, 0.87)',
|
4369
|
-
secondary: 'rgba(8, 21, 36, 0.6)',
|
4370
|
-
disabled: 'rgba(8, 21, 36, 0.38)'
|
4371
|
-
},
|
4372
|
-
primary: {
|
4373
|
-
main: '#1B344C',
|
4374
|
-
dark: '#081524',
|
4375
|
-
light: '#3D5267',
|
4376
|
-
contrastText: '#FFFFFF'
|
4377
|
-
},
|
4378
|
-
secondary: {
|
4379
|
-
main: '#2D9FC5',
|
4380
|
-
dark: '#1172A3',
|
4381
|
-
light: '#4DADCE',
|
4382
|
-
contrastText: '#FFFFFF'
|
4383
|
-
},
|
4384
|
-
action: {
|
4385
|
-
active: 'rgba(8, 21, 36, 0.54)',
|
4386
|
-
hover: 'rgba(8, 21, 36, 0.04)',
|
4387
|
-
selected: 'rgba(8, 21, 36, 0.08)',
|
4388
|
-
disabled: 'rgba(8, 21, 36, 0.26)',
|
4389
|
-
disabledBackground: 'rgba(8, 21, 36, 0.12)',
|
4390
|
-
focus: 'rgba(8, 21, 36, 0.12)'
|
4391
|
-
},
|
4392
|
-
error: {
|
4393
|
-
main: '#D14343',
|
4394
|
-
dark: '#B51E1E',
|
4395
|
-
light: '#D85F5F',
|
4396
|
-
contrastText: '#FFFFFF'
|
4397
|
-
},
|
4398
|
-
warning: {
|
4399
|
-
main: '#FB8500',
|
4400
|
-
dark: '#F85500',
|
4401
|
-
light: '#FC9726',
|
4402
|
-
contrastText: '#FFFFFF'
|
4403
|
-
},
|
4404
|
-
info: {
|
4405
|
-
main: '#2D9FC5',
|
4406
|
-
dark: '#1172A3',
|
4407
|
-
light: '#4DADCE',
|
4408
|
-
contrastText: '#FFFFFF'
|
4409
|
-
},
|
4410
|
-
success: {
|
4411
|
-
main: '#8FC93A',
|
4412
|
-
dark: '#60A918',
|
4413
|
-
light: '#A0D158',
|
4414
|
-
contrastText: '#FFFFFF'
|
4415
|
-
},
|
4416
|
-
background: {
|
4417
|
-
paper: '#FFFFFF',
|
4418
|
-
default: '#F1F0EE'
|
4419
|
-
},
|
4420
|
-
divider: 'rgba(16,24,64,0.12)',
|
4421
|
-
grey: {
|
4422
|
-
50: '#FAFBFF',
|
4423
|
-
100: '#F4F6FA',
|
4424
|
-
200: '#EDEFF5',
|
4425
|
-
300: '#E6E8F0',
|
4426
|
-
400: '#D8DAE5',
|
4427
|
-
500: '#C1C4D6',
|
4428
|
-
600: '#8F95B2',
|
4429
|
-
700: '#696F8C',
|
4430
|
-
800: '#474D66',
|
4431
|
-
900: '#101840',
|
4432
|
-
A100: '#D8DAE5',
|
4433
|
-
A200: '#C1C4D6',
|
4434
|
-
A400: '#696F8C',
|
4435
|
-
A700: '#101840'
|
4436
|
-
}
|
4437
|
-
};
|
4438
|
-
const palette = Palette;
|
4439
|
-
|
4440
|
-
const shadowsCustom = ['none', '0px 1px 3px rgba(24, 39, 75, 0.12), 0px 1px 1px -1px rgba(24, 39, 75, 0.14), 0px 2px 1px -2px rgba(24, 39, 75, 0.2)', '0px 1px 5px rgba(24, 39, 75, 0.12), 0px 2px 2px rgba(24, 39, 75, 0.14), 0px 3px 1px -2px rgba(24, 39, 75, 0.2)', '0px 1px 8px rgba(24, 39, 75, 0.12), 0px 3px 4px rgba(24, 39, 75, 0.14), 0px 3px 3px -2px rgba(24, 39, 75, 0.2)', '0px 2px 4px -1px rgba(24, 39, 75, 0.2), 0px 4px 5px rgba(24, 39, 75, 0.14), 0px 1px 10px rgba(24, 39, 75, 0.12)', '0px 3px 5px -1px rgba(24, 39, 75, 0.2), 0px 5px 8px rgba(24, 39, 75, 0.14), 0px 1px 14px rgba(24, 39, 75, 0.12)', '0px 3px 5px -1px rgba(24, 39, 75, 0.2), 0px 6px 10px rgba(24, 39, 75, 0.14), 0px 1px 18px rgba(24, 39, 75, 0.12)', '0px 4px 5px -2px rgba(24, 39, 75, 0.2), 0px 7px 10px 1px rgba(24, 39, 75, 0.14), 0px 2px 16px 1px rgba(24, 39, 75, 0.12)', '0px 5px 5px -3px rgba(24, 39, 75, 0.2), 0px 8px 10px 1px rgba(24, 39, 75, 0.14), 0px 3px 14px 2px rgba(24, 39, 75, 0.12)', '0px 5px 6px -3px rgba(24, 39, 75, 0.2), 0px 9px 12px 1px rgba(24, 39, 75, 0.14), 0px 3px 16px 2px rgba(24, 39, 75, 0.12)', '0px 6px 6px -3px rgba(24, 39, 75, 0.2), 0px 10px 14px 1px rgba(24, 39, 75, 0.14), 0px 4px 18px 3px rgba(24, 39, 75, 0.12)', '0px 6px 7px -4px rgba(24, 39, 75, 0.2), 0px 11px 15px 1px rgba(24, 39, 75, 0.14), 0px 4px 20px 3px rgba(24, 39, 75, 0.12)', '0px 7px 8px -4px rgba(24, 39, 75, 0.2), 0px 12px 17px 2px rgba(24, 39, 75, 0.14), 0px 5px 22px 4px rgba(24, 39, 75, 0.12)', '0px 7px 8px -4px rgba(24, 39, 75, 0.2), 0px 13px 19px 2px rgba(24, 39, 75, 0.14), 0px 5px 24px 4px rgba(24, 39, 75, 0.12)', '0px 7px 9px -4px rgba(24, 39, 75, 0.2), 0px 14px 21px 2px rgba(24, 39, 75, 0.14), 0px 5px 26px 4px rgba(24, 39, 75, 0.12)', '0px 8px 9px -5px rgba(24, 39, 75, 0.2), 0px 15px 22px 2px rgba(24, 39, 75, 0.14), 0px 6px 28px 5px rgba(24, 39, 75, 0.12)', '0px 8px 10px -5px rgba(24, 39, 75, 0.2), 0px 16px 24px 2px rgba(24, 39, 75, 0.14), 0px 6px 30px 5px rgba(24, 39, 75, 0.12)', '0px 8px 11px -5px rgba(24, 39, 75, 0.2), 0px 17px 26px 2px rgba(24, 39, 75, 0.14), 0px 6px 32px 5px rgba(24, 39, 75, 0.12)', '0px 9px 11px -5px rgba(24, 39, 75, 0.2), 0px 18px 28px 2px rgba(24, 39, 75, 0.14), 0px 7px 34px 6px rgba(24, 39, 75, 0.12)', '0px 9px 12px -6px rgba(24, 39, 75, 0.2), 0px 19px 29px 2px rgba(24, 39, 75, 0.14), 0px 7px 36px 6px rgba(24, 39, 75, 0.12)', '0px 10px 13px -6px rgba(24, 39, 75, 0.2), 0px 20px 31px 3px rgba(24, 39, 75, 0.14), 0px 8px 38px 7px rgba(24, 39, 75, 0.12)', '0px 10px 13px -6px rgba(24, 39, 75, 0.2), 0px 21px 33px 3px rgba(24, 39, 75, 0.14), 0px 8px 40px 7px rgba(24, 39, 75, 0.12)', '0px 10px 14px -6px rgba(24, 39, 75, 0.2), 0px 22px 35px 3px rgba(24, 39, 75, 0.14), 0px 8px 42px 7px rgba(24, 39, 75, 0.12)', '0px 11px 14px -7px rgba(24, 39, 75, 0.2), 0px 23px 36px 3px rgba(24, 39, 75, 0.14), 0px 9px 44px 8px rgba(24, 39, 75, 0.12)', '0px 11px 15px -7px rgba(24, 39, 75, 0.2), 0px 24px 38px 3px rgba(24, 39, 75, 0.14), 0px 9px 46px 8px rgba(24, 39, 75, 0.12)'];
|
4441
|
-
const shadows = shadowsCustom;
|
4442
|
-
|
4443
|
-
const Typography = {
|
4444
|
-
fontSize: 14,
|
4445
|
-
h1: {
|
4446
|
-
fontFamily: 'Nunito',
|
4447
|
-
fontSize: '6.85714286rem',
|
4448
|
-
fontWeight: '300',
|
4449
|
-
lineHeight: '1.167',
|
4450
|
-
letterSpacing: '-0.01562em'
|
4451
|
-
},
|
4452
|
-
h2: {
|
4453
|
-
fontFamily: 'Nunito',
|
4454
|
-
fontSize: '4.28571429rem',
|
4455
|
-
fontWeight: '400',
|
4456
|
-
lineHeight: ' 1.2',
|
4457
|
-
letterSpacing: '-0.00833em'
|
4458
|
-
},
|
4459
|
-
h3: {
|
4460
|
-
fontFamily: 'Nunito',
|
4461
|
-
fontSize: '3.42857143rem',
|
4462
|
-
fontWeight: '500',
|
4463
|
-
lineHeight: '1.167',
|
4464
|
-
letterSpacing: 0
|
4465
|
-
},
|
4466
|
-
h4: {
|
4467
|
-
fontFamily: 'Nunito',
|
4468
|
-
fontSize: '2.42857143rem',
|
4469
|
-
fontWeight: '500',
|
4470
|
-
lineHeight: '1.235',
|
4471
|
-
letterSpacing: '0.00735em'
|
4472
|
-
},
|
4473
|
-
h5: {
|
4474
|
-
fontFamily: 'Nunito',
|
4475
|
-
fontSize: '1.28571429rem',
|
4476
|
-
fontWeight: '500',
|
4477
|
-
lineHeight: '1.26',
|
4478
|
-
letterSpacing: 0
|
4479
|
-
},
|
4480
|
-
h6: {
|
4481
|
-
fontFamily: 'Nunito',
|
4482
|
-
fontSize: '1.142857142857143rem',
|
4483
|
-
fontWeight: '500',
|
4484
|
-
lineHeight: '1.6',
|
4485
|
-
letterSpacing: '0.0075em'
|
4486
|
-
},
|
4487
|
-
subtitle1: {
|
4488
|
-
fontFamily: 'Roboto',
|
4489
|
-
fontSize: '1rem',
|
4490
|
-
fontWeight: '500',
|
4491
|
-
lineHeight: '1.43',
|
4492
|
-
letterSpacing: '0.0075em'
|
4493
|
-
},
|
4494
|
-
subtitle2: {
|
4495
|
-
fontFamily: 'Roboto',
|
4496
|
-
fontSize: '0.9285714285714286rem',
|
4497
|
-
fontWeight: '500',
|
4498
|
-
lineHeight: '1.57',
|
4499
|
-
letterSpacing: '0.00714em'
|
4500
|
-
},
|
4501
|
-
body1: {
|
4502
|
-
fontFamily: 'Roboto',
|
4503
|
-
fontSize: '1rem',
|
4504
|
-
fontWeight: '400',
|
4505
|
-
lineHeight: '1.43',
|
4506
|
-
letterSpacing: '0.00938em'
|
4507
|
-
},
|
4508
|
-
body2: {
|
4509
|
-
fontFamily: 'Roboto',
|
4510
|
-
fontSize: '0.9285714285714286rem',
|
4511
|
-
fontWeight: '400',
|
4512
|
-
lineHeight: '1.34',
|
4513
|
-
letterSpacing: '0.01071em'
|
4514
|
-
},
|
4515
|
-
caption: {
|
4516
|
-
fontFamily: 'Roboto',
|
4517
|
-
fontSize: '0.7857142857142857rem',
|
4518
|
-
fontWeight: '400',
|
4519
|
-
lineHeight: '1.5',
|
4520
|
-
letterSpacing: '0.029em'
|
4521
|
-
},
|
4522
|
-
overline: {
|
4523
|
-
fontFamily: 'Roboto',
|
4524
|
-
fontSize: '0.7857142857142857rem',
|
4525
|
-
fontWeight: '400',
|
4526
|
-
lineHeight: '2.4',
|
4527
|
-
letterSpacing: '0.071em'
|
4528
|
-
},
|
4529
|
-
button: {
|
4530
|
-
fontFamily: 'Roboto',
|
4531
|
-
fontSize: '1rem',
|
4532
|
-
fontWeight: '500',
|
4533
|
-
lineHeight: '1.75',
|
4534
|
-
letterSpacing: '0.02857em',
|
4535
|
-
textTransform: 'none'
|
4536
|
-
}
|
4537
|
-
};
|
4538
|
-
const typography = Typography;
|
4539
|
-
|
4540
|
-
const light = {
|
4541
|
-
typography,
|
4542
|
-
palette,
|
4543
|
-
spacing: 4,
|
4544
|
-
shadows,
|
4545
|
-
components: {
|
4546
|
-
MuiButton: {
|
4547
|
-
styleOverrides: {
|
4548
|
-
sizeSmall: {
|
4549
|
-
minHeight: '30px'
|
4550
|
-
},
|
4551
|
-
root: {
|
4552
|
-
textTransform: 'none'
|
4553
|
-
}
|
4554
|
-
}
|
4555
|
-
},
|
4556
|
-
MuiCardContent: {
|
4557
|
-
styleOverrides: {
|
4558
|
-
root: {
|
4559
|
-
':last-child': {
|
4560
|
-
paddingBottom: '16px'
|
3244
|
+
const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];
|
3245
|
+
const traverse = (node, component) => {
|
3246
|
+
let key;
|
3247
|
+
|
3248
|
+
// eslint-disable-next-line guard-for-in, no-restricted-syntax
|
3249
|
+
for (key in node) {
|
3250
|
+
const child = node[key];
|
3251
|
+
if (stateClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
|
3252
|
+
if (process.env.NODE_ENV !== 'production') {
|
3253
|
+
const stateClass = generateUtilityClass('', key);
|
3254
|
+
console.error([`MUI: The \`${component}\` component increases ` + `the CSS specificity of the \`${key}\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
|
3255
|
+
root: {
|
3256
|
+
[`&.${stateClass}`]: child
|
3257
|
+
}
|
3258
|
+
}, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\n'));
|
4561
3259
|
}
|
3260
|
+
// Remove the style to prevent global conflicts.
|
3261
|
+
node[key] = {};
|
4562
3262
|
}
|
4563
3263
|
}
|
4564
|
-
}
|
3264
|
+
};
|
3265
|
+
Object.keys(muiTheme.components).forEach(component => {
|
3266
|
+
const styleOverrides = muiTheme.components[component].styleOverrides;
|
3267
|
+
if (styleOverrides && component.indexOf('Mui') === 0) {
|
3268
|
+
traverse(styleOverrides, component);
|
3269
|
+
}
|
3270
|
+
});
|
4565
3271
|
}
|
4566
|
-
};
|
3272
|
+
muiTheme.unstable_sxConfig = _extends$1({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
3273
|
+
muiTheme.unstable_sx = function sx(props) {
|
3274
|
+
return styleFunctionSx$1({
|
3275
|
+
sx: props,
|
3276
|
+
theme: this
|
3277
|
+
});
|
3278
|
+
};
|
3279
|
+
return muiTheme;
|
3280
|
+
}
|
4567
3281
|
|
4568
|
-
const
|
4569
|
-
|
4570
|
-
|
4571
|
-
|
4572
|
-
|
4573
|
-
|
4574
|
-
|
4575
|
-
lg: 1200,
|
4576
|
-
xl: 1536,
|
4577
|
-
mobile: 0,
|
4578
|
-
tablet: 640,
|
4579
|
-
laptop: 1024,
|
4580
|
-
desktop: 1200
|
4581
|
-
}
|
4582
|
-
};
|
4583
|
-
createBreakpoints(Object.assign({}, customBreakpointValues));
|
4584
|
-
const themeOptions = {
|
4585
|
-
breakpoints: Object.assign({}, customBreakpointValues),
|
4586
|
-
palette: {
|
4587
|
-
primary: {
|
4588
|
-
main: "#1e62a1",
|
4589
|
-
light: "#5a8fd3",
|
4590
|
-
dark: "#003972",
|
4591
|
-
contrastText: "#ffffff"
|
4592
|
-
},
|
4593
|
-
secondary: {
|
4594
|
-
main: "#0CBBE2",
|
4595
|
-
light: "#67eeff",
|
4596
|
-
dark: "#008bb0",
|
4597
|
-
contrastText: "#ffffff"
|
4598
|
-
},
|
4599
|
-
text: {
|
4600
|
-
primary: "rgba(16,24,64,0.87)",
|
4601
|
-
secondary: "rgba(16,24,64,0.6)",
|
4602
|
-
disabled: "rgba(16,24,64,0.38)"
|
4603
|
-
},
|
4604
|
-
error: {
|
4605
|
-
main: "#D14343",
|
4606
|
-
light: "#d85f5f",
|
4607
|
-
dark: "#b51e1e",
|
4608
|
-
contrastText: "#ffffff"
|
4609
|
-
},
|
4610
|
-
warning: {
|
4611
|
-
main: "#fb8500",
|
4612
|
-
light: "#fc9726",
|
4613
|
-
dark: "#f85500",
|
4614
|
-
contrastText: "#ffffff"
|
4615
|
-
},
|
4616
|
-
info: {
|
4617
|
-
main: "#2d9fc5",
|
4618
|
-
light: "#4dadce",
|
4619
|
-
dark: "#1172a3",
|
4620
|
-
contrastText: "#ffffff"
|
4621
|
-
},
|
4622
|
-
success: {
|
4623
|
-
main: "#8fc93a",
|
4624
|
-
dark: "#60a918",
|
4625
|
-
light: "#a0d158",
|
4626
|
-
contrastText: "#ffffff"
|
4627
|
-
},
|
4628
|
-
grey: {
|
4629
|
-
50: "#FAFBFF",
|
4630
|
-
100: "#F4F6FA",
|
4631
|
-
200: "#EDEFF5",
|
4632
|
-
300: "#E6E8F0",
|
4633
|
-
400: "#D8DAE5",
|
4634
|
-
500: "#C1C4D6",
|
4635
|
-
600: "#8F95B2",
|
4636
|
-
700: "#696F8C",
|
4637
|
-
800: "#474D66",
|
4638
|
-
900: "#101840",
|
4639
|
-
A100: "#D8DAE5",
|
4640
|
-
A200: "#C1C4D6",
|
4641
|
-
A400: "#696F8C",
|
4642
|
-
A700: "#101840"
|
4643
|
-
},
|
4644
|
-
action: {
|
4645
|
-
active: "rgba(16, 24, 64, 0.54)",
|
4646
|
-
hover: "rgba(16, 24, 64, 0.04)",
|
4647
|
-
selected: "rgba(16, 24, 64, 0.08)",
|
4648
|
-
disabled: "rgba(16, 24, 64, 0.26)",
|
4649
|
-
disabledBackground: "rgba(16, 24, 64, 0.12)",
|
4650
|
-
focus: "rgba(16, 24, 64, 0.12)"
|
4651
|
-
},
|
4652
|
-
background: {
|
4653
|
-
default: "#f5f5f5",
|
4654
|
-
paper: "#fff"
|
4655
|
-
},
|
4656
|
-
divider: "rgba(16,24,64,0.12)"
|
4657
|
-
},
|
4658
|
-
typography: {
|
4659
|
-
body1: {
|
4660
|
-
fontFamily: "Roboto, sans-serif",
|
4661
|
-
fontSize: "14px !important",
|
4662
|
-
fontWeight: 400,
|
4663
|
-
letterSpacing: 0.15,
|
4664
|
-
lineHeight: 1.4
|
4665
|
-
},
|
4666
|
-
body2: {
|
4667
|
-
fontFamily: "Roboto,sans-serif",
|
4668
|
-
fontSize: "13px !important",
|
4669
|
-
fontWeight: 400,
|
4670
|
-
letterSpacing: 0.17,
|
4671
|
-
lineHeight: 1.2
|
4672
|
-
},
|
4673
|
-
subtitle1: {
|
4674
|
-
fontFamily: "Roboto,sans-serif",
|
4675
|
-
fontSize: "14px !important",
|
4676
|
-
fontWeight: 500,
|
4677
|
-
letterSpacing: 0.15,
|
4678
|
-
lineHeight: 1.4
|
4679
|
-
},
|
4680
|
-
subtitle2: {
|
4681
|
-
fontFamily: "Roboto,sans-serif",
|
4682
|
-
fontSize: "13px !important",
|
4683
|
-
fontWeight: 500,
|
4684
|
-
letterSpacing: 0.1,
|
4685
|
-
lineHeight: 1.4
|
4686
|
-
},
|
4687
|
-
caption: {
|
4688
|
-
fontFamily: "Roboto, sans-serif",
|
4689
|
-
fontSize: "11px !important",
|
4690
|
-
fontWeight: 400,
|
4691
|
-
letterSpacing: 0.4,
|
4692
|
-
lineHeight: 1.4
|
4693
|
-
},
|
4694
|
-
overline: {
|
4695
|
-
fontFamily: "Roboto, sans-serif",
|
4696
|
-
fontSize: 1.1,
|
4697
|
-
fontWeight: 400,
|
4698
|
-
letterSpacing: 1,
|
4699
|
-
lineHeight: 2.66
|
4700
|
-
},
|
4701
|
-
h6: {
|
4702
|
-
fontFamily: "Nunito, system-ui",
|
4703
|
-
fontSize: "16px !important",
|
4704
|
-
fontWeight: 600,
|
4705
|
-
lineHeight: 1.6
|
4706
|
-
},
|
4707
|
-
h5: {
|
4708
|
-
fontFamily: "Nunito, sans-serif ",
|
4709
|
-
fontSize: "18px !important",
|
4710
|
-
fontWeight: 600,
|
4711
|
-
lineHeight: 1.8
|
4712
|
-
},
|
4713
|
-
h4: {
|
4714
|
-
fontFamily: "Nunito, sans-serif ",
|
4715
|
-
fontSize: "20px !important",
|
4716
|
-
fontWeight: 600,
|
4717
|
-
letterSpacing: 0.25,
|
4718
|
-
lineHeight: 1
|
4719
|
-
},
|
4720
|
-
h3: {
|
4721
|
-
fontFamily: "Nunito, sans-serif ",
|
4722
|
-
fontSize: "28px !important",
|
4723
|
-
fontWeight: 500,
|
4724
|
-
lineHeight: 1.2
|
4725
|
-
},
|
4726
|
-
h2: {
|
4727
|
-
fontFamily: "Nunito ",
|
4728
|
-
fontSize: "32px !important",
|
4729
|
-
fontWeight: 400,
|
4730
|
-
letterSpacing: -0.5,
|
4731
|
-
lineHeight: 1.2
|
4732
|
-
},
|
4733
|
-
h1: {
|
4734
|
-
fontFamily: "Nunito, sans-serif ",
|
4735
|
-
fontSize: "40px !important",
|
4736
|
-
fontWeight: 300,
|
4737
|
-
letterSpacing: -1.5,
|
4738
|
-
lineHeight: 1.4
|
4739
|
-
},
|
4740
|
-
button: {
|
4741
|
-
textTransform: "unset"
|
4742
|
-
},
|
4743
|
-
fontWeightLight: 300
|
4744
|
-
},
|
4745
|
-
spacing: 8,
|
4746
|
-
components: {
|
4747
|
-
MuiTypography: {
|
4748
|
-
styleOverrides: {
|
4749
|
-
root: {
|
4750
|
-
fontSize: 13
|
3282
|
+
const Componentes = {
|
3283
|
+
MuiDialog: {
|
3284
|
+
styleOverrides: {
|
3285
|
+
root: {
|
3286
|
+
" .MuiBackdrop-root": {
|
3287
|
+
backgroundColor: "#f0f0f099",
|
3288
|
+
backdropFilter: "blur(2px) !important"
|
4751
3289
|
}
|
4752
3290
|
}
|
4753
|
-
}
|
4754
|
-
|
4755
|
-
|
4756
|
-
|
4757
|
-
|
4758
|
-
|
4759
|
-
|
4760
|
-
}
|
4761
|
-
}
|
3291
|
+
}
|
3292
|
+
},
|
3293
|
+
MuiDialogContent: {
|
3294
|
+
styleOverrides: {
|
3295
|
+
root: {
|
3296
|
+
paddingTop: "8px !important",
|
3297
|
+
paddingBottom: 8
|
4762
3298
|
}
|
3299
|
+
}
|
3300
|
+
},
|
3301
|
+
MuiChip: {
|
3302
|
+
defaultProps: {
|
3303
|
+
size: "small"
|
4763
3304
|
},
|
4764
|
-
|
4765
|
-
|
4766
|
-
|
4767
|
-
|
4768
|
-
|
4769
|
-
|
3305
|
+
styleOverrides: {
|
3306
|
+
sizeSmall: {
|
3307
|
+
height: 24
|
3308
|
+
},
|
3309
|
+
root: {
|
3310
|
+
borderRadius: 4
|
4770
3311
|
}
|
3312
|
+
}
|
3313
|
+
},
|
3314
|
+
MuiButton: {
|
3315
|
+
defaultProps: {
|
3316
|
+
size: "small"
|
4771
3317
|
},
|
4772
|
-
|
4773
|
-
|
4774
|
-
|
4775
|
-
|
4776
|
-
|
3318
|
+
styleOverrides: {
|
3319
|
+
sizeSmall: {
|
3320
|
+
height: 26,
|
3321
|
+
fontSize: 12
|
3322
|
+
},
|
3323
|
+
sizeMedium: {
|
3324
|
+
height: 32,
|
3325
|
+
fontSize: 13
|
3326
|
+
},
|
3327
|
+
sizeLarge: {
|
3328
|
+
height: 38,
|
3329
|
+
fontSize: 14
|
3330
|
+
},
|
3331
|
+
root: {
|
3332
|
+
width: "fit-content"
|
4777
3333
|
}
|
3334
|
+
}
|
3335
|
+
},
|
3336
|
+
MuiCheckbox: {
|
3337
|
+
defaultProps: {
|
3338
|
+
size: "small"
|
3339
|
+
}
|
3340
|
+
},
|
3341
|
+
MuiFab: {
|
3342
|
+
defaultProps: {
|
3343
|
+
size: "small"
|
4778
3344
|
},
|
4779
|
-
|
4780
|
-
|
4781
|
-
|
4782
|
-
},
|
4783
|
-
styleOverrides: {
|
4784
|
-
sizeSmall: {
|
4785
|
-
height: 26,
|
4786
|
-
fontSize: 12
|
4787
|
-
},
|
4788
|
-
sizeMedium: {
|
4789
|
-
height: 32,
|
4790
|
-
fontSize: 13
|
4791
|
-
},
|
4792
|
-
sizeLarge: {
|
3345
|
+
styleOverrides: {
|
3346
|
+
circular: {
|
3347
|
+
"&.MuiFab-sizeSmall": {
|
4793
3348
|
height: 38,
|
4794
|
-
|
3349
|
+
width: 38,
|
3350
|
+
".MuiSvgIcon-fontSizeSmall": {
|
3351
|
+
height: 20,
|
3352
|
+
width: 20
|
3353
|
+
}
|
4795
3354
|
},
|
4796
|
-
|
4797
|
-
|
3355
|
+
"&.MuiFab-sizeMedium": {
|
3356
|
+
height: 48,
|
3357
|
+
width: 48,
|
3358
|
+
"& .MuiSvgIcon-fontSizeMedium": {
|
3359
|
+
height: 22,
|
3360
|
+
width: 22
|
3361
|
+
}
|
3362
|
+
},
|
3363
|
+
"&.MuiFab-sizeLarge": {
|
3364
|
+
height: 56,
|
3365
|
+
width: 56,
|
3366
|
+
"& .MuiSvgIcon-fontSizeLarge": {
|
3367
|
+
height: 24,
|
3368
|
+
width: 24
|
3369
|
+
}
|
4798
3370
|
}
|
4799
|
-
}
|
4800
|
-
},
|
4801
|
-
MuiCheckbox: {
|
4802
|
-
defaultProps: {
|
4803
|
-
size: "small"
|
4804
|
-
}
|
4805
|
-
},
|
4806
|
-
MuiFab: {
|
4807
|
-
defaultProps: {
|
4808
|
-
size: "small"
|
4809
3371
|
},
|
4810
|
-
|
4811
|
-
|
4812
|
-
|
4813
|
-
|
4814
|
-
|
4815
|
-
|
4816
|
-
|
4817
|
-
fontSize: 24,
|
4818
|
-
marginRight: 8
|
3372
|
+
extended: {
|
3373
|
+
"&.MuiFab-sizeSmall": {
|
3374
|
+
height: 32,
|
3375
|
+
".MuiSvgIcon-fontSizeSmall": {
|
3376
|
+
height: 20,
|
3377
|
+
width: 20,
|
3378
|
+
marginRight: 4
|
4819
3379
|
}
|
4820
3380
|
},
|
4821
|
-
sizeMedium: {
|
4822
|
-
height: 38
|
3381
|
+
"&.MuiFab-sizeMedium": {
|
3382
|
+
height: 38,
|
3383
|
+
"& .MuiSvgIcon-fontSizeMedium": {
|
3384
|
+
height: 22,
|
3385
|
+
width: 22,
|
3386
|
+
marginRight: 4
|
3387
|
+
}
|
4823
3388
|
},
|
4824
|
-
|
4825
|
-
height:
|
3389
|
+
"&.MuiFab-sizeLarge": {
|
3390
|
+
height: 48,
|
3391
|
+
"& .MuiSvgIcon-fontSizeLarge": {
|
3392
|
+
height: 24,
|
3393
|
+
width: 24,
|
3394
|
+
marginRight: 4
|
3395
|
+
}
|
4826
3396
|
}
|
4827
3397
|
}
|
4828
|
-
}
|
4829
|
-
|
4830
|
-
|
4831
|
-
|
4832
|
-
|
4833
|
-
|
4834
|
-
}
|
4835
|
-
|
4836
|
-
|
4837
|
-
|
4838
|
-
|
4839
|
-
}
|
4840
|
-
|
4841
|
-
|
4842
|
-
|
3398
|
+
}
|
3399
|
+
},
|
3400
|
+
MuiFormControl: {
|
3401
|
+
defaultProps: {
|
3402
|
+
size: "small",
|
3403
|
+
margin: "none"
|
3404
|
+
}
|
3405
|
+
},
|
3406
|
+
MuiFormHelperText: {
|
3407
|
+
defaultProps: {
|
3408
|
+
margin: "dense"
|
3409
|
+
}
|
3410
|
+
},
|
3411
|
+
MuiIconButton: {
|
3412
|
+
styleOverrides: {
|
3413
|
+
sizeSmall: {
|
3414
|
+
fontSize: 14,
|
3415
|
+
padding: 4
|
4843
3416
|
},
|
4844
|
-
|
4845
|
-
|
4846
|
-
|
4847
|
-
height: "1rem"
|
4848
|
-
}
|
4849
|
-
}
|
4850
|
-
},
|
4851
|
-
MuiIconButton: {
|
4852
|
-
defaultProps: {
|
4853
|
-
size: "small"
|
3417
|
+
sizeMedium: {
|
3418
|
+
fontSize: 20,
|
3419
|
+
padding: 13
|
4854
3420
|
},
|
4855
|
-
|
4856
|
-
|
4857
|
-
|
4858
|
-
padding: 4
|
4859
|
-
},
|
4860
|
-
sizeMedium: {
|
4861
|
-
fontSize: 20,
|
4862
|
-
padding: 13
|
4863
|
-
},
|
4864
|
-
sizeLarge: {
|
4865
|
-
fontSize: 33,
|
4866
|
-
padding: 17
|
4867
|
-
}
|
3421
|
+
sizeLarge: {
|
3422
|
+
fontSize: 33,
|
3423
|
+
padding: 17
|
4868
3424
|
}
|
4869
|
-
}
|
4870
|
-
|
4871
|
-
|
4872
|
-
|
4873
|
-
|
4874
|
-
|
3425
|
+
}
|
3426
|
+
},
|
3427
|
+
MuiFilledInput: {
|
3428
|
+
styleOverrides: {
|
3429
|
+
sizeSmall: {
|
3430
|
+
height: 38
|
4875
3431
|
}
|
3432
|
+
}
|
3433
|
+
},
|
3434
|
+
MuiInputBase: {
|
3435
|
+
defaultProps: {
|
3436
|
+
margin: "none"
|
4876
3437
|
},
|
4877
|
-
|
4878
|
-
|
4879
|
-
|
4880
|
-
|
4881
|
-
|
4882
|
-
|
4883
|
-
|
4884
|
-
|
4885
|
-
|
3438
|
+
styleOverrides: {
|
3439
|
+
root: {
|
3440
|
+
".MuiOutlinedInput-input.MuiInputBase-inputSizeSmall": {
|
3441
|
+
paddingBlock: 5.95
|
3442
|
+
},
|
3443
|
+
".MuiOutlinedInput-input": {
|
3444
|
+
paddingBlock: 14
|
3445
|
+
},
|
3446
|
+
".MuiFilledInput-input.MuiInputBase-inputSizeSmall": {
|
3447
|
+
paddingBlock: "none"
|
3448
|
+
},
|
3449
|
+
".MuiFilledInput-input": {
|
3450
|
+
paddingTop: 22,
|
3451
|
+
paddingBottom: 6
|
4886
3452
|
}
|
4887
3453
|
}
|
4888
|
-
}
|
4889
|
-
|
4890
|
-
|
4891
|
-
|
4892
|
-
|
4893
|
-
|
3454
|
+
}
|
3455
|
+
},
|
3456
|
+
MuiOutlinedInput: {
|
3457
|
+
styleOverrides: {
|
3458
|
+
notchedOutline: {
|
3459
|
+
borderColor: "rgba(16, 24, 64, 0.23)"
|
4894
3460
|
}
|
3461
|
+
}
|
3462
|
+
},
|
3463
|
+
MuiAutocomplete: {
|
3464
|
+
defaultProps: {
|
3465
|
+
size: "small"
|
4895
3466
|
},
|
4896
|
-
|
4897
|
-
|
4898
|
-
|
4899
|
-
|
4900
|
-
styleOverrides: {
|
4901
|
-
option: {
|
4902
|
-
"&.MuiAutocomplete-option": {
|
4903
|
-
width: "10px !important"
|
4904
|
-
}
|
3467
|
+
styleOverrides: {
|
3468
|
+
root: {
|
3469
|
+
"&.MuiAutocomplete-root .MuiOutlinedInput-root": {
|
3470
|
+
padding: "6px 14px 6px 10px"
|
4905
3471
|
},
|
4906
|
-
root: {
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4911
|
-
fontSize: 24,
|
4912
|
-
height: "1.4rem",
|
4913
|
-
width: "1.4rem"
|
4914
|
-
}
|
3472
|
+
"&.MuiAutocomplete-root .MuiOutlinedInput-root.MuiInputBase-sizeSmall": {
|
3473
|
+
paddingBlock: 3.5,
|
3474
|
+
paddingRight: 14,
|
3475
|
+
".MuiIconButton-sizeSmall .MuiAutocomplete-popupIndicator": {
|
3476
|
+
padding: 5
|
4915
3477
|
}
|
4916
3478
|
}
|
4917
3479
|
}
|
4918
|
-
}
|
4919
|
-
|
4920
|
-
|
4921
|
-
|
4922
|
-
|
4923
|
-
|
3480
|
+
}
|
3481
|
+
},
|
3482
|
+
MuiCard: {
|
3483
|
+
styleOverrides: {
|
3484
|
+
root: {
|
3485
|
+
overflow: "initial"
|
4924
3486
|
}
|
4925
|
-
}
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4933
|
-
|
4934
|
-
|
4935
|
-
|
3487
|
+
}
|
3488
|
+
},
|
3489
|
+
MuiInputLabel: {
|
3490
|
+
styleOverrides: {
|
3491
|
+
outlined: {
|
3492
|
+
"&.MuiInputLabel-outlined.MuiInputLabel-sizeSmall ": {
|
3493
|
+
transform: "translate(14px,6px) scale(1)"
|
3494
|
+
},
|
3495
|
+
"&.MuiInputLabel-outlined ": {
|
3496
|
+
"&.MuiInputLabel-shrink": {
|
3497
|
+
transform: "translate(14px, -7px) scale(0.75)"
|
4936
3498
|
}
|
4937
3499
|
}
|
4938
|
-
},
|
4939
|
-
defaultProps: {
|
4940
|
-
margin: "dense"
|
4941
|
-
}
|
4942
|
-
},
|
4943
|
-
MuiCardHeader: {
|
4944
|
-
styleOverrides: {
|
4945
|
-
root: {
|
4946
|
-
padding: 12
|
4947
|
-
}
|
4948
|
-
}
|
4949
|
-
},
|
4950
|
-
MuiRadio: {
|
4951
|
-
defaultProps: {
|
4952
|
-
size: "small"
|
4953
|
-
}
|
4954
|
-
},
|
4955
|
-
MuiSwitch: {
|
4956
|
-
defaultProps: {
|
4957
|
-
size: "small"
|
4958
|
-
}
|
4959
|
-
},
|
4960
|
-
MuiTextField: {
|
4961
|
-
defaultProps: {
|
4962
|
-
size: "small",
|
4963
|
-
margin: "none"
|
4964
|
-
}
|
4965
|
-
},
|
4966
|
-
MuiList: {
|
4967
|
-
defaultProps: {
|
4968
|
-
dense: true
|
4969
|
-
}
|
4970
|
-
},
|
4971
|
-
MuiMenuItem: {
|
4972
|
-
defaultProps: {
|
4973
|
-
dense: true
|
4974
|
-
}
|
4975
|
-
},
|
4976
|
-
MuiTable: {
|
4977
|
-
defaultProps: {
|
4978
|
-
size: "small"
|
4979
3500
|
}
|
4980
3501
|
},
|
4981
|
-
|
4982
|
-
|
4983
|
-
|
4984
|
-
|
4985
|
-
|
4986
|
-
|
4987
|
-
|
4988
|
-
|
4989
|
-
},
|
4990
|
-
elevation3: {
|
4991
|
-
boxShadow: "0px 1px 8px rgba(24, 39, 75, 0.12), 0px 3px 4px rgba(24, 39, 75, 0.14), 0px 3px 3px -2px rgba(24, 39, 75, 0.2)"
|
4992
|
-
},
|
4993
|
-
elevation4: {
|
4994
|
-
boxShadow: "0px 2px 4px -1px rgba(24, 39, 75, 0.2), 0px 4px 5px rgba(24, 39, 75, 0.14), 0px 1px 10px rgba(24, 39, 75, 0.12)"
|
4995
|
-
},
|
4996
|
-
elevation5: {
|
4997
|
-
boxShadow: "0px 3px 5px -1px rgba(24, 39, 75, 0.2), 0px 5px 8px rgba(24, 39, 75, 0.14), 0px 1px 14px rgba(24, 39, 75, 0.12)"
|
4998
|
-
},
|
4999
|
-
elevation6: {
|
5000
|
-
boxShadow: "0px 3px 5px -1px rgba(24, 39, 75, 0.2), 0px 6px 10px rgba(24, 39, 75, 0.14), 0px 1px 18px rgba(24, 39, 75, 0.12)"
|
5001
|
-
},
|
5002
|
-
elevation7: {
|
5003
|
-
boxShadow: "0px 4px 5px -2px rgba(24, 39, 75, 0.2), 0px 7px 10px 1px rgba(24, 39, 75, 0.14), 0px 2px 16px 1px rgba(24, 39, 75, 0.12)"
|
5004
|
-
},
|
5005
|
-
elevation8: {
|
5006
|
-
boxShadow: "0px 5px 5px -3px rgba(24, 39, 75, 0.2), 0px 8px 10px 1px rgba(24, 39, 75, 0.14), 0px 3px 14px 2px rgba(24, 39, 75, 0.12)"
|
5007
|
-
},
|
5008
|
-
elevation9: {
|
5009
|
-
boxShadow: "0px 5px 6px -3px rgba(24, 39, 75, 0.2), 0px 9px 12px 1px rgba(24, 39, 75, 0.14), 0px 3px 16px 2px rgba(24, 39, 75, 0.12)"
|
5010
|
-
},
|
5011
|
-
elevation10: {
|
5012
|
-
boxShadow: "0px 6px 6px -3px rgba(24, 39, 75, 0.2), 0px 10px 14px 1px rgba(24, 39, 75, 0.14), 0px 4px 18px 3px rgba(24, 39, 75, 0.12)"
|
5013
|
-
},
|
5014
|
-
elevation11: {
|
5015
|
-
boxShadow: "0px 6px 7px -4px rgba(24, 39, 75, 0.2), 0px 11px 15px 1px rgba(24, 39, 75, 0.14), 0px 4px 20px 3px rgba(24, 39, 75, 0.12)"
|
5016
|
-
},
|
5017
|
-
elevation12: {
|
5018
|
-
boxShadow: "0px 7px 8px -4px rgba(24, 39, 75, 0.2), 0px 12px 17px 2px rgba(24, 39, 75, 0.14), 0px 5px 22px 4px rgba(24, 39, 75, 0.12)"
|
5019
|
-
},
|
5020
|
-
elevation13: {
|
5021
|
-
boxShadow: "0px 7px 8px -4px rgba(24, 39, 75, 0.2), 0px 13px 19px 2px rgba(24, 39, 75, 0.14), 0px 5px 24px 4px rgba(24, 39, 75, 0.12)"
|
5022
|
-
},
|
5023
|
-
elevation14: {
|
5024
|
-
boxShadow: "0px 7px 9px -4px rgba(24, 39, 75, 0.2), 0px 14px 21px 2px rgba(24, 39, 75, 0.14), 0px 5px 26px 4px rgba(24, 39, 75, 0.12)"
|
5025
|
-
},
|
5026
|
-
elevation15: {
|
5027
|
-
boxShadow: "0px 8px 9px -5px rgba(24, 39, 75, 0.2), 0px 15px 22px 2px rgba(24, 39, 75, 0.14), 0px 6px 28px 5px rgba(24, 39, 75, 0.12)"
|
5028
|
-
},
|
5029
|
-
elevation16: {
|
5030
|
-
boxShadow: "0px 8px 10px -5px rgba(24, 39, 75, 0.2), 0px 16px 24px 2px rgba(24, 39, 75, 0.14), 0px 6px 30px 5px rgba(24, 39, 75, 0.12)"
|
5031
|
-
},
|
5032
|
-
elevation17: {
|
5033
|
-
boxShadow: "0px 8px 11px -5px rgba(24, 39, 75, 0.2), 0px 17px 26px 2px rgba(24, 39, 75, 0.14), 0px 6px 32px 5px rgba(24, 39, 75, 0.12)"
|
5034
|
-
},
|
5035
|
-
elevation18: {
|
5036
|
-
boxShadow: "0px 9px 11px -5px rgba(24, 39, 75, 0.2), 0px 18px 28px 2px rgba(24, 39, 75, 0.14), 0px 7px 34px 6px rgba(24, 39, 75, 0.12)"
|
5037
|
-
},
|
5038
|
-
elevation19: {
|
5039
|
-
boxShadow: "0px 9px 12px -6px rgba(24, 39, 75, 0.2), 0px 19px 29px 2px rgba(24, 39, 75, 0.14), 0px 7px 36px 6px rgba(24, 39, 75, 0.12)"
|
5040
|
-
},
|
5041
|
-
elevation20: {
|
5042
|
-
boxShadow: "0px 10px 13px -6px rgba(24, 39, 75, 0.2), 0px 20px 31px 3px rgba(24, 39, 75, 0.14), 0px 8px 38px 7px rgba(24, 39, 75, 0.12)"
|
5043
|
-
},
|
5044
|
-
elevation21: {
|
5045
|
-
boxShadow: "0px 10px 13px -6px rgba(24, 39, 75, 0.2), 0px 21px 33px 3px rgba(24, 39, 75, 0.14), 0px 8px 40px 7px rgba(24, 39, 75, 0.12)"
|
5046
|
-
},
|
5047
|
-
elevation22: {
|
5048
|
-
boxShadow: "0px 10px 14px -6px rgba(24, 39, 75, 0.2), 0px 22px 35px 3px rgba(24, 39, 75, 0.14), 0px 8px 42px 7px rgba(24, 39, 75, 0.12)"
|
5049
|
-
},
|
5050
|
-
elevation23: {
|
5051
|
-
boxShadow: "0px 11px 14px -7px rgba(24, 39, 75, 0.2), 0px 23px 36px 3px rgba(24, 39, 75, 0.14), 0px 9px 44px 8px rgba(24, 39, 75, 0.12)"
|
5052
|
-
},
|
5053
|
-
elevation24: {
|
5054
|
-
boxShadow: "0px 11px 15px -7px rgba(24, 39, 75, 0.2), 0px 24px 38px 3px rgba(24, 39, 75, 0.14), 0px 9px 46px 8px rgba(24, 39, 75, 0.12)"
|
5055
|
-
}
|
3502
|
+
defaultProps: {
|
3503
|
+
margin: "dense"
|
3504
|
+
}
|
3505
|
+
},
|
3506
|
+
MuiCardHeader: {
|
3507
|
+
styleOverrides: {
|
3508
|
+
root: {
|
3509
|
+
padding: 12
|
5056
3510
|
}
|
5057
3511
|
}
|
3512
|
+
},
|
3513
|
+
MuiRadio: {
|
3514
|
+
defaultProps: {
|
3515
|
+
size: "small"
|
3516
|
+
}
|
3517
|
+
},
|
3518
|
+
MuiSwitch: {
|
3519
|
+
defaultProps: {
|
3520
|
+
size: "small"
|
3521
|
+
}
|
3522
|
+
},
|
3523
|
+
MuiTextField: {
|
3524
|
+
defaultProps: {
|
3525
|
+
size: "small",
|
3526
|
+
margin: "none"
|
3527
|
+
}
|
3528
|
+
},
|
3529
|
+
MuiList: {
|
3530
|
+
defaultProps: {
|
3531
|
+
dense: true
|
3532
|
+
}
|
3533
|
+
},
|
3534
|
+
MuiMenuItem: {
|
3535
|
+
defaultProps: {
|
3536
|
+
dense: true
|
3537
|
+
}
|
3538
|
+
},
|
3539
|
+
MuiTable: {
|
3540
|
+
defaultProps: {
|
3541
|
+
size: "small"
|
3542
|
+
}
|
3543
|
+
}
|
3544
|
+
};
|
3545
|
+
const components = Componentes;
|
3546
|
+
|
3547
|
+
const Typography = {
|
3548
|
+
fontSize: 13,
|
3549
|
+
body1: {
|
3550
|
+
fontFamily: "Roboto",
|
3551
|
+
fontSize: 14,
|
3552
|
+
fontWeight: 400,
|
3553
|
+
letterSpacing: 0.15,
|
3554
|
+
lineHeight: 1.4
|
3555
|
+
},
|
3556
|
+
body2: {
|
3557
|
+
fontFamily: "Roboto",
|
3558
|
+
fontSize: 13,
|
3559
|
+
fontWeight: 400,
|
3560
|
+
letterSpacing: 0.17,
|
3561
|
+
lineHeight: 1.2
|
3562
|
+
},
|
3563
|
+
subtitle1: {
|
3564
|
+
fontFamily: "Roboto",
|
3565
|
+
fontSize: 14,
|
3566
|
+
fontWeight: 500,
|
3567
|
+
letterSpacing: 0.15,
|
3568
|
+
lineHeight: 1.4
|
3569
|
+
},
|
3570
|
+
subtitle2: {
|
3571
|
+
fontFamily: "Roboto",
|
3572
|
+
fontSize: 13,
|
3573
|
+
fontWeight: 500,
|
3574
|
+
letterSpacing: 0.1,
|
3575
|
+
lineHeight: 1.4
|
3576
|
+
},
|
3577
|
+
caption: {
|
3578
|
+
fontFamily: "Roboto",
|
3579
|
+
fontSize: 11,
|
3580
|
+
fontWeight: 400,
|
3581
|
+
letterSpacing: 0.4,
|
3582
|
+
lineHeight: 1.4
|
3583
|
+
},
|
3584
|
+
overline: {
|
3585
|
+
fontFamily: "Roboto",
|
3586
|
+
fontSize: 1.1,
|
3587
|
+
fontWeight: 400,
|
3588
|
+
letterSpacing: 1,
|
3589
|
+
lineHeight: 2.66
|
3590
|
+
},
|
3591
|
+
h6: {
|
3592
|
+
fontFamily: "Nunito",
|
3593
|
+
fontSize: 16,
|
3594
|
+
fontWeight: 600,
|
3595
|
+
lineHeight: 1.6
|
3596
|
+
},
|
3597
|
+
h5: {
|
3598
|
+
fontFamily: "Nunito",
|
3599
|
+
fontSize: 18,
|
3600
|
+
fontWeight: 600,
|
3601
|
+
lineHeight: 1.8
|
3602
|
+
},
|
3603
|
+
h4: {
|
3604
|
+
fontFamily: "Nunito",
|
3605
|
+
fontSize: 20,
|
3606
|
+
fontWeight: 600,
|
3607
|
+
letterSpacing: 0.25,
|
3608
|
+
lineHeight: 1
|
3609
|
+
},
|
3610
|
+
h3: {
|
3611
|
+
fontFamily: "Nunito",
|
3612
|
+
fontSize: 28,
|
3613
|
+
fontWeight: 500,
|
3614
|
+
lineHeight: 1.2
|
3615
|
+
},
|
3616
|
+
h2: {
|
3617
|
+
fontFamily: "Nunito",
|
3618
|
+
fontSize: 32,
|
3619
|
+
fontWeight: 400,
|
3620
|
+
letterSpacing: -0.5,
|
3621
|
+
lineHeight: 1.2
|
3622
|
+
},
|
3623
|
+
h1: {
|
3624
|
+
fontFamily: "Nunito",
|
3625
|
+
fontSize: 40,
|
3626
|
+
fontWeight: 300,
|
3627
|
+
letterSpacing: -1.5,
|
3628
|
+
lineHeight: 1.4
|
3629
|
+
},
|
3630
|
+
button: {
|
3631
|
+
textTransform: "unset",
|
3632
|
+
fontWeightLight: 300,
|
3633
|
+
fontSize: 13
|
5058
3634
|
}
|
5059
3635
|
};
|
3636
|
+
const typography = Typography;
|
3637
|
+
|
3638
|
+
const Palettes = {
|
3639
|
+
primary: {
|
3640
|
+
main: "#1e62a1",
|
3641
|
+
light: "#5a8fd3",
|
3642
|
+
dark: "#003972",
|
3643
|
+
contrastText: "#ffffff"
|
3644
|
+
},
|
3645
|
+
secondary: {
|
3646
|
+
main: "#0CBBE2",
|
3647
|
+
light: "#67eeff",
|
3648
|
+
dark: "#008bb0",
|
3649
|
+
contrastText: "#ffffff"
|
3650
|
+
},
|
3651
|
+
text: {
|
3652
|
+
primary: "rgba(16,24,64,0.87)",
|
3653
|
+
secondary: "rgba(16,24,64,0.6)",
|
3654
|
+
disabled: "rgba(16,24,64,0.38)"
|
3655
|
+
},
|
3656
|
+
error: {
|
3657
|
+
main: "#D14343",
|
3658
|
+
light: "#d85f5f",
|
3659
|
+
dark: "#b51e1e",
|
3660
|
+
contrastText: "#ffffff"
|
3661
|
+
},
|
3662
|
+
warning: {
|
3663
|
+
main: "#fb8500",
|
3664
|
+
light: "#fc9726",
|
3665
|
+
dark: "#f85500",
|
3666
|
+
contrastText: "#ffffff"
|
3667
|
+
},
|
3668
|
+
info: {
|
3669
|
+
main: "#2d9fc5",
|
3670
|
+
light: "#4dadce",
|
3671
|
+
dark: "#1172a3",
|
3672
|
+
contrastText: "#ffffff"
|
3673
|
+
},
|
3674
|
+
success: {
|
3675
|
+
main: "#8fc93a",
|
3676
|
+
dark: "#60a918",
|
3677
|
+
light: "#a0d158",
|
3678
|
+
contrastText: "#ffffff"
|
3679
|
+
},
|
3680
|
+
grey: {
|
3681
|
+
50: "#FAFBFF",
|
3682
|
+
100: "#F4F6FA",
|
3683
|
+
200: "#EDEFF5",
|
3684
|
+
300: "#E6E8F0",
|
3685
|
+
400: "#D8DAE5",
|
3686
|
+
500: "#C1C4D6",
|
3687
|
+
600: "#8F95B2",
|
3688
|
+
700: "#696F8C",
|
3689
|
+
800: "#474D66",
|
3690
|
+
900: "#101840",
|
3691
|
+
A100: "#D8DAE5",
|
3692
|
+
A200: "#C1C4D6",
|
3693
|
+
A400: "#696F8C",
|
3694
|
+
A700: "#101840"
|
3695
|
+
},
|
3696
|
+
action: {
|
3697
|
+
active: "rgba(16, 24, 64, 0.54)",
|
3698
|
+
hover: "rgba(16, 24, 64, 0.04)",
|
3699
|
+
selected: "rgba(16, 24, 64, 0.08)",
|
3700
|
+
disabled: "rgba(16, 24, 64, 0.26)",
|
3701
|
+
disabledBackground: "rgba(16, 24, 64, 0.12)",
|
3702
|
+
focus: "rgba(16, 24, 64, 0.12)"
|
3703
|
+
},
|
3704
|
+
background: {
|
3705
|
+
default: "#f5f5f5",
|
3706
|
+
paper: "#fff"
|
3707
|
+
},
|
3708
|
+
divider: "rgba(16,24,64,0.12)"
|
3709
|
+
};
|
3710
|
+
const palette = Palettes;
|
3711
|
+
|
3712
|
+
const themeOptions = {
|
3713
|
+
palette,
|
3714
|
+
typography,
|
3715
|
+
components,
|
3716
|
+
spacing: 8
|
3717
|
+
};
|
5060
3718
|
|
5061
3719
|
const SincoTheme = createTheme(Object.assign({}, themeOptions));
|
5062
3720
|
|
5063
|
-
export {
|
3721
|
+
export { SincoTheme };
|