@fox-dls/carousels 0.0.1 → 1.0.3

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/carousels.esm.js DELETED
@@ -1,2135 +0,0 @@
1
- import 'swiper/css';
2
- import 'swiper/css/pagination';
3
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
- import React, { useRef, useState } from 'react';
5
- import styled, { css } from 'styled-components';
6
- import SwiperCore, { Navigation, Pagination } from 'swiper';
7
- import { Swiper, SwiperSlide } from 'swiper/react';
8
- import ButtonUnstyled from '@mui/core/ButtonUnstyled';
9
- import { Container } from '@fox-dls/layout';
10
-
11
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
12
-
13
- var check = function (it) {
14
- return it && it.Math == Math && it;
15
- };
16
-
17
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
18
- var global$o =
19
- // eslint-disable-next-line es/no-global-this -- safe
20
- check(typeof globalThis == 'object' && globalThis) ||
21
- check(typeof window == 'object' && window) ||
22
- // eslint-disable-next-line no-restricted-globals -- safe
23
- check(typeof self == 'object' && self) ||
24
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
25
- // eslint-disable-next-line no-new-func -- fallback
26
- (function () { return this; })() || Function('return this')();
27
-
28
- var FunctionPrototype$1 = Function.prototype;
29
- var bind = FunctionPrototype$1.bind;
30
- var call$6 = FunctionPrototype$1.call;
31
- var callBind = bind && bind.bind(call$6);
32
-
33
- var functionUncurryThis = bind ? function (fn) {
34
- return fn && callBind(call$6, fn);
35
- } : function (fn) {
36
- return fn && function () {
37
- return call$6.apply(fn, arguments);
38
- };
39
- };
40
-
41
- var fails$8 = function (exec) {
42
- try {
43
- return !!exec();
44
- } catch (error) {
45
- return true;
46
- }
47
- };
48
-
49
- var uncurryThis$a = functionUncurryThis;
50
-
51
- var toString$1 = uncurryThis$a({}.toString);
52
- var stringSlice = uncurryThis$a(''.slice);
53
-
54
- var classofRaw = function (it) {
55
- return stringSlice(toString$1(it), 8, -1);
56
- };
57
-
58
- var global$n = global$o;
59
- var uncurryThis$9 = functionUncurryThis;
60
- var fails$7 = fails$8;
61
- var classof = classofRaw;
62
-
63
- var Object$4 = global$n.Object;
64
- var split = uncurryThis$9(''.split);
65
-
66
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
67
- var indexedObject = fails$7(function () {
68
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
69
- // eslint-disable-next-line no-prototype-builtins -- safe
70
- return !Object$4('z').propertyIsEnumerable(0);
71
- }) ? function (it) {
72
- return classof(it) == 'String' ? split(it, '') : Object$4(it);
73
- } : Object$4;
74
-
75
- var global$m = global$o;
76
-
77
- var TypeError$7 = global$m.TypeError;
78
-
79
- // `RequireObjectCoercible` abstract operation
80
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
81
- var requireObjectCoercible$2 = function (it) {
82
- if (it == undefined) throw TypeError$7("Can't call method on " + it);
83
- return it;
84
- };
85
-
86
- // toObject with fallback for non-array-like ES3 strings
87
- var IndexedObject$1 = indexedObject;
88
- var requireObjectCoercible$1 = requireObjectCoercible$2;
89
-
90
- var toIndexedObject$5 = function (it) {
91
- return IndexedObject$1(requireObjectCoercible$1(it));
92
- };
93
-
94
- var shared$3 = {exports: {}};
95
-
96
- var global$l = global$o;
97
-
98
- // eslint-disable-next-line es/no-object-defineproperty -- safe
99
- var defineProperty$2 = Object.defineProperty;
100
-
101
- var setGlobal$3 = function (key, value) {
102
- try {
103
- defineProperty$2(global$l, key, { value: value, configurable: true, writable: true });
104
- } catch (error) {
105
- global$l[key] = value;
106
- } return value;
107
- };
108
-
109
- var global$k = global$o;
110
- var setGlobal$2 = setGlobal$3;
111
-
112
- var SHARED = '__core-js_shared__';
113
- var store$3 = global$k[SHARED] || setGlobal$2(SHARED, {});
114
-
115
- var sharedStore = store$3;
116
-
117
- var store$2 = sharedStore;
118
-
119
- (shared$3.exports = function (key, value) {
120
- return store$2[key] || (store$2[key] = value !== undefined ? value : {});
121
- })('versions', []).push({
122
- version: '3.19.1',
123
- mode: 'global',
124
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
125
- });
126
-
127
- var global$j = global$o;
128
- var requireObjectCoercible = requireObjectCoercible$2;
129
-
130
- var Object$3 = global$j.Object;
131
-
132
- // `ToObject` abstract operation
133
- // https://tc39.es/ecma262/#sec-toobject
134
- var toObject$3 = function (argument) {
135
- return Object$3(requireObjectCoercible(argument));
136
- };
137
-
138
- var uncurryThis$8 = functionUncurryThis;
139
- var toObject$2 = toObject$3;
140
-
141
- var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
142
-
143
- // `HasOwnProperty` abstract operation
144
- // https://tc39.es/ecma262/#sec-hasownproperty
145
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
146
- return hasOwnProperty(toObject$2(it), key);
147
- };
148
-
149
- var uncurryThis$7 = functionUncurryThis;
150
-
151
- var id = 0;
152
- var postfix = Math.random();
153
- var toString = uncurryThis$7(1.0.toString);
154
-
155
- var uid$2 = function (key) {
156
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
157
- };
158
-
159
- // `IsCallable` abstract operation
160
- // https://tc39.es/ecma262/#sec-iscallable
161
- var isCallable$d = function (argument) {
162
- return typeof argument == 'function';
163
- };
164
-
165
- var global$i = global$o;
166
- var isCallable$c = isCallable$d;
167
-
168
- var aFunction = function (argument) {
169
- return isCallable$c(argument) ? argument : undefined;
170
- };
171
-
172
- var getBuiltIn$4 = function (namespace, method) {
173
- return arguments.length < 2 ? aFunction(global$i[namespace]) : global$i[namespace] && global$i[namespace][method];
174
- };
175
-
176
- var getBuiltIn$3 = getBuiltIn$4;
177
-
178
- var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
179
-
180
- var global$h = global$o;
181
- var userAgent = engineUserAgent;
182
-
183
- var process = global$h.process;
184
- var Deno = global$h.Deno;
185
- var versions = process && process.versions || Deno && Deno.version;
186
- var v8 = versions && versions.v8;
187
- var match, version;
188
-
189
- if (v8) {
190
- match = v8.split('.');
191
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
192
- // but their correct versions are not interesting for us
193
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
194
- }
195
-
196
- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
197
- // so check `userAgent` even if `.v8` exists, but 0
198
- if (!version && userAgent) {
199
- match = userAgent.match(/Edge\/(\d+)/);
200
- if (!match || match[1] >= 74) {
201
- match = userAgent.match(/Chrome\/(\d+)/);
202
- if (match) version = +match[1];
203
- }
204
- }
205
-
206
- var engineV8Version = version;
207
-
208
- /* eslint-disable es/no-symbol -- required for testing */
209
-
210
- var V8_VERSION = engineV8Version;
211
- var fails$6 = fails$8;
212
-
213
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
214
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$6(function () {
215
- var symbol = Symbol();
216
- // Chrome 38 Symbol has incorrect toString conversion
217
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
218
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
219
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
220
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
221
- });
222
-
223
- /* eslint-disable es/no-symbol -- required for testing */
224
-
225
- var NATIVE_SYMBOL$1 = nativeSymbol;
226
-
227
- var useSymbolAsUid = NATIVE_SYMBOL$1
228
- && !Symbol.sham
229
- && typeof Symbol.iterator == 'symbol';
230
-
231
- var global$g = global$o;
232
- var shared$2 = shared$3.exports;
233
- var hasOwn$8 = hasOwnProperty_1;
234
- var uid$1 = uid$2;
235
- var NATIVE_SYMBOL = nativeSymbol;
236
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
237
-
238
- var WellKnownSymbolsStore = shared$2('wks');
239
- var Symbol$1 = global$g.Symbol;
240
- var symbolFor = Symbol$1 && Symbol$1['for'];
241
- var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
242
-
243
- var wellKnownSymbol$6 = function (name) {
244
- if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
245
- var description = 'Symbol.' + name;
246
- if (NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)) {
247
- WellKnownSymbolsStore[name] = Symbol$1[name];
248
- } else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
249
- WellKnownSymbolsStore[name] = symbolFor(description);
250
- } else {
251
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
252
- }
253
- } return WellKnownSymbolsStore[name];
254
- };
255
-
256
- var isCallable$b = isCallable$d;
257
-
258
- var isObject$5 = function (it) {
259
- return typeof it == 'object' ? it !== null : isCallable$b(it);
260
- };
261
-
262
- var global$f = global$o;
263
- var isObject$4 = isObject$5;
264
-
265
- var String$3 = global$f.String;
266
- var TypeError$6 = global$f.TypeError;
267
-
268
- // `Assert: Type(argument) is Object`
269
- var anObject$5 = function (argument) {
270
- if (isObject$4(argument)) return argument;
271
- throw TypeError$6(String$3(argument) + ' is not an object');
272
- };
273
-
274
- var fails$5 = fails$8;
275
-
276
- // Detect IE8's incomplete defineProperty implementation
277
- var descriptors = !fails$5(function () {
278
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
279
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
280
- });
281
-
282
- var objectDefineProperty = {};
283
-
284
- var global$e = global$o;
285
- var isObject$3 = isObject$5;
286
-
287
- var document$1 = global$e.document;
288
- // typeof document.createElement is 'object' in old IE
289
- var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
290
-
291
- var documentCreateElement$2 = function (it) {
292
- return EXISTS$1 ? document$1.createElement(it) : {};
293
- };
294
-
295
- var DESCRIPTORS$6 = descriptors;
296
- var fails$4 = fails$8;
297
- var createElement = documentCreateElement$2;
298
-
299
- // Thank's IE8 for his funny defineProperty
300
- var ie8DomDefine = !DESCRIPTORS$6 && !fails$4(function () {
301
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
302
- return Object.defineProperty(createElement('div'), 'a', {
303
- get: function () { return 7; }
304
- }).a != 7;
305
- });
306
-
307
- var call$5 = Function.prototype.call;
308
-
309
- var functionCall = call$5.bind ? call$5.bind(call$5) : function () {
310
- return call$5.apply(call$5, arguments);
311
- };
312
-
313
- var uncurryThis$6 = functionUncurryThis;
314
-
315
- var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
316
-
317
- var global$d = global$o;
318
- var getBuiltIn$2 = getBuiltIn$4;
319
- var isCallable$a = isCallable$d;
320
- var isPrototypeOf = objectIsPrototypeOf;
321
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
322
-
323
- var Object$2 = global$d.Object;
324
-
325
- var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
326
- return typeof it == 'symbol';
327
- } : function (it) {
328
- var $Symbol = getBuiltIn$2('Symbol');
329
- return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, Object$2(it));
330
- };
331
-
332
- var global$c = global$o;
333
-
334
- var String$2 = global$c.String;
335
-
336
- var tryToString$1 = function (argument) {
337
- try {
338
- return String$2(argument);
339
- } catch (error) {
340
- return 'Object';
341
- }
342
- };
343
-
344
- var global$b = global$o;
345
- var isCallable$9 = isCallable$d;
346
- var tryToString = tryToString$1;
347
-
348
- var TypeError$5 = global$b.TypeError;
349
-
350
- // `Assert: IsCallable(argument) is true`
351
- var aCallable$1 = function (argument) {
352
- if (isCallable$9(argument)) return argument;
353
- throw TypeError$5(tryToString(argument) + ' is not a function');
354
- };
355
-
356
- var aCallable = aCallable$1;
357
-
358
- // `GetMethod` abstract operation
359
- // https://tc39.es/ecma262/#sec-getmethod
360
- var getMethod$1 = function (V, P) {
361
- var func = V[P];
362
- return func == null ? undefined : aCallable(func);
363
- };
364
-
365
- var global$a = global$o;
366
- var call$4 = functionCall;
367
- var isCallable$8 = isCallable$d;
368
- var isObject$2 = isObject$5;
369
-
370
- var TypeError$4 = global$a.TypeError;
371
-
372
- // `OrdinaryToPrimitive` abstract operation
373
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
374
- var ordinaryToPrimitive$1 = function (input, pref) {
375
- var fn, val;
376
- if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$2(val = call$4(fn, input))) return val;
377
- if (isCallable$8(fn = input.valueOf) && !isObject$2(val = call$4(fn, input))) return val;
378
- if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$2(val = call$4(fn, input))) return val;
379
- throw TypeError$4("Can't convert object to primitive value");
380
- };
381
-
382
- var global$9 = global$o;
383
- var call$3 = functionCall;
384
- var isObject$1 = isObject$5;
385
- var isSymbol$1 = isSymbol$2;
386
- var getMethod = getMethod$1;
387
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
388
- var wellKnownSymbol$5 = wellKnownSymbol$6;
389
-
390
- var TypeError$3 = global$9.TypeError;
391
- var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
392
-
393
- // `ToPrimitive` abstract operation
394
- // https://tc39.es/ecma262/#sec-toprimitive
395
- var toPrimitive$1 = function (input, pref) {
396
- if (!isObject$1(input) || isSymbol$1(input)) return input;
397
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
398
- var result;
399
- if (exoticToPrim) {
400
- if (pref === undefined) pref = 'default';
401
- result = call$3(exoticToPrim, input, pref);
402
- if (!isObject$1(result) || isSymbol$1(result)) return result;
403
- throw TypeError$3("Can't convert object to primitive value");
404
- }
405
- if (pref === undefined) pref = 'number';
406
- return ordinaryToPrimitive(input, pref);
407
- };
408
-
409
- var toPrimitive = toPrimitive$1;
410
- var isSymbol = isSymbol$2;
411
-
412
- // `ToPropertyKey` abstract operation
413
- // https://tc39.es/ecma262/#sec-topropertykey
414
- var toPropertyKey$2 = function (argument) {
415
- var key = toPrimitive(argument, 'string');
416
- return isSymbol(key) ? key : key + '';
417
- };
418
-
419
- var global$8 = global$o;
420
- var DESCRIPTORS$5 = descriptors;
421
- var IE8_DOM_DEFINE$1 = ie8DomDefine;
422
- var anObject$4 = anObject$5;
423
- var toPropertyKey$1 = toPropertyKey$2;
424
-
425
- var TypeError$2 = global$8.TypeError;
426
- // eslint-disable-next-line es/no-object-defineproperty -- safe
427
- var $defineProperty = Object.defineProperty;
428
-
429
- // `Object.defineProperty` method
430
- // https://tc39.es/ecma262/#sec-object.defineproperty
431
- objectDefineProperty.f = DESCRIPTORS$5 ? $defineProperty : function defineProperty(O, P, Attributes) {
432
- anObject$4(O);
433
- P = toPropertyKey$1(P);
434
- anObject$4(Attributes);
435
- if (IE8_DOM_DEFINE$1) try {
436
- return $defineProperty(O, P, Attributes);
437
- } catch (error) { /* empty */ }
438
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
439
- if ('value' in Attributes) O[P] = Attributes.value;
440
- return O;
441
- };
442
-
443
- var ceil = Math.ceil;
444
- var floor = Math.floor;
445
-
446
- // `ToIntegerOrInfinity` abstract operation
447
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
448
- var toIntegerOrInfinity$2 = function (argument) {
449
- var number = +argument;
450
- // eslint-disable-next-line no-self-compare -- safe
451
- return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
452
- };
453
-
454
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
455
-
456
- var max = Math.max;
457
- var min$1 = Math.min;
458
-
459
- // Helper for a popular repeating case of the spec:
460
- // Let integer be ? ToInteger(index).
461
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
462
- var toAbsoluteIndex$1 = function (index, length) {
463
- var integer = toIntegerOrInfinity$1(index);
464
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
465
- };
466
-
467
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
468
-
469
- var min = Math.min;
470
-
471
- // `ToLength` abstract operation
472
- // https://tc39.es/ecma262/#sec-tolength
473
- var toLength$1 = function (argument) {
474
- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
475
- };
476
-
477
- var toLength = toLength$1;
478
-
479
- // `LengthOfArrayLike` abstract operation
480
- // https://tc39.es/ecma262/#sec-lengthofarraylike
481
- var lengthOfArrayLike$1 = function (obj) {
482
- return toLength(obj.length);
483
- };
484
-
485
- var toIndexedObject$4 = toIndexedObject$5;
486
- var toAbsoluteIndex = toAbsoluteIndex$1;
487
- var lengthOfArrayLike = lengthOfArrayLike$1;
488
-
489
- // `Array.prototype.{ indexOf, includes }` methods implementation
490
- var createMethod = function (IS_INCLUDES) {
491
- return function ($this, el, fromIndex) {
492
- var O = toIndexedObject$4($this);
493
- var length = lengthOfArrayLike(O);
494
- var index = toAbsoluteIndex(fromIndex, length);
495
- var value;
496
- // Array#includes uses SameValueZero equality algorithm
497
- // eslint-disable-next-line no-self-compare -- NaN check
498
- if (IS_INCLUDES && el != el) while (length > index) {
499
- value = O[index++];
500
- // eslint-disable-next-line no-self-compare -- NaN check
501
- if (value != value) return true;
502
- // Array#indexOf ignores holes, Array#includes - not
503
- } else for (;length > index; index++) {
504
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
505
- } return !IS_INCLUDES && -1;
506
- };
507
- };
508
-
509
- var arrayIncludes = {
510
- // `Array.prototype.includes` method
511
- // https://tc39.es/ecma262/#sec-array.prototype.includes
512
- includes: createMethod(true),
513
- // `Array.prototype.indexOf` method
514
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
515
- indexOf: createMethod(false)
516
- };
517
-
518
- var hiddenKeys$4 = {};
519
-
520
- var uncurryThis$5 = functionUncurryThis;
521
- var hasOwn$7 = hasOwnProperty_1;
522
- var toIndexedObject$3 = toIndexedObject$5;
523
- var indexOf = arrayIncludes.indexOf;
524
- var hiddenKeys$3 = hiddenKeys$4;
525
-
526
- var push = uncurryThis$5([].push);
527
-
528
- var objectKeysInternal = function (object, names) {
529
- var O = toIndexedObject$3(object);
530
- var i = 0;
531
- var result = [];
532
- var key;
533
- for (key in O) !hasOwn$7(hiddenKeys$3, key) && hasOwn$7(O, key) && push(result, key);
534
- // Don't enum bug & hidden keys
535
- while (names.length > i) if (hasOwn$7(O, key = names[i++])) {
536
- ~indexOf(result, key) || push(result, key);
537
- }
538
- return result;
539
- };
540
-
541
- // IE8- don't enum bug keys
542
- var enumBugKeys$3 = [
543
- 'constructor',
544
- 'hasOwnProperty',
545
- 'isPrototypeOf',
546
- 'propertyIsEnumerable',
547
- 'toLocaleString',
548
- 'toString',
549
- 'valueOf'
550
- ];
551
-
552
- var internalObjectKeys$1 = objectKeysInternal;
553
- var enumBugKeys$2 = enumBugKeys$3;
554
-
555
- // `Object.keys` method
556
- // https://tc39.es/ecma262/#sec-object.keys
557
- // eslint-disable-next-line es/no-object-keys -- safe
558
- var objectKeys$2 = Object.keys || function keys(O) {
559
- return internalObjectKeys$1(O, enumBugKeys$2);
560
- };
561
-
562
- var DESCRIPTORS$4 = descriptors;
563
- var definePropertyModule$3 = objectDefineProperty;
564
- var anObject$3 = anObject$5;
565
- var toIndexedObject$2 = toIndexedObject$5;
566
- var objectKeys$1 = objectKeys$2;
567
-
568
- // `Object.defineProperties` method
569
- // https://tc39.es/ecma262/#sec-object.defineproperties
570
- // eslint-disable-next-line es/no-object-defineproperties -- safe
571
- var objectDefineProperties = DESCRIPTORS$4 ? Object.defineProperties : function defineProperties(O, Properties) {
572
- anObject$3(O);
573
- var props = toIndexedObject$2(Properties);
574
- var keys = objectKeys$1(Properties);
575
- var length = keys.length;
576
- var index = 0;
577
- var key;
578
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
579
- return O;
580
- };
581
-
582
- var getBuiltIn$1 = getBuiltIn$4;
583
-
584
- var html$1 = getBuiltIn$1('document', 'documentElement');
585
-
586
- var shared$1 = shared$3.exports;
587
- var uid = uid$2;
588
-
589
- var keys = shared$1('keys');
590
-
591
- var sharedKey$3 = function (key) {
592
- return keys[key] || (keys[key] = uid(key));
593
- };
594
-
595
- /* global ActiveXObject -- old IE, WSH */
596
-
597
- var anObject$2 = anObject$5;
598
- var defineProperties = objectDefineProperties;
599
- var enumBugKeys$1 = enumBugKeys$3;
600
- var hiddenKeys$2 = hiddenKeys$4;
601
- var html = html$1;
602
- var documentCreateElement$1 = documentCreateElement$2;
603
- var sharedKey$2 = sharedKey$3;
604
-
605
- var GT = '>';
606
- var LT = '<';
607
- var PROTOTYPE = 'prototype';
608
- var SCRIPT = 'script';
609
- var IE_PROTO$1 = sharedKey$2('IE_PROTO');
610
-
611
- var EmptyConstructor = function () { /* empty */ };
612
-
613
- var scriptTag = function (content) {
614
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
615
- };
616
-
617
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
618
- var NullProtoObjectViaActiveX = function (activeXDocument) {
619
- activeXDocument.write(scriptTag(''));
620
- activeXDocument.close();
621
- var temp = activeXDocument.parentWindow.Object;
622
- activeXDocument = null; // avoid memory leak
623
- return temp;
624
- };
625
-
626
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
627
- var NullProtoObjectViaIFrame = function () {
628
- // Thrash, waste and sodomy: IE GC bug
629
- var iframe = documentCreateElement$1('iframe');
630
- var JS = 'java' + SCRIPT + ':';
631
- var iframeDocument;
632
- iframe.style.display = 'none';
633
- html.appendChild(iframe);
634
- // https://github.com/zloirock/core-js/issues/475
635
- iframe.src = String(JS);
636
- iframeDocument = iframe.contentWindow.document;
637
- iframeDocument.open();
638
- iframeDocument.write(scriptTag('document.F=Object'));
639
- iframeDocument.close();
640
- return iframeDocument.F;
641
- };
642
-
643
- // Check for document.domain and active x support
644
- // No need to use active x approach when document.domain is not set
645
- // see https://github.com/es-shims/es5-shim/issues/150
646
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
647
- // avoid IE GC bug
648
- var activeXDocument;
649
- var NullProtoObject = function () {
650
- try {
651
- activeXDocument = new ActiveXObject('htmlfile');
652
- } catch (error) { /* ignore */ }
653
- NullProtoObject = typeof document != 'undefined'
654
- ? document.domain && activeXDocument
655
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
656
- : NullProtoObjectViaIFrame()
657
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
658
- var length = enumBugKeys$1.length;
659
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys$1[length]];
660
- return NullProtoObject();
661
- };
662
-
663
- hiddenKeys$2[IE_PROTO$1] = true;
664
-
665
- // `Object.create` method
666
- // https://tc39.es/ecma262/#sec-object.create
667
- var objectCreate = Object.create || function create(O, Properties) {
668
- var result;
669
- if (O !== null) {
670
- EmptyConstructor[PROTOTYPE] = anObject$2(O);
671
- result = new EmptyConstructor();
672
- EmptyConstructor[PROTOTYPE] = null;
673
- // add "__proto__" for Object.getPrototypeOf polyfill
674
- result[IE_PROTO$1] = O;
675
- } else result = NullProtoObject();
676
- return Properties === undefined ? result : defineProperties(result, Properties);
677
- };
678
-
679
- var wellKnownSymbol$4 = wellKnownSymbol$6;
680
- var create$1 = objectCreate;
681
- var definePropertyModule$2 = objectDefineProperty;
682
-
683
- var UNSCOPABLES = wellKnownSymbol$4('unscopables');
684
- var ArrayPrototype = Array.prototype;
685
-
686
- // Array.prototype[@@unscopables]
687
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
688
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
689
- definePropertyModule$2.f(ArrayPrototype, UNSCOPABLES, {
690
- configurable: true,
691
- value: create$1(null)
692
- });
693
- }
694
-
695
- // add a key to Array.prototype[@@unscopables]
696
- var addToUnscopables$1 = function (key) {
697
- ArrayPrototype[UNSCOPABLES][key] = true;
698
- };
699
-
700
- var iterators = {};
701
-
702
- var uncurryThis$4 = functionUncurryThis;
703
- var isCallable$7 = isCallable$d;
704
- var store$1 = sharedStore;
705
-
706
- var functionToString = uncurryThis$4(Function.toString);
707
-
708
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
709
- if (!isCallable$7(store$1.inspectSource)) {
710
- store$1.inspectSource = function (it) {
711
- return functionToString(it);
712
- };
713
- }
714
-
715
- var inspectSource$2 = store$1.inspectSource;
716
-
717
- var global$7 = global$o;
718
- var isCallable$6 = isCallable$d;
719
- var inspectSource$1 = inspectSource$2;
720
-
721
- var WeakMap$1 = global$7.WeakMap;
722
-
723
- var nativeWeakMap = isCallable$6(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
724
-
725
- var createPropertyDescriptor$3 = function (bitmap, value) {
726
- return {
727
- enumerable: !(bitmap & 1),
728
- configurable: !(bitmap & 2),
729
- writable: !(bitmap & 4),
730
- value: value
731
- };
732
- };
733
-
734
- var DESCRIPTORS$3 = descriptors;
735
- var definePropertyModule$1 = objectDefineProperty;
736
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
737
-
738
- var createNonEnumerableProperty$5 = DESCRIPTORS$3 ? function (object, key, value) {
739
- return definePropertyModule$1.f(object, key, createPropertyDescriptor$2(1, value));
740
- } : function (object, key, value) {
741
- object[key] = value;
742
- return object;
743
- };
744
-
745
- var NATIVE_WEAK_MAP = nativeWeakMap;
746
- var global$6 = global$o;
747
- var uncurryThis$3 = functionUncurryThis;
748
- var isObject = isObject$5;
749
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
750
- var hasOwn$6 = hasOwnProperty_1;
751
- var shared = sharedStore;
752
- var sharedKey$1 = sharedKey$3;
753
- var hiddenKeys$1 = hiddenKeys$4;
754
-
755
- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
756
- var TypeError$1 = global$6.TypeError;
757
- var WeakMap = global$6.WeakMap;
758
- var set, get, has;
759
-
760
- var enforce = function (it) {
761
- return has(it) ? get(it) : set(it, {});
762
- };
763
-
764
- var getterFor = function (TYPE) {
765
- return function (it) {
766
- var state;
767
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
768
- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
769
- } return state;
770
- };
771
- };
772
-
773
- if (NATIVE_WEAK_MAP || shared.state) {
774
- var store = shared.state || (shared.state = new WeakMap());
775
- var wmget = uncurryThis$3(store.get);
776
- var wmhas = uncurryThis$3(store.has);
777
- var wmset = uncurryThis$3(store.set);
778
- set = function (it, metadata) {
779
- if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
780
- metadata.facade = it;
781
- wmset(store, it, metadata);
782
- return metadata;
783
- };
784
- get = function (it) {
785
- return wmget(store, it) || {};
786
- };
787
- has = function (it) {
788
- return wmhas(store, it);
789
- };
790
- } else {
791
- var STATE = sharedKey$1('state');
792
- hiddenKeys$1[STATE] = true;
793
- set = function (it, metadata) {
794
- if (hasOwn$6(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
795
- metadata.facade = it;
796
- createNonEnumerableProperty$4(it, STATE, metadata);
797
- return metadata;
798
- };
799
- get = function (it) {
800
- return hasOwn$6(it, STATE) ? it[STATE] : {};
801
- };
802
- has = function (it) {
803
- return hasOwn$6(it, STATE);
804
- };
805
- }
806
-
807
- var internalState = {
808
- set: set,
809
- get: get,
810
- has: has,
811
- enforce: enforce,
812
- getterFor: getterFor
813
- };
814
-
815
- var objectGetOwnPropertyDescriptor = {};
816
-
817
- var objectPropertyIsEnumerable = {};
818
-
819
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
820
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
821
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
822
-
823
- // Nashorn ~ JDK8 bug
824
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
825
-
826
- // `Object.prototype.propertyIsEnumerable` method implementation
827
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
828
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
829
- var descriptor = getOwnPropertyDescriptor$1(this, V);
830
- return !!descriptor && descriptor.enumerable;
831
- } : $propertyIsEnumerable;
832
-
833
- var DESCRIPTORS$2 = descriptors;
834
- var call$2 = functionCall;
835
- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
836
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
837
- var toIndexedObject$1 = toIndexedObject$5;
838
- var toPropertyKey = toPropertyKey$2;
839
- var hasOwn$5 = hasOwnProperty_1;
840
- var IE8_DOM_DEFINE = ie8DomDefine;
841
-
842
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
843
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
844
-
845
- // `Object.getOwnPropertyDescriptor` method
846
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
847
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$2 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
848
- O = toIndexedObject$1(O);
849
- P = toPropertyKey(P);
850
- if (IE8_DOM_DEFINE) try {
851
- return $getOwnPropertyDescriptor(O, P);
852
- } catch (error) { /* empty */ }
853
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
854
- };
855
-
856
- var redefine$3 = {exports: {}};
857
-
858
- var DESCRIPTORS$1 = descriptors;
859
- var hasOwn$4 = hasOwnProperty_1;
860
-
861
- var FunctionPrototype = Function.prototype;
862
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
863
- var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
864
-
865
- var EXISTS = hasOwn$4(FunctionPrototype, 'name');
866
- // additional protection from minified / mangled / dropped function names
867
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
868
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
869
-
870
- var functionName = {
871
- EXISTS: EXISTS,
872
- PROPER: PROPER,
873
- CONFIGURABLE: CONFIGURABLE
874
- };
875
-
876
- var global$5 = global$o;
877
- var isCallable$5 = isCallable$d;
878
- var hasOwn$3 = hasOwnProperty_1;
879
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
880
- var setGlobal$1 = setGlobal$3;
881
- var inspectSource = inspectSource$2;
882
- var InternalStateModule$1 = internalState;
883
- var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
884
-
885
- var getInternalState$1 = InternalStateModule$1.get;
886
- var enforceInternalState = InternalStateModule$1.enforce;
887
- var TEMPLATE = String(String).split('String');
888
-
889
- (redefine$3.exports = function (O, key, value, options) {
890
- var unsafe = options ? !!options.unsafe : false;
891
- var simple = options ? !!options.enumerable : false;
892
- var noTargetGet = options ? !!options.noTargetGet : false;
893
- var name = options && options.name !== undefined ? options.name : key;
894
- var state;
895
- if (isCallable$5(value)) {
896
- if (String(name).slice(0, 7) === 'Symbol(') {
897
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
898
- }
899
- if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
900
- createNonEnumerableProperty$3(value, 'name', name);
901
- }
902
- state = enforceInternalState(value);
903
- if (!state.source) {
904
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
905
- }
906
- }
907
- if (O === global$5) {
908
- if (simple) O[key] = value;
909
- else setGlobal$1(key, value);
910
- return;
911
- } else if (!unsafe) {
912
- delete O[key];
913
- } else if (!noTargetGet && O[key]) {
914
- simple = true;
915
- }
916
- if (simple) O[key] = value;
917
- else createNonEnumerableProperty$3(O, key, value);
918
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
919
- })(Function.prototype, 'toString', function toString() {
920
- return isCallable$5(this) && getInternalState$1(this).source || inspectSource(this);
921
- });
922
-
923
- var objectGetOwnPropertyNames = {};
924
-
925
- var internalObjectKeys = objectKeysInternal;
926
- var enumBugKeys = enumBugKeys$3;
927
-
928
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
929
-
930
- // `Object.getOwnPropertyNames` method
931
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
932
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
933
- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
934
- return internalObjectKeys(O, hiddenKeys);
935
- };
936
-
937
- var objectGetOwnPropertySymbols = {};
938
-
939
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
940
- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
941
-
942
- var getBuiltIn = getBuiltIn$4;
943
- var uncurryThis$2 = functionUncurryThis;
944
- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
945
- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
946
- var anObject$1 = anObject$5;
947
-
948
- var concat$1 = uncurryThis$2([].concat);
949
-
950
- // all object keys, includes non-enumerable and symbols
951
- var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
952
- var keys = getOwnPropertyNamesModule.f(anObject$1(it));
953
- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
954
- return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
955
- };
956
-
957
- var hasOwn$2 = hasOwnProperty_1;
958
- var ownKeys = ownKeys$1;
959
- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
960
- var definePropertyModule = objectDefineProperty;
961
-
962
- var copyConstructorProperties$1 = function (target, source) {
963
- var keys = ownKeys(source);
964
- var defineProperty = definePropertyModule.f;
965
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
966
- for (var i = 0; i < keys.length; i++) {
967
- var key = keys[i];
968
- if (!hasOwn$2(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
969
- }
970
- };
971
-
972
- var fails$3 = fails$8;
973
- var isCallable$4 = isCallable$d;
974
-
975
- var replacement = /#|\.prototype\./;
976
-
977
- var isForced$1 = function (feature, detection) {
978
- var value = data[normalize(feature)];
979
- return value == POLYFILL ? true
980
- : value == NATIVE ? false
981
- : isCallable$4(detection) ? fails$3(detection)
982
- : !!detection;
983
- };
984
-
985
- var normalize = isForced$1.normalize = function (string) {
986
- return String(string).replace(replacement, '.').toLowerCase();
987
- };
988
-
989
- var data = isForced$1.data = {};
990
- var NATIVE = isForced$1.NATIVE = 'N';
991
- var POLYFILL = isForced$1.POLYFILL = 'P';
992
-
993
- var isForced_1 = isForced$1;
994
-
995
- var global$4 = global$o;
996
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
997
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
998
- var redefine$2 = redefine$3.exports;
999
- var setGlobal = setGlobal$3;
1000
- var copyConstructorProperties = copyConstructorProperties$1;
1001
- var isForced = isForced_1;
1002
-
1003
- /*
1004
- options.target - name of the target object
1005
- options.global - target is the global object
1006
- options.stat - export as static methods of target
1007
- options.proto - export as prototype methods of target
1008
- options.real - real prototype method for the `pure` version
1009
- options.forced - export even if the native feature is available
1010
- options.bind - bind methods to the target, required for the `pure` version
1011
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1012
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1013
- options.sham - add a flag to not completely full polyfills
1014
- options.enumerable - export as enumerable property
1015
- options.noTargetGet - prevent calling a getter on target
1016
- options.name - the .name of the function if it does not match the key
1017
- */
1018
- var _export = function (options, source) {
1019
- var TARGET = options.target;
1020
- var GLOBAL = options.global;
1021
- var STATIC = options.stat;
1022
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1023
- if (GLOBAL) {
1024
- target = global$4;
1025
- } else if (STATIC) {
1026
- target = global$4[TARGET] || setGlobal(TARGET, {});
1027
- } else {
1028
- target = (global$4[TARGET] || {}).prototype;
1029
- }
1030
- if (target) for (key in source) {
1031
- sourceProperty = source[key];
1032
- if (options.noTargetGet) {
1033
- descriptor = getOwnPropertyDescriptor(target, key);
1034
- targetProperty = descriptor && descriptor.value;
1035
- } else targetProperty = target[key];
1036
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1037
- // contained in target
1038
- if (!FORCED && targetProperty !== undefined) {
1039
- if (typeof sourceProperty == typeof targetProperty) continue;
1040
- copyConstructorProperties(sourceProperty, targetProperty);
1041
- }
1042
- // add a flag to not completely full polyfills
1043
- if (options.sham || (targetProperty && targetProperty.sham)) {
1044
- createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1045
- }
1046
- // extend global
1047
- redefine$2(target, key, sourceProperty, options);
1048
- }
1049
- };
1050
-
1051
- var fails$2 = fails$8;
1052
-
1053
- var correctPrototypeGetter = !fails$2(function () {
1054
- function F() { /* empty */ }
1055
- F.prototype.constructor = null;
1056
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1057
- return Object.getPrototypeOf(new F()) !== F.prototype;
1058
- });
1059
-
1060
- var global$3 = global$o;
1061
- var hasOwn$1 = hasOwnProperty_1;
1062
- var isCallable$3 = isCallable$d;
1063
- var toObject$1 = toObject$3;
1064
- var sharedKey = sharedKey$3;
1065
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1066
-
1067
- var IE_PROTO = sharedKey('IE_PROTO');
1068
- var Object$1 = global$3.Object;
1069
- var ObjectPrototype = Object$1.prototype;
1070
-
1071
- // `Object.getPrototypeOf` method
1072
- // https://tc39.es/ecma262/#sec-object.getprototypeof
1073
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) {
1074
- var object = toObject$1(O);
1075
- if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1076
- var constructor = object.constructor;
1077
- if (isCallable$3(constructor) && object instanceof constructor) {
1078
- return constructor.prototype;
1079
- } return object instanceof Object$1 ? ObjectPrototype : null;
1080
- };
1081
-
1082
- var fails$1 = fails$8;
1083
- var isCallable$2 = isCallable$d;
1084
- var getPrototypeOf$1 = objectGetPrototypeOf;
1085
- var redefine$1 = redefine$3.exports;
1086
- var wellKnownSymbol$3 = wellKnownSymbol$6;
1087
-
1088
- var ITERATOR$2 = wellKnownSymbol$3('iterator');
1089
- var BUGGY_SAFARI_ITERATORS$1 = false;
1090
-
1091
- // `%IteratorPrototype%` object
1092
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1093
- var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1094
-
1095
- /* eslint-disable es/no-array-prototype-keys -- safe */
1096
- if ([].keys) {
1097
- arrayIterator = [].keys();
1098
- // Safari 8 has buggy iterators w/o `next`
1099
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
1100
- else {
1101
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1102
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1103
- }
1104
- }
1105
-
1106
- var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$1(function () {
1107
- var test = {};
1108
- // FF44- legacy iterators case
1109
- return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
1110
- });
1111
-
1112
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1113
-
1114
- // `%IteratorPrototype%[@@iterator]()` method
1115
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1116
- if (!isCallable$2(IteratorPrototype$2[ITERATOR$2])) {
1117
- redefine$1(IteratorPrototype$2, ITERATOR$2, function () {
1118
- return this;
1119
- });
1120
- }
1121
-
1122
- var iteratorsCore = {
1123
- IteratorPrototype: IteratorPrototype$2,
1124
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1125
- };
1126
-
1127
- var defineProperty$1 = objectDefineProperty.f;
1128
- var hasOwn = hasOwnProperty_1;
1129
- var wellKnownSymbol$2 = wellKnownSymbol$6;
1130
-
1131
- var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
1132
-
1133
- var setToStringTag$2 = function (it, TAG, STATIC) {
1134
- if (it && !hasOwn(it = STATIC ? it : it.prototype, TO_STRING_TAG$1)) {
1135
- defineProperty$1(it, TO_STRING_TAG$1, { configurable: true, value: TAG });
1136
- }
1137
- };
1138
-
1139
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1140
- var create = objectCreate;
1141
- var createPropertyDescriptor = createPropertyDescriptor$3;
1142
- var setToStringTag$1 = setToStringTag$2;
1143
- var Iterators$2 = iterators;
1144
-
1145
- var returnThis$1 = function () { return this; };
1146
-
1147
- var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next) {
1148
- var TO_STRING_TAG = NAME + ' Iterator';
1149
- IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(1, next) });
1150
- setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
1151
- Iterators$2[TO_STRING_TAG] = returnThis$1;
1152
- return IteratorConstructor;
1153
- };
1154
-
1155
- var global$2 = global$o;
1156
- var isCallable$1 = isCallable$d;
1157
-
1158
- var String$1 = global$2.String;
1159
- var TypeError = global$2.TypeError;
1160
-
1161
- var aPossiblePrototype$1 = function (argument) {
1162
- if (typeof argument == 'object' || isCallable$1(argument)) return argument;
1163
- throw TypeError("Can't set " + String$1(argument) + ' as a prototype');
1164
- };
1165
-
1166
- /* eslint-disable no-proto -- safe */
1167
-
1168
- var uncurryThis$1 = functionUncurryThis;
1169
- var anObject = anObject$5;
1170
- var aPossiblePrototype = aPossiblePrototype$1;
1171
-
1172
- // `Object.setPrototypeOf` method
1173
- // https://tc39.es/ecma262/#sec-object.setprototypeof
1174
- // Works with __proto__ only. Old v8 can't work with null proto objects.
1175
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
1176
- var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1177
- var CORRECT_SETTER = false;
1178
- var test = {};
1179
- var setter;
1180
- try {
1181
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1182
- setter = uncurryThis$1(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1183
- setter(test, []);
1184
- CORRECT_SETTER = test instanceof Array;
1185
- } catch (error) { /* empty */ }
1186
- return function setPrototypeOf(O, proto) {
1187
- anObject(O);
1188
- aPossiblePrototype(proto);
1189
- if (CORRECT_SETTER) setter(O, proto);
1190
- else O.__proto__ = proto;
1191
- return O;
1192
- };
1193
- }() : undefined);
1194
-
1195
- var $$1 = _export;
1196
- var call$1 = functionCall;
1197
- var FunctionName = functionName;
1198
- var isCallable = isCallable$d;
1199
- var createIteratorConstructor = createIteratorConstructor$1;
1200
- var getPrototypeOf = objectGetPrototypeOf;
1201
- var setPrototypeOf = objectSetPrototypeOf;
1202
- var setToStringTag = setToStringTag$2;
1203
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1204
- var redefine = redefine$3.exports;
1205
- var wellKnownSymbol$1 = wellKnownSymbol$6;
1206
- var Iterators$1 = iterators;
1207
- var IteratorsCore = iteratorsCore;
1208
-
1209
- var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1210
- var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1211
- var IteratorPrototype = IteratorsCore.IteratorPrototype;
1212
- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1213
- var ITERATOR$1 = wellKnownSymbol$1('iterator');
1214
- var KEYS = 'keys';
1215
- var VALUES = 'values';
1216
- var ENTRIES = 'entries';
1217
-
1218
- var returnThis = function () { return this; };
1219
-
1220
- var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1221
- createIteratorConstructor(IteratorConstructor, NAME, next);
1222
-
1223
- var getIterationMethod = function (KIND) {
1224
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1225
- if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
1226
- switch (KIND) {
1227
- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1228
- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1229
- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1230
- } return function () { return new IteratorConstructor(this); };
1231
- };
1232
-
1233
- var TO_STRING_TAG = NAME + ' Iterator';
1234
- var INCORRECT_VALUES_NAME = false;
1235
- var IterablePrototype = Iterable.prototype;
1236
- var nativeIterator = IterablePrototype[ITERATOR$1]
1237
- || IterablePrototype['@@iterator']
1238
- || DEFAULT && IterablePrototype[DEFAULT];
1239
- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1240
- var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1241
- var CurrentIteratorPrototype, methods, KEY;
1242
-
1243
- // fix native
1244
- if (anyNativeIterator) {
1245
- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1246
- if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1247
- if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1248
- if (setPrototypeOf) {
1249
- setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1250
- } else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
1251
- redefine(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1252
- }
1253
- }
1254
- // Set @@toStringTag to native iterators
1255
- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
1256
- }
1257
- }
1258
-
1259
- // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1260
- if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1261
- if (CONFIGURABLE_FUNCTION_NAME) {
1262
- createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1263
- } else {
1264
- INCORRECT_VALUES_NAME = true;
1265
- defaultIterator = function values() { return call$1(nativeIterator, this); };
1266
- }
1267
- }
1268
-
1269
- // export additional methods
1270
- if (DEFAULT) {
1271
- methods = {
1272
- values: getIterationMethod(VALUES),
1273
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1274
- entries: getIterationMethod(ENTRIES)
1275
- };
1276
- if (FORCED) for (KEY in methods) {
1277
- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1278
- redefine(IterablePrototype, KEY, methods[KEY]);
1279
- }
1280
- } else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1281
- }
1282
-
1283
- // define iterator
1284
- if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1285
- redefine(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1286
- }
1287
- Iterators$1[NAME] = defaultIterator;
1288
-
1289
- return methods;
1290
- };
1291
-
1292
- var toIndexedObject = toIndexedObject$5;
1293
- var addToUnscopables = addToUnscopables$1;
1294
- var Iterators = iterators;
1295
- var InternalStateModule = internalState;
1296
- var defineIterator = defineIterator$1;
1297
-
1298
- var ARRAY_ITERATOR = 'Array Iterator';
1299
- var setInternalState = InternalStateModule.set;
1300
- var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
1301
-
1302
- // `Array.prototype.entries` method
1303
- // https://tc39.es/ecma262/#sec-array.prototype.entries
1304
- // `Array.prototype.keys` method
1305
- // https://tc39.es/ecma262/#sec-array.prototype.keys
1306
- // `Array.prototype.values` method
1307
- // https://tc39.es/ecma262/#sec-array.prototype.values
1308
- // `Array.prototype[@@iterator]` method
1309
- // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
1310
- // `CreateArrayIterator` internal method
1311
- // https://tc39.es/ecma262/#sec-createarrayiterator
1312
- var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1313
- setInternalState(this, {
1314
- type: ARRAY_ITERATOR,
1315
- target: toIndexedObject(iterated), // target
1316
- index: 0, // next index
1317
- kind: kind // kind
1318
- });
1319
- // `%ArrayIteratorPrototype%.next` method
1320
- // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
1321
- }, function () {
1322
- var state = getInternalState(this);
1323
- var target = state.target;
1324
- var kind = state.kind;
1325
- var index = state.index++;
1326
- if (!target || index >= target.length) {
1327
- state.target = undefined;
1328
- return { value: undefined, done: true };
1329
- }
1330
- if (kind == 'keys') return { value: index, done: false };
1331
- if (kind == 'values') return { value: target[index], done: false };
1332
- return { value: [index, target[index]], done: false };
1333
- }, 'values');
1334
-
1335
- // argumentsList[@@iterator] is %ArrayProto_values%
1336
- // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
1337
- // https://tc39.es/ecma262/#sec-createmappedargumentsobject
1338
- Iterators.Arguments = Iterators.Array;
1339
-
1340
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1341
- addToUnscopables('keys');
1342
- addToUnscopables('values');
1343
- addToUnscopables('entries');
1344
-
1345
- // iterable DOM collections
1346
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
1347
- var domIterables = {
1348
- CSSRuleList: 0,
1349
- CSSStyleDeclaration: 0,
1350
- CSSValueList: 0,
1351
- ClientRectList: 0,
1352
- DOMRectList: 0,
1353
- DOMStringList: 0,
1354
- DOMTokenList: 1,
1355
- DataTransferItemList: 0,
1356
- FileList: 0,
1357
- HTMLAllCollection: 0,
1358
- HTMLCollection: 0,
1359
- HTMLFormElement: 0,
1360
- HTMLSelectElement: 0,
1361
- MediaList: 0,
1362
- MimeTypeArray: 0,
1363
- NamedNodeMap: 0,
1364
- NodeList: 1,
1365
- PaintRequestList: 0,
1366
- Plugin: 0,
1367
- PluginArray: 0,
1368
- SVGLengthList: 0,
1369
- SVGNumberList: 0,
1370
- SVGPathSegList: 0,
1371
- SVGPointList: 0,
1372
- SVGStringList: 0,
1373
- SVGTransformList: 0,
1374
- SourceBufferList: 0,
1375
- StyleSheetList: 0,
1376
- TextTrackCueList: 0,
1377
- TextTrackList: 0,
1378
- TouchList: 0
1379
- };
1380
-
1381
- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
1382
- var documentCreateElement = documentCreateElement$2;
1383
-
1384
- var classList = documentCreateElement('span').classList;
1385
- var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
1386
-
1387
- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1388
-
1389
- var global$1 = global$o;
1390
- var DOMIterables = domIterables;
1391
- var DOMTokenListPrototype = domTokenListPrototype;
1392
- var ArrayIteratorMethods = es_array_iterator;
1393
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
1394
- var wellKnownSymbol = wellKnownSymbol$6;
1395
-
1396
- var ITERATOR = wellKnownSymbol('iterator');
1397
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1398
- var ArrayValues = ArrayIteratorMethods.values;
1399
-
1400
- var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1401
- if (CollectionPrototype) {
1402
- // some Chrome versions have non-configurable methods on DOMTokenList
1403
- if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1404
- createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
1405
- } catch (error) {
1406
- CollectionPrototype[ITERATOR] = ArrayValues;
1407
- }
1408
- if (!CollectionPrototype[TO_STRING_TAG]) {
1409
- createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
1410
- }
1411
- if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1412
- // some Chrome versions have non-configurable methods on DOMTokenList
1413
- if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1414
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1415
- } catch (error) {
1416
- CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1417
- }
1418
- }
1419
- }
1420
- };
1421
-
1422
- for (var COLLECTION_NAME in DOMIterables) {
1423
- handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
1424
- }
1425
-
1426
- handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1427
-
1428
- var DESCRIPTORS = descriptors;
1429
- var uncurryThis = functionUncurryThis;
1430
- var call = functionCall;
1431
- var fails = fails$8;
1432
- var objectKeys = objectKeys$2;
1433
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1434
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1435
- var toObject = toObject$3;
1436
- var IndexedObject = indexedObject;
1437
-
1438
- // eslint-disable-next-line es/no-object-assign -- safe
1439
- var $assign = Object.assign;
1440
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1441
- var defineProperty = Object.defineProperty;
1442
- var concat = uncurryThis([].concat);
1443
-
1444
- // `Object.assign` method
1445
- // https://tc39.es/ecma262/#sec-object.assign
1446
- var objectAssign = !$assign || fails(function () {
1447
- // should have correct order of operations (Edge bug)
1448
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1449
- enumerable: true,
1450
- get: function () {
1451
- defineProperty(this, 'b', {
1452
- value: 3,
1453
- enumerable: false
1454
- });
1455
- }
1456
- }), { b: 2 })).b !== 1) return true;
1457
- // should work with symbols and should have deterministic property order (V8 bug)
1458
- var A = {};
1459
- var B = {};
1460
- // eslint-disable-next-line es/no-symbol -- safe
1461
- var symbol = Symbol();
1462
- var alphabet = 'abcdefghijklmnopqrst';
1463
- A[symbol] = 7;
1464
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1465
- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1466
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1467
- var T = toObject(target);
1468
- var argumentsLength = arguments.length;
1469
- var index = 1;
1470
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1471
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
1472
- while (argumentsLength > index) {
1473
- var S = IndexedObject(arguments[index++]);
1474
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1475
- var length = keys.length;
1476
- var j = 0;
1477
- var key;
1478
- while (length > j) {
1479
- key = keys[j++];
1480
- if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1481
- }
1482
- } return T;
1483
- } : $assign;
1484
-
1485
- var $ = _export;
1486
- var assign = objectAssign;
1487
-
1488
- // `Object.assign` method
1489
- // https://tc39.es/ecma262/#sec-object.assign
1490
- // eslint-disable-next-line es/no-object-assign -- required for testing
1491
- $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
1492
- assign: assign
1493
- });
1494
-
1495
- /*! *****************************************************************************
1496
- Copyright (c) Microsoft Corporation.
1497
-
1498
- Permission to use, copy, modify, and/or distribute this software for any
1499
- purpose with or without fee is hereby granted.
1500
-
1501
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1502
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1503
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1504
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1505
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1506
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1507
- PERFORMANCE OF THIS SOFTWARE.
1508
- ***************************************************************************** */
1509
-
1510
- function __rest(s, e) {
1511
- var t = {};
1512
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1513
- t[p] = s[p];
1514
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
1515
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1516
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1517
- t[p[i]] = s[p[i]];
1518
- }
1519
- return t;
1520
- }
1521
-
1522
- const CarouselSwiper$3 = /*#__PURE__*/styled(Swiper).withConfig({
1523
- displayName: "styles__CarouselSwiper",
1524
- componentId: "sc-rauw79-1"
1525
- })(["margin:0px !important;.swiper-wrapper{.swiper-slide{scroll-snap-align:start !important;width:auto !important;}}"]);
1526
- const CarouselButtonContainer = /*#__PURE__*/styled.div.withConfig({
1527
- displayName: "styles__CarouselButtonContainer",
1528
- componentId: "sc-rauw79-2"
1529
- })(["display:inline-block !important;padding-right:8px !important;padding-top:4px !important;padding-bottom:4px !important;"]);
1530
- const CarouselButton$1 = /*#__PURE__*/styled(ButtonUnstyled).withConfig({
1531
- displayName: "styles__CarouselButton",
1532
- componentId: "sc-rauw79-3"
1533
- })(["-webkit-box-pack:center !important;-webkit-box-align:center !important;appearance:none !important;display:inline-flex !important;border-radius:50% !important;border:1px solid rgb(221,221,221) !important;outline:none !important;margin:0px !important;padding:0px !important;color:rgb(34,34,34) !important;cursor:pointer !important;touch-action:manipulation !important;position:relative !important;background:transparent !important;transition:-ms-transform 0.25s ease 0s,-webkit-transform 0.25s ease 0s,transform 0.25s ease 0s !important;align-items:center !important;justify-content:center !important;width:36px !important;height:36px !important;::before{content:'' !important;display:block !important;position:absolute !important;top:50% !important;left:50% !important;transform:translate(-50%,-50%) !important;width:36px !important;height:36px !important;border-radius:50% !important;border:1px solid rgb(221,221,221) !important;}"]);
1534
-
1535
- SwiperCore.use([Navigation]);
1536
- const ButtonsCarousel = _a => {
1537
- var {
1538
- children,
1539
- navigation,
1540
- title,
1541
- controls
1542
- } = _a,
1543
- props = __rest(_a, ["children", "navigation", "title", "controls"]);
1544
-
1545
- const prevRef = useRef(null);
1546
- const nextRef = useRef(null);
1547
- const [swiperSlides, setSwiperSlides] = useState({
1548
- progress: 0,
1549
- isBeginning: true,
1550
- isEnd: false
1551
- });
1552
- const [swiper, setSwiper] = useState(null);
1553
- return jsxs("div", Object.assign({
1554
- css: `
1555
- display: flex !important;
1556
- position: relative !important;
1557
- min-width: 0px !important;
1558
- `
1559
- }, {
1560
- children: [jsx("div", Object.assign({
1561
- css: `
1562
- position: absolute !important;
1563
- left: 0px !important;
1564
- z-index: 3 !important;
1565
- width: 65px !important;
1566
- background: linear-gradient(
1567
- to right,
1568
- rgb(255, 255, 255) 56.77%,
1569
- rgba(255, 255, 255, 0) 94.47%
1570
- ) !important;
1571
- ${swiperSlides.isBeginning && css(["display:none !important;visibility:hidden !important;"])}
1572
- `
1573
- }, {
1574
- children: jsx(CarouselButtonContainer, {
1575
- children: jsx(CarouselButton$1, Object.assign({
1576
- left: +true,
1577
- ref: prevRef,
1578
- "aria-label": "Previous",
1579
- type: "button",
1580
- onClick: () => swiper.slidePrev()
1581
- }, {
1582
- children: jsx("span", Object.assign({
1583
- css: `
1584
- position: relative !important;
1585
- `
1586
- }, {
1587
- children: jsx("svg", Object.assign({
1588
- viewBox: "0 0 32 32",
1589
- xmlns: "http://www.w3.org/2000/svg",
1590
- "aria-hidden": "true",
1591
- role: "presentation",
1592
- focusable: "false",
1593
- css: `
1594
- display: block;
1595
- fill: none;
1596
- height: 12px;
1597
- width: 12px;
1598
- stroke: currentcolor;
1599
- stroke-width: 5.33333;
1600
- overflow: visible;
1601
- `
1602
- }, {
1603
- children: jsx("g", Object.assign({
1604
- fill: "none"
1605
- }, {
1606
- children: jsx("path", {
1607
- d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
1608
- }, void 0)
1609
- }), void 0)
1610
- }), void 0)
1611
- }), void 0)
1612
- }), void 0)
1613
- }, void 0)
1614
- }), void 0), jsx(CarouselSwiper$3, Object.assign({}, props, {
1615
- cssMode: false,
1616
- slidesPerView: "auto",
1617
- onInit: swiper => {
1618
- setSwiper(swiper); // eslint-disable-next-line @typescript-eslint/ban-ts-comment
1619
- // @ts-ignore
1620
- // eslint-disable-next-line no-param-reassign
1621
-
1622
- swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
1623
- // @ts-ignore
1624
- // eslint-disable-next-line no-param-reassign
1625
-
1626
- swiper.params.navigation.nextEl = nextRef.current;
1627
- swiper.navigation.init();
1628
- swiper.navigation.update();
1629
- setSwiperSlides({
1630
- progress: swiper.progress,
1631
- isBeginning: swiper.isBeginning,
1632
- isEnd: swiper.isEnd
1633
- }); // console.log("Swiper", swiper);
1634
- },
1635
- onSlideChange: swiper => {
1636
- // console.log("Swiper Change", swiper);
1637
- setSwiperSlides({
1638
- progress: swiper.progress,
1639
- isBeginning: swiper.isBeginning,
1640
- isEnd: swiper.isEnd
1641
- });
1642
- }
1643
- }, {
1644
- children: React.Children.map(children, child => jsx(SwiperSlide, {
1645
- children: jsx("div", Object.assign({
1646
- css: `
1647
- display: inline-block !important;
1648
- white-space: nowrap !important;
1649
- padding-right: 8px !important;
1650
- padding-top: 4px !important;
1651
- padding-bottom: 4px !important;
1652
- `
1653
- }, {
1654
- children: child
1655
- }), void 0)
1656
- }, void 0))
1657
- }), void 0), jsx("div", Object.assign({
1658
- css: `
1659
- -webkit-box-pack: end !important;
1660
- position: absolute !important;
1661
- right: 0px !important;
1662
- z-index: 3 !important;
1663
- width: 75px !important;
1664
- display: flex !important;
1665
- justify-content: flex-end !important;
1666
- background: linear-gradient(
1667
- to left,
1668
- rgb(255, 255, 255) 56.77%,
1669
- rgba(255, 255, 255, 0) 94.47%
1670
- ) !important;
1671
- ${swiperSlides.isEnd && css(["display:none !important;visibility:hidden !important;"])}
1672
- `
1673
- }, {
1674
- children: jsx(CarouselButtonContainer, {
1675
- children: jsx(CarouselButton$1, Object.assign({
1676
- right: +true,
1677
- "aria-label": "Next",
1678
- type: "button",
1679
- ref: nextRef,
1680
- onClick: () => swiper.slideNext()
1681
- }, {
1682
- children: jsx("span", Object.assign({
1683
- css: `
1684
- position: relative !important;
1685
- `
1686
- }, {
1687
- children: jsx("svg", Object.assign({
1688
- viewBox: "0 0 32 32",
1689
- xmlns: "http://www.w3.org/2000/svg",
1690
- "aria-hidden": "true",
1691
- role: "presentation",
1692
- focusable: "false",
1693
- css: `
1694
- display: block;
1695
- fill: none;
1696
- height: 12px;
1697
- width: 12px;
1698
- stroke: currentcolor;
1699
- stroke-width: 5.33333;
1700
- overflow: visible;
1701
- `
1702
- }, {
1703
- children: jsx("g", Object.assign({
1704
- fill: "none"
1705
- }, {
1706
- children: jsx("path", {
1707
- d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
1708
- }, void 0)
1709
- }), void 0)
1710
- }), void 0)
1711
- }), void 0)
1712
- }), void 0)
1713
- }, void 0)
1714
- }), void 0)]
1715
- }), void 0);
1716
- };
1717
-
1718
- const CarouselContainer = /*#__PURE__*/styled.div.withConfig({
1719
- displayName: "styles__CarouselContainer",
1720
- componentId: "sc-dwepxh-0"
1721
- })(["position:relative !important;z-index:0 !important;"]);
1722
- const CarouselNavbar = /*#__PURE__*/styled.div.withConfig({
1723
- displayName: "styles__CarouselNavbar",
1724
- componentId: "sc-dwepxh-1"
1725
- })(["-webkit-box-pack:justify !important;-ms-flex-pack:justify !important;-webkit-box-align:center !important;-ms-flex-align:center !important;color:#222222 !important;display:-webkit-box !important;display:-moz-box !important;display:-ms-flexbox !important;display:-webkit-flex !important;display:flex !important;-webkit-align-items:center !important;align-items:center !important;-webkit-justify-content:space-between !important;justify-content:space-between !important;margin-bottom:16px !important;"]);
1726
- const NavbarTitleContainer = /*#__PURE__*/styled.div.withConfig({
1727
- displayName: "styles__NavbarTitleContainer",
1728
- componentId: "sc-dwepxh-2"
1729
- })(["margin-right:24px !important;width:auto !important;"]);
1730
- const NavbarControlsContainer = /*#__PURE__*/styled.div.withConfig({
1731
- displayName: "styles__NavbarControlsContainer",
1732
- componentId: "sc-dwepxh-4"
1733
- })(["display:flex !important;align-items:center !important;margin-left:auto !important;"]);
1734
- const NavbarControlsQuick = /*#__PURE__*/styled.a.withConfig({
1735
- displayName: "styles__NavbarControlsQuick",
1736
- componentId: "sc-dwepxh-5"
1737
- })(["@media (max-width:744px){display:none !important;}font-size:inherit !important;font-family:inherit !important;font-style:inherit !important;font-variant:inherit !important;line-height:inherit !important;color:#222222 !important;text-decoration:underline !important;border-radius:4px !important;font-weight:600 !important;outline:none !important;"]);
1738
- const NavbarControlsSpace = /*#__PURE__*/styled.span.withConfig({
1739
- displayName: "styles__NavbarControlsSpace",
1740
- componentId: "sc-dwepxh-6"
1741
- })(["display:inline-block !important;height:32px !important;width:1px !important;margin-right:16px !important;padding:0px !important;border:none !important;"]);
1742
- const ArrowsContainer = /*#__PURE__*/styled.div.withConfig({
1743
- displayName: "styles__ArrowsContainer",
1744
- componentId: "sc-dwepxh-7"
1745
- })(["-webkit-box-align:center !important;color:rgb(34,34,34) !important;display:flex !important;align-items:center !important;margin-left:auto !important;"]);
1746
- const ArrowsFlex = /*#__PURE__*/styled.div.withConfig({
1747
- displayName: "styles__ArrowsFlex",
1748
- componentId: "sc-dwepxh-8"
1749
- })(["display:-webkit-box !important;display:-moz-box !important;display:-ms-flexbox !important;display:-webkit-flex !important;display:flex !important;"]);
1750
- const ArrowsButton = /*#__PURE__*/styled(ButtonUnstyled).withConfig({
1751
- displayName: "styles__ArrowsButton",
1752
- componentId: "sc-dwepxh-9"
1753
- })(["-webkit-box-pack:center !important;-webkit-box-align:center !important;appearance:none !important;display:inline-flex !important;border-radius:50% !important;border:none !important;outline:none !important;margin:0px !important;padding:0px !important;color:rgb(34,34,34) !important;cursor:pointer !important;touch-action:manipulation !important;position:relative !important;background:transparent !important;transition:-ms-transform 0.25s ease 0s,-webkit-transform 0.25s ease 0s,transform 0.25s ease 0s !important;align-items:center !important;justify-content:center !important;width:32px !important;height:32px !important;:focus{box-shadow:none !important;}::before{content:'' !important;display:block !important;position:absolute !important;top:50% !important;left:50% !important;transform:translate(-50%,-50%) !important;width:32px !important;height:32px !important;border-radius:50% !important;background:rgb(255,255,255) !important;border:1px solid rgb(221,221,221) !important;}:disabled{opacity:0.5 !important;cursor:not-allowed !important;color:rgb(221,221,221) !important;transform:scale(1) !important;}:hover:not([disabled]){color:rgb(0,0,0) !important;transform:scale(1.04) !important;}"]);
1754
- const ArrowsDivider = /*#__PURE__*/styled.span.withConfig({
1755
- displayName: "styles__ArrowsDivider",
1756
- componentId: "sc-dwepxh-10"
1757
- })(["margin-left:8px !important;"]);
1758
- const ArrowsIconClip = /*#__PURE__*/styled.span.withConfig({
1759
- displayName: "styles__ArrowsIconClip",
1760
- componentId: "sc-dwepxh-11"
1761
- })(["border:0px !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(100%) !important;clip-path:inset(100%) !important;height:1px !important;overflow:hidden !important;padding:0px !important;position:absolute !important;white-space:nowrap !important;width:1px !important;"]);
1762
- const ArrowsSvg = /*#__PURE__*/styled.svg.withConfig({
1763
- displayName: "styles__ArrowsSvg",
1764
- componentId: "sc-dwepxh-12"
1765
- })(["display:block;fill:none;height:12px;width:12px;stroke:currentcolor;stroke-width:4;overflow:visible;"]);
1766
-
1767
- const CarouselSwiper$2 = /*#__PURE__*/styled(Swiper).withConfig({
1768
- displayName: "styles__CarouselSwiper",
1769
- componentId: "sc-1ja5jv1-0"
1770
- })([""]);
1771
-
1772
- SwiperCore.use([Navigation]);
1773
- const CardCarousel = _a => {
1774
- var {
1775
- children,
1776
- navigation,
1777
- title,
1778
- controls,
1779
- onShowMore
1780
- } = _a,
1781
- props = __rest(_a, ["children", "navigation", "title", "controls", "onShowMore"]);
1782
-
1783
- const prevRef = useRef(null);
1784
- const nextRef = useRef(null);
1785
- return jsxs(CarouselContainer, {
1786
- children: [navigation && jsxs(CarouselNavbar, {
1787
- children: [title && jsx(NavbarTitleContainer, {
1788
- children: title
1789
- }, void 0), controls && jsxs(NavbarControlsContainer, {
1790
- children: [onShowMore && jsx(NavbarControlsQuick, Object.assign({
1791
- onClick: onShowMore
1792
- }, {
1793
- children: "Show More"
1794
- }), void 0), jsx(NavbarControlsSpace, {}, void 0), jsx(ArrowsContainer, Object.assign({
1795
- "aria-hidden": "false"
1796
- }, {
1797
- children: jsxs(ArrowsFlex, {
1798
- children: [jsx(ArrowsButton, Object.assign({
1799
- ref: prevRef,
1800
- "aria-label": "Previous",
1801
- type: "button"
1802
- }, {
1803
- children: jsxs("span", Object.assign({
1804
- css: `
1805
- position: relative;
1806
- `
1807
- }, {
1808
- children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, Object.assign({
1809
- viewBox: "0 0 32 32",
1810
- xmlns: "http://www.w3.org/2000/svg",
1811
- "aria-hidden": "true",
1812
- role: "presentation",
1813
- focusable: "false"
1814
- }, {
1815
- children: jsx("g", Object.assign({
1816
- fill: "none"
1817
- }, {
1818
- children: jsx("path", {
1819
- d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
1820
- }, void 0)
1821
- }), void 0)
1822
- }), void 0)]
1823
- }), void 0)
1824
- }), void 0), jsx(ArrowsDivider, {}, void 0), jsx(ArrowsButton, Object.assign({
1825
- "aria-label": "Next",
1826
- type: "button",
1827
- ref: nextRef
1828
- }, {
1829
- children: jsxs("span", Object.assign({
1830
- css: `
1831
- position: relative;
1832
- `
1833
- }, {
1834
- children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, Object.assign({
1835
- viewBox: "0 0 32 32",
1836
- xmlns: "http://www.w3.org/2000/svg",
1837
- "aria-hidden": "true",
1838
- role: "presentation",
1839
- focusable: "false"
1840
- }, {
1841
- children: jsx("g", Object.assign({
1842
- fill: "none"
1843
- }, {
1844
- children: jsx("path", {
1845
- d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
1846
- }, void 0)
1847
- }), void 0)
1848
- }), void 0)]
1849
- }), void 0)
1850
- }), void 0)]
1851
- }, void 0)
1852
- }), void 0)]
1853
- }, void 0)]
1854
- }, void 0), jsx(CarouselSwiper$2, Object.assign({}, props, {
1855
- onInit: swiper => {
1856
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
1857
- // @ts-ignore
1858
- // eslint-disable-next-line no-param-reassign
1859
- swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
1860
- // @ts-ignore
1861
- // eslint-disable-next-line no-param-reassign
1862
-
1863
- swiper.params.navigation.nextEl = nextRef.current;
1864
- swiper.navigation.init();
1865
- swiper.navigation.update(); // console.log("Swiper", swiper);
1866
- }
1867
- }, {
1868
- children: React.Children.map(children, child => jsx(SwiperSlide, {
1869
- children: child
1870
- }, void 0))
1871
- }), void 0)]
1872
- }, void 0);
1873
- };
1874
-
1875
- const CarouselSwiper$1 = /*#__PURE__*/styled(Swiper).withConfig({
1876
- displayName: "styles__CarouselSwiper",
1877
- componentId: "sc-y1spms-0"
1878
- })([".swiper-wrapper{box-sizing:inherit !important;@media (min-width:744px){scroll-padding:40px !important;}@media (min-width:1128px){--scroll-padding:max(80px,calc((100vw - 1600px) / 2)) !important;scroll-padding:var(--scroll-padding) !important;}scroll-snap-type:x mandatory !important;overflow-x:auto !important;display:flex !important;scroll-padding:24px !important;.swiper-slide{@media (min-width:744px){min-width:476px !important;max-width:588px !important;flex:1 0 calc((100% - 80px) * 0.75) !important;}@media (min-width:1128px){flex:1 0 calc(50% - 88px) !important;}margin-left:16px !important;flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;}.swiper-slide:first-of-type{@media (min-width:744px){padding-left:40px !important;min-width:calc(516px) !important;max-width:calc(628px) !important;flex:1 0 calc((100% - 80px) * 0.75 + 40px) !important;}@media (min-width:1128px){max-width:calc(588px + max(80px,(100vw - 1600px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-left:max(80px,(100vw - 1620px) / 2) !important;}flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;margin-left:0px !important;padding-left:24px !important;}.swiper-slide:last-of-type{@media (min-width:744px){padding-right:40px !important;min-width:calc(516px) !important;max-width:calc(628px) !important;flex:1 0 calc((100% - 80px) * 0.75 + 40px) !important;}@media (min-width:1128px){max-width:calc(588px + max(80px,(100vw - 1620px) / 2)) !important;flex:1 0 calc(50% - 8px) !important;padding-right:max(80px,(100vw - 1600px) / 2) !important;}margin-left:16px !important;flex:1 0 calc(100% - 84px) !important;scroll-snap-align:start !important;scroll-snap-stop:always !important;padding-right:24px !important;}}"]);
1879
-
1880
- SwiperCore.use([Navigation]);
1881
- const FreeCarousel = _a => {
1882
- var {
1883
- children,
1884
- navigation,
1885
- title,
1886
- controls,
1887
- quickLink,
1888
- onShowMore
1889
- } = _a,
1890
- props = __rest(_a, ["children", "navigation", "title", "controls", "quickLink", "onShowMore"]);
1891
-
1892
- const prevRef = useRef(null);
1893
- const nextRef = useRef(null);
1894
- return jsxs(CarouselContainer, {
1895
- children: [jsx("div", Object.assign({
1896
- css: `
1897
- @media (max-width: 744px) {
1898
- display: none !important;
1899
- }
1900
- `
1901
- }, {
1902
- children: jsx(Container, {
1903
- children: navigation && jsxs(CarouselNavbar, {
1904
- children: [title && jsx(NavbarTitleContainer, {
1905
- children: title
1906
- }, void 0), controls && jsxs(NavbarControlsContainer, {
1907
- children: [onShowMore && jsx(NavbarControlsQuick, Object.assign({
1908
- onClick: onShowMore
1909
- }, {
1910
- children: "Show More"
1911
- }), void 0), jsx(NavbarControlsSpace, {}, void 0), jsx(ArrowsContainer, Object.assign({
1912
- "aria-hidden": "false"
1913
- }, {
1914
- children: jsxs(ArrowsFlex, {
1915
- children: [jsx(ArrowsButton, Object.assign({
1916
- ref: prevRef,
1917
- "aria-label": "Previous",
1918
- type: "button"
1919
- }, {
1920
- children: jsxs("span", Object.assign({
1921
- css: `
1922
- position: relative;
1923
- `
1924
- }, {
1925
- children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, Object.assign({
1926
- viewBox: "0 0 32 32",
1927
- xmlns: "http://www.w3.org/2000/svg",
1928
- "aria-hidden": "true",
1929
- role: "presentation",
1930
- focusable: "false"
1931
- }, {
1932
- children: jsx("g", Object.assign({
1933
- fill: "none"
1934
- }, {
1935
- children: jsx("path", {
1936
- d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
1937
- }, void 0)
1938
- }), void 0)
1939
- }), void 0)]
1940
- }), void 0)
1941
- }), void 0), jsx(ArrowsDivider, {}, void 0), jsx(ArrowsButton, Object.assign({
1942
- "aria-label": "Next",
1943
- type: "button",
1944
- ref: nextRef
1945
- }, {
1946
- children: jsxs("span", Object.assign({
1947
- css: `
1948
- position: relative;
1949
- `
1950
- }, {
1951
- children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, Object.assign({
1952
- viewBox: "0 0 32 32",
1953
- xmlns: "http://www.w3.org/2000/svg",
1954
- "aria-hidden": "true",
1955
- role: "presentation",
1956
- focusable: "false"
1957
- }, {
1958
- children: jsx("g", Object.assign({
1959
- fill: "none"
1960
- }, {
1961
- children: jsx("path", {
1962
- d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
1963
- }, void 0)
1964
- }), void 0)
1965
- }), void 0)]
1966
- }), void 0)
1967
- }), void 0)]
1968
- }, void 0)
1969
- }), void 0)]
1970
- }, void 0)]
1971
- }, void 0)
1972
- }, void 0)
1973
- }), void 0), jsx(CarouselSwiper$1, Object.assign({}, props, {
1974
- cssMode: true,
1975
- onInit: swiper => {
1976
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
1977
- // @ts-ignore
1978
- // eslint-disable-next-line no-param-reassign
1979
- swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
1980
- // @ts-ignore
1981
- // eslint-disable-next-line no-param-reassign
1982
-
1983
- swiper.params.navigation.nextEl = nextRef.current;
1984
- swiper.navigation.init();
1985
- swiper.navigation.update(); // console.log("Swiper", swiper);
1986
- }
1987
- }, {
1988
- children: React.Children.map(children, child => jsx(SwiperSlide, {
1989
- children: child
1990
- }, void 0))
1991
- }), void 0)]
1992
- }, void 0);
1993
- };
1994
-
1995
- const CarouselSwiper = /*#__PURE__*/styled(Swiper).withConfig({
1996
- displayName: "styles__CarouselSwiper",
1997
- componentId: "sc-jtjv4e-1"
1998
- })(["height:100%;.swiper-pagination{.swiper-pagination-bullet-active{background-color:#fff;}.swiper-pagination-bullet-active-next{background-color:#ffffff;}.swiper-pagination-bullet{background-color:#ffffff;}}"]);
1999
- const CarouselButton = /*#__PURE__*/styled(ButtonUnstyled).withConfig({
2000
- displayName: "styles__CarouselButton",
2001
- componentId: "sc-jtjv4e-2"
2002
- })([":hover{border-color:rgba(0,0,0,0.08) !important;background-color:#ffffff !important;color:#000000 !important;box-shadow:0px 0px 0px 1px transparent,0px 0px 0px 4px transparent,0px 6px 16px rgb(0 0 0 / 12%) !important;-webkit-transform:scale(1.04) !important;-ms-transform:scale(1.04) !important;transform:scale(1.04) !important;}-webkit-box-pack:center !important;-ms-flex-pack:center !important;-webkit-box-align:center !important;-ms-flex-align:center !important;-webkit-appearance:none !important;-moz-appearance:none !important;appearance:none !important;display:-webkit-inline-box !important;display:-moz-inline-box !important;display:-ms-inline-flexbox !important;display:-webkit-inline-flex !important;display:inline-flex !important;border-radius:50% !important;border:0px !important;outline:none !important;margin:0px !important;padding:0px !important;color:#222222 !important;background-color:rgba(255,255,255,0.9) !important;cursor:pointer !important;-ms-touch-action:manipulation !important;touch-action:manipulation !important;-webkit-align-items:center !important;align-items:center !important;-webkit-justify-content:center !important;justify-content:center !important;border-style:solid !important;border-width:1px !important;background-clip:padding-box !important;border-color:rgba(0,0,0,0.08) !important;box-shadow:0px 0px 0px 1px transparent,0px 0px 0px 4px transparent,0px 2px 4px rgb(0 0 0 / 18%) !important;-webkit-transition:-webkit-transform 0.25s ease,transform 0.25s ease !important;-moz-transition:transform 0.25s ease !important;transition:-ms-transform 0.25s ease,-webkit-transform 0.25s ease,transform 0.25s ease !important;width:32px !important;height:32px !important;"]);
2003
- const CarouselButtonSvg = /*#__PURE__*/styled.svg.withConfig({
2004
- displayName: "styles__CarouselButtonSvg",
2005
- componentId: "sc-jtjv4e-3"
2006
- })(["height:10px;width:10px;display:block;fill:currentcolor;"]);
2007
-
2008
- SwiperCore.use([Navigation, Pagination]);
2009
- const PaginationCarousel = _a => {
2010
- var {
2011
- children,
2012
- navigation,
2013
- title,
2014
- controls
2015
- } = _a,
2016
- props = __rest(_a, ["children", "navigation", "title", "controls"]);
2017
-
2018
- const prevRef = useRef(null);
2019
- const nextRef = useRef(null);
2020
- return jsxs(Fragment, {
2021
- children: [jsx("div", Object.assign({
2022
- css: `
2023
- @keyframes fadein {
2024
- 0% {
2025
- opacity: 0;
2026
- }
2027
-
2028
- 100% {
2029
- opacity: 1;
2030
- }
2031
- }
2032
- position: absolute !important;
2033
- top: 50% !important;
2034
- pointer-events: auto !important;
2035
- transform: translateY(-50%) !important;
2036
- left: 8px !important;
2037
- animation-duration: 0.3s !important;
2038
- animation-name: fadein !important;
2039
- z-index: 180 !important;
2040
- opacity: 0 !important;
2041
- :hover {
2042
- opacity: 1 !important;
2043
- }
2044
- `
2045
- }, {
2046
- children: jsx(CarouselButton, Object.assign({
2047
- ref: prevRef
2048
- }, {
2049
- children: jsx("span", Object.assign({
2050
- css: `
2051
- position: relative !important;
2052
- `
2053
- }, {
2054
- children: jsx(CarouselButtonSvg, Object.assign({
2055
- viewBox: "0 0 16 16",
2056
- role: "presentation",
2057
- "aria-hidden": "true",
2058
- focusable: "false"
2059
- }, {
2060
- children: jsx("path", {
2061
- d: "m10.8 16c-.4 0-.7-.1-.9-.4l-6.8-6.7c-.5-.5-.5-1.3 0-1.8l6.8-6.7c.5-.5 1.2-.5 1.7 0s .5 1.2 0 1.7l-5.8 5.9 5.8 5.9c.5.5.5 1.2 0 1.7-.2.3-.5.4-.8.4"
2062
- }, void 0)
2063
- }), void 0)
2064
- }), void 0)
2065
- }), void 0)
2066
- }), void 0), jsx("div", Object.assign({
2067
- css: `
2068
- @keyframes fadein {
2069
- 0% {
2070
- opacity: 0;
2071
- }
2072
-
2073
- 100% {
2074
- opacity: 1;
2075
- }
2076
- }
2077
- position: absolute !important;
2078
- top: 50% !important;
2079
- pointer-events: auto !important;
2080
- transform: translateY(-50%) !important;
2081
- right: 8px !important;
2082
- animation-duration: 0.3s !important;
2083
- animation-name: fadein !important;
2084
- z-index: 180 !important;
2085
- opacity: 0 !important;
2086
- :hover {
2087
- opacity: 1 !important;
2088
- }
2089
- `
2090
- }, {
2091
- children: jsx(CarouselButton, Object.assign({
2092
- ref: nextRef
2093
- }, {
2094
- children: jsx("span", Object.assign({
2095
- css: `
2096
- position: relative !important;
2097
- `
2098
- }, {
2099
- children: jsx(CarouselButtonSvg, Object.assign({
2100
- viewBox: "0 0 16 16",
2101
- role: "presentation",
2102
- "aria-hidden": "true",
2103
- focusable: "false"
2104
- }, {
2105
- children: jsx("path", {
2106
- d: "m5.3 16c .3 0 .6-.1.8-.4l6.8-6.7c.5-.5.5-1.3 0-1.8l-6.8-6.7c-.5-.5-1.2-.5-1.7 0s-.5 1.2 0 1.7l5.8 5.9-5.8 5.9c-.5.5-.5 1.2 0 1.7.2.3.5.4.9.4"
2107
- }, void 0)
2108
- }), void 0)
2109
- }), void 0)
2110
- }), void 0)
2111
- }), void 0), jsx(CarouselSwiper, Object.assign({}, props, {
2112
- pagination: {
2113
- dynamicBullets: true
2114
- },
2115
- onInit: swiper => {
2116
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2117
- // @ts-ignore
2118
- // eslint-disable-next-line no-param-reassign
2119
- swiper.params.navigation.prevEl = prevRef.current; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2120
- // @ts-ignore
2121
- // eslint-disable-next-line no-param-reassign
2122
-
2123
- swiper.params.navigation.nextEl = nextRef.current;
2124
- swiper.navigation.init();
2125
- swiper.navigation.update(); // console.log("Swiper", swiper);
2126
- }
2127
- }, {
2128
- children: React.Children.map(children, child => jsx(SwiperSlide, {
2129
- children: child
2130
- }, void 0))
2131
- }), void 0)]
2132
- }, void 0);
2133
- };
2134
-
2135
- export { ButtonsCarousel, CardCarousel, FreeCarousel, PaginationCarousel };