@spothero/ui 14.0.0-beta.0 → 14.1.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/CHANGELOG.md +7 -2
- package/CHANGELOG.tmp +3 -3
- package/package.json +3 -3
- package/v1/index-bundled-cjs/index.js +1 -1
- package/v1/index-bundled-cjs/index.js.map +1 -1
- package/v1/index-bundled-esm/index.js +1 -1
- package/v1/index-bundled-esm/index.js.map +1 -1
- package/v1/index-unbundled-cjs/index.js +212 -299
- package/v1/index-unbundled-cjs/index.js.map +1 -1
- package/v1/index-unbundled-esm/index.js +212 -299
- package/v1/index-unbundled-esm/index.js.map +1 -1
- package/v2/index-bundled-cjs/ImageCarousel-0955843b.js +2 -0
- package/v2/index-bundled-cjs/ImageCarousel-0955843b.js.map +1 -0
- package/v2/index-bundled-cjs/{index-3ec6f4f6.js → index-0471eeac.js} +2 -2
- package/v2/index-bundled-cjs/index-0471eeac.js.map +1 -0
- package/v2/index-bundled-cjs/index.js +1 -1
- package/v2/index-bundled-esm/ImageCarousel-fd93978a.js +2 -0
- package/v2/index-bundled-esm/ImageCarousel-fd93978a.js.map +1 -0
- package/v2/index-bundled-esm/{index-1758d567.js → index-23126b40.js} +2 -2
- package/v2/index-bundled-esm/index-23126b40.js.map +1 -0
- package/v2/index-bundled-esm/index.js +1 -1
- package/v2/index-unbundled-cjs/{ImageCarousel-a6361ff4.js → ImageCarousel-177bd013.js} +76 -231
- package/v2/index-unbundled-cjs/ImageCarousel-177bd013.js.map +1 -0
- package/v2/index-unbundled-cjs/{index-fc04c985.js → index-b74c975b.js} +4 -4
- package/v2/index-unbundled-cjs/{index-fc04c985.js.map → index-b74c975b.js.map} +1 -1
- package/v2/index-unbundled-cjs/index.js +1 -1
- package/v2/index-unbundled-esm/{ImageCarousel-3b5e450a.js → ImageCarousel-7afef93f.js} +77 -232
- package/v2/index-unbundled-esm/ImageCarousel-7afef93f.js.map +1 -0
- package/v2/index-unbundled-esm/{index-0a927912.js → index-7468c651.js} +3 -3
- package/v2/index-unbundled-esm/{index-0a927912.js.map → index-7468c651.js.map} +1 -1
- package/v2/index-unbundled-esm/index.js +1 -1
- package/v2/index-bundled-cjs/ImageCarousel-080ac52d.js +0 -2
- package/v2/index-bundled-cjs/ImageCarousel-080ac52d.js.map +0 -1
- package/v2/index-bundled-cjs/index-3ec6f4f6.js.map +0 -1
- package/v2/index-bundled-esm/ImageCarousel-f28813a0.js +0 -2
- package/v2/index-bundled-esm/ImageCarousel-f28813a0.js.map +0 -1
- package/v2/index-bundled-esm/index-1758d567.js.map +0 -1
- package/v2/index-unbundled-cjs/ImageCarousel-a6361ff4.js.map +0 -1
- package/v2/index-unbundled-esm/ImageCarousel-3b5e450a.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _export, i as isArray$5, p as path, d as defineWellKnownSymbol, s as setToStringTag, g as global_1, h as hasOwnProperty_1, a as descriptors, f as fails, b as sharedKey, t as toObject, c as isCallable, w as wellKnownSymbol, o as objectCreate, r as redefine, e as createPropertyDescriptor, j as functionUncurryThis, k as anObject, l as functionCall, m as internalState, n as toIndexedObject, q as classof, u as createNonEnumerableProperty, v as toString_1, x as requireObjectCoercible, y as toIntegerOrInfinity, z as getMethod, A as arrayMethodHasSpeciesSupport, B as lengthOfArrayLike, C as isConstructor, D as isObject, E as arraySlice, F as createProperty, G as toAbsoluteIndex, H as entryVirtual, I as objectIsPrototypeOf, J as aCallable, K as tryToString, L as functionBindContext, M as wellKnownSymbolWrapped, N as internalMetadata, O as objectDefineProperty, P as arrayIteration, Q as nativeWeakMap, R as objectIsExtensible, S as
|
|
1
|
+
import { _ as _export, i as isArray$5, p as path, d as defineWellKnownSymbol, s as setToStringTag, g as global_1, h as hasOwnProperty_1, a as descriptors, f as fails, b as sharedKey, t as toObject, c as isCallable, w as wellKnownSymbol, o as objectCreate, r as redefine, e as createPropertyDescriptor, j as functionUncurryThis, k as anObject, l as functionCall, m as internalState, n as toIndexedObject, q as classof, u as createNonEnumerableProperty, v as toString_1, x as requireObjectCoercible, y as toIntegerOrInfinity, z as getMethod, A as arrayMethodHasSpeciesSupport, B as lengthOfArrayLike, C as isConstructor, D as isObject, E as arraySlice, F as createProperty, G as toAbsoluteIndex, H as entryVirtual, I as objectIsPrototypeOf, J as aCallable, K as tryToString, L as functionBindContext, M as wellKnownSymbolWrapped, N as internalMetadata, O as objectDefineProperty, P as arrayIteration, Q as nativeWeakMap, R as objectIsExtensible, S as defineProperty$2, T as getOwnPropertyDescriptor$1, U as assign$1, V as createCommonjsModule, W as unwrapExports, X as _objectWithoutProperties, Y as Box, Z as _extends$2, $ as map$1, a0 as concat, a1 as Button } from './index-7468c651.js';
|
|
2
2
|
import React, { useState, useRef, useMemo, useEffect, useCallback } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import 'lodash/merge';
|
|
@@ -81,7 +81,7 @@ defineWellKnownSymbol('unscopables');
|
|
|
81
81
|
// https://tc39.es/ecma262/#sec-json-@@tostringtag
|
|
82
82
|
setToStringTag(global_1.JSON, 'JSON', true);
|
|
83
83
|
|
|
84
|
-
var symbol$
|
|
84
|
+
var symbol$5 = path.Symbol;
|
|
85
85
|
|
|
86
86
|
var iterators = {};
|
|
87
87
|
|
|
@@ -179,11 +179,11 @@ var createIteratorConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
179
179
|
};
|
|
180
180
|
|
|
181
181
|
var String$1 = global_1.String;
|
|
182
|
-
var TypeError$
|
|
182
|
+
var TypeError$4 = global_1.TypeError;
|
|
183
183
|
|
|
184
184
|
var aPossiblePrototype = function (argument) {
|
|
185
185
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
186
|
-
throw TypeError$
|
|
186
|
+
throw TypeError$4("Can't set " + String$1(argument) + ' as a prototype');
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
/* eslint-disable no-proto -- safe */
|
|
@@ -376,9 +376,9 @@ for (var COLLECTION_NAME in domIterables) {
|
|
|
376
376
|
iterators[COLLECTION_NAME] = iterators.Array;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
var symbol$
|
|
379
|
+
var symbol$4 = symbol$5;
|
|
380
380
|
|
|
381
|
-
var symbol$
|
|
381
|
+
var symbol$3 = symbol$4;
|
|
382
382
|
|
|
383
383
|
// `Symbol.asyncDispose` well-known symbol
|
|
384
384
|
// https://github.com/tc39/proposal-using-statement
|
|
@@ -417,9 +417,9 @@ defineWellKnownSymbol('replaceAll');
|
|
|
417
417
|
// TODO: Remove from `core-js@4`
|
|
418
418
|
|
|
419
419
|
|
|
420
|
-
var symbol$
|
|
420
|
+
var symbol$2 = symbol$3;
|
|
421
421
|
|
|
422
|
-
var symbol = symbol$
|
|
422
|
+
var symbol$1 = symbol$2;
|
|
423
423
|
|
|
424
424
|
var charAt$1 = functionUncurryThis(''.charAt);
|
|
425
425
|
var charCodeAt = functionUncurryThis(''.charCodeAt);
|
|
@@ -502,7 +502,7 @@ var getIteratorMethod$1 = getIteratorMethod$2;
|
|
|
502
502
|
var getIteratorMethod = getIteratorMethod$1;
|
|
503
503
|
|
|
504
504
|
function _iterableToArrayLimit(arr, i) {
|
|
505
|
-
var _i = arr == null ? null : typeof symbol !== "undefined" && getIteratorMethod(arr) || arr["@@iterator"];
|
|
505
|
+
var _i = arr == null ? null : typeof symbol$1 !== "undefined" && getIteratorMethod(arr) || arr["@@iterator"];
|
|
506
506
|
|
|
507
507
|
if (_i == null) return;
|
|
508
508
|
var _arr = [];
|
|
@@ -622,12 +622,12 @@ var isArrayIteratorMethod = function (it) {
|
|
|
622
622
|
return it !== undefined && (iterators.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
623
623
|
};
|
|
624
624
|
|
|
625
|
-
var TypeError$
|
|
625
|
+
var TypeError$3 = global_1.TypeError;
|
|
626
626
|
|
|
627
627
|
var getIterator = function (argument, usingIterator) {
|
|
628
628
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$4(argument) : usingIterator;
|
|
629
629
|
if (aCallable(iteratorMethod)) return anObject(functionCall(iteratorMethod, argument));
|
|
630
|
-
throw TypeError$
|
|
630
|
+
throw TypeError$3(tryToString(argument) + ' is not iterable');
|
|
631
631
|
};
|
|
632
632
|
|
|
633
633
|
var Array$1 = global_1.Array;
|
|
@@ -767,8 +767,8 @@ function areEqualShallow(objectA, objectB) {
|
|
|
767
767
|
});
|
|
768
768
|
}
|
|
769
769
|
|
|
770
|
-
function _extends() {
|
|
771
|
-
_extends = Object.assign || function (target) {
|
|
770
|
+
function _extends$1() {
|
|
771
|
+
_extends$1 = Object.assign || function (target) {
|
|
772
772
|
for (var i = 1; i < arguments.length; i++) {
|
|
773
773
|
var source = arguments[i];
|
|
774
774
|
|
|
@@ -782,7 +782,7 @@ function _extends() {
|
|
|
782
782
|
return target;
|
|
783
783
|
};
|
|
784
784
|
|
|
785
|
-
return _extends.apply(this, arguments);
|
|
785
|
+
return _extends$1.apply(this, arguments);
|
|
786
786
|
}
|
|
787
787
|
|
|
788
788
|
function Alignment(align, viewSize) {
|
|
@@ -2103,9 +2103,9 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2103
2103
|
var engine;
|
|
2104
2104
|
var activated = false;
|
|
2105
2105
|
|
|
2106
|
-
var optionsBase = _extends({}, defaultOptions);
|
|
2106
|
+
var optionsBase = _extends$1({}, defaultOptions);
|
|
2107
2107
|
|
|
2108
|
-
var options = _extends({}, optionsBase);
|
|
2108
|
+
var options = _extends$1({}, optionsBase);
|
|
2109
2109
|
|
|
2110
2110
|
var optionsPseudo;
|
|
2111
2111
|
var rootNodeSize = 0;
|
|
@@ -2124,8 +2124,8 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2124
2124
|
|
|
2125
2125
|
function activate(partialOptions) {
|
|
2126
2126
|
setupElements();
|
|
2127
|
-
optionsBase = _extends({}, optionsBase, partialOptions);
|
|
2128
|
-
options = _extends({}, optionsBase, optionsPseudo.get());
|
|
2127
|
+
optionsBase = _extends$1({}, optionsBase, partialOptions);
|
|
2128
|
+
options = _extends$1({}, optionsBase, optionsPseudo.get());
|
|
2129
2129
|
engine = Engine(sliderRoot, container, slides, options, events);
|
|
2130
2130
|
eventStore.add(window, 'resize', debouncedResize);
|
|
2131
2131
|
engine.translate.to(engine.location);
|
|
@@ -2206,7 +2206,7 @@ function EmblaCarousel(sliderRoot, userOptions) {
|
|
|
2206
2206
|
if (!activated) return;
|
|
2207
2207
|
var startIndex = selectedScrollSnap();
|
|
2208
2208
|
|
|
2209
|
-
var newOptions = _extends({
|
|
2209
|
+
var newOptions = _extends$1({
|
|
2210
2210
|
startIndex: startIndex
|
|
2211
2211
|
}, partialOptions);
|
|
2212
2212
|
|
|
@@ -2363,6 +2363,8 @@ function useEmblaCarousel(options) {
|
|
|
2363
2363
|
return [setViewport, embla];
|
|
2364
2364
|
}
|
|
2365
2365
|
|
|
2366
|
+
var symbol = symbol$2;
|
|
2367
|
+
|
|
2366
2368
|
var iterator$4 = wellKnownSymbolWrapped.f('iterator');
|
|
2367
2369
|
|
|
2368
2370
|
var iterator$3 = iterator$4;
|
|
@@ -2376,17 +2378,11 @@ var iterator = iterator$1;
|
|
|
2376
2378
|
function _typeof(obj) {
|
|
2377
2379
|
"@babel/helpers - typeof";
|
|
2378
2380
|
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
}
|
|
2384
|
-
_typeof = function _typeof(obj) {
|
|
2385
|
-
return obj && typeof symbol === "function" && obj.constructor === symbol && obj !== symbol.prototype ? "symbol" : typeof obj;
|
|
2386
|
-
};
|
|
2387
|
-
}
|
|
2388
|
-
|
|
2389
|
-
return _typeof(obj);
|
|
2381
|
+
return _typeof = "function" == typeof symbol && "symbol" == typeof iterator ? function (obj) {
|
|
2382
|
+
return typeof obj;
|
|
2383
|
+
} : function (obj) {
|
|
2384
|
+
return obj && "function" == typeof symbol && obj.constructor === symbol && obj !== symbol.prototype ? "symbol" : typeof obj;
|
|
2385
|
+
}, _typeof(obj);
|
|
2390
2386
|
}
|
|
2391
2387
|
|
|
2392
2388
|
var redefineAll = function (target, src, options) {
|
|
@@ -2396,7 +2392,7 @@ var redefineAll = function (target, src, options) {
|
|
|
2396
2392
|
} return target;
|
|
2397
2393
|
};
|
|
2398
2394
|
|
|
2399
|
-
var TypeError$
|
|
2395
|
+
var TypeError$2 = global_1.TypeError;
|
|
2400
2396
|
|
|
2401
2397
|
var Result = function (stopped, result) {
|
|
2402
2398
|
this.stopped = stopped;
|
|
@@ -2429,7 +2425,7 @@ var iterate = function (iterable, unboundFunction, options) {
|
|
|
2429
2425
|
iterator = iterable;
|
|
2430
2426
|
} else {
|
|
2431
2427
|
iterFn = getIteratorMethod$4(iterable);
|
|
2432
|
-
if (!iterFn) throw TypeError$
|
|
2428
|
+
if (!iterFn) throw TypeError$2(tryToString(iterable) + ' is not iterable');
|
|
2433
2429
|
// optimisation for array iterators
|
|
2434
2430
|
if (isArrayIteratorMethod(iterFn)) {
|
|
2435
2431
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -2451,14 +2447,14 @@ var iterate = function (iterable, unboundFunction, options) {
|
|
|
2451
2447
|
} return new Result(false);
|
|
2452
2448
|
};
|
|
2453
2449
|
|
|
2454
|
-
var TypeError$
|
|
2450
|
+
var TypeError$1 = global_1.TypeError;
|
|
2455
2451
|
|
|
2456
2452
|
var anInstance = function (it, Prototype) {
|
|
2457
2453
|
if (objectIsPrototypeOf(Prototype, it)) return it;
|
|
2458
|
-
throw TypeError$
|
|
2454
|
+
throw TypeError$1('Incorrect invocation');
|
|
2459
2455
|
};
|
|
2460
2456
|
|
|
2461
|
-
var defineProperty = objectDefineProperty.f;
|
|
2457
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
2462
2458
|
var forEach = arrayIteration.forEach;
|
|
2463
2459
|
|
|
2464
2460
|
|
|
@@ -2506,7 +2502,7 @@ var collection = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
|
2506
2502
|
}
|
|
2507
2503
|
});
|
|
2508
2504
|
|
|
2509
|
-
IS_WEAK || defineProperty(Prototype, 'size', {
|
|
2505
|
+
IS_WEAK || defineProperty$1(Prototype, 'size', {
|
|
2510
2506
|
configurable: true,
|
|
2511
2507
|
get: function () {
|
|
2512
2508
|
return getInternalState(this).collection.size;
|
|
@@ -2712,209 +2708,40 @@ if (nativeWeakMap && IS_IE11) {
|
|
|
2712
2708
|
});
|
|
2713
2709
|
}
|
|
2714
2710
|
|
|
2715
|
-
var weakMap$
|
|
2716
|
-
|
|
2717
|
-
var weakMap$3 = weakMap$4;
|
|
2718
|
-
|
|
2719
|
-
var weakMap$2 = weakMap$3;
|
|
2720
|
-
|
|
2721
|
-
// `Map.prototype.emplace` method
|
|
2722
|
-
// https://github.com/thumbsupep/proposal-upsert
|
|
2723
|
-
var mapEmplace = function emplace(key, handler) {
|
|
2724
|
-
var map = anObject(this);
|
|
2725
|
-
var get = aCallable(map.get);
|
|
2726
|
-
var has = aCallable(map.has);
|
|
2727
|
-
var set = aCallable(map.set);
|
|
2728
|
-
var value = (functionCall(has, map, key) && 'update' in handler)
|
|
2729
|
-
? handler.update(functionCall(get, map, key), key, map)
|
|
2730
|
-
: handler.insert(key, map);
|
|
2731
|
-
functionCall(set, map, key, value);
|
|
2732
|
-
return value;
|
|
2733
|
-
};
|
|
2734
|
-
|
|
2735
|
-
// `WeakMap.prototype.emplace` method
|
|
2736
|
-
// https://github.com/tc39/proposal-upsert
|
|
2737
|
-
_export({ target: 'WeakMap', proto: true, real: true, forced: true }, {
|
|
2738
|
-
emplace: mapEmplace
|
|
2739
|
-
});
|
|
2740
|
-
|
|
2741
|
-
var TypeError$2 = global_1.TypeError;
|
|
2742
|
-
|
|
2743
|
-
// `Assert: IsConstructor(argument) is true`
|
|
2744
|
-
var aConstructor = function (argument) {
|
|
2745
|
-
if (isConstructor(argument)) return argument;
|
|
2746
|
-
throw TypeError$2(tryToString(argument) + ' is not a constructor');
|
|
2747
|
-
};
|
|
2748
|
-
|
|
2749
|
-
// https://tc39.github.io/proposal-setmap-offrom/
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
var push = [].push;
|
|
2757
|
-
|
|
2758
|
-
var collectionFrom = function from(source /* , mapFn, thisArg */) {
|
|
2759
|
-
var length = arguments.length;
|
|
2760
|
-
var mapFn = length > 1 ? arguments[1] : undefined;
|
|
2761
|
-
var mapping, array, n, boundFunction;
|
|
2762
|
-
aConstructor(this);
|
|
2763
|
-
mapping = mapFn !== undefined;
|
|
2764
|
-
if (mapping) aCallable(mapFn);
|
|
2765
|
-
if (source == undefined) return new this();
|
|
2766
|
-
array = [];
|
|
2767
|
-
if (mapping) {
|
|
2768
|
-
n = 0;
|
|
2769
|
-
boundFunction = functionBindContext(mapFn, length > 2 ? arguments[2] : undefined);
|
|
2770
|
-
iterate(source, function (nextItem) {
|
|
2771
|
-
functionCall(push, array, boundFunction(nextItem, n++));
|
|
2772
|
-
});
|
|
2773
|
-
} else {
|
|
2774
|
-
iterate(source, push, { that: array });
|
|
2775
|
-
}
|
|
2776
|
-
return new this(array);
|
|
2777
|
-
};
|
|
2778
|
-
|
|
2779
|
-
// `WeakMap.from` method
|
|
2780
|
-
// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from
|
|
2781
|
-
_export({ target: 'WeakMap', stat: true, forced: true }, {
|
|
2782
|
-
from: collectionFrom
|
|
2783
|
-
});
|
|
2784
|
-
|
|
2785
|
-
// https://tc39.github.io/proposal-setmap-offrom/
|
|
2786
|
-
var collectionOf = function of() {
|
|
2787
|
-
return new this(arraySlice(arguments));
|
|
2788
|
-
};
|
|
2789
|
-
|
|
2790
|
-
// `WeakMap.of` method
|
|
2791
|
-
// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of
|
|
2792
|
-
_export({ target: 'WeakMap', stat: true, forced: true }, {
|
|
2793
|
-
of: collectionOf
|
|
2794
|
-
});
|
|
2795
|
-
|
|
2796
|
-
// https://github.com/tc39/collection-methods
|
|
2797
|
-
var collectionDeleteAll = function deleteAll(/* ...elements */) {
|
|
2798
|
-
var collection = anObject(this);
|
|
2799
|
-
var remover = aCallable(collection['delete']);
|
|
2800
|
-
var allDeleted = true;
|
|
2801
|
-
var wasDeleted;
|
|
2802
|
-
for (var k = 0, len = arguments.length; k < len; k++) {
|
|
2803
|
-
wasDeleted = functionCall(remover, collection, arguments[k]);
|
|
2804
|
-
allDeleted = allDeleted && wasDeleted;
|
|
2805
|
-
}
|
|
2806
|
-
return !!allDeleted;
|
|
2807
|
-
};
|
|
2808
|
-
|
|
2809
|
-
// `WeakMap.prototype.deleteAll` method
|
|
2810
|
-
// https://github.com/tc39/proposal-collection-methods
|
|
2811
|
-
_export({ target: 'WeakMap', proto: true, real: true, forced: true }, {
|
|
2812
|
-
deleteAll: collectionDeleteAll
|
|
2813
|
-
});
|
|
2814
|
-
|
|
2815
|
-
var TypeError$1 = global_1.TypeError;
|
|
2816
|
-
|
|
2817
|
-
// `Map.prototype.upsert` method
|
|
2818
|
-
// https://github.com/thumbsupep/proposal-upsert
|
|
2819
|
-
var mapUpsert = function upsert(key, updateFn /* , insertFn */) {
|
|
2820
|
-
var map = anObject(this);
|
|
2821
|
-
var get = aCallable(map.get);
|
|
2822
|
-
var has = aCallable(map.has);
|
|
2823
|
-
var set = aCallable(map.set);
|
|
2824
|
-
var insertFn = arguments.length > 2 ? arguments[2] : undefined;
|
|
2825
|
-
var value;
|
|
2826
|
-
if (!isCallable(updateFn) && !isCallable(insertFn)) {
|
|
2827
|
-
throw TypeError$1('At least one callback required');
|
|
2828
|
-
}
|
|
2829
|
-
if (functionCall(has, map, key)) {
|
|
2830
|
-
value = functionCall(get, map, key);
|
|
2831
|
-
if (isCallable(updateFn)) {
|
|
2832
|
-
value = updateFn(value);
|
|
2833
|
-
functionCall(set, map, key, value);
|
|
2834
|
-
}
|
|
2835
|
-
} else if (isCallable(insertFn)) {
|
|
2836
|
-
value = insertFn();
|
|
2837
|
-
functionCall(set, map, key, value);
|
|
2838
|
-
} return value;
|
|
2839
|
-
};
|
|
2840
|
-
|
|
2841
|
-
// TODO: remove from `core-js@4`
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
// `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`)
|
|
2846
|
-
// https://github.com/tc39/proposal-upsert
|
|
2847
|
-
_export({ target: 'WeakMap', proto: true, real: true, forced: true }, {
|
|
2848
|
-
upsert: mapUpsert
|
|
2849
|
-
});
|
|
2850
|
-
|
|
2851
|
-
// TODO: remove from `core-js@4`
|
|
2852
|
-
|
|
2711
|
+
var weakMap$2 = path.WeakMap;
|
|
2853
2712
|
|
|
2854
2713
|
var weakMap$1 = weakMap$2;
|
|
2855
2714
|
|
|
2856
2715
|
var weakMap = weakMap$1;
|
|
2857
2716
|
|
|
2858
|
-
var
|
|
2859
|
-
|
|
2860
|
-
var getOwnPropertyDescriptor$1 = getOwnPropertyDescriptor$2;
|
|
2717
|
+
var defineProperty = defineProperty$2;
|
|
2861
2718
|
|
|
2862
2719
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptor$1;
|
|
2863
2720
|
|
|
2864
|
-
function
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {
|
|
2869
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
2870
|
-
})(nodeInterop);
|
|
2721
|
+
function _interopRequireDefault(obj) {
|
|
2722
|
+
return obj && obj.__esModule ? obj : {
|
|
2723
|
+
"default": obj
|
|
2724
|
+
};
|
|
2871
2725
|
}
|
|
2872
2726
|
|
|
2873
|
-
|
|
2874
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
2875
|
-
return obj;
|
|
2876
|
-
}
|
|
2877
|
-
|
|
2878
|
-
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
|
|
2879
|
-
return {
|
|
2880
|
-
"default": obj
|
|
2881
|
-
};
|
|
2882
|
-
}
|
|
2883
|
-
|
|
2884
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
2885
|
-
|
|
2886
|
-
if (cache && cache.has(obj)) {
|
|
2887
|
-
return cache.get(obj);
|
|
2888
|
-
}
|
|
2889
|
-
|
|
2890
|
-
var newObj = {};
|
|
2891
|
-
var hasPropertyDescriptor = defineProperty$1 && getOwnPropertyDescriptor;
|
|
2727
|
+
var assign = assign$1;
|
|
2892
2728
|
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2729
|
+
function _extends() {
|
|
2730
|
+
_extends = assign || function (target) {
|
|
2731
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
2732
|
+
var source = arguments[i];
|
|
2896
2733
|
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2734
|
+
for (var key in source) {
|
|
2735
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2736
|
+
target[key] = source[key];
|
|
2737
|
+
}
|
|
2901
2738
|
}
|
|
2902
2739
|
}
|
|
2903
|
-
}
|
|
2904
|
-
|
|
2905
|
-
newObj["default"] = obj;
|
|
2906
|
-
|
|
2907
|
-
if (cache) {
|
|
2908
|
-
cache.set(obj, newObj);
|
|
2909
|
-
}
|
|
2910
|
-
|
|
2911
|
-
return newObj;
|
|
2912
|
-
}
|
|
2913
2740
|
|
|
2914
|
-
|
|
2915
|
-
return obj && obj.__esModule ? obj : {
|
|
2916
|
-
"default": obj
|
|
2741
|
+
return target;
|
|
2917
2742
|
};
|
|
2743
|
+
|
|
2744
|
+
return _extends.apply(this, arguments);
|
|
2918
2745
|
}
|
|
2919
2746
|
|
|
2920
2747
|
var ChevronLeft = createCommonjsModule(function (module, exports) {
|
|
@@ -2925,18 +2752,27 @@ var ChevronLeft = createCommonjsModule(function (module, exports) {
|
|
|
2925
2752
|
|
|
2926
2753
|
|
|
2927
2754
|
|
|
2928
|
-
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
defineProperty(exports, "__esModule", {
|
|
2929
2760
|
value: true
|
|
2930
2761
|
});
|
|
2931
2762
|
|
|
2932
2763
|
exports.default = void 0;
|
|
2933
2764
|
|
|
2934
|
-
var _extends2 = _interopRequireDefault(_extends
|
|
2765
|
+
var _extends2 = _interopRequireDefault(_extends);
|
|
2935
2766
|
|
|
2936
2767
|
var React$1 = _interopRequireWildcard(React);
|
|
2937
2768
|
|
|
2769
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof weakMap !== "function") return null; var cacheBabelInterop = new weakMap(); var cacheNodeInterop = new weakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
2770
|
+
|
|
2771
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = defineProperty && getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2772
|
+
|
|
2938
2773
|
function SvgChevronLeft(props, svgRef) {
|
|
2939
2774
|
return /*#__PURE__*/React$1.createElement("svg", (0, _extends2.default)({}, props, {
|
|
2775
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2940
2776
|
viewBox: "0 0 1024 1024",
|
|
2941
2777
|
fill: "currentColor",
|
|
2942
2778
|
className: "Icon ".concat(props.className ? props.className : ''),
|
|
@@ -2946,7 +2782,7 @@ function SvgChevronLeft(props, svgRef) {
|
|
|
2946
2782
|
}));
|
|
2947
2783
|
}
|
|
2948
2784
|
|
|
2949
|
-
var ForwardRef = React$1.forwardRef(SvgChevronLeft);
|
|
2785
|
+
var ForwardRef = /*#__PURE__*/React$1.forwardRef(SvgChevronLeft);
|
|
2950
2786
|
var _default = ForwardRef;
|
|
2951
2787
|
exports.default = _default;
|
|
2952
2788
|
});
|
|
@@ -2963,18 +2799,27 @@ var ChevronRight = createCommonjsModule(function (module, exports) {
|
|
|
2963
2799
|
|
|
2964
2800
|
|
|
2965
2801
|
|
|
2966
|
-
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
defineProperty(exports, "__esModule", {
|
|
2967
2807
|
value: true
|
|
2968
2808
|
});
|
|
2969
2809
|
|
|
2970
2810
|
exports.default = void 0;
|
|
2971
2811
|
|
|
2972
|
-
var _extends2 = _interopRequireDefault(_extends
|
|
2812
|
+
var _extends2 = _interopRequireDefault(_extends);
|
|
2973
2813
|
|
|
2974
2814
|
var React$1 = _interopRequireWildcard(React);
|
|
2975
2815
|
|
|
2816
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof weakMap !== "function") return null; var cacheBabelInterop = new weakMap(); var cacheNodeInterop = new weakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
2817
|
+
|
|
2818
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = defineProperty && getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
2819
|
+
|
|
2976
2820
|
function SvgChevronRight(props, svgRef) {
|
|
2977
2821
|
return /*#__PURE__*/React$1.createElement("svg", (0, _extends2.default)({}, props, {
|
|
2822
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2978
2823
|
viewBox: "0 0 1024 1024",
|
|
2979
2824
|
fill: "currentColor",
|
|
2980
2825
|
className: "Icon ".concat(props.className ? props.className : ''),
|
|
@@ -2984,7 +2829,7 @@ function SvgChevronRight(props, svgRef) {
|
|
|
2984
2829
|
}));
|
|
2985
2830
|
}
|
|
2986
2831
|
|
|
2987
|
-
var ForwardRef = React$1.forwardRef(SvgChevronRight);
|
|
2832
|
+
var ForwardRef = /*#__PURE__*/React$1.forwardRef(SvgChevronRight);
|
|
2988
2833
|
var _default = ForwardRef;
|
|
2989
2834
|
exports.default = _default;
|
|
2990
2835
|
});
|
|
@@ -3039,7 +2884,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
3039
2884
|
|
|
3040
2885
|
if (images.length === 1) {
|
|
3041
2886
|
var image = images[0];
|
|
3042
|
-
return /*#__PURE__*/React.createElement(Box, _extends$
|
|
2887
|
+
return /*#__PURE__*/React.createElement(Box, _extends$2({
|
|
3043
2888
|
width: imgWidth,
|
|
3044
2889
|
height: imgHeight
|
|
3045
2890
|
}, props), /*#__PURE__*/React.createElement("img", {
|
|
@@ -3053,7 +2898,7 @@ var ImageCarousel = function ImageCarousel(_ref) {
|
|
|
3053
2898
|
}));
|
|
3054
2899
|
}
|
|
3055
2900
|
|
|
3056
|
-
return /*#__PURE__*/React.createElement(Box, _extends$
|
|
2901
|
+
return /*#__PURE__*/React.createElement(Box, _extends$2({
|
|
3057
2902
|
as: "section",
|
|
3058
2903
|
position: "relative",
|
|
3059
2904
|
overflow: "hidden",
|
|
@@ -3170,4 +3015,4 @@ var _c;
|
|
|
3170
3015
|
$RefreshReg$(_c, "ImageCarousel");
|
|
3171
3016
|
|
|
3172
3017
|
export default ImageCarousel;
|
|
3173
|
-
//# sourceMappingURL=ImageCarousel-
|
|
3018
|
+
//# sourceMappingURL=ImageCarousel-7afef93f.js.map
|